Repository: dropbox/dropbox-sdk-obj-c Branch: master Commit: a7be639f0f6b Files: 2327 Total size: 21.1 MB Directory structure: gitextract_dp6xnqi7/ ├── .clang-format ├── .github/ │ └── workflows/ │ └── ci.yml ├── .gitignore ├── .gitmodules ├── .jazzy.json ├── Examples/ │ └── DBRoulette/ │ ├── README.md │ ├── iOS/ │ │ ├── CarthageProject/ │ │ │ └── DBRoulette/ │ │ │ ├── Cartfile │ │ │ ├── Cartfile.resolved │ │ │ ├── DBRoulette/ │ │ │ │ ├── AppDelegate.h │ │ │ │ ├── AppDelegate.m │ │ │ │ ├── Assets.xcassets/ │ │ │ │ │ └── AppIcon.appiconset/ │ │ │ │ │ └── Contents.json │ │ │ │ ├── Base.lproj/ │ │ │ │ │ ├── LaunchScreen.storyboard │ │ │ │ │ └── Main.storyboard │ │ │ │ ├── Info.plist │ │ │ │ ├── PhotoViewController.h │ │ │ │ ├── PhotoViewController.m │ │ │ │ ├── ViewController.h │ │ │ │ ├── ViewController.m │ │ │ │ └── main.m │ │ │ └── DBRoulette.xcodeproj/ │ │ │ └── project.pbxproj │ │ ├── CocoaPodsProject/ │ │ │ └── DBRoulette/ │ │ │ ├── DBRoulette/ │ │ │ │ ├── AppDelegate.h │ │ │ │ ├── AppDelegate.m │ │ │ │ ├── Assets.xcassets/ │ │ │ │ │ └── AppIcon.appiconset/ │ │ │ │ │ └── Contents.json │ │ │ │ ├── Base.lproj/ │ │ │ │ │ ├── LaunchScreen.storyboard │ │ │ │ │ └── Main.storyboard │ │ │ │ ├── Info.plist │ │ │ │ ├── PhotoViewController.h │ │ │ │ ├── PhotoViewController.m │ │ │ │ ├── ViewController.h │ │ │ │ ├── ViewController.m │ │ │ │ └── main.m │ │ │ ├── DBRoulette.xcodeproj/ │ │ │ │ └── project.pbxproj │ │ │ └── Podfile │ │ └── SubprojectProject/ │ │ └── DBRoulette/ │ │ ├── Cartfile │ │ ├── Cartfile.resolved │ │ ├── DBRoulette/ │ │ │ ├── AppDelegate.h │ │ │ ├── AppDelegate.m │ │ │ ├── Assets.xcassets/ │ │ │ │ └── AppIcon.appiconset/ │ │ │ │ └── Contents.json │ │ │ ├── Base.lproj/ │ │ │ │ ├── LaunchScreen.storyboard │ │ │ │ └── Main.storyboard │ │ │ ├── Info.plist │ │ │ ├── PhotoViewController.h │ │ │ ├── PhotoViewController.m │ │ │ ├── ViewController.h │ │ │ ├── ViewController.m │ │ │ └── main.m │ │ └── DBRoulette.xcodeproj/ │ │ └── project.pbxproj │ └── macOS/ │ └── CarthageProject/ │ └── DBRoulette/ │ ├── Cartfile │ ├── Cartfile.resolved │ ├── DBRoulette/ │ │ ├── AppDelegate.h │ │ ├── AppDelegate.m │ │ ├── Assets.xcassets/ │ │ │ └── AppIcon.appiconset/ │ │ │ └── Contents.json │ │ ├── Base.lproj/ │ │ │ └── Main.storyboard │ │ ├── Info.plist │ │ ├── PhotoViewController.h │ │ ├── PhotoViewController.m │ │ ├── ViewController.h │ │ ├── ViewController.m │ │ └── main.m │ └── DBRoulette.xcodeproj/ │ └── project.pbxproj ├── Format/ │ ├── UmbrellaHeader.h │ ├── format_files.sh │ ├── generate_docs.sh │ ├── jazzy.css │ └── jazzy.json ├── LICENSE ├── ObjectiveDropboxOfficial.podspec ├── README.md ├── Source/ │ └── ObjectiveDropboxOfficial/ │ ├── Headers/ │ │ ├── Internal/ │ │ │ ├── DBClientsManager+Protected.h │ │ │ ├── Networking/ │ │ │ │ ├── DBDelegate.h │ │ │ │ ├── DBGlobalErrorResponseHandler+Internal.h │ │ │ │ ├── DBHandlerTypesInternal.h │ │ │ │ ├── DBSDKReachability.h │ │ │ │ ├── DBSessionData.h │ │ │ │ ├── DBTasks+Protected.h │ │ │ │ ├── DBTasksImpl.h │ │ │ │ ├── DBTransportBaseClient+Internal.h │ │ │ │ ├── DBURLSessionTask.h │ │ │ │ ├── DBURLSessionTaskResponseBlockWrapper.h │ │ │ │ └── DBURLSessionTaskWithTokenRefresh.h │ │ │ ├── OAuth/ │ │ │ │ ├── DBAccessToken+NSSecureCoding.h │ │ │ │ ├── DBAccessTokenProvider+Internal.h │ │ │ │ ├── DBOAuthConstants.h │ │ │ │ ├── DBOAuthManager+Protected.h │ │ │ │ ├── DBOAuthPKCESession.h │ │ │ │ ├── DBOAuthTokenRequest.h │ │ │ │ ├── DBOAuthUtils.h │ │ │ │ └── DBScopeRequest+Protected.h │ │ │ └── Resources/ │ │ │ ├── DBChunkInputStream.h │ │ │ └── DBSDKSystem.h │ │ ├── PlatformInternal/ │ │ │ └── iOS/ │ │ │ └── DBLoadingViewController.h │ │ └── Umbrella/ │ │ ├── ObjectiveDropboxOfficial.h │ │ └── ObjectiveDropboxOfficialLib.h │ ├── ObjectiveDropboxOfficial.xcodeproj/ │ │ ├── en.lproj/ │ │ │ └── Localizable.strings │ │ ├── project.pbxproj │ │ └── xcshareddata/ │ │ └── xcschemes/ │ │ ├── ObjectiveDropboxOfficial iOS.xcscheme │ │ └── ObjectiveDropboxOfficial macOS.xcscheme │ ├── Platform/ │ │ ├── ObjectiveDropboxOfficial_iOS/ │ │ │ ├── DBClientsManager+MobileAuth-iOS.h │ │ │ ├── DBClientsManager+MobileAuth-iOS.m │ │ │ ├── DBLoadingViewController.m │ │ │ ├── DBOAuthMobile-iOS.h │ │ │ ├── DBOAuthMobile-iOS.m │ │ │ ├── DBOAuthMobileManager-iOS.h │ │ │ ├── DBOAuthMobileManager-iOS.m │ │ │ ├── DBSDKImports-iOS.h │ │ │ ├── Info.plist │ │ │ └── OfficialPartners/ │ │ │ └── OpenWith/ │ │ │ ├── DBOfficialAppConnector-iOS.h │ │ │ ├── DBOfficialAppConnector-iOS.m │ │ │ ├── DBOpenWithInfo-iOS.h │ │ │ └── DBOpenWithInfo-iOS.m │ │ └── ObjectiveDropboxOfficial_macOS/ │ │ ├── DBClientsManager+DesktopAuth-macOS.h │ │ ├── DBClientsManager+DesktopAuth-macOS.m │ │ ├── DBOAuthDesktop-macOS.h │ │ ├── DBOAuthDesktop-macOS.m │ │ ├── DBSDKImports-macOS.h │ │ └── Info.plist │ ├── PrivacyInfo.xcprivacy │ └── Shared/ │ ├── Generated/ │ │ ├── ApiObjects/ │ │ │ ├── Account/ │ │ │ │ ├── DBAccountObjects.m │ │ │ │ └── Headers/ │ │ │ │ ├── DBACCOUNTPhotoSourceArg.h │ │ │ │ ├── DBACCOUNTSetProfilePhotoArg.h │ │ │ │ ├── DBACCOUNTSetProfilePhotoError.h │ │ │ │ └── DBACCOUNTSetProfilePhotoResult.h │ │ │ ├── Async/ │ │ │ │ ├── DBAsyncObjects.m │ │ │ │ └── Headers/ │ │ │ │ ├── DBASYNCLaunchEmptyResult.h │ │ │ │ ├── DBASYNCLaunchResultBase.h │ │ │ │ ├── DBASYNCPollArg.h │ │ │ │ ├── DBASYNCPollEmptyResult.h │ │ │ │ ├── DBASYNCPollError.h │ │ │ │ └── DBASYNCPollResultBase.h │ │ │ ├── Auth/ │ │ │ │ ├── DBAuthObjects.m │ │ │ │ └── Headers/ │ │ │ │ ├── DBAUTHAccessError.h │ │ │ │ ├── DBAUTHAuthError.h │ │ │ │ ├── DBAUTHInvalidAccountTypeError.h │ │ │ │ ├── DBAUTHPaperAccessError.h │ │ │ │ ├── DBAUTHRateLimitError.h │ │ │ │ ├── DBAUTHRateLimitReason.h │ │ │ │ ├── DBAUTHTokenFromOAuth1Arg.h │ │ │ │ ├── DBAUTHTokenFromOAuth1Error.h │ │ │ │ ├── DBAUTHTokenFromOAuth1Result.h │ │ │ │ └── DBAUTHTokenScopeError.h │ │ │ ├── Check/ │ │ │ │ ├── DBCheckObjects.m │ │ │ │ └── Headers/ │ │ │ │ ├── DBCHECKEchoArg.h │ │ │ │ └── DBCHECKEchoResult.h │ │ │ ├── Common/ │ │ │ │ ├── DBCommonObjects.m │ │ │ │ └── Headers/ │ │ │ │ ├── DBCOMMONPathRoot.h │ │ │ │ ├── DBCOMMONPathRootError.h │ │ │ │ ├── DBCOMMONRootInfo.h │ │ │ │ ├── DBCOMMONTeamRootInfo.h │ │ │ │ └── DBCOMMONUserRootInfo.h │ │ │ ├── Contacts/ │ │ │ │ ├── DBContactsObjects.m │ │ │ │ └── Headers/ │ │ │ │ ├── DBCONTACTSDeleteManualContactsArg.h │ │ │ │ └── DBCONTACTSDeleteManualContactsError.h │ │ │ ├── FileProperties/ │ │ │ │ ├── DBFilePropertiesObjects.m │ │ │ │ └── Headers/ │ │ │ │ ├── DBFILEPROPERTIESAddPropertiesArg.h │ │ │ │ ├── DBFILEPROPERTIESAddPropertiesError.h │ │ │ │ ├── DBFILEPROPERTIESAddTemplateArg.h │ │ │ │ ├── DBFILEPROPERTIESAddTemplateResult.h │ │ │ │ ├── DBFILEPROPERTIESGetTemplateArg.h │ │ │ │ ├── DBFILEPROPERTIESGetTemplateResult.h │ │ │ │ ├── DBFILEPROPERTIESInvalidPropertyGroupError.h │ │ │ │ ├── DBFILEPROPERTIESListTemplateResult.h │ │ │ │ ├── DBFILEPROPERTIESLogicalOperator.h │ │ │ │ ├── DBFILEPROPERTIESLookUpPropertiesError.h │ │ │ │ ├── DBFILEPROPERTIESLookupError.h │ │ │ │ ├── DBFILEPROPERTIESModifyTemplateError.h │ │ │ │ ├── DBFILEPROPERTIESOverwritePropertyGroupArg.h │ │ │ │ ├── DBFILEPROPERTIESPropertiesError.h │ │ │ │ ├── DBFILEPROPERTIESPropertiesSearchArg.h │ │ │ │ ├── DBFILEPROPERTIESPropertiesSearchContinueArg.h │ │ │ │ ├── DBFILEPROPERTIESPropertiesSearchContinueError.h │ │ │ │ ├── DBFILEPROPERTIESPropertiesSearchError.h │ │ │ │ ├── DBFILEPROPERTIESPropertiesSearchMatch.h │ │ │ │ ├── DBFILEPROPERTIESPropertiesSearchMode.h │ │ │ │ ├── DBFILEPROPERTIESPropertiesSearchQuery.h │ │ │ │ ├── DBFILEPROPERTIESPropertiesSearchResult.h │ │ │ │ ├── DBFILEPROPERTIESPropertyField.h │ │ │ │ ├── DBFILEPROPERTIESPropertyFieldTemplate.h │ │ │ │ ├── DBFILEPROPERTIESPropertyGroup.h │ │ │ │ ├── DBFILEPROPERTIESPropertyGroupTemplate.h │ │ │ │ ├── DBFILEPROPERTIESPropertyGroupUpdate.h │ │ │ │ ├── DBFILEPROPERTIESPropertyType.h │ │ │ │ ├── DBFILEPROPERTIESRemovePropertiesArg.h │ │ │ │ ├── DBFILEPROPERTIESRemovePropertiesError.h │ │ │ │ ├── DBFILEPROPERTIESRemoveTemplateArg.h │ │ │ │ ├── DBFILEPROPERTIESTemplateError.h │ │ │ │ ├── DBFILEPROPERTIESTemplateFilter.h │ │ │ │ ├── DBFILEPROPERTIESTemplateFilterBase.h │ │ │ │ ├── DBFILEPROPERTIESTemplateOwnerType.h │ │ │ │ ├── DBFILEPROPERTIESUpdatePropertiesArg.h │ │ │ │ ├── DBFILEPROPERTIESUpdatePropertiesError.h │ │ │ │ ├── DBFILEPROPERTIESUpdateTemplateArg.h │ │ │ │ └── DBFILEPROPERTIESUpdateTemplateResult.h │ │ │ ├── FileRequests/ │ │ │ │ ├── DBFileRequestsObjects.m │ │ │ │ └── Headers/ │ │ │ │ ├── DBFILEREQUESTSCountFileRequestsError.h │ │ │ │ ├── DBFILEREQUESTSCountFileRequestsResult.h │ │ │ │ ├── DBFILEREQUESTSCreateFileRequestArgs.h │ │ │ │ ├── DBFILEREQUESTSCreateFileRequestError.h │ │ │ │ ├── DBFILEREQUESTSDeleteAllClosedFileRequestsError.h │ │ │ │ ├── DBFILEREQUESTSDeleteAllClosedFileRequestsResult.h │ │ │ │ ├── DBFILEREQUESTSDeleteFileRequestArgs.h │ │ │ │ ├── DBFILEREQUESTSDeleteFileRequestError.h │ │ │ │ ├── DBFILEREQUESTSDeleteFileRequestsResult.h │ │ │ │ ├── DBFILEREQUESTSFileRequest.h │ │ │ │ ├── DBFILEREQUESTSFileRequestDeadline.h │ │ │ │ ├── DBFILEREQUESTSFileRequestError.h │ │ │ │ ├── DBFILEREQUESTSGeneralFileRequestsError.h │ │ │ │ ├── DBFILEREQUESTSGetFileRequestArgs.h │ │ │ │ ├── DBFILEREQUESTSGetFileRequestError.h │ │ │ │ ├── DBFILEREQUESTSGracePeriod.h │ │ │ │ ├── DBFILEREQUESTSListFileRequestsArg.h │ │ │ │ ├── DBFILEREQUESTSListFileRequestsContinueArg.h │ │ │ │ ├── DBFILEREQUESTSListFileRequestsContinueError.h │ │ │ │ ├── DBFILEREQUESTSListFileRequestsError.h │ │ │ │ ├── DBFILEREQUESTSListFileRequestsResult.h │ │ │ │ ├── DBFILEREQUESTSListFileRequestsV2Result.h │ │ │ │ ├── DBFILEREQUESTSUpdateFileRequestArgs.h │ │ │ │ ├── DBFILEREQUESTSUpdateFileRequestDeadline.h │ │ │ │ └── DBFILEREQUESTSUpdateFileRequestError.h │ │ │ ├── Files/ │ │ │ │ ├── DBFilesObjects.m │ │ │ │ └── Headers/ │ │ │ │ ├── DBFILESAddTagArg.h │ │ │ │ ├── DBFILESAddTagError.h │ │ │ │ ├── DBFILESAlphaGetMetadataArg.h │ │ │ │ ├── DBFILESAlphaGetMetadataError.h │ │ │ │ ├── DBFILESBaseTagError.h │ │ │ │ ├── DBFILESCommitInfo.h │ │ │ │ ├── DBFILESContentSyncSetting.h │ │ │ │ ├── DBFILESContentSyncSettingArg.h │ │ │ │ ├── DBFILESCreateFolderArg.h │ │ │ │ ├── DBFILESCreateFolderBatchArg.h │ │ │ │ ├── DBFILESCreateFolderBatchError.h │ │ │ │ ├── DBFILESCreateFolderBatchJobStatus.h │ │ │ │ ├── DBFILESCreateFolderBatchLaunch.h │ │ │ │ ├── DBFILESCreateFolderBatchResult.h │ │ │ │ ├── DBFILESCreateFolderBatchResultEntry.h │ │ │ │ ├── DBFILESCreateFolderEntryError.h │ │ │ │ ├── DBFILESCreateFolderEntryResult.h │ │ │ │ ├── DBFILESCreateFolderError.h │ │ │ │ ├── DBFILESCreateFolderResult.h │ │ │ │ ├── DBFILESDeleteArg.h │ │ │ │ ├── DBFILESDeleteBatchArg.h │ │ │ │ ├── DBFILESDeleteBatchError.h │ │ │ │ ├── DBFILESDeleteBatchJobStatus.h │ │ │ │ ├── DBFILESDeleteBatchLaunch.h │ │ │ │ ├── DBFILESDeleteBatchResult.h │ │ │ │ ├── DBFILESDeleteBatchResultData.h │ │ │ │ ├── DBFILESDeleteBatchResultEntry.h │ │ │ │ ├── DBFILESDeleteError.h │ │ │ │ ├── DBFILESDeleteResult.h │ │ │ │ ├── DBFILESDeletedMetadata.h │ │ │ │ ├── DBFILESDimensions.h │ │ │ │ ├── DBFILESDownloadArg.h │ │ │ │ ├── DBFILESDownloadError.h │ │ │ │ ├── DBFILESDownloadZipArg.h │ │ │ │ ├── DBFILESDownloadZipError.h │ │ │ │ ├── DBFILESDownloadZipResult.h │ │ │ │ ├── DBFILESExportArg.h │ │ │ │ ├── DBFILESExportError.h │ │ │ │ ├── DBFILESExportInfo.h │ │ │ │ ├── DBFILESExportMetadata.h │ │ │ │ ├── DBFILESExportResult.h │ │ │ │ ├── DBFILESFileCategory.h │ │ │ │ ├── DBFILESFileLock.h │ │ │ │ ├── DBFILESFileLockContent.h │ │ │ │ ├── DBFILESFileLockMetadata.h │ │ │ │ ├── DBFILESFileMetadata.h │ │ │ │ ├── DBFILESFileOpsResult.h │ │ │ │ ├── DBFILESFileSharingInfo.h │ │ │ │ ├── DBFILESFileStatus.h │ │ │ │ ├── DBFILESFolderMetadata.h │ │ │ │ ├── DBFILESFolderSharingInfo.h │ │ │ │ ├── DBFILESGetCopyReferenceArg.h │ │ │ │ ├── DBFILESGetCopyReferenceError.h │ │ │ │ ├── DBFILESGetCopyReferenceResult.h │ │ │ │ ├── DBFILESGetMetadataArg.h │ │ │ │ ├── DBFILESGetMetadataError.h │ │ │ │ ├── DBFILESGetTagsArg.h │ │ │ │ ├── DBFILESGetTagsResult.h │ │ │ │ ├── DBFILESGetTemporaryLinkArg.h │ │ │ │ ├── DBFILESGetTemporaryLinkError.h │ │ │ │ ├── DBFILESGetTemporaryLinkResult.h │ │ │ │ ├── DBFILESGetTemporaryUploadLinkArg.h │ │ │ │ ├── DBFILESGetTemporaryUploadLinkResult.h │ │ │ │ ├── DBFILESGetThumbnailBatchArg.h │ │ │ │ ├── DBFILESGetThumbnailBatchError.h │ │ │ │ ├── DBFILESGetThumbnailBatchResult.h │ │ │ │ ├── DBFILESGetThumbnailBatchResultData.h │ │ │ │ ├── DBFILESGetThumbnailBatchResultEntry.h │ │ │ │ ├── DBFILESGpsCoordinates.h │ │ │ │ ├── DBFILESHighlightSpan.h │ │ │ │ ├── DBFILESImportFormat.h │ │ │ │ ├── DBFILESListFolderArg.h │ │ │ │ ├── DBFILESListFolderContinueArg.h │ │ │ │ ├── DBFILESListFolderContinueError.h │ │ │ │ ├── DBFILESListFolderError.h │ │ │ │ ├── DBFILESListFolderGetLatestCursorResult.h │ │ │ │ ├── DBFILESListFolderLongpollArg.h │ │ │ │ ├── DBFILESListFolderLongpollError.h │ │ │ │ ├── DBFILESListFolderLongpollResult.h │ │ │ │ ├── DBFILESListFolderResult.h │ │ │ │ ├── DBFILESListRevisionsArg.h │ │ │ │ ├── DBFILESListRevisionsError.h │ │ │ │ ├── DBFILESListRevisionsMode.h │ │ │ │ ├── DBFILESListRevisionsResult.h │ │ │ │ ├── DBFILESLockConflictError.h │ │ │ │ ├── DBFILESLockFileArg.h │ │ │ │ ├── DBFILESLockFileBatchArg.h │ │ │ │ ├── DBFILESLockFileBatchResult.h │ │ │ │ ├── DBFILESLockFileError.h │ │ │ │ ├── DBFILESLockFileResult.h │ │ │ │ ├── DBFILESLockFileResultEntry.h │ │ │ │ ├── DBFILESLookupError.h │ │ │ │ ├── DBFILESMediaInfo.h │ │ │ │ ├── DBFILESMediaMetadata.h │ │ │ │ ├── DBFILESMetadata.h │ │ │ │ ├── DBFILESMetadataV2.h │ │ │ │ ├── DBFILESMinimalFileLinkMetadata.h │ │ │ │ ├── DBFILESMoveBatchArg.h │ │ │ │ ├── DBFILESMoveIntoFamilyError.h │ │ │ │ ├── DBFILESMoveIntoVaultError.h │ │ │ │ ├── DBFILESPaperContentError.h │ │ │ │ ├── DBFILESPaperCreateArg.h │ │ │ │ ├── DBFILESPaperCreateError.h │ │ │ │ ├── DBFILESPaperCreateResult.h │ │ │ │ ├── DBFILESPaperDocUpdatePolicy.h │ │ │ │ ├── DBFILESPaperUpdateArg.h │ │ │ │ ├── DBFILESPaperUpdateError.h │ │ │ │ ├── DBFILESPaperUpdateResult.h │ │ │ │ ├── DBFILESPathOrLink.h │ │ │ │ ├── DBFILESPathToTags.h │ │ │ │ ├── DBFILESPhotoMetadata.h │ │ │ │ ├── DBFILESPreviewArg.h │ │ │ │ ├── DBFILESPreviewError.h │ │ │ │ ├── DBFILESPreviewResult.h │ │ │ │ ├── DBFILESRelocationArg.h │ │ │ │ ├── DBFILESRelocationBatchArg.h │ │ │ │ ├── DBFILESRelocationBatchArgBase.h │ │ │ │ ├── DBFILESRelocationBatchError.h │ │ │ │ ├── DBFILESRelocationBatchErrorEntry.h │ │ │ │ ├── DBFILESRelocationBatchJobStatus.h │ │ │ │ ├── DBFILESRelocationBatchLaunch.h │ │ │ │ ├── DBFILESRelocationBatchResult.h │ │ │ │ ├── DBFILESRelocationBatchResultData.h │ │ │ │ ├── DBFILESRelocationBatchResultEntry.h │ │ │ │ ├── DBFILESRelocationBatchV2JobStatus.h │ │ │ │ ├── DBFILESRelocationBatchV2Launch.h │ │ │ │ ├── DBFILESRelocationBatchV2Result.h │ │ │ │ ├── DBFILESRelocationError.h │ │ │ │ ├── DBFILESRelocationPath.h │ │ │ │ ├── DBFILESRelocationResult.h │ │ │ │ ├── DBFILESRemoveTagArg.h │ │ │ │ ├── DBFILESRemoveTagError.h │ │ │ │ ├── DBFILESRestoreArg.h │ │ │ │ ├── DBFILESRestoreError.h │ │ │ │ ├── DBFILESSaveCopyReferenceArg.h │ │ │ │ ├── DBFILESSaveCopyReferenceError.h │ │ │ │ ├── DBFILESSaveCopyReferenceResult.h │ │ │ │ ├── DBFILESSaveUrlArg.h │ │ │ │ ├── DBFILESSaveUrlError.h │ │ │ │ ├── DBFILESSaveUrlJobStatus.h │ │ │ │ ├── DBFILESSaveUrlResult.h │ │ │ │ ├── DBFILESSearchArg.h │ │ │ │ ├── DBFILESSearchError.h │ │ │ │ ├── DBFILESSearchMatch.h │ │ │ │ ├── DBFILESSearchMatchFieldOptions.h │ │ │ │ ├── DBFILESSearchMatchType.h │ │ │ │ ├── DBFILESSearchMatchTypeV2.h │ │ │ │ ├── DBFILESSearchMatchV2.h │ │ │ │ ├── DBFILESSearchMode.h │ │ │ │ ├── DBFILESSearchOptions.h │ │ │ │ ├── DBFILESSearchOrderBy.h │ │ │ │ ├── DBFILESSearchResult.h │ │ │ │ ├── DBFILESSearchV2Arg.h │ │ │ │ ├── DBFILESSearchV2ContinueArg.h │ │ │ │ ├── DBFILESSearchV2Result.h │ │ │ │ ├── DBFILESSharedLink.h │ │ │ │ ├── DBFILESSharedLinkFileInfo.h │ │ │ │ ├── DBFILESSharingInfo.h │ │ │ │ ├── DBFILESSingleUserLock.h │ │ │ │ ├── DBFILESSymlinkInfo.h │ │ │ │ ├── DBFILESSyncSetting.h │ │ │ │ ├── DBFILESSyncSettingArg.h │ │ │ │ ├── DBFILESSyncSettingsError.h │ │ │ │ ├── DBFILESTag.h │ │ │ │ ├── DBFILESThumbnailArg.h │ │ │ │ ├── DBFILESThumbnailError.h │ │ │ │ ├── DBFILESThumbnailFormat.h │ │ │ │ ├── DBFILESThumbnailMode.h │ │ │ │ ├── DBFILESThumbnailSize.h │ │ │ │ ├── DBFILESThumbnailV2Arg.h │ │ │ │ ├── DBFILESThumbnailV2Error.h │ │ │ │ ├── DBFILESUnlockFileArg.h │ │ │ │ ├── DBFILESUnlockFileBatchArg.h │ │ │ │ ├── DBFILESUploadArg.h │ │ │ │ ├── DBFILESUploadError.h │ │ │ │ ├── DBFILESUploadSessionAppendArg.h │ │ │ │ ├── DBFILESUploadSessionAppendError.h │ │ │ │ ├── DBFILESUploadSessionCursor.h │ │ │ │ ├── DBFILESUploadSessionFinishArg.h │ │ │ │ ├── DBFILESUploadSessionFinishBatchArg.h │ │ │ │ ├── DBFILESUploadSessionFinishBatchJobStatus.h │ │ │ │ ├── DBFILESUploadSessionFinishBatchLaunch.h │ │ │ │ ├── DBFILESUploadSessionFinishBatchResult.h │ │ │ │ ├── DBFILESUploadSessionFinishBatchResultEntry.h │ │ │ │ ├── DBFILESUploadSessionFinishError.h │ │ │ │ ├── DBFILESUploadSessionLookupError.h │ │ │ │ ├── DBFILESUploadSessionOffsetError.h │ │ │ │ ├── DBFILESUploadSessionStartArg.h │ │ │ │ ├── DBFILESUploadSessionStartBatchArg.h │ │ │ │ ├── DBFILESUploadSessionStartBatchResult.h │ │ │ │ ├── DBFILESUploadSessionStartError.h │ │ │ │ ├── DBFILESUploadSessionStartResult.h │ │ │ │ ├── DBFILESUploadSessionType.h │ │ │ │ ├── DBFILESUploadWriteFailed.h │ │ │ │ ├── DBFILESUserGeneratedTag.h │ │ │ │ ├── DBFILESVideoMetadata.h │ │ │ │ ├── DBFILESWriteConflictError.h │ │ │ │ ├── DBFILESWriteError.h │ │ │ │ └── DBFILESWriteMode.h │ │ │ ├── Openid/ │ │ │ │ ├── DBOpenidObjects.m │ │ │ │ └── Headers/ │ │ │ │ ├── DBOPENIDOpenIdError.h │ │ │ │ ├── DBOPENIDUserInfoArgs.h │ │ │ │ ├── DBOPENIDUserInfoError.h │ │ │ │ └── DBOPENIDUserInfoResult.h │ │ │ ├── Paper/ │ │ │ │ ├── DBPaperObjects.m │ │ │ │ └── Headers/ │ │ │ │ ├── DBPAPERAddMember.h │ │ │ │ ├── DBPAPERAddPaperDocUser.h │ │ │ │ ├── DBPAPERAddPaperDocUserMemberResult.h │ │ │ │ ├── DBPAPERAddPaperDocUserResult.h │ │ │ │ ├── DBPAPERCursor.h │ │ │ │ ├── DBPAPERDocLookupError.h │ │ │ │ ├── DBPAPERDocSubscriptionLevel.h │ │ │ │ ├── DBPAPERExportFormat.h │ │ │ │ ├── DBPAPERFolder.h │ │ │ │ ├── DBPAPERFolderSharingPolicyType.h │ │ │ │ ├── DBPAPERFolderSubscriptionLevel.h │ │ │ │ ├── DBPAPERFoldersContainingPaperDoc.h │ │ │ │ ├── DBPAPERImportFormat.h │ │ │ │ ├── DBPAPERInviteeInfoWithPermissionLevel.h │ │ │ │ ├── DBPAPERListDocsCursorError.h │ │ │ │ ├── DBPAPERListPaperDocsArgs.h │ │ │ │ ├── DBPAPERListPaperDocsContinueArgs.h │ │ │ │ ├── DBPAPERListPaperDocsFilterBy.h │ │ │ │ ├── DBPAPERListPaperDocsResponse.h │ │ │ │ ├── DBPAPERListPaperDocsSortBy.h │ │ │ │ ├── DBPAPERListPaperDocsSortOrder.h │ │ │ │ ├── DBPAPERListUsersCursorError.h │ │ │ │ ├── DBPAPERListUsersOnFolderArgs.h │ │ │ │ ├── DBPAPERListUsersOnFolderContinueArgs.h │ │ │ │ ├── DBPAPERListUsersOnFolderResponse.h │ │ │ │ ├── DBPAPERListUsersOnPaperDocArgs.h │ │ │ │ ├── DBPAPERListUsersOnPaperDocContinueArgs.h │ │ │ │ ├── DBPAPERListUsersOnPaperDocResponse.h │ │ │ │ ├── DBPAPERPaperApiBaseError.h │ │ │ │ ├── DBPAPERPaperApiCursorError.h │ │ │ │ ├── DBPAPERPaperDocCreateArgs.h │ │ │ │ ├── DBPAPERPaperDocCreateError.h │ │ │ │ ├── DBPAPERPaperDocCreateUpdateResult.h │ │ │ │ ├── DBPAPERPaperDocExport.h │ │ │ │ ├── DBPAPERPaperDocExportResult.h │ │ │ │ ├── DBPAPERPaperDocPermissionLevel.h │ │ │ │ ├── DBPAPERPaperDocSharingPolicy.h │ │ │ │ ├── DBPAPERPaperDocUpdateArgs.h │ │ │ │ ├── DBPAPERPaperDocUpdateError.h │ │ │ │ ├── DBPAPERPaperDocUpdatePolicy.h │ │ │ │ ├── DBPAPERPaperFolderCreateArg.h │ │ │ │ ├── DBPAPERPaperFolderCreateError.h │ │ │ │ ├── DBPAPERPaperFolderCreateResult.h │ │ │ │ ├── DBPAPERRefPaperDoc.h │ │ │ │ ├── DBPAPERRemovePaperDocUser.h │ │ │ │ ├── DBPAPERSharingPolicy.h │ │ │ │ ├── DBPAPERSharingPublicPolicyType.h │ │ │ │ ├── DBPAPERSharingTeamPolicyType.h │ │ │ │ ├── DBPAPERUserInfoWithPermissionLevel.h │ │ │ │ └── DBPAPERUserOnPaperDocFilter.h │ │ │ ├── SecondaryEmails/ │ │ │ │ ├── DBSecondaryEmailsObjects.m │ │ │ │ └── Headers/ │ │ │ │ └── DBSECONDARYEMAILSSecondaryEmail.h │ │ │ ├── SeenState/ │ │ │ │ ├── DBSeenStateObjects.m │ │ │ │ └── Headers/ │ │ │ │ └── DBSEENSTATEPlatformType.h │ │ │ ├── Sharing/ │ │ │ │ ├── DBSharingObjects.m │ │ │ │ └── Headers/ │ │ │ │ ├── DBSHARINGAccessInheritance.h │ │ │ │ ├── DBSHARINGAccessLevel.h │ │ │ │ ├── DBSHARINGAclUpdatePolicy.h │ │ │ │ ├── DBSHARINGAddFileMemberArgs.h │ │ │ │ ├── DBSHARINGAddFileMemberError.h │ │ │ │ ├── DBSHARINGAddFolderMemberArg.h │ │ │ │ ├── DBSHARINGAddFolderMemberError.h │ │ │ │ ├── DBSHARINGAddMember.h │ │ │ │ ├── DBSHARINGAddMemberSelectorError.h │ │ │ │ ├── DBSHARINGAlphaResolvedVisibility.h │ │ │ │ ├── DBSHARINGAudienceExceptionContentInfo.h │ │ │ │ ├── DBSHARINGAudienceExceptions.h │ │ │ │ ├── DBSHARINGAudienceRestrictingSharedFolder.h │ │ │ │ ├── DBSHARINGCollectionLinkMetadata.h │ │ │ │ ├── DBSHARINGCreateSharedLinkArg.h │ │ │ │ ├── DBSHARINGCreateSharedLinkError.h │ │ │ │ ├── DBSHARINGCreateSharedLinkWithSettingsArg.h │ │ │ │ ├── DBSHARINGCreateSharedLinkWithSettingsError.h │ │ │ │ ├── DBSHARINGExpectedSharedContentLinkMetadata.h │ │ │ │ ├── DBSHARINGFileAction.h │ │ │ │ ├── DBSHARINGFileErrorResult.h │ │ │ │ ├── DBSHARINGFileLinkMetadata.h │ │ │ │ ├── DBSHARINGFileMemberActionError.h │ │ │ │ ├── DBSHARINGFileMemberActionIndividualResult.h │ │ │ │ ├── DBSHARINGFileMemberActionResult.h │ │ │ │ ├── DBSHARINGFileMemberRemoveActionResult.h │ │ │ │ ├── DBSHARINGFilePermission.h │ │ │ │ ├── DBSHARINGFolderAction.h │ │ │ │ ├── DBSHARINGFolderLinkMetadata.h │ │ │ │ ├── DBSHARINGFolderPermission.h │ │ │ │ ├── DBSHARINGFolderPolicy.h │ │ │ │ ├── DBSHARINGGetFileMetadataArg.h │ │ │ │ ├── DBSHARINGGetFileMetadataBatchArg.h │ │ │ │ ├── DBSHARINGGetFileMetadataBatchResult.h │ │ │ │ ├── DBSHARINGGetFileMetadataError.h │ │ │ │ ├── DBSHARINGGetFileMetadataIndividualResult.h │ │ │ │ ├── DBSHARINGGetMetadataArgs.h │ │ │ │ ├── DBSHARINGGetSharedLinkFileError.h │ │ │ │ ├── DBSHARINGGetSharedLinkMetadataArg.h │ │ │ │ ├── DBSHARINGGetSharedLinksArg.h │ │ │ │ ├── DBSHARINGGetSharedLinksError.h │ │ │ │ ├── DBSHARINGGetSharedLinksResult.h │ │ │ │ ├── DBSHARINGGroupInfo.h │ │ │ │ ├── DBSHARINGGroupMembershipInfo.h │ │ │ │ ├── DBSHARINGInsufficientPlan.h │ │ │ │ ├── DBSHARINGInsufficientQuotaAmounts.h │ │ │ │ ├── DBSHARINGInviteeInfo.h │ │ │ │ ├── DBSHARINGInviteeMembershipInfo.h │ │ │ │ ├── DBSHARINGJobError.h │ │ │ │ ├── DBSHARINGJobStatus.h │ │ │ │ ├── DBSHARINGLinkAccessLevel.h │ │ │ │ ├── DBSHARINGLinkAction.h │ │ │ │ ├── DBSHARINGLinkAudience.h │ │ │ │ ├── DBSHARINGLinkAudienceDisallowedReason.h │ │ │ │ ├── DBSHARINGLinkAudienceOption.h │ │ │ │ ├── DBSHARINGLinkExpiry.h │ │ │ │ ├── DBSHARINGLinkMetadata.h │ │ │ │ ├── DBSHARINGLinkPassword.h │ │ │ │ ├── DBSHARINGLinkPermission.h │ │ │ │ ├── DBSHARINGLinkPermissions.h │ │ │ │ ├── DBSHARINGLinkSettings.h │ │ │ │ ├── DBSHARINGListFileMembersArg.h │ │ │ │ ├── DBSHARINGListFileMembersBatchArg.h │ │ │ │ ├── DBSHARINGListFileMembersBatchResult.h │ │ │ │ ├── DBSHARINGListFileMembersContinueArg.h │ │ │ │ ├── DBSHARINGListFileMembersContinueError.h │ │ │ │ ├── DBSHARINGListFileMembersCountResult.h │ │ │ │ ├── DBSHARINGListFileMembersError.h │ │ │ │ ├── DBSHARINGListFileMembersIndividualResult.h │ │ │ │ ├── DBSHARINGListFilesArg.h │ │ │ │ ├── DBSHARINGListFilesContinueArg.h │ │ │ │ ├── DBSHARINGListFilesContinueError.h │ │ │ │ ├── DBSHARINGListFilesResult.h │ │ │ │ ├── DBSHARINGListFolderMembersArgs.h │ │ │ │ ├── DBSHARINGListFolderMembersContinueArg.h │ │ │ │ ├── DBSHARINGListFolderMembersContinueError.h │ │ │ │ ├── DBSHARINGListFolderMembersCursorArg.h │ │ │ │ ├── DBSHARINGListFoldersArgs.h │ │ │ │ ├── DBSHARINGListFoldersContinueArg.h │ │ │ │ ├── DBSHARINGListFoldersContinueError.h │ │ │ │ ├── DBSHARINGListFoldersResult.h │ │ │ │ ├── DBSHARINGListSharedLinksArg.h │ │ │ │ ├── DBSHARINGListSharedLinksError.h │ │ │ │ ├── DBSHARINGListSharedLinksResult.h │ │ │ │ ├── DBSHARINGMemberAccessLevelResult.h │ │ │ │ ├── DBSHARINGMemberAction.h │ │ │ │ ├── DBSHARINGMemberPermission.h │ │ │ │ ├── DBSHARINGMemberPolicy.h │ │ │ │ ├── DBSHARINGMemberSelector.h │ │ │ │ ├── DBSHARINGMembershipInfo.h │ │ │ │ ├── DBSHARINGModifySharedLinkSettingsArgs.h │ │ │ │ ├── DBSHARINGModifySharedLinkSettingsError.h │ │ │ │ ├── DBSHARINGMountFolderArg.h │ │ │ │ ├── DBSHARINGMountFolderError.h │ │ │ │ ├── DBSHARINGParentFolderAccessInfo.h │ │ │ │ ├── DBSHARINGPathLinkMetadata.h │ │ │ │ ├── DBSHARINGPendingUploadMode.h │ │ │ │ ├── DBSHARINGPermissionDeniedReason.h │ │ │ │ ├── DBSHARINGRelinquishFileMembershipArg.h │ │ │ │ ├── DBSHARINGRelinquishFileMembershipError.h │ │ │ │ ├── DBSHARINGRelinquishFolderMembershipArg.h │ │ │ │ ├── DBSHARINGRelinquishFolderMembershipError.h │ │ │ │ ├── DBSHARINGRemoveFileMemberArg.h │ │ │ │ ├── DBSHARINGRemoveFileMemberError.h │ │ │ │ ├── DBSHARINGRemoveFolderMemberArg.h │ │ │ │ ├── DBSHARINGRemoveFolderMemberError.h │ │ │ │ ├── DBSHARINGRemoveMemberJobStatus.h │ │ │ │ ├── DBSHARINGRequestedLinkAccessLevel.h │ │ │ │ ├── DBSHARINGRequestedVisibility.h │ │ │ │ ├── DBSHARINGResolvedVisibility.h │ │ │ │ ├── DBSHARINGRevokeSharedLinkArg.h │ │ │ │ ├── DBSHARINGRevokeSharedLinkError.h │ │ │ │ ├── DBSHARINGSetAccessInheritanceArg.h │ │ │ │ ├── DBSHARINGSetAccessInheritanceError.h │ │ │ │ ├── DBSHARINGShareFolderArg.h │ │ │ │ ├── DBSHARINGShareFolderArgBase.h │ │ │ │ ├── DBSHARINGShareFolderError.h │ │ │ │ ├── DBSHARINGShareFolderErrorBase.h │ │ │ │ ├── DBSHARINGShareFolderJobStatus.h │ │ │ │ ├── DBSHARINGShareFolderLaunch.h │ │ │ │ ├── DBSHARINGSharePathError.h │ │ │ │ ├── DBSHARINGSharedContentLinkMetadata.h │ │ │ │ ├── DBSHARINGSharedContentLinkMetadataBase.h │ │ │ │ ├── DBSHARINGSharedFileMembers.h │ │ │ │ ├── DBSHARINGSharedFileMetadata.h │ │ │ │ ├── DBSHARINGSharedFolderAccessError.h │ │ │ │ ├── DBSHARINGSharedFolderMemberError.h │ │ │ │ ├── DBSHARINGSharedFolderMembers.h │ │ │ │ ├── DBSHARINGSharedFolderMetadata.h │ │ │ │ ├── DBSHARINGSharedFolderMetadataBase.h │ │ │ │ ├── DBSHARINGSharedLinkAccessFailureReason.h │ │ │ │ ├── DBSHARINGSharedLinkAlreadyExistsMetadata.h │ │ │ │ ├── DBSHARINGSharedLinkError.h │ │ │ │ ├── DBSHARINGSharedLinkMetadata.h │ │ │ │ ├── DBSHARINGSharedLinkPolicy.h │ │ │ │ ├── DBSHARINGSharedLinkSettings.h │ │ │ │ ├── DBSHARINGSharedLinkSettingsError.h │ │ │ │ ├── DBSHARINGSharingFileAccessError.h │ │ │ │ ├── DBSHARINGSharingUserError.h │ │ │ │ ├── DBSHARINGTeamMemberInfo.h │ │ │ │ ├── DBSHARINGTransferFolderArg.h │ │ │ │ ├── DBSHARINGTransferFolderError.h │ │ │ │ ├── DBSHARINGUnmountFolderArg.h │ │ │ │ ├── DBSHARINGUnmountFolderError.h │ │ │ │ ├── DBSHARINGUnshareFileArg.h │ │ │ │ ├── DBSHARINGUnshareFileError.h │ │ │ │ ├── DBSHARINGUnshareFolderArg.h │ │ │ │ ├── DBSHARINGUnshareFolderError.h │ │ │ │ ├── DBSHARINGUpdateFileMemberArgs.h │ │ │ │ ├── DBSHARINGUpdateFolderMemberArg.h │ │ │ │ ├── DBSHARINGUpdateFolderMemberError.h │ │ │ │ ├── DBSHARINGUpdateFolderPolicyArg.h │ │ │ │ ├── DBSHARINGUpdateFolderPolicyError.h │ │ │ │ ├── DBSHARINGUserFileMembershipInfo.h │ │ │ │ ├── DBSHARINGUserInfo.h │ │ │ │ ├── DBSHARINGUserMembershipInfo.h │ │ │ │ ├── DBSHARINGViewerInfoPolicy.h │ │ │ │ ├── DBSHARINGVisibility.h │ │ │ │ ├── DBSHARINGVisibilityPolicy.h │ │ │ │ └── DBSHARINGVisibilityPolicyDisallowedReason.h │ │ │ ├── Team/ │ │ │ │ ├── DBTeamObjects.m │ │ │ │ └── Headers/ │ │ │ │ ├── DBTEAMActiveWebSession.h │ │ │ │ ├── DBTEAMAddSecondaryEmailResult.h │ │ │ │ ├── DBTEAMAddSecondaryEmailsArg.h │ │ │ │ ├── DBTEAMAddSecondaryEmailsError.h │ │ │ │ ├── DBTEAMAddSecondaryEmailsResult.h │ │ │ │ ├── DBTEAMAdminTier.h │ │ │ │ ├── DBTEAMApiApp.h │ │ │ │ ├── DBTEAMBaseDfbReport.h │ │ │ │ ├── DBTEAMBaseTeamFolderError.h │ │ │ │ ├── DBTEAMCustomQuotaError.h │ │ │ │ ├── DBTEAMCustomQuotaResult.h │ │ │ │ ├── DBTEAMCustomQuotaUsersArg.h │ │ │ │ ├── DBTEAMDateRange.h │ │ │ │ ├── DBTEAMDateRangeError.h │ │ │ │ ├── DBTEAMDeleteSecondaryEmailResult.h │ │ │ │ ├── DBTEAMDeleteSecondaryEmailsArg.h │ │ │ │ ├── DBTEAMDeleteSecondaryEmailsResult.h │ │ │ │ ├── DBTEAMDesktopClientSession.h │ │ │ │ ├── DBTEAMDesktopPlatform.h │ │ │ │ ├── DBTEAMDeviceSession.h │ │ │ │ ├── DBTEAMDeviceSessionArg.h │ │ │ │ ├── DBTEAMDevicesActive.h │ │ │ │ ├── DBTEAMExcludedUsersListArg.h │ │ │ │ ├── DBTEAMExcludedUsersListContinueArg.h │ │ │ │ ├── DBTEAMExcludedUsersListContinueError.h │ │ │ │ ├── DBTEAMExcludedUsersListError.h │ │ │ │ ├── DBTEAMExcludedUsersListResult.h │ │ │ │ ├── DBTEAMExcludedUsersUpdateArg.h │ │ │ │ ├── DBTEAMExcludedUsersUpdateError.h │ │ │ │ ├── DBTEAMExcludedUsersUpdateResult.h │ │ │ │ ├── DBTEAMExcludedUsersUpdateStatus.h │ │ │ │ ├── DBTEAMFeature.h │ │ │ │ ├── DBTEAMFeatureValue.h │ │ │ │ ├── DBTEAMFeaturesGetValuesBatchArg.h │ │ │ │ ├── DBTEAMFeaturesGetValuesBatchError.h │ │ │ │ ├── DBTEAMFeaturesGetValuesBatchResult.h │ │ │ │ ├── DBTEAMGetActivityReport.h │ │ │ │ ├── DBTEAMGetDevicesReport.h │ │ │ │ ├── DBTEAMGetMembershipReport.h │ │ │ │ ├── DBTEAMGetStorageReport.h │ │ │ │ ├── DBTEAMGroupAccessType.h │ │ │ │ ├── DBTEAMGroupCreateArg.h │ │ │ │ ├── DBTEAMGroupCreateError.h │ │ │ │ ├── DBTEAMGroupDeleteError.h │ │ │ │ ├── DBTEAMGroupFullInfo.h │ │ │ │ ├── DBTEAMGroupMemberInfo.h │ │ │ │ ├── DBTEAMGroupMemberSelector.h │ │ │ │ ├── DBTEAMGroupMemberSelectorError.h │ │ │ │ ├── DBTEAMGroupMemberSetAccessTypeError.h │ │ │ │ ├── DBTEAMGroupMembersAddArg.h │ │ │ │ ├── DBTEAMGroupMembersAddError.h │ │ │ │ ├── DBTEAMGroupMembersChangeResult.h │ │ │ │ ├── DBTEAMGroupMembersRemoveArg.h │ │ │ │ ├── DBTEAMGroupMembersRemoveError.h │ │ │ │ ├── DBTEAMGroupMembersSelector.h │ │ │ │ ├── DBTEAMGroupMembersSelectorError.h │ │ │ │ ├── DBTEAMGroupMembersSetAccessTypeArg.h │ │ │ │ ├── DBTEAMGroupSelector.h │ │ │ │ ├── DBTEAMGroupSelectorError.h │ │ │ │ ├── DBTEAMGroupSelectorWithTeamGroupError.h │ │ │ │ ├── DBTEAMGroupUpdateArgs.h │ │ │ │ ├── DBTEAMGroupUpdateError.h │ │ │ │ ├── DBTEAMGroupsGetInfoError.h │ │ │ │ ├── DBTEAMGroupsGetInfoItem.h │ │ │ │ ├── DBTEAMGroupsListArg.h │ │ │ │ ├── DBTEAMGroupsListContinueArg.h │ │ │ │ ├── DBTEAMGroupsListContinueError.h │ │ │ │ ├── DBTEAMGroupsListResult.h │ │ │ │ ├── DBTEAMGroupsMembersListArg.h │ │ │ │ ├── DBTEAMGroupsMembersListContinueArg.h │ │ │ │ ├── DBTEAMGroupsMembersListContinueError.h │ │ │ │ ├── DBTEAMGroupsMembersListResult.h │ │ │ │ ├── DBTEAMGroupsPollError.h │ │ │ │ ├── DBTEAMGroupsSelector.h │ │ │ │ ├── DBTEAMHasTeamFileEventsValue.h │ │ │ │ ├── DBTEAMHasTeamSelectiveSyncValue.h │ │ │ │ ├── DBTEAMHasTeamSharedDropboxValue.h │ │ │ │ ├── DBTEAMIncludeMembersArg.h │ │ │ │ ├── DBTEAMLegalHoldHeldRevisionMetadata.h │ │ │ │ ├── DBTEAMLegalHoldPolicy.h │ │ │ │ ├── DBTEAMLegalHoldStatus.h │ │ │ │ ├── DBTEAMLegalHoldsError.h │ │ │ │ ├── DBTEAMLegalHoldsGetPolicyArg.h │ │ │ │ ├── DBTEAMLegalHoldsGetPolicyError.h │ │ │ │ ├── DBTEAMLegalHoldsListHeldRevisionResult.h │ │ │ │ ├── DBTEAMLegalHoldsListHeldRevisionsArg.h │ │ │ │ ├── DBTEAMLegalHoldsListHeldRevisionsContinueArg.h │ │ │ │ ├── DBTEAMLegalHoldsListHeldRevisionsContinueError.h │ │ │ │ ├── DBTEAMLegalHoldsListHeldRevisionsError.h │ │ │ │ ├── DBTEAMLegalHoldsListPoliciesArg.h │ │ │ │ ├── DBTEAMLegalHoldsListPoliciesError.h │ │ │ │ ├── DBTEAMLegalHoldsListPoliciesResult.h │ │ │ │ ├── DBTEAMLegalHoldsPolicyCreateArg.h │ │ │ │ ├── DBTEAMLegalHoldsPolicyCreateError.h │ │ │ │ ├── DBTEAMLegalHoldsPolicyReleaseArg.h │ │ │ │ ├── DBTEAMLegalHoldsPolicyReleaseError.h │ │ │ │ ├── DBTEAMLegalHoldsPolicyUpdateArg.h │ │ │ │ ├── DBTEAMLegalHoldsPolicyUpdateError.h │ │ │ │ ├── DBTEAMListMemberAppsArg.h │ │ │ │ ├── DBTEAMListMemberAppsError.h │ │ │ │ ├── DBTEAMListMemberAppsResult.h │ │ │ │ ├── DBTEAMListMemberDevicesArg.h │ │ │ │ ├── DBTEAMListMemberDevicesError.h │ │ │ │ ├── DBTEAMListMemberDevicesResult.h │ │ │ │ ├── DBTEAMListMembersAppsArg.h │ │ │ │ ├── DBTEAMListMembersAppsError.h │ │ │ │ ├── DBTEAMListMembersAppsResult.h │ │ │ │ ├── DBTEAMListMembersDevicesArg.h │ │ │ │ ├── DBTEAMListMembersDevicesError.h │ │ │ │ ├── DBTEAMListMembersDevicesResult.h │ │ │ │ ├── DBTEAMListTeamAppsArg.h │ │ │ │ ├── DBTEAMListTeamAppsError.h │ │ │ │ ├── DBTEAMListTeamAppsResult.h │ │ │ │ ├── DBTEAMListTeamDevicesArg.h │ │ │ │ ├── DBTEAMListTeamDevicesError.h │ │ │ │ ├── DBTEAMListTeamDevicesResult.h │ │ │ │ ├── DBTEAMMemberAccess.h │ │ │ │ ├── DBTEAMMemberAddArg.h │ │ │ │ ├── DBTEAMMemberAddArgBase.h │ │ │ │ ├── DBTEAMMemberAddResult.h │ │ │ │ ├── DBTEAMMemberAddResultBase.h │ │ │ │ ├── DBTEAMMemberAddV2Arg.h │ │ │ │ ├── DBTEAMMemberAddV2Result.h │ │ │ │ ├── DBTEAMMemberDevices.h │ │ │ │ ├── DBTEAMMemberLinkedApps.h │ │ │ │ ├── DBTEAMMemberProfile.h │ │ │ │ ├── DBTEAMMemberSelectorError.h │ │ │ │ ├── DBTEAMMembersAddArg.h │ │ │ │ ├── DBTEAMMembersAddArgBase.h │ │ │ │ ├── DBTEAMMembersAddJobStatus.h │ │ │ │ ├── DBTEAMMembersAddJobStatusV2Result.h │ │ │ │ ├── DBTEAMMembersAddLaunch.h │ │ │ │ ├── DBTEAMMembersAddLaunchV2Result.h │ │ │ │ ├── DBTEAMMembersAddV2Arg.h │ │ │ │ ├── DBTEAMMembersDataTransferArg.h │ │ │ │ ├── DBTEAMMembersDeactivateArg.h │ │ │ │ ├── DBTEAMMembersDeactivateBaseArg.h │ │ │ │ ├── DBTEAMMembersDeactivateError.h │ │ │ │ ├── DBTEAMMembersDeleteProfilePhotoArg.h │ │ │ │ ├── DBTEAMMembersDeleteProfilePhotoError.h │ │ │ │ ├── DBTEAMMembersGetAvailableTeamMemberRolesResult.h │ │ │ │ ├── DBTEAMMembersGetInfoArgs.h │ │ │ │ ├── DBTEAMMembersGetInfoError.h │ │ │ │ ├── DBTEAMMembersGetInfoItem.h │ │ │ │ ├── DBTEAMMembersGetInfoItemBase.h │ │ │ │ ├── DBTEAMMembersGetInfoItemV2.h │ │ │ │ ├── DBTEAMMembersGetInfoV2Arg.h │ │ │ │ ├── DBTEAMMembersGetInfoV2Result.h │ │ │ │ ├── DBTEAMMembersInfo.h │ │ │ │ ├── DBTEAMMembersListArg.h │ │ │ │ ├── DBTEAMMembersListContinueArg.h │ │ │ │ ├── DBTEAMMembersListContinueError.h │ │ │ │ ├── DBTEAMMembersListError.h │ │ │ │ ├── DBTEAMMembersListResult.h │ │ │ │ ├── DBTEAMMembersListV2Result.h │ │ │ │ ├── DBTEAMMembersRecoverArg.h │ │ │ │ ├── DBTEAMMembersRecoverError.h │ │ │ │ ├── DBTEAMMembersRemoveArg.h │ │ │ │ ├── DBTEAMMembersRemoveError.h │ │ │ │ ├── DBTEAMMembersSendWelcomeError.h │ │ │ │ ├── DBTEAMMembersSetPermissions2Arg.h │ │ │ │ ├── DBTEAMMembersSetPermissions2Error.h │ │ │ │ ├── DBTEAMMembersSetPermissions2Result.h │ │ │ │ ├── DBTEAMMembersSetPermissionsArg.h │ │ │ │ ├── DBTEAMMembersSetPermissionsError.h │ │ │ │ ├── DBTEAMMembersSetPermissionsResult.h │ │ │ │ ├── DBTEAMMembersSetProfileArg.h │ │ │ │ ├── DBTEAMMembersSetProfileError.h │ │ │ │ ├── DBTEAMMembersSetProfilePhotoArg.h │ │ │ │ ├── DBTEAMMembersSetProfilePhotoError.h │ │ │ │ ├── DBTEAMMembersSuspendError.h │ │ │ │ ├── DBTEAMMembersTransferFilesError.h │ │ │ │ ├── DBTEAMMembersTransferFormerMembersFilesError.h │ │ │ │ ├── DBTEAMMembersUnsuspendArg.h │ │ │ │ ├── DBTEAMMembersUnsuspendError.h │ │ │ │ ├── DBTEAMMobileClientPlatform.h │ │ │ │ ├── DBTEAMMobileClientSession.h │ │ │ │ ├── DBTEAMNamespaceMetadata.h │ │ │ │ ├── DBTEAMNamespaceType.h │ │ │ │ ├── DBTEAMRemoveCustomQuotaResult.h │ │ │ │ ├── DBTEAMRemovedStatus.h │ │ │ │ ├── DBTEAMResendSecondaryEmailResult.h │ │ │ │ ├── DBTEAMResendVerificationEmailArg.h │ │ │ │ ├── DBTEAMResendVerificationEmailResult.h │ │ │ │ ├── DBTEAMRevokeDesktopClientArg.h │ │ │ │ ├── DBTEAMRevokeDeviceSessionArg.h │ │ │ │ ├── DBTEAMRevokeDeviceSessionBatchArg.h │ │ │ │ ├── DBTEAMRevokeDeviceSessionBatchError.h │ │ │ │ ├── DBTEAMRevokeDeviceSessionBatchResult.h │ │ │ │ ├── DBTEAMRevokeDeviceSessionError.h │ │ │ │ ├── DBTEAMRevokeDeviceSessionStatus.h │ │ │ │ ├── DBTEAMRevokeLinkedApiAppArg.h │ │ │ │ ├── DBTEAMRevokeLinkedApiAppBatchArg.h │ │ │ │ ├── DBTEAMRevokeLinkedAppBatchError.h │ │ │ │ ├── DBTEAMRevokeLinkedAppBatchResult.h │ │ │ │ ├── DBTEAMRevokeLinkedAppError.h │ │ │ │ ├── DBTEAMRevokeLinkedAppStatus.h │ │ │ │ ├── DBTEAMSetCustomQuotaArg.h │ │ │ │ ├── DBTEAMSetCustomQuotaError.h │ │ │ │ ├── DBTEAMSharingAllowlistAddArgs.h │ │ │ │ ├── DBTEAMSharingAllowlistAddError.h │ │ │ │ ├── DBTEAMSharingAllowlistAddResponse.h │ │ │ │ ├── DBTEAMSharingAllowlistListArg.h │ │ │ │ ├── DBTEAMSharingAllowlistListContinueArg.h │ │ │ │ ├── DBTEAMSharingAllowlistListContinueError.h │ │ │ │ ├── DBTEAMSharingAllowlistListError.h │ │ │ │ ├── DBTEAMSharingAllowlistListResponse.h │ │ │ │ ├── DBTEAMSharingAllowlistRemoveArgs.h │ │ │ │ ├── DBTEAMSharingAllowlistRemoveError.h │ │ │ │ ├── DBTEAMSharingAllowlistRemoveResponse.h │ │ │ │ ├── DBTEAMStorageBucket.h │ │ │ │ ├── DBTEAMTeamFolderAccessError.h │ │ │ │ ├── DBTEAMTeamFolderActivateError.h │ │ │ │ ├── DBTEAMTeamFolderArchiveArg.h │ │ │ │ ├── DBTEAMTeamFolderArchiveError.h │ │ │ │ ├── DBTEAMTeamFolderArchiveJobStatus.h │ │ │ │ ├── DBTEAMTeamFolderArchiveLaunch.h │ │ │ │ ├── DBTEAMTeamFolderCreateArg.h │ │ │ │ ├── DBTEAMTeamFolderCreateError.h │ │ │ │ ├── DBTEAMTeamFolderGetInfoItem.h │ │ │ │ ├── DBTEAMTeamFolderIdArg.h │ │ │ │ ├── DBTEAMTeamFolderIdListArg.h │ │ │ │ ├── DBTEAMTeamFolderInvalidStatusError.h │ │ │ │ ├── DBTEAMTeamFolderListArg.h │ │ │ │ ├── DBTEAMTeamFolderListContinueArg.h │ │ │ │ ├── DBTEAMTeamFolderListContinueError.h │ │ │ │ ├── DBTEAMTeamFolderListError.h │ │ │ │ ├── DBTEAMTeamFolderListResult.h │ │ │ │ ├── DBTEAMTeamFolderMetadata.h │ │ │ │ ├── DBTEAMTeamFolderPermanentlyDeleteError.h │ │ │ │ ├── DBTEAMTeamFolderRenameArg.h │ │ │ │ ├── DBTEAMTeamFolderRenameError.h │ │ │ │ ├── DBTEAMTeamFolderStatus.h │ │ │ │ ├── DBTEAMTeamFolderTeamSharedDropboxError.h │ │ │ │ ├── DBTEAMTeamFolderUpdateSyncSettingsArg.h │ │ │ │ ├── DBTEAMTeamFolderUpdateSyncSettingsError.h │ │ │ │ ├── DBTEAMTeamGetInfoResult.h │ │ │ │ ├── DBTEAMTeamMemberInfo.h │ │ │ │ ├── DBTEAMTeamMemberInfoV2.h │ │ │ │ ├── DBTEAMTeamMemberInfoV2Result.h │ │ │ │ ├── DBTEAMTeamMemberProfile.h │ │ │ │ ├── DBTEAMTeamMemberRole.h │ │ │ │ ├── DBTEAMTeamMemberStatus.h │ │ │ │ ├── DBTEAMTeamMembershipType.h │ │ │ │ ├── DBTEAMTeamNamespacesListArg.h │ │ │ │ ├── DBTEAMTeamNamespacesListContinueArg.h │ │ │ │ ├── DBTEAMTeamNamespacesListContinueError.h │ │ │ │ ├── DBTEAMTeamNamespacesListError.h │ │ │ │ ├── DBTEAMTeamNamespacesListResult.h │ │ │ │ ├── DBTEAMTeamReportFailureReason.h │ │ │ │ ├── DBTEAMTokenGetAuthenticatedAdminError.h │ │ │ │ ├── DBTEAMTokenGetAuthenticatedAdminResult.h │ │ │ │ ├── DBTEAMUploadApiRateLimitValue.h │ │ │ │ ├── DBTEAMUserAddResult.h │ │ │ │ ├── DBTEAMUserCustomQuotaArg.h │ │ │ │ ├── DBTEAMUserCustomQuotaResult.h │ │ │ │ ├── DBTEAMUserDeleteEmailsResult.h │ │ │ │ ├── DBTEAMUserDeleteResult.h │ │ │ │ ├── DBTEAMUserResendEmailsResult.h │ │ │ │ ├── DBTEAMUserResendResult.h │ │ │ │ ├── DBTEAMUserSecondaryEmailsArg.h │ │ │ │ ├── DBTEAMUserSecondaryEmailsResult.h │ │ │ │ ├── DBTEAMUserSelectorArg.h │ │ │ │ ├── DBTEAMUserSelectorError.h │ │ │ │ └── DBTEAMUsersSelectorArg.h │ │ │ ├── TeamCommon/ │ │ │ │ ├── DBTeamCommonObjects.m │ │ │ │ └── Headers/ │ │ │ │ ├── DBTEAMCOMMONGroupManagementType.h │ │ │ │ ├── DBTEAMCOMMONGroupSummary.h │ │ │ │ ├── DBTEAMCOMMONGroupType.h │ │ │ │ ├── DBTEAMCOMMONMemberSpaceLimitType.h │ │ │ │ └── DBTEAMCOMMONTimeRange.h │ │ │ ├── TeamLog/ │ │ │ │ ├── DBTeamLogObjects.m │ │ │ │ └── Headers/ │ │ │ │ ├── DBTEAMLOGAccessMethodLogInfo.h │ │ │ │ ├── DBTEAMLOGAccountCaptureAvailability.h │ │ │ │ ├── DBTEAMLOGAccountCaptureChangeAvailabilityDetails.h │ │ │ │ ├── DBTEAMLOGAccountCaptureChangeAvailabilityType.h │ │ │ │ ├── DBTEAMLOGAccountCaptureChangePolicyDetails.h │ │ │ │ ├── DBTEAMLOGAccountCaptureChangePolicyType.h │ │ │ │ ├── DBTEAMLOGAccountCaptureMigrateAccountDetails.h │ │ │ │ ├── DBTEAMLOGAccountCaptureMigrateAccountType.h │ │ │ │ ├── DBTEAMLOGAccountCaptureNotificationEmailsSentDetails.h │ │ │ │ ├── DBTEAMLOGAccountCaptureNotificationEmailsSentType.h │ │ │ │ ├── DBTEAMLOGAccountCaptureNotificationType.h │ │ │ │ ├── DBTEAMLOGAccountCapturePolicy.h │ │ │ │ ├── DBTEAMLOGAccountCaptureRelinquishAccountDetails.h │ │ │ │ ├── DBTEAMLOGAccountCaptureRelinquishAccountType.h │ │ │ │ ├── DBTEAMLOGAccountLockOrUnlockedDetails.h │ │ │ │ ├── DBTEAMLOGAccountLockOrUnlockedType.h │ │ │ │ ├── DBTEAMLOGAccountState.h │ │ │ │ ├── DBTEAMLOGActionDetails.h │ │ │ │ ├── DBTEAMLOGActorLogInfo.h │ │ │ │ ├── DBTEAMLOGAdminAlertCategoryEnum.h │ │ │ │ ├── DBTEAMLOGAdminAlertGeneralStateEnum.h │ │ │ │ ├── DBTEAMLOGAdminAlertSeverityEnum.h │ │ │ │ ├── DBTEAMLOGAdminAlertingAlertConfiguration.h │ │ │ │ ├── DBTEAMLOGAdminAlertingAlertSensitivity.h │ │ │ │ ├── DBTEAMLOGAdminAlertingAlertStateChangedDetails.h │ │ │ │ ├── DBTEAMLOGAdminAlertingAlertStateChangedType.h │ │ │ │ ├── DBTEAMLOGAdminAlertingAlertStatePolicy.h │ │ │ │ ├── DBTEAMLOGAdminAlertingChangedAlertConfigDetails.h │ │ │ │ ├── DBTEAMLOGAdminAlertingChangedAlertConfigType.h │ │ │ │ ├── DBTEAMLOGAdminAlertingTriggeredAlertDetails.h │ │ │ │ ├── DBTEAMLOGAdminAlertingTriggeredAlertType.h │ │ │ │ ├── DBTEAMLOGAdminConsoleAppPermission.h │ │ │ │ ├── DBTEAMLOGAdminConsoleAppPolicy.h │ │ │ │ ├── DBTEAMLOGAdminEmailRemindersChangedDetails.h │ │ │ │ ├── DBTEAMLOGAdminEmailRemindersChangedType.h │ │ │ │ ├── DBTEAMLOGAdminEmailRemindersPolicy.h │ │ │ │ ├── DBTEAMLOGAdminRole.h │ │ │ │ ├── DBTEAMLOGAlertRecipientsSettingType.h │ │ │ │ ├── DBTEAMLOGAllowDownloadDisabledDetails.h │ │ │ │ ├── DBTEAMLOGAllowDownloadDisabledType.h │ │ │ │ ├── DBTEAMLOGAllowDownloadEnabledDetails.h │ │ │ │ ├── DBTEAMLOGAllowDownloadEnabledType.h │ │ │ │ ├── DBTEAMLOGApiSessionLogInfo.h │ │ │ │ ├── DBTEAMLOGAppBlockedByPermissionsDetails.h │ │ │ │ ├── DBTEAMLOGAppBlockedByPermissionsType.h │ │ │ │ ├── DBTEAMLOGAppLinkTeamDetails.h │ │ │ │ ├── DBTEAMLOGAppLinkTeamType.h │ │ │ │ ├── DBTEAMLOGAppLinkUserDetails.h │ │ │ │ ├── DBTEAMLOGAppLinkUserType.h │ │ │ │ ├── DBTEAMLOGAppLogInfo.h │ │ │ │ ├── DBTEAMLOGAppPermissionsChangedDetails.h │ │ │ │ ├── DBTEAMLOGAppPermissionsChangedType.h │ │ │ │ ├── DBTEAMLOGAppUnlinkTeamDetails.h │ │ │ │ ├── DBTEAMLOGAppUnlinkTeamType.h │ │ │ │ ├── DBTEAMLOGAppUnlinkUserDetails.h │ │ │ │ ├── DBTEAMLOGAppUnlinkUserType.h │ │ │ │ ├── DBTEAMLOGApplyNamingConventionDetails.h │ │ │ │ ├── DBTEAMLOGApplyNamingConventionType.h │ │ │ │ ├── DBTEAMLOGAssetLogInfo.h │ │ │ │ ├── DBTEAMLOGBackupAdminInvitationSentDetails.h │ │ │ │ ├── DBTEAMLOGBackupAdminInvitationSentType.h │ │ │ │ ├── DBTEAMLOGBackupInvitationOpenedDetails.h │ │ │ │ ├── DBTEAMLOGBackupInvitationOpenedType.h │ │ │ │ ├── DBTEAMLOGBackupStatus.h │ │ │ │ ├── DBTEAMLOGBinderAddPageDetails.h │ │ │ │ ├── DBTEAMLOGBinderAddPageType.h │ │ │ │ ├── DBTEAMLOGBinderAddSectionDetails.h │ │ │ │ ├── DBTEAMLOGBinderAddSectionType.h │ │ │ │ ├── DBTEAMLOGBinderRemovePageDetails.h │ │ │ │ ├── DBTEAMLOGBinderRemovePageType.h │ │ │ │ ├── DBTEAMLOGBinderRemoveSectionDetails.h │ │ │ │ ├── DBTEAMLOGBinderRemoveSectionType.h │ │ │ │ ├── DBTEAMLOGBinderRenamePageDetails.h │ │ │ │ ├── DBTEAMLOGBinderRenamePageType.h │ │ │ │ ├── DBTEAMLOGBinderRenameSectionDetails.h │ │ │ │ ├── DBTEAMLOGBinderRenameSectionType.h │ │ │ │ ├── DBTEAMLOGBinderReorderPageDetails.h │ │ │ │ ├── DBTEAMLOGBinderReorderPageType.h │ │ │ │ ├── DBTEAMLOGBinderReorderSectionDetails.h │ │ │ │ ├── DBTEAMLOGBinderReorderSectionType.h │ │ │ │ ├── DBTEAMLOGCameraUploadsPolicy.h │ │ │ │ ├── DBTEAMLOGCameraUploadsPolicyChangedDetails.h │ │ │ │ ├── DBTEAMLOGCameraUploadsPolicyChangedType.h │ │ │ │ ├── DBTEAMLOGCaptureTranscriptPolicy.h │ │ │ │ ├── DBTEAMLOGCaptureTranscriptPolicyChangedDetails.h │ │ │ │ ├── DBTEAMLOGCaptureTranscriptPolicyChangedType.h │ │ │ │ ├── DBTEAMLOGCertificate.h │ │ │ │ ├── DBTEAMLOGChangeLinkExpirationPolicy.h │ │ │ │ ├── DBTEAMLOGChangedEnterpriseAdminRoleDetails.h │ │ │ │ ├── DBTEAMLOGChangedEnterpriseAdminRoleType.h │ │ │ │ ├── DBTEAMLOGChangedEnterpriseConnectedTeamStatusDetails.h │ │ │ │ ├── DBTEAMLOGChangedEnterpriseConnectedTeamStatusType.h │ │ │ │ ├── DBTEAMLOGClassificationChangePolicyDetails.h │ │ │ │ ├── DBTEAMLOGClassificationChangePolicyType.h │ │ │ │ ├── DBTEAMLOGClassificationCreateReportDetails.h │ │ │ │ ├── DBTEAMLOGClassificationCreateReportFailDetails.h │ │ │ │ ├── DBTEAMLOGClassificationCreateReportFailType.h │ │ │ │ ├── DBTEAMLOGClassificationCreateReportType.h │ │ │ │ ├── DBTEAMLOGClassificationPolicyEnumWrapper.h │ │ │ │ ├── DBTEAMLOGClassificationType.h │ │ │ │ ├── DBTEAMLOGCollectionShareDetails.h │ │ │ │ ├── DBTEAMLOGCollectionShareType.h │ │ │ │ ├── DBTEAMLOGComputerBackupPolicy.h │ │ │ │ ├── DBTEAMLOGComputerBackupPolicyChangedDetails.h │ │ │ │ ├── DBTEAMLOGComputerBackupPolicyChangedType.h │ │ │ │ ├── DBTEAMLOGConnectedTeamName.h │ │ │ │ ├── DBTEAMLOGContentAdministrationPolicyChangedDetails.h │ │ │ │ ├── DBTEAMLOGContentAdministrationPolicyChangedType.h │ │ │ │ ├── DBTEAMLOGContentPermanentDeletePolicy.h │ │ │ │ ├── DBTEAMLOGContextLogInfo.h │ │ │ │ ├── DBTEAMLOGCreateFolderDetails.h │ │ │ │ ├── DBTEAMLOGCreateFolderType.h │ │ │ │ ├── DBTEAMLOGCreateTeamInviteLinkDetails.h │ │ │ │ ├── DBTEAMLOGCreateTeamInviteLinkType.h │ │ │ │ ├── DBTEAMLOGDataPlacementRestrictionChangePolicyDetails.h │ │ │ │ ├── DBTEAMLOGDataPlacementRestrictionChangePolicyType.h │ │ │ │ ├── DBTEAMLOGDataPlacementRestrictionSatisfyPolicyDetails.h │ │ │ │ ├── DBTEAMLOGDataPlacementRestrictionSatisfyPolicyType.h │ │ │ │ ├── DBTEAMLOGDataResidencyMigrationRequestSuccessfulDetails.h │ │ │ │ ├── DBTEAMLOGDataResidencyMigrationRequestSuccessfulType.h │ │ │ │ ├── DBTEAMLOGDataResidencyMigrationRequestUnsuccessfulDetails.h │ │ │ │ ├── DBTEAMLOGDataResidencyMigrationRequestUnsuccessfulType.h │ │ │ │ ├── DBTEAMLOGDefaultLinkExpirationDaysPolicy.h │ │ │ │ ├── DBTEAMLOGDeleteTeamInviteLinkDetails.h │ │ │ │ ├── DBTEAMLOGDeleteTeamInviteLinkType.h │ │ │ │ ├── DBTEAMLOGDesktopDeviceSessionLogInfo.h │ │ │ │ ├── DBTEAMLOGDesktopSessionLogInfo.h │ │ │ │ ├── DBTEAMLOGDeviceApprovalsAddExceptionDetails.h │ │ │ │ ├── DBTEAMLOGDeviceApprovalsAddExceptionType.h │ │ │ │ ├── DBTEAMLOGDeviceApprovalsChangeDesktopPolicyDetails.h │ │ │ │ ├── DBTEAMLOGDeviceApprovalsChangeDesktopPolicyType.h │ │ │ │ ├── DBTEAMLOGDeviceApprovalsChangeMobilePolicyDetails.h │ │ │ │ ├── DBTEAMLOGDeviceApprovalsChangeMobilePolicyType.h │ │ │ │ ├── DBTEAMLOGDeviceApprovalsChangeOverageActionDetails.h │ │ │ │ ├── DBTEAMLOGDeviceApprovalsChangeOverageActionType.h │ │ │ │ ├── DBTEAMLOGDeviceApprovalsChangeUnlinkActionDetails.h │ │ │ │ ├── DBTEAMLOGDeviceApprovalsChangeUnlinkActionType.h │ │ │ │ ├── DBTEAMLOGDeviceApprovalsPolicy.h │ │ │ │ ├── DBTEAMLOGDeviceApprovalsRemoveExceptionDetails.h │ │ │ │ ├── DBTEAMLOGDeviceApprovalsRemoveExceptionType.h │ │ │ │ ├── DBTEAMLOGDeviceChangeIpDesktopDetails.h │ │ │ │ ├── DBTEAMLOGDeviceChangeIpDesktopType.h │ │ │ │ ├── DBTEAMLOGDeviceChangeIpMobileDetails.h │ │ │ │ ├── DBTEAMLOGDeviceChangeIpMobileType.h │ │ │ │ ├── DBTEAMLOGDeviceChangeIpWebDetails.h │ │ │ │ ├── DBTEAMLOGDeviceChangeIpWebType.h │ │ │ │ ├── DBTEAMLOGDeviceDeleteOnUnlinkFailDetails.h │ │ │ │ ├── DBTEAMLOGDeviceDeleteOnUnlinkFailType.h │ │ │ │ ├── DBTEAMLOGDeviceDeleteOnUnlinkSuccessDetails.h │ │ │ │ ├── DBTEAMLOGDeviceDeleteOnUnlinkSuccessType.h │ │ │ │ ├── DBTEAMLOGDeviceLinkFailDetails.h │ │ │ │ ├── DBTEAMLOGDeviceLinkFailType.h │ │ │ │ ├── DBTEAMLOGDeviceLinkSuccessDetails.h │ │ │ │ ├── DBTEAMLOGDeviceLinkSuccessType.h │ │ │ │ ├── DBTEAMLOGDeviceManagementDisabledDetails.h │ │ │ │ ├── DBTEAMLOGDeviceManagementDisabledType.h │ │ │ │ ├── DBTEAMLOGDeviceManagementEnabledDetails.h │ │ │ │ ├── DBTEAMLOGDeviceManagementEnabledType.h │ │ │ │ ├── DBTEAMLOGDeviceSessionLogInfo.h │ │ │ │ ├── DBTEAMLOGDeviceSyncBackupStatusChangedDetails.h │ │ │ │ ├── DBTEAMLOGDeviceSyncBackupStatusChangedType.h │ │ │ │ ├── DBTEAMLOGDeviceType.h │ │ │ │ ├── DBTEAMLOGDeviceUnlinkDetails.h │ │ │ │ ├── DBTEAMLOGDeviceUnlinkPolicy.h │ │ │ │ ├── DBTEAMLOGDeviceUnlinkType.h │ │ │ │ ├── DBTEAMLOGDirectoryRestrictionsAddMembersDetails.h │ │ │ │ ├── DBTEAMLOGDirectoryRestrictionsAddMembersType.h │ │ │ │ ├── DBTEAMLOGDirectoryRestrictionsRemoveMembersDetails.h │ │ │ │ ├── DBTEAMLOGDirectoryRestrictionsRemoveMembersType.h │ │ │ │ ├── DBTEAMLOGDisabledDomainInvitesDetails.h │ │ │ │ ├── DBTEAMLOGDisabledDomainInvitesType.h │ │ │ │ ├── DBTEAMLOGDispositionActionType.h │ │ │ │ ├── DBTEAMLOGDomainInvitesApproveRequestToJoinTeamDetails.h │ │ │ │ ├── DBTEAMLOGDomainInvitesApproveRequestToJoinTeamType.h │ │ │ │ ├── DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamDetails.h │ │ │ │ ├── DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamType.h │ │ │ │ ├── DBTEAMLOGDomainInvitesEmailExistingUsersDetails.h │ │ │ │ ├── DBTEAMLOGDomainInvitesEmailExistingUsersType.h │ │ │ │ ├── DBTEAMLOGDomainInvitesRequestToJoinTeamDetails.h │ │ │ │ ├── DBTEAMLOGDomainInvitesRequestToJoinTeamType.h │ │ │ │ ├── DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoDetails.h │ │ │ │ ├── DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoType.h │ │ │ │ ├── DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesDetails.h │ │ │ │ ├── DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesType.h │ │ │ │ ├── DBTEAMLOGDomainVerificationAddDomainFailDetails.h │ │ │ │ ├── DBTEAMLOGDomainVerificationAddDomainFailType.h │ │ │ │ ├── DBTEAMLOGDomainVerificationAddDomainSuccessDetails.h │ │ │ │ ├── DBTEAMLOGDomainVerificationAddDomainSuccessType.h │ │ │ │ ├── DBTEAMLOGDomainVerificationRemoveDomainDetails.h │ │ │ │ ├── DBTEAMLOGDomainVerificationRemoveDomainType.h │ │ │ │ ├── DBTEAMLOGDownloadPolicyType.h │ │ │ │ ├── DBTEAMLOGDropboxPasswordsExportedDetails.h │ │ │ │ ├── DBTEAMLOGDropboxPasswordsExportedType.h │ │ │ │ ├── DBTEAMLOGDropboxPasswordsNewDeviceEnrolledDetails.h │ │ │ │ ├── DBTEAMLOGDropboxPasswordsNewDeviceEnrolledType.h │ │ │ │ ├── DBTEAMLOGDropboxPasswordsPolicy.h │ │ │ │ ├── DBTEAMLOGDropboxPasswordsPolicyChangedDetails.h │ │ │ │ ├── DBTEAMLOGDropboxPasswordsPolicyChangedType.h │ │ │ │ ├── DBTEAMLOGDurationLogInfo.h │ │ │ │ ├── DBTEAMLOGEmailIngestPolicy.h │ │ │ │ ├── DBTEAMLOGEmailIngestPolicyChangedDetails.h │ │ │ │ ├── DBTEAMLOGEmailIngestPolicyChangedType.h │ │ │ │ ├── DBTEAMLOGEmailIngestReceiveFileDetails.h │ │ │ │ ├── DBTEAMLOGEmailIngestReceiveFileType.h │ │ │ │ ├── DBTEAMLOGEmmAddExceptionDetails.h │ │ │ │ ├── DBTEAMLOGEmmAddExceptionType.h │ │ │ │ ├── DBTEAMLOGEmmChangePolicyDetails.h │ │ │ │ ├── DBTEAMLOGEmmChangePolicyType.h │ │ │ │ ├── DBTEAMLOGEmmCreateExceptionsReportDetails.h │ │ │ │ ├── DBTEAMLOGEmmCreateExceptionsReportType.h │ │ │ │ ├── DBTEAMLOGEmmCreateUsageReportDetails.h │ │ │ │ ├── DBTEAMLOGEmmCreateUsageReportType.h │ │ │ │ ├── DBTEAMLOGEmmErrorDetails.h │ │ │ │ ├── DBTEAMLOGEmmErrorType.h │ │ │ │ ├── DBTEAMLOGEmmRefreshAuthTokenDetails.h │ │ │ │ ├── DBTEAMLOGEmmRefreshAuthTokenType.h │ │ │ │ ├── DBTEAMLOGEmmRemoveExceptionDetails.h │ │ │ │ ├── DBTEAMLOGEmmRemoveExceptionType.h │ │ │ │ ├── DBTEAMLOGEnabledDomainInvitesDetails.h │ │ │ │ ├── DBTEAMLOGEnabledDomainInvitesType.h │ │ │ │ ├── DBTEAMLOGEndedEnterpriseAdminSessionDeprecatedDetails.h │ │ │ │ ├── DBTEAMLOGEndedEnterpriseAdminSessionDeprecatedType.h │ │ │ │ ├── DBTEAMLOGEndedEnterpriseAdminSessionDetails.h │ │ │ │ ├── DBTEAMLOGEndedEnterpriseAdminSessionType.h │ │ │ │ ├── DBTEAMLOGEnforceLinkPasswordPolicy.h │ │ │ │ ├── DBTEAMLOGEnterpriseSettingsLockingDetails.h │ │ │ │ ├── DBTEAMLOGEnterpriseSettingsLockingType.h │ │ │ │ ├── DBTEAMLOGEventCategory.h │ │ │ │ ├── DBTEAMLOGEventDetails.h │ │ │ │ ├── DBTEAMLOGEventType.h │ │ │ │ ├── DBTEAMLOGEventTypeArg.h │ │ │ │ ├── DBTEAMLOGExportMembersReportDetails.h │ │ │ │ ├── DBTEAMLOGExportMembersReportFailDetails.h │ │ │ │ ├── DBTEAMLOGExportMembersReportFailType.h │ │ │ │ ├── DBTEAMLOGExportMembersReportType.h │ │ │ │ ├── DBTEAMLOGExtendedVersionHistoryChangePolicyDetails.h │ │ │ │ ├── DBTEAMLOGExtendedVersionHistoryChangePolicyType.h │ │ │ │ ├── DBTEAMLOGExtendedVersionHistoryPolicy.h │ │ │ │ ├── DBTEAMLOGExternalDriveBackupEligibilityStatus.h │ │ │ │ ├── DBTEAMLOGExternalDriveBackupEligibilityStatusCheckedDetails.h │ │ │ │ ├── DBTEAMLOGExternalDriveBackupEligibilityStatusCheckedType.h │ │ │ │ ├── DBTEAMLOGExternalDriveBackupPolicy.h │ │ │ │ ├── DBTEAMLOGExternalDriveBackupPolicyChangedDetails.h │ │ │ │ ├── DBTEAMLOGExternalDriveBackupPolicyChangedType.h │ │ │ │ ├── DBTEAMLOGExternalDriveBackupStatus.h │ │ │ │ ├── DBTEAMLOGExternalDriveBackupStatusChangedDetails.h │ │ │ │ ├── DBTEAMLOGExternalDriveBackupStatusChangedType.h │ │ │ │ ├── DBTEAMLOGExternalSharingCreateReportDetails.h │ │ │ │ ├── DBTEAMLOGExternalSharingCreateReportType.h │ │ │ │ ├── DBTEAMLOGExternalSharingReportFailedDetails.h │ │ │ │ ├── DBTEAMLOGExternalSharingReportFailedType.h │ │ │ │ ├── DBTEAMLOGExternalUserLogInfo.h │ │ │ │ ├── DBTEAMLOGFailureDetailsLogInfo.h │ │ │ │ ├── DBTEAMLOGFedAdminRole.h │ │ │ │ ├── DBTEAMLOGFedExtraDetails.h │ │ │ │ ├── DBTEAMLOGFedHandshakeAction.h │ │ │ │ ├── DBTEAMLOGFederationStatusChangeAdditionalInfo.h │ │ │ │ ├── DBTEAMLOGFileAddCommentDetails.h │ │ │ │ ├── DBTEAMLOGFileAddCommentType.h │ │ │ │ ├── DBTEAMLOGFileAddDetails.h │ │ │ │ ├── DBTEAMLOGFileAddFromAutomationDetails.h │ │ │ │ ├── DBTEAMLOGFileAddFromAutomationType.h │ │ │ │ ├── DBTEAMLOGFileAddType.h │ │ │ │ ├── DBTEAMLOGFileChangeCommentSubscriptionDetails.h │ │ │ │ ├── DBTEAMLOGFileChangeCommentSubscriptionType.h │ │ │ │ ├── DBTEAMLOGFileCommentNotificationPolicy.h │ │ │ │ ├── DBTEAMLOGFileCommentsChangePolicyDetails.h │ │ │ │ ├── DBTEAMLOGFileCommentsChangePolicyType.h │ │ │ │ ├── DBTEAMLOGFileCommentsPolicy.h │ │ │ │ ├── DBTEAMLOGFileCopyDetails.h │ │ │ │ ├── DBTEAMLOGFileCopyType.h │ │ │ │ ├── DBTEAMLOGFileDeleteCommentDetails.h │ │ │ │ ├── DBTEAMLOGFileDeleteCommentType.h │ │ │ │ ├── DBTEAMLOGFileDeleteDetails.h │ │ │ │ ├── DBTEAMLOGFileDeleteType.h │ │ │ │ ├── DBTEAMLOGFileDownloadDetails.h │ │ │ │ ├── DBTEAMLOGFileDownloadType.h │ │ │ │ ├── DBTEAMLOGFileEditCommentDetails.h │ │ │ │ ├── DBTEAMLOGFileEditCommentType.h │ │ │ │ ├── DBTEAMLOGFileEditDetails.h │ │ │ │ ├── DBTEAMLOGFileEditType.h │ │ │ │ ├── DBTEAMLOGFileGetCopyReferenceDetails.h │ │ │ │ ├── DBTEAMLOGFileGetCopyReferenceType.h │ │ │ │ ├── DBTEAMLOGFileLikeCommentDetails.h │ │ │ │ ├── DBTEAMLOGFileLikeCommentType.h │ │ │ │ ├── DBTEAMLOGFileLockingLockStatusChangedDetails.h │ │ │ │ ├── DBTEAMLOGFileLockingLockStatusChangedType.h │ │ │ │ ├── DBTEAMLOGFileLockingPolicyChangedDetails.h │ │ │ │ ├── DBTEAMLOGFileLockingPolicyChangedType.h │ │ │ │ ├── DBTEAMLOGFileLogInfo.h │ │ │ │ ├── DBTEAMLOGFileMoveDetails.h │ │ │ │ ├── DBTEAMLOGFileMoveType.h │ │ │ │ ├── DBTEAMLOGFileOrFolderLogInfo.h │ │ │ │ ├── DBTEAMLOGFilePermanentlyDeleteDetails.h │ │ │ │ ├── DBTEAMLOGFilePermanentlyDeleteType.h │ │ │ │ ├── DBTEAMLOGFilePreviewDetails.h │ │ │ │ ├── DBTEAMLOGFilePreviewType.h │ │ │ │ ├── DBTEAMLOGFileProviderMigrationPolicyChangedDetails.h │ │ │ │ ├── DBTEAMLOGFileProviderMigrationPolicyChangedType.h │ │ │ │ ├── DBTEAMLOGFileRenameDetails.h │ │ │ │ ├── DBTEAMLOGFileRenameType.h │ │ │ │ ├── DBTEAMLOGFileRequestChangeDetails.h │ │ │ │ ├── DBTEAMLOGFileRequestChangeType.h │ │ │ │ ├── DBTEAMLOGFileRequestCloseDetails.h │ │ │ │ ├── DBTEAMLOGFileRequestCloseType.h │ │ │ │ ├── DBTEAMLOGFileRequestCreateDetails.h │ │ │ │ ├── DBTEAMLOGFileRequestCreateType.h │ │ │ │ ├── DBTEAMLOGFileRequestDeadline.h │ │ │ │ ├── DBTEAMLOGFileRequestDeleteDetails.h │ │ │ │ ├── DBTEAMLOGFileRequestDeleteType.h │ │ │ │ ├── DBTEAMLOGFileRequestDetails.h │ │ │ │ ├── DBTEAMLOGFileRequestReceiveFileDetails.h │ │ │ │ ├── DBTEAMLOGFileRequestReceiveFileType.h │ │ │ │ ├── DBTEAMLOGFileRequestsChangePolicyDetails.h │ │ │ │ ├── DBTEAMLOGFileRequestsChangePolicyType.h │ │ │ │ ├── DBTEAMLOGFileRequestsEmailsEnabledDetails.h │ │ │ │ ├── DBTEAMLOGFileRequestsEmailsEnabledType.h │ │ │ │ ├── DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyDetails.h │ │ │ │ ├── DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyType.h │ │ │ │ ├── DBTEAMLOGFileRequestsPolicy.h │ │ │ │ ├── DBTEAMLOGFileResolveCommentDetails.h │ │ │ │ ├── DBTEAMLOGFileResolveCommentType.h │ │ │ │ ├── DBTEAMLOGFileRestoreDetails.h │ │ │ │ ├── DBTEAMLOGFileRestoreType.h │ │ │ │ ├── DBTEAMLOGFileRevertDetails.h │ │ │ │ ├── DBTEAMLOGFileRevertType.h │ │ │ │ ├── DBTEAMLOGFileRollbackChangesDetails.h │ │ │ │ ├── DBTEAMLOGFileRollbackChangesType.h │ │ │ │ ├── DBTEAMLOGFileSaveCopyReferenceDetails.h │ │ │ │ ├── DBTEAMLOGFileSaveCopyReferenceType.h │ │ │ │ ├── DBTEAMLOGFileTransfersFileAddDetails.h │ │ │ │ ├── DBTEAMLOGFileTransfersFileAddType.h │ │ │ │ ├── DBTEAMLOGFileTransfersPolicy.h │ │ │ │ ├── DBTEAMLOGFileTransfersPolicyChangedDetails.h │ │ │ │ ├── DBTEAMLOGFileTransfersPolicyChangedType.h │ │ │ │ ├── DBTEAMLOGFileTransfersTransferDeleteDetails.h │ │ │ │ ├── DBTEAMLOGFileTransfersTransferDeleteType.h │ │ │ │ ├── DBTEAMLOGFileTransfersTransferDownloadDetails.h │ │ │ │ ├── DBTEAMLOGFileTransfersTransferDownloadType.h │ │ │ │ ├── DBTEAMLOGFileTransfersTransferSendDetails.h │ │ │ │ ├── DBTEAMLOGFileTransfersTransferSendType.h │ │ │ │ ├── DBTEAMLOGFileTransfersTransferViewDetails.h │ │ │ │ ├── DBTEAMLOGFileTransfersTransferViewType.h │ │ │ │ ├── DBTEAMLOGFileUnlikeCommentDetails.h │ │ │ │ ├── DBTEAMLOGFileUnlikeCommentType.h │ │ │ │ ├── DBTEAMLOGFileUnresolveCommentDetails.h │ │ │ │ ├── DBTEAMLOGFileUnresolveCommentType.h │ │ │ │ ├── DBTEAMLOGFolderLinkRestrictionPolicy.h │ │ │ │ ├── DBTEAMLOGFolderLinkRestrictionPolicyChangedDetails.h │ │ │ │ ├── DBTEAMLOGFolderLinkRestrictionPolicyChangedType.h │ │ │ │ ├── DBTEAMLOGFolderLogInfo.h │ │ │ │ ├── DBTEAMLOGFolderOverviewDescriptionChangedDetails.h │ │ │ │ ├── DBTEAMLOGFolderOverviewDescriptionChangedType.h │ │ │ │ ├── DBTEAMLOGFolderOverviewItemPinnedDetails.h │ │ │ │ ├── DBTEAMLOGFolderOverviewItemPinnedType.h │ │ │ │ ├── DBTEAMLOGFolderOverviewItemUnpinnedDetails.h │ │ │ │ ├── DBTEAMLOGFolderOverviewItemUnpinnedType.h │ │ │ │ ├── DBTEAMLOGGeoLocationLogInfo.h │ │ │ │ ├── DBTEAMLOGGetTeamEventsArg.h │ │ │ │ ├── DBTEAMLOGGetTeamEventsContinueArg.h │ │ │ │ ├── DBTEAMLOGGetTeamEventsContinueError.h │ │ │ │ ├── DBTEAMLOGGetTeamEventsError.h │ │ │ │ ├── DBTEAMLOGGetTeamEventsResult.h │ │ │ │ ├── DBTEAMLOGGoogleSsoChangePolicyDetails.h │ │ │ │ ├── DBTEAMLOGGoogleSsoChangePolicyType.h │ │ │ │ ├── DBTEAMLOGGoogleSsoPolicy.h │ │ │ │ ├── DBTEAMLOGGovernancePolicyAddFolderFailedDetails.h │ │ │ │ ├── DBTEAMLOGGovernancePolicyAddFolderFailedType.h │ │ │ │ ├── DBTEAMLOGGovernancePolicyAddFoldersDetails.h │ │ │ │ ├── DBTEAMLOGGovernancePolicyAddFoldersType.h │ │ │ │ ├── DBTEAMLOGGovernancePolicyContentDisposedDetails.h │ │ │ │ ├── DBTEAMLOGGovernancePolicyContentDisposedType.h │ │ │ │ ├── DBTEAMLOGGovernancePolicyCreateDetails.h │ │ │ │ ├── DBTEAMLOGGovernancePolicyCreateType.h │ │ │ │ ├── DBTEAMLOGGovernancePolicyDeleteDetails.h │ │ │ │ ├── DBTEAMLOGGovernancePolicyDeleteType.h │ │ │ │ ├── DBTEAMLOGGovernancePolicyEditDetailsDetails.h │ │ │ │ ├── DBTEAMLOGGovernancePolicyEditDetailsType.h │ │ │ │ ├── DBTEAMLOGGovernancePolicyEditDurationDetails.h │ │ │ │ ├── DBTEAMLOGGovernancePolicyEditDurationType.h │ │ │ │ ├── DBTEAMLOGGovernancePolicyExportCreatedDetails.h │ │ │ │ ├── DBTEAMLOGGovernancePolicyExportCreatedType.h │ │ │ │ ├── DBTEAMLOGGovernancePolicyExportRemovedDetails.h │ │ │ │ ├── DBTEAMLOGGovernancePolicyExportRemovedType.h │ │ │ │ ├── DBTEAMLOGGovernancePolicyRemoveFoldersDetails.h │ │ │ │ ├── DBTEAMLOGGovernancePolicyRemoveFoldersType.h │ │ │ │ ├── DBTEAMLOGGovernancePolicyReportCreatedDetails.h │ │ │ │ ├── DBTEAMLOGGovernancePolicyReportCreatedType.h │ │ │ │ ├── DBTEAMLOGGovernancePolicyZipPartDownloadedDetails.h │ │ │ │ ├── DBTEAMLOGGovernancePolicyZipPartDownloadedType.h │ │ │ │ ├── DBTEAMLOGGroupAddExternalIdDetails.h │ │ │ │ ├── DBTEAMLOGGroupAddExternalIdType.h │ │ │ │ ├── DBTEAMLOGGroupAddMemberDetails.h │ │ │ │ ├── DBTEAMLOGGroupAddMemberType.h │ │ │ │ ├── DBTEAMLOGGroupChangeExternalIdDetails.h │ │ │ │ ├── DBTEAMLOGGroupChangeExternalIdType.h │ │ │ │ ├── DBTEAMLOGGroupChangeManagementTypeDetails.h │ │ │ │ ├── DBTEAMLOGGroupChangeManagementTypeType.h │ │ │ │ ├── DBTEAMLOGGroupChangeMemberRoleDetails.h │ │ │ │ ├── DBTEAMLOGGroupChangeMemberRoleType.h │ │ │ │ ├── DBTEAMLOGGroupCreateDetails.h │ │ │ │ ├── DBTEAMLOGGroupCreateType.h │ │ │ │ ├── DBTEAMLOGGroupDeleteDetails.h │ │ │ │ ├── DBTEAMLOGGroupDeleteType.h │ │ │ │ ├── DBTEAMLOGGroupDescriptionUpdatedDetails.h │ │ │ │ ├── DBTEAMLOGGroupDescriptionUpdatedType.h │ │ │ │ ├── DBTEAMLOGGroupJoinPolicy.h │ │ │ │ ├── DBTEAMLOGGroupJoinPolicyUpdatedDetails.h │ │ │ │ ├── DBTEAMLOGGroupJoinPolicyUpdatedType.h │ │ │ │ ├── DBTEAMLOGGroupLogInfo.h │ │ │ │ ├── DBTEAMLOGGroupMovedDetails.h │ │ │ │ ├── DBTEAMLOGGroupMovedType.h │ │ │ │ ├── DBTEAMLOGGroupRemoveExternalIdDetails.h │ │ │ │ ├── DBTEAMLOGGroupRemoveExternalIdType.h │ │ │ │ ├── DBTEAMLOGGroupRemoveMemberDetails.h │ │ │ │ ├── DBTEAMLOGGroupRemoveMemberType.h │ │ │ │ ├── DBTEAMLOGGroupRenameDetails.h │ │ │ │ ├── DBTEAMLOGGroupRenameType.h │ │ │ │ ├── DBTEAMLOGGroupUserManagementChangePolicyDetails.h │ │ │ │ ├── DBTEAMLOGGroupUserManagementChangePolicyType.h │ │ │ │ ├── DBTEAMLOGGuestAdminChangeStatusDetails.h │ │ │ │ ├── DBTEAMLOGGuestAdminChangeStatusType.h │ │ │ │ ├── DBTEAMLOGGuestAdminSignedInViaTrustedTeamsDetails.h │ │ │ │ ├── DBTEAMLOGGuestAdminSignedInViaTrustedTeamsType.h │ │ │ │ ├── DBTEAMLOGGuestAdminSignedOutViaTrustedTeamsDetails.h │ │ │ │ ├── DBTEAMLOGGuestAdminSignedOutViaTrustedTeamsType.h │ │ │ │ ├── DBTEAMLOGIdentifierType.h │ │ │ │ ├── DBTEAMLOGIntegrationConnectedDetails.h │ │ │ │ ├── DBTEAMLOGIntegrationConnectedType.h │ │ │ │ ├── DBTEAMLOGIntegrationDisconnectedDetails.h │ │ │ │ ├── DBTEAMLOGIntegrationDisconnectedType.h │ │ │ │ ├── DBTEAMLOGIntegrationPolicy.h │ │ │ │ ├── DBTEAMLOGIntegrationPolicyChangedDetails.h │ │ │ │ ├── DBTEAMLOGIntegrationPolicyChangedType.h │ │ │ │ ├── DBTEAMLOGInviteAcceptanceEmailPolicy.h │ │ │ │ ├── DBTEAMLOGInviteAcceptanceEmailPolicyChangedDetails.h │ │ │ │ ├── DBTEAMLOGInviteAcceptanceEmailPolicyChangedType.h │ │ │ │ ├── DBTEAMLOGInviteMethod.h │ │ │ │ ├── DBTEAMLOGJoinTeamDetails.h │ │ │ │ ├── DBTEAMLOGLabelType.h │ │ │ │ ├── DBTEAMLOGLegacyDeviceSessionLogInfo.h │ │ │ │ ├── DBTEAMLOGLegalHoldsActivateAHoldDetails.h │ │ │ │ ├── DBTEAMLOGLegalHoldsActivateAHoldType.h │ │ │ │ ├── DBTEAMLOGLegalHoldsAddMembersDetails.h │ │ │ │ ├── DBTEAMLOGLegalHoldsAddMembersType.h │ │ │ │ ├── DBTEAMLOGLegalHoldsChangeHoldDetailsDetails.h │ │ │ │ ├── DBTEAMLOGLegalHoldsChangeHoldDetailsType.h │ │ │ │ ├── DBTEAMLOGLegalHoldsChangeHoldNameDetails.h │ │ │ │ ├── DBTEAMLOGLegalHoldsChangeHoldNameType.h │ │ │ │ ├── DBTEAMLOGLegalHoldsExportAHoldDetails.h │ │ │ │ ├── DBTEAMLOGLegalHoldsExportAHoldType.h │ │ │ │ ├── DBTEAMLOGLegalHoldsExportCancelledDetails.h │ │ │ │ ├── DBTEAMLOGLegalHoldsExportCancelledType.h │ │ │ │ ├── DBTEAMLOGLegalHoldsExportDownloadedDetails.h │ │ │ │ ├── DBTEAMLOGLegalHoldsExportDownloadedType.h │ │ │ │ ├── DBTEAMLOGLegalHoldsExportRemovedDetails.h │ │ │ │ ├── DBTEAMLOGLegalHoldsExportRemovedType.h │ │ │ │ ├── DBTEAMLOGLegalHoldsReleaseAHoldDetails.h │ │ │ │ ├── DBTEAMLOGLegalHoldsReleaseAHoldType.h │ │ │ │ ├── DBTEAMLOGLegalHoldsRemoveMembersDetails.h │ │ │ │ ├── DBTEAMLOGLegalHoldsRemoveMembersType.h │ │ │ │ ├── DBTEAMLOGLegalHoldsReportAHoldDetails.h │ │ │ │ ├── DBTEAMLOGLegalHoldsReportAHoldType.h │ │ │ │ ├── DBTEAMLOGLinkedDeviceLogInfo.h │ │ │ │ ├── DBTEAMLOGLockStatus.h │ │ │ │ ├── DBTEAMLOGLoginFailDetails.h │ │ │ │ ├── DBTEAMLOGLoginFailType.h │ │ │ │ ├── DBTEAMLOGLoginMethod.h │ │ │ │ ├── DBTEAMLOGLoginSuccessDetails.h │ │ │ │ ├── DBTEAMLOGLoginSuccessType.h │ │ │ │ ├── DBTEAMLOGLogoutDetails.h │ │ │ │ ├── DBTEAMLOGLogoutType.h │ │ │ │ ├── DBTEAMLOGMemberAddExternalIdDetails.h │ │ │ │ ├── DBTEAMLOGMemberAddExternalIdType.h │ │ │ │ ├── DBTEAMLOGMemberAddNameDetails.h │ │ │ │ ├── DBTEAMLOGMemberAddNameType.h │ │ │ │ ├── DBTEAMLOGMemberChangeAdminRoleDetails.h │ │ │ │ ├── DBTEAMLOGMemberChangeAdminRoleType.h │ │ │ │ ├── DBTEAMLOGMemberChangeEmailDetails.h │ │ │ │ ├── DBTEAMLOGMemberChangeEmailType.h │ │ │ │ ├── DBTEAMLOGMemberChangeExternalIdDetails.h │ │ │ │ ├── DBTEAMLOGMemberChangeExternalIdType.h │ │ │ │ ├── DBTEAMLOGMemberChangeMembershipTypeDetails.h │ │ │ │ ├── DBTEAMLOGMemberChangeMembershipTypeType.h │ │ │ │ ├── DBTEAMLOGMemberChangeNameDetails.h │ │ │ │ ├── DBTEAMLOGMemberChangeNameType.h │ │ │ │ ├── DBTEAMLOGMemberChangeResellerRoleDetails.h │ │ │ │ ├── DBTEAMLOGMemberChangeResellerRoleType.h │ │ │ │ ├── DBTEAMLOGMemberChangeStatusDetails.h │ │ │ │ ├── DBTEAMLOGMemberChangeStatusType.h │ │ │ │ ├── DBTEAMLOGMemberDeleteManualContactsDetails.h │ │ │ │ ├── DBTEAMLOGMemberDeleteManualContactsType.h │ │ │ │ ├── DBTEAMLOGMemberDeleteProfilePhotoDetails.h │ │ │ │ ├── DBTEAMLOGMemberDeleteProfilePhotoType.h │ │ │ │ ├── DBTEAMLOGMemberPermanentlyDeleteAccountContentsDetails.h │ │ │ │ ├── DBTEAMLOGMemberPermanentlyDeleteAccountContentsType.h │ │ │ │ ├── DBTEAMLOGMemberRemoveActionType.h │ │ │ │ ├── DBTEAMLOGMemberRemoveExternalIdDetails.h │ │ │ │ ├── DBTEAMLOGMemberRemoveExternalIdType.h │ │ │ │ ├── DBTEAMLOGMemberRequestsChangePolicyDetails.h │ │ │ │ ├── DBTEAMLOGMemberRequestsChangePolicyType.h │ │ │ │ ├── DBTEAMLOGMemberRequestsPolicy.h │ │ │ │ ├── DBTEAMLOGMemberSendInvitePolicy.h │ │ │ │ ├── DBTEAMLOGMemberSendInvitePolicyChangedDetails.h │ │ │ │ ├── DBTEAMLOGMemberSendInvitePolicyChangedType.h │ │ │ │ ├── DBTEAMLOGMemberSetProfilePhotoDetails.h │ │ │ │ ├── DBTEAMLOGMemberSetProfilePhotoType.h │ │ │ │ ├── DBTEAMLOGMemberSpaceLimitsAddCustomQuotaDetails.h │ │ │ │ ├── DBTEAMLOGMemberSpaceLimitsAddCustomQuotaType.h │ │ │ │ ├── DBTEAMLOGMemberSpaceLimitsAddExceptionDetails.h │ │ │ │ ├── DBTEAMLOGMemberSpaceLimitsAddExceptionType.h │ │ │ │ ├── DBTEAMLOGMemberSpaceLimitsChangeCapsTypePolicyDetails.h │ │ │ │ ├── DBTEAMLOGMemberSpaceLimitsChangeCapsTypePolicyType.h │ │ │ │ ├── DBTEAMLOGMemberSpaceLimitsChangeCustomQuotaDetails.h │ │ │ │ ├── DBTEAMLOGMemberSpaceLimitsChangeCustomQuotaType.h │ │ │ │ ├── DBTEAMLOGMemberSpaceLimitsChangePolicyDetails.h │ │ │ │ ├── DBTEAMLOGMemberSpaceLimitsChangePolicyType.h │ │ │ │ ├── DBTEAMLOGMemberSpaceLimitsChangeStatusDetails.h │ │ │ │ ├── DBTEAMLOGMemberSpaceLimitsChangeStatusType.h │ │ │ │ ├── DBTEAMLOGMemberSpaceLimitsRemoveCustomQuotaDetails.h │ │ │ │ ├── DBTEAMLOGMemberSpaceLimitsRemoveCustomQuotaType.h │ │ │ │ ├── DBTEAMLOGMemberSpaceLimitsRemoveExceptionDetails.h │ │ │ │ ├── DBTEAMLOGMemberSpaceLimitsRemoveExceptionType.h │ │ │ │ ├── DBTEAMLOGMemberStatus.h │ │ │ │ ├── DBTEAMLOGMemberSuggestDetails.h │ │ │ │ ├── DBTEAMLOGMemberSuggestType.h │ │ │ │ ├── DBTEAMLOGMemberSuggestionsChangePolicyDetails.h │ │ │ │ ├── DBTEAMLOGMemberSuggestionsChangePolicyType.h │ │ │ │ ├── DBTEAMLOGMemberSuggestionsPolicy.h │ │ │ │ ├── DBTEAMLOGMemberTransferAccountContentsDetails.h │ │ │ │ ├── DBTEAMLOGMemberTransferAccountContentsType.h │ │ │ │ ├── DBTEAMLOGMemberTransferredInternalFields.h │ │ │ │ ├── DBTEAMLOGMicrosoftOfficeAddinChangePolicyDetails.h │ │ │ │ ├── DBTEAMLOGMicrosoftOfficeAddinChangePolicyType.h │ │ │ │ ├── DBTEAMLOGMicrosoftOfficeAddinPolicy.h │ │ │ │ ├── DBTEAMLOGMissingDetails.h │ │ │ │ ├── DBTEAMLOGMobileDeviceSessionLogInfo.h │ │ │ │ ├── DBTEAMLOGMobileSessionLogInfo.h │ │ │ │ ├── DBTEAMLOGNamespaceRelativePathLogInfo.h │ │ │ │ ├── DBTEAMLOGNetworkControlChangePolicyDetails.h │ │ │ │ ├── DBTEAMLOGNetworkControlChangePolicyType.h │ │ │ │ ├── DBTEAMLOGNetworkControlPolicy.h │ │ │ │ ├── DBTEAMLOGNoExpirationLinkGenCreateReportDetails.h │ │ │ │ ├── DBTEAMLOGNoExpirationLinkGenCreateReportType.h │ │ │ │ ├── DBTEAMLOGNoExpirationLinkGenReportFailedDetails.h │ │ │ │ ├── DBTEAMLOGNoExpirationLinkGenReportFailedType.h │ │ │ │ ├── DBTEAMLOGNoPasswordLinkGenCreateReportDetails.h │ │ │ │ ├── DBTEAMLOGNoPasswordLinkGenCreateReportType.h │ │ │ │ ├── DBTEAMLOGNoPasswordLinkGenReportFailedDetails.h │ │ │ │ ├── DBTEAMLOGNoPasswordLinkGenReportFailedType.h │ │ │ │ ├── DBTEAMLOGNoPasswordLinkViewCreateReportDetails.h │ │ │ │ ├── DBTEAMLOGNoPasswordLinkViewCreateReportType.h │ │ │ │ ├── DBTEAMLOGNoPasswordLinkViewReportFailedDetails.h │ │ │ │ ├── DBTEAMLOGNoPasswordLinkViewReportFailedType.h │ │ │ │ ├── DBTEAMLOGNonTeamMemberLogInfo.h │ │ │ │ ├── DBTEAMLOGNonTrustedTeamDetails.h │ │ │ │ ├── DBTEAMLOGNoteAclInviteOnlyDetails.h │ │ │ │ ├── DBTEAMLOGNoteAclInviteOnlyType.h │ │ │ │ ├── DBTEAMLOGNoteAclLinkDetails.h │ │ │ │ ├── DBTEAMLOGNoteAclLinkType.h │ │ │ │ ├── DBTEAMLOGNoteAclTeamLinkDetails.h │ │ │ │ ├── DBTEAMLOGNoteAclTeamLinkType.h │ │ │ │ ├── DBTEAMLOGNoteShareReceiveDetails.h │ │ │ │ ├── DBTEAMLOGNoteShareReceiveType.h │ │ │ │ ├── DBTEAMLOGNoteSharedDetails.h │ │ │ │ ├── DBTEAMLOGNoteSharedType.h │ │ │ │ ├── DBTEAMLOGObjectLabelAddedDetails.h │ │ │ │ ├── DBTEAMLOGObjectLabelAddedType.h │ │ │ │ ├── DBTEAMLOGObjectLabelRemovedDetails.h │ │ │ │ ├── DBTEAMLOGObjectLabelRemovedType.h │ │ │ │ ├── DBTEAMLOGObjectLabelUpdatedValueDetails.h │ │ │ │ ├── DBTEAMLOGObjectLabelUpdatedValueType.h │ │ │ │ ├── DBTEAMLOGOpenNoteSharedDetails.h │ │ │ │ ├── DBTEAMLOGOpenNoteSharedType.h │ │ │ │ ├── DBTEAMLOGOrganizationDetails.h │ │ │ │ ├── DBTEAMLOGOrganizationName.h │ │ │ │ ├── DBTEAMLOGOrganizeFolderWithTidyDetails.h │ │ │ │ ├── DBTEAMLOGOrganizeFolderWithTidyType.h │ │ │ │ ├── DBTEAMLOGOriginLogInfo.h │ │ │ │ ├── DBTEAMLOGOutdatedLinkViewCreateReportDetails.h │ │ │ │ ├── DBTEAMLOGOutdatedLinkViewCreateReportType.h │ │ │ │ ├── DBTEAMLOGOutdatedLinkViewReportFailedDetails.h │ │ │ │ ├── DBTEAMLOGOutdatedLinkViewReportFailedType.h │ │ │ │ ├── DBTEAMLOGPaperAccessType.h │ │ │ │ ├── DBTEAMLOGPaperAdminExportStartDetails.h │ │ │ │ ├── DBTEAMLOGPaperAdminExportStartType.h │ │ │ │ ├── DBTEAMLOGPaperChangeDeploymentPolicyDetails.h │ │ │ │ ├── DBTEAMLOGPaperChangeDeploymentPolicyType.h │ │ │ │ ├── DBTEAMLOGPaperChangeMemberLinkPolicyDetails.h │ │ │ │ ├── DBTEAMLOGPaperChangeMemberLinkPolicyType.h │ │ │ │ ├── DBTEAMLOGPaperChangeMemberPolicyDetails.h │ │ │ │ ├── DBTEAMLOGPaperChangeMemberPolicyType.h │ │ │ │ ├── DBTEAMLOGPaperChangePolicyDetails.h │ │ │ │ ├── DBTEAMLOGPaperChangePolicyType.h │ │ │ │ ├── DBTEAMLOGPaperContentAddMemberDetails.h │ │ │ │ ├── DBTEAMLOGPaperContentAddMemberType.h │ │ │ │ ├── DBTEAMLOGPaperContentAddToFolderDetails.h │ │ │ │ ├── DBTEAMLOGPaperContentAddToFolderType.h │ │ │ │ ├── DBTEAMLOGPaperContentArchiveDetails.h │ │ │ │ ├── DBTEAMLOGPaperContentArchiveType.h │ │ │ │ ├── DBTEAMLOGPaperContentCreateDetails.h │ │ │ │ ├── DBTEAMLOGPaperContentCreateType.h │ │ │ │ ├── DBTEAMLOGPaperContentPermanentlyDeleteDetails.h │ │ │ │ ├── DBTEAMLOGPaperContentPermanentlyDeleteType.h │ │ │ │ ├── DBTEAMLOGPaperContentRemoveFromFolderDetails.h │ │ │ │ ├── DBTEAMLOGPaperContentRemoveFromFolderType.h │ │ │ │ ├── DBTEAMLOGPaperContentRemoveMemberDetails.h │ │ │ │ ├── DBTEAMLOGPaperContentRemoveMemberType.h │ │ │ │ ├── DBTEAMLOGPaperContentRenameDetails.h │ │ │ │ ├── DBTEAMLOGPaperContentRenameType.h │ │ │ │ ├── DBTEAMLOGPaperContentRestoreDetails.h │ │ │ │ ├── DBTEAMLOGPaperContentRestoreType.h │ │ │ │ ├── DBTEAMLOGPaperDefaultFolderPolicy.h │ │ │ │ ├── DBTEAMLOGPaperDefaultFolderPolicyChangedDetails.h │ │ │ │ ├── DBTEAMLOGPaperDefaultFolderPolicyChangedType.h │ │ │ │ ├── DBTEAMLOGPaperDesktopPolicy.h │ │ │ │ ├── DBTEAMLOGPaperDesktopPolicyChangedDetails.h │ │ │ │ ├── DBTEAMLOGPaperDesktopPolicyChangedType.h │ │ │ │ ├── DBTEAMLOGPaperDocAddCommentDetails.h │ │ │ │ ├── DBTEAMLOGPaperDocAddCommentType.h │ │ │ │ ├── DBTEAMLOGPaperDocChangeMemberRoleDetails.h │ │ │ │ ├── DBTEAMLOGPaperDocChangeMemberRoleType.h │ │ │ │ ├── DBTEAMLOGPaperDocChangeSharingPolicyDetails.h │ │ │ │ ├── DBTEAMLOGPaperDocChangeSharingPolicyType.h │ │ │ │ ├── DBTEAMLOGPaperDocChangeSubscriptionDetails.h │ │ │ │ ├── DBTEAMLOGPaperDocChangeSubscriptionType.h │ │ │ │ ├── DBTEAMLOGPaperDocDeleteCommentDetails.h │ │ │ │ ├── DBTEAMLOGPaperDocDeleteCommentType.h │ │ │ │ ├── DBTEAMLOGPaperDocDeletedDetails.h │ │ │ │ ├── DBTEAMLOGPaperDocDeletedType.h │ │ │ │ ├── DBTEAMLOGPaperDocDownloadDetails.h │ │ │ │ ├── DBTEAMLOGPaperDocDownloadType.h │ │ │ │ ├── DBTEAMLOGPaperDocEditCommentDetails.h │ │ │ │ ├── DBTEAMLOGPaperDocEditCommentType.h │ │ │ │ ├── DBTEAMLOGPaperDocEditDetails.h │ │ │ │ ├── DBTEAMLOGPaperDocEditType.h │ │ │ │ ├── DBTEAMLOGPaperDocFollowedDetails.h │ │ │ │ ├── DBTEAMLOGPaperDocFollowedType.h │ │ │ │ ├── DBTEAMLOGPaperDocMentionDetails.h │ │ │ │ ├── DBTEAMLOGPaperDocMentionType.h │ │ │ │ ├── DBTEAMLOGPaperDocOwnershipChangedDetails.h │ │ │ │ ├── DBTEAMLOGPaperDocOwnershipChangedType.h │ │ │ │ ├── DBTEAMLOGPaperDocRequestAccessDetails.h │ │ │ │ ├── DBTEAMLOGPaperDocRequestAccessType.h │ │ │ │ ├── DBTEAMLOGPaperDocResolveCommentDetails.h │ │ │ │ ├── DBTEAMLOGPaperDocResolveCommentType.h │ │ │ │ ├── DBTEAMLOGPaperDocRevertDetails.h │ │ │ │ ├── DBTEAMLOGPaperDocRevertType.h │ │ │ │ ├── DBTEAMLOGPaperDocSlackShareDetails.h │ │ │ │ ├── DBTEAMLOGPaperDocSlackShareType.h │ │ │ │ ├── DBTEAMLOGPaperDocTeamInviteDetails.h │ │ │ │ ├── DBTEAMLOGPaperDocTeamInviteType.h │ │ │ │ ├── DBTEAMLOGPaperDocTrashedDetails.h │ │ │ │ ├── DBTEAMLOGPaperDocTrashedType.h │ │ │ │ ├── DBTEAMLOGPaperDocUnresolveCommentDetails.h │ │ │ │ ├── DBTEAMLOGPaperDocUnresolveCommentType.h │ │ │ │ ├── DBTEAMLOGPaperDocUntrashedDetails.h │ │ │ │ ├── DBTEAMLOGPaperDocUntrashedType.h │ │ │ │ ├── DBTEAMLOGPaperDocViewDetails.h │ │ │ │ ├── DBTEAMLOGPaperDocViewType.h │ │ │ │ ├── DBTEAMLOGPaperDocumentLogInfo.h │ │ │ │ ├── DBTEAMLOGPaperDownloadFormat.h │ │ │ │ ├── DBTEAMLOGPaperEnabledUsersGroupAdditionDetails.h │ │ │ │ ├── DBTEAMLOGPaperEnabledUsersGroupAdditionType.h │ │ │ │ ├── DBTEAMLOGPaperEnabledUsersGroupRemovalDetails.h │ │ │ │ ├── DBTEAMLOGPaperEnabledUsersGroupRemovalType.h │ │ │ │ ├── DBTEAMLOGPaperExternalViewAllowDetails.h │ │ │ │ ├── DBTEAMLOGPaperExternalViewAllowType.h │ │ │ │ ├── DBTEAMLOGPaperExternalViewDefaultTeamDetails.h │ │ │ │ ├── DBTEAMLOGPaperExternalViewDefaultTeamType.h │ │ │ │ ├── DBTEAMLOGPaperExternalViewForbidDetails.h │ │ │ │ ├── DBTEAMLOGPaperExternalViewForbidType.h │ │ │ │ ├── DBTEAMLOGPaperFolderChangeSubscriptionDetails.h │ │ │ │ ├── DBTEAMLOGPaperFolderChangeSubscriptionType.h │ │ │ │ ├── DBTEAMLOGPaperFolderDeletedDetails.h │ │ │ │ ├── DBTEAMLOGPaperFolderDeletedType.h │ │ │ │ ├── DBTEAMLOGPaperFolderFollowedDetails.h │ │ │ │ ├── DBTEAMLOGPaperFolderFollowedType.h │ │ │ │ ├── DBTEAMLOGPaperFolderLogInfo.h │ │ │ │ ├── DBTEAMLOGPaperFolderTeamInviteDetails.h │ │ │ │ ├── DBTEAMLOGPaperFolderTeamInviteType.h │ │ │ │ ├── DBTEAMLOGPaperMemberPolicy.h │ │ │ │ ├── DBTEAMLOGPaperPublishedLinkChangePermissionDetails.h │ │ │ │ ├── DBTEAMLOGPaperPublishedLinkChangePermissionType.h │ │ │ │ ├── DBTEAMLOGPaperPublishedLinkCreateDetails.h │ │ │ │ ├── DBTEAMLOGPaperPublishedLinkCreateType.h │ │ │ │ ├── DBTEAMLOGPaperPublishedLinkDisabledDetails.h │ │ │ │ ├── DBTEAMLOGPaperPublishedLinkDisabledType.h │ │ │ │ ├── DBTEAMLOGPaperPublishedLinkViewDetails.h │ │ │ │ ├── DBTEAMLOGPaperPublishedLinkViewType.h │ │ │ │ ├── DBTEAMLOGParticipantLogInfo.h │ │ │ │ ├── DBTEAMLOGPassPolicy.h │ │ │ │ ├── DBTEAMLOGPasswordChangeDetails.h │ │ │ │ ├── DBTEAMLOGPasswordChangeType.h │ │ │ │ ├── DBTEAMLOGPasswordResetAllDetails.h │ │ │ │ ├── DBTEAMLOGPasswordResetAllType.h │ │ │ │ ├── DBTEAMLOGPasswordResetDetails.h │ │ │ │ ├── DBTEAMLOGPasswordResetType.h │ │ │ │ ├── DBTEAMLOGPasswordStrengthRequirementsChangePolicyDetails.h │ │ │ │ ├── DBTEAMLOGPasswordStrengthRequirementsChangePolicyType.h │ │ │ │ ├── DBTEAMLOGPathLogInfo.h │ │ │ │ ├── DBTEAMLOGPendingSecondaryEmailAddedDetails.h │ │ │ │ ├── DBTEAMLOGPendingSecondaryEmailAddedType.h │ │ │ │ ├── DBTEAMLOGPermanentDeleteChangePolicyDetails.h │ │ │ │ ├── DBTEAMLOGPermanentDeleteChangePolicyType.h │ │ │ │ ├── DBTEAMLOGPlacementRestriction.h │ │ │ │ ├── DBTEAMLOGPolicyType.h │ │ │ │ ├── DBTEAMLOGPrimaryTeamRequestAcceptedDetails.h │ │ │ │ ├── DBTEAMLOGPrimaryTeamRequestCanceledDetails.h │ │ │ │ ├── DBTEAMLOGPrimaryTeamRequestExpiredDetails.h │ │ │ │ ├── DBTEAMLOGPrimaryTeamRequestReminderDetails.h │ │ │ │ ├── DBTEAMLOGQuickActionType.h │ │ │ │ ├── DBTEAMLOGRansomwareAlertCreateReportDetails.h │ │ │ │ ├── DBTEAMLOGRansomwareAlertCreateReportFailedDetails.h │ │ │ │ ├── DBTEAMLOGRansomwareAlertCreateReportFailedType.h │ │ │ │ ├── DBTEAMLOGRansomwareAlertCreateReportType.h │ │ │ │ ├── DBTEAMLOGRansomwareRestoreProcessCompletedDetails.h │ │ │ │ ├── DBTEAMLOGRansomwareRestoreProcessCompletedType.h │ │ │ │ ├── DBTEAMLOGRansomwareRestoreProcessStartedDetails.h │ │ │ │ ├── DBTEAMLOGRansomwareRestoreProcessStartedType.h │ │ │ │ ├── DBTEAMLOGRecipientsConfiguration.h │ │ │ │ ├── DBTEAMLOGRelocateAssetReferencesLogInfo.h │ │ │ │ ├── DBTEAMLOGReplayFileDeleteDetails.h │ │ │ │ ├── DBTEAMLOGReplayFileDeleteType.h │ │ │ │ ├── DBTEAMLOGReplayFileSharedLinkCreatedDetails.h │ │ │ │ ├── DBTEAMLOGReplayFileSharedLinkCreatedType.h │ │ │ │ ├── DBTEAMLOGReplayFileSharedLinkModifiedDetails.h │ │ │ │ ├── DBTEAMLOGReplayFileSharedLinkModifiedType.h │ │ │ │ ├── DBTEAMLOGReplayProjectTeamAddDetails.h │ │ │ │ ├── DBTEAMLOGReplayProjectTeamAddType.h │ │ │ │ ├── DBTEAMLOGReplayProjectTeamDeleteDetails.h │ │ │ │ ├── DBTEAMLOGReplayProjectTeamDeleteType.h │ │ │ │ ├── DBTEAMLOGResellerLogInfo.h │ │ │ │ ├── DBTEAMLOGResellerRole.h │ │ │ │ ├── DBTEAMLOGResellerSupportChangePolicyDetails.h │ │ │ │ ├── DBTEAMLOGResellerSupportChangePolicyType.h │ │ │ │ ├── DBTEAMLOGResellerSupportPolicy.h │ │ │ │ ├── DBTEAMLOGResellerSupportSessionEndDetails.h │ │ │ │ ├── DBTEAMLOGResellerSupportSessionEndType.h │ │ │ │ ├── DBTEAMLOGResellerSupportSessionStartDetails.h │ │ │ │ ├── DBTEAMLOGResellerSupportSessionStartType.h │ │ │ │ ├── DBTEAMLOGRewindFolderDetails.h │ │ │ │ ├── DBTEAMLOGRewindFolderType.h │ │ │ │ ├── DBTEAMLOGRewindPolicy.h │ │ │ │ ├── DBTEAMLOGRewindPolicyChangedDetails.h │ │ │ │ ├── DBTEAMLOGRewindPolicyChangedType.h │ │ │ │ ├── DBTEAMLOGSecondaryEmailDeletedDetails.h │ │ │ │ ├── DBTEAMLOGSecondaryEmailDeletedType.h │ │ │ │ ├── DBTEAMLOGSecondaryEmailVerifiedDetails.h │ │ │ │ ├── DBTEAMLOGSecondaryEmailVerifiedType.h │ │ │ │ ├── DBTEAMLOGSecondaryMailsPolicy.h │ │ │ │ ├── DBTEAMLOGSecondaryMailsPolicyChangedDetails.h │ │ │ │ ├── DBTEAMLOGSecondaryMailsPolicyChangedType.h │ │ │ │ ├── DBTEAMLOGSecondaryTeamRequestAcceptedDetails.h │ │ │ │ ├── DBTEAMLOGSecondaryTeamRequestCanceledDetails.h │ │ │ │ ├── DBTEAMLOGSecondaryTeamRequestExpiredDetails.h │ │ │ │ ├── DBTEAMLOGSecondaryTeamRequestReminderDetails.h │ │ │ │ ├── DBTEAMLOGSendForSignaturePolicy.h │ │ │ │ ├── DBTEAMLOGSendForSignaturePolicyChangedDetails.h │ │ │ │ ├── DBTEAMLOGSendForSignaturePolicyChangedType.h │ │ │ │ ├── DBTEAMLOGSessionLogInfo.h │ │ │ │ ├── DBTEAMLOGSfAddGroupDetails.h │ │ │ │ ├── DBTEAMLOGSfAddGroupType.h │ │ │ │ ├── DBTEAMLOGSfAllowNonMembersToViewSharedLinksDetails.h │ │ │ │ ├── DBTEAMLOGSfAllowNonMembersToViewSharedLinksType.h │ │ │ │ ├── DBTEAMLOGSfExternalInviteWarnDetails.h │ │ │ │ ├── DBTEAMLOGSfExternalInviteWarnType.h │ │ │ │ ├── DBTEAMLOGSfFbInviteChangeRoleDetails.h │ │ │ │ ├── DBTEAMLOGSfFbInviteChangeRoleType.h │ │ │ │ ├── DBTEAMLOGSfFbInviteDetails.h │ │ │ │ ├── DBTEAMLOGSfFbInviteType.h │ │ │ │ ├── DBTEAMLOGSfFbUninviteDetails.h │ │ │ │ ├── DBTEAMLOGSfFbUninviteType.h │ │ │ │ ├── DBTEAMLOGSfInviteGroupDetails.h │ │ │ │ ├── DBTEAMLOGSfInviteGroupType.h │ │ │ │ ├── DBTEAMLOGSfTeamGrantAccessDetails.h │ │ │ │ ├── DBTEAMLOGSfTeamGrantAccessType.h │ │ │ │ ├── DBTEAMLOGSfTeamInviteChangeRoleDetails.h │ │ │ │ ├── DBTEAMLOGSfTeamInviteChangeRoleType.h │ │ │ │ ├── DBTEAMLOGSfTeamInviteDetails.h │ │ │ │ ├── DBTEAMLOGSfTeamInviteType.h │ │ │ │ ├── DBTEAMLOGSfTeamJoinDetails.h │ │ │ │ ├── DBTEAMLOGSfTeamJoinFromOobLinkDetails.h │ │ │ │ ├── DBTEAMLOGSfTeamJoinFromOobLinkType.h │ │ │ │ ├── DBTEAMLOGSfTeamJoinType.h │ │ │ │ ├── DBTEAMLOGSfTeamUninviteDetails.h │ │ │ │ ├── DBTEAMLOGSfTeamUninviteType.h │ │ │ │ ├── DBTEAMLOGSharedContentAddInviteesDetails.h │ │ │ │ ├── DBTEAMLOGSharedContentAddInviteesType.h │ │ │ │ ├── DBTEAMLOGSharedContentAddLinkExpiryDetails.h │ │ │ │ ├── DBTEAMLOGSharedContentAddLinkExpiryType.h │ │ │ │ ├── DBTEAMLOGSharedContentAddLinkPasswordDetails.h │ │ │ │ ├── DBTEAMLOGSharedContentAddLinkPasswordType.h │ │ │ │ ├── DBTEAMLOGSharedContentAddMemberDetails.h │ │ │ │ ├── DBTEAMLOGSharedContentAddMemberType.h │ │ │ │ ├── DBTEAMLOGSharedContentChangeDownloadsPolicyDetails.h │ │ │ │ ├── DBTEAMLOGSharedContentChangeDownloadsPolicyType.h │ │ │ │ ├── DBTEAMLOGSharedContentChangeInviteeRoleDetails.h │ │ │ │ ├── DBTEAMLOGSharedContentChangeInviteeRoleType.h │ │ │ │ ├── DBTEAMLOGSharedContentChangeLinkAudienceDetails.h │ │ │ │ ├── DBTEAMLOGSharedContentChangeLinkAudienceType.h │ │ │ │ ├── DBTEAMLOGSharedContentChangeLinkExpiryDetails.h │ │ │ │ ├── DBTEAMLOGSharedContentChangeLinkExpiryType.h │ │ │ │ ├── DBTEAMLOGSharedContentChangeLinkPasswordDetails.h │ │ │ │ ├── DBTEAMLOGSharedContentChangeLinkPasswordType.h │ │ │ │ ├── DBTEAMLOGSharedContentChangeMemberRoleDetails.h │ │ │ │ ├── DBTEAMLOGSharedContentChangeMemberRoleType.h │ │ │ │ ├── DBTEAMLOGSharedContentChangeViewerInfoPolicyDetails.h │ │ │ │ ├── DBTEAMLOGSharedContentChangeViewerInfoPolicyType.h │ │ │ │ ├── DBTEAMLOGSharedContentClaimInvitationDetails.h │ │ │ │ ├── DBTEAMLOGSharedContentClaimInvitationType.h │ │ │ │ ├── DBTEAMLOGSharedContentCopyDetails.h │ │ │ │ ├── DBTEAMLOGSharedContentCopyType.h │ │ │ │ ├── DBTEAMLOGSharedContentDownloadDetails.h │ │ │ │ ├── DBTEAMLOGSharedContentDownloadType.h │ │ │ │ ├── DBTEAMLOGSharedContentRelinquishMembershipDetails.h │ │ │ │ ├── DBTEAMLOGSharedContentRelinquishMembershipType.h │ │ │ │ ├── DBTEAMLOGSharedContentRemoveInviteesDetails.h │ │ │ │ ├── DBTEAMLOGSharedContentRemoveInviteesType.h │ │ │ │ ├── DBTEAMLOGSharedContentRemoveLinkExpiryDetails.h │ │ │ │ ├── DBTEAMLOGSharedContentRemoveLinkExpiryType.h │ │ │ │ ├── DBTEAMLOGSharedContentRemoveLinkPasswordDetails.h │ │ │ │ ├── DBTEAMLOGSharedContentRemoveLinkPasswordType.h │ │ │ │ ├── DBTEAMLOGSharedContentRemoveMemberDetails.h │ │ │ │ ├── DBTEAMLOGSharedContentRemoveMemberType.h │ │ │ │ ├── DBTEAMLOGSharedContentRequestAccessDetails.h │ │ │ │ ├── DBTEAMLOGSharedContentRequestAccessType.h │ │ │ │ ├── DBTEAMLOGSharedContentRestoreInviteesDetails.h │ │ │ │ ├── DBTEAMLOGSharedContentRestoreInviteesType.h │ │ │ │ ├── DBTEAMLOGSharedContentRestoreMemberDetails.h │ │ │ │ ├── DBTEAMLOGSharedContentRestoreMemberType.h │ │ │ │ ├── DBTEAMLOGSharedContentUnshareDetails.h │ │ │ │ ├── DBTEAMLOGSharedContentUnshareType.h │ │ │ │ ├── DBTEAMLOGSharedContentViewDetails.h │ │ │ │ ├── DBTEAMLOGSharedContentViewType.h │ │ │ │ ├── DBTEAMLOGSharedFolderChangeLinkPolicyDetails.h │ │ │ │ ├── DBTEAMLOGSharedFolderChangeLinkPolicyType.h │ │ │ │ ├── DBTEAMLOGSharedFolderChangeMembersInheritancePolicyDetails.h │ │ │ │ ├── DBTEAMLOGSharedFolderChangeMembersInheritancePolicyType.h │ │ │ │ ├── DBTEAMLOGSharedFolderChangeMembersManagementPolicyDetails.h │ │ │ │ ├── DBTEAMLOGSharedFolderChangeMembersManagementPolicyType.h │ │ │ │ ├── DBTEAMLOGSharedFolderChangeMembersPolicyDetails.h │ │ │ │ ├── DBTEAMLOGSharedFolderChangeMembersPolicyType.h │ │ │ │ ├── DBTEAMLOGSharedFolderCreateDetails.h │ │ │ │ ├── DBTEAMLOGSharedFolderCreateType.h │ │ │ │ ├── DBTEAMLOGSharedFolderDeclineInvitationDetails.h │ │ │ │ ├── DBTEAMLOGSharedFolderDeclineInvitationType.h │ │ │ │ ├── DBTEAMLOGSharedFolderMembersInheritancePolicy.h │ │ │ │ ├── DBTEAMLOGSharedFolderMountDetails.h │ │ │ │ ├── DBTEAMLOGSharedFolderMountType.h │ │ │ │ ├── DBTEAMLOGSharedFolderNestDetails.h │ │ │ │ ├── DBTEAMLOGSharedFolderNestType.h │ │ │ │ ├── DBTEAMLOGSharedFolderTransferOwnershipDetails.h │ │ │ │ ├── DBTEAMLOGSharedFolderTransferOwnershipType.h │ │ │ │ ├── DBTEAMLOGSharedFolderUnmountDetails.h │ │ │ │ ├── DBTEAMLOGSharedFolderUnmountType.h │ │ │ │ ├── DBTEAMLOGSharedLinkAccessLevel.h │ │ │ │ ├── DBTEAMLOGSharedLinkAddExpiryDetails.h │ │ │ │ ├── DBTEAMLOGSharedLinkAddExpiryType.h │ │ │ │ ├── DBTEAMLOGSharedLinkChangeExpiryDetails.h │ │ │ │ ├── DBTEAMLOGSharedLinkChangeExpiryType.h │ │ │ │ ├── DBTEAMLOGSharedLinkChangeVisibilityDetails.h │ │ │ │ ├── DBTEAMLOGSharedLinkChangeVisibilityType.h │ │ │ │ ├── DBTEAMLOGSharedLinkCopyDetails.h │ │ │ │ ├── DBTEAMLOGSharedLinkCopyType.h │ │ │ │ ├── DBTEAMLOGSharedLinkCreateDetails.h │ │ │ │ ├── DBTEAMLOGSharedLinkCreateType.h │ │ │ │ ├── DBTEAMLOGSharedLinkDisableDetails.h │ │ │ │ ├── DBTEAMLOGSharedLinkDisableType.h │ │ │ │ ├── DBTEAMLOGSharedLinkDownloadDetails.h │ │ │ │ ├── DBTEAMLOGSharedLinkDownloadType.h │ │ │ │ ├── DBTEAMLOGSharedLinkRemoveExpiryDetails.h │ │ │ │ ├── DBTEAMLOGSharedLinkRemoveExpiryType.h │ │ │ │ ├── DBTEAMLOGSharedLinkSettingsAddExpirationDetails.h │ │ │ │ ├── DBTEAMLOGSharedLinkSettingsAddExpirationType.h │ │ │ │ ├── DBTEAMLOGSharedLinkSettingsAddPasswordDetails.h │ │ │ │ ├── DBTEAMLOGSharedLinkSettingsAddPasswordType.h │ │ │ │ ├── DBTEAMLOGSharedLinkSettingsAllowDownloadDisabledDetails.h │ │ │ │ ├── DBTEAMLOGSharedLinkSettingsAllowDownloadDisabledType.h │ │ │ │ ├── DBTEAMLOGSharedLinkSettingsAllowDownloadEnabledDetails.h │ │ │ │ ├── DBTEAMLOGSharedLinkSettingsAllowDownloadEnabledType.h │ │ │ │ ├── DBTEAMLOGSharedLinkSettingsChangeAudienceDetails.h │ │ │ │ ├── DBTEAMLOGSharedLinkSettingsChangeAudienceType.h │ │ │ │ ├── DBTEAMLOGSharedLinkSettingsChangeExpirationDetails.h │ │ │ │ ├── DBTEAMLOGSharedLinkSettingsChangeExpirationType.h │ │ │ │ ├── DBTEAMLOGSharedLinkSettingsChangePasswordDetails.h │ │ │ │ ├── DBTEAMLOGSharedLinkSettingsChangePasswordType.h │ │ │ │ ├── DBTEAMLOGSharedLinkSettingsRemoveExpirationDetails.h │ │ │ │ ├── DBTEAMLOGSharedLinkSettingsRemoveExpirationType.h │ │ │ │ ├── DBTEAMLOGSharedLinkSettingsRemovePasswordDetails.h │ │ │ │ ├── DBTEAMLOGSharedLinkSettingsRemovePasswordType.h │ │ │ │ ├── DBTEAMLOGSharedLinkShareDetails.h │ │ │ │ ├── DBTEAMLOGSharedLinkShareType.h │ │ │ │ ├── DBTEAMLOGSharedLinkViewDetails.h │ │ │ │ ├── DBTEAMLOGSharedLinkViewType.h │ │ │ │ ├── DBTEAMLOGSharedLinkVisibility.h │ │ │ │ ├── DBTEAMLOGSharedNoteOpenedDetails.h │ │ │ │ ├── DBTEAMLOGSharedNoteOpenedType.h │ │ │ │ ├── DBTEAMLOGSharingChangeFolderJoinPolicyDetails.h │ │ │ │ ├── DBTEAMLOGSharingChangeFolderJoinPolicyType.h │ │ │ │ ├── DBTEAMLOGSharingChangeLinkAllowChangeExpirationPolicyDetails.h │ │ │ │ ├── DBTEAMLOGSharingChangeLinkAllowChangeExpirationPolicyType.h │ │ │ │ ├── DBTEAMLOGSharingChangeLinkDefaultExpirationPolicyDetails.h │ │ │ │ ├── DBTEAMLOGSharingChangeLinkDefaultExpirationPolicyType.h │ │ │ │ ├── DBTEAMLOGSharingChangeLinkEnforcePasswordPolicyDetails.h │ │ │ │ ├── DBTEAMLOGSharingChangeLinkEnforcePasswordPolicyType.h │ │ │ │ ├── DBTEAMLOGSharingChangeLinkPolicyDetails.h │ │ │ │ ├── DBTEAMLOGSharingChangeLinkPolicyType.h │ │ │ │ ├── DBTEAMLOGSharingChangeMemberPolicyDetails.h │ │ │ │ ├── DBTEAMLOGSharingChangeMemberPolicyType.h │ │ │ │ ├── DBTEAMLOGSharingFolderJoinPolicy.h │ │ │ │ ├── DBTEAMLOGSharingLinkPolicy.h │ │ │ │ ├── DBTEAMLOGSharingMemberPolicy.h │ │ │ │ ├── DBTEAMLOGShmodelDisableDownloadsDetails.h │ │ │ │ ├── DBTEAMLOGShmodelDisableDownloadsType.h │ │ │ │ ├── DBTEAMLOGShmodelEnableDownloadsDetails.h │ │ │ │ ├── DBTEAMLOGShmodelEnableDownloadsType.h │ │ │ │ ├── DBTEAMLOGShmodelGroupShareDetails.h │ │ │ │ ├── DBTEAMLOGShmodelGroupShareType.h │ │ │ │ ├── DBTEAMLOGShowcaseAccessGrantedDetails.h │ │ │ │ ├── DBTEAMLOGShowcaseAccessGrantedType.h │ │ │ │ ├── DBTEAMLOGShowcaseAddMemberDetails.h │ │ │ │ ├── DBTEAMLOGShowcaseAddMemberType.h │ │ │ │ ├── DBTEAMLOGShowcaseArchivedDetails.h │ │ │ │ ├── DBTEAMLOGShowcaseArchivedType.h │ │ │ │ ├── DBTEAMLOGShowcaseChangeDownloadPolicyDetails.h │ │ │ │ ├── DBTEAMLOGShowcaseChangeDownloadPolicyType.h │ │ │ │ ├── DBTEAMLOGShowcaseChangeEnabledPolicyDetails.h │ │ │ │ ├── DBTEAMLOGShowcaseChangeEnabledPolicyType.h │ │ │ │ ├── DBTEAMLOGShowcaseChangeExternalSharingPolicyDetails.h │ │ │ │ ├── DBTEAMLOGShowcaseChangeExternalSharingPolicyType.h │ │ │ │ ├── DBTEAMLOGShowcaseCreatedDetails.h │ │ │ │ ├── DBTEAMLOGShowcaseCreatedType.h │ │ │ │ ├── DBTEAMLOGShowcaseDeleteCommentDetails.h │ │ │ │ ├── DBTEAMLOGShowcaseDeleteCommentType.h │ │ │ │ ├── DBTEAMLOGShowcaseDocumentLogInfo.h │ │ │ │ ├── DBTEAMLOGShowcaseDownloadPolicy.h │ │ │ │ ├── DBTEAMLOGShowcaseEditCommentDetails.h │ │ │ │ ├── DBTEAMLOGShowcaseEditCommentType.h │ │ │ │ ├── DBTEAMLOGShowcaseEditedDetails.h │ │ │ │ ├── DBTEAMLOGShowcaseEditedType.h │ │ │ │ ├── DBTEAMLOGShowcaseEnabledPolicy.h │ │ │ │ ├── DBTEAMLOGShowcaseExternalSharingPolicy.h │ │ │ │ ├── DBTEAMLOGShowcaseFileAddedDetails.h │ │ │ │ ├── DBTEAMLOGShowcaseFileAddedType.h │ │ │ │ ├── DBTEAMLOGShowcaseFileDownloadDetails.h │ │ │ │ ├── DBTEAMLOGShowcaseFileDownloadType.h │ │ │ │ ├── DBTEAMLOGShowcaseFileRemovedDetails.h │ │ │ │ ├── DBTEAMLOGShowcaseFileRemovedType.h │ │ │ │ ├── DBTEAMLOGShowcaseFileViewDetails.h │ │ │ │ ├── DBTEAMLOGShowcaseFileViewType.h │ │ │ │ ├── DBTEAMLOGShowcasePermanentlyDeletedDetails.h │ │ │ │ ├── DBTEAMLOGShowcasePermanentlyDeletedType.h │ │ │ │ ├── DBTEAMLOGShowcasePostCommentDetails.h │ │ │ │ ├── DBTEAMLOGShowcasePostCommentType.h │ │ │ │ ├── DBTEAMLOGShowcaseRemoveMemberDetails.h │ │ │ │ ├── DBTEAMLOGShowcaseRemoveMemberType.h │ │ │ │ ├── DBTEAMLOGShowcaseRenamedDetails.h │ │ │ │ ├── DBTEAMLOGShowcaseRenamedType.h │ │ │ │ ├── DBTEAMLOGShowcaseRequestAccessDetails.h │ │ │ │ ├── DBTEAMLOGShowcaseRequestAccessType.h │ │ │ │ ├── DBTEAMLOGShowcaseResolveCommentDetails.h │ │ │ │ ├── DBTEAMLOGShowcaseResolveCommentType.h │ │ │ │ ├── DBTEAMLOGShowcaseRestoredDetails.h │ │ │ │ ├── DBTEAMLOGShowcaseRestoredType.h │ │ │ │ ├── DBTEAMLOGShowcaseTrashedDeprecatedDetails.h │ │ │ │ ├── DBTEAMLOGShowcaseTrashedDeprecatedType.h │ │ │ │ ├── DBTEAMLOGShowcaseTrashedDetails.h │ │ │ │ ├── DBTEAMLOGShowcaseTrashedType.h │ │ │ │ ├── DBTEAMLOGShowcaseUnresolveCommentDetails.h │ │ │ │ ├── DBTEAMLOGShowcaseUnresolveCommentType.h │ │ │ │ ├── DBTEAMLOGShowcaseUntrashedDeprecatedDetails.h │ │ │ │ ├── DBTEAMLOGShowcaseUntrashedDeprecatedType.h │ │ │ │ ├── DBTEAMLOGShowcaseUntrashedDetails.h │ │ │ │ ├── DBTEAMLOGShowcaseUntrashedType.h │ │ │ │ ├── DBTEAMLOGShowcaseViewDetails.h │ │ │ │ ├── DBTEAMLOGShowcaseViewType.h │ │ │ │ ├── DBTEAMLOGSignInAsSessionEndDetails.h │ │ │ │ ├── DBTEAMLOGSignInAsSessionEndType.h │ │ │ │ ├── DBTEAMLOGSignInAsSessionStartDetails.h │ │ │ │ ├── DBTEAMLOGSignInAsSessionStartType.h │ │ │ │ ├── DBTEAMLOGSmartSyncChangePolicyDetails.h │ │ │ │ ├── DBTEAMLOGSmartSyncChangePolicyType.h │ │ │ │ ├── DBTEAMLOGSmartSyncCreateAdminPrivilegeReportDetails.h │ │ │ │ ├── DBTEAMLOGSmartSyncCreateAdminPrivilegeReportType.h │ │ │ │ ├── DBTEAMLOGSmartSyncNotOptOutDetails.h │ │ │ │ ├── DBTEAMLOGSmartSyncNotOptOutType.h │ │ │ │ ├── DBTEAMLOGSmartSyncOptOutDetails.h │ │ │ │ ├── DBTEAMLOGSmartSyncOptOutPolicy.h │ │ │ │ ├── DBTEAMLOGSmartSyncOptOutType.h │ │ │ │ ├── DBTEAMLOGSmarterSmartSyncPolicyChangedDetails.h │ │ │ │ ├── DBTEAMLOGSmarterSmartSyncPolicyChangedType.h │ │ │ │ ├── DBTEAMLOGSpaceCapsType.h │ │ │ │ ├── DBTEAMLOGSpaceLimitsStatus.h │ │ │ │ ├── DBTEAMLOGSsoAddCertDetails.h │ │ │ │ ├── DBTEAMLOGSsoAddCertType.h │ │ │ │ ├── DBTEAMLOGSsoAddLoginUrlDetails.h │ │ │ │ ├── DBTEAMLOGSsoAddLoginUrlType.h │ │ │ │ ├── DBTEAMLOGSsoAddLogoutUrlDetails.h │ │ │ │ ├── DBTEAMLOGSsoAddLogoutUrlType.h │ │ │ │ ├── DBTEAMLOGSsoChangeCertDetails.h │ │ │ │ ├── DBTEAMLOGSsoChangeCertType.h │ │ │ │ ├── DBTEAMLOGSsoChangeLoginUrlDetails.h │ │ │ │ ├── DBTEAMLOGSsoChangeLoginUrlType.h │ │ │ │ ├── DBTEAMLOGSsoChangeLogoutUrlDetails.h │ │ │ │ ├── DBTEAMLOGSsoChangeLogoutUrlType.h │ │ │ │ ├── DBTEAMLOGSsoChangePolicyDetails.h │ │ │ │ ├── DBTEAMLOGSsoChangePolicyType.h │ │ │ │ ├── DBTEAMLOGSsoChangeSamlIdentityModeDetails.h │ │ │ │ ├── DBTEAMLOGSsoChangeSamlIdentityModeType.h │ │ │ │ ├── DBTEAMLOGSsoErrorDetails.h │ │ │ │ ├── DBTEAMLOGSsoErrorType.h │ │ │ │ ├── DBTEAMLOGSsoRemoveCertDetails.h │ │ │ │ ├── DBTEAMLOGSsoRemoveCertType.h │ │ │ │ ├── DBTEAMLOGSsoRemoveLoginUrlDetails.h │ │ │ │ ├── DBTEAMLOGSsoRemoveLoginUrlType.h │ │ │ │ ├── DBTEAMLOGSsoRemoveLogoutUrlDetails.h │ │ │ │ ├── DBTEAMLOGSsoRemoveLogoutUrlType.h │ │ │ │ ├── DBTEAMLOGStartedEnterpriseAdminSessionDetails.h │ │ │ │ ├── DBTEAMLOGStartedEnterpriseAdminSessionType.h │ │ │ │ ├── DBTEAMLOGTeamActivityCreateReportDetails.h │ │ │ │ ├── DBTEAMLOGTeamActivityCreateReportFailDetails.h │ │ │ │ ├── DBTEAMLOGTeamActivityCreateReportFailType.h │ │ │ │ ├── DBTEAMLOGTeamActivityCreateReportType.h │ │ │ │ ├── DBTEAMLOGTeamBrandingPolicy.h │ │ │ │ ├── DBTEAMLOGTeamBrandingPolicyChangedDetails.h │ │ │ │ ├── DBTEAMLOGTeamBrandingPolicyChangedType.h │ │ │ │ ├── DBTEAMLOGTeamDetails.h │ │ │ │ ├── DBTEAMLOGTeamEncryptionKeyCancelKeyDeletionDetails.h │ │ │ │ ├── DBTEAMLOGTeamEncryptionKeyCancelKeyDeletionType.h │ │ │ │ ├── DBTEAMLOGTeamEncryptionKeyCreateKeyDetails.h │ │ │ │ ├── DBTEAMLOGTeamEncryptionKeyCreateKeyType.h │ │ │ │ ├── DBTEAMLOGTeamEncryptionKeyDeleteKeyDetails.h │ │ │ │ ├── DBTEAMLOGTeamEncryptionKeyDeleteKeyType.h │ │ │ │ ├── DBTEAMLOGTeamEncryptionKeyDisableKeyDetails.h │ │ │ │ ├── DBTEAMLOGTeamEncryptionKeyDisableKeyType.h │ │ │ │ ├── DBTEAMLOGTeamEncryptionKeyEnableKeyDetails.h │ │ │ │ ├── DBTEAMLOGTeamEncryptionKeyEnableKeyType.h │ │ │ │ ├── DBTEAMLOGTeamEncryptionKeyRotateKeyDetails.h │ │ │ │ ├── DBTEAMLOGTeamEncryptionKeyRotateKeyType.h │ │ │ │ ├── DBTEAMLOGTeamEncryptionKeyScheduleKeyDeletionDetails.h │ │ │ │ ├── DBTEAMLOGTeamEncryptionKeyScheduleKeyDeletionType.h │ │ │ │ ├── DBTEAMLOGTeamEvent.h │ │ │ │ ├── DBTEAMLOGTeamExtensionsPolicy.h │ │ │ │ ├── DBTEAMLOGTeamExtensionsPolicyChangedDetails.h │ │ │ │ ├── DBTEAMLOGTeamExtensionsPolicyChangedType.h │ │ │ │ ├── DBTEAMLOGTeamFolderChangeStatusDetails.h │ │ │ │ ├── DBTEAMLOGTeamFolderChangeStatusType.h │ │ │ │ ├── DBTEAMLOGTeamFolderCreateDetails.h │ │ │ │ ├── DBTEAMLOGTeamFolderCreateType.h │ │ │ │ ├── DBTEAMLOGTeamFolderDowngradeDetails.h │ │ │ │ ├── DBTEAMLOGTeamFolderDowngradeType.h │ │ │ │ ├── DBTEAMLOGTeamFolderPermanentlyDeleteDetails.h │ │ │ │ ├── DBTEAMLOGTeamFolderPermanentlyDeleteType.h │ │ │ │ ├── DBTEAMLOGTeamFolderRenameDetails.h │ │ │ │ ├── DBTEAMLOGTeamFolderRenameType.h │ │ │ │ ├── DBTEAMLOGTeamInviteDetails.h │ │ │ │ ├── DBTEAMLOGTeamLinkedAppLogInfo.h │ │ │ │ ├── DBTEAMLOGTeamLogInfo.h │ │ │ │ ├── DBTEAMLOGTeamMemberLogInfo.h │ │ │ │ ├── DBTEAMLOGTeamMembershipType.h │ │ │ │ ├── DBTEAMLOGTeamMergeFromDetails.h │ │ │ │ ├── DBTEAMLOGTeamMergeFromType.h │ │ │ │ ├── DBTEAMLOGTeamMergeRequestAcceptedDetails.h │ │ │ │ ├── DBTEAMLOGTeamMergeRequestAcceptedExtraDetails.h │ │ │ │ ├── DBTEAMLOGTeamMergeRequestAcceptedShownToPrimaryTeamDetails.h │ │ │ │ ├── DBTEAMLOGTeamMergeRequestAcceptedShownToPrimaryTeamType.h │ │ │ │ ├── DBTEAMLOGTeamMergeRequestAcceptedShownToSecondaryTeamDetails.h │ │ │ │ ├── DBTEAMLOGTeamMergeRequestAcceptedShownToSecondaryTeamType.h │ │ │ │ ├── DBTEAMLOGTeamMergeRequestAcceptedType.h │ │ │ │ ├── DBTEAMLOGTeamMergeRequestAutoCanceledDetails.h │ │ │ │ ├── DBTEAMLOGTeamMergeRequestAutoCanceledType.h │ │ │ │ ├── DBTEAMLOGTeamMergeRequestCanceledDetails.h │ │ │ │ ├── DBTEAMLOGTeamMergeRequestCanceledExtraDetails.h │ │ │ │ ├── DBTEAMLOGTeamMergeRequestCanceledShownToPrimaryTeamDetails.h │ │ │ │ ├── DBTEAMLOGTeamMergeRequestCanceledShownToPrimaryTeamType.h │ │ │ │ ├── DBTEAMLOGTeamMergeRequestCanceledShownToSecondaryTeamDetails.h │ │ │ │ ├── DBTEAMLOGTeamMergeRequestCanceledShownToSecondaryTeamType.h │ │ │ │ ├── DBTEAMLOGTeamMergeRequestCanceledType.h │ │ │ │ ├── DBTEAMLOGTeamMergeRequestExpiredDetails.h │ │ │ │ ├── DBTEAMLOGTeamMergeRequestExpiredExtraDetails.h │ │ │ │ ├── DBTEAMLOGTeamMergeRequestExpiredShownToPrimaryTeamDetails.h │ │ │ │ ├── DBTEAMLOGTeamMergeRequestExpiredShownToPrimaryTeamType.h │ │ │ │ ├── DBTEAMLOGTeamMergeRequestExpiredShownToSecondaryTeamDetails.h │ │ │ │ ├── DBTEAMLOGTeamMergeRequestExpiredShownToSecondaryTeamType.h │ │ │ │ ├── DBTEAMLOGTeamMergeRequestExpiredType.h │ │ │ │ ├── DBTEAMLOGTeamMergeRequestRejectedShownToPrimaryTeamDetails.h │ │ │ │ ├── DBTEAMLOGTeamMergeRequestRejectedShownToPrimaryTeamType.h │ │ │ │ ├── DBTEAMLOGTeamMergeRequestRejectedShownToSecondaryTeamDetails.h │ │ │ │ ├── DBTEAMLOGTeamMergeRequestRejectedShownToSecondaryTeamType.h │ │ │ │ ├── DBTEAMLOGTeamMergeRequestReminderDetails.h │ │ │ │ ├── DBTEAMLOGTeamMergeRequestReminderExtraDetails.h │ │ │ │ ├── DBTEAMLOGTeamMergeRequestReminderShownToPrimaryTeamDetails.h │ │ │ │ ├── DBTEAMLOGTeamMergeRequestReminderShownToPrimaryTeamType.h │ │ │ │ ├── DBTEAMLOGTeamMergeRequestReminderShownToSecondaryTeamDetails.h │ │ │ │ ├── DBTEAMLOGTeamMergeRequestReminderShownToSecondaryTeamType.h │ │ │ │ ├── DBTEAMLOGTeamMergeRequestReminderType.h │ │ │ │ ├── DBTEAMLOGTeamMergeRequestRevokedDetails.h │ │ │ │ ├── DBTEAMLOGTeamMergeRequestRevokedType.h │ │ │ │ ├── DBTEAMLOGTeamMergeRequestSentShownToPrimaryTeamDetails.h │ │ │ │ ├── DBTEAMLOGTeamMergeRequestSentShownToPrimaryTeamType.h │ │ │ │ ├── DBTEAMLOGTeamMergeRequestSentShownToSecondaryTeamDetails.h │ │ │ │ ├── DBTEAMLOGTeamMergeRequestSentShownToSecondaryTeamType.h │ │ │ │ ├── DBTEAMLOGTeamMergeToDetails.h │ │ │ │ ├── DBTEAMLOGTeamMergeToType.h │ │ │ │ ├── DBTEAMLOGTeamName.h │ │ │ │ ├── DBTEAMLOGTeamProfileAddBackgroundDetails.h │ │ │ │ ├── DBTEAMLOGTeamProfileAddBackgroundType.h │ │ │ │ ├── DBTEAMLOGTeamProfileAddLogoDetails.h │ │ │ │ ├── DBTEAMLOGTeamProfileAddLogoType.h │ │ │ │ ├── DBTEAMLOGTeamProfileChangeBackgroundDetails.h │ │ │ │ ├── DBTEAMLOGTeamProfileChangeBackgroundType.h │ │ │ │ ├── DBTEAMLOGTeamProfileChangeDefaultLanguageDetails.h │ │ │ │ ├── DBTEAMLOGTeamProfileChangeDefaultLanguageType.h │ │ │ │ ├── DBTEAMLOGTeamProfileChangeLogoDetails.h │ │ │ │ ├── DBTEAMLOGTeamProfileChangeLogoType.h │ │ │ │ ├── DBTEAMLOGTeamProfileChangeNameDetails.h │ │ │ │ ├── DBTEAMLOGTeamProfileChangeNameType.h │ │ │ │ ├── DBTEAMLOGTeamProfileRemoveBackgroundDetails.h │ │ │ │ ├── DBTEAMLOGTeamProfileRemoveBackgroundType.h │ │ │ │ ├── DBTEAMLOGTeamProfileRemoveLogoDetails.h │ │ │ │ ├── DBTEAMLOGTeamProfileRemoveLogoType.h │ │ │ │ ├── DBTEAMLOGTeamSelectiveSyncPolicy.h │ │ │ │ ├── DBTEAMLOGTeamSelectiveSyncPolicyChangedDetails.h │ │ │ │ ├── DBTEAMLOGTeamSelectiveSyncPolicyChangedType.h │ │ │ │ ├── DBTEAMLOGTeamSelectiveSyncSettingsChangedDetails.h │ │ │ │ ├── DBTEAMLOGTeamSelectiveSyncSettingsChangedType.h │ │ │ │ ├── DBTEAMLOGTeamSharingWhitelistSubjectsChangedDetails.h │ │ │ │ ├── DBTEAMLOGTeamSharingWhitelistSubjectsChangedType.h │ │ │ │ ├── DBTEAMLOGTfaAddBackupPhoneDetails.h │ │ │ │ ├── DBTEAMLOGTfaAddBackupPhoneType.h │ │ │ │ ├── DBTEAMLOGTfaAddExceptionDetails.h │ │ │ │ ├── DBTEAMLOGTfaAddExceptionType.h │ │ │ │ ├── DBTEAMLOGTfaAddSecurityKeyDetails.h │ │ │ │ ├── DBTEAMLOGTfaAddSecurityKeyType.h │ │ │ │ ├── DBTEAMLOGTfaChangeBackupPhoneDetails.h │ │ │ │ ├── DBTEAMLOGTfaChangeBackupPhoneType.h │ │ │ │ ├── DBTEAMLOGTfaChangePolicyDetails.h │ │ │ │ ├── DBTEAMLOGTfaChangePolicyType.h │ │ │ │ ├── DBTEAMLOGTfaChangeStatusDetails.h │ │ │ │ ├── DBTEAMLOGTfaChangeStatusType.h │ │ │ │ ├── DBTEAMLOGTfaConfiguration.h │ │ │ │ ├── DBTEAMLOGTfaRemoveBackupPhoneDetails.h │ │ │ │ ├── DBTEAMLOGTfaRemoveBackupPhoneType.h │ │ │ │ ├── DBTEAMLOGTfaRemoveExceptionDetails.h │ │ │ │ ├── DBTEAMLOGTfaRemoveExceptionType.h │ │ │ │ ├── DBTEAMLOGTfaRemoveSecurityKeyDetails.h │ │ │ │ ├── DBTEAMLOGTfaRemoveSecurityKeyType.h │ │ │ │ ├── DBTEAMLOGTfaResetDetails.h │ │ │ │ ├── DBTEAMLOGTfaResetType.h │ │ │ │ ├── DBTEAMLOGTimeUnit.h │ │ │ │ ├── DBTEAMLOGTrustedNonTeamMemberLogInfo.h │ │ │ │ ├── DBTEAMLOGTrustedNonTeamMemberType.h │ │ │ │ ├── DBTEAMLOGTrustedTeamsRequestAction.h │ │ │ │ ├── DBTEAMLOGTrustedTeamsRequestState.h │ │ │ │ ├── DBTEAMLOGTwoAccountChangePolicyDetails.h │ │ │ │ ├── DBTEAMLOGTwoAccountChangePolicyType.h │ │ │ │ ├── DBTEAMLOGTwoAccountPolicy.h │ │ │ │ ├── DBTEAMLOGUndoNamingConventionDetails.h │ │ │ │ ├── DBTEAMLOGUndoNamingConventionType.h │ │ │ │ ├── DBTEAMLOGUndoOrganizeFolderWithTidyDetails.h │ │ │ │ ├── DBTEAMLOGUndoOrganizeFolderWithTidyType.h │ │ │ │ ├── DBTEAMLOGUserLinkedAppLogInfo.h │ │ │ │ ├── DBTEAMLOGUserLogInfo.h │ │ │ │ ├── DBTEAMLOGUserNameLogInfo.h │ │ │ │ ├── DBTEAMLOGUserOrTeamLinkedAppLogInfo.h │ │ │ │ ├── DBTEAMLOGUserTagsAddedDetails.h │ │ │ │ ├── DBTEAMLOGUserTagsAddedType.h │ │ │ │ ├── DBTEAMLOGUserTagsRemovedDetails.h │ │ │ │ ├── DBTEAMLOGUserTagsRemovedType.h │ │ │ │ ├── DBTEAMLOGViewerInfoPolicyChangedDetails.h │ │ │ │ ├── DBTEAMLOGViewerInfoPolicyChangedType.h │ │ │ │ ├── DBTEAMLOGWatermarkingPolicy.h │ │ │ │ ├── DBTEAMLOGWatermarkingPolicyChangedDetails.h │ │ │ │ ├── DBTEAMLOGWatermarkingPolicyChangedType.h │ │ │ │ ├── DBTEAMLOGWebDeviceSessionLogInfo.h │ │ │ │ ├── DBTEAMLOGWebSessionLogInfo.h │ │ │ │ ├── DBTEAMLOGWebSessionsChangeActiveSessionLimitDetails.h │ │ │ │ ├── DBTEAMLOGWebSessionsChangeActiveSessionLimitType.h │ │ │ │ ├── DBTEAMLOGWebSessionsChangeFixedLengthPolicyDetails.h │ │ │ │ ├── DBTEAMLOGWebSessionsChangeFixedLengthPolicyType.h │ │ │ │ ├── DBTEAMLOGWebSessionsChangeIdleLengthPolicyDetails.h │ │ │ │ ├── DBTEAMLOGWebSessionsChangeIdleLengthPolicyType.h │ │ │ │ ├── DBTEAMLOGWebSessionsFixedLengthPolicy.h │ │ │ │ └── DBTEAMLOGWebSessionsIdleLengthPolicy.h │ │ │ ├── TeamPolicies/ │ │ │ │ ├── DBTeamPoliciesObjects.m │ │ │ │ └── Headers/ │ │ │ │ ├── DBTEAMPOLICIESCameraUploadsPolicyState.h │ │ │ │ ├── DBTEAMPOLICIESComputerBackupPolicyState.h │ │ │ │ ├── DBTEAMPOLICIESEmmState.h │ │ │ │ ├── DBTEAMPOLICIESExternalDriveBackupPolicyState.h │ │ │ │ ├── DBTEAMPOLICIESFileLockingPolicyState.h │ │ │ │ ├── DBTEAMPOLICIESFileProviderMigrationPolicyState.h │ │ │ │ ├── DBTEAMPOLICIESGroupCreation.h │ │ │ │ ├── DBTEAMPOLICIESOfficeAddInPolicy.h │ │ │ │ ├── DBTEAMPOLICIESPaperDefaultFolderPolicy.h │ │ │ │ ├── DBTEAMPOLICIESPaperDeploymentPolicy.h │ │ │ │ ├── DBTEAMPOLICIESPaperDesktopPolicy.h │ │ │ │ ├── DBTEAMPOLICIESPaperEnabledPolicy.h │ │ │ │ ├── DBTEAMPOLICIESPasswordControlMode.h │ │ │ │ ├── DBTEAMPOLICIESPasswordStrengthPolicy.h │ │ │ │ ├── DBTEAMPOLICIESRolloutMethod.h │ │ │ │ ├── DBTEAMPOLICIESSharedFolderBlanketLinkRestrictionPolicy.h │ │ │ │ ├── DBTEAMPOLICIESSharedFolderJoinPolicy.h │ │ │ │ ├── DBTEAMPOLICIESSharedFolderMemberPolicy.h │ │ │ │ ├── DBTEAMPOLICIESSharedLinkCreatePolicy.h │ │ │ │ ├── DBTEAMPOLICIESShowcaseDownloadPolicy.h │ │ │ │ ├── DBTEAMPOLICIESShowcaseEnabledPolicy.h │ │ │ │ ├── DBTEAMPOLICIESShowcaseExternalSharingPolicy.h │ │ │ │ ├── DBTEAMPOLICIESSmartSyncPolicy.h │ │ │ │ ├── DBTEAMPOLICIESSmarterSmartSyncPolicyState.h │ │ │ │ ├── DBTEAMPOLICIESSsoPolicy.h │ │ │ │ ├── DBTEAMPOLICIESSuggestMembersPolicy.h │ │ │ │ ├── DBTEAMPOLICIESTeamMemberPolicies.h │ │ │ │ ├── DBTEAMPOLICIESTeamSharingPolicies.h │ │ │ │ ├── DBTEAMPOLICIESTwoStepVerificationPolicy.h │ │ │ │ └── DBTEAMPOLICIESTwoStepVerificationState.h │ │ │ ├── Users/ │ │ │ │ ├── DBUsersObjects.m │ │ │ │ └── Headers/ │ │ │ │ ├── DBUSERSAccount.h │ │ │ │ ├── DBUSERSBasicAccount.h │ │ │ │ ├── DBUSERSFileLockingValue.h │ │ │ │ ├── DBUSERSFullAccount.h │ │ │ │ ├── DBUSERSFullTeam.h │ │ │ │ ├── DBUSERSGetAccountArg.h │ │ │ │ ├── DBUSERSGetAccountBatchArg.h │ │ │ │ ├── DBUSERSGetAccountBatchError.h │ │ │ │ ├── DBUSERSGetAccountError.h │ │ │ │ ├── DBUSERSIndividualSpaceAllocation.h │ │ │ │ ├── DBUSERSName.h │ │ │ │ ├── DBUSERSPaperAsFilesValue.h │ │ │ │ ├── DBUSERSSpaceAllocation.h │ │ │ │ ├── DBUSERSSpaceUsage.h │ │ │ │ ├── DBUSERSTeam.h │ │ │ │ ├── DBUSERSTeamSpaceAllocation.h │ │ │ │ ├── DBUSERSUserFeature.h │ │ │ │ ├── DBUSERSUserFeatureValue.h │ │ │ │ ├── DBUSERSUserFeaturesGetValuesBatchArg.h │ │ │ │ ├── DBUSERSUserFeaturesGetValuesBatchError.h │ │ │ │ └── DBUSERSUserFeaturesGetValuesBatchResult.h │ │ │ └── UsersCommon/ │ │ │ ├── DBUsersCommonObjects.m │ │ │ └── Headers/ │ │ │ └── DBUSERSCOMMONAccountType.h │ │ ├── Client/ │ │ │ ├── DBAppBaseClient.h │ │ │ ├── DBAppBaseClient.m │ │ │ ├── DBTeamBaseClient.h │ │ │ ├── DBTeamBaseClient.m │ │ │ ├── DBUserBaseClient.h │ │ │ └── DBUserBaseClient.m │ │ ├── DBSDKImportsGenerated.h │ │ ├── Resources/ │ │ │ ├── DBSerializableProtocol.h │ │ │ ├── DBStoneBase.h │ │ │ ├── DBStoneBase.m │ │ │ ├── DBStoneSerializers.h │ │ │ ├── DBStoneSerializers.m │ │ │ ├── DBStoneValidators.h │ │ │ └── DBStoneValidators.m │ │ └── Routes/ │ │ ├── DBACCOUNTUserAuthRoutes.h │ │ ├── DBACCOUNTUserAuthRoutes.m │ │ ├── DBAUTHAppAuthRoutes.h │ │ ├── DBAUTHAppAuthRoutes.m │ │ ├── DBAUTHUserAuthRoutes.h │ │ ├── DBAUTHUserAuthRoutes.m │ │ ├── DBCHECKAppAuthRoutes.h │ │ ├── DBCHECKAppAuthRoutes.m │ │ ├── DBCHECKUserAuthRoutes.h │ │ ├── DBCHECKUserAuthRoutes.m │ │ ├── DBCONTACTSUserAuthRoutes.h │ │ ├── DBCONTACTSUserAuthRoutes.m │ │ ├── DBFILEPROPERTIESTeamAuthRoutes.h │ │ ├── DBFILEPROPERTIESTeamAuthRoutes.m │ │ ├── DBFILEPROPERTIESUserAuthRoutes.h │ │ ├── DBFILEPROPERTIESUserAuthRoutes.m │ │ ├── DBFILEREQUESTSUserAuthRoutes.h │ │ ├── DBFILEREQUESTSUserAuthRoutes.m │ │ ├── DBFILESAppAuthRoutes.h │ │ ├── DBFILESAppAuthRoutes.m │ │ ├── DBFILESUserAuthRoutes.h │ │ ├── DBFILESUserAuthRoutes.m │ │ ├── DBOPENIDUserAuthRoutes.h │ │ ├── DBOPENIDUserAuthRoutes.m │ │ ├── DBPAPERUserAuthRoutes.h │ │ ├── DBPAPERUserAuthRoutes.m │ │ ├── DBSHARINGAppAuthRoutes.h │ │ ├── DBSHARINGAppAuthRoutes.m │ │ ├── DBSHARINGUserAuthRoutes.h │ │ ├── DBSHARINGUserAuthRoutes.m │ │ ├── DBTEAMLOGTeamAuthRoutes.h │ │ ├── DBTEAMLOGTeamAuthRoutes.m │ │ ├── DBTEAMTeamAuthRoutes.h │ │ ├── DBTEAMTeamAuthRoutes.m │ │ ├── DBUSERSUserAuthRoutes.h │ │ ├── DBUSERSUserAuthRoutes.m │ │ └── RouteObjects/ │ │ ├── DBACCOUNTRouteObjects.h │ │ ├── DBACCOUNTRouteObjects.m │ │ ├── DBAUTHRouteObjects.h │ │ ├── DBAUTHRouteObjects.m │ │ ├── DBCHECKRouteObjects.h │ │ ├── DBCHECKRouteObjects.m │ │ ├── DBCONTACTSRouteObjects.h │ │ ├── DBCONTACTSRouteObjects.m │ │ ├── DBFILEPROPERTIESRouteObjects.h │ │ ├── DBFILEPROPERTIESRouteObjects.m │ │ ├── DBFILEREQUESTSRouteObjects.h │ │ ├── DBFILEREQUESTSRouteObjects.m │ │ ├── DBFILESRouteObjects.h │ │ ├── DBFILESRouteObjects.m │ │ ├── DBOPENIDRouteObjects.h │ │ ├── DBOPENIDRouteObjects.m │ │ ├── DBPAPERRouteObjects.h │ │ ├── DBPAPERRouteObjects.m │ │ ├── DBSHARINGRouteObjects.h │ │ ├── DBSHARINGRouteObjects.m │ │ ├── DBTEAMLOGRouteObjects.h │ │ ├── DBTEAMLOGRouteObjects.m │ │ ├── DBTEAMRouteObjects.h │ │ ├── DBTEAMRouteObjects.m │ │ ├── DBUSERSRouteObjects.h │ │ └── DBUSERSRouteObjects.m │ └── Handwritten/ │ ├── DBAppClient.h │ ├── DBAppClient.m │ ├── DBClientsManager.h │ ├── DBClientsManager.m │ ├── DBSDKImportsShared.h │ ├── DBTeamClient.h │ ├── DBTeamClient.m │ ├── DBUserClient.h │ ├── DBUserClient.m │ ├── Networking/ │ │ ├── DBDelegate.m │ │ ├── DBGlobalErrorResponseHandler.h │ │ ├── DBGlobalErrorResponseHandler.m │ │ ├── DBHandlerTypes.h │ │ ├── DBRequestErrors.h │ │ ├── DBRequestErrors.m │ │ ├── DBSDKReachability.m │ │ ├── DBSessionData.m │ │ ├── DBTasks.h │ │ ├── DBTasks.m │ │ ├── DBTasksImpl.m │ │ ├── DBTasksStorage.h │ │ ├── DBTasksStorage.m │ │ ├── DBTransportBaseClient.h │ │ ├── DBTransportBaseClient.m │ │ ├── DBTransportBaseConfig.h │ │ ├── DBTransportBaseConfig.m │ │ ├── DBTransportBaseHostnameConfig.h │ │ ├── DBTransportBaseHostnameConfig.m │ │ ├── DBTransportClientProtocol.h │ │ ├── DBTransportDefaultClient.h │ │ ├── DBTransportDefaultClient.m │ │ ├── DBTransportDefaultConfig.h │ │ ├── DBTransportDefaultConfig.m │ │ ├── DBURLSessionTaskResponseBlockWrapper.m │ │ └── DBURLSessionTaskWithTokenRefresh.m │ ├── OAuth/ │ │ ├── DBAccessToken+NSSecureCoding.m │ │ ├── DBAccessTokenProvider.h │ │ ├── DBAccessTokenProviderImpl.m │ │ ├── DBLoadingStatusDelegate.h │ │ ├── DBOAuthConstants.m │ │ ├── DBOAuthManager.h │ │ ├── DBOAuthManager.m │ │ ├── DBOAuthPKCESession.m │ │ ├── DBOAuthResult.h │ │ ├── DBOAuthResult.m │ │ ├── DBOAuthResultCompletion.h │ │ ├── DBOAuthTokenRequest.m │ │ ├── DBOAuthUtils.m │ │ ├── DBSDKKeychain.h │ │ ├── DBSDKKeychain.m │ │ ├── DBScopeRequest.h │ │ ├── DBScopeRequest.m │ │ └── DBSharedApplicationProtocol.h │ └── Resources/ │ ├── DBChunkInputStream.m │ ├── DBCustomDatatypes.h │ ├── DBCustomDatatypes.m │ ├── DBCustomRoutes.h │ ├── DBCustomRoutes.m │ ├── DBCustomTasks.h │ ├── DBCustomTasks.m │ ├── DBSDKConstants.h │ └── DBSDKConstants.m ├── TestObjectiveDropbox/ │ ├── IntegrationTests/ │ │ ├── TestAppType.h │ │ ├── TestClasses.h │ │ ├── TestClasses.m │ │ ├── TestData.h │ │ └── TestData.m │ ├── Podfile │ ├── TestObjectiveDropbox.xcodeproj/ │ │ ├── project.pbxproj │ │ └── xcshareddata/ │ │ └── xcschemes/ │ │ ├── TestObjectiveDropbox_iOS.xcscheme │ │ └── TestObjectiveDropbox_macOS.xcscheme │ ├── TestObjectiveDropbox_iOS/ │ │ ├── AppDelegate.h │ │ ├── AppDelegate.m │ │ ├── Assets.xcassets/ │ │ │ └── AppIcon.appiconset/ │ │ │ └── Contents.json │ │ ├── Base.lproj/ │ │ │ ├── LaunchScreen.storyboard │ │ │ └── Main.storyboard │ │ ├── Info.plist │ │ ├── TestObjectiveDropbox_iOS.entitlements │ │ ├── ViewController.h │ │ ├── ViewController.m │ │ └── main.m │ ├── TestObjectiveDropbox_iOSTests/ │ │ ├── FileRoutesTests.m │ │ ├── Info.plist │ │ ├── TeamRoutesTests.m │ │ ├── TestAsciiEncoding.m │ │ ├── TestAuthTokenGenerator.h │ │ └── TestAuthTokenGenerator.m │ ├── TestObjectiveDropbox_macOS/ │ │ ├── AppDelegate.h │ │ ├── AppDelegate.m │ │ ├── Assets.xcassets/ │ │ │ └── AppIcon.appiconset/ │ │ │ └── Contents.json │ │ ├── Base.lproj/ │ │ │ └── Main.storyboard │ │ ├── Info.plist │ │ ├── ViewController.h │ │ ├── ViewController.m │ │ └── main.m │ └── TestObjectiveDropbox_macOSTests/ │ └── Info.plist ├── generate_base_client.py ├── update_repo_check.sh └── update_version.sh ================================================ FILE CONTENTS ================================================ ================================================ FILE: .clang-format ================================================ --- Language: ObjC # BasedOnStyle: LLVM AccessModifierOffset: -2 AlignAfterOpenBracket: Align AlignConsecutiveAssignments: false AlignConsecutiveDeclarations: false AlignEscapedNewlinesLeft: false AlignOperands: true AlignTrailingComments: true AllowAllParametersOfDeclarationOnNextLine: true AllowShortBlocksOnASingleLine: false AllowShortCaseLabelsOnASingleLine: false AllowShortFunctionsOnASingleLine: All AllowShortIfStatementsOnASingleLine: false AllowShortLoopsOnASingleLine: false AlwaysBreakAfterDefinitionReturnType: None AlwaysBreakAfterReturnType: None AlwaysBreakBeforeMultilineStrings: false AlwaysBreakTemplateDeclarations: false BinPackArguments: true BinPackParameters: true BraceWrapping: AfterClass: false AfterControlStatement: false AfterEnum: false AfterFunction: false AfterNamespace: false AfterObjCDeclaration: false AfterStruct: false AfterUnion: false BeforeCatch: false BeforeElse: false IndentBraces: false BreakBeforeBinaryOperators: None BreakBeforeBraces: Attach BreakBeforeTernaryOperators: true BreakConstructorInitializersBeforeComma: false BreakAfterJavaFieldAnnotations: false BreakStringLiterals: true ColumnLimit: 120 CommentPragmas: '^ IWYU pragma:' ConstructorInitializerAllOnOneLineOrOnePerLine: false ConstructorInitializerIndentWidth: 4 ContinuationIndentWidth: 4 Cpp11BracedListStyle: true DerivePointerAlignment: false DisableFormat: false ExperimentalAutoDetectBinPacking: false ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ] IncludeCategories: - Regex: '^"(llvm|llvm-c|clang|clang-c)/' Priority: 2 - Regex: '^(<|"(gtest|isl|json)/)' Priority: 3 - Regex: '.*' Priority: 1 IncludeIsMainRegex: '$' IndentCaseLabels: false IndentWidth: 2 IndentWrappedFunctionNames: false KeepEmptyLinesAtTheStartOfBlocks: true MacroBlockBegin: '' MacroBlockEnd: '' MaxEmptyLinesToKeep: 1 NamespaceIndentation: None ObjCBlockIndentWidth: 2 ObjCSpaceAfterProperty: true ObjCSpaceBeforeProtocolList: true PenaltyBreakBeforeFirstCallParameter: 19 PenaltyBreakComment: 120 PenaltyBreakFirstLessLess: 120 PenaltyBreakString: 120 PenaltyExcessCharacter: 1000000 PenaltyReturnTypeOnItsOwnLine: 60 PointerAlignment: Right ReflowComments: true SortIncludes: true SpaceAfterCStyleCast: false SpaceBeforeAssignmentOperators: true SpaceBeforeParens: ControlStatements SpaceInEmptyParentheses: false SpacesBeforeTrailingComments: 1 SpacesInAngles: false SpacesInContainerLiterals: true SpacesInCStyleCastParentheses: false SpacesInParentheses: false SpacesInSquareBrackets: false Standard: Cpp11 TabWidth: 8 UseTab: Never JavaScriptQuotes: Leave ... ================================================ FILE: .github/workflows/ci.yml ================================================ 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 ================================================ FILE: .gitignore ================================================ # Xcode ## Build generated build/ DerivedData/ xcuserdata/ ## Various settings *.pbxuser !default.pbxuser *.mode1v3 !default.mode1v3 *.mode2v3 !default.mode2v3 *.perspectivev3 !default.perspectivev3 ## Other *.moved-aside *.xcuserstate *.xcworkspace # macOS *.DS_Store # Obj-C/Swift specific *.hmap *.ipa *.dSYM.zip *.dSYM # CocoaPods Pods/ # Carthage Carthage/ ================================================ FILE: .gitmodules ================================================ [submodule "stone"] path = stone url = https://github.com/dropbox/stone.git [submodule "spec"] path = spec url = https://github.com/dropbox/dropbox-api-spec.git ================================================ FILE: .jazzy.json ================================================ { "author": "Dropbox, Inc.", "skip_undocumented": true, "custom_categories": [ { "name": "Account", "children": [ "DBACCOUNTPhotoSourceArg", "DBACCOUNTSetProfilePhotoArg", "DBACCOUNTSetProfilePhotoError", "DBACCOUNTSetProfilePhotoResult" ] }, { "name": "Async", "children": [ "DBASYNCLaunchResultBase", "DBASYNCLaunchEmptyResult", "DBASYNCPollArg", "DBASYNCPollResultBase", "DBASYNCPollEmptyResult", "DBASYNCPollError" ] }, { "name": "Auth", "children": [ "DBAUTHAccessError", "DBAUTHAuthError", "DBAUTHInvalidAccountTypeError", "DBAUTHPaperAccessError", "DBAUTHRateLimitError", "DBAUTHRateLimitReason", "DBAUTHTokenFromOAuth1Arg", "DBAUTHTokenFromOAuth1Error", "DBAUTHTokenFromOAuth1Result", "DBAUTHTokenScopeError" ] }, { "name": "Check", "children": [ "DBCHECKEchoArg", "DBCHECKEchoResult" ] }, { "name": "Common", "children": [ "DBCOMMONPathRoot", "DBCOMMONPathRootError", "DBCOMMONRootInfo", "DBCOMMONTeamRootInfo", "DBCOMMONUserRootInfo" ] }, { "name": "Contacts", "children": [ "DBCONTACTSDeleteManualContactsArg", "DBCONTACTSDeleteManualContactsError" ] }, { "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", "DBFILEPROPERTIESUpdateTemplateResult" ] }, { "name": "FileRequests", "children": [ "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", "children": [ "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": "Openid", "children": [ "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", "children": [ "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", "children": [ "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", "children": [ "DBTEAMCOMMONGroupManagementType", "DBTEAMCOMMONGroupSummary", "DBTEAMCOMMONGroupType", "DBTEAMCOMMONMemberSpaceLimitType", "DBTEAMCOMMONTimeRange" ] }, { "name": "TeamLog", "children": [ "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", "children": [ "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", "children": [ "DBUSERSAccount", "DBUSERSBasicAccount", "DBUSERSFileLockingValue", "DBUSERSFullAccount", "DBUSERSTeam", "DBUSERSFullTeam", "DBUSERSGetAccountArg", "DBUSERSGetAccountBatchArg", "DBUSERSGetAccountBatchError", "DBUSERSGetAccountError", "DBUSERSIndividualSpaceAllocation", "DBUSERSName", "DBUSERSPaperAsFilesValue", "DBUSERSSpaceAllocation", "DBUSERSSpaceUsage", "DBUSERSTeamSpaceAllocation", "DBUSERSUserFeature", "DBUSERSUserFeatureValue", "DBUSERSUserFeaturesGetValuesBatchArg", "DBUSERSUserFeaturesGetValuesBatchError", "DBUSERSUserFeaturesGetValuesBatchResult" ] }, { "name": "UsersCommon", "children": [ "DBUSERSCOMMONAccountType" ] }, { "name": "Clients", "children": [ "DBUserClient", "DBTeamClient", "DBAppClient", "DBClientsManager" ] }, { "name": "Networking", "children": [ "DBTask", "DBRpcTask", "DBUploadTask", "DBDownloadUrlTask", "DBDownloadDataTask", "DBRequestError", "DBRequestHttpError", "DBRequestBadInputError", "DBRequestAuthError", "DBRequestAccessError", "DBRequestRateLimitError", "DBRequestInternalServerError", "DBRequestClientError", "DBTransportBaseConfig", "DBTransportDefaultConfig", "DBGlobalErrorResponseHandler", "DBTransportBaseClient", "DBTransportDefaultClient", "DBProgressBlock", "DBBatchUploadResponseBlock", "DBTasksStorage" ] }, { "name": "Custom", "children": [ "DBBatchUploadData", "DBBatchUploadTask" ] }, { "name": "OAuth", "children": [ "DBOAuthMobileManager", "DBOAuthManager", "DBAccessToken", "DBOAuthResult", "DBMobileSharedApplication", "DBDesktopSharedApplication", "DBSharedApplication" ] }, { "name": "Serializers", "children": [ "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", "children": [ "DBOAuthErrorType", "DBOAuthResultTag", "DBRequestErrorTag" ] }, { "name": "Route Objects", "children": [] } ], "author_url": "https://dropbox.com/developers", "hide_documentation_coverage": true } ================================================ FILE: Examples/DBRoulette/README.md ================================================ ## DBRoulette Example App for iOS and macOS ### Register your application Before using this sample app, you should register your application in the [Dropbox App Console](https://dropbox.com/developers/apps). This creates a record of your app with Dropbox that will be associated with the API calls you make. ### Obtain an OAuth 2.0 token All requests need to be made with an OAuth 2.0 access token. An OAuth token represents an authenticated link between a Dropbox app and 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). ### Overview DBRoulette is a simple sample app that uses the Dropbox API v2 Objective-C SDK. For iOS, example projects include projects integrated via **CocoaPods**, **Carthage**, and an **Xcode subproject**) to query the Dropbox API. The app requires the user to login to their Dropbox user account:

DBRoulette Auth View DBRoulette Auth View macOS

And then redirects them to a view where they can pull random photos from their Dropbox account:

DBRoulette Main View DBRoulette Main View macOS

If the Dropbox app has **Full Dropbox** permissions, this looks for all `.jpg`/`.png` files in the `/` folder of a user's Dropbox. If the Dropbox app has **App Folder** permissions, this looks for all `.jpg`/`.png` files in the `/Apps/DBRoulette` folder of the user's Dropbox. #### Sample app setup To begin using the DBRoulette sample app, you should do the following: * add your app key's value to the `appKey` variable in `AppDelegate.m` * add your app key's value to the URL Schemes array (`db-`) in `Info.plist` #### API calls DBRoulette showcases how to call two Dropbox User API endpoints, along with all the necessary error handling. First, DBRoulette queries the [/files/list_folder](https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder) endpoint to list all the contents in either the `/` folder of the user's Dropbox account (if app has **Full Dropbox** permission) or in `/Apps/DBRoulette` folder of the user's Dropbox (if app has **App Folder** permission). Then, DBRoulette filters the metadata result for all files with `.jpg` and `.png` extensions, and chooses one at random. Then, DBRoulette queries the [/files/download](https://www.dropbox.com/developers/documentation/http/documentation#files-download) endpoint to download the file contents and render it. ================================================ FILE: Examples/DBRoulette/iOS/CarthageProject/DBRoulette/Cartfile ================================================ # ObjectiveDropboxOfficial github "https://github.com/dropbox/dropbox-sdk-obj-c" ~> 7.0.0 ================================================ FILE: Examples/DBRoulette/iOS/CarthageProject/DBRoulette/Cartfile.resolved ================================================ github "dropbox/dropbox-sdk-obj-c" "7.0.0" ================================================ FILE: Examples/DBRoulette/iOS/CarthageProject/DBRoulette/DBRoulette/AppDelegate.h ================================================ // // AppDelegate.h // DBRoulette // // Copyright © 2016 Dropbox. All rights reserved. // #import @interface AppDelegate : UIResponder @property(strong, nonatomic) UIWindow *window; @property(nonatomic) BOOL authSuccessful; @end ================================================ FILE: Examples/DBRoulette/iOS/CarthageProject/DBRoulette/DBRoulette/AppDelegate.m ================================================ // // AppDelegate.m // DBRoulette // // Copyright © 2016 Dropbox. All rights reserved. // #import #import "AppDelegate.h" #import "PhotoViewController.h" #import "ViewController.h" @interface AppDelegate () @end @implementation AppDelegate - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { NSString *appKey = nil; NSString *registeredUrlToHandle = [[NSBundle mainBundle] objectForInfoDictionaryKey:@"CFBundleURLTypes"][0][@"CFBundleURLSchemes"][0]; if (!appKey || [registeredUrlToHandle containsString:@"<"]) { NSString *message = @"You need to set `appKey` variable in `AppDelegate.m`, as well as add to `Info.plist`, before you can use DBRoulette."; NSLog(@"%@", message); NSLog(@"Terminating..."); exit(1); } [DBClientsManager setupWithAppKey:appKey]; return YES; } - (BOOL)application:(UIApplication *)application handleOpenURL:(NSURL *)url { 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 { // Sent when the application is about to move from active to inactive state. This can occur for certain types of // temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and // it begins the transition to the background state. // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use // this method to pause the game. } - (void)applicationDidEnterBackground:(UIApplication *)application { // Use this method to release shared resources, save user data, invalidate timers, and store enough application state // information to restore your application to its current state in case it is terminated later. // If your application supports background execution, this method is called instead of applicationWillTerminate: when // the user quits. } - (void)applicationWillEnterForeground:(UIApplication *)application { // Called as part of the transition from the background to the inactive state; here you can undo many of the changes // made on entering the background. } - (void)applicationDidBecomeActive:(UIApplication *)application { // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was // previously in the background, optionally refresh the user interface. } - (void)applicationWillTerminate:(UIApplication *)application { // Called when the application is about to terminate. Save data if appropriate. See also // applicationDidEnterBackground:. } @end ================================================ FILE: Examples/DBRoulette/iOS/CarthageProject/DBRoulette/DBRoulette/Assets.xcassets/AppIcon.appiconset/Contents.json ================================================ { "images" : [ { "idiom" : "iphone", "size" : "29x29", "scale" : "2x" }, { "idiom" : "iphone", "size" : "29x29", "scale" : "3x" }, { "idiom" : "iphone", "size" : "40x40", "scale" : "2x" }, { "idiom" : "iphone", "size" : "40x40", "scale" : "3x" }, { "idiom" : "iphone", "size" : "60x60", "scale" : "2x" }, { "idiom" : "iphone", "size" : "60x60", "scale" : "3x" }, { "idiom" : "ipad", "size" : "29x29", "scale" : "1x" }, { "idiom" : "ipad", "size" : "29x29", "scale" : "2x" }, { "idiom" : "ipad", "size" : "40x40", "scale" : "1x" }, { "idiom" : "ipad", "size" : "40x40", "scale" : "2x" }, { "idiom" : "ipad", "size" : "76x76", "scale" : "1x" }, { "idiom" : "ipad", "size" : "76x76", "scale" : "2x" } ], "info" : { "version" : 1, "author" : "xcode" } } ================================================ FILE: Examples/DBRoulette/iOS/CarthageProject/DBRoulette/DBRoulette/Base.lproj/LaunchScreen.storyboard ================================================ ================================================ FILE: Examples/DBRoulette/iOS/CarthageProject/DBRoulette/DBRoulette/Base.lproj/Main.storyboard ================================================ ================================================ FILE: Examples/DBRoulette/iOS/CarthageProject/DBRoulette/DBRoulette/Info.plist ================================================ CFBundleURLTypes CFBundleURLSchemes db-<APP_KEY> CFBundleURLName LSApplicationQueriesSchemes dbapi-2 dbapi-8-emm CFBundleDevelopmentRegion en CFBundleExecutable $(EXECUTABLE_NAME) CFBundleIdentifier $(PRODUCT_BUNDLE_IDENTIFIER) CFBundleInfoDictionaryVersion 6.0 CFBundleName $(PRODUCT_NAME) CFBundlePackageType APPL CFBundleShortVersionString 1.0 CFBundleSignature ???? CFBundleVersion 1 LSRequiresIPhoneOS UILaunchStoryboardName LaunchScreen UIMainStoryboardFile Main UIRequiredDeviceCapabilities armv7 UISupportedInterfaceOrientations UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight UISupportedInterfaceOrientations~ipad UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight ================================================ FILE: Examples/DBRoulette/iOS/CarthageProject/DBRoulette/DBRoulette/PhotoViewController.h ================================================ // // PhotoViewController.h // DBRoulette // // Copyright © 2016 Dropbox. All rights reserved. // #import @interface PhotoViewController : UIViewController @end ================================================ FILE: Examples/DBRoulette/iOS/CarthageProject/DBRoulette/DBRoulette/PhotoViewController.m ================================================ // // PhotoViewController.m // DBRoulette // // Copyright © 2016 Dropbox. All rights reserved. // #import #import "PhotoViewController.h" @interface PhotoViewController () @property(weak, nonatomic) IBOutlet UIButton *randomPhotoButton; @property(weak, nonatomic) IBOutlet UIActivityIndicatorView *indicatorView; @property(nonatomic) UIImageView *currentImageView; @end @implementation PhotoViewController - (IBAction)randomPhotoButtonPressed:(id)sender { [self setStarted]; if (_currentImageView) { [_currentImageView removeFromSuperview]; } DBUserClient *client = [DBClientsManager authorizedClient]; NSString *searchPath = @""; // list folder metadata contents (folder will be root "/" Dropbox folder if app has permission // "Full Dropbox" or "/Apps//" if app has permission "App Folder"). [[client.filesRoutes listFolder:searchPath] setResponseBlock:^(DBFILESListFolderResult *result, DBFILESListFolderError *routeError, DBRequestError *error) { if (result) { [self displayPhotos:result.entries]; } else { NSString *title = @""; NSString *message = @""; if (routeError) { // Route-specific request error title = @"Route-specific error"; if ([routeError isPath]) { message = [NSString stringWithFormat:@"Invalid path: %@", routeError.path]; } } else { // Generic request error title = @"Generic request error"; if ([error isInternalServerError]) { DBRequestInternalServerError *internalServerError = [error asInternalServerError]; message = [NSString stringWithFormat:@"%@", internalServerError]; } else if ([error isBadInputError]) { DBRequestBadInputError *badInputError = [error asBadInputError]; message = [NSString stringWithFormat:@"%@", badInputError]; } else if ([error isAuthError]) { DBRequestAuthError *authError = [error asAuthError]; message = [NSString stringWithFormat:@"%@", authError]; } else if ([error isRateLimitError]) { DBRequestRateLimitError *rateLimitError = [error asRateLimitError]; message = [NSString stringWithFormat:@"%@", rateLimitError]; } else if ([error isHttpError]) { DBRequestHttpError *genericHttpError = [error asHttpError]; message = [NSString stringWithFormat:@"%@", genericHttpError]; } else if ([error isClientError]) { DBRequestClientError *genericLocalError = [error asClientError]; message = [NSString stringWithFormat:@"%@", genericLocalError]; } } UIAlertController *alertController = [UIAlertController alertControllerWithTitle:title message:message preferredStyle:(UIAlertControllerStyle)UIAlertControllerStyleAlert]; [alertController addAction:[UIAlertAction actionWithTitle:@"OK" style:(UIAlertActionStyle)UIAlertActionStyleCancel handler:nil]]; [self presentViewController:alertController animated:YES completion:nil]; [self setFinished]; } }]; } - (void)displayPhotos:(NSArray *)folderEntries { NSMutableArray *imagePaths = [NSMutableArray new]; for (DBFILESMetadata *entry in folderEntries) { NSString *itemName = entry.name; if ([self isImageType:itemName]) { [imagePaths addObject:entry.pathDisplay]; } } if ([imagePaths count] > 0) { NSString *imagePathToDownload = imagePaths[arc4random_uniform((int)[imagePaths count] - 1)]; [self downloadImage:imagePathToDownload]; } else { NSString *title = @"No images found"; NSString *message = @"There are currently no valid image files in the specified search path in your Dropbox. " @"Please add some images and try again."; UIAlertController *alertController = [UIAlertController alertControllerWithTitle:title message:message preferredStyle:(UIAlertControllerStyle)UIAlertControllerStyleAlert]; [alertController addAction:[UIAlertAction actionWithTitle:@"OK" style:(UIAlertActionStyle)UIAlertActionStyleCancel handler:nil]]; [self presentViewController:alertController animated:YES completion:nil]; [self setFinished]; } } - (BOOL)isImageType:(NSString *)itemName { NSRange range = [itemName rangeOfString:@"\\.jpeg|\\.jpg|\\.JPEG|\\.JPG|\\.png" options:NSRegularExpressionSearch]; return range.location != NSNotFound; } - (void)downloadImage:(NSString *)imagePath { DBUserClient *client = [DBClientsManager authorizedClient]; [[client.filesRoutes downloadData:imagePath] setResponseBlock:^(DBFILESFileMetadata *result, DBFILESDownloadError *routeError, DBRequestError *error, NSData *fileData) { if (result) { UIImageView *imageView = [[UIImageView alloc] initWithImage:[UIImage imageWithData:fileData]]; imageView.frame = CGRectMake(100, 100, 300, 300); [imageView setCenter:CGPointMake(self.view.bounds.size.width/2, self.view.bounds.size.height/2)]; [self.view addSubview:imageView]; _currentImageView = imageView; [self setFinished]; } else { NSString *title = @""; NSString *message = @""; if (routeError) { // Route-specific request error title = @"Route-specific error"; if ([routeError isPath]) { message = [NSString stringWithFormat:@"Invalid path: %@", routeError.path]; } else if ([routeError isOther]) { message = [NSString stringWithFormat:@"Unknown error: %@", routeError]; } } else { // Generic request error title = @"Generic request error"; if ([error isInternalServerError]) { DBRequestInternalServerError *internalServerError = [error asInternalServerError]; message = [NSString stringWithFormat:@"%@", internalServerError]; } else if ([error isBadInputError]) { DBRequestBadInputError *badInputError = [error asBadInputError]; message = [NSString stringWithFormat:@"%@", badInputError]; } else if ([error isAuthError]) { DBRequestAuthError *authError = [error asAuthError]; message = [NSString stringWithFormat:@"%@", authError]; } else if ([error isRateLimitError]) { DBRequestRateLimitError *rateLimitError = [error asRateLimitError]; message = [NSString stringWithFormat:@"%@", rateLimitError]; } else if ([error isHttpError]) { DBRequestHttpError *genericHttpError = [error asHttpError]; message = [NSString stringWithFormat:@"%@", genericHttpError]; } else if ([error isClientError]) { DBRequestClientError *genericLocalError = [error asClientError]; message = [NSString stringWithFormat:@"%@", genericLocalError]; } } UIAlertController *alertController = [UIAlertController alertControllerWithTitle:title message:message preferredStyle:(UIAlertControllerStyle)UIAlertControllerStyleAlert]; [alertController addAction:[UIAlertAction actionWithTitle:@"OK" style:(UIAlertActionStyle)UIAlertActionStyleCancel handler:nil]]; [self presentViewController:alertController animated:YES completion:nil]; [self setFinished]; } }]; } - (void)setStarted { [_indicatorView startAnimating]; _indicatorView.hidden = NO; } - (void)setFinished { [_indicatorView stopAnimating]; _indicatorView.hidden = YES; } - (void)viewDidLoad { [super viewDidLoad]; _indicatorView.hidden = YES; // Do any additional setup after loading the view, typically from a nib. } - (void)viewDidAppear:(BOOL)animated { [super viewDidLoad]; } - (void)didReceiveMemoryWarning { [super didReceiveMemoryWarning]; // Dispose of any resources that can be recreated. } @end ================================================ FILE: Examples/DBRoulette/iOS/CarthageProject/DBRoulette/DBRoulette/ViewController.h ================================================ // // ViewController.h // DBRoulette // // Copyright © 2016 Dropbox. All rights reserved. // #import static BOOL showPhotoView = NO; @interface ViewController : UIViewController @property (nonatomic) BOOL authSuccessful; - (void)checkButtons; @end ================================================ FILE: Examples/DBRoulette/iOS/CarthageProject/DBRoulette/DBRoulette/ViewController.m ================================================ // // ViewController.m // DBRoulette // // Copyright © 2016 Dropbox. All rights reserved. // #import #import "PhotoViewController.h" #import "ViewController.h" @interface ViewController () @property(weak, nonatomic) IBOutlet UIButton *linkDropboxButton; @property(weak, nonatomic) IBOutlet UIButton *unlinkDropboxButton; @property(nonatomic) UIBarButtonItem *oldButton; @end @implementation ViewController - (IBAction)linkDropboxButtonPressed:(id)sender { [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 { [DBClientsManager unlinkAndResetClients]; [self checkButtons]; } - (void)viewDidLoad { [super viewDidLoad]; [self checkButtons]; } - (void)viewDidAppear:(BOOL)animated { [super viewDidLoad]; [self checkButtons]; if (_authSuccessful) { _authSuccessful = NO; [self presentPhotoViewController]; } } - (void)didReceiveMemoryWarning { [super didReceiveMemoryWarning]; // Dispose of any resources that can be recreated. } - (void)checkButtons { if ([DBClientsManager authorizedClient] || [DBClientsManager authorizedTeamClient]) { if (_oldButton) { self.navigationItem.rightBarButtonItem = _oldButton; } _linkDropboxButton.hidden = YES; _unlinkDropboxButton.hidden = NO; } else { _oldButton = self.navigationItem.rightBarButtonItem; self.navigationItem.rightBarButtonItem = nil; _linkDropboxButton.hidden = NO; _unlinkDropboxButton.hidden = YES; } } - (void)presentPhotoViewController { UIStoryboard *storyboard = [UIStoryboard storyboardWithName:@"Main" bundle:nil]; PhotoViewController *photoViewController = (PhotoViewController *)[storyboard instantiateViewControllerWithIdentifier:@"PhotoViewController"]; [self.navigationController pushViewController:photoViewController animated:NO]; } @end ================================================ FILE: Examples/DBRoulette/iOS/CarthageProject/DBRoulette/DBRoulette/main.m ================================================ // // main.m // DBRoulette // // Created by Stephen Cobbe on 9/13/16. // Copyright © 2016 Dropbox. All rights reserved. // #import #import "AppDelegate.h" int main(int argc, char * argv[]) { @autoreleasepool { return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); } } ================================================ FILE: Examples/DBRoulette/iOS/CarthageProject/DBRoulette/DBRoulette.xcodeproj/project.pbxproj ================================================ // !$*UTF8*$! { archiveVersion = 1; classes = { }; 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 */; }; F2ACB74B1D88A99200596DDE /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = F2ACB7491D88A99200596DDE /* Main.storyboard */; }; 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 */; }; /* 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 = ""; }; F2ACB7441D88A99200596DDE /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = ""; }; F2ACB7461D88A99200596DDE /* ViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ViewController.h; sourceTree = ""; }; F2ACB7471D88A99200596DDE /* ViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ViewController.m; sourceTree = ""; }; F2ACB74A1D88A99200596DDE /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; F2ACB74C1D88A99200596DDE /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; F2ACB74F1D88A99200596DDE /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; F2ACB7511D88A99200596DDE /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; F2ACB75A1D88ABBE00596DDE /* PhotoViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PhotoViewController.h; sourceTree = ""; }; F2ACB75B1D88ABD700596DDE /* PhotoViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PhotoViewController.m; sourceTree = ""; }; F2E0ABC61D92392A00CEA4D3 /* ObjectiveDropboxOfficial.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = ObjectiveDropboxOfficial.framework; path = Carthage/Build/iOS/ObjectiveDropboxOfficial.framework; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ F2ACB73A1D88A99200596DDE /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( 0C8C5625260EC93200CD70B7 /* ObjectiveDropboxOfficial.xcframework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ F2ACB7341D88A99200596DDE = { isa = PBXGroup; children = ( F2ACB73F1D88A99200596DDE /* DBRoulette */, F2ACB73E1D88A99200596DDE /* Products */, F2E0ABC51D92392A00CEA4D3 /* Frameworks */, ); sourceTree = ""; }; F2ACB73E1D88A99200596DDE /* Products */ = { isa = PBXGroup; children = ( F2ACB73D1D88A99200596DDE /* DBRoulette.app */, ); name = Products; sourceTree = ""; }; F2ACB73F1D88A99200596DDE /* DBRoulette */ = { isa = PBXGroup; children = ( F2ACB7431D88A99200596DDE /* AppDelegate.h */, F2ACB7441D88A99200596DDE /* AppDelegate.m */, F2ACB7461D88A99200596DDE /* ViewController.h */, F2ACB7471D88A99200596DDE /* ViewController.m */, F2ACB75A1D88ABBE00596DDE /* PhotoViewController.h */, F2ACB75B1D88ABD700596DDE /* PhotoViewController.m */, F2ACB7491D88A99200596DDE /* Main.storyboard */, F2ACB74C1D88A99200596DDE /* Assets.xcassets */, F2ACB74E1D88A99200596DDE /* LaunchScreen.storyboard */, F2ACB7511D88A99200596DDE /* Info.plist */, F2ACB7401D88A99200596DDE /* Supporting Files */, ); path = DBRoulette; sourceTree = ""; }; F2ACB7401D88A99200596DDE /* Supporting Files */ = { isa = PBXGroup; children = ( F2ACB7411D88A99200596DDE /* main.m */, ); name = "Supporting Files"; sourceTree = ""; }; F2E0ABC51D92392A00CEA4D3 /* Frameworks */ = { isa = PBXGroup; children = ( 0C8C5624260EC93200CD70B7 /* ObjectiveDropboxOfficial.xcframework */, F2E0ABC61D92392A00CEA4D3 /* ObjectiveDropboxOfficial.framework */, ); name = Frameworks; sourceTree = ""; }; /* End PBXGroup section */ /* Begin PBXNativeTarget section */ F2ACB73C1D88A99200596DDE /* DBRoulette */ = { isa = PBXNativeTarget; buildConfigurationList = F2ACB7541D88A99200596DDE /* Build configuration list for PBXNativeTarget "DBRoulette" */; buildPhases = ( F2ACB7391D88A99200596DDE /* Sources */, F2ACB73A1D88A99200596DDE /* Frameworks */, F2ACB73B1D88A99200596DDE /* Resources */, 0C8C5627260EC93200CD70B7 /* Embed Frameworks */, ); buildRules = ( ); dependencies = ( ); name = DBRoulette; productName = DBRoulette; productReference = F2ACB73D1D88A99200596DDE /* DBRoulette.app */; productType = "com.apple.product-type.application"; }; /* End PBXNativeTarget section */ /* Begin PBXProject section */ F2ACB7351D88A99200596DDE /* Project object */ = { isa = PBXProject; attributes = { LastUpgradeCheck = 0800; ORGANIZATIONNAME = Dropbox; TargetAttributes = { F2ACB73C1D88A99200596DDE = { CreatedOnToolsVersion = 7.3.1; }; }; }; buildConfigurationList = F2ACB7381D88A99200596DDE /* Build configuration list for PBXProject "DBRoulette" */; compatibilityVersion = "Xcode 3.2"; developmentRegion = English; hasScannedForEncodings = 0; knownRegions = ( English, en, Base, ); mainGroup = F2ACB7341D88A99200596DDE; productRefGroup = F2ACB73E1D88A99200596DDE /* Products */; projectDirPath = ""; projectRoot = ""; targets = ( F2ACB73C1D88A99200596DDE /* DBRoulette */, ); }; /* End PBXProject section */ /* Begin PBXResourcesBuildPhase section */ F2ACB73B1D88A99200596DDE /* Resources */ = { isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( F2ACB7501D88A99200596DDE /* LaunchScreen.storyboard in Resources */, F2ACB74D1D88A99200596DDE /* Assets.xcassets in Resources */, F2ACB74B1D88A99200596DDE /* Main.storyboard in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXResourcesBuildPhase section */ /* Begin PBXSourcesBuildPhase section */ F2ACB7391D88A99200596DDE /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( F2ACB7481D88A99200596DDE /* ViewController.m in Sources */, F2ACB75C1D88ABD700596DDE /* PhotoViewController.m in Sources */, F2ACB7451D88A99200596DDE /* AppDelegate.m in Sources */, F2ACB7421D88A99200596DDE /* main.m in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXSourcesBuildPhase section */ /* Begin PBXVariantGroup section */ F2ACB7491D88A99200596DDE /* Main.storyboard */ = { isa = PBXVariantGroup; children = ( F2ACB74A1D88A99200596DDE /* Base */, ); name = Main.storyboard; sourceTree = ""; }; F2ACB74E1D88A99200596DDE /* LaunchScreen.storyboard */ = { isa = PBXVariantGroup; children = ( F2ACB74F1D88A99200596DDE /* Base */, ); name = LaunchScreen.storyboard; sourceTree = ""; }; /* End PBXVariantGroup section */ /* Begin XCBuildConfiguration section */ F2ACB7521D88A99200596DDE /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; 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_BOOL_CONVERSION = YES; CLANG_WARN_CONSTANT_CONVERSION = 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_OBJC_ROOT_CLASS = YES_ERROR; CLANG_WARN_SUSPICIOUS_MOVE = YES; CLANG_WARN_UNREACHABLE_CODE = YES; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; COPY_PHASE_STRIP = NO; DEBUG_INFORMATION_FORMAT = dwarf; ENABLE_STRICT_OBJC_MSGSEND = YES; ENABLE_TESTABILITY = YES; GCC_C_LANGUAGE_STANDARD = gnu99; GCC_DYNAMIC_NO_PIC = NO; GCC_NO_COMMON_BLOCKS = YES; GCC_OPTIMIZATION_LEVEL = 0; GCC_PREPROCESSOR_DEFINITIONS = ( "DEBUG=1", "$(inherited)", ); GCC_WARN_64_TO_32_BIT_CONVERSION = YES; GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; GCC_WARN_UNDECLARED_SELECTOR = YES; GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; IPHONEOS_DEPLOYMENT_TARGET = 9.3; MTL_ENABLE_DEBUG_INFO = YES; ONLY_ACTIVE_ARCH = YES; SDKROOT = iphoneos; TARGETED_DEVICE_FAMILY = "1,2"; }; name = Debug; }; F2ACB7531D88A99200596DDE /* Release */ = { isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; 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_BOOL_CONVERSION = YES; CLANG_WARN_CONSTANT_CONVERSION = 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_OBJC_ROOT_CLASS = YES_ERROR; CLANG_WARN_SUSPICIOUS_MOVE = YES; CLANG_WARN_UNREACHABLE_CODE = YES; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; COPY_PHASE_STRIP = NO; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; ENABLE_NS_ASSERTIONS = NO; ENABLE_STRICT_OBJC_MSGSEND = YES; GCC_C_LANGUAGE_STANDARD = gnu99; GCC_NO_COMMON_BLOCKS = YES; GCC_WARN_64_TO_32_BIT_CONVERSION = YES; GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; GCC_WARN_UNDECLARED_SELECTOR = YES; GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; IPHONEOS_DEPLOYMENT_TARGET = 9.3; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = iphoneos; TARGETED_DEVICE_FAMILY = "1,2"; VALIDATE_PRODUCT = YES; }; name = Release; }; F2ACB7551D88A99200596DDE /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; FRAMEWORK_SEARCH_PATHS = ( "$(inherited)", "$(PROJECT_DIR)/Carthage/Build/iOS", ); INFOPLIST_FILE = DBRoulette/Info.plist; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", ); PRODUCT_BUNDLE_IDENTIFIER = com.dropbox.DBRoulette; PRODUCT_NAME = "$(TARGET_NAME)"; }; name = Debug; }; F2ACB7561D88A99200596DDE /* Release */ = { isa = XCBuildConfiguration; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; FRAMEWORK_SEARCH_PATHS = ( "$(inherited)", "$(PROJECT_DIR)/Carthage/Build/iOS", ); INFOPLIST_FILE = DBRoulette/Info.plist; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", ); PRODUCT_BUNDLE_IDENTIFIER = com.dropbox.DBRoulette; PRODUCT_NAME = "$(TARGET_NAME)"; }; name = Release; }; /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ F2ACB7381D88A99200596DDE /* Build configuration list for PBXProject "DBRoulette" */ = { isa = XCConfigurationList; buildConfigurations = ( F2ACB7521D88A99200596DDE /* Debug */, F2ACB7531D88A99200596DDE /* Release */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; F2ACB7541D88A99200596DDE /* Build configuration list for PBXNativeTarget "DBRoulette" */ = { isa = XCConfigurationList; buildConfigurations = ( F2ACB7551D88A99200596DDE /* Debug */, F2ACB7561D88A99200596DDE /* Release */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; /* End XCConfigurationList section */ }; rootObject = F2ACB7351D88A99200596DDE /* Project object */; } ================================================ FILE: Examples/DBRoulette/iOS/CocoaPodsProject/DBRoulette/DBRoulette/AppDelegate.h ================================================ // // AppDelegate.h // DBRoulette // // Copyright © 2016 Dropbox. All rights reserved. // #import @interface AppDelegate : UIResponder @property(strong, nonatomic) UIWindow *window; @property(nonatomic) BOOL authSuccessful; @end ================================================ FILE: Examples/DBRoulette/iOS/CocoaPodsProject/DBRoulette/DBRoulette/AppDelegate.m ================================================ // // AppDelegate.m // DBRoulette // // Copyright © 2016 Dropbox. All rights reserved. // #import #import "AppDelegate.h" #import "PhotoViewController.h" #import "ViewController.h" @interface AppDelegate () @end @implementation AppDelegate - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { NSString *appKey = nil; NSString *registeredUrlToHandle = [[NSBundle mainBundle] objectForInfoDictionaryKey:@"CFBundleURLTypes"][0][@"CFBundleURLSchemes"][0]; if (!appKey || [registeredUrlToHandle containsString:@"<"]) { NSString *message = @"You need to set `appKey` variable in `AppDelegate.m`, as well as add to `Info.plist`, before you can use DBRoulette."; NSLog(@"%@", message); NSLog(@"Terminating..."); exit(1); } [DBClientsManager setupWithAppKey:appKey]; return YES; } - (BOOL)application:(UIApplication *)application handleOpenURL:(NSURL *)url { 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 { // Sent when the application is about to move from active to inactive state. This can occur for certain types of // temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and // it begins the transition to the background state. // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use // this method to pause the game. } - (void)applicationDidEnterBackground:(UIApplication *)application { // Use this method to release shared resources, save user data, invalidate timers, and store enough application state // information to restore your application to its current state in case it is terminated later. // If your application supports background execution, this method is called instead of applicationWillTerminate: when // the user quits. } - (void)applicationWillEnterForeground:(UIApplication *)application { // Called as part of the transition from the background to the inactive state; here you can undo many of the changes // made on entering the background. } - (void)applicationDidBecomeActive:(UIApplication *)application { // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was // previously in the background, optionally refresh the user interface. } - (void)applicationWillTerminate:(UIApplication *)application { // Called when the application is about to terminate. Save data if appropriate. See also // applicationDidEnterBackground:. } @end ================================================ FILE: Examples/DBRoulette/iOS/CocoaPodsProject/DBRoulette/DBRoulette/Assets.xcassets/AppIcon.appiconset/Contents.json ================================================ { "images" : [ { "idiom" : "iphone", "size" : "29x29", "scale" : "2x" }, { "idiom" : "iphone", "size" : "29x29", "scale" : "3x" }, { "idiom" : "iphone", "size" : "40x40", "scale" : "2x" }, { "idiom" : "iphone", "size" : "40x40", "scale" : "3x" }, { "idiom" : "iphone", "size" : "60x60", "scale" : "2x" }, { "idiom" : "iphone", "size" : "60x60", "scale" : "3x" }, { "idiom" : "ipad", "size" : "29x29", "scale" : "1x" }, { "idiom" : "ipad", "size" : "29x29", "scale" : "2x" }, { "idiom" : "ipad", "size" : "40x40", "scale" : "1x" }, { "idiom" : "ipad", "size" : "40x40", "scale" : "2x" }, { "idiom" : "ipad", "size" : "76x76", "scale" : "1x" }, { "idiom" : "ipad", "size" : "76x76", "scale" : "2x" } ], "info" : { "version" : 1, "author" : "xcode" } } ================================================ FILE: Examples/DBRoulette/iOS/CocoaPodsProject/DBRoulette/DBRoulette/Base.lproj/LaunchScreen.storyboard ================================================ ================================================ FILE: Examples/DBRoulette/iOS/CocoaPodsProject/DBRoulette/DBRoulette/Base.lproj/Main.storyboard ================================================ ================================================ FILE: Examples/DBRoulette/iOS/CocoaPodsProject/DBRoulette/DBRoulette/Info.plist ================================================ CFBundleURLTypes CFBundleURLSchemes db-<APP_KEY> CFBundleURLName LSApplicationQueriesSchemes dbapi-2 dbapi-8-emm CFBundleDevelopmentRegion en CFBundleExecutable $(EXECUTABLE_NAME) CFBundleIdentifier $(PRODUCT_BUNDLE_IDENTIFIER) CFBundleInfoDictionaryVersion 6.0 CFBundleName $(PRODUCT_NAME) CFBundlePackageType APPL CFBundleShortVersionString 1.0 CFBundleSignature ???? CFBundleVersion 1 LSRequiresIPhoneOS UILaunchStoryboardName LaunchScreen UIMainStoryboardFile Main UIRequiredDeviceCapabilities armv7 UISupportedInterfaceOrientations UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight UISupportedInterfaceOrientations~ipad UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight ================================================ FILE: Examples/DBRoulette/iOS/CocoaPodsProject/DBRoulette/DBRoulette/PhotoViewController.h ================================================ // // PhotoViewController.h // DBRoulette // // Copyright © 2016 Dropbox. All rights reserved. // #import @interface PhotoViewController : UIViewController @end ================================================ FILE: Examples/DBRoulette/iOS/CocoaPodsProject/DBRoulette/DBRoulette/PhotoViewController.m ================================================ // // PhotoViewController.m // DBRoulette // // Copyright © 2016 Dropbox. All rights reserved. // #import #import "PhotoViewController.h" @interface PhotoViewController () @property(weak, nonatomic) IBOutlet UIButton *randomPhotoButton; @property(weak, nonatomic) IBOutlet UIActivityIndicatorView *indicatorView; @property(nonatomic) UIImageView *currentImageView; @end @implementation PhotoViewController - (IBAction)randomPhotoButtonPressed:(id)sender { [self setStarted]; if (_currentImageView) { [_currentImageView removeFromSuperview]; } DBUserClient *client = [DBClientsManager authorizedClient]; NSString *searchPath = @""; // list folder metadata contents (folder will be root "/" Dropbox folder if app has permission // "Full Dropbox" or "/Apps//" if app has permission "App Folder"). [[client.filesRoutes listFolder:searchPath] setResponseBlock:^(DBFILESListFolderResult *result, DBFILESListFolderError *routeError, DBRequestError *error) { if (result) { [self displayPhotos:result.entries]; } else { NSString *title = @""; NSString *message = @""; if (routeError) { // Route-specific request error title = @"Route-specific error"; if ([routeError isPath]) { message = [NSString stringWithFormat:@"Invalid path: %@", routeError.path]; } } else { // Generic request error title = @"Generic request error"; if ([error isInternalServerError]) { DBRequestInternalServerError *internalServerError = [error asInternalServerError]; message = [NSString stringWithFormat:@"%@", internalServerError]; } else if ([error isBadInputError]) { DBRequestBadInputError *badInputError = [error asBadInputError]; message = [NSString stringWithFormat:@"%@", badInputError]; } else if ([error isAuthError]) { DBRequestAuthError *authError = [error asAuthError]; message = [NSString stringWithFormat:@"%@", authError]; } else if ([error isRateLimitError]) { DBRequestRateLimitError *rateLimitError = [error asRateLimitError]; message = [NSString stringWithFormat:@"%@", rateLimitError]; } else if ([error isHttpError]) { DBRequestHttpError *genericHttpError = [error asHttpError]; message = [NSString stringWithFormat:@"%@", genericHttpError]; } else if ([error isClientError]) { DBRequestClientError *genericLocalError = [error asClientError]; message = [NSString stringWithFormat:@"%@", genericLocalError]; } } UIAlertController *alertController = [UIAlertController alertControllerWithTitle:title message:message preferredStyle:(UIAlertControllerStyle)UIAlertControllerStyleAlert]; [alertController addAction:[UIAlertAction actionWithTitle:@"OK" style:(UIAlertActionStyle)UIAlertActionStyleCancel handler:nil]]; [self presentViewController:alertController animated:YES completion:nil]; [self setFinished]; } }]; } - (void)displayPhotos:(NSArray *)folderEntries { NSMutableArray *imagePaths = [NSMutableArray new]; for (DBFILESMetadata *entry in folderEntries) { NSString *itemName = entry.name; if ([self isImageType:itemName]) { [imagePaths addObject:entry.pathDisplay]; } } if ([imagePaths count] > 0) { NSString *imagePathToDownload = imagePaths[arc4random_uniform((int)[imagePaths count] - 1)]; [self downloadImage:imagePathToDownload]; } else { NSString *title = @"No images found"; NSString *message = @"There are currently no valid image files in the specified search path in your Dropbox. " @"Please add some images and try again."; UIAlertController *alertController = [UIAlertController alertControllerWithTitle:title message:message preferredStyle:(UIAlertControllerStyle)UIAlertControllerStyleAlert]; [alertController addAction:[UIAlertAction actionWithTitle:@"OK" style:(UIAlertActionStyle)UIAlertActionStyleCancel handler:nil]]; [self presentViewController:alertController animated:YES completion:nil]; [self setFinished]; } } - (BOOL)isImageType:(NSString *)itemName { NSRange range = [itemName rangeOfString:@"\\.jpeg|\\.jpg|\\.JPEG|\\.JPG|\\.png" options:NSRegularExpressionSearch]; return range.location != NSNotFound; } - (void)downloadImage:(NSString *)imagePath { DBUserClient *client = [DBClientsManager authorizedClient]; [[client.filesRoutes downloadData:imagePath] setResponseBlock:^(DBFILESFileMetadata *result, DBFILESDownloadError *routeError, DBRequestError *error, NSData *fileData) { if (result) { UIImageView *imageView = [[UIImageView alloc] initWithImage:[UIImage imageWithData:fileData]]; imageView.frame = CGRectMake(100, 100, 300, 300); [imageView setCenter:CGPointMake(self.view.bounds.size.width/2, self.view.bounds.size.height/2)]; [self.view addSubview:imageView]; _currentImageView = imageView; [self setFinished]; } else { NSString *title = @""; NSString *message = @""; if (routeError) { // Route-specific request error title = @"Route-specific error"; if ([routeError isPath]) { message = [NSString stringWithFormat:@"Invalid path: %@", routeError.path]; } else if ([routeError isOther]) { message = [NSString stringWithFormat:@"Unknown error: %@", routeError]; } } else { // Generic request error title = @"Generic request error"; if ([error isInternalServerError]) { DBRequestInternalServerError *internalServerError = [error asInternalServerError]; message = [NSString stringWithFormat:@"%@", internalServerError]; } else if ([error isBadInputError]) { DBRequestBadInputError *badInputError = [error asBadInputError]; message = [NSString stringWithFormat:@"%@", badInputError]; } else if ([error isAuthError]) { DBRequestAuthError *authError = [error asAuthError]; message = [NSString stringWithFormat:@"%@", authError]; } else if ([error isRateLimitError]) { DBRequestRateLimitError *rateLimitError = [error asRateLimitError]; message = [NSString stringWithFormat:@"%@", rateLimitError]; } else if ([error isHttpError]) { DBRequestHttpError *genericHttpError = [error asHttpError]; message = [NSString stringWithFormat:@"%@", genericHttpError]; } else if ([error isClientError]) { DBRequestClientError *genericLocalError = [error asClientError]; message = [NSString stringWithFormat:@"%@", genericLocalError]; } } UIAlertController *alertController = [UIAlertController alertControllerWithTitle:title message:message preferredStyle:(UIAlertControllerStyle)UIAlertControllerStyleAlert]; [alertController addAction:[UIAlertAction actionWithTitle:@"OK" style:(UIAlertActionStyle)UIAlertActionStyleCancel handler:nil]]; [self presentViewController:alertController animated:YES completion:nil]; [self setFinished]; } }]; } - (void)setStarted { [_indicatorView startAnimating]; _indicatorView.hidden = NO; } - (void)setFinished { [_indicatorView stopAnimating]; _indicatorView.hidden = YES; } - (void)viewDidLoad { [super viewDidLoad]; _indicatorView.hidden = YES; // Do any additional setup after loading the view, typically from a nib. } - (void)viewDidAppear:(BOOL)animated { [super viewDidLoad]; } - (void)didReceiveMemoryWarning { [super didReceiveMemoryWarning]; // Dispose of any resources that can be recreated. } @end ================================================ FILE: Examples/DBRoulette/iOS/CocoaPodsProject/DBRoulette/DBRoulette/ViewController.h ================================================ // // ViewController.h // DBRoulette // // Copyright © 2016 Dropbox. All rights reserved. // #import static BOOL showPhotoView = NO; @interface ViewController : UIViewController @property (nonatomic) BOOL authSuccessful; - (void)checkButtons; @end ================================================ FILE: Examples/DBRoulette/iOS/CocoaPodsProject/DBRoulette/DBRoulette/ViewController.m ================================================ // // ViewController.m // DBRoulette // // Copyright © 2016 Dropbox. All rights reserved. // #import #import "PhotoViewController.h" #import "ViewController.h" @interface ViewController () @property(weak, nonatomic) IBOutlet UIButton *linkDropboxButton; @property(weak, nonatomic) IBOutlet UIButton *unlinkDropboxButton; @property(nonatomic) UIBarButtonItem *oldButton; @end @implementation ViewController - (IBAction)linkDropboxButtonPressed:(id)sender { [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 { [DBClientsManager unlinkAndResetClients]; [self checkButtons]; } - (void)viewDidLoad { [super viewDidLoad]; [self checkButtons]; } - (void)viewDidAppear:(BOOL)animated { [super viewDidLoad]; [self checkButtons]; if (_authSuccessful) { _authSuccessful = NO; [self presentPhotoViewController]; } } - (void)didReceiveMemoryWarning { [super didReceiveMemoryWarning]; // Dispose of any resources that can be recreated. } - (void)checkButtons { if ([DBClientsManager authorizedClient] || [DBClientsManager authorizedTeamClient]) { if (_oldButton) { self.navigationItem.rightBarButtonItem = _oldButton; } _linkDropboxButton.hidden = YES; _unlinkDropboxButton.hidden = NO; } else { _oldButton = self.navigationItem.rightBarButtonItem; self.navigationItem.rightBarButtonItem = nil; _linkDropboxButton.hidden = NO; _unlinkDropboxButton.hidden = YES; } } - (void)presentPhotoViewController { UIStoryboard *storyboard = [UIStoryboard storyboardWithName:@"Main" bundle:nil]; PhotoViewController *photoViewController = (PhotoViewController *)[storyboard instantiateViewControllerWithIdentifier:@"PhotoViewController"]; [self.navigationController pushViewController:photoViewController animated:NO]; } @end ================================================ FILE: Examples/DBRoulette/iOS/CocoaPodsProject/DBRoulette/DBRoulette/main.m ================================================ // // main.m // DBRoulette // // Created by Stephen Cobbe on 9/5/16. // Copyright © 2016 Dropbox. All rights reserved. // #import "AppDelegate.h" #import int main(int argc, char *argv[]) { @autoreleasepool { return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); } } ================================================ FILE: Examples/DBRoulette/iOS/CocoaPodsProject/DBRoulette/DBRoulette.xcodeproj/project.pbxproj ================================================ // !$*UTF8*$! { archiveVersion = 1; classes = { }; objectVersion = 46; objects = { /* Begin PBXBuildFile section */ 13D0157BCC0383D9455F4DA6 /* libPods-DBRoulette.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 705CA67E1713FF9EA64A85AB /* libPods-DBRoulette.a */; }; F272AD0D1D7E915C00E9727D /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = F272AD0C1D7E915C00E9727D /* main.m */; }; F272AD101D7E915C00E9727D /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = F272AD0F1D7E915C00E9727D /* AppDelegate.m */; }; F272AD131D7E915C00E9727D /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = F272AD121D7E915C00E9727D /* ViewController.m */; }; F272AD161D7E915C00E9727D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = F272AD141D7E915C00E9727D /* Main.storyboard */; }; F272AD181D7E915C00E9727D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = F272AD171D7E915C00E9727D /* Assets.xcassets */; }; F272AD1B1D7E915C00E9727D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = F272AD191D7E915C00E9727D /* LaunchScreen.storyboard */; }; F28C577A1D81ECDB009503DA /* PhotoViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = F28C57791D81ECDB009503DA /* PhotoViewController.m */; }; /* End PBXBuildFile section */ /* Begin PBXFileReference section */ 24976BC35CFC94B817796B39 /* Pods-DBRoulette.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-DBRoulette.debug.xcconfig"; path = "Pods/Target Support Files/Pods-DBRoulette/Pods-DBRoulette.debug.xcconfig"; sourceTree = ""; }; 59E3D8EAB25C901FE36484EF /* Pods-DBRoulette.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-DBRoulette.release.xcconfig"; path = "Pods/Target Support Files/Pods-DBRoulette/Pods-DBRoulette.release.xcconfig"; sourceTree = ""; }; 705CA67E1713FF9EA64A85AB /* libPods-DBRoulette.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-DBRoulette.a"; sourceTree = BUILT_PRODUCTS_DIR; }; F272AD081D7E915C00E9727D /* DBRoulette.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = DBRoulette.app; sourceTree = BUILT_PRODUCTS_DIR; }; F272AD0C1D7E915C00E9727D /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; F272AD0E1D7E915C00E9727D /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; }; F272AD0F1D7E915C00E9727D /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = ""; }; F272AD111D7E915C00E9727D /* ViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ViewController.h; sourceTree = ""; }; F272AD121D7E915C00E9727D /* ViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ViewController.m; sourceTree = ""; }; F272AD151D7E915C00E9727D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; F272AD171D7E915C00E9727D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; F272AD1A1D7E915C00E9727D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; F272AD1C1D7E915C00E9727D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; F28C57781D81ECC1009503DA /* PhotoViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = PhotoViewController.h; sourceTree = ""; }; F28C57791D81ECDB009503DA /* PhotoViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PhotoViewController.m; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ F272AD051D7E915C00E9727D /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( 13D0157BCC0383D9455F4DA6 /* libPods-DBRoulette.a in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ 26E69106F06E92B9EA3D3983 /* Pods */ = { isa = PBXGroup; children = ( 24976BC35CFC94B817796B39 /* Pods-DBRoulette.debug.xcconfig */, 59E3D8EAB25C901FE36484EF /* Pods-DBRoulette.release.xcconfig */, ); name = Pods; sourceTree = ""; }; D1972C5F74381F057BD9EE7F /* Frameworks */ = { isa = PBXGroup; children = ( 705CA67E1713FF9EA64A85AB /* libPods-DBRoulette.a */, ); name = Frameworks; sourceTree = ""; }; F272ACFF1D7E915C00E9727D = { isa = PBXGroup; children = ( F272AD0A1D7E915C00E9727D /* DBRoulette */, F272AD091D7E915C00E9727D /* Products */, 26E69106F06E92B9EA3D3983 /* Pods */, D1972C5F74381F057BD9EE7F /* Frameworks */, ); sourceTree = ""; }; F272AD091D7E915C00E9727D /* Products */ = { isa = PBXGroup; children = ( F272AD081D7E915C00E9727D /* DBRoulette.app */, ); name = Products; sourceTree = ""; }; F272AD0A1D7E915C00E9727D /* DBRoulette */ = { isa = PBXGroup; children = ( F272AD0E1D7E915C00E9727D /* AppDelegate.h */, F272AD0F1D7E915C00E9727D /* AppDelegate.m */, F272AD111D7E915C00E9727D /* ViewController.h */, F272AD121D7E915C00E9727D /* ViewController.m */, F28C57781D81ECC1009503DA /* PhotoViewController.h */, F28C57791D81ECDB009503DA /* PhotoViewController.m */, F272AD141D7E915C00E9727D /* Main.storyboard */, F272AD171D7E915C00E9727D /* Assets.xcassets */, F272AD191D7E915C00E9727D /* LaunchScreen.storyboard */, F272AD1C1D7E915C00E9727D /* Info.plist */, F272AD0B1D7E915C00E9727D /* Supporting Files */, ); path = DBRoulette; sourceTree = ""; }; F272AD0B1D7E915C00E9727D /* Supporting Files */ = { isa = PBXGroup; children = ( F272AD0C1D7E915C00E9727D /* main.m */, ); name = "Supporting Files"; sourceTree = ""; }; /* End PBXGroup section */ /* Begin PBXNativeTarget section */ F272AD071D7E915C00E9727D /* DBRoulette */ = { isa = PBXNativeTarget; buildConfigurationList = F272AD1F1D7E915C00E9727D /* Build configuration list for PBXNativeTarget "DBRoulette" */; buildPhases = ( 95FA91A542BC321FF3E24A1E /* [CP] Check Pods Manifest.lock */, F272AD041D7E915C00E9727D /* Sources */, F272AD051D7E915C00E9727D /* Frameworks */, F272AD061D7E915C00E9727D /* Resources */, ); buildRules = ( ); dependencies = ( ); name = DBRoulette; productName = DBRoulette; productReference = F272AD081D7E915C00E9727D /* DBRoulette.app */; productType = "com.apple.product-type.application"; }; /* End PBXNativeTarget section */ /* Begin PBXProject section */ F272AD001D7E915C00E9727D /* Project object */ = { isa = PBXProject; attributes = { LastUpgradeCheck = 0900; ORGANIZATIONNAME = Dropbox; TargetAttributes = { F272AD071D7E915C00E9727D = { CreatedOnToolsVersion = 7.3.1; }; }; }; buildConfigurationList = F272AD031D7E915C00E9727D /* Build configuration list for PBXProject "DBRoulette" */; compatibilityVersion = "Xcode 3.2"; developmentRegion = English; hasScannedForEncodings = 0; knownRegions = ( en, Base, ); mainGroup = F272ACFF1D7E915C00E9727D; productRefGroup = F272AD091D7E915C00E9727D /* Products */; projectDirPath = ""; projectRoot = ""; targets = ( F272AD071D7E915C00E9727D /* DBRoulette */, ); }; /* End PBXProject section */ /* Begin PBXResourcesBuildPhase section */ F272AD061D7E915C00E9727D /* Resources */ = { isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( F272AD1B1D7E915C00E9727D /* LaunchScreen.storyboard in Resources */, F272AD181D7E915C00E9727D /* Assets.xcassets in Resources */, F272AD161D7E915C00E9727D /* Main.storyboard in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXResourcesBuildPhase section */ /* Begin PBXShellScriptBuildPhase section */ 95FA91A542BC321FF3E24A1E /* [CP] Check Pods Manifest.lock */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( ); inputPaths = ( "${PODS_PODFILE_DIR_PATH}/Podfile.lock", "${PODS_ROOT}/Manifest.lock", ); name = "[CP] Check Pods Manifest.lock"; outputPaths = ( "$(DERIVED_FILE_DIR)/Pods-DBRoulette-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; }; /* End PBXShellScriptBuildPhase section */ /* Begin PBXSourcesBuildPhase section */ F272AD041D7E915C00E9727D /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( F272AD131D7E915C00E9727D /* ViewController.m in Sources */, F28C577A1D81ECDB009503DA /* PhotoViewController.m in Sources */, F272AD101D7E915C00E9727D /* AppDelegate.m in Sources */, F272AD0D1D7E915C00E9727D /* main.m in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXSourcesBuildPhase section */ /* Begin PBXVariantGroup section */ F272AD141D7E915C00E9727D /* Main.storyboard */ = { isa = PBXVariantGroup; children = ( F272AD151D7E915C00E9727D /* Base */, ); name = Main.storyboard; sourceTree = ""; }; F272AD191D7E915C00E9727D /* LaunchScreen.storyboard */ = { isa = PBXVariantGroup; children = ( F272AD1A1D7E915C00E9727D /* Base */, ); name = LaunchScreen.storyboard; sourceTree = ""; }; /* End PBXVariantGroup section */ /* Begin XCBuildConfiguration section */ F272AD1D1D7E915C00E9727D /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; 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_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_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; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; COPY_PHASE_STRIP = NO; DEBUG_INFORMATION_FORMAT = dwarf; ENABLE_STRICT_OBJC_MSGSEND = YES; ENABLE_TESTABILITY = YES; GCC_C_LANGUAGE_STANDARD = gnu99; GCC_DYNAMIC_NO_PIC = NO; GCC_NO_COMMON_BLOCKS = YES; GCC_OPTIMIZATION_LEVEL = 0; GCC_PREPROCESSOR_DEFINITIONS = ( "DEBUG=1", "$(inherited)", ); GCC_WARN_64_TO_32_BIT_CONVERSION = YES; GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; GCC_WARN_UNDECLARED_SELECTOR = YES; GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; IPHONEOS_DEPLOYMENT_TARGET = 9.3; MTL_ENABLE_DEBUG_INFO = YES; ONLY_ACTIVE_ARCH = YES; SDKROOT = iphoneos; TARGETED_DEVICE_FAMILY = "1,2"; }; name = Debug; }; F272AD1E1D7E915C00E9727D /* Release */ = { isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; 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_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_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; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; COPY_PHASE_STRIP = NO; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; ENABLE_NS_ASSERTIONS = NO; ENABLE_STRICT_OBJC_MSGSEND = YES; GCC_C_LANGUAGE_STANDARD = gnu99; GCC_NO_COMMON_BLOCKS = YES; GCC_WARN_64_TO_32_BIT_CONVERSION = YES; GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; GCC_WARN_UNDECLARED_SELECTOR = YES; GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; IPHONEOS_DEPLOYMENT_TARGET = 9.3; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = iphoneos; TARGETED_DEVICE_FAMILY = "1,2"; VALIDATE_PRODUCT = YES; }; name = Release; }; F272AD201D7E915C00E9727D /* Debug */ = { isa = XCBuildConfiguration; baseConfigurationReference = 24976BC35CFC94B817796B39 /* Pods-DBRoulette.debug.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; INFOPLIST_FILE = DBRoulette/Info.plist; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; PRODUCT_BUNDLE_IDENTIFIER = com.dropbox.DBRoulette; PRODUCT_NAME = "$(TARGET_NAME)"; }; name = Debug; }; F272AD211D7E915C00E9727D /* Release */ = { isa = XCBuildConfiguration; baseConfigurationReference = 59E3D8EAB25C901FE36484EF /* Pods-DBRoulette.release.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; INFOPLIST_FILE = DBRoulette/Info.plist; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; PRODUCT_BUNDLE_IDENTIFIER = com.dropbox.DBRoulette; PRODUCT_NAME = "$(TARGET_NAME)"; }; name = Release; }; /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ F272AD031D7E915C00E9727D /* Build configuration list for PBXProject "DBRoulette" */ = { isa = XCConfigurationList; buildConfigurations = ( F272AD1D1D7E915C00E9727D /* Debug */, F272AD1E1D7E915C00E9727D /* Release */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; F272AD1F1D7E915C00E9727D /* Build configuration list for PBXNativeTarget "DBRoulette" */ = { isa = XCConfigurationList; buildConfigurations = ( F272AD201D7E915C00E9727D /* Debug */, F272AD211D7E915C00E9727D /* Release */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; /* End XCConfigurationList section */ }; rootObject = F272AD001D7E915C00E9727D /* Project object */; } ================================================ FILE: Examples/DBRoulette/iOS/CocoaPodsProject/DBRoulette/Podfile ================================================ target 'DBRoulette' do pod 'ObjectiveDropboxOfficial' end ================================================ FILE: Examples/DBRoulette/iOS/SubprojectProject/DBRoulette/Cartfile ================================================ # ObjectiveDropboxOfficial github "https://github.com/dropbox/dropbox-sdk-obj-c" ~> 6.0.0 ================================================ FILE: Examples/DBRoulette/iOS/SubprojectProject/DBRoulette/Cartfile.resolved ================================================ github "dropbox/dropbox-sdk-obj-c" "6.0.0" ================================================ FILE: Examples/DBRoulette/iOS/SubprojectProject/DBRoulette/DBRoulette/AppDelegate.h ================================================ // // AppDelegate.h // DBRoulette // // Copyright © 2016 Dropbox. All rights reserved. // #import @interface AppDelegate : UIResponder @property(strong, nonatomic) UIWindow *window; @property(nonatomic) BOOL authSuccessful; @end ================================================ FILE: Examples/DBRoulette/iOS/SubprojectProject/DBRoulette/DBRoulette/AppDelegate.m ================================================ // // AppDelegate.m // DBRoulette // // Copyright © 2016 Dropbox. All rights reserved. // #import #import "AppDelegate.h" #import "PhotoViewController.h" #import "ViewController.h" @interface AppDelegate () @end @implementation AppDelegate - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { NSString *appKey = nil; NSString *registeredUrlToHandle = [[NSBundle mainBundle] objectForInfoDictionaryKey:@"CFBundleURLTypes"][0][@"CFBundleURLSchemes"][0]; if (!appKey || [registeredUrlToHandle containsString:@"<"]) { NSString *message = @"You need to set `appKey` variable in `AppDelegate.m`, as well as add to `Info.plist`, before you can use DBRoulette."; NSLog(@"%@", message); NSLog(@"Terminating..."); exit(1); } [DBClientsManager setupWithAppKey:appKey]; return YES; } - (BOOL)application:(UIApplication *)application handleOpenURL:(NSURL *)url { 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 { // Sent when the application is about to move from active to inactive state. This can occur for certain types of // temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and // it begins the transition to the background state. // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use // this method to pause the game. } - (void)applicationDidEnterBackground:(UIApplication *)application { // Use this method to release shared resources, save user data, invalidate timers, and store enough application state // information to restore your application to its current state in case it is terminated later. // If your application supports background execution, this method is called instead of applicationWillTerminate: when // the user quits. } - (void)applicationWillEnterForeground:(UIApplication *)application { // Called as part of the transition from the background to the inactive state; here you can undo many of the changes // made on entering the background. } - (void)applicationDidBecomeActive:(UIApplication *)application { // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was // previously in the background, optionally refresh the user interface. } - (void)applicationWillTerminate:(UIApplication *)application { // Called when the application is about to terminate. Save data if appropriate. See also // applicationDidEnterBackground:. } @end ================================================ FILE: Examples/DBRoulette/iOS/SubprojectProject/DBRoulette/DBRoulette/Assets.xcassets/AppIcon.appiconset/Contents.json ================================================ { "images" : [ { "idiom" : "iphone", "size" : "20x20", "scale" : "2x" }, { "idiom" : "iphone", "size" : "20x20", "scale" : "3x" }, { "idiom" : "iphone", "size" : "29x29", "scale" : "2x" }, { "idiom" : "iphone", "size" : "29x29", "scale" : "3x" }, { "idiom" : "iphone", "size" : "40x40", "scale" : "2x" }, { "idiom" : "iphone", "size" : "40x40", "scale" : "3x" }, { "idiom" : "iphone", "size" : "60x60", "scale" : "2x" }, { "idiom" : "iphone", "size" : "60x60", "scale" : "3x" }, { "idiom" : "ipad", "size" : "20x20", "scale" : "1x" }, { "idiom" : "ipad", "size" : "20x20", "scale" : "2x" }, { "idiom" : "ipad", "size" : "29x29", "scale" : "1x" }, { "idiom" : "ipad", "size" : "29x29", "scale" : "2x" }, { "idiom" : "ipad", "size" : "40x40", "scale" : "1x" }, { "idiom" : "ipad", "size" : "40x40", "scale" : "2x" }, { "idiom" : "ipad", "size" : "76x76", "scale" : "1x" }, { "idiom" : "ipad", "size" : "76x76", "scale" : "2x" }, { "idiom" : "ipad", "size" : "83.5x83.5", "scale" : "2x" } ], "info" : { "version" : 1, "author" : "xcode" } } ================================================ FILE: Examples/DBRoulette/iOS/SubprojectProject/DBRoulette/DBRoulette/Base.lproj/LaunchScreen.storyboard ================================================ ================================================ FILE: Examples/DBRoulette/iOS/SubprojectProject/DBRoulette/DBRoulette/Base.lproj/Main.storyboard ================================================ ================================================ FILE: Examples/DBRoulette/iOS/SubprojectProject/DBRoulette/DBRoulette/Info.plist ================================================ CFBundleURLTypes CFBundleURLSchemes db-<APP_KEY> CFBundleURLName LSApplicationQueriesSchemes dbapi-2 dbapi-8-emm CFBundleDevelopmentRegion en CFBundleExecutable $(EXECUTABLE_NAME) CFBundleIdentifier $(PRODUCT_BUNDLE_IDENTIFIER) CFBundleInfoDictionaryVersion 6.0 CFBundleName $(PRODUCT_NAME) CFBundlePackageType APPL CFBundleShortVersionString 1.0 CFBundleSignature ???? CFBundleVersion 1 LSRequiresIPhoneOS UILaunchStoryboardName LaunchScreen UIMainStoryboardFile Main UIRequiredDeviceCapabilities armv7 UISupportedInterfaceOrientations UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight UISupportedInterfaceOrientations~ipad UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight ================================================ FILE: Examples/DBRoulette/iOS/SubprojectProject/DBRoulette/DBRoulette/PhotoViewController.h ================================================ // // PhotoViewController.h // DBRoulette // // Copyright © 2016 Dropbox. All rights reserved. // #import @interface PhotoViewController : UIViewController @end ================================================ FILE: Examples/DBRoulette/iOS/SubprojectProject/DBRoulette/DBRoulette/PhotoViewController.m ================================================ // // PhotoViewController.m // DBRoulette // // Copyright © 2016 Dropbox. All rights reserved. // #import #import "PhotoViewController.h" @interface PhotoViewController () @property(weak, nonatomic) IBOutlet UIButton *randomPhotoButton; @property(weak, nonatomic) IBOutlet UIActivityIndicatorView *indicatorView; @property(nonatomic) UIImageView *currentImageView; @end @implementation PhotoViewController - (IBAction)randomPhotoButtonPressed:(id)sender { [self setStarted]; if (_currentImageView) { [_currentImageView removeFromSuperview]; } DBUserClient *client = [DBClientsManager authorizedClient]; NSString *searchPath = @""; // list folder metadata contents (folder will be root "/" Dropbox folder if app has permission // "Full Dropbox" or "/Apps//" if app has permission "App Folder"). [[client.filesRoutes listFolder:searchPath] setResponseBlock:^(DBFILESListFolderResult *result, DBFILESListFolderError *routeError, DBRequestError *error) { if (result) { [self displayPhotos:result.entries]; } else { NSString *title = @""; NSString *message = @""; if (routeError) { // Route-specific request error title = @"Route-specific error"; if ([routeError isPath]) { message = [NSString stringWithFormat:@"Invalid path: %@", routeError.path]; } } else { // Generic request error title = @"Generic request error"; if ([error isInternalServerError]) { DBRequestInternalServerError *internalServerError = [error asInternalServerError]; message = [NSString stringWithFormat:@"%@", internalServerError]; } else if ([error isBadInputError]) { DBRequestBadInputError *badInputError = [error asBadInputError]; message = [NSString stringWithFormat:@"%@", badInputError]; } else if ([error isAuthError]) { DBRequestAuthError *authError = [error asAuthError]; message = [NSString stringWithFormat:@"%@", authError]; } else if ([error isRateLimitError]) { DBRequestRateLimitError *rateLimitError = [error asRateLimitError]; message = [NSString stringWithFormat:@"%@", rateLimitError]; } else if ([error isHttpError]) { DBRequestHttpError *genericHttpError = [error asHttpError]; message = [NSString stringWithFormat:@"%@", genericHttpError]; } else if ([error isClientError]) { DBRequestClientError *genericLocalError = [error asClientError]; message = [NSString stringWithFormat:@"%@", genericLocalError]; } } UIAlertController *alertController = [UIAlertController alertControllerWithTitle:title message:message preferredStyle:(UIAlertControllerStyle)UIAlertControllerStyleAlert]; [alertController addAction:[UIAlertAction actionWithTitle:@"OK" style:(UIAlertActionStyle)UIAlertActionStyleCancel handler:nil]]; [self presentViewController:alertController animated:YES completion:nil]; [self setFinished]; } }]; } - (void)displayPhotos:(NSArray *)folderEntries { NSMutableArray *imagePaths = [NSMutableArray new]; for (DBFILESMetadata *entry in folderEntries) { NSString *itemName = entry.name; if ([self isImageType:itemName]) { [imagePaths addObject:entry.pathDisplay]; } } if ([imagePaths count] > 0) { NSString *imagePathToDownload = imagePaths[arc4random_uniform((int)[imagePaths count] - 1)]; [self downloadImage:imagePathToDownload]; } else { NSString *title = @"No images found"; NSString *message = @"There are currently no valid image files in the specified search path in your Dropbox. " @"Please add some images and try again."; UIAlertController *alertController = [UIAlertController alertControllerWithTitle:title message:message preferredStyle:(UIAlertControllerStyle)UIAlertControllerStyleAlert]; [alertController addAction:[UIAlertAction actionWithTitle:@"OK" style:(UIAlertActionStyle)UIAlertActionStyleCancel handler:nil]]; [self presentViewController:alertController animated:YES completion:nil]; [self setFinished]; } } - (BOOL)isImageType:(NSString *)itemName { NSRange range = [itemName rangeOfString:@"\\.jpeg|\\.jpg|\\.JPEG|\\.JPG|\\.png" options:NSRegularExpressionSearch]; return range.location != NSNotFound; } - (void)downloadImage:(NSString *)imagePath { DBUserClient *client = [DBClientsManager authorizedClient]; [[client.filesRoutes downloadData:imagePath] setResponseBlock:^(DBFILESFileMetadata *result, DBFILESDownloadError *routeError, DBRequestError *error, NSData *fileData) { if (result) { UIImageView *imageView = [[UIImageView alloc] initWithImage:[UIImage imageWithData:fileData]]; imageView.frame = CGRectMake(100, 100, 300, 300); [imageView setCenter:CGPointMake(self.view.bounds.size.width/2, self.view.bounds.size.height/2)]; [self.view addSubview:imageView]; _currentImageView = imageView; [self setFinished]; } else { NSString *title = @""; NSString *message = @""; if (routeError) { // Route-specific request error title = @"Route-specific error"; if ([routeError isPath]) { message = [NSString stringWithFormat:@"Invalid path: %@", routeError.path]; } else if ([routeError isOther]) { message = [NSString stringWithFormat:@"Unknown error: %@", routeError]; } } else { // Generic request error title = @"Generic request error"; if ([error isInternalServerError]) { DBRequestInternalServerError *internalServerError = [error asInternalServerError]; message = [NSString stringWithFormat:@"%@", internalServerError]; } else if ([error isBadInputError]) { DBRequestBadInputError *badInputError = [error asBadInputError]; message = [NSString stringWithFormat:@"%@", badInputError]; } else if ([error isAuthError]) { DBRequestAuthError *authError = [error asAuthError]; message = [NSString stringWithFormat:@"%@", authError]; } else if ([error isRateLimitError]) { DBRequestRateLimitError *rateLimitError = [error asRateLimitError]; message = [NSString stringWithFormat:@"%@", rateLimitError]; } else if ([error isHttpError]) { DBRequestHttpError *genericHttpError = [error asHttpError]; message = [NSString stringWithFormat:@"%@", genericHttpError]; } else if ([error isClientError]) { DBRequestClientError *genericLocalError = [error asClientError]; message = [NSString stringWithFormat:@"%@", genericLocalError]; } } UIAlertController *alertController = [UIAlertController alertControllerWithTitle:title message:message preferredStyle:(UIAlertControllerStyle)UIAlertControllerStyleAlert]; [alertController addAction:[UIAlertAction actionWithTitle:@"OK" style:(UIAlertActionStyle)UIAlertActionStyleCancel handler:nil]]; [self presentViewController:alertController animated:YES completion:nil]; [self setFinished]; } }]; } - (void)setStarted { [_indicatorView startAnimating]; _indicatorView.hidden = NO; } - (void)setFinished { [_indicatorView stopAnimating]; _indicatorView.hidden = YES; } - (void)viewDidLoad { [super viewDidLoad]; _indicatorView.hidden = YES; // Do any additional setup after loading the view, typically from a nib. } - (void)viewDidAppear:(BOOL)animated { [super viewDidLoad]; } - (void)didReceiveMemoryWarning { [super didReceiveMemoryWarning]; // Dispose of any resources that can be recreated. } @end ================================================ FILE: Examples/DBRoulette/iOS/SubprojectProject/DBRoulette/DBRoulette/ViewController.h ================================================ // // ViewController.h // DBRoulette // // Copyright © 2016 Dropbox. All rights reserved. // #import static BOOL showPhotoView = NO; @interface ViewController : UIViewController @property (nonatomic) BOOL authSuccessful; - (void)checkButtons; @end ================================================ FILE: Examples/DBRoulette/iOS/SubprojectProject/DBRoulette/DBRoulette/ViewController.m ================================================ // // ViewController.m // DBRoulette // // Copyright © 2016 Dropbox. All rights reserved. // #import #import "PhotoViewController.h" #import "ViewController.h" @interface ViewController () @property(weak, nonatomic) IBOutlet UIButton *linkDropboxButton; @property(weak, nonatomic) IBOutlet UIButton *unlinkDropboxButton; @property(nonatomic) UIBarButtonItem *oldButton; @end @implementation ViewController - (IBAction)linkDropboxButtonPressed:(id)sender { [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 { [DBClientsManager unlinkAndResetClients]; [self checkButtons]; } - (void)viewDidLoad { [super viewDidLoad]; [self checkButtons]; } - (void)viewDidAppear:(BOOL)animated { [super viewDidLoad]; [self checkButtons]; if (_authSuccessful) { _authSuccessful = NO; [self presentPhotoViewController]; } } - (void)didReceiveMemoryWarning { [super didReceiveMemoryWarning]; // Dispose of any resources that can be recreated. } - (void)checkButtons { if ([DBClientsManager authorizedClient] || [DBClientsManager authorizedTeamClient]) { if (_oldButton) { self.navigationItem.rightBarButtonItem = _oldButton; } _linkDropboxButton.hidden = YES; _unlinkDropboxButton.hidden = NO; } else { _oldButton = self.navigationItem.rightBarButtonItem; self.navigationItem.rightBarButtonItem = nil; _linkDropboxButton.hidden = NO; _unlinkDropboxButton.hidden = YES; } } - (void)presentPhotoViewController { UIStoryboard *storyboard = [UIStoryboard storyboardWithName:@"Main" bundle:nil]; PhotoViewController *photoViewController = (PhotoViewController *)[storyboard instantiateViewControllerWithIdentifier:@"PhotoViewController"]; [self.navigationController pushViewController:photoViewController animated:NO]; } @end ================================================ FILE: Examples/DBRoulette/iOS/SubprojectProject/DBRoulette/DBRoulette/main.m ================================================ // // main.m // DBRoulette // // Created by Stephen Cobbe on 9/13/16. // Copyright © 2016 Dropbox. All rights reserved. // #import #import "AppDelegate.h" int main(int argc, char * argv[]) { @autoreleasepool { return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); } } ================================================ FILE: Examples/DBRoulette/iOS/SubprojectProject/DBRoulette/DBRoulette.xcodeproj/project.pbxproj ================================================ // !$*UTF8*$! { archiveVersion = 1; classes = { }; objectVersion = 46; objects = { /* Begin PBXBuildFile section */ F2350E001D88B64D00BC3308 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = F2350DFF1D88B64D00BC3308 /* main.m */; }; F2350E031D88B64D00BC3308 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = F2350E021D88B64D00BC3308 /* AppDelegate.m */; }; F2350E061D88B64D00BC3308 /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = F2350E051D88B64D00BC3308 /* ViewController.m */; }; F2350E091D88B64D00BC3308 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = F2350E071D88B64D00BC3308 /* Main.storyboard */; }; F2350E0B1D88B64E00BC3308 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = F2350E0A1D88B64E00BC3308 /* Assets.xcassets */; }; F2350E0E1D88B64E00BC3308 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = F2350E0C1D88B64E00BC3308 /* LaunchScreen.storyboard */; }; F2350E251D88B70A00BC3308 /* PhotoViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = F2350E241D88B70A00BC3308 /* PhotoViewController.m */; }; F2A2DE541E57B7A3001D8449 /* ObjectiveDropboxOfficial.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F2A2DE4F1E57B77A001D8449 /* ObjectiveDropboxOfficial.framework */; }; F2A2DE551E57B7A3001D8449 /* ObjectiveDropboxOfficial.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = F2A2DE4F1E57B77A001D8449 /* ObjectiveDropboxOfficial.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ F2A2DE4E1E57B77A001D8449 /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = F2A2DE491E57B77A001D8449 /* ObjectiveDropboxOfficial.xcodeproj */; proxyType = 2; remoteGlobalIDString = F26B75751D7F6AF700714F70; remoteInfo = "ObjectiveDropboxOfficial iOS"; }; F2A2DE501E57B77A001D8449 /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = F2A2DE491E57B77A001D8449 /* ObjectiveDropboxOfficial.xcodeproj */; proxyType = 2; remoteGlobalIDString = F27DE9E21D7FF909003B1CEE; remoteInfo = "ObjectiveDropboxOfficial macOS"; }; F2A2DE561E57B7A3001D8449 /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = F2A2DE491E57B77A001D8449 /* ObjectiveDropboxOfficial.xcodeproj */; proxyType = 1; remoteGlobalIDString = F26B75741D7F6AF700714F70; remoteInfo = "ObjectiveDropboxOfficial iOS"; }; /* End PBXContainerItemProxy section */ /* Begin PBXCopyFilesBuildPhase section */ F2350E221D88B68600BC3308 /* Embed Frameworks */ = { isa = PBXCopyFilesBuildPhase; buildActionMask = 2147483647; dstPath = ""; dstSubfolderSpec = 10; files = ( F2A2DE551E57B7A3001D8449 /* ObjectiveDropboxOfficial.framework in Embed Frameworks */, ); name = "Embed Frameworks"; runOnlyForDeploymentPostprocessing = 0; }; /* End PBXCopyFilesBuildPhase section */ /* Begin PBXFileReference section */ F2350DFB1D88B64D00BC3308 /* DBRoulette.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = DBRoulette.app; sourceTree = BUILT_PRODUCTS_DIR; }; F2350DFF1D88B64D00BC3308 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; F2350E011D88B64D00BC3308 /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; }; F2350E021D88B64D00BC3308 /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = ""; }; F2350E041D88B64D00BC3308 /* ViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ViewController.h; sourceTree = ""; }; F2350E051D88B64D00BC3308 /* ViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ViewController.m; sourceTree = ""; }; F2350E081D88B64D00BC3308 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; F2350E0A1D88B64E00BC3308 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; F2350E0D1D88B64E00BC3308 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; F2350E0F1D88B64E00BC3308 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; F2350E231D88B6F600BC3308 /* PhotoViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = PhotoViewController.h; sourceTree = ""; }; F2350E241D88B70A00BC3308 /* PhotoViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PhotoViewController.m; sourceTree = ""; }; F2A2DE491E57B77A001D8449 /* ObjectiveDropboxOfficial.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = ObjectiveDropboxOfficial.xcodeproj; path = "Carthage/Checkouts/dropbox-sdk-obj-c/Source/ObjectiveDropboxOfficial/ObjectiveDropboxOfficial.xcodeproj"; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ F2350DF81D88B64D00BC3308 /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( F2A2DE541E57B7A3001D8449 /* ObjectiveDropboxOfficial.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ F2350DF21D88B64D00BC3308 = { isa = PBXGroup; children = ( F2A2DE491E57B77A001D8449 /* ObjectiveDropboxOfficial.xcodeproj */, F2350DFD1D88B64D00BC3308 /* DBRoulette */, F2350DFC1D88B64D00BC3308 /* Products */, ); sourceTree = ""; }; F2350DFC1D88B64D00BC3308 /* Products */ = { isa = PBXGroup; children = ( F2350DFB1D88B64D00BC3308 /* DBRoulette.app */, ); name = Products; sourceTree = ""; }; F2350DFD1D88B64D00BC3308 /* DBRoulette */ = { isa = PBXGroup; children = ( F2350E011D88B64D00BC3308 /* AppDelegate.h */, F2350E021D88B64D00BC3308 /* AppDelegate.m */, F2350E041D88B64D00BC3308 /* ViewController.h */, F2350E051D88B64D00BC3308 /* ViewController.m */, F2350E231D88B6F600BC3308 /* PhotoViewController.h */, F2350E241D88B70A00BC3308 /* PhotoViewController.m */, F2350E071D88B64D00BC3308 /* Main.storyboard */, F2350E0A1D88B64E00BC3308 /* Assets.xcassets */, F2350E0C1D88B64E00BC3308 /* LaunchScreen.storyboard */, F2350E0F1D88B64E00BC3308 /* Info.plist */, F2350DFE1D88B64D00BC3308 /* Supporting Files */, ); path = DBRoulette; sourceTree = ""; }; F2350DFE1D88B64D00BC3308 /* Supporting Files */ = { isa = PBXGroup; children = ( F2350DFF1D88B64D00BC3308 /* main.m */, ); name = "Supporting Files"; sourceTree = ""; }; F2A2DE4A1E57B77A001D8449 /* Products */ = { isa = PBXGroup; children = ( F2A2DE4F1E57B77A001D8449 /* ObjectiveDropboxOfficial.framework */, F2A2DE511E57B77A001D8449 /* ObjectiveDropboxOfficial.framework */, ); name = Products; sourceTree = ""; }; /* End PBXGroup section */ /* Begin PBXNativeTarget section */ F2350DFA1D88B64D00BC3308 /* DBRoulette */ = { isa = PBXNativeTarget; buildConfigurationList = F2350E121D88B64E00BC3308 /* Build configuration list for PBXNativeTarget "DBRoulette" */; buildPhases = ( F2350DF71D88B64D00BC3308 /* Sources */, F2350DF81D88B64D00BC3308 /* Frameworks */, F2350DF91D88B64D00BC3308 /* Resources */, F2350E221D88B68600BC3308 /* Embed Frameworks */, F23B85F31D9323E30059439A /* ShellScript */, ); buildRules = ( ); dependencies = ( F2A2DE571E57B7A3001D8449 /* PBXTargetDependency */, ); name = DBRoulette; productName = DBRoulette; productReference = F2350DFB1D88B64D00BC3308 /* DBRoulette.app */; productType = "com.apple.product-type.application"; }; /* End PBXNativeTarget section */ /* Begin PBXProject section */ F2350DF31D88B64D00BC3308 /* Project object */ = { isa = PBXProject; attributes = { LastUpgradeCheck = 0800; ORGANIZATIONNAME = Dropbox; TargetAttributes = { F2350DFA1D88B64D00BC3308 = { CreatedOnToolsVersion = 7.3.1; }; }; }; buildConfigurationList = F2350DF61D88B64D00BC3308 /* Build configuration list for PBXProject "DBRoulette" */; compatibilityVersion = "Xcode 3.2"; developmentRegion = English; hasScannedForEncodings = 0; knownRegions = ( en, Base, ); mainGroup = F2350DF21D88B64D00BC3308; productRefGroup = F2350DFC1D88B64D00BC3308 /* Products */; projectDirPath = ""; projectReferences = ( { ProductGroup = F2A2DE4A1E57B77A001D8449 /* Products */; ProjectRef = F2A2DE491E57B77A001D8449 /* ObjectiveDropboxOfficial.xcodeproj */; }, ); projectRoot = ""; targets = ( F2350DFA1D88B64D00BC3308 /* DBRoulette */, ); }; /* End PBXProject section */ /* Begin PBXReferenceProxy section */ F2A2DE4F1E57B77A001D8449 /* ObjectiveDropboxOfficial.framework */ = { isa = PBXReferenceProxy; fileType = wrapper.framework; path = ObjectiveDropboxOfficial.framework; remoteRef = F2A2DE4E1E57B77A001D8449 /* PBXContainerItemProxy */; sourceTree = BUILT_PRODUCTS_DIR; }; F2A2DE511E57B77A001D8449 /* ObjectiveDropboxOfficial.framework */ = { isa = PBXReferenceProxy; fileType = wrapper.framework; path = ObjectiveDropboxOfficial.framework; remoteRef = F2A2DE501E57B77A001D8449 /* PBXContainerItemProxy */; sourceTree = BUILT_PRODUCTS_DIR; }; /* End PBXReferenceProxy section */ /* Begin PBXResourcesBuildPhase section */ F2350DF91D88B64D00BC3308 /* Resources */ = { isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( F2350E0E1D88B64E00BC3308 /* LaunchScreen.storyboard in Resources */, F2350E0B1D88B64E00BC3308 /* Assets.xcassets in Resources */, F2350E091D88B64D00BC3308 /* Main.storyboard in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXResourcesBuildPhase section */ /* Begin PBXShellScriptBuildPhase section */ F23B85F31D9323E30059439A /* ShellScript */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( ); inputPaths = ( ); outputPaths = ( ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; shellScript = ""; }; /* End PBXShellScriptBuildPhase section */ /* Begin PBXSourcesBuildPhase section */ F2350DF71D88B64D00BC3308 /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( F2350E061D88B64D00BC3308 /* ViewController.m in Sources */, F2350E251D88B70A00BC3308 /* PhotoViewController.m in Sources */, F2350E031D88B64D00BC3308 /* AppDelegate.m in Sources */, F2350E001D88B64D00BC3308 /* main.m in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXSourcesBuildPhase section */ /* Begin PBXTargetDependency section */ F2A2DE571E57B7A3001D8449 /* PBXTargetDependency */ = { isa = PBXTargetDependency; name = "ObjectiveDropboxOfficial iOS"; targetProxy = F2A2DE561E57B7A3001D8449 /* PBXContainerItemProxy */; }; /* End PBXTargetDependency section */ /* Begin PBXVariantGroup section */ F2350E071D88B64D00BC3308 /* Main.storyboard */ = { isa = PBXVariantGroup; children = ( F2350E081D88B64D00BC3308 /* Base */, ); name = Main.storyboard; sourceTree = ""; }; F2350E0C1D88B64E00BC3308 /* LaunchScreen.storyboard */ = { isa = PBXVariantGroup; children = ( F2350E0D1D88B64E00BC3308 /* Base */, ); name = LaunchScreen.storyboard; sourceTree = ""; }; /* End PBXVariantGroup section */ /* Begin XCBuildConfiguration section */ F2350E101D88B64E00BC3308 /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; 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_BOOL_CONVERSION = YES; CLANG_WARN_CONSTANT_CONVERSION = 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_OBJC_ROOT_CLASS = YES_ERROR; CLANG_WARN_SUSPICIOUS_MOVE = YES; CLANG_WARN_UNREACHABLE_CODE = YES; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; COPY_PHASE_STRIP = NO; DEBUG_INFORMATION_FORMAT = dwarf; ENABLE_STRICT_OBJC_MSGSEND = YES; ENABLE_TESTABILITY = YES; GCC_C_LANGUAGE_STANDARD = gnu99; GCC_DYNAMIC_NO_PIC = NO; GCC_NO_COMMON_BLOCKS = YES; GCC_OPTIMIZATION_LEVEL = 0; GCC_PREPROCESSOR_DEFINITIONS = ( "DEBUG=1", "$(inherited)", ); GCC_WARN_64_TO_32_BIT_CONVERSION = YES; GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; GCC_WARN_UNDECLARED_SELECTOR = YES; GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; IPHONEOS_DEPLOYMENT_TARGET = 9.3; MTL_ENABLE_DEBUG_INFO = YES; ONLY_ACTIVE_ARCH = YES; SDKROOT = iphoneos; TARGETED_DEVICE_FAMILY = "1,2"; }; name = Debug; }; F2350E111D88B64E00BC3308 /* Release */ = { isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; 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_BOOL_CONVERSION = YES; CLANG_WARN_CONSTANT_CONVERSION = 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_OBJC_ROOT_CLASS = YES_ERROR; CLANG_WARN_SUSPICIOUS_MOVE = YES; CLANG_WARN_UNREACHABLE_CODE = YES; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; COPY_PHASE_STRIP = NO; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; ENABLE_NS_ASSERTIONS = NO; ENABLE_STRICT_OBJC_MSGSEND = YES; GCC_C_LANGUAGE_STANDARD = gnu99; GCC_NO_COMMON_BLOCKS = YES; GCC_WARN_64_TO_32_BIT_CONVERSION = YES; GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; GCC_WARN_UNDECLARED_SELECTOR = YES; GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; IPHONEOS_DEPLOYMENT_TARGET = 9.3; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = iphoneos; TARGETED_DEVICE_FAMILY = "1,2"; VALIDATE_PRODUCT = YES; }; name = Release; }; F2350E131D88B64E00BC3308 /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; INFOPLIST_FILE = DBRoulette/Info.plist; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; PRODUCT_BUNDLE_IDENTIFIER = com.dropbox.DBRoulette; PRODUCT_NAME = "$(TARGET_NAME)"; }; name = Debug; }; F2350E141D88B64E00BC3308 /* Release */ = { isa = XCBuildConfiguration; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; INFOPLIST_FILE = DBRoulette/Info.plist; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; PRODUCT_BUNDLE_IDENTIFIER = com.dropbox.DBRoulette; PRODUCT_NAME = "$(TARGET_NAME)"; }; name = Release; }; /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ F2350DF61D88B64D00BC3308 /* Build configuration list for PBXProject "DBRoulette" */ = { isa = XCConfigurationList; buildConfigurations = ( F2350E101D88B64E00BC3308 /* Debug */, F2350E111D88B64E00BC3308 /* Release */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; F2350E121D88B64E00BC3308 /* Build configuration list for PBXNativeTarget "DBRoulette" */ = { isa = XCConfigurationList; buildConfigurations = ( F2350E131D88B64E00BC3308 /* Debug */, F2350E141D88B64E00BC3308 /* Release */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; /* End XCConfigurationList section */ }; rootObject = F2350DF31D88B64D00BC3308 /* Project object */; } ================================================ FILE: Examples/DBRoulette/macOS/CarthageProject/DBRoulette/Cartfile ================================================ # ObjectiveDropboxOfficial github "https://github.com/dropbox/dropbox-sdk-obj-c" ~> 6.0.0 ================================================ FILE: Examples/DBRoulette/macOS/CarthageProject/DBRoulette/Cartfile.resolved ================================================ github "dropbox/dropbox-sdk-obj-c" "6.0.0" ================================================ FILE: Examples/DBRoulette/macOS/CarthageProject/DBRoulette/DBRoulette/AppDelegate.h ================================================ // // AppDelegate.h // DBRoulette // // Created by Stephen Cobbe on 2/27/17. // Copyright © 2017 Dropbox. All rights reserved. // #import @interface AppDelegate : NSObject @end ================================================ FILE: Examples/DBRoulette/macOS/CarthageProject/DBRoulette/DBRoulette/AppDelegate.m ================================================ // // AppDelegate.m // DBRoulette // // Created by Stephen Cobbe on 2/27/17. // Copyright © 2017 Dropbox. All rights reserved. // #import #import "AppDelegate.h" #import "ViewController.h" @interface AppDelegate () @end static NSTabViewController *tabViewController = nil; @implementation AppDelegate - (void)applicationDidFinishLaunching:(NSNotification *)aNotification { NSString *appKey = nil; NSString *registeredUrlToHandle = [[NSBundle mainBundle] objectForInfoDictionaryKey:@"CFBundleURLTypes"][0][@"CFBundleURLSchemes"][0]; if (!appKey || [registeredUrlToHandle containsString:@"<"]) { NSString *message = @"You need to set `appKey` variable in `AppDelegate.m`, as well as add to `Info.plist`, before you can use DBRoulette."; NSLog(@"%@", message); NSLog(@"Terminating..."); exit(1); } [DBClientsManager setupWithAppKeyDesktop:appKey]; tabViewController = (NSTabViewController *)[[[NSApplication sharedApplication] windows] objectAtIndex:0].contentViewController; [self checkAllButtons]; } // generic launch handler - (void)applicationWillFinishLaunching:(NSNotification *)notification { [[NSAppleEventManager sharedAppleEventManager] setEventHandler:self andSelector:@selector(handleAppleEvent:withReplyEvent:) forEventClass:kInternetEventClass andEventID:kAEGetURL]; } // custom handler - (void)handleAppleEvent:(NSAppleEventDescriptor *)event withReplyEvent:(NSAppleEventDescriptor *)replyEvent { NSURL *url = [NSURL URLWithString:[[event paramDescriptorForKeyword:keyDirectObject] stringValue]]; [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 { // Insert code here to tear down your application } - (void)checkAllButtons { if (tabViewController && tabViewController.childViewControllers[0]) { [tabViewController.childViewControllers[0] checkButtons]; } if (tabViewController && tabViewController.childViewControllers[1]) { [tabViewController.childViewControllers[1] checkButtons]; } } @end ================================================ FILE: Examples/DBRoulette/macOS/CarthageProject/DBRoulette/DBRoulette/Assets.xcassets/AppIcon.appiconset/Contents.json ================================================ { "images" : [ { "idiom" : "mac", "size" : "16x16", "scale" : "1x" }, { "idiom" : "mac", "size" : "16x16", "scale" : "2x" }, { "idiom" : "mac", "size" : "32x32", "scale" : "1x" }, { "idiom" : "mac", "size" : "32x32", "scale" : "2x" }, { "idiom" : "mac", "size" : "128x128", "scale" : "1x" }, { "idiom" : "mac", "size" : "128x128", "scale" : "2x" }, { "idiom" : "mac", "size" : "256x256", "scale" : "1x" }, { "idiom" : "mac", "size" : "256x256", "scale" : "2x" }, { "idiom" : "mac", "size" : "512x512", "scale" : "1x" }, { "idiom" : "mac", "size" : "512x512", "scale" : "2x" } ], "info" : { "version" : 1, "author" : "xcode" } } ================================================ FILE: Examples/DBRoulette/macOS/CarthageProject/DBRoulette/DBRoulette/Base.lproj/Main.storyboard ================================================ Default Left to Right Right to Left Default Left to Right Right to Left ================================================ FILE: Examples/DBRoulette/macOS/CarthageProject/DBRoulette/DBRoulette/Info.plist ================================================ LSApplicationQueriesSchemes dbapi-8-emm dbapi-2 CFBundleURLTypes CFBundleURLSchemes db-<APP_KEY> CFBundleURLName CFBundleDevelopmentRegion en CFBundleExecutable $(EXECUTABLE_NAME) CFBundleIconFile CFBundleIdentifier $(PRODUCT_BUNDLE_IDENTIFIER) CFBundleInfoDictionaryVersion 6.0 CFBundleName $(PRODUCT_NAME) CFBundlePackageType APPL CFBundleShortVersionString 1.0 CFBundleVersion 1 LSMinimumSystemVersion $(MACOSX_DEPLOYMENT_TARGET) NSHumanReadableCopyright Copyright © 2017 Dropbox. All rights reserved. NSMainStoryboardFile Main NSPrincipalClass NSApplication ================================================ FILE: Examples/DBRoulette/macOS/CarthageProject/DBRoulette/DBRoulette/PhotoViewController.h ================================================ // // PhotoViewController.h // DBRoulette // // Created by Stephen Cobbe on 2/27/17. // Copyright © 2017 Dropbox. All rights reserved. // #import @interface PhotoViewController : NSViewController @end ================================================ FILE: Examples/DBRoulette/macOS/CarthageProject/DBRoulette/DBRoulette/PhotoViewController.m ================================================ // // PhotoViewController.m // DBRoulette // // Created by Stephen Cobbe on 2/27/17. // Copyright © 2017 Dropbox. All rights reserved. // #import #import "PhotoViewController.h" @interface PhotoViewController () @property (weak) IBOutlet NSButton *randomPhotoButton; @property (nonatomic) NSImageView *currentImageView; @property (weak) IBOutlet NSProgressIndicator *indicator; @end @implementation PhotoViewController - (void)viewDidLoad { [super viewDidLoad]; _indicator.hidden = YES; } - (void)setRepresentedObject:(id)representedObject { [super setRepresentedObject:representedObject]; // Update the view, if already loaded. } - (IBAction)randomPhotoButtonPressed:(id)sender { [self setStarted]; if (_currentImageView) { [_currentImageView removeFromSuperview]; } DBUserClient *client = [DBClientsManager authorizedClient]; NSString *searchPath = @""; // list folder metadata contents (folder will be root "/" Dropbox folder if app has permission // "Full Dropbox" or "/Apps//" if app has permission "App Folder"). [[client.filesRoutes listFolder:searchPath] setResponseBlock:^(DBFILESListFolderResult *result, DBFILESListFolderError *routeError, DBRequestError *error) { if (result) { [self displayPhotos:result.entries]; } else { NSString *title = @""; NSString *message = @""; if (routeError) { // Route-specific request error title = @"Route-specific error"; if ([routeError isPath]) { message = [NSString stringWithFormat:@"Invalid path: %@", routeError.path]; } } else { // Generic request error title = @"Generic request error"; if ([error isInternalServerError]) { DBRequestInternalServerError *internalServerError = [error asInternalServerError]; message = [NSString stringWithFormat:@"%@", internalServerError]; } else if ([error isBadInputError]) { DBRequestBadInputError *badInputError = [error asBadInputError]; message = [NSString stringWithFormat:@"%@", badInputError]; } else if ([error isAuthError]) { DBRequestAuthError *authError = [error asAuthError]; message = [NSString stringWithFormat:@"%@", authError]; } else if ([error isRateLimitError]) { DBRequestRateLimitError *rateLimitError = [error asRateLimitError]; message = [NSString stringWithFormat:@"%@", rateLimitError]; } else if ([error isHttpError]) { DBRequestHttpError *genericHttpError = [error asHttpError]; message = [NSString stringWithFormat:@"%@", genericHttpError]; } else if ([error isClientError]) { DBRequestClientError *genericLocalError = [error asClientError]; message = [NSString stringWithFormat:@"%@", genericLocalError]; } } [self presentErrorWithTitle:title message:message]; [self setFinished]; } }]; } - (void)displayPhotos:(NSArray *)folderEntries { NSMutableArray *imagePaths = [NSMutableArray new]; for (DBFILESMetadata *entry in folderEntries) { NSString *itemName = entry.name; if ([self isImageType:itemName]) { [imagePaths addObject:entry.pathDisplay]; } } if ([imagePaths count] > 0) { NSString *imagePathToDownload = imagePaths[arc4random_uniform((int)[imagePaths count] - 1)]; [self downloadImage:imagePathToDownload]; } else { NSString *title = @"No images found"; NSString *message = @"There are currently no valid image files in the specified search path in your Dropbox. Please add some images and try again."; [self presentErrorWithTitle:title message:message]; [self setFinished]; } } - (BOOL)isImageType:(NSString *)itemName { NSRange range = [itemName rangeOfString:@"\\.jpeg|\\.jpg|\\.JPEG|\\.JPG|\\.png" options:NSRegularExpressionSearch]; return range.location != NSNotFound; } - (void)downloadImage:(NSString *)imagePath { DBUserClient *client = [DBClientsManager authorizedClient]; [[client.filesRoutes downloadData:imagePath] setResponseBlock:^(DBFILESFileMetadata *result, DBFILESDownloadError *routeError, DBRequestError *error, NSData *fileData) { if (result) { NSImageView *imageView = [[NSImageView alloc] initWithFrame:NSMakeRect(300, 300, 300, 300)]; [imageView setImage:[[NSImage alloc] initWithData:fileData]]; [imageView setFrameOrigin:NSMakePoint(self.view.bounds.size.width/2, self.view.bounds.size.height/2)]; [imageView setFrameOrigin:NSMakePoint( (NSWidth([self.view bounds]) - NSWidth([imageView frame])) / 2, (NSHeight([self.view bounds]) - NSHeight([imageView frame])) / 2 )]; [imageView setAutoresizingMask:NSViewMinXMargin | NSViewMaxXMargin | NSViewMinYMargin | NSViewMaxYMargin]; [self.view addSubview:imageView]; _currentImageView = imageView; [self setFinished]; } else { NSString *title = @""; NSString *message = @""; if (routeError) { // Route-specific request error title = @"Route-specific error"; if ([routeError isPath]) { message = [NSString stringWithFormat:@"Invalid path: %@", routeError.path]; } else if ([routeError isOther]) { message = [NSString stringWithFormat:@"Unknown error: %@", routeError]; } } else { // Generic request error title = @"Generic request error"; if ([error isInternalServerError]) { DBRequestInternalServerError *internalServerError = [error asInternalServerError]; message = [NSString stringWithFormat:@"%@", internalServerError]; } else if ([error isBadInputError]) { DBRequestBadInputError *badInputError = [error asBadInputError]; message = [NSString stringWithFormat:@"%@", badInputError]; } else if ([error isAuthError]) { DBRequestAuthError *authError = [error asAuthError]; message = [NSString stringWithFormat:@"%@", authError]; } else if ([error isRateLimitError]) { DBRequestRateLimitError *rateLimitError = [error asRateLimitError]; message = [NSString stringWithFormat:@"%@", rateLimitError]; } else if ([error isHttpError]) { DBRequestHttpError *genericHttpError = [error asHttpError]; message = [NSString stringWithFormat:@"%@", genericHttpError]; } else if ([error isClientError]) { DBRequestClientError *genericLocalError = [error asClientError]; message = [NSString stringWithFormat:@"%@", genericLocalError]; } } [self presentErrorWithTitle:title message:message]; [self setFinished]; } }]; } - (void)presentErrorWithTitle:(NSString *)title message:(NSString *)message { NSAlert *alert = [[NSAlert alloc] init]; [alert setMessageText:title]; [alert setInformativeText:message]; [alert addButtonWithTitle:@"Cancel"]; [alert addButtonWithTitle:@"Ok"]; [alert runModal]; } - (void)setStarted { _indicator.hidden = NO; [_indicator startAnimation:nil]; } - (void)setFinished { _indicator.hidden = YES; [_indicator stopAnimation:nil]; } - (void)checkButtons { if ([DBClientsManager authorizedClient] || [DBClientsManager authorizedTeamClient]) { [_randomPhotoButton setEnabled:YES]; } else { [_randomPhotoButton setEnabled:NO]; } } @end ================================================ FILE: Examples/DBRoulette/macOS/CarthageProject/DBRoulette/DBRoulette/ViewController.h ================================================ // // ViewController.h // DBRoulette // // Created by Stephen Cobbe on 2/27/17. // Copyright © 2017 Dropbox. All rights reserved. // #import @interface ViewController : NSViewController - (void)checkButtons; @end ================================================ FILE: Examples/DBRoulette/macOS/CarthageProject/DBRoulette/DBRoulette/ViewController.m ================================================ // // ViewController.m // DBRoulette // // Created by Stephen Cobbe on 2/27/17. // Copyright © 2017 Dropbox. All rights reserved. // #import #import "PhotoViewController.h" #import "ViewController.h" @interface ViewController () @property (weak) IBOutlet NSButton *linkButton; @property (weak) IBOutlet NSButton *unlinkButton; @end @implementation ViewController - (void)viewDidLoad { [super viewDidLoad]; } - (void)setRepresentedObject:(id)representedObject { [super setRepresentedObject:representedObject]; // Update the view, if already loaded. } - (IBAction)linkButtonPressed:(id)sender { [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 { [DBClientsManager unlinkAndResetClients]; [self checkAllButtons]; } - (void)checkButtons { if ([DBClientsManager authorizedClient] || [DBClientsManager authorizedTeamClient]) { [_linkButton setEnabled:NO]; [_unlinkButton setEnabled:YES]; } else { [_linkButton setEnabled:YES]; [_unlinkButton setEnabled:NO]; } } - (void)checkAllButtons { NSTabViewController * tabViewController = (NSTabViewController *)[[[NSApplication sharedApplication] windows] objectAtIndex:0].contentViewController; [tabViewController.childViewControllers[0] checkButtons]; [tabViewController.childViewControllers[1] checkButtons]; } @end ================================================ FILE: Examples/DBRoulette/macOS/CarthageProject/DBRoulette/DBRoulette/main.m ================================================ // // main.m // DBRoulette // // Created by Stephen Cobbe on 2/27/17. // Copyright © 2017 Dropbox. All rights reserved. // #import int main(int argc, const char * argv[]) { return NSApplicationMain(argc, argv); } ================================================ FILE: Examples/DBRoulette/macOS/CarthageProject/DBRoulette/DBRoulette.xcodeproj/project.pbxproj ================================================ // !$*UTF8*$! { archiveVersion = 1; classes = { }; 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 */; }; F2F8C0D51E651C000016D04A /* PhotoViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = F2F8C0D41E651C000016D04A /* PhotoViewController.m */; }; /* End PBXBuildFile section */ /* Begin PBXCopyFilesBuildPhase section */ F2F8C0CF1E651A760016D04A /* Embed Frameworks */ = { isa = PBXCopyFilesBuildPhase; buildActionMask = 2147483647; dstPath = ""; dstSubfolderSpec = 10; files = ( 0C451F6B2628E85F0082FBF3 /* ObjectiveDropboxOfficial.xcframework in Embed Frameworks */, ); name = "Embed Frameworks"; runOnlyForDeploymentPostprocessing = 0; }; F2F8C0D01E651AA00016D04A /* CopyFiles */ = { isa = PBXCopyFilesBuildPhase; buildActionMask = 2147483647; dstPath = ""; dstSubfolderSpec = 16; files = ( ); 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 = ""; }; F2F8C0BC1E6518C10016D04A /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; F2F8C0BE1E6518C10016D04A /* ViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ViewController.h; sourceTree = ""; }; F2F8C0BF1E6518C10016D04A /* ViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ViewController.m; sourceTree = ""; }; 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 = ""; }; 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 */ /* Begin PBXFrameworksBuildPhase section */ F2F8C0B21E6518C10016D04A /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( 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 = ( F2F8C0B71E6518C10016D04A /* DBRoulette */, F2F8C0B61E6518C10016D04A /* Products */, 0C451F642628E8540082FBF3 /* Frameworks */, ); sourceTree = ""; }; F2F8C0B61E6518C10016D04A /* Products */ = { isa = PBXGroup; children = ( F2F8C0B51E6518C10016D04A /* DBRoulette.app */, ); name = Products; sourceTree = ""; }; F2F8C0B71E6518C10016D04A /* DBRoulette */ = { isa = PBXGroup; children = ( F2F8C0B81E6518C10016D04A /* AppDelegate.h */, F2F8C0B91E6518C10016D04A /* AppDelegate.m */, F2F8C0BE1E6518C10016D04A /* ViewController.h */, F2F8C0BF1E6518C10016D04A /* ViewController.m */, F2F8C0D31E651BEE0016D04A /* PhotoViewController.h */, F2F8C0D41E651C000016D04A /* PhotoViewController.m */, F2F8C0C11E6518C10016D04A /* Assets.xcassets */, F2F8C0C31E6518C10016D04A /* Main.storyboard */, F2F8C0C61E6518C10016D04A /* Info.plist */, F2F8C0BB1E6518C10016D04A /* Supporting Files */, ); path = DBRoulette; sourceTree = ""; }; F2F8C0BB1E6518C10016D04A /* Supporting Files */ = { isa = PBXGroup; children = ( F2F8C0BC1E6518C10016D04A /* main.m */, ); name = "Supporting Files"; sourceTree = ""; }; /* End PBXGroup section */ /* Begin PBXNativeTarget section */ F2F8C0B41E6518C10016D04A /* DBRoulette */ = { isa = PBXNativeTarget; buildConfigurationList = F2F8C0C91E6518C10016D04A /* Build configuration list for PBXNativeTarget "DBRoulette" */; buildPhases = ( F2F8C0B11E6518C10016D04A /* Sources */, F2F8C0B21E6518C10016D04A /* Frameworks */, F2F8C0B31E6518C10016D04A /* Resources */, F2F8C0CF1E651A760016D04A /* Embed Frameworks */, F2F8C0D01E651AA00016D04A /* CopyFiles */, ); buildRules = ( ); dependencies = ( ); name = DBRoulette; productName = DBRoulette; productReference = F2F8C0B51E6518C10016D04A /* DBRoulette.app */; productType = "com.apple.product-type.application"; }; /* End PBXNativeTarget section */ /* Begin PBXProject section */ F2F8C0AD1E6518C10016D04A /* Project object */ = { isa = PBXProject; attributes = { LastUpgradeCheck = 0900; ORGANIZATIONNAME = Dropbox; TargetAttributes = { F2F8C0B41E6518C10016D04A = { CreatedOnToolsVersion = 8.2.1; ProvisioningStyle = Automatic; }; }; }; buildConfigurationList = F2F8C0B01E6518C10016D04A /* Build configuration list for PBXProject "DBRoulette" */; compatibilityVersion = "Xcode 3.2"; developmentRegion = English; hasScannedForEncodings = 0; knownRegions = ( English, en, Base, ); mainGroup = F2F8C0AC1E6518C10016D04A; productRefGroup = F2F8C0B61E6518C10016D04A /* Products */; projectDirPath = ""; projectRoot = ""; targets = ( F2F8C0B41E6518C10016D04A /* DBRoulette */, ); }; /* End PBXProject section */ /* Begin PBXResourcesBuildPhase section */ F2F8C0B31E6518C10016D04A /* Resources */ = { isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( F2F8C0C21E6518C10016D04A /* Assets.xcassets in Resources */, F2F8C0C51E6518C10016D04A /* Main.storyboard in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXResourcesBuildPhase section */ /* Begin PBXSourcesBuildPhase section */ F2F8C0B11E6518C10016D04A /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( F2F8C0C01E6518C10016D04A /* ViewController.m in Sources */, F2F8C0D51E651C000016D04A /* PhotoViewController.m in Sources */, F2F8C0BD1E6518C10016D04A /* main.m in Sources */, F2F8C0BA1E6518C10016D04A /* AppDelegate.m in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXSourcesBuildPhase section */ /* Begin PBXVariantGroup section */ F2F8C0C31E6518C10016D04A /* Main.storyboard */ = { isa = PBXVariantGroup; children = ( F2F8C0C41E6518C10016D04A /* Base */, ); name = Main.storyboard; sourceTree = ""; }; /* End PBXVariantGroup section */ /* Begin XCBuildConfiguration section */ F2F8C0C71E6518C10016D04A /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; 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_DIRECT_OBJC_ISA_USAGE = YES_ERROR; CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 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_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; CODE_SIGN_IDENTITY = "-"; COPY_PHASE_STRIP = NO; DEBUG_INFORMATION_FORMAT = dwarf; ENABLE_STRICT_OBJC_MSGSEND = YES; ENABLE_TESTABILITY = YES; GCC_C_LANGUAGE_STANDARD = gnu99; GCC_DYNAMIC_NO_PIC = NO; GCC_NO_COMMON_BLOCKS = YES; GCC_OPTIMIZATION_LEVEL = 0; GCC_PREPROCESSOR_DEFINITIONS = ( "DEBUG=1", "$(inherited)", ); GCC_WARN_64_TO_32_BIT_CONVERSION = YES; GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; GCC_WARN_UNDECLARED_SELECTOR = YES; GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; MACOSX_DEPLOYMENT_TARGET = 10.12; MTL_ENABLE_DEBUG_INFO = YES; ONLY_ACTIVE_ARCH = YES; SDKROOT = macosx; }; name = Debug; }; F2F8C0C81E6518C10016D04A /* Release */ = { isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; 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_DIRECT_OBJC_ISA_USAGE = YES_ERROR; CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 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_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; CODE_SIGN_IDENTITY = "-"; COPY_PHASE_STRIP = NO; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; ENABLE_NS_ASSERTIONS = NO; ENABLE_STRICT_OBJC_MSGSEND = YES; GCC_C_LANGUAGE_STANDARD = gnu99; GCC_NO_COMMON_BLOCKS = YES; GCC_WARN_64_TO_32_BIT_CONVERSION = YES; GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; GCC_WARN_UNDECLARED_SELECTOR = YES; GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; MACOSX_DEPLOYMENT_TARGET = 10.12; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = macosx; }; name = Release; }; F2F8C0CA1E6518C10016D04A /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; COMBINE_HIDPI_IMAGES = YES; FRAMEWORK_SEARCH_PATHS = ( "$(inherited)", "$(PROJECT_DIR)/Carthage/Build/Mac", ); INFOPLIST_FILE = DBRoulette/Info.plist; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/../Frameworks", ); PRODUCT_BUNDLE_IDENTIFIER = com.dropbox.DBRoulette; PRODUCT_NAME = "$(TARGET_NAME)"; }; name = Debug; }; F2F8C0CB1E6518C10016D04A /* Release */ = { isa = XCBuildConfiguration; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; COMBINE_HIDPI_IMAGES = YES; FRAMEWORK_SEARCH_PATHS = ( "$(inherited)", "$(PROJECT_DIR)/Carthage/Build/Mac", ); INFOPLIST_FILE = DBRoulette/Info.plist; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/../Frameworks", ); PRODUCT_BUNDLE_IDENTIFIER = com.dropbox.DBRoulette; PRODUCT_NAME = "$(TARGET_NAME)"; }; name = Release; }; /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ F2F8C0B01E6518C10016D04A /* Build configuration list for PBXProject "DBRoulette" */ = { isa = XCConfigurationList; buildConfigurations = ( F2F8C0C71E6518C10016D04A /* Debug */, F2F8C0C81E6518C10016D04A /* Release */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; F2F8C0C91E6518C10016D04A /* Build configuration list for PBXNativeTarget "DBRoulette" */ = { isa = XCConfigurationList; buildConfigurations = ( F2F8C0CA1E6518C10016D04A /* Debug */, F2F8C0CB1E6518C10016D04A /* Release */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; /* End XCConfigurationList section */ }; rootObject = F2F8C0AD1E6518C10016D04A /* Project object */; } ================================================ FILE: Format/UmbrellaHeader.h ================================================ #import "DBSDKImportsShared.h" #import "DBSDKImports-iOS.h" #import "DBSDKImports-macOS.h" ================================================ FILE: Format/format_files.sh ================================================ #!/bin/bash # e.g. `format_files.sh ` # set -euo pipefail exit_with_message() { local message=$1 local retcode="${2:-0}" 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 "{}" \; ================================================ FILE: Format/generate_docs.sh ================================================ #!/bin/sh # Script for generating jazzy docs if [ "$#" -ne 2 ]; then echo "Script requires two arguments: 1. path to docs repo checkout 2. path to updated SDK checkout." else sdk_version="$(git describe --abbrev=0 --tags)" docs_repo_location="$1" sdk_repo_location="$2" echo "Checking doc repo exists..." if [ -d $docs_repo_location ]; then if [ -d $sdk_repo_location ]; then docs_location="$docs_repo_location/api-docs/$sdk_version" tmp_location="$docs_repo_location/api-docs/all_sdk_files" if [ -d $docs_location ]; then rm -rf $docs_location fi mkdir $docs_location if [ -d $tmp_location ]; then rm -rf $tmp_location fi mkdir $tmp_location echo "Copying all sdk files to tmp directory..." find ../Source/ObjectiveDropboxOfficial/ -name \*.[h,m] -exec cp {} $tmp_location \; cp ../README.md $tmp_location cp ./UmbrellaHeader.h $tmp_location echo "Generating documents..." jazzy --objc --readme $tmp_location/README.md --umbrella-header $tmp_location/UmbrellaHeader.h --framework-root $tmp_location --config ../.jazzy.json --github_url https://github.com/dropbox/dropbox-sdk-obj-c --module-version $sdk_version --module ObjectiveDropboxOfficial -o $docs_location if [ -d $docs_location/css/ ]; then rm -rf $docs_location/css/ fi mkdir $docs_location/css/ cp jazzy.css $docs_location/css/ echo "Removing tmp sdk files..." rm -rf $tmp_location cd $docs_repo_location/api-docs rm latest ln -s $sdk_version latest cd - echo "Finished generating docs to: $docs_repo_location/api-docs." else echo "SDK directory does not exist" fi else echo "Docs directory does not exist" fi fi ================================================ FILE: Format/jazzy.css ================================================ html, body, div, span, h1, h3, h4, p, a, code, em, img, ul, li, table, tbody, tr, td { background: transparent; border: 0; margin: 0; outline: 0; padding: 0; vertical-align: baseline; } body { background-color: #f2f2f2; font-family: Helvetica, freesans, Arial, sans-serif; font-size: 14px; -webkit-font-smoothing: subpixel-antialiased; word-wrap: break-word; } h1, h2, h3 { margin-top: 0.8em; margin-bottom: 0.3em; font-weight: 100; color: black; } h1 { font-size: 2.5em; } h2 { font-size: 2em; border-bottom: 1px solid #e2e2e2; } h4 { font-size: 13px; line-height: 1.5; margin-top: 21px; } h5 { font-size: 1.1em; } h6 { font-size: 1.1em; color: #777; } .section-name { color: gray; display: block; font-family: Helvetica; font-size: 22px; font-weight: 100; margin-bottom: 15px; } pre, code { font: 0.95em Menlo, monospace; color: #777; word-wrap: normal; } p code, li code { background-color: #eee; padding: 2px 4px; border-radius: 4px; } a { color: #0088cc; text-decoration: none; } ul { padding-left: 15px; } li { line-height: 1.8em; } img { max-width: 100%; } blockquote { margin-left: 0; padding: 0 10px; border-left: 4px solid #ccc; } .content-wrapper { margin: 0 auto; width: 980px; } header { font-size: 0.85em; line-height: 26px; background-color: #414141; position: fixed; width: 100%; z-index: 1; } header img { padding-right: 6px; vertical-align: -4px; height: 16px; } header a { color: #fff; } header p { float: left; color: #999; } header .header-right { float: right; margin-left: 16px; } #breadcrumbs { background-color: #f2f2f2; height: 27px; padding-top: 17px; position: fixed; width: 100%; z-index: 1; margin-top: 26px; } #breadcrumbs #carat { height: 10px; margin: 0 5px; } .sidebar { background-color: #f9f9f9; border: 1px solid #e2e2e2; overflow-y: auto; overflow-x: hidden; position: fixed; top: 70px; bottom: 0; width: 400px; word-wrap: normal; } .nav-groups { overflow: scroll, list-style-type: none; background: #fff; padding-left: 0; } .nav-group-name { border-bottom: 1px solid #e2e2e2; font-size: 1.1em; font-weight: 100; padding: 15px 0 15px 20px; } .nav-group-name > a { color: #333; } .nav-group-tasks { margin-top: 5px; } .nav-group-task { font-size: 0.9em; list-style-type: none; white-space: nowrap; } .nav-group-task a { color: #888; } .main-content { background-color: #fff; border: 1px solid #e2e2e2; margin-left: 410px; position: absolute; overflow: hidden; padding-bottom: 60px; top: 70px; width: 850px; } .main-content p, .main-content a, .main-content code, .main-content em, .main-content ul, .main-content table, .main-content blockquote { margin-bottom: 1em; } .main-content p { line-height: 1.8em; } .main-content section .section:first-child { margin-top: 0; padding-top: 0; } .main-content section .task-group-section .task-group:first-of-type { padding-top: 10px; } .main-content section .task-group-section .task-group:first-of-type .section-name { padding-top: 15px; } .section { padding: 0 25px; } .highlight { background-color: #eee; padding: 10px 12px; border: 1px solid #e2e2e2; border-radius: 4px; overflow-x: auto; } .declaration .highlight { overflow-x: initial; padding: 0 40px 40px 0; margin-bottom: -25px; background-color: transparent; border: none; } .section-name { margin: 0; margin-left: 18px; } .task-group-section { padding-left: 6px; border-top: 1px solid #e2e2e2; } .task-group { padding-top: 0px; } .task-name-container a[name]:before { content: ""; display: block; padding-top: 70px; margin: -70px 0 0; } .item { padding-top: 8px; width: 100%; list-style-type: none; } .item a[name]:before { content: ""; display: block; padding-top: 70px; margin: -70px 0 0; } .item code { background-color: transparent; padding: 0; } .item .token { padding-left: 3px; margin-left: 15px; font-size: 11.9px; } .item .declaration-note { font-size: .85em; color: gray; font-style: italic; } .pointer-container { border-bottom: 1px solid #e2e2e2; left: -23px; padding-bottom: 13px; position: relative; width: 110%; } .pointer { background: #f9f9f9; border-left: 1px solid #e2e2e2; border-top: 1px solid #e2e2e2; height: 12px; left: 21px; top: -7px; -webkit-transform: rotate(45deg); -moz-transform: rotate(45deg); -o-transform: rotate(45deg); transform: rotate(45deg); position: absolute; width: 12px; } .height-container { display: none; left: -25px; padding: 0 25px; position: relative; width: 100%; overflow: hidden; } .height-container .section { background: #f9f9f9; border-bottom: 1px solid #e2e2e2; left: -25px; position: relative; width: 100%; padding-top: 10px; padding-bottom: 5px; } .aside, .language { padding: 6px 12px; margin: 12px 0; border-left: 5px solid #dddddd; overflow-y: hidden; } .aside .aside-title, .language .aside-title { font-size: 9px; letter-spacing: 2px; text-transform: uppercase; padding-bottom: 0; margin: 0; color: #aaa; -webkit-user-select: none; } .aside p:last-child, .language p:last-child { margin-bottom: 0; } .language { border-left: 5px solid #cde9f4; } .language .aside-title { color: #4b8afb; } .aside-warning { border-left: 5px solid #ff6666; } .aside-warning .aside-title { color: #ff0000; } .graybox { border-collapse: collapse; width: 100%; } .graybox p { margin: 0; word-break: break-word; min-width: 50px; } .graybox td { border: 1px solid #e2e2e2; padding: 5px 25px 5px 10px; vertical-align: middle; } .graybox tr td:first-of-type { text-align: right; padding: 7px; vertical-align: top; word-break: normal; width: 40px; } .slightly-smaller { font-size: 0.9em; } #footer { position: absolute; bottom: 10px; margin-left: 25px; } #footer p { margin: 0; color: #aaa; font-size: 0.8em; } html.dash header, html.dash #breadcrumbs, html.dash .sidebar { display: none; } html.dash .main-content { width: 980px; margin-left: 0; border: none; width: 100%; top: 0; padding-bottom: 0; } html.dash .height-container { display: block; } html.dash .item .token { margin-left: 0; } html.dash .content-wrapper { width: auto; } html.dash #footer { position: static; } ================================================ FILE: Format/jazzy.json ================================================ { "author": "Dropbox, Inc.", "skip_undocumented": true, "custom_categories": [ { "name": "Clients", "children": [ "DBUserClient", "DBTeamClient", "DBAppClient", "DBClientsManager" ] }, { "name": "Networking", "children": [ "DBTask", "DBRpcTask", "DBUploadTask", "DBDownloadUrlTask", "DBDownloadDataTask", "DBRequestError", "DBRequestHttpError", "DBRequestBadInputError", "DBRequestAuthError", "DBRequestAccessError", "DBRequestRateLimitError", "DBRequestInternalServerError", "DBRequestClientError", "DBTransportBaseConfig", "DBTransportDefaultConfig", "DBGlobalErrorResponseHandler", "DBTransportBaseClient", "DBTransportDefaultClient", "DBProgressBlock", "DBBatchUploadResponseBlock", "DBTasksStorage" ] }, { "name": "Custom", "children": [ "DBBatchUploadData", "DBBatchUploadTask" ] }, { "name": "OAuth", "children": [ "DBOAuthMobileManager", "DBOAuthManager", "DBAccessToken", "DBOAuthResult", "DBMobileSharedApplication", "DBDesktopSharedApplication", "DBSharedApplication" ] }, { "name": "Serializers", "children": [ "DBArraySerializer", "DBNSDateSerializer" ] }, { "name": "Union Tags", "children": [ "DBOAuthErrorType", "DBOAuthResultTag", "DBRequestErrorTag" ] }, { "name": "Route Objects", "children": [] } ], "author_url": "https://dropbox.com/developers", "hide_documentation_coverage": true } ================================================ FILE: LICENSE ================================================ 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 "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 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. ================================================ FILE: ObjectiveDropboxOfficial.podspec ================================================ Pod::Spec.new do |s| s.name = 'ObjectiveDropboxOfficial' s.version = '7.4.1' s.summary = 'Dropbox Objective C SDK for APIv2' 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 } 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.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' s.ios.public_header_files = 'Source/ObjectiveDropboxOfficial/Platform/ObjectiveDropboxOfficial_iOS/**/*.h' s.osx.frameworks = 'AppKit', 'SystemConfiguration', 'Foundation' s.ios.frameworks = 'UIKit', 'SafariServices', 'SystemConfiguration', 'Foundation' end ================================================ FILE: README.md ================================================ # Dropbox for Objective-C 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](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. --- ## Table of Contents * [System requirements](#system-requirements) * [Xcode 8 and iOS 10 bug](#xcode-8-and-ios-10-bug) * [Get started](#get-started) * [Register your application](#register-your-application) * [Obtain an OAuth 2.0 token](#obtain-an-oauth-20-token) * [SDK distribution](#sdk-distribution) * [CocoaPods](#cocoapods) * [Carthage](#carthage) * [Manually add subproject](#manually-add-subproject) * [Configure your project](#configure-your-project) * [Application `.plist` file](#application-plist-file) * [Handling the authorization flow](#handling-the-authorization-flow) * [Initialize a `DBUserClient` instance](#initialize-a-dbuserclient-instance) * [Begin the authorization flow](#begin-the-authorization-flow) * [Handle redirect back into SDK](#handle-redirect-back-into-sdk) * [Try some API requests](#try-some-api-requests) * [Dropbox client instance](#dropbox-client-instance) * [Handle the API response](#handle-the-api-response) * [Request types](#request-types) * [RPC-style request](#rpc-style-request) * [Upload-style request](#upload-style-request) * [Download-style request](#download-style-request) * [Note about background sessions](#note-about-background-sessions) * [Handling responses and errors](#handling-responses-and-errors) * [Route-specific errors](#route-specific-errors) * [Generic network request errors](#generic-network-request-errors) * [Response handling edge cases](#response-handling-edge-cases) * [Consistent global error handling](#consistent-global-error-handling) * [Customizing network calls](#customizing-network-calls) * [Configure network client](#configure-network-client) * [Specify API call response queue](#specify-api-call-response-queue) * [`DBClientsManager` class](#dbclientsmanager-class) * [Single Dropbox user case](#single-dropbox-user-case) * [Multiple Dropbox user case](#multiple-dropbox-user-case) * [Examples](#examples) * [Migrating from API v1](#migrating-from-api-v1) * [Migrating OAuth tokens from earlier SDKs](#migrating-oauth-tokens-from-earlier-sdks) * [Documentation](#documentation) * [Stone](#stone) * [Modifications](#modifications) * [App Store Connect Privacy Labels](#app-store-connect-privacy-labels) * [Bugs](#bugs) --- ## System requirements - iOS 11.0+ - macOS 10.10+ - Xcode 8+ (11.0+ if you use Carthage) --- ### Xcode 8 and iOS 10 bugs #### Keychain bug The Dropbox Objective-C SDK currently supports Xcode 8 and iOS 10. However, there appears to be a bug with the Keychain in the iOS simulator environment where data is not persistently saved to the Keychain. As a temporary workaround, in the Project Navigator, select **your project** > **Capabilities** > **Keychain Sharing** > **ON**. You can read more about the bug [here](https://forums.developer.apple.com/message/170381#170381). #### Longpoll session timeout bug Currently, there is a bug with iOS 10 where our longpoll requests timeout after ~6 minutes (instead of our max supported timeframe of 8 minutes (480 seconds)). For this reason, we recommend that all longpoll calls be made using [`-listFolderLongpoll:timeout:`](http://dropbox.github.io/dropbox-sdk-obj-c/api-docs/latest/Classes/DBFILESRoutes.html#/c:objc(cs)DBFILESRoutes(im)listFolderLongpoll:timeout:), with a specified `timeout` values of <= 300 seconds (5 minutes), until this issue is resolved by Apple. Read more about the issue [here](https://forums.developer.apple.com/thread/67606). ## Get started ### Register your application Before using this SDK, you should register your application in the [Dropbox App Console](https://dropbox.com/developers/apps). This creates a record of your app with Dropbox that will be associated with the API calls you make. ### Obtain an OAuth 2.0 token All requests need to be made with an OAuth 2.0 access token. An OAuth token represents an authenticated link between a Dropbox app and 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-the-authorization-flow). --- ## SDK distribution You can integrate the Dropbox Objective-C SDK into your project using one of several methods. ### CocoaPods To use [CocoaPods](http://cocoapods.org), a dependency manager for Cocoa projects, you should first install it using the following command: ```bash $ gem install cocoapods ``` Then navigate to the directory that contains your project and create a new file called `Podfile`. You can do this either with `pod init`, or open an existing Podfile, and then add `pod 'ObjectiveDropboxOfficial'` to the main loop. Your Podfile should look something like this: ##### iOS ```ruby platform :ios, '9.0' use_frameworks! target '' do pod 'ObjectiveDropboxOfficial' end ``` ##### macOS ```ruby platform :osx, '10.10' use_frameworks! target '' do pod 'ObjectiveDropboxOfficial' end ``` Then, after ensuring that your project window in Xcode is **closed**, run the following command to install the dependency: ```bash $ pod install ``` Once this command completes, open the newly create `.xcworkspace` file. Your project should now be successfully integrated with the the SDK. From here, you can pull SDK updates using the following command: ```bash $ pod update ``` ##### Common issues ###### Undefined architecture If Xcode errors with a message about `Undefined symbols for architecture...`, try the following: - Project Navigator > build target > **Build Settings** > **Other Linker Flags** add `$(inherited)` and `-ObjC`. --- ### 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. 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 brew install carthage ``` To install the Dropbox Objective-C SDK via Carthage, you need to create a `Cartfile` in your project with the following contents: ``` # ObjectiveDropboxOfficial github "https://github.com/dropbox/dropbox-sdk-obj-c" ~> 7.4.1 ``` 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 --use-xcframeworks ``` ##### macOS ```bash carthage update --platform Mac --use-xcframeworks ``` 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`. --- ### Manually add subproject Finally, you can also integrate the Dropbox Objective-C SDK into your project manually with the help of Carthage. Please take the following steps: Create a `Cartfile` in your project with the same contents as the Cartfile listed in the [Carthage](#carthage) section of the README. Then, run the following command to checkout and build the Dropbox Objective-C SDK repository: ##### iOS ```bash carthage update --platform iOS --use-xcframeworks ``` ##### macOS ```bash 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. --- ## Configure your project Once you have integrated the Dropbox Objective-C SDK into your project, there are a few additional steps to take before you can begin making API calls. ### Application `.plist` file You will need to modify your application's `.plist` to handle Apple's [new security changes](https://developer.apple.com/videos/wwdc/2015/?id=703) to the `canOpenURL` function. You should add the following code to your application's `.plist` file: ``` LSApplicationQueriesSchemes dbapi-8-emm dbapi-2 ``` This allows the Objective-C SDK to determine if the official Dropbox iOS app is installed on the current device. If it is installed, then the official Dropbox iOS app can be used to programmatically obtain an OAuth 2.0 access token. Additionally, your application needs to register to handle a unique Dropbox URL scheme for redirect following completion of the OAuth 2.0 authorization flow. This URL scheme should have the format `db-`, where `` is your Dropbox app's app key, which can be found in the [App Console](https://dropbox.com/developers/apps). You should add the following code to your `.plist` file (but be sure to replace `` with your app's app key): ``` CFBundleURLTypes CFBundleURLSchemes db- CFBundleURLName ``` After you've made the above changes, your application's `.plist` file should look something like this:

Info .plist Example

--- ### Handling the authorization flow There are three methods to programmatically retrieve an OAuth 2.0 access token: * **Direct auth** (iOS only): This launches the official Dropbox iOS app (if installed), authenticates via the official app, then redirects back into the SDK * **Safari view controller auth** (iOS only): This launches a `SFSafariViewController` to facillitate the auth flow. This is desirable because it is safer for the end-user, and pre-existing session data can be used to avoid requiring the user to re-enter their Dropbox credentials. * **Redirect to external browser** (macOS only): This launches the user's default browser to facillitate the auth flow. This is also desirable because it is safer for the end-user, and pre-existing session data can be used to avoid requiring the user to re-enter their Dropbox credentials. To facilitate the above authorization flows, you should take the following steps: --- #### Initialize a `DBUserClient` instance ##### iOS ```objective-c #import - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { [DBClientsManager setupWithAppKey:@""]; return YES; } ``` ##### macOS ```objective-c #import - (void)applicationDidFinishLaunching:(NSNotification *)aNotification { [DBClientsManager setupWithAppKeyDesktop:@""]; } ``` --- #### Begin the authorization flow 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. ##### iOS ```objective-c #import - (void)myButtonInControllerPressed { // 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 { UIViewController *topController = [UIApplication sharedApplication].keyWindow.rootViewController; while (topController.presentedViewController) { topController = topController.presentedViewController; } return topController; } ``` ##### macOS ```objective-c #import - (void)myButtonInControllerPressed { // 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]; } ``` Beginning the authentication flow on mobile will launch a window like this:

Auth Flow Init Example

--- #### Handle redirect back into SDK To handle the redirection back into the Objective-C SDK once the authentication flow is complete, you should add the following code in your application's delegate: ##### iOS ```objective-c #import - (BOOL)application:(UIApplication *)app openURL:(NSURL *)url options:(NSDictionary *)options { 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; } } } ``` ##### macOS ```objective-c #import // generic launch handler - (void)applicationWillFinishLaunching:(NSNotification *)notification { [[NSAppleEventManager sharedAppleEventManager] setEventHandler:self andSelector:@selector(handleAppleEvent:withReplyEvent:) forEventClass:kInternetEventClass andEventID:kAEGetURL]; } // custom handler - (void)handleAppleEvent:(NSAppleEventDescriptor *)event withReplyEvent:(NSAppleEventDescriptor *)replyEvent { NSURL *url = [NSURL URLWithString:[[event paramDescriptorForKeyword:keyDirectObject] stringValue]]; 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)]; } }; [DBClientsManager handleRedirectURL:url completion:oauthCompletion]; } ``` After the end user signs in with their Dropbox login credentials on mobile, they will see a window like this:

Auth Flow Approval Example

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:openURL:options:` method, from which the result of the authorization can be parsed. Now you're ready to begin making API requests! --- ## Try some API requests Once you have obtained an OAuth 2.0 token, you can try some API v2 calls using the Objective-C SDK. ### Dropbox client instance Start by creating a reference to the `DBUserClient` or `DBTeamClient` instance that you will use to make your API calls. ```objective-c #import // Reference after programmatic auth flow DBUserClient *client = [DBClientsManager authorizedClient]; ``` or ```objective-c #import // Initialize with manually retrieved auth token DBUserClient *client = [[DBUserClient alloc] initWithAccessToken:@""]; ``` --- ### Handle the API response The Dropbox [User API](https://www.dropbox.com/developers/documentation/http/documentation) and [Business API](https://www.dropbox.com/developers/documentation/http/teams) have three types of requests: RPC, Upload and Download. The response handlers for each request type are similar to one another. The arguments for the handler blocks are as follows: * **route result type** (`DBNilObject` if the route does not have a return type) * **route-specific error** (usually a union type) * **network request error** (generic to all requests -- contains information like request ID, HTTP status code, etc.) * **output content** (`NSURL` / `NSData` reference to downloaded output for Download-style endpoints only) Response handlers are required for all endpoints. Progress handlers, on the other hand, are optional for all endpoints. > Note: The Objective-C SDK uses `NSNumber` objects in place of boolean values. This is done so that nullability can be represented in some of our API response values. For this reason, you should be careful when writing checks like `if (myAPIObject.isSomething)`, which is checking nullability rather than value. Instead, you should use `if ([myAPIObject.isSomething boolValue])`, which converts the `NSNumber` field to a boolean value before using it in the if check. --- ### Request types #### RPC-style request ```objective-c [[client.filesRoutes createFolder:@"/test/path/in/Dropbox/account"] setResponseBlock:^(DBFILESFolderMetadata *result, DBFILESCreateFolderError *routeError, DBRequestError *networkError) { if (result) { NSLog(@"%@\n", result); } else { NSLog(@"%@\n%@\n", routeError, networkError); } }]; ``` [-createFolder:](http://dropbox.github.io/dropbox-sdk-obj-c/api-docs/latest/Classes/DBFILESUserAuthRoutes.html#/c:objc(cs)DBFILESUserAuthRoutes(im)createFolder:) Here's an example for listing a folder's contents. In the response handler, we repeatedly call `listFolderContinue:` (for large folders) until we've listed the entire folder: ```objective-c [[client.filesRoutes listFolder:@"/test/path/in/Dropbox/account"] setResponseBlock:^(DBFILESListFolderResult *response, DBFILESListFolderError *routeError, DBRequestError *networkError) { if (response) { NSArray *entries = response.entries; NSString *cursor = response.cursor; BOOL hasMore = [response.hasMore boolValue]; [self printEntries:entries]; if (hasMore) { NSLog(@"Folder is large enough where we need to call `listFolderContinue:`"); [self listFolderContinueWithClient:client cursor:cursor]; } else { NSLog(@"List folder complete."); } } else { NSLog(@"%@\n%@\n", routeError, networkError); } }]; ... ... ... - (void)listFolderContinueWithClient:(DBUserClient *)client cursor:(NSString *)cursor { [[client.filesRoutes listFolderContinue:cursor] setResponseBlock:^(DBFILESListFolderResult *response, DBFILESListFolderContinueError *routeError, DBRequestError *networkError) { if (response) { NSArray *entries = response.entries; NSString *cursor = response.cursor; BOOL hasMore = [response.hasMore boolValue]; [self printEntries:entries]; if (hasMore) { [self listFolderContinueWithClient:client cursor:cursor]; } else { NSLog(@"List folder complete."); } } else { NSLog(@"%@\n%@\n", routeError, networkError); } }]; } - (void)printEntries:(NSArray *)entries { for (DBFILESMetadata *entry in entries) { if ([entry isKindOfClass:[DBFILESFileMetadata class]]) { DBFILESFileMetadata *fileMetadata = (DBFILESFileMetadata *)entry; NSLog(@"File data: %@\n", fileMetadata); } else if ([entry isKindOfClass:[DBFILESFolderMetadata class]]) { DBFILESFolderMetadata *folderMetadata = (DBFILESFolderMetadata *)entry; NSLog(@"Folder data: %@\n", folderMetadata); } else if ([entry isKindOfClass:[DBFILESDeletedMetadata class]]) { DBFILESDeletedMetadata *deletedMetadata = (DBFILESDeletedMetadata *)entry; NSLog(@"Deleted data: %@\n", deletedMetadata); } } } ``` [-listFolder:](http://dropbox.github.io/dropbox-sdk-obj-c/api-docs/latest/Classes/DBFILESUserAuthRoutes.html#/c:objc(cs)DBFILESUserAuthRoutes(im)listFolder:) and [-listFolderContinue:](http://dropbox.github.io/dropbox-sdk-obj-c/api-docs/latest/Classes/DBFILESUserAuthRoutes.html#/c:objc(cs)DBFILESUserAuthRoutes(im)listFolder:) --- #### Upload-style request ```objective-c NSData *fileData = [@"file data example" dataUsingEncoding:NSUTF8StringEncoding allowLossyConversion:NO]; // For overriding on upload DBFILESWriteMode *mode = [[DBFILESWriteMode alloc] initWithOverwrite]; [[[client.filesRoutes uploadData:@"/test/path/in/Dropbox/account/my_output.txt" mode:mode autorename:@(YES) clientModified:nil mute:@(NO) propertyGroups:nil inputData:fileData] setResponseBlock:^(DBFILESFileMetadata *result, DBFILESUploadError *routeError, DBRequestError *networkError) { if (result) { NSLog(@"%@\n", result); } else { NSLog(@"%@\n%@\n", routeError, networkError); } }] setProgressBlock:^(int64_t bytesUploaded, int64_t totalBytesUploaded, int64_t totalBytesExpectedToUploaded) { NSLog(@"\n%lld\n%lld\n%lld\n", bytesUploaded, totalBytesUploaded, totalBytesExpectedToUploaded); }]; ``` [-uploadData:mode:autorename:clientModified:mute:inputData:](http://dropbox.github.io/dropbox-sdk-obj-c/api-docs/latest/Classes/DBFILESUserAuthRoutes.html#/c:objc(cs)DBFILESUserAuthRoutes(im)uploadData:mode:autorename:clientModified:mute:inputData:) Here's an example of an advanced upload case for "batch" uploading a large number of files: ```objective-c NSMutableDictionary *uploadFilesUrlsToCommitInfo = [NSMutableDictionary new]; DBFILESCommitInfo *commitInfo = [[DBFILESCommitInfo alloc] initWithPath:@"/output/path/in/Dropbox/file.txt"]; [uploadFilesUrlsToCommitInfo setObject:commitInfo forKey:[NSURL fileURLWithPath:@"/local/path/to/file.txt"]]; [client.filesRoutes 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) { NSLog(@"Call to `/upload_session/finish_batch/check` succeeded"); 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 path], 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 `uploadNetworkError` or `uploadSessionFinishError` DBRequestError *uploadNetworkError = fileUrlsToRequestErrors[clientSideFileUrl]; DBFILESUploadSessionFinishError *uploadSessionFinishError = resultEntry.failure; // implement appropriate retry logic } } } if (finishBatchRouteError) { NSLog(@"Either bug in SDK code, or transient error on Dropbox server"); NSLog(@"%@", 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); } }]; ``` > Note: the `batchUploadFiles:` route method that is used above automatically chunk-uploads large files, something other upload methods in the SDK do **not** do. Also, with this route, response and progress handlers are passed directly into the route as arguments, and not via the `setResponseBlock` or `setProgressBlock` methods. [-batchUploadFiles:queue:progressBlock:responseBlock:](http://dropbox.github.io/dropbox-sdk-obj-c/api-docs/latest/Classes/DBFILESUserAuthRoutes.html#/c:objc(cs)DBFILESUserAuthRoutes(im)batchUploadFiles:queue:progressBlock:responseBlock:) --- #### Download-style request Here's an example for downloading to a file (`NSURL`): ```objective-c NSFileManager *fileManager = [NSFileManager defaultManager]; NSURL *outputDirectory = [fileManager URLsForDirectory:NSDocumentDirectory inDomains:NSUserDomainMask][0]; NSURL *outputUrl = [outputDirectory URLByAppendingPathComponent:@"test_file_output.txt"]; [[[client.filesRoutes downloadUrl:@"/test/path/in/Dropbox/account/my_file.txt" overwrite:YES destination:outputUrl] setResponseBlock:^(DBFILESFileMetadata *result, DBFILESDownloadError *routeError, DBRequestError *networkError, NSURL *destination) { if (result) { NSLog(@"%@\n", result); NSData *data = [[NSFileManager defaultManager] contentsAtPath:[destination path]]; NSString *dataStr = [[NSString alloc] initWithData:data encoding:NSUTF8StringEncoding]; NSLog(@"%@\n", dataStr); } else { NSLog(@"%@\n%@\n", routeError, networkError); } }] setProgressBlock:^(int64_t bytesDownloaded, int64_t totalBytesDownloaded, int64_t totalBytesExpectedToDownload) { NSLog(@"%lld\n%lld\n%lld\n", bytesDownloaded, totalBytesDownloaded, totalBytesExpectedToDownload); }]; ``` [-downloadUrl:rev:overwrite:destination:](http://dropbox.github.io/dropbox-sdk-obj-c/api-docs/latest/Classes/DBFILESUserAuthRoutes.html#/c:objc(cs)DBFILESUserAuthRoutes(im)downloadUrl:rev:overwrite:destination:) Here's an example for downloading straight to memory (`NSData`): ```objective-c [[[client.filesRoutes downloadData:@"/test/path/in/Dropbox/account/my_file.txt"] setResponseBlock:^(DBFILESFileMetadata *result, DBFILESDownloadError *routeError, DBRequestError *networkError, NSData *fileContents) { if (result) { NSLog(@"%@\n", result); NSString *dataStr = [[NSString alloc] initWithData:fileContents encoding:NSUTF8StringEncoding]; NSLog(@"%@\n", dataStr); } else { NSLog(@"%@\n%@\n", routeError, networkError); } }] setProgressBlock:^(int64_t bytesDownloaded, int64_t totalBytesDownloaded, int64_t totalBytesExpectedToDownload) { NSLog(@"%lld\n%lld\n%lld\n", bytesDownloaded, totalBytesDownloaded, totalBytesExpectedToDownload); }]; ``` [-downloadData:](http://dropbox.github.io/dropbox-sdk-obj-c/api-docs/latest/Classes/DBFILESUserAuthRoutes.html#/c:objc(cs)DBFILESUserAuthRoutes(im)downloadData:) --- #### Note about background sessions Currently, the SDK uses a background `NSURLSession` to perform all download tasks and some upload tasks (including upload from a file, but not from memory or from a stream). Background sessions use a separate process to handle all data transfers. This is conveneient because when your app enters the background, the download / upload will continue. However, the timeout periods for a background `NSURLSession` are virtually unlimited, so if you lose your network connection, the error handler will never be executed. Instead, the process will wait for a restored connection, and then resume from there. If you're looking for more responsive error feedback in the event of a lost connection, you will want to force all requests onto a foreground `NSURLSession`. See the example in the [network configuration](#configure-network-client) section of the README for how to do this. To read more, please consult Apple's [documentation](https://developer.apple.com/library/content/documentation/Cocoa/Conceptual/URLLoadingSystem/Articles/UsingNSURLSession.html). **NOTE:** You should test all background session behavior on **an actual test device** and **not** the Xcode simulator, which has a lot of buggy behavior when it comes to handling background session behavior. ### Handling responses and errors Dropbox API v2 deals largely with two data types: **structs** and **unions**. Broadly speaking, most route **arguments** are struct types and most route **errors** are union types. **NOTE:** In this context, "structs" and "unions" are terms specific to the Dropbox API, and not to any of the languages that are used to query the API, so you should avoid thinking of them in terms of their Objective-C definitions. **Struct types** are "traditional" object types, that is, composite types made up of a collection of one or more instance fields. All public instance fields are accessible at runtime, regardless of runtime state. **Union types**, on the other hand, represent a single value that can take on multiple value types, depending on state. We capture all of these different type scenarios under one "union object", but that object will exist only as one type at runtime. Each union state type, or **tag**, may have an associated value (if it doesn't, the union state type is said to be **void**). Associated value types can either be primitives, structs or unions. Although the Objective-C SDK represents union types as objects with multiple instance fields, at most one instance field is accessible at runtime, depending on the tag state of the union. For example, the [/delete](https://www.dropbox.com/developers/documentation/http/documentation#files-delete) endpoint returns an error, `DeleteError`, which is a union type. The `DeleteError` union can take on two different tag states: `path_lookup` (if there is a problem looking up the path) or `path_write` (if there is a problem writing -- or in this case deleting -- to the path). Here, both tag states have non-void associated values (of types `DBFILESLookupError` and `DBFILESWriteError`, respectively). In this way, one union object is able to capture a multitude of scenarios, each of which has their own value type. To properly handle union types, you should call each of the `is` methods associated with the union. Once you have determined the current tag state of the union, you can then safely access the value associated with that tag state (provided there exists an associated value type, i.e., it's not **void**). If at run time you attempt to access a union instance field that is not associated with the current tag state, **an exception will be thrown**. See below: --- #### Route-specific errors ```objective-c [[client.filesRoutes delete_:@"/test/path/in/Dropbox/account"] setResponseBlock:^(DBFILESMetadata *result, DBFILESDeleteError *routeError, DBRequestError *networkError) { if (result) { NSLog(@"%@\n", result); } else { // Error is with the route specifically (status code 409) if (routeError) { if ([routeError isPathLookup]) { // Can safely access this field DBFILESLookupError *pathLookup = routeError.pathLookup; NSLog(@"%@\n", pathLookup); } else if ([routeError isPathWrite]) { DBFILESWriteError *pathWrite = routeError.pathWrite; NSLog(@"%@\n", pathWrite); // This would cause a runtime error // DBFILESLookupError *pathLookup = routeError.pathLookup; } } NSLog(@"%@\n%@\n", routeError, networkError); } }]; ``` [-delete_:](http://dropbox.github.io/dropbox-sdk-obj-c/api-docs/latest/Classes/DBFILESUserAuthRoutes.html#/c:objc(cs)DBFILESUserAuthRoutes(im)downloadData:) --- #### Generic network request errors In the case of a network error, regardless of whether the error is specific to the route, a generic `DBRequestError` type will always be returned, which includes information like Dropbox request ID and HTTP status code. The `DBRequestError` type is a special union type which is similar to the standard API v2 union type, but also includes a collection of `as` methods, each of which returns a new instance of a particular error subtype. As with accessing associated values in regular unions, the `as` should only be called after the corresponding `is` method returns true. See below: ```objective-c [[client.filesRoutes delete_:@"/test/path/in/Dropbox/account"] setResponseBlock:^(DBFILESMetadata *result, DBFILESDeleteError *routeError, DBRequestError *networkError) { if (result) { NSLog(@"%@\n", result); } else { if (routeError) { // see handling above } // Error not specific to the route (status codes 500, 400, 401, 403, 404, 429) else { if ([networkError isInternalServerError]) { DBRequestInternalServerError *internalServerError = [networkError asInternalServerError]; NSLog(@"%@\n", internalServerError); } else if ([networkError isBadInputError]) { DBRequestBadInputError *badInputError = [networkError asBadInputError]; NSLog(@"%@\n", badInputError); } else if ([networkError isAuthError]) { DBRequestAuthError *authError = [networkError asAuthError]; NSLog(@"%@\n", authError); } else if ([networkError isAccessError]) { DBRequestAccessError *accessError = [networkError asAccessError]; NSLog(@"%@\n", accessError); } else if ([networkError isRateLimitError]) { DBRequestRateLimitError *rateLimitError = [networkError asRateLimitError]; NSLog(@"%@\n", rateLimitError); } else if ([networkError isHttpError]) { DBRequestHttpError *genericHttpError = [networkError asHttpError]; NSLog(@"%@\n", genericHttpError); } else if ([networkError isClientError]) { DBRequestClientError *genericLocalError = [networkError asClientError]; NSLog(@"%@\n", genericLocalError); } } } }]; ``` --- #### Response handling edge cases Some routes return union types as result types, so you should be prepared to handle these results in the same way that you handle union route errors. Please consult the [documentation](https://www.dropbox.com/developers/documentation/http/documentation) for each endpoint that you use to ensure you are properly handling the route's response type. A few routes return result types that are **datatypes with subtypes**, that is, structs that can take on multiple state types like unions. For example, the [/delete](https://www.dropbox.com/developers/documentation/http/documentation#files-delete) endpoint returns a generic `Metadata` type, which can exist either as a `FileMetadata` struct, a `FolderMetadata` struct, or a `DeletedMetadata` struct. To determine at runtime which subtype the `Metadata` type exists as, perform an `isKindOfClass` check for each possible class, and then cast the result accordingly. See below: ```objective-c [[client.filesRoutes delete_:@"/test/path/in/Dropbox/account"] setResponseBlock:^(DBFILESMetadata *result, DBFILESDeleteError *routeError, DBRequestError *networkError) { if (result) { if ([result isKindOfClass:[DBFILESFileMetadata class]]) { DBFILESFileMetadata *fileMetadata = (DBFILESFileMetadata *)result; NSLog(@"File data: %@\n", fileMetadata); } else if ([result isKindOfClass:[DBFILESFolderMetadata class]]) { DBFILESFolderMetadata *folderMetadata = (DBFILESFolderMetadata *)result; NSLog(@"Folder data: %@\n", folderMetadata); } else if ([result isKindOfClass:[DBFILESDeletedMetadata class]]) { DBFILESDeletedMetadata *deletedMetadata = (DBFILESDeletedMetadata *)result; NSLog(@"Deleted data: %@\n", deletedMetadata); } } else { if (routeError) { // see handling above } else { // see handling above } } }]; ``` This `Metadata` object is known as a **datatype with subtypes** in our API v2 documentation. Datatypes with subtypes are a way combining structs and unions. Datatypes with subtypes are struct objects that contain a tag, which specifies which subtype the object exists as at runtime. The reason we have this construct, as with unions, is so we can capture a multitude of scenarios with one object. In the above example, the `Metadata` type can exists as `FileMetadata`, `FolderMetadata` or `DeleteMetadata`. Each of these types have common instances fields like "name" (the name for the file, folder or deleted type), but also instance fields that are specific to the particular subtype. In order to leverage inheritance, we set a common supertype called `Metadata` which captures all of the common instance fields, but also has a tag instance field, which specifies which subtype the object currently exists as. In this way, datatypes with subtypes are a hybrid of structs and unions. Only a few routes return result types like this. --- #### Consistent global error handling Normally, errors are handled on a request-by-request basis by calling `setResponseBlock` on the returned request task object. Sometimes, however, it makes more sense to handle errors consistently, based on error type, regardless of the source of the request. For instance, maybe you want to display the same dialog every time there is a `/files/list_folder` error. Or perhaps every time there is an HTTP auth error, you simply want to log the user out of your application. To implement these examples, you should have code in your app's setup logic (probably in your app delegate) that looks something like the following: ```objective-c void (^listFolderGlobalResponseBlock)(DBFILESListFolderError *, DBRequestError *, DBTask *) = ^(DBFILESListFolderError *folderError, DBRequestError *networkError, DBTask *restartTask) { if (folderError) { // Display some dialog relating to this error } }; void (^networkGlobalResponseBlock)(DBRequestError *, DBTask *) = ^(DBRequestError *networkError, DBTask *restartTask) { if ([networkError isAuthError]) { // log the user out of the app, for instance [DBClientsManager unlinkAndResetClients]; } else if ([networkError isRateLimitError]) { // automatically retry after backoff period DBRequestRateLimitError *rateLimitError = [networkError asRateLimitError]; int backOff = [rateLimitError.retryAfter intValue]; dispatch_after(dispatch_time(DISPATCH_TIME_NOW, backOff * NSEC_PER_SEC), dispatch_get_main_queue(), ^{ [restartTask restart]; }); } }; // one response block per error type to globally handle [DBGlobalErrorResponseHandler registerRouteErrorResponseBlock:listFolderGlobalResponseBlock routeErrorType:[DBFILESListFolderError class]]; // only one response block total to handle all network errors [DBGlobalErrorResponseHandler registerNetworkErrorResponseBlock:networkGlobalResponseBlock]; ``` The SDK allows you to set one response block to handle all generic network errors that aren't route-specific (like an HTTP auth error, or a rate-limit error). The SDK also allows you to set a response block to be executed in the event that a certain error type is returned. These global response blocks will automatically be executed **in addition** to the response block that you supply for the specific request. --- ### Customizing network calls #### Configure network client It is possible to configure the networking client used by the SDK to make API requests. You can supply custom fields like a custom user agent or custom delegate queue to manage response handler code. For instance, you can force the SDK to make all network requests on a foreground session: ##### iOS ```objective-c #import DBTransportDefaultConfig *transportConfig = [[DBTransportDefaultConfig alloc] initWithAppKey:@"" forceForegroundSession:YES]; [DBClientsManager setupWithTransportConfig:transportConfig]; ``` ##### macOS ```objective-c #import DBTransportDefaultConfig *transportConfig = [[DBTransportDefaultConfig alloc] initWithAppKey:@"" forceForegroundSession:YES]; [DBClientsManager setupWithTransportConfigDesktop:transportConfig]; ``` See the `DBTransportDefaultConfig` class for all of the different customizable networking parameters. #### Specify API call response queue By default, response/progress handler code runs on the main thread. You can set a custom response queue for each API call that you make via the `setResponseBlock` method, in the event want your response/progress handler code to run on a different thread: ```objective-c [[client.filesRoutes listFolder:@""] setResponseBlock:^(DBFILESListFolderResult *result, DBFILESListFolderError *routeError, DBRequestError *networkError) { if (result) { NSLog(@"%@", [NSThread currentThread]); // Output: {number = 5, name = (null)} NSLog(@"%@", [NSThread mainThread]); // Output: {number = 1, name = (null)} NSLog(@"%@\n", result); } } queue:[NSOperationQueue new]] ``` --- ### `DBClientsManager` class The Objective-C SDK includes a convenience class, `DBClientsManager`, for integrating the different functions of the SDK into one class. #### 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: * 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 `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) The `DBUserClient` (or `DBTeamClient`) is then used to make all of the desired API calls. * call `unlinkAndResetClients` to logout Dropbox user and clear all access tokens #### 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: * 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 `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 The `DBUserClient`s (or `DBTeamClient`s) in `authorizedClients` / `authorizedTeamClients` is then used to make all of the desired API calls. * call `unlinkAndResetClient` to logout a particular Dropbox user and clear their access token * call `unlinkAndResetClients` to logout all Dropbox users and clear all access tokens --- ## Examples Example projects that demonstrate how to integrate your app with the SDK can be found in the `Examples/` folder. * [DBRoulette](https://github.com/dropbox/dropbox-sdk-obj-c/tree/master/Examples/DBRoulette/) - Play a fun game of photo roulette with the image files in your Dropbox! --- ## Migrating from API v1 This section contains relevant info for migrating your app from API v1 to API v2 (which should be finished by June 28, 2017, when API v1 will be retired). For a general API v1 migration guide, please see [here](https://www.dropbox.com/developers/reference/migration-guide). ### Migrating OAuth tokens from earlier SDKs If your app was originally using an earlier API v1 SDK, including the [iOS Core SDK](https://www.dropbox.com/developers-v1/core/sdks/ios), the [OS X Core SDK](https://www.dropbox.com/developers-v1/core/sdks/osx), the [iOS Sync SDK](https://www.dropbox.com/developers-v1/sync/sdks/ios), or the [OS X Sync SDK](https://www.dropbox.com/developers-v1/sync/sdks/osx), then you can use the v2 SDK to perform a one-time migration of OAuth 1 tokens to OAuth 2.0 tokens, which are used by API v2. That way, when you migrate your app from the earlier SDK to the new API v2 SDK, users will not need to reauthenticate with Dropbox after you perform this update. To perform this auth token migration, in your app delegate, you should call the following method: [+checkAndPerformV1TokenMigration:queue:appKey:appSecret:](http://dropbox.github.io/dropbox-sdk-obj-c/api-docs/latest/Classes/DBClientsManager.html#/c:objc(cs)DBClientsManager(cm)checkAndPerformV1TokenMigration:queue:appKey:appSecret:) ```objective-c BOOL willPerformMigration = [DBClientsManager checkAndPerformV1TokenMigration:^(BOOL shouldRetry, BOOL invalidAppKeyOrSecret, NSArray *> *unsuccessfullyMigratedTokenData) { if (invalidAppKeyOrSecret) { // Developers should ensure that the appropriate app key and secret are being supplied. // If your app has multiple app keys / secrets, then run this migration method for // each app key / secret combination, and ignore this boolean. } if (shouldRetry) { // Store this BOOL somewhere to retry when network connection has returned } if ([unsuccessfullyMigratedTokenData count] != 0) { NSLog(@"The following tokens were unsucessfully migrated:"); for (NSArray *tokenData in unsuccessfullyMigratedTokenData) { NSLog(@"DropboxUserID: %@, AccessToken: %@, AccessTokenSecret: %@, StoredAppKey: %@", tokenData[0], tokenData[1], tokenData[2], tokenData[3]); } } if (!invalidAppKeyOrSecret && !shouldRetry && [unsuccessfullyMigratedTokenData count] == 0) { [DBClientsManager setupWithAppKey:@""]; } } queue:nil appKey:@"" appSecret:@""]; if (!willPerformMigration) { [DBClientsManager setupWithAppKey:@""]; } ``` This method should successfully migrate all access tokens stored by the official Dropbox API SDKs from approximately 2012 until present, for both iOS and OS X. It will make one call to our OAuth 1 conversion endpoint for each OAuth 1 token that has been stored in your application's keychain by the v1 SDK. The method will execute all network requests off the main thread. Here, token migration is treated as an atomic operation. Either all tokens that are possible to migrate are migrated at once, or none of them are. If all token conversion requests complete successfully, then the `shouldRetry` argument in `responseBlock` will be `NO`. If some token conversion requests succeed and some fail, and if the failures are for any reason other than network connectivity issues (e.g. token has been invalidated), then the migration will continue normally, and those tokens that were unsuccessfully migrated will be skipped, and `shouldRetry` will be `NO`. If any of the failures were because of network connectivity issues, none of the tokens will be migrated, and `shouldRetry` will be `YES`. --- ## Documentation * [Dropbox API v2 Objective-C SDK](http://dropbox.github.io/dropbox-sdk-obj-c/api-docs/latest/) * [Dropbox API v2](https://www.dropbox.com/developers/documentation/http/documentation) --- ## Stone All of our routes and data types are auto-generated using a framework called [Stone](https://github.com/dropbox/stone). The `stone` repo contains all of the Objective-C specific generation logic, and the `spec` repo contains the language-neutral API endpoint specifications which serve as input to the language-specific generators. --- ## Modifications If you're interested in modifying the SDK codebase, you should take the following steps: * clone this GitHub repository to your local filesystem * run `git submodule init` and then `git submodule update` * navigate to `TestObjectiveDropbox` and run `pod install` * open `TestObjectiveDropbox/TestObjectiveDropbox.xcworkspace` in Xcode * implement your changes to the SDK source code. 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. --- ## Code generation If you're interested in manually generating the SDK serialization logic, perform the following: * clone this GitHub repository to your local filesystem * run `git submodule init` and then `git submodule update` * navigate to the [Stone GitHub repo](https://github.com/dropbox/stone), and install all necessary dependencies * run `./generate_base_client.py` to generate code 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 Thank you! ================================================ FILE: Source/ObjectiveDropboxOfficial/Headers/Internal/DBClientsManager+Protected.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// #import #import "DBClientsManager.h" @class DBOAuthManager; @class DBTransportDefaultConfig; NS_ASSUME_NONNULL_BEGIN @interface DBClientsManager (Protected) + (void)setupWithOAuthManager:(DBOAuthManager *)oAuthManager transportConfig:(DBTransportDefaultConfig *)transportConfig; + (void)setupWithOAuthManagerTeam:(DBOAuthManager *)oAuthManager transportConfig:(DBTransportDefaultConfig *)transportConfig; + (void)setTransportConfig:(DBTransportDefaultConfig *)transportConfig; + (DBTransportDefaultConfig *)transportConfig; + (void)setAppKey:(NSString *)appKey; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Headers/Internal/Networking/DBDelegate.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// #import #import "DBHandlerTypes.h" #import "DBHandlerTypesInternal.h" @class DBRpcData; @class DBUploadData; @class DBDownloadData; NS_ASSUME_NONNULL_BEGIN /// /// Delegate class used to manage the execution of handler code for RPC, Upload and Download style requests. /// /// @note This delegate forces all supplied delegate queues to be serial. /// /// By default, this delegate is instantiated in the constructor of the `DBTransportDefaultClient` class, and uses the /// main delegate queue, so all handler code will be executed serially and on the main thread. /// /// Progress and response handlers can be added after the request is initiated. If a handler does not exist at the time /// the network response is received, progress data and/or response data will be saved until a handler is queued up to /// the corresponding task ID. For downloaded file content, the file content will be moved from an `NSURLSession` /// managed temporary location to an SDK managed temporary location, until the response handler is installed, at which /// point, the file content will be moved to the final destination. This gives the client the flexibility to install /// handlers when convenient. /// @interface DBDelegate : NSObject #pragma mark - Constructors /// /// `DBDelegate` full constructor. /// /// @note The supplied queue must be serial. /// /// @param delegateQueue The queue used to execute handler code. By defaut, this is the main queue, so all handler code /// will be executed on the main thread. /// /// @return An initialized `DBDelegate` instance. /// - (instancetype)initWithQueue:(nullable NSOperationQueue *)delegateQueue; /// /// 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 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 /// number of total bytes expected to be downloaded. /// @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)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 `NSURLSessionTask` identified by the supplied /// task identifier for the corresponding RPC-style 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)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 `NSURLSessionTask` task identified by the supplied /// task identifier for the corresponding Upload-style 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)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 `NSURLSessionTask` task identified by the supplied /// task identifier for the corresponding Download-style 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)addDownloadResponseHandlerForTaskWithIdentifier:(NSUInteger)identifier session:(NSURLSession *)session responseHandler:(DBDownloadResponseBlockStorage)handler responseHandlerQueue:(nullable NSOperationQueue *)handlerQueue; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Headers/Internal/Networking/DBGlobalErrorResponseHandler+Internal.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// #import #import "DBGlobalErrorResponseHandler.h" @class DBTask; NS_ASSUME_NONNULL_BEGIN @interface DBGlobalErrorResponseHandler (Internal) + (void)executeRegisteredResponseBlocksWithRouteError:(id _Nullable)routeError networkError:(nullable DBRequestError *)networkError restartTask:(DBTask *)restartTask; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Headers/Internal/Networking/DBHandlerTypesInternal.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// For internal use inside the SDK. /// #import @class DBRequestError; // Storage blocks typedef BOOL (^DBRpcResponseBlockStorage)(NSData *_Nullable, NSURLResponse *_Nullable, NSError *_Nullable); typedef BOOL (^DBUploadResponseBlockStorage)(NSData *_Nullable, NSURLResponse *_Nullable, NSError *_Nullable); typedef BOOL (^DBDownloadResponseBlockStorage)(NSURL *_Nullable, NSURLResponse *_Nullable, NSError *_Nullable); // Internal implementation response blocks typedef void (^DBRpcResponseBlockImpl)(id _Nullable, id _Nullable, DBRequestError *_Nullable); typedef void (^DBUploadResponseBlockImpl)(id _Nullable, id _Nullable, DBRequestError *_Nullable); typedef void (^DBDownloadUrlResponseBlockImpl)(id _Nullable, id _Nullable, DBRequestError *_Nullable, NSURL *_Nullable); typedef void (^DBDownloadDataResponseBlockImpl)(id _Nullable, id _Nullable, DBRequestError *_Nullable, NSData *_Nullable); typedef void (^DBCleanupBlock)(void); ================================================ FILE: Source/ObjectiveDropboxOfficial/Headers/Internal/Networking/DBSDKReachability.h ================================================ /* Copyright (C) 2016 Apple Inc. All Rights Reserved. See LICENSE.txt for this sample’s licensing information Abstract: Basic demonstration of how to use the SystemConfiguration Reachablity APIs. */ #import #import #import typedef enum : NSInteger { DBNotReachable = 0, DBReachableViaWiFi, DBReachableViaWWAN } DBSDKNetworkStatus; #pragma mark IPv6 Support // Reachability fully support IPv6. For full details, see ReadMe.md. extern NSString *kDBSDKReachabilityChangedNotification; @interface DBSDKReachability : NSObject /*! * Use to check the reachability of a given host name. */ + (instancetype)reachabilityWithHostName:(NSString *)hostName; /*! * Use to check the reachability of a given IP address. */ + (instancetype)reachabilityWithAddress:(const struct sockaddr *)hostAddress; /*! * Checks whether the default route is available. Should be used by applications that do not connect to a particular * host. */ + (instancetype)reachabilityForInternetConnection; #pragma mark reachabilityForLocalWiFi // reachabilityForLocalWiFi has been removed from the sample. See ReadMe.md for more information. //+ (instancetype)reachabilityForLocalWiFi; /*! * Start listening for reachability notifications on the current run loop. */ - (BOOL)startNotifier; - (void)stopNotifier; - (DBSDKNetworkStatus)currentReachabilityStatus; /*! * WWAN may be available, but not active until a connection has been established. WiFi may require a connection for VPN * on Demand. */ - (BOOL)connectionRequired; @end ================================================ FILE: Source/ObjectiveDropboxOfficial/Headers/Internal/Networking/DBSessionData.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// #import #import "DBHandlerTypes.h" #import "DBHandlerTypesInternal.h" NS_ASSUME_NONNULL_BEGIN #pragma mark - Progress data /// /// Progress data storage. /// /// Progress and response handlers can be added to `DBDelegate` after a request is initiated. If a handler does not /// exist at the time the network response is received, progress data and/or response data will be saved until a handler /// is queued up to the corresponding task id. This gives the client the flexibility to install handlers when /// convenient. This class stores data for all progress handlers. /// @interface DBProgressData : NSObject /// Bytes committed (sent if RPC or Upload request, and downloaded if Download request). @property (nonatomic, readonly) int64_t committed; /// Total bytes committed (sent if RPC or Upload request, and downloaded if Download request). @property (nonatomic, readonly) int64_t totalCommitted; /// Total bytes expected to commit (sent if RPC or Upload request, and downloaded if Download request). @property (nonatomic, readonly) int64_t expectedToCommit; /// /// `DBProgressData` full constructor. /// /// @param committed Bytes committed (sent if RPC or Upload request, and downloaded if Download request). /// @param totalCommitted Total bytes committed (sent if RPC or Upload request, and downloaded if Download request). /// @param expectedToCommit Total bytes expected to commit (sent if RPC or Upload request, and downloaded if Download /// request). /// /// @return An initialized `DBProgressData` instance. /// - (instancetype)initWithProgressData:(int64_t)committed totalCommitted:(int64_t)totalCommitted expectedToCommit:(int64_t)expectedToCommit; @end #pragma mark - Completion data /// /// Completion data storage. /// /// Progress and response handlers can be added to `DBDelegate` after a request is initiated. If a handler does not /// exist at the time the network response is received, progress data and/or response data will be saved until a handler /// is queued up to the corresponding task id. This gives the client the flexibility to install handlers when /// convenient. This class stores data for all completion handlers. /// @interface DBCompletionData : NSObject /// Data returned by the server in the response body. @property (nonatomic, readonly, nullable) NSData *responseBody; /// Metadata returned by the server in the response headers. @property (nonatomic, readonly, nullable) NSURLResponse *responseMetadata; /// Client-side networking error. @property (nonatomic, readonly, nullable) NSError *responseError; /// Location of output content (for Download-style requests only). @property (nonatomic, readonly, nullable) NSURL *urlOutput; /// /// `DBCompletionData` full constructor. /// /// @param responseBody Data returned by the server in the response body. /// @param responseMetadata Metadata returned by the server in the response headers. /// @param responseError Client-side networking error. /// @param urlOutput Location of output content (for Download-style requests only). /// /// @return An initialized `DBCompletionData` instance. /// - (instancetype)initWithCompletionData:(nullable NSData *)responseBody responseMetadata:(nullable NSURLResponse *)responseMetadata responseError:(nullable NSError *)responseError urlOutput:(nullable NSURL *)urlOutput; @end #pragma mark - Session data /// /// Session data storage. /// /// All response data and handler data for a given session id is stored in this class. `DBDelegate` maintains a map of /// session ids to `DBSessionData` objects to manage response handling. /// @interface DBSessionData : NSObject /// The unique identifier of the session. Data is stored by session (rather than task id, because task ids are not /// unique across sessions. @property (nonatomic, copy) NSString *sessionId; /// Map from task id to response body data (for RPC and Upload style requests). @property (nonatomic, strong) NSMutableDictionary *responsesData; /// Map from task id to progress handler. Progress handlers are of the same type for all different styles of API /// requests. @property (nonatomic, strong) NSMutableDictionary *progressHandlers; /// Map from task id to RPC-style response handler. @property (nonatomic, strong) NSMutableDictionary *rpcHandlers; /// Map from task id to Upload-style response handler. @property (nonatomic, strong) NSMutableDictionary *uploadHandlers; /// Map from task id to Download-style response handler. @property (nonatomic, strong) NSMutableDictionary *downloadHandlers; /// Map from task id to completion data object. Stores completion data for all styles of API requests. @property (nonatomic, strong) NSMutableDictionary *completionData; /// Map from task id to progress data object. Stores progress data for all styles of API requests. @property (nonatomic, strong) NSMutableDictionary *progressData; /// Map from task id to progress handler queue. Stores handler queues for all styles of API requests. @property (nonatomic, strong) NSMutableDictionary *progressHandlerQueues; /// Map from task id to response handler queue. Stores handler queues for all styles of API requests. @property (nonatomic, strong) NSMutableDictionary *responseHandlerQueues; /// /// `DBSessionData` full constructor. /// /// @param sessionid The unique identifier of the session. /// /// @return An initialized `DBSessionData` instance. /// - (instancetype)initWithSessionId:(NSString *)sessionid; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Headers/Internal/Networking/DBTasks+Protected.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// #import "DBHandlerTypesInternal.h" #import "DBTasks.h" #import NS_ASSUME_NONNULL_BEGIN @class DBRoute; @interface DBRpcTask (Protected) - (DBRpcResponseBlockStorage)storageBlockWithResponseBlock:(DBRpcResponseBlockImpl)responseBlock cleanupBlock:(DBCleanupBlock)cleanupBlock; @end @interface DBUploadTask (Protected) - (DBUploadResponseBlockStorage)storageBlockWithResponseBlock:(DBUploadResponseBlockImpl)responseBlock cleanupBlock:(DBCleanupBlock)cleanupBlock; @end @interface DBDownloadUrlTask (Protected) - (DBDownloadResponseBlockStorage)storageBlockWithResponseBlock:(DBDownloadUrlResponseBlockImpl)responseBlock cleanupBlock:(DBCleanupBlock)cleanupBlock; @end @interface DBDownloadDataTask (Protected) - (DBDownloadResponseBlockStorage)storageBlockWithResponseBlock:(DBDownloadDataResponseBlockImpl)responseBlock cleanupBlock:(DBCleanupBlock)cleanupBlock; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Headers/Internal/Networking/DBTasksImpl.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// #import #import "DBHandlerTypes.h" #import "DBTasks.h" #import "DBTasksImpl.h" #import "DBURLSessionTaskWithTokenRefresh.h" @class DBBatchUploadData; @class DBDelegate; @class DBRequestError; @class DBRoute; NS_ASSUME_NONNULL_BEGIN #pragma mark - RPC-style network task @interface DBRpcTaskImpl : DBRpcTask /// /// `DBRpcTaskImpl` full constructor. /// /// @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 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:(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 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 uploadTask; /// /// `DBUploadTask` full constructor. /// /// @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 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:(id)task tokenUid:(nullable NSString *)tokenUid route:(DBRoute *)route; @end #pragma mark - Download-style network task (NSURL) @interface DBDownloadUrlTaskImpl : DBDownloadUrlTask /// The session that was used to make to the request. @property (nonatomic, readonly) NSURLSession *session; /// /// `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 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. /// @param destination Location to which output content should be downloaded. /// /// @return An initialized instance. /// - (instancetype)initWithTask:(id)task tokenUid:(nullable NSString *)tokenUid route:(DBRoute *)route overwrite:(BOOL)overwrite destination:(NSURL *)destination; @end #pragma mark - Download-style network task (NSData) @interface DBDownloadDataTaskImpl : DBDownloadDataTask /// The session that was used to make to the request. @property (nonatomic, readonly) NSURLSession *session; /// /// 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 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:(id)task tokenUid:(nullable NSString *)tokenUid route:(DBRoute *)route; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Headers/Internal/Networking/DBTransportBaseClient+Internal.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// #import #import "DBSerializableProtocol.h" #import "DBTransportBaseClient.h" @class DBRequestError; @class DBRoute; NS_ASSUME_NONNULL_BEGIN /// Used by internal classes of `DBTransportBaseClient` @interface DBTransportBaseClient (Internal) - (NSDictionary *)headersWithRouteInfo:(NSDictionary *)routeAttributes serializedArg:(nullable NSString *)serializedArg; - (NSDictionary *)headersWithRouteInfo:(NSDictionary *)routeAttributes serializedArg:(nullable NSString *)serializedArg byteOffsetStart:(nullable NSNumber *)byteOffsetStart byteOffsetEnd:(nullable NSNumber *)byteOffsetEnd; + (NSMutableURLRequest *)requestWithHeaders:(NSDictionary *)httpHeaders url:(NSURL *)url content:(nullable NSData *)content stream:(nullable NSInputStream *)stream; - (NSURL *)urlWithRoute:(DBRoute *)route; + (nullable NSData *)serializeDataWithRoute:(DBRoute *)route routeArg:(nullable 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 statusCode:(int)statusCode httpHeaders:(nullable NSDictionary *)httpHeaders; + (nullable id)routeErrorWithRoute:(nullable DBRoute *)route data:(nullable NSData *)data statusCode:(int)statusCode; + (nullable id)routeResultWithRoute:(nullable DBRoute *)route data:(nullable NSData *)data serializationError:(NSError *_Nullable *_Nullable)serializationError; + (BOOL)statusCodeIsRouteError:(int)statusCode; /** * This method performs a lookup for the passed in @p lookupKey on the given @p headerFieldsDictionary. However, since * HTTP header field keys are case insensitive, it compares the keys in the dictionary to @p lookupKey in a case * insensitive way. * * @param lookupKey The key that we want to fetch from the header dictionary. Irrespective of case * @param headerFieldsDictionary HTTP headers fiels dictionary (e.g. the result of calling allHeaderFields in an * NSHTTPURLResponse instance) * * @return The value corresponding to the passed in @p lookupKey or nil if none is found. */ + (nullable id)caseInsensitiveLookupWithKey:(nullable NSString *)lookupKey headerFieldsDictionary:(nullable NSDictionary *)headerFieldsDictionary; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Headers/Internal/Networking/DBURLSessionTask.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Headers/Internal/Networking/DBURLSessionTaskResponseBlockWrapper.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Headers/Internal/Networking/DBURLSessionTaskWithTokenRefresh.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Headers/Internal/OAuth/DBAccessToken+NSSecureCoding.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Headers/Internal/OAuth/DBAccessTokenProvider+Internal.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Headers/Internal/OAuth/DBOAuthConstants.h ================================================ /// /// 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; ================================================ FILE: Source/ObjectiveDropboxOfficial/Headers/Internal/OAuth/DBOAuthManager+Protected.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// #import #import "DBOAuthManager.h" #import "DBOAuthResultCompletion.h" @protocol DBAccessTokenProvider; NS_ASSUME_NONNULL_BEGIN @interface DBOAuthManager (Protected) /// 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 NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Headers/Internal/OAuth/DBOAuthPKCESession.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Headers/Internal/OAuth/DBOAuthTokenRequest.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Headers/Internal/OAuth/DBOAuthUtils.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Headers/Internal/OAuth/DBScopeRequest+Protected.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Headers/Internal/Resources/DBChunkInputStream.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// Copyright (c) 2011 BJ Homer. All rights reserved. /// /// Based on example from @bjhomer https://github.com/bjhomer/HSCountingInputStream /// #import NS_ASSUME_NONNULL_BEGIN /// /// Subclass of `NSInputStream` to enforce "bounds" on file stream, for /// chunk uploading. /// @interface DBChunkInputStream : NSInputStream /// /// DBChunkInputStream full constructor. /// /// @param fileUrl The file to stream. /// @param startBytes The starting position of the file stream, relative /// to the beginning of the file. /// @param endBytes The ending position of the file stream, relative /// to the beginning of the file. /// /// @return An initialized DBChunkInputStream instance. /// - (instancetype)initWithFileUrl:(NSURL *)fileUrl startBytes:(NSUInteger)startBytes endBytes:(NSUInteger)endBytes; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Headers/Internal/Resources/DBSDKSystem.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// Copyright (c) 2011 BJ Homer. All rights reserved. /// /* * System Versioning Preprocessor Macros */ #define SYSTEM_VERSION_EQUAL_TO(v) \ ([[[UIDevice currentDevice] systemVersion] compare:v options:NSNumericSearch] == NSOrderedSame) #define SYSTEM_VERSION_GREATER_THAN(v) \ ([[[UIDevice currentDevice] systemVersion] compare:v options:NSNumericSearch] == NSOrderedDescending) #define SYSTEM_VERSION_GREATER_THAN_OR_EQUAL_TO(v) \ ([[[UIDevice currentDevice] systemVersion] compare:v options:NSNumericSearch] != NSOrderedAscending) #define SYSTEM_VERSION_LESS_THAN(v) \ ([[[UIDevice currentDevice] systemVersion] compare:v options:NSNumericSearch] == NSOrderedAscending) #define SYSTEM_VERSION_LESS_THAN_OR_EQUAL_TO(v) \ ([[[UIDevice currentDevice] systemVersion] compare:v options:NSNumericSearch] != NSOrderedDescending) ================================================ FILE: Source/ObjectiveDropboxOfficial/Headers/PlatformInternal/iOS/DBLoadingViewController.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Headers/Umbrella/ObjectiveDropboxOfficial.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Umbrella import for importing as a framework /// #import "TargetConditionals.h" #import #import #if TARGET_OS_IPHONE #import #import #elif TARGET_OS_MAC #import #import #endif //! Project version number for ObjectiveDropboxOfficial. FOUNDATION_EXPORT double ObjectiveDropboxOfficialVersionNumber; //! Project version string for ObjectiveDropboxOfficial. FOUNDATION_EXPORT const unsigned char ObjectiveDropboxOfficialVersionString[]; // In this header, you should import all the public headers of your framework using statements like #import // #import #if TARGET_OS_IPHONE #import #elif TARGET_OS_MAC #import #endif ================================================ FILE: Source/ObjectiveDropboxOfficial/Headers/Umbrella/ObjectiveDropboxOfficialLib.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Umbrella import for importing as a library /// #import "TargetConditionals.h" #import "DBSDKImportsShared.h" #if TARGET_OS_IPHONE #import "DBSDKImports-iOS.h" #elif TARGET_OS_MAC #import "DBSDKImports-macOS.h" #endif ================================================ FILE: Source/ObjectiveDropboxOfficial/ObjectiveDropboxOfficial.xcodeproj/project.pbxproj ================================================ // !$*UTF8*$! { archiveVersion = 1; classes = { }; objectVersion = 46; objects = { /* Begin PBXBuildFile section */ 3C3C29741F7D757E00C54011 /* DBTransportBaseHostnameConfig.m in Sources */ = {isa = PBXBuildFile; fileRef = 3C3C29721F7D757E00C54011 /* DBTransportBaseHostnameConfig.m */; }; 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 */; }; F235B5311E29915400144F8B /* DBClientsManager+DesktopAuth-macOS.m in Sources */ = {isa = PBXBuildFile; fileRef = F235B52B1E29915400144F8B /* DBClientsManager+DesktopAuth-macOS.m */; }; F239DFCF1E68DA1700417314 /* DBSDKConstants.h in Headers */ = {isa = PBXBuildFile; fileRef = F239DFCD1E68DA1700417314 /* DBSDKConstants.h */; settings = {ATTRIBUTES = (Public, ); }; }; F239DFD01E68DA1700417314 /* DBSDKConstants.h in Headers */ = {isa = PBXBuildFile; fileRef = F239DFCD1E68DA1700417314 /* DBSDKConstants.h */; settings = {ATTRIBUTES = (Public, ); }; }; F239DFD11E68DA1700417314 /* DBSDKConstants.m in Sources */ = {isa = PBXBuildFile; fileRef = F239DFCE1E68DA1700417314 /* DBSDKConstants.m */; }; F239DFD21E68DA1700417314 /* DBSDKConstants.m in Sources */ = {isa = PBXBuildFile; fileRef = F239DFCE1E68DA1700417314 /* DBSDKConstants.m */; }; F24169471E523FEB0038E306 /* DBTransportDefaultConfig.m in Sources */ = {isa = PBXBuildFile; fileRef = F24169461E523FEB0038E306 /* DBTransportDefaultConfig.m */; }; F24169481E523FEB0038E306 /* DBTransportDefaultConfig.m in Sources */ = {isa = PBXBuildFile; fileRef = F24169461E523FEB0038E306 /* DBTransportDefaultConfig.m */; }; F241694E1E5247D60038E306 /* DBTransportBaseConfig.m in Sources */ = {isa = PBXBuildFile; fileRef = F241694A1E5247D60038E306 /* DBTransportBaseConfig.m */; }; 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 */; }; 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 */; }; F29788C61E03692F00876A73 /* DBUserClient.m in Sources */ = {isa = PBXBuildFile; fileRef = F29781711E03692800876A73 /* DBUserClient.m */; }; F29788C71E03692F00876A73 /* DBClientsManager.h in Headers */ = {isa = PBXBuildFile; fileRef = F29781721E03692800876A73 /* DBClientsManager.h */; settings = {ATTRIBUTES = (Public, ); }; }; F29788C81E03692F00876A73 /* DBClientsManager.h in Headers */ = {isa = PBXBuildFile; fileRef = F29781721E03692800876A73 /* DBClientsManager.h */; settings = {ATTRIBUTES = (Public, ); }; }; F29788C91E03692F00876A73 /* DBClientsManager.m in Sources */ = {isa = PBXBuildFile; fileRef = F29781731E03692800876A73 /* DBClientsManager.m */; }; F29788CA1E03692F00876A73 /* DBClientsManager.m in Sources */ = {isa = PBXBuildFile; fileRef = F29781731E03692800876A73 /* DBClientsManager.m */; }; F29788CB1E03692F00876A73 /* DBSDKImportsShared.h in Headers */ = {isa = PBXBuildFile; fileRef = F29781741E03692800876A73 /* DBSDKImportsShared.h */; settings = {ATTRIBUTES = (Public, ); }; }; F29788CC1E03692F00876A73 /* DBSDKImportsShared.h in Headers */ = {isa = PBXBuildFile; fileRef = F29781741E03692800876A73 /* DBSDKImportsShared.h */; settings = {ATTRIBUTES = (Public, ); }; }; F29788CD1E03692F00876A73 /* DBTeamClient.h in Headers */ = {isa = PBXBuildFile; fileRef = F29781751E03692800876A73 /* DBTeamClient.h */; settings = {ATTRIBUTES = (Public, ); }; }; F29788CE1E03692F00876A73 /* DBTeamClient.h in Headers */ = {isa = PBXBuildFile; fileRef = F29781751E03692800876A73 /* DBTeamClient.h */; settings = {ATTRIBUTES = (Public, ); }; }; F29788CF1E03692F00876A73 /* DBTeamClient.m in Sources */ = {isa = PBXBuildFile; fileRef = F29781761E03692800876A73 /* DBTeamClient.m */; }; F29788D01E03692F00876A73 /* DBTeamClient.m in Sources */ = {isa = PBXBuildFile; fileRef = F29781761E03692800876A73 /* DBTeamClient.m */; }; F29788D31E03692F00876A73 /* DBDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = F29781791E03692800876A73 /* DBDelegate.m */; }; F29788D41E03692F00876A73 /* DBDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = F29781791E03692800876A73 /* DBDelegate.m */; }; F29788D71E03692F00876A73 /* DBRequestErrors.h in Headers */ = {isa = PBXBuildFile; fileRef = F297817B1E03692800876A73 /* DBRequestErrors.h */; settings = {ATTRIBUTES = (Public, ); }; }; F29788D81E03692F00876A73 /* DBRequestErrors.h in Headers */ = {isa = PBXBuildFile; fileRef = F297817B1E03692800876A73 /* DBRequestErrors.h */; settings = {ATTRIBUTES = (Public, ); }; }; F29788D91E03692F00876A73 /* DBRequestErrors.m in Sources */ = {isa = PBXBuildFile; fileRef = F297817C1E03692800876A73 /* DBRequestErrors.m */; }; F29788DA1E03692F00876A73 /* DBRequestErrors.m in Sources */ = {isa = PBXBuildFile; fileRef = F297817C1E03692800876A73 /* DBRequestErrors.m */; }; F29788DD1E03692F00876A73 /* DBSDKReachability.m in Sources */ = {isa = PBXBuildFile; fileRef = F297817E1E03692800876A73 /* DBSDKReachability.m */; }; F29788DE1E03692F00876A73 /* DBSDKReachability.m in Sources */ = {isa = PBXBuildFile; fileRef = F297817E1E03692800876A73 /* DBSDKReachability.m */; }; F29788E11E03692F00876A73 /* DBSessionData.m in Sources */ = {isa = PBXBuildFile; fileRef = F29781801E03692800876A73 /* DBSessionData.m */; }; F29788E21E03692F00876A73 /* DBSessionData.m in Sources */ = {isa = PBXBuildFile; fileRef = F29781801E03692800876A73 /* DBSessionData.m */; }; F29788E31E03692F00876A73 /* DBTasks.h in Headers */ = {isa = PBXBuildFile; fileRef = F29781811E03692800876A73 /* DBTasks.h */; settings = {ATTRIBUTES = (Public, ); }; }; F29788E41E03692F00876A73 /* DBTasks.h in Headers */ = {isa = PBXBuildFile; fileRef = F29781811E03692800876A73 /* DBTasks.h */; settings = {ATTRIBUTES = (Public, ); }; }; F29788E51E03692F00876A73 /* DBTasks.m in Sources */ = {isa = PBXBuildFile; fileRef = F29781821E03692800876A73 /* DBTasks.m */; }; F29788E61E03692F00876A73 /* DBTasks.m in Sources */ = {isa = PBXBuildFile; fileRef = F29781821E03692800876A73 /* DBTasks.m */; }; F29788E91E03692F00876A73 /* DBTasksImpl.m in Sources */ = {isa = PBXBuildFile; fileRef = F29781841E03692800876A73 /* DBTasksImpl.m */; }; F29788EA1E03692F00876A73 /* DBTasksImpl.m in Sources */ = {isa = PBXBuildFile; fileRef = F29781841E03692800876A73 /* DBTasksImpl.m */; }; F29788ED1E03692F00876A73 /* DBTasksStorage.m in Sources */ = {isa = PBXBuildFile; fileRef = F29781861E03692800876A73 /* DBTasksStorage.m */; }; F29788EE1E03692F00876A73 /* DBTasksStorage.m in Sources */ = {isa = PBXBuildFile; fileRef = F29781861E03692800876A73 /* DBTasksStorage.m */; }; F29788EF1E03692F00876A73 /* DBTransportDefaultClient.h in Headers */ = {isa = PBXBuildFile; fileRef = F29781871E03692800876A73 /* DBTransportDefaultClient.h */; settings = {ATTRIBUTES = (Public, ); }; }; F29788F01E03692F00876A73 /* DBTransportDefaultClient.h in Headers */ = {isa = PBXBuildFile; fileRef = F29781871E03692800876A73 /* DBTransportDefaultClient.h */; settings = {ATTRIBUTES = (Public, ); }; }; F29788F11E03692F00876A73 /* DBTransportDefaultClient.m in Sources */ = {isa = PBXBuildFile; fileRef = F29781881E03692800876A73 /* DBTransportDefaultClient.m */; }; F29788F21E03692F00876A73 /* DBTransportDefaultClient.m in Sources */ = {isa = PBXBuildFile; fileRef = F29781881E03692800876A73 /* DBTransportDefaultClient.m */; }; F29788F31E03692F00876A73 /* DBTransportBaseClient.h in Headers */ = {isa = PBXBuildFile; fileRef = F29781891E03692800876A73 /* DBTransportBaseClient.h */; settings = {ATTRIBUTES = (Public, ); }; }; F29788F41E03692F00876A73 /* DBTransportBaseClient.h in Headers */ = {isa = PBXBuildFile; fileRef = F29781891E03692800876A73 /* DBTransportBaseClient.h */; settings = {ATTRIBUTES = (Public, ); }; }; F29788F51E03692F00876A73 /* DBTransportBaseClient.m in Sources */ = {isa = PBXBuildFile; fileRef = F297818A1E03692800876A73 /* DBTransportBaseClient.m */; }; F29788F61E03692F00876A73 /* DBTransportBaseClient.m in Sources */ = {isa = PBXBuildFile; fileRef = F297818A1E03692800876A73 /* DBTransportBaseClient.m */; }; F29788F71E03692F00876A73 /* DBTransportClientProtocol.h in Headers */ = {isa = PBXBuildFile; fileRef = F297818B1E03692800876A73 /* DBTransportClientProtocol.h */; settings = {ATTRIBUTES = (Public, ); }; }; F29788F81E03692F00876A73 /* DBTransportClientProtocol.h in Headers */ = {isa = PBXBuildFile; fileRef = F297818B1E03692800876A73 /* DBTransportClientProtocol.h */; settings = {ATTRIBUTES = (Public, ); }; }; F29788F91E03692F00876A73 /* DBOAuthManager.h in Headers */ = {isa = PBXBuildFile; fileRef = F297818D1E03692800876A73 /* DBOAuthManager.h */; settings = {ATTRIBUTES = (Public, ); }; }; F29788FA1E03692F00876A73 /* DBOAuthManager.h in Headers */ = {isa = PBXBuildFile; fileRef = F297818D1E03692800876A73 /* DBOAuthManager.h */; settings = {ATTRIBUTES = (Public, ); }; }; F29788FB1E03692F00876A73 /* DBOAuthManager.m in Sources */ = {isa = PBXBuildFile; fileRef = F297818E1E03692800876A73 /* DBOAuthManager.m */; }; F29788FC1E03692F00876A73 /* DBOAuthManager.m in Sources */ = {isa = PBXBuildFile; fileRef = F297818E1E03692800876A73 /* DBOAuthManager.m */; }; F29788FD1E03692F00876A73 /* DBOAuthResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F297818F1E03692800876A73 /* DBOAuthResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; F29788FE1E03692F00876A73 /* DBOAuthResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F297818F1E03692800876A73 /* DBOAuthResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; F29788FF1E03692F00876A73 /* DBOAuthResult.m in Sources */ = {isa = PBXBuildFile; fileRef = F29781901E03692800876A73 /* DBOAuthResult.m */; }; F29789001E03692F00876A73 /* DBOAuthResult.m in Sources */ = {isa = PBXBuildFile; fileRef = F29781901E03692800876A73 /* DBOAuthResult.m */; }; F29789011E03692F00876A73 /* DBSDKKeychain.h in Headers */ = {isa = PBXBuildFile; fileRef = F29781911E03692800876A73 /* DBSDKKeychain.h */; settings = {ATTRIBUTES = (Public, ); }; }; F29789021E03692F00876A73 /* DBSDKKeychain.h in Headers */ = {isa = PBXBuildFile; fileRef = F29781911E03692800876A73 /* DBSDKKeychain.h */; settings = {ATTRIBUTES = (Public, ); }; }; F29789031E03692F00876A73 /* DBSDKKeychain.m in Sources */ = {isa = PBXBuildFile; fileRef = F29781921E03692800876A73 /* DBSDKKeychain.m */; }; F29789041E03692F00876A73 /* DBSDKKeychain.m in Sources */ = {isa = PBXBuildFile; fileRef = F29781921E03692800876A73 /* DBSDKKeychain.m */; }; F29789051E03692F00876A73 /* DBSharedApplicationProtocol.h in Headers */ = {isa = PBXBuildFile; fileRef = F29781931E03692800876A73 /* DBSharedApplicationProtocol.h */; settings = {ATTRIBUTES = (Public, ); }; }; F29789061E03692F00876A73 /* DBSharedApplicationProtocol.h in Headers */ = {isa = PBXBuildFile; fileRef = F29781931E03692800876A73 /* DBSharedApplicationProtocol.h */; settings = {ATTRIBUTES = (Public, ); }; }; F297890B1E03692F00876A73 /* DBChunkInputStream.m in Sources */ = {isa = PBXBuildFile; fileRef = F29781971E03692800876A73 /* DBChunkInputStream.m */; }; F297890C1E03692F00876A73 /* DBChunkInputStream.m in Sources */ = {isa = PBXBuildFile; fileRef = F29781971E03692800876A73 /* DBChunkInputStream.m */; }; F297890F1E03692F00876A73 /* DBCustomRoutes.h in Headers */ = {isa = PBXBuildFile; fileRef = F29781991E03692800876A73 /* DBCustomRoutes.h */; settings = {ATTRIBUTES = (Public, ); }; }; F29789101E03692F00876A73 /* DBCustomRoutes.h in Headers */ = {isa = PBXBuildFile; fileRef = F29781991E03692800876A73 /* DBCustomRoutes.h */; settings = {ATTRIBUTES = (Public, ); }; }; F29789111E03692F00876A73 /* DBCustomRoutes.m in Sources */ = {isa = PBXBuildFile; fileRef = F297819A1E03692800876A73 /* DBCustomRoutes.m */; }; F29789121E03692F00876A73 /* DBCustomRoutes.m in Sources */ = {isa = PBXBuildFile; fileRef = F297819A1E03692800876A73 /* DBCustomRoutes.m */; }; F29AFA7B1D7FF0220043800A /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F29AFA7A1D7FF0220043800A /* Foundation.framework */; }; F29AFA7D1D7FF02B0043800A /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F29AFA7C1D7FF02B0043800A /* UIKit.framework */; }; F2A2CE821E5628A8001D8449 /* DBDelegate.h in Headers */ = {isa = PBXBuildFile; fileRef = F2A2CE771E562817001D8449 /* DBDelegate.h */; }; F2A2CE831E5628B1001D8449 /* DBHandlerTypesInternal.h in Headers */ = {isa = PBXBuildFile; fileRef = F2A2CE781E562817001D8449 /* DBHandlerTypesInternal.h */; }; F2A2CE841E5628B4001D8449 /* DBSDKReachability.h in Headers */ = {isa = PBXBuildFile; fileRef = F2A2CE791E562817001D8449 /* DBSDKReachability.h */; }; F2A2CE851E5628B9001D8449 /* DBSessionData.h in Headers */ = {isa = PBXBuildFile; fileRef = F2A2CE7A1E562817001D8449 /* DBSessionData.h */; }; F2A2CE861E5628BC001D8449 /* DBTasks+Protected.h in Headers */ = {isa = PBXBuildFile; fileRef = F2A2CE7B1E562817001D8449 /* DBTasks+Protected.h */; }; F2A2CE871E5628C1001D8449 /* DBTasksImpl.h in Headers */ = {isa = PBXBuildFile; fileRef = F2A2CE7C1E562817001D8449 /* DBTasksImpl.h */; }; F2A2CE8A1E5628CC001D8449 /* DBChunkInputStream.h in Headers */ = {isa = PBXBuildFile; fileRef = F2A2CE801E562817001D8449 /* DBChunkInputStream.h */; }; F2A2CE8C1E5628D3001D8449 /* DBClientsManager+Protected.h in Headers */ = {isa = PBXBuildFile; fileRef = F2A2CE751E562817001D8449 /* DBClientsManager+Protected.h */; }; F2A2CE8D1E5628F1001D8449 /* DBClientsManager+Protected.h in Headers */ = {isa = PBXBuildFile; fileRef = F2A2CE751E562817001D8449 /* DBClientsManager+Protected.h */; }; F2A2CE8E1E5628F4001D8449 /* DBDelegate.h in Headers */ = {isa = PBXBuildFile; fileRef = F2A2CE771E562817001D8449 /* DBDelegate.h */; }; F2A2CE8F1E5628F6001D8449 /* DBHandlerTypesInternal.h in Headers */ = {isa = PBXBuildFile; fileRef = F2A2CE781E562817001D8449 /* DBHandlerTypesInternal.h */; }; F2A2CE901E5628F9001D8449 /* DBSDKReachability.h in Headers */ = {isa = PBXBuildFile; fileRef = F2A2CE791E562817001D8449 /* DBSDKReachability.h */; }; F2A2CE911E5628FC001D8449 /* DBSessionData.h in Headers */ = {isa = PBXBuildFile; fileRef = F2A2CE7A1E562817001D8449 /* DBSessionData.h */; }; F2A2CE921E562901001D8449 /* DBTasks+Protected.h in Headers */ = {isa = PBXBuildFile; fileRef = F2A2CE7B1E562817001D8449 /* DBTasks+Protected.h */; }; F2A2CE931E56290B001D8449 /* DBTasksImpl.h in Headers */ = {isa = PBXBuildFile; fileRef = F2A2CE7C1E562817001D8449 /* DBTasksImpl.h */; }; F2A2CE961E562917001D8449 /* DBChunkInputStream.h in Headers */ = {isa = PBXBuildFile; fileRef = F2A2CE801E562817001D8449 /* DBChunkInputStream.h */; }; F2A2CE9A1E562E46001D8449 /* DBCustomTasks.m in Sources */ = {isa = PBXBuildFile; fileRef = F2A2CE991E562E46001D8449 /* DBCustomTasks.m */; }; F2A2CE9B1E562E46001D8449 /* DBCustomTasks.m in Sources */ = {isa = PBXBuildFile; fileRef = F2A2CE991E562E46001D8449 /* DBCustomTasks.m */; }; F2A2CE9C1E562E7B001D8449 /* DBCustomTasks.h in Headers */ = {isa = PBXBuildFile; fileRef = F2A2CE981E562DFF001D8449 /* DBCustomTasks.h */; settings = {ATTRIBUTES = (Public, ); }; }; F2A2CE9E1E562E90001D8449 /* DBCustomTasks.h in Headers */ = {isa = PBXBuildFile; fileRef = F2A2CE981E562DFF001D8449 /* DBCustomTasks.h */; settings = {ATTRIBUTES = (Public, ); }; }; F2A2CEA11E562FEB001D8449 /* DBCustomDatatypes.m in Sources */ = {isa = PBXBuildFile; fileRef = F2A2CEA01E562FEB001D8449 /* DBCustomDatatypes.m */; }; F2A2CEA21E562FEB001D8449 /* DBCustomDatatypes.m in Sources */ = {isa = PBXBuildFile; fileRef = F2A2CEA01E562FEB001D8449 /* DBCustomDatatypes.m */; }; F2A2CEA31E562FF6001D8449 /* DBCustomDatatypes.h in Headers */ = {isa = PBXBuildFile; fileRef = F2A2CE9F1E562F7E001D8449 /* DBCustomDatatypes.h */; settings = {ATTRIBUTES = (Public, ); }; }; F2A2CEA41E563004001D8449 /* DBCustomDatatypes.h in Headers */ = {isa = PBXBuildFile; fileRef = F2A2CE9F1E562F7E001D8449 /* DBCustomDatatypes.h */; settings = {ATTRIBUTES = (Public, ); }; }; F2A2CEA61E5634DE001D8449 /* DBHandlerTypes.h in Headers */ = {isa = PBXBuildFile; fileRef = F2A2CEA51E563268001D8449 /* DBHandlerTypes.h */; settings = {ATTRIBUTES = (Public, ); }; }; F2A2CEA71E5634E8001D8449 /* DBHandlerTypes.h in Headers */ = {isa = PBXBuildFile; fileRef = F2A2CEA51E563268001D8449 /* DBHandlerTypes.h */; settings = {ATTRIBUTES = (Public, ); }; }; F2A2CEA91E565678001D8449 /* DBTransportBaseClient+Internal.h in Headers */ = {isa = PBXBuildFile; fileRef = F2A2CEA81E5655D1001D8449 /* DBTransportBaseClient+Internal.h */; }; F2A2CEAA1E56567C001D8449 /* DBTransportBaseClient+Internal.h in Headers */ = {isa = PBXBuildFile; fileRef = F2A2CEA81E5655D1001D8449 /* DBTransportBaseClient+Internal.h */; }; F2A2CEAC1E5665BB001D8449 /* DBTransportDefaultConfig.h in Headers */ = {isa = PBXBuildFile; fileRef = F24169451E523FD30038E306 /* DBTransportDefaultConfig.h */; settings = {ATTRIBUTES = (Public, ); }; }; F2A2CEAD1E5665BC001D8449 /* DBTransportDefaultConfig.h in Headers */ = {isa = PBXBuildFile; fileRef = F24169451E523FD30038E306 /* DBTransportDefaultConfig.h */; settings = {ATTRIBUTES = (Public, ); }; }; F2A2CEAE1E5665D1001D8449 /* DBTransportBaseConfig.h in Headers */ = {isa = PBXBuildFile; fileRef = F24169491E5247D60038E306 /* DBTransportBaseConfig.h */; settings = {ATTRIBUTES = (Public, ); }; }; F2A2CEAF1E5665D2001D8449 /* DBTransportBaseConfig.h in Headers */ = {isa = PBXBuildFile; fileRef = F24169491E5247D60038E306 /* DBTransportBaseConfig.h */; settings = {ATTRIBUTES = (Public, ); }; }; F2A2CEB01E5665E0001D8449 /* DBTasksStorage.h in Headers */ = {isa = PBXBuildFile; fileRef = F2A2CEAB1E5665A1001D8449 /* DBTasksStorage.h */; settings = {ATTRIBUTES = (Public, ); }; }; F2A2CEB11E5665E0001D8449 /* DBTasksStorage.h in Headers */ = {isa = PBXBuildFile; fileRef = F2A2CEAB1E5665A1001D8449 /* DBTasksStorage.h */; settings = {ATTRIBUTES = (Public, ); }; }; F2A2CEB41E566611001D8449 /* DBSDKImports-macOS.h in Headers */ = {isa = PBXBuildFile; fileRef = F235B52C1E29915400144F8B /* DBSDKImports-macOS.h */; settings = {ATTRIBUTES = (Public, ); }; }; F2A2CEB51E56661D001D8449 /* DBOAuthDesktop-macOS.h in Headers */ = {isa = PBXBuildFile; fileRef = F235B5281E29915400144F8B /* DBOAuthDesktop-macOS.h */; settings = {ATTRIBUTES = (Public, ); }; }; F2A2CEB61E566621001D8449 /* DBClientsManager+DesktopAuth-macOS.h in Headers */ = {isa = PBXBuildFile; fileRef = F235B52A1E29915400144F8B /* DBClientsManager+DesktopAuth-macOS.h */; settings = {ATTRIBUTES = (Public, ); }; }; F2A2CEB71E566625001D8449 /* DBSDKImports-iOS.h in Headers */ = {isa = PBXBuildFile; fileRef = F235B51F1E29913600144F8B /* DBSDKImports-iOS.h */; settings = {ATTRIBUTES = (Public, ); }; }; F2A2CEB81E56662A001D8449 /* DBOAuthMobile-iOS.h in Headers */ = {isa = PBXBuildFile; fileRef = F235B51B1E29913600144F8B /* DBOAuthMobile-iOS.h */; settings = {ATTRIBUTES = (Public, ); }; }; F2A2CEB91E56662E001D8449 /* DBClientsManager+MobileAuth-iOS.h in Headers */ = {isa = PBXBuildFile; fileRef = F235B51D1E29913600144F8B /* DBClientsManager+MobileAuth-iOS.h */; settings = {ATTRIBUTES = (Public, ); }; }; F2A2DBAD1E578C3F001D8449 /* DBOfficialAppConnector-iOS.h in Headers */ = {isa = PBXBuildFile; fileRef = F2A2DBA91E578C3F001D8449 /* DBOfficialAppConnector-iOS.h */; settings = {ATTRIBUTES = (Public, ); }; }; F2A2DBAE1E578C3F001D8449 /* DBOfficialAppConnector-iOS.m in Sources */ = {isa = PBXBuildFile; fileRef = F2A2DBAA1E578C3F001D8449 /* DBOfficialAppConnector-iOS.m */; }; F2A2DBAF1E578C3F001D8449 /* DBOpenWithInfo-iOS.h in Headers */ = {isa = PBXBuildFile; fileRef = F2A2DBAB1E578C3F001D8449 /* DBOpenWithInfo-iOS.h */; settings = {ATTRIBUTES = (Public, ); }; }; F2A2DBB01E578C3F001D8449 /* DBOpenWithInfo-iOS.m in Sources */ = {isa = PBXBuildFile; fileRef = F2A2DBAC1E578C3F001D8449 /* DBOpenWithInfo-iOS.m */; }; F2AB0D8B1E666C96002617AB /* ObjectiveDropboxOfficialLib.h in Headers */ = {isa = PBXBuildFile; fileRef = F2C187EA1E6666A50042ABE6 /* ObjectiveDropboxOfficialLib.h */; settings = {ATTRIBUTES = (Private, ); }; }; F2AB0D8C1E666C96002617AB /* ObjectiveDropboxOfficialLib.h in Headers */ = {isa = PBXBuildFile; fileRef = F2C187EA1E6666A50042ABE6 /* ObjectiveDropboxOfficialLib.h */; settings = {ATTRIBUTES = (Private, ); }; }; F2AB345B1E89DEEE004F6379 /* DBAppClient.h in Headers */ = {isa = PBXBuildFile; fileRef = F2AB345A1E89DEEE004F6379 /* DBAppClient.h */; settings = {ATTRIBUTES = (Public, ); }; }; F2AB345C1E89DEEE004F6379 /* DBAppClient.h in Headers */ = {isa = PBXBuildFile; fileRef = F2AB345A1E89DEEE004F6379 /* DBAppClient.h */; settings = {ATTRIBUTES = (Public, ); }; }; F2AB345E1E89DF0C004F6379 /* DBAppClient.m in Sources */ = {isa = PBXBuildFile; fileRef = F2AB345D1E89DF0C004F6379 /* DBAppClient.m */; }; F2AB345F1E89DF0C004F6379 /* DBAppClient.m in Sources */ = {isa = PBXBuildFile; fileRef = F2AB345D1E89DF0C004F6379 /* DBAppClient.m */; }; F2C187EB1E6666C30042ABE6 /* ObjectiveDropboxOfficial.h in Headers */ = {isa = PBXBuildFile; fileRef = F2C187E91E6666A50042ABE6 /* ObjectiveDropboxOfficial.h */; settings = {ATTRIBUTES = (Public, ); }; }; F2C187EC1E6666C30042ABE6 /* ObjectiveDropboxOfficial.h in Headers */ = {isa = PBXBuildFile; fileRef = F2C187E91E6666A50042ABE6 /* ObjectiveDropboxOfficial.h */; settings = {ATTRIBUTES = (Public, ); }; }; F2C59AF51E9C033400E8D2E6 /* DBSDKSystem.h in Headers */ = {isa = PBXBuildFile; fileRef = F2C59AF41E9C033400E8D2E6 /* DBSDKSystem.h */; }; F2C59AF61E9C033400E8D2E6 /* DBSDKSystem.h in Headers */ = {isa = PBXBuildFile; fileRef = F2C59AF41E9C033400E8D2E6 /* DBSDKSystem.h */; }; F2C59AF81E9C2C9600E8D2E6 /* DBOAuthMobileManager-iOS.h in Headers */ = {isa = PBXBuildFile; fileRef = F2C59AF71E9C2C9600E8D2E6 /* DBOAuthMobileManager-iOS.h */; settings = {ATTRIBUTES = (Public, ); }; }; F2C59AFA1E9C2CAF00E8D2E6 /* DBOAuthMobileManager-iOS.m in Sources */ = {isa = PBXBuildFile; fileRef = F2C59AF91E9C2CAF00E8D2E6 /* DBOAuthMobileManager-iOS.m */; }; F2C59AFD1E9C2EFC00E8D2E6 /* DBOAuthManager+Protected.h in Headers */ = {isa = PBXBuildFile; fileRef = F2C59AFC1E9C2EFC00E8D2E6 /* DBOAuthManager+Protected.h */; }; F2C59AFE1E9C2EFC00E8D2E6 /* DBOAuthManager+Protected.h in Headers */ = {isa = PBXBuildFile; fileRef = F2C59AFC1E9C2EFC00E8D2E6 /* DBOAuthManager+Protected.h */; }; F2D40D3A1E7782C7004CCEB7 /* DBGlobalErrorResponseHandler.h in Headers */ = {isa = PBXBuildFile; fileRef = F2D40D381E7782C7004CCEB7 /* DBGlobalErrorResponseHandler.h */; settings = {ATTRIBUTES = (Public, ); }; }; F2D40D3B1E7782C7004CCEB7 /* DBGlobalErrorResponseHandler.h in Headers */ = {isa = PBXBuildFile; fileRef = F2D40D381E7782C7004CCEB7 /* DBGlobalErrorResponseHandler.h */; settings = {ATTRIBUTES = (Public, ); }; }; F2D40D3C1E7782C7004CCEB7 /* DBGlobalErrorResponseHandler.m in Sources */ = {isa = PBXBuildFile; fileRef = F2D40D391E7782C7004CCEB7 /* DBGlobalErrorResponseHandler.m */; }; F2D40D3D1E7782C7004CCEB7 /* DBGlobalErrorResponseHandler.m in Sources */ = {isa = PBXBuildFile; fileRef = F2D40D391E7782C7004CCEB7 /* DBGlobalErrorResponseHandler.m */; }; 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 = ""; }; F235B51E1E29913600144F8B /* DBClientsManager+MobileAuth-iOS.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "DBClientsManager+MobileAuth-iOS.m"; sourceTree = ""; }; F235B51F1E29913600144F8B /* DBSDKImports-iOS.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "DBSDKImports-iOS.h"; sourceTree = ""; }; F235B5201E29913600144F8B /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; F235B5281E29915400144F8B /* DBOAuthDesktop-macOS.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "DBOAuthDesktop-macOS.h"; sourceTree = ""; }; F235B5291E29915400144F8B /* DBOAuthDesktop-macOS.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "DBOAuthDesktop-macOS.m"; sourceTree = ""; }; F235B52A1E29915400144F8B /* DBClientsManager+DesktopAuth-macOS.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "DBClientsManager+DesktopAuth-macOS.h"; sourceTree = ""; }; F235B52B1E29915400144F8B /* DBClientsManager+DesktopAuth-macOS.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "DBClientsManager+DesktopAuth-macOS.m"; sourceTree = ""; }; F235B52C1E29915400144F8B /* DBSDKImports-macOS.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "DBSDKImports-macOS.h"; sourceTree = ""; }; F235B52D1E29915400144F8B /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; F239DFCD1E68DA1700417314 /* DBSDKConstants.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSDKConstants.h; sourceTree = ""; }; F239DFCE1E68DA1700417314 /* DBSDKConstants.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBSDKConstants.m; sourceTree = ""; }; F24169451E523FD30038E306 /* DBTransportDefaultConfig.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = DBTransportDefaultConfig.h; sourceTree = ""; }; F24169461E523FEB0038E306 /* DBTransportDefaultConfig.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBTransportDefaultConfig.m; sourceTree = ""; }; F24169491E5247D60038E306 /* DBTransportBaseConfig.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTransportBaseConfig.h; sourceTree = ""; }; F241694A1E5247D60038E306 /* DBTransportBaseConfig.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBTransportBaseConfig.m; sourceTree = ""; }; F26B75751D7F6AF700714F70 /* ObjectiveDropboxOfficial.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = ObjectiveDropboxOfficial.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 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; }; 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 = ""; }; F29781731E03692800876A73 /* DBClientsManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBClientsManager.m; sourceTree = ""; }; F29781741E03692800876A73 /* DBSDKImportsShared.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSDKImportsShared.h; sourceTree = ""; }; F29781751E03692800876A73 /* DBTeamClient.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTeamClient.h; sourceTree = ""; }; F29781761E03692800876A73 /* DBTeamClient.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBTeamClient.m; sourceTree = ""; }; F29781791E03692800876A73 /* DBDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBDelegate.m; sourceTree = ""; }; F297817B1E03692800876A73 /* DBRequestErrors.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBRequestErrors.h; sourceTree = ""; }; F297817C1E03692800876A73 /* DBRequestErrors.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBRequestErrors.m; sourceTree = ""; }; F297817E1E03692800876A73 /* DBSDKReachability.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBSDKReachability.m; sourceTree = ""; }; F29781801E03692800876A73 /* DBSessionData.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBSessionData.m; sourceTree = ""; }; F29781811E03692800876A73 /* DBTasks.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTasks.h; sourceTree = ""; }; F29781821E03692800876A73 /* DBTasks.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBTasks.m; sourceTree = ""; }; F29781841E03692800876A73 /* DBTasksImpl.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBTasksImpl.m; sourceTree = ""; }; F29781861E03692800876A73 /* DBTasksStorage.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBTasksStorage.m; sourceTree = ""; }; F29781871E03692800876A73 /* DBTransportDefaultClient.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTransportDefaultClient.h; sourceTree = ""; }; F29781881E03692800876A73 /* DBTransportDefaultClient.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBTransportDefaultClient.m; sourceTree = ""; }; F29781891E03692800876A73 /* DBTransportBaseClient.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTransportBaseClient.h; sourceTree = ""; }; F297818A1E03692800876A73 /* DBTransportBaseClient.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBTransportBaseClient.m; sourceTree = ""; }; F297818B1E03692800876A73 /* DBTransportClientProtocol.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTransportClientProtocol.h; sourceTree = ""; }; F297818D1E03692800876A73 /* DBOAuthManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBOAuthManager.h; sourceTree = ""; }; F297818E1E03692800876A73 /* DBOAuthManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBOAuthManager.m; sourceTree = ""; }; F297818F1E03692800876A73 /* DBOAuthResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBOAuthResult.h; sourceTree = ""; }; F29781901E03692800876A73 /* DBOAuthResult.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBOAuthResult.m; sourceTree = ""; }; F29781911E03692800876A73 /* DBSDKKeychain.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSDKKeychain.h; sourceTree = ""; }; F29781921E03692800876A73 /* DBSDKKeychain.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBSDKKeychain.m; sourceTree = ""; }; F29781931E03692800876A73 /* DBSharedApplicationProtocol.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSharedApplicationProtocol.h; sourceTree = ""; }; F29781971E03692800876A73 /* DBChunkInputStream.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBChunkInputStream.m; sourceTree = ""; }; F29781991E03692800876A73 /* DBCustomRoutes.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBCustomRoutes.h; sourceTree = ""; }; F297819A1E03692800876A73 /* DBCustomRoutes.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBCustomRoutes.m; sourceTree = ""; }; F29AFA7A1D7FF0220043800A /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; F29AFA7C1D7FF02B0043800A /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; }; F29AFA7E1D7FF0340043800A /* WebKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = WebKit.framework; path = System/Library/Frameworks/WebKit.framework; sourceTree = SDKROOT; }; F2A2CE751E562817001D8449 /* DBClientsManager+Protected.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "DBClientsManager+Protected.h"; sourceTree = ""; }; F2A2CE771E562817001D8449 /* DBDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = DBDelegate.h; sourceTree = ""; }; F2A2CE781E562817001D8449 /* DBHandlerTypesInternal.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = DBHandlerTypesInternal.h; sourceTree = ""; }; F2A2CE791E562817001D8449 /* DBSDKReachability.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = DBSDKReachability.h; sourceTree = ""; }; F2A2CE7A1E562817001D8449 /* DBSessionData.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = DBSessionData.h; sourceTree = ""; }; F2A2CE7B1E562817001D8449 /* DBTasks+Protected.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "DBTasks+Protected.h"; sourceTree = ""; }; F2A2CE7C1E562817001D8449 /* DBTasksImpl.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = DBTasksImpl.h; sourceTree = ""; }; F2A2CE801E562817001D8449 /* DBChunkInputStream.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = DBChunkInputStream.h; sourceTree = ""; }; F2A2CE981E562DFF001D8449 /* DBCustomTasks.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = DBCustomTasks.h; sourceTree = ""; }; F2A2CE991E562E46001D8449 /* DBCustomTasks.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBCustomTasks.m; sourceTree = ""; }; F2A2CE9F1E562F7E001D8449 /* DBCustomDatatypes.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = DBCustomDatatypes.h; sourceTree = ""; }; F2A2CEA01E562FEB001D8449 /* DBCustomDatatypes.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBCustomDatatypes.m; sourceTree = ""; }; F2A2CEA51E563268001D8449 /* DBHandlerTypes.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = DBHandlerTypes.h; sourceTree = ""; }; F2A2CEA81E5655D1001D8449 /* DBTransportBaseClient+Internal.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "DBTransportBaseClient+Internal.h"; sourceTree = ""; }; F2A2CEAB1E5665A1001D8449 /* DBTasksStorage.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = DBTasksStorage.h; sourceTree = ""; }; F2A2DBA91E578C3F001D8449 /* DBOfficialAppConnector-iOS.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "DBOfficialAppConnector-iOS.h"; sourceTree = ""; }; F2A2DBAA1E578C3F001D8449 /* DBOfficialAppConnector-iOS.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "DBOfficialAppConnector-iOS.m"; sourceTree = ""; }; F2A2DBAB1E578C3F001D8449 /* DBOpenWithInfo-iOS.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "DBOpenWithInfo-iOS.h"; sourceTree = ""; }; F2A2DBAC1E578C3F001D8449 /* DBOpenWithInfo-iOS.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "DBOpenWithInfo-iOS.m"; sourceTree = ""; }; F2AB345A1E89DEEE004F6379 /* DBAppClient.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBAppClient.h; sourceTree = ""; }; F2AB345D1E89DF0C004F6379 /* DBAppClient.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBAppClient.m; sourceTree = ""; }; F2C187E91E6666A50042ABE6 /* ObjectiveDropboxOfficial.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ObjectiveDropboxOfficial.h; sourceTree = ""; }; F2C187EA1E6666A50042ABE6 /* ObjectiveDropboxOfficialLib.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ObjectiveDropboxOfficialLib.h; sourceTree = ""; }; F2C59AF41E9C033400E8D2E6 /* DBSDKSystem.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSDKSystem.h; sourceTree = ""; }; F2C59AF71E9C2C9600E8D2E6 /* DBOAuthMobileManager-iOS.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "DBOAuthMobileManager-iOS.h"; sourceTree = ""; }; F2C59AF91E9C2CAF00E8D2E6 /* DBOAuthMobileManager-iOS.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "DBOAuthMobileManager-iOS.m"; sourceTree = ""; }; F2C59AFC1E9C2EFC00E8D2E6 /* DBOAuthManager+Protected.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "DBOAuthManager+Protected.h"; sourceTree = ""; }; F2D40D381E7782C7004CCEB7 /* DBGlobalErrorResponseHandler.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBGlobalErrorResponseHandler.h; sourceTree = ""; }; F2D40D391E7782C7004CCEB7 /* DBGlobalErrorResponseHandler.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBGlobalErrorResponseHandler.m; sourceTree = ""; }; F2D40D3E1E779AE5004CCEB7 /* DBGlobalErrorResponseHandler+Internal.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "DBGlobalErrorResponseHandler+Internal.h"; sourceTree = ""; }; 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 */ F26B75711D7F6AF700714F70 /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( F2F2D0011E9D76CA00512DE8 /* SystemConfiguration.framework in Frameworks */, F2F2CFFD1E9D769500512DE8 /* SafariServices.framework in Frameworks */, F29AFA7D1D7FF02B0043800A /* UIKit.framework in Frameworks */, F29AFA7B1D7FF0220043800A /* Foundation.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; F27DE9DE1D7FF909003B1CEE /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( F2F2CFFF1E9D76C300512DE8 /* SystemConfiguration.framework in Frameworks */, F27DEB9C1D7FFBBF003B1CEE /* Foundation.framework in Frameworks */, F27DEB9A1D7FFBB9003B1CEE /* AppKit.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; /* 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 = ( F235B51A1E29913600144F8B /* ObjectiveDropboxOfficial_iOS */, F235B5271E29915400144F8B /* ObjectiveDropboxOfficial_macOS */, ); name = Platform; sourceTree = ""; }; F235B51A1E29913600144F8B /* ObjectiveDropboxOfficial_iOS */ = { isa = PBXGroup; children = ( F235B51F1E29913600144F8B /* DBSDKImports-iOS.h */, F235B51D1E29913600144F8B /* DBClientsManager+MobileAuth-iOS.h */, F235B51E1E29913600144F8B /* DBClientsManager+MobileAuth-iOS.m */, F235B51B1E29913600144F8B /* DBOAuthMobile-iOS.h */, F235B51C1E29913600144F8B /* DBOAuthMobile-iOS.m */, F2C59AF71E9C2C9600E8D2E6 /* DBOAuthMobileManager-iOS.h */, F2C59AF91E9C2CAF00E8D2E6 /* DBOAuthMobileManager-iOS.m */, F235B5201E29913600144F8B /* Info.plist */, F2A2DBA71E578C3E001D8449 /* OfficialPartners */, BF7E352A2488562F00DEDF84 /* DBLoadingViewController.m */, ); name = ObjectiveDropboxOfficial_iOS; path = Platform/ObjectiveDropboxOfficial_iOS; sourceTree = ""; }; F235B5271E29915400144F8B /* ObjectiveDropboxOfficial_macOS */ = { isa = PBXGroup; children = ( F235B52C1E29915400144F8B /* DBSDKImports-macOS.h */, F235B52A1E29915400144F8B /* DBClientsManager+DesktopAuth-macOS.h */, F235B52B1E29915400144F8B /* DBClientsManager+DesktopAuth-macOS.m */, F235B5281E29915400144F8B /* DBOAuthDesktop-macOS.h */, F235B5291E29915400144F8B /* DBOAuthDesktop-macOS.m */, F235B52D1E29915400144F8B /* Info.plist */, ); name = ObjectiveDropboxOfficial_macOS; path = Platform/ObjectiveDropboxOfficial_macOS; sourceTree = ""; }; F235B5341E29917E00144F8B /* Headers */ = { isa = PBXGroup; children = ( BFC67B9724CA8BF800502C76 /* PlatformInternal */, F2A2CE741E562817001D8449 /* Internal */, F2C187E81E6666A50042ABE6 /* Umbrella */, ); path = Headers; sourceTree = ""; }; F26B756B1D7F6AF700714F70 = { isa = PBXGroup; children = ( F94D30DB2BBB1A5D00F86465 /* PrivacyInfo.xcprivacy */, F235B5341E29917E00144F8B /* Headers */, F235B5191E29912D00144F8B /* Platform */, F2977DCB1E03692600876A73 /* Shared */, F27DE9B31D7FF0A5003B1CEE /* Frameworks */, F26B75761D7F6AF700714F70 /* Products */, ); sourceTree = ""; }; F26B75761D7F6AF700714F70 /* Products */ = { isa = PBXGroup; children = ( F26B75751D7F6AF700714F70 /* ObjectiveDropboxOfficial.framework */, F27DE9E21D7FF909003B1CEE /* ObjectiveDropboxOfficial.framework */, ); name = Products; sourceTree = ""; }; F27DE9B31D7FF0A5003B1CEE /* Frameworks */ = { isa = PBXGroup; children = ( F2F2D0001E9D76CA00512DE8 /* SystemConfiguration.framework */, F2F2CFFE1E9D76C300512DE8 /* SystemConfiguration.framework */, F2F2CFFC1E9D769500512DE8 /* SafariServices.framework */, F27DEB9B1D7FFBBF003B1CEE /* Foundation.framework */, F27DEB991D7FFBB9003B1CEE /* AppKit.framework */, F29AFA7E1D7FF0340043800A /* WebKit.framework */, F29AFA7C1D7FF02B0043800A /* UIKit.framework */, F29AFA7A1D7FF0220043800A /* Foundation.framework */, ); name = Frameworks; sourceTree = ""; }; F2977DCB1E03692600876A73 /* Shared */ = { isa = PBXGroup; children = ( BFFF1B8724DE33E30029FC0C /* Generated */, F297816F1E03692800876A73 /* Handwritten */, ); path = Shared; sourceTree = ""; }; F297816F1E03692800876A73 /* Handwritten */ = { 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 */, ); path = Handwritten; sourceTree = ""; }; F29781771E03692800876A73 /* Networking */ = { 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 */, BF6162C42491A29F004E34B7 /* DBURLSessionTaskWithTokenRefresh.m */, BFFFCE8024E73F010084E238 /* DBURLSessionTaskResponseBlockWrapper.m */, ); path = Networking; sourceTree = ""; }; F297818C1E03692800876A73 /* OAuth */ = { isa = PBXGroup; children = ( 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 = 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 = ""; }; F2A2CE741E562817001D8449 /* Internal */ = { isa = PBXGroup; children = ( F2A2CE751E562817001D8449 /* DBClientsManager+Protected.h */, F2A2CE761E562817001D8449 /* Networking */, F2C59AFB1E9C2EEC00E8D2E6 /* OAuth */, F2A2CE7F1E562817001D8449 /* Resources */, ); 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 = ""; }; F99E08592B7A733000D55EF8 /* Headers */ = { isa = PBXGroup; children = ( 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 = ""; }; F99E088C2B7A733000D55EF8 /* TeamPolicies */ = { isa = PBXGroup; children = ( F99E088D2B7A733000D55EF8 /* DBTeamPoliciesObjects.m */, F99E088E2B7A733000D55EF8 /* Headers */, ); path = TeamPolicies; sourceTree = ""; }; F99E088E2B7A733000D55EF8 /* Headers */ = { isa = PBXGroup; children = ( 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 = ""; }; F99E08AD2B7A733000D55EF8 /* SecondaryEmails */ = { isa = PBXGroup; children = ( F99E08AE2B7A733000D55EF8 /* DBSecondaryEmailsObjects.m */, F99E08AF2B7A733000D55EF8 /* Headers */, ); path = SecondaryEmails; sourceTree = ""; }; F99E08AF2B7A733000D55EF8 /* Headers */ = { isa = PBXGroup; children = ( F99E08B02B7A733000D55EF8 /* DBSECONDARYEMAILSSecondaryEmail.h */, ); path = Headers; sourceTree = ""; }; F99E08B12B7A733000D55EF8 /* Sharing */ = { isa = PBXGroup; children = ( F99E08B22B7A733000D55EF8 /* DBSharingObjects.m */, F99E08B32B7A733000D55EF8 /* Headers */, ); path = Sharing; sourceTree = ""; }; F99E08B32B7A733000D55EF8 /* Headers */ = { isa = PBXGroup; children = ( 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 = ""; }; F99E09542B7A733000D55EF8 /* SeenState */ = { isa = PBXGroup; children = ( F99E09552B7A733000D55EF8 /* DBSeenStateObjects.m */, F99E09562B7A733000D55EF8 /* Headers */, ); path = SeenState; sourceTree = ""; }; F99E09562B7A733000D55EF8 /* Headers */ = { isa = PBXGroup; children = ( F99E09572B7A733000D55EF8 /* DBSEENSTATEPlatformType.h */, ); path = Headers; sourceTree = ""; }; F99E09582B7A733000D55EF8 /* Auth */ = { isa = PBXGroup; children = ( F99E09592B7A733000D55EF8 /* Headers */, F99E09642B7A733000D55EF8 /* DBAuthObjects.m */, ); path = Auth; sourceTree = ""; }; F99E09592B7A733000D55EF8 /* Headers */ = { isa = PBXGroup; children = ( 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 = ""; }; F99E09652B7A733000D55EF8 /* FileRequests */ = { isa = PBXGroup; children = ( F99E09662B7A733000D55EF8 /* DBFileRequestsObjects.m */, F99E09672B7A733000D55EF8 /* Headers */, ); path = FileRequests; sourceTree = ""; }; F99E09672B7A733000D55EF8 /* Headers */ = { isa = PBXGroup; children = ( 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 = ""; }; F99E09812B7A733000D55EF8 /* Contacts */ = { isa = PBXGroup; children = ( F99E09822B7A733000D55EF8 /* Headers */, F99E09852B7A733000D55EF8 /* DBContactsObjects.m */, ); path = Contacts; sourceTree = ""; }; F99E09822B7A733000D55EF8 /* Headers */ = { isa = PBXGroup; children = ( F99E09832B7A733000D55EF8 /* DBCONTACTSDeleteManualContactsArg.h */, F99E09842B7A733000D55EF8 /* DBCONTACTSDeleteManualContactsError.h */, ); path = Headers; sourceTree = ""; }; F99E09862B7A733000D55EF8 /* Async */ = { isa = PBXGroup; children = ( F99E09872B7A733000D55EF8 /* DBAsyncObjects.m */, F99E09882B7A733000D55EF8 /* Headers */, ); path = Async; sourceTree = ""; }; F99E09882B7A733000D55EF8 /* Headers */ = { isa = PBXGroup; children = ( F99E09892B7A733000D55EF8 /* DBASYNCPollEmptyResult.h */, F99E098A2B7A733000D55EF8 /* DBASYNCLaunchResultBase.h */, F99E098B2B7A733000D55EF8 /* DBASYNCLaunchEmptyResult.h */, F99E098C2B7A733000D55EF8 /* DBASYNCPollResultBase.h */, F99E098D2B7A733000D55EF8 /* DBASYNCPollArg.h */, F99E098E2B7A733000D55EF8 /* DBASYNCPollError.h */, ); path = Headers; sourceTree = ""; }; F99E098F2B7A733000D55EF8 /* TeamCommon */ = { isa = PBXGroup; children = ( F99E09902B7A733000D55EF8 /* Headers */, F99E09962B7A733000D55EF8 /* DBTeamCommonObjects.m */, ); path = TeamCommon; sourceTree = ""; }; F99E09902B7A733000D55EF8 /* Headers */ = { isa = PBXGroup; children = ( F99E09912B7A733000D55EF8 /* DBTEAMCOMMONGroupSummary.h */, F99E09922B7A733000D55EF8 /* DBTEAMCOMMONMemberSpaceLimitType.h */, F99E09932B7A733000D55EF8 /* DBTEAMCOMMONTimeRange.h */, F99E09942B7A733000D55EF8 /* DBTEAMCOMMONGroupManagementType.h */, F99E09952B7A733000D55EF8 /* DBTEAMCOMMONGroupType.h */, ); path = Headers; sourceTree = ""; }; F99E09972B7A733000D55EF8 /* Common */ = { isa = PBXGroup; children = ( F99E09982B7A733000D55EF8 /* DBCommonObjects.m */, F99E09992B7A733000D55EF8 /* Headers */, ); path = Common; sourceTree = ""; }; F99E09992B7A733000D55EF8 /* Headers */ = { isa = PBXGroup; children = ( F99E099A2B7A733000D55EF8 /* DBCOMMONTeamRootInfo.h */, F99E099B2B7A733000D55EF8 /* DBCOMMONPathRoot.h */, F99E099C2B7A733000D55EF8 /* DBCOMMONRootInfo.h */, F99E099D2B7A733000D55EF8 /* DBCOMMONPathRootError.h */, F99E099E2B7A733000D55EF8 /* DBCOMMONUserRootInfo.h */, ); path = Headers; sourceTree = ""; }; F99E099F2B7A733000D55EF8 /* Openid */ = { isa = PBXGroup; children = ( F99E09A02B7A733000D55EF8 /* Headers */, F99E09A52B7A733000D55EF8 /* DBOpenidObjects.m */, ); path = Openid; sourceTree = ""; }; F99E09A02B7A733000D55EF8 /* Headers */ = { isa = PBXGroup; children = ( F99E09A12B7A733000D55EF8 /* DBOPENIDUserInfoResult.h */, F99E09A22B7A733000D55EF8 /* DBOPENIDUserInfoError.h */, F99E09A32B7A733000D55EF8 /* DBOPENIDOpenIdError.h */, F99E09A42B7A733000D55EF8 /* DBOPENIDUserInfoArgs.h */, ); path = Headers; sourceTree = ""; }; F99E09A62B7A733000D55EF8 /* Team */ = { isa = PBXGroup; children = ( F99E09A72B7A733000D55EF8 /* DBTeamObjects.m */, F99E09A82B7A733000D55EF8 /* Headers */, ); path = Team; sourceTree = ""; }; F99E09A82B7A733000D55EF8 /* Headers */ = { isa = PBXGroup; children = ( 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 = ""; }; F99E0AB22B7A733000D55EF8 /* FileProperties */ = { isa = PBXGroup; children = ( F99E0AB32B7A733000D55EF8 /* Headers */, F99E0ADB2B7A733000D55EF8 /* DBFilePropertiesObjects.m */, ); path = FileProperties; sourceTree = ""; }; F99E0AB32B7A733000D55EF8 /* Headers */ = { isa = PBXGroup; children = ( 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 = Headers; sourceTree = ""; }; F99E0ADC2B7A733000D55EF8 /* Users */ = { isa = PBXGroup; children = ( F99E0ADD2B7A733000D55EF8 /* DBUsersObjects.m */, F99E0ADE2B7A733000D55EF8 /* Headers */, ); path = Users; sourceTree = ""; }; F99E0ADE2B7A733000D55EF8 /* Headers */ = { isa = PBXGroup; children = ( 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 = Headers; sourceTree = ""; }; F99E0AF42B7A733000D55EF8 /* TeamLog */ = { isa = PBXGroup; children = ( F99E0AF52B7A733000D55EF8 /* DBTeamLogObjects.m */, F99E0AF62B7A733000D55EF8 /* Headers */, ); path = TeamLog; sourceTree = ""; }; F99E0AF62B7A733000D55EF8 /* Headers */ = { isa = PBXGroup; children = ( 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 = Headers; sourceTree = ""; }; F99E0F982B7A733200D55EF8 /* Files */ = { isa = PBXGroup; children = ( F99E0F992B7A733200D55EF8 /* DBFilesObjects.m */, F99E0F9A2B7A733200D55EF8 /* Headers */, ); path = Files; sourceTree = ""; }; F99E0F9A2B7A733200D55EF8 /* Headers */ = { isa = PBXGroup; children = ( 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 = Headers; sourceTree = ""; }; F99E10622B7A733200D55EF8 /* Account */ = { isa = PBXGroup; children = ( F99E10632B7A733200D55EF8 /* DBAccountObjects.m */, F99E10642B7A733200D55EF8 /* Headers */, ); path = Account; sourceTree = ""; }; F99E10642B7A733200D55EF8 /* Headers */ = { isa = PBXGroup; children = ( F99E10652B7A733200D55EF8 /* DBACCOUNTSetProfilePhotoArg.h */, F99E10662B7A733200D55EF8 /* DBACCOUNTPhotoSourceArg.h */, F99E10672B7A733200D55EF8 /* DBACCOUNTSetProfilePhotoResult.h */, F99E10682B7A733200D55EF8 /* DBACCOUNTSetProfilePhotoError.h */, ); path = Headers; sourceTree = ""; }; F99E10692B7A733200D55EF8 /* Check */ = { isa = PBXGroup; children = ( F99E106A2B7A733200D55EF8 /* Headers */, F99E106D2B7A733200D55EF8 /* DBCheckObjects.m */, ); path = Check; sourceTree = ""; }; F99E106A2B7A733200D55EF8 /* Headers */ = { isa = PBXGroup; children = ( F99E106B2B7A733200D55EF8 /* DBCHECKEchoArg.h */, F99E106C2B7A733200D55EF8 /* DBCHECKEchoResult.h */, ); path = Headers; sourceTree = ""; }; F99E106E2B7A733200D55EF8 /* UsersCommon */ = { isa = PBXGroup; children = ( F99E106F2B7A733200D55EF8 /* DBUsersCommonObjects.m */, F99E10702B7A733200D55EF8 /* Headers */, ); path = UsersCommon; sourceTree = ""; }; F99E10702B7A733200D55EF8 /* Headers */ = { isa = PBXGroup; children = ( F99E10712B7A733200D55EF8 /* DBUSERSCOMMONAccountType.h */, ); path = Headers; sourceTree = ""; }; F99E10722B7A733200D55EF8 /* Resources */ = { isa = PBXGroup; children = ( F99E10732B7A733200D55EF8 /* DBStoneBase.m */, F99E10742B7A733200D55EF8 /* DBStoneSerializers.m */, F99E10752B7A733200D55EF8 /* DBStoneValidators.m */, F99E10762B7A733200D55EF8 /* DBStoneBase.h */, F99E10772B7A733200D55EF8 /* DBStoneSerializers.h */, F99E10782B7A733200D55EF8 /* DBStoneValidators.h */, F99E10792B7A733200D55EF8 /* DBSerializableProtocol.h */, ); path = Resources; sourceTree = ""; }; F99E107B2B7A733200D55EF8 /* Routes */ = { isa = PBXGroup; children = ( 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 = 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 */ /* Begin PBXHeadersBuildPhase section */ F26B75721D7F6AF700714F70 /* Headers */ = { 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 */, 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 */, F239DFCF1E68DA1700417314 /* DBSDKConstants.h in Headers */, F2C187EB1E6666C30042ABE6 /* ObjectiveDropboxOfficial.h in Headers */, F2A2CEB81E56662A001D8449 /* DBOAuthMobile-iOS.h in Headers */, F2A2CEB91E56662E001D8449 /* DBClientsManager+MobileAuth-iOS.h in Headers */, F2A2CEAE1E5665D1001D8449 /* DBTransportBaseConfig.h in Headers */, F2A2CEB11E5665E0001D8449 /* DBTasksStorage.h in Headers */, F2A2CEAC1E5665BB001D8449 /* DBTransportDefaultConfig.h in Headers */, F29789011E03692F00876A73 /* DBSDKKeychain.h in Headers */, F29788C71E03692F00876A73 /* DBClientsManager.h in Headers */, F29788C31E03692E00876A73 /* DBUserClient.h in Headers */, F29788E31E03692F00876A73 /* DBTasks.h in Headers */, F29788F71E03692F00876A73 /* DBTransportClientProtocol.h in Headers */, F29788D71E03692F00876A73 /* DBRequestErrors.h in Headers */, F29788CD1E03692F00876A73 /* DBTeamClient.h in Headers */, F29789051E03692F00876A73 /* DBSharedApplicationProtocol.h in Headers */, F29788F91E03692F00876A73 /* DBOAuthManager.h in Headers */, F29788EF1E03692F00876A73 /* DBTransportDefaultClient.h in Headers */, F29788FD1E03692F00876A73 /* DBOAuthResult.h in Headers */, F29788CB1E03692F00876A73 /* DBSDKImportsShared.h in Headers */, F29788F31E03692F00876A73 /* DBTransportBaseClient.h in Headers */, F2A2CEA41E563004001D8449 /* DBCustomDatatypes.h in Headers */, F297890F1E03692F00876A73 /* DBCustomRoutes.h in Headers */, 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 */, F2A2CE821E5628A8001D8449 /* DBDelegate.h in Headers */, F2A2CE831E5628B1001D8449 /* DBHandlerTypesInternal.h in Headers */, F2A2CE841E5628B4001D8449 /* DBSDKReachability.h in Headers */, F2A2CE851E5628B9001D8449 /* DBSessionData.h in Headers */, F2A2CE861E5628BC001D8449 /* DBTasks+Protected.h in Headers */, 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; }; F27DE9DF1D7FF909003B1CEE /* Headers */ = { isa = PBXHeadersBuildPhase; buildActionMask = 2147483647; files = ( 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 */, F2C187EC1E6666C30042ABE6 /* ObjectiveDropboxOfficial.h in Headers */, F239DFD01E68DA1700417314 /* DBSDKConstants.h in Headers */, F2A2CEAF1E5665D2001D8449 /* DBTransportBaseConfig.h in Headers */, F2A2CEB51E56661D001D8449 /* DBOAuthDesktop-macOS.h in Headers */, F2A2CEB01E5665E0001D8449 /* DBTasksStorage.h in Headers */, F2A2CEB61E566621001D8449 /* DBClientsManager+DesktopAuth-macOS.h in Headers */, F2A2CEAD1E5665BC001D8449 /* DBTransportDefaultConfig.h in Headers */, F29789021E03692F00876A73 /* DBSDKKeychain.h in Headers */, F29788C81E03692F00876A73 /* DBClientsManager.h in Headers */, F29788C41E03692E00876A73 /* DBUserClient.h in Headers */, F29788E41E03692F00876A73 /* DBTasks.h in Headers */, F29788F81E03692F00876A73 /* DBTransportClientProtocol.h in Headers */, F29788D81E03692F00876A73 /* DBRequestErrors.h in Headers */, F29788CE1E03692F00876A73 /* DBTeamClient.h in Headers */, F29789061E03692F00876A73 /* DBSharedApplicationProtocol.h in Headers */, F29788FA1E03692F00876A73 /* DBOAuthManager.h in Headers */, F29788F01E03692F00876A73 /* DBTransportDefaultClient.h in Headers */, F29788FE1E03692F00876A73 /* DBOAuthResult.h in Headers */, F29788CC1E03692F00876A73 /* DBSDKImportsShared.h in Headers */, F29788F41E03692F00876A73 /* DBTransportBaseClient.h in Headers */, F2A2CEA71E5634E8001D8449 /* DBHandlerTypes.h in Headers */, 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 */, F2A2CE8E1E5628F4001D8449 /* DBDelegate.h in Headers */, F2A2CE8F1E5628F6001D8449 /* DBHandlerTypesInternal.h in Headers */, F2A2CE901E5628F9001D8449 /* DBSDKReachability.h in Headers */, F2A2CE911E5628FC001D8449 /* DBSessionData.h in Headers */, F2A2CE921E562901001D8449 /* DBTasks+Protected.h in Headers */, 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; }; /* End PBXHeadersBuildPhase section */ /* Begin PBXNativeTarget section */ F26B75741D7F6AF700714F70 /* ObjectiveDropboxOfficial iOS */ = { isa = PBXNativeTarget; buildConfigurationList = F26B757D1D7F6AF700714F70 /* Build configuration list for PBXNativeTarget "ObjectiveDropboxOfficial iOS" */; buildPhases = ( F26B75701D7F6AF700714F70 /* Sources */, F26B75711D7F6AF700714F70 /* Frameworks */, F26B75721D7F6AF700714F70 /* Headers */, F26B75731D7F6AF700714F70 /* Resources */, ); buildRules = ( ); dependencies = ( ); name = "ObjectiveDropboxOfficial iOS"; productName = ObjectiveDropboxOfficial; productReference = F26B75751D7F6AF700714F70 /* ObjectiveDropboxOfficial.framework */; productType = "com.apple.product-type.framework"; }; F27DE9E11D7FF909003B1CEE /* ObjectiveDropboxOfficial macOS */ = { isa = PBXNativeTarget; buildConfigurationList = F27DE9E71D7FF909003B1CEE /* Build configuration list for PBXNativeTarget "ObjectiveDropboxOfficial macOS" */; buildPhases = ( F27DE9DD1D7FF909003B1CEE /* Sources */, F27DE9DE1D7FF909003B1CEE /* Frameworks */, F27DE9DF1D7FF909003B1CEE /* Headers */, F27DE9E01D7FF909003B1CEE /* Resources */, ); buildRules = ( ); dependencies = ( ); name = "ObjectiveDropboxOfficial macOS"; productName = ObjectiveDropboxOfficial_macOS; productReference = F27DE9E21D7FF909003B1CEE /* ObjectiveDropboxOfficial.framework */; productType = "com.apple.product-type.framework"; }; /* End PBXNativeTarget section */ /* Begin PBXProject section */ F26B756C1D7F6AF700714F70 /* Project object */ = { isa = PBXProject; attributes = { LastUpgradeCheck = 1610; ORGANIZATIONNAME = Dropbox; TargetAttributes = { F26B75741D7F6AF700714F70 = { CreatedOnToolsVersion = 7.3.1; ProvisioningStyle = Automatic; }; F27DE9E11D7FF909003B1CEE = { CreatedOnToolsVersion = 7.3.1; ProvisioningStyle = Automatic; }; }; }; buildConfigurationList = F26B756F1D7F6AF700714F70 /* Build configuration list for PBXProject "ObjectiveDropboxOfficial" */; compatibilityVersion = "Xcode 3.2"; developmentRegion = en; hasScannedForEncodings = 0; knownRegions = ( en, Base, ); mainGroup = F26B756B1D7F6AF700714F70; productRefGroup = F26B75761D7F6AF700714F70 /* Products */; projectDirPath = ""; projectRoot = ""; targets = ( F26B75741D7F6AF700714F70 /* ObjectiveDropboxOfficial iOS */, F27DE9E11D7FF909003B1CEE /* ObjectiveDropboxOfficial macOS */, ); }; /* End PBXProject section */ /* Begin PBXResourcesBuildPhase section */ F26B75731D7F6AF700714F70 /* Resources */ = { isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( ); runOnlyForDeploymentPostprocessing = 0; }; F27DE9E01D7FF909003B1CEE /* Resources */ = { isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXResourcesBuildPhase section */ /* Begin PBXSourcesBuildPhase section */ F26B75701D7F6AF700714F70 /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( 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 */, 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 */, 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 */, F29788FB1E03692F00876A73 /* DBOAuthManager.m in Sources */, F99E13032B7A733400D55EF8 /* DBContactsObjects.m in Sources */, F99E20D72B7A733D00D55EF8 /* DBCHECKUserAuthRoutes.m in Sources */, F29788D91E03692F00876A73 /* DBRequestErrors.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 */, 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 */, F99E20EF2B7A733D00D55EF8 /* DBFILESAppAuthRoutes.m in Sources */, F29788ED1E03692F00876A73 /* DBTasksStorage.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 */, F99E20C72B7A733D00D55EF8 /* DBFILESUserAuthRoutes.m in Sources */, F2A2CE9A1E562E46001D8449 /* DBCustomTasks.m in Sources */, F99E112D2B7A733300D55EF8 /* DBTeamPoliciesObjects.m in Sources */, F24169471E523FEB0038E306 /* DBTransportDefaultConfig.m in Sources */, BF33F93424873F12001F4072 /* DBScopeRequest.m in Sources */, F29788DD1E03692F00876A73 /* DBSDKReachability.m in Sources */, F29788E11E03692F00876A73 /* DBSessionData.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 */, 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 */, F99E20B12B7A733D00D55EF8 /* DBStoneValidators.m in Sources */, F99E20D92B7A733D00D55EF8 /* DBSHARINGAppAuthRoutes.m in Sources */, F2A2DBB01E578C3F001D8449 /* DBOpenWithInfo-iOS.m in Sources */, F29788F51E03692F00876A73 /* DBTransportBaseClient.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 */, BF33F94224874DED001F4072 /* DBOAuthTokenRequest.m in Sources */, F235B5241E29913600144F8B /* DBClientsManager+MobileAuth-iOS.m in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; F27DE9DD1D7FF909003B1CEE /* Sources */ = { 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 */, 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 */, F99E20E42B7A733D00D55EF8 /* DBCONTACTSUserAuthRoutes.m in Sources */, F99E112E2B7A733300D55EF8 /* DBTeamPoliciesObjects.m in Sources */, F297890C1E03692F00876A73 /* DBChunkInputStream.m in Sources */, F29788FC1E03692F00876A73 /* DBOAuthManager.m in Sources */, F235B52F1E29915400144F8B /* DBOAuthDesktop-macOS.m in Sources */, F99E12B22B7A733400D55EF8 /* DBSeenStateObjects.m in Sources */, F29788DA1E03692F00876A73 /* DBRequestErrors.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 */, 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 */, 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 */, F29788D41E03692F00876A73 /* DBDelegate.m in Sources */, F29789041E03692F00876A73 /* DBSDKKeychain.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 */, F99E20DE2B7A733D00D55EF8 /* DBPAPERUserAuthRoutes.m in Sources */, F99E1F0A2B7A733B00D55EF8 /* DBFilesObjects.m in Sources */, F29788D01E03692F00876A73 /* DBTeamClient.m in Sources */, F99E20AE2B7A733D00D55EF8 /* DBStoneBase.m in Sources */, BFD93BC824905D8A006AB165 /* DBAccessTokenProviderImpl.m in Sources */, F29788F61E03692F00876A73 /* DBTransportBaseClient.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 */, 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; }; /* End PBXSourcesBuildPhase section */ /* Begin XCBuildConfiguration section */ F26B757B1D7F6AF700714F70 /* Debug */ = { 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; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; COPY_PHASE_STRIP = NO; CURRENT_PROJECT_VERSION = 1; DEBUG_INFORMATION_FORMAT = dwarf; ENABLE_STRICT_OBJC_MSGSEND = YES; ENABLE_TESTABILITY = YES; FRAMEWORK_SEARCH_PATHS = "$(inherited)"; GCC_C_LANGUAGE_STANDARD = gnu99; GCC_DYNAMIC_NO_PIC = NO; GCC_NO_COMMON_BLOCKS = YES; GCC_OPTIMIZATION_LEVEL = 0; GCC_PREPROCESSOR_DEFINITIONS = ( "DEBUG=1", "$(inherited)", ); GCC_WARN_64_TO_32_BIT_CONVERSION = YES; GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; GCC_WARN_UNDECLARED_SELECTOR = YES; GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; IPHONEOS_DEPLOYMENT_TARGET = 12.0; MACOSX_DEPLOYMENT_TARGET = 10.10; MTL_ENABLE_DEBUG_INFO = YES; ONLY_ACTIVE_ARCH = YES; SDKROOT = iphoneos; TARGETED_DEVICE_FAMILY = "1,2"; VERSIONING_SYSTEM = "apple-generic"; VERSION_INFO_PREFIX = ""; }; name = Debug; }; F26B757C1D7F6AF700714F70 /* Release */ = { 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; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; COPY_PHASE_STRIP = NO; CURRENT_PROJECT_VERSION = 1; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; ENABLE_NS_ASSERTIONS = YES; ENABLE_STRICT_OBJC_MSGSEND = YES; FRAMEWORK_SEARCH_PATHS = "$(inherited)"; GCC_C_LANGUAGE_STANDARD = gnu99; GCC_NO_COMMON_BLOCKS = YES; GCC_WARN_64_TO_32_BIT_CONVERSION = YES; GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; GCC_WARN_UNDECLARED_SELECTOR = YES; GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; IPHONEOS_DEPLOYMENT_TARGET = 12.0; MACOSX_DEPLOYMENT_TARGET = 10.10; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = iphoneos; TARGETED_DEVICE_FAMILY = "1,2"; VALIDATE_PRODUCT = YES; VERSIONING_SYSTEM = "apple-generic"; VERSION_INFO_PREFIX = ""; }; name = Release; }; F26B757E1D7F6AF700714F70 /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { APPLICATION_EXTENSION_API_ONLY = YES; CLANG_ENABLE_OBJC_ARC = YES; CLANG_ENABLE_OBJC_WEAK = YES; CLANG_WARN_DOCUMENTATION_COMMENTS = YES; CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; CODE_SIGN_IDENTITY = ""; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; DEFINES_MODULE = YES; DYLIB_COMPATIBILITY_VERSION = 1; DYLIB_CURRENT_VERSION = 1; DYLIB_INSTALL_NAME_BASE = "@rpath"; FRAMEWORK_SEARCH_PATHS = "$(inherited)"; GCC_WARN_SHADOW = YES; INFOPLIST_FILE = "$(SRCROOT)/Platform/ObjectiveDropboxOfficial_iOS/Info.plist"; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 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; SKIP_INSTALL = YES; }; name = Debug; }; F26B757F1D7F6AF700714F70 /* Release */ = { isa = XCBuildConfiguration; buildSettings = { APPLICATION_EXTENSION_API_ONLY = YES; CLANG_ENABLE_OBJC_ARC = YES; CLANG_ENABLE_OBJC_WEAK = YES; CLANG_WARN_DOCUMENTATION_COMMENTS = YES; CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; CODE_SIGN_IDENTITY = ""; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; DEFINES_MODULE = YES; DYLIB_COMPATIBILITY_VERSION = 1; DYLIB_CURRENT_VERSION = 1; DYLIB_INSTALL_NAME_BASE = "@rpath"; ENABLE_NS_ASSERTIONS = YES; FRAMEWORK_SEARCH_PATHS = "$(inherited)"; GCC_WARN_SHADOW = YES; INFOPLIST_FILE = "$(SRCROOT)/Platform/ObjectiveDropboxOfficial_iOS/Info.plist"; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 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; SKIP_INSTALL = YES; }; name = Release; }; F27DE9E81D7FF909003B1CEE /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { APPLICATION_EXTENSION_API_ONLY = YES; CLANG_ENABLE_OBJC_ARC = YES; CLANG_ENABLE_OBJC_WEAK = YES; CLANG_WARN_DOCUMENTATION_COMMENTS = YES; CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; CODE_SIGN_IDENTITY = ""; COMBINE_HIDPI_IMAGES = YES; DEFINES_MODULE = YES; DYLIB_COMPATIBILITY_VERSION = 1; DYLIB_CURRENT_VERSION = 1; DYLIB_INSTALL_NAME_BASE = "@rpath"; FRAMEWORK_SEARCH_PATHS = "$(inherited)"; FRAMEWORK_VERSION = A; GCC_WARN_SHADOW = YES; GCC_WARN_UNUSED_LABEL = YES; GCC_WARN_UNUSED_PARAMETER = YES; 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.13; PRODUCT_BUNDLE_IDENTIFIER = com.dropbox.ObjectiveDropboxOfficial; PRODUCT_NAME = ObjectiveDropboxOfficial; SDKROOT = macosx; SKIP_INSTALL = YES; }; name = Debug; }; F27DE9E91D7FF909003B1CEE /* Release */ = { isa = XCBuildConfiguration; buildSettings = { APPLICATION_EXTENSION_API_ONLY = YES; CLANG_ENABLE_OBJC_ARC = YES; CLANG_ENABLE_OBJC_WEAK = YES; CLANG_WARN_DOCUMENTATION_COMMENTS = YES; CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; CODE_SIGN_IDENTITY = ""; COMBINE_HIDPI_IMAGES = YES; DEFINES_MODULE = YES; DYLIB_COMPATIBILITY_VERSION = 1; DYLIB_CURRENT_VERSION = 1; DYLIB_INSTALL_NAME_BASE = "@rpath"; FRAMEWORK_SEARCH_PATHS = "$(inherited)"; FRAMEWORK_VERSION = A; GCC_WARN_SHADOW = YES; GCC_WARN_UNUSED_LABEL = YES; GCC_WARN_UNUSED_PARAMETER = YES; 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.13; PRODUCT_BUNDLE_IDENTIFIER = com.dropbox.ObjectiveDropboxOfficial; PRODUCT_NAME = ObjectiveDropboxOfficial; SDKROOT = macosx; SKIP_INSTALL = YES; }; name = Release; }; /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ F26B756F1D7F6AF700714F70 /* Build configuration list for PBXProject "ObjectiveDropboxOfficial" */ = { isa = XCConfigurationList; buildConfigurations = ( F26B757B1D7F6AF700714F70 /* Debug */, F26B757C1D7F6AF700714F70 /* Release */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; F26B757D1D7F6AF700714F70 /* Build configuration list for PBXNativeTarget "ObjectiveDropboxOfficial iOS" */ = { isa = XCConfigurationList; buildConfigurations = ( F26B757E1D7F6AF700714F70 /* Debug */, F26B757F1D7F6AF700714F70 /* Release */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; F27DE9E71D7FF909003B1CEE /* Build configuration list for PBXNativeTarget "ObjectiveDropboxOfficial macOS" */ = { isa = XCConfigurationList; buildConfigurations = ( F27DE9E81D7FF909003B1CEE /* Debug */, F27DE9E91D7FF909003B1CEE /* Release */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; /* End XCConfigurationList section */ }; rootObject = F26B756C1D7F6AF700714F70 /* Project object */; } ================================================ FILE: Source/ObjectiveDropboxOfficial/ObjectiveDropboxOfficial.xcodeproj/xcshareddata/xcschemes/ObjectiveDropboxOfficial iOS.xcscheme ================================================ ================================================ FILE: Source/ObjectiveDropboxOfficial/ObjectiveDropboxOfficial.xcodeproj/xcshareddata/xcschemes/ObjectiveDropboxOfficial macOS.xcscheme ================================================ ================================================ FILE: Source/ObjectiveDropboxOfficial/Platform/ObjectiveDropboxOfficial_iOS/DBClientsManager+MobileAuth-iOS.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// #import #import "DBClientsManager.h" @class DBScopeRequest; @class DBTransportDefaultConfig; @class UIApplication; @class UIViewController; @protocol DBLoadingStatusDelegate; NS_ASSUME_NONNULL_BEGIN /// /// Code with platform-specific (here, iOS) dependencies. /// /// Extends functionality of the `DBClientsManager` class. /// @interface DBClientsManager (MobileAuth) /// /// Commences OAuth mobile flow from supplied view controller. /// /// This starts a "token" flow. /// /// 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 `authorizeFromControllerV2` instead. /// /// @param sharedApplication The `UIApplication` with which to render the OAuth flow. /// @param controller The `UIViewController` with which to render the OAuth flow. Please ensure that this is the /// top-most view controller, so that the authorization view displays correctly. The controller reference is weakly /// held. /// @param openURL A wrapper around app-extension unsafe `openURL` call. /// + (void)authorizeFromController:(UIApplication *)sharedApplication controller:(nullable UIViewController *)controller openURL:(void (^_Nonnull)(NSURL *))openURL __deprecated_msg("This method was used for long-lived access tokens, which are now deprecated. Please use " "`authorizeFromControllerV2` 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 `UIApplication` with which to render the OAuth flow. /// @param controller The `UIViewController` with which to render the OAuth flow. Please ensure that this is the /// top-most view controller, so that the authorization view displays correctly. 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. /// If a delegate is not provided, the SDK will show a default loading spinner when necessary. /// @param openURL A wrapper around app-extension unsafe `openURL` call. /// @param scopeRequest Request contains information of scopes to be obtained. /// + (void)authorizeFromControllerV2:(UIApplication *)sharedApplication controller:(nullable UIViewController *)controller loadingStatusDelegate:(nullable id)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` /// instance. Convenience method for `setupWithTransportConfig:`. /// /// This method should be used in the single Dropbox user case. If any stored OAuth tokens exist, one will arbitrarily /// be retrieved and used to authenticate API calls. Use `setupWithTransportConfig:`, if additional customization of /// network calling parameters is necessary. This method should be called from the app delegate. /// /// @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. /// + (void)setupWithAppKey:(NSString *)appKey; /// /// Stores the user transport config info. If any access token already exists, initializes an authorized shared /// `DBUserClient` instance. /// /// This method should be used in the single Dropbox user case. If any stored OAuth tokens exist, one will arbitrarily /// be retrieved and used to authenticate API calls. You can customize some network calling parameters using the /// different `DBTransportDefaultConfig` constructors. This method should be called from the app delegate. /// /// @param transportConfig A wrapper around the different parameters that can be set to change network calling behavior. /// + (void)setupWithTransportConfig:(nullable DBTransportDefaultConfig *)transportConfig; /// /// Stores the team app key. If any access token already exists, initializes an authorized shared `DBTeamClient` /// instance. Convenience method for `setupWithTeamTransportConfig:`. /// /// This method should be used in the single Dropbox user case. If any stored OAuth tokens exist, one will arbitrarily /// be retrieved and used to authenticate API calls. Use `setupWithTeamTransportConfig:`, if additional customization of /// network calling parameters is necessary. This method should be called from the app delegate. /// /// @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. /// + (void)setupWithTeamAppKey:(NSString *)appKey; /// /// Stores the team transport config info. If any access token already exists, initializes an authorized shared /// `DBTeamClient` instance. /// /// This method should be used in the single Dropbox user case. If any stored OAuth tokens exist, one will arbitrarily /// be retrieved and used to authenticate API calls. You can customize some network calling parameters using the /// different `DBTransportDefaultConfig` constructors. This method should be called from the app delegate. /// /// @param transportConfig A wrapper around the different parameters that can be set to change network calling behavior. /// + (void)setupWithTeamTransportConfig:(nullable DBTransportDefaultConfig *)transportConfig; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Platform/ObjectiveDropboxOfficial_iOS/DBClientsManager+MobileAuth-iOS.m ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// #import #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) + (void)authorizeFromController:(UIApplication *)sharedApplication controller:(UIViewController *)controller openURL:(void (^_Nonnull)(NSURL *))openURL { [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 { [[self class] setupWithTransportConfig:[[DBTransportDefaultConfig alloc] initWithAppKey:appKey]]; } + (void)setupWithTransportConfig:(DBTransportDefaultConfig *)transportConfig { [[self class] setupWithOAuthManager:[[DBOAuthMobileManager alloc] initWithAppKey:transportConfig.appKey host:transportConfig.hostnameConfig.meta redirectURL:transportConfig.redirectURL] transportConfig:transportConfig]; } + (void)setupWithTeamAppKey:(NSString *)appKey { [[self class] setupWithTeamTransportConfig:[[DBTransportDefaultConfig alloc] initWithAppKey:appKey]]; } + (void)setupWithTeamTransportConfig:(DBTransportDefaultConfig *)transportConfig { [[self class] setupWithOAuthManagerTeam:[[DBOAuthMobileManager alloc] initWithAppKey:transportConfig.appKey host:transportConfig.hostnameConfig.meta redirectURL:transportConfig.redirectURL] 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Platform/ObjectiveDropboxOfficial_iOS/DBLoadingViewController.m ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Platform/ObjectiveDropboxOfficial_iOS/DBOAuthMobile-iOS.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// #import #import #import #import "DBLoadingStatusDelegate.h" #import "DBSharedApplicationProtocol.h" #pragma mark - Shared application NS_ASSUME_NONNULL_BEGIN /// /// Platform-specific (here, iOS) shared application. /// /// Renders OAuth flow and implements `DBSharedApplication` protocol. /// @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. The controller reference is weakly /// held. /// @param openURL A wrapper around app-extension unsafe `openURL` call. /// /// @return An initialized instance. /// - (instancetype)initWithSharedApplication:(UIApplication *)sharedApplication controller:(UIViewController *)controller openURL:(void (^_Nonnull)(NSURL *))openURL; + (nullable DBMobileSharedApplication *)mobileSharedApplication; + (void)setMobileSharedApplication:(DBMobileSharedApplication *)mobileSharedApplication; - (void)dismissAuthController; @end #pragma mark - Web view controller /// /// Platform-specific (here, iOS) `UIViewController` for rendering OAuth flow. /// @interface DBMobileSafariViewController : SFSafariViewController - (instancetype)initWithUrl:(NSURL *)url cancelHandler:(DBOAuthCancelBlock)cancelHandler; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Platform/ObjectiveDropboxOfficial_iOS/DBOAuthMobile-iOS.m ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// #import "DBOAuthMobile-iOS.h" #import "DBLoadingStatusDelegate.h" #import "DBLoadingViewController.h" #import "DBOAuthManager.h" #import "DBSDKSystem.h" #pragma mark - Shared application static DBMobileSharedApplication *s_mobileSharedApplication; @implementation DBMobileSharedApplication { UIApplication *_sharedApplication; __weak UIViewController *_Nullable _controller; void (^_openURL)(NSURL *); } + (DBMobileSharedApplication *)mobileSharedApplication { return s_mobileSharedApplication; } + (void)setMobileSharedApplication:(DBMobileSharedApplication *)mobileSharedApplication { s_mobileSharedApplication = mobileSharedApplication; } - (instancetype)initWithSharedApplication:(UIApplication *)sharedApplication controller:(UIViewController *)controller openURL:(void (^)(NSURL *))openURL { self = [super init]; if (self) { // fields saved for app-extension safety _sharedApplication = sharedApplication; _controller = controller; _openURL = openURL; } return self; } - (void)presentErrorMessage:(NSString *)message title:(NSString *)title { if (_controller) { UIAlertController *alertController = [UIAlertController alertControllerWithTitle:title message:message preferredStyle:(UIAlertControllerStyle)UIAlertControllerStyleAlert]; [_controller presentViewController:alertController animated:YES completion:^{ [NSException raise:@"FatalError" format:@"%@", message]; }]; } } - (void)presentErrorMessageWithHandlers:(NSString *)message title:(NSString *)title buttonHandlers:(NSDictionary *)buttonHandlers { UIAlertController *alertController = [UIAlertController alertControllerWithTitle:title message:message preferredStyle:(UIAlertControllerStyle)UIAlertControllerStyleAlert]; [alertController addAction:[UIAlertAction actionWithTitle:NSLocalizedString(@"Cancel", @"Cancels the current window.") style:(UIAlertActionStyle)UIAlertActionStyleCancel handler:^(UIAlertAction *action) { #pragma unused(action) void (^handler)(void) = buttonHandlers[@"Cancel"]; if (handler != nil) { handler(); } }]]; [alertController addAction:[UIAlertAction actionWithTitle:NSLocalizedString(@"Retry", @"Retries the previous action.") style:(UIAlertActionStyle)UIAlertActionStyleDefault handler:^(UIAlertAction *action) { #pragma unused(action) void (^handler)(void) = buttonHandlers[@"Retry"]; if (handler != nil) { handler(); } }]]; if (_controller) { [_controller presentViewController:alertController animated:YES completion:^{ }]; } } - (BOOL)presentPlatformSpecificAuth:(NSURL *)authURL { [self presentExternalApp:authURL]; return YES; } - (void)presentAuthChannel:(NSURL *)authURL cancelHandler:(DBOAuthCancelBlock)cancelHandler { if (_controller) { DBMobileSafariViewController *safariViewController = [[DBMobileSafariViewController alloc] initWithUrl:authURL cancelHandler:cancelHandler]; [_controller presentViewController:safariViewController animated:YES completion:nil]; } } - (void)presentExternalApp:(NSURL *)url { _openURL(url); } - (BOOL)canPresentExternalApp:(NSURL *)url { return [_sharedApplication canOpenURL:url]; } - (void)dismissAuthController { if (_controller != nil) { if (_controller.presentedViewController != nil && _controller.presentedViewController.isBeingDismissed == NO && [_controller.presentedViewController isKindOfClass:[DBMobileSafariViewController class]]) { [_controller dismissViewControllerAnimated:YES completion:nil]; } _controller = nil; } } - (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 @implementation DBMobileSafariViewController { DBOAuthCancelBlock _cancelHandler; } - (instancetype)initWithUrl:(NSURL *)url cancelHandler:(DBOAuthCancelBlock)cancelHandler { if (self = [super initWithURL:url]) { _cancelHandler = cancelHandler; self.delegate = self; } return self; } - (void)dealloc { self.delegate = nil; } - (void)safariViewController:(SFSafariViewController *)controller didCompleteInitialLoad:(BOOL)didLoadSuccessfully { if (!didLoadSuccessfully) { [controller dismissViewControllerAnimated:true completion:nil]; } } - (void)safariViewControllerDidFinish:(SFSafariViewController *)controller { #pragma unused(controller) _cancelHandler(); [[DBMobileSharedApplication mobileSharedApplication] dismissAuthController]; } @end ================================================ FILE: Source/ObjectiveDropboxOfficial/Platform/ObjectiveDropboxOfficial_iOS/DBOAuthMobileManager-iOS.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// #import #import "DBOAuthManager.h" @protocol DBSharedApplication; #pragma mark - OAuth manager base (iOS) /// /// Platform-specific (iOS) manager for performing OAuth linking. /// @interface DBOAuthMobileManager : DBOAuthManager @end ================================================ FILE: Source/ObjectiveDropboxOfficial/Platform/ObjectiveDropboxOfficial_iOS/DBOAuthMobileManager-iOS.m ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// #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) static NSString *kDBLinkNonce = @"dropbox.sync.nonce"; @implementation DBOAuthMobileManager { NSURL *_dauthRedirectURL; } - (instancetype)initWithAppKey:(NSString *)appKey { return [self initWithAppKey:appKey host:nil]; } - (instancetype)initWithAppKey:(NSString *)appKey host:(NSString *)host { return [self initWithAppKey:appKey host:host redirectURL:nil]; } - (instancetype)initWithAppKey:(NSString *)appKey host:(NSString *)host redirectURL:(NSString *)redirectURL { self = [super initWithAppKey:appKey host:host redirectURL:redirectURL]; if (self) { _dauthRedirectURL = [NSURL URLWithString:[NSString stringWithFormat:@"db-%@://1/connect", appKey]]; [_urls addObject:_dauthRedirectURL]; } return self; } - (void)extractFromUrl:(NSURL *)url completion:(DBOAuthCompletion)completion { if ([url.host isEqualToString:_dauthRedirectURL.host]) { // dauth [self extractfromDAuthURL:url completion:completion]; } else { [self extractAuthResultFromRedirectURL:url completion:completion]; } } - (BOOL)checkAndPresentPlatformSpecificAuth:(id)sharedApplication { if (![self hasApplicationQueriesSchemes]) { NSString *message = @"DropboxSDK: unable to link; app isn't registered to query for URL schemes dbapi-2 and " @"dbapi-8-emm. In your project's Info.plist file, add a \"dbapi-2\" value and a " @"\"dbapi-8-emm\" value associated with the following keys: \"Information Property List\" > " @"\"LSApplicationQueriesSchemes\" > \"Item \" and \"Item \"."; NSString *title = @"ObjectiveDropbox Error"; [sharedApplication presentErrorMessage:message title:title]; return YES; } NSString *scheme = [self dAuthScheme:sharedApplication]; if (scheme != nil) { 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; } - (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 = [self db_dauthUrlCommonComponentsWithScheme:scheme]; if (nonce != nil) { NSString *state = [NSString stringWithFormat:@"oauth2:%@", nonce]; 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"; } else if ([sharedApplication canPresentExternalApp:[self dAuthURL:@"dbapi-8-emm" nonce:nil]]) { return @"dbapi-8-emm"; } else { return nil; } } - (void)extractfromDAuthURL:(NSURL *)url completion:(DBOAuthCompletion)completion { NSString *path = url.path; 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); } } - (BOOL)hasApplicationQueriesSchemes { NSArray *queriesSchemes = [[NSBundle mainBundle] objectForInfoDictionaryKey:@"LSApplicationQueriesSchemes"]; BOOL foundApi2 = NO; BOOL foundApi8Emm = NO; for (NSString *scheme in queriesSchemes) { if ([scheme isEqualToString:@"dbapi-2"]) { foundApi2 = YES; } else if ([scheme isEqualToString:@"dbapi-8-emm"]) { foundApi8Emm = YES; } if (foundApi2 && foundApi8Emm) { return YES; } } 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Platform/ObjectiveDropboxOfficial_iOS/DBSDKImports-iOS.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// #import "DBClientsManager+MobileAuth-iOS.h" #import "DBLoadingStatusDelegate.h" #import "DBOAuthMobile-iOS.h" #import "DBOAuthMobileManager-iOS.h" /// OpenWith #import "DBOfficialAppConnector-iOS.h" #import "DBOpenWithInfo-iOS.h" ================================================ FILE: Source/ObjectiveDropboxOfficial/Platform/ObjectiveDropboxOfficial_iOS/Info.plist ================================================ CFBundleDevelopmentRegion en CFBundleDisplayName ObjectiveDropboxOfficial CFBundleExecutable $(EXECUTABLE_NAME) CFBundleIdentifier $(PRODUCT_BUNDLE_IDENTIFIER) CFBundleInfoDictionaryVersion 6.0 CFBundleName $(PRODUCT_NAME) CFBundlePackageType FMWK CFBundleShortVersionString 7.4.1 CFBundleSignature ???? CFBundleVersion $(CURRENT_PROJECT_VERSION) NSPrincipalClass ================================================ FILE: Source/ObjectiveDropboxOfficial/Platform/ObjectiveDropboxOfficial_iOS/OfficialPartners/OpenWith/DBOfficialAppConnector-iOS.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// #import @class DBOpenWithInfo; NS_ASSUME_NONNULL_BEGIN /// /// Manages returning to the official Dropbox app. /// /// @note This logic is for official Dropbox partners only, and should not need /// to be used by other third-party apps. /// @interface DBOfficialAppConnector : NSObject /// /// Full constructor. /// /// @param appKey The consumer app key of the current third-party API app. /// @param canOpenURLWrapper A wrapper around the `[UIApplication canOpenURL]` method call to ensure the SDK is /// app-extension safe. /// @param openURLWrapper A wrapper around the [UIApplication openURL] method call to ensure the SDK is app-extension /// safe. /// /// @return An initialized instance. /// - (instancetype)initWithAppKey:(NSString *)appKey canOpenURLWrapper:(BOOL (^)(NSURL *))canOpenURLWrapper openURLWrapper:(void (^)(NSURL *))openURLWrapper; /// /// Returns to the Dropbox app specified by app /// /// @note This logic is for official Dropbox partners only, and should not need to be used by other third-party apps. /// /// @param openWithInfo Information retrieved from a shared `UIPasteboard` that is used to return to the official /// Dropbox app. /// @param changesPending Whether there are changes pending in Dropbox for the file. /// - (void)returnToDropboxApp:(DBOpenWithInfo *)openWithInfo changesPending:(BOOL)changesPending; /// /// Returns to the Dropbox app specified by app passing along the error and a dictionary of extra information. /// /// @note This logic is for official Dropbox partners only, and should not need to be used by other third-party apps. /// /// @param openWithInfo Information retrieved from a shared `UIPasteboard` that is used to return to the official /// Dropbox app. /// @param changesPending Whether there are changes pending in Dropbox for the file. /// @param errorName The error encoutered to pass back to the official Dropbox app. /// @param extras Extra information to pass back to the official Dropbox app. /// - (void)returnToDropboxApp:(DBOpenWithInfo *)openWithInfo changesPending:(BOOL)changesPending errorName:(nullable NSString *)errorName extras:(nullable NSDictionary *)extras; /// /// Parses the url from the official Dropbox app into a `DBOpenWithInfo` object. /// /// @param url The url from the official Dropbox app used to open the SDK. /// /// @return Structured data parsed from the supplied url. /// - (nullable DBOpenWithInfo *)openWithInfoFromURL:(NSURL *)url; /// /// Determines whether an official Dropbox app is installed. /// /// @return Whether an official Dropbox app is installed. /// - (BOOL)isRequiredDropboxAppInstalled; /// /// Retrieves from a shared `UIPasteboard` information used to return to the official Dropbox app. /// /// @note This logic is for official Dropbox partners only, and should not need to be used by other third-party apps. /// /// @return @c DBOpenWithInfo object that wraps the relevant information for returning to the official Dropbox app. /// + (nullable DBOpenWithInfo *)retriveOfficialDropboxAppOpenWithInfo; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Platform/ObjectiveDropboxOfficial_iOS/OfficialPartners/OpenWith/DBOfficialAppConnector-iOS.m ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// #import #import "DBOfficialAppConnector-iOS.h" #import "DBOpenWithInfo-iOS.h" static NSString *kDBOpenWithPasteboard = @"dropbox.openWith"; static NSString *kDropboxScheme = @"dbapi-5"; static NSString *kDropboxEMMScheme = @"dbapi-8-emm"; static double kMaxInstallTime = -15 * 60; // 15 minutes ago static NSString *kDBOpenURLAppDropbox = @"Dropbox"; static NSString *kDBOpenURLAppDropboxEMM = @"DropboxEMM"; /// /// @note This logic is for official Dropbox partners only, and should not need /// to be used by other third-party apps. /// @implementation DBOfficialAppConnector { NSString *_appKey; NSString *_urlScheme; BOOL (^_canOpenURLWrapper)(NSURL *); void (^_openURLWrapper)(NSURL *); } - (instancetype)initWithAppKey:(NSString *)appKey canOpenURLWrapper:(BOOL (^)(NSURL *))canOpenURLWrapper openURLWrapper:(void (^)(NSURL *))openURLWrapper { if (self = [super init]) { _appKey = appKey; _urlScheme = [NSString stringWithFormat:@"db-%@", _appKey]; _canOpenURLWrapper = canOpenURLWrapper; _openURLWrapper = openURLWrapper; } return self; } - (void)returnToDropboxApp:(DBOpenWithInfo *)openWithInfo changesPending:(BOOL)changesPending { [self returnToDropboxApp:openWithInfo changesPending:changesPending errorName:nil extras:nil]; } - (void)returnToDropboxApp:(DBOpenWithInfo *)openWithInfo changesPending:(BOOL)changesPending errorName:(NSString *)errorName extras:(NSDictionary *)extras { NSMutableDictionary *query = [self db_dictForOfficialDropboxCallAtPath:openWithInfo.path lastRevision:(NSString *)openWithInfo.rev userId:(NSString *)openWithInfo.userId sessionId:(NSString *)openWithInfo.sessionId changesPending:(BOOL)changesPending errorName:(NSString *)errorName extras:(NSDictionary *)extras]; query[@"origin"] = @"dropboxInitiated"; [self db_handleUrlOpenWithURL:@"viewPath" params:query dropboxApp:openWithInfo.sourceApp]; } + (DBOpenWithInfo *)retriveOfficialDropboxAppOpenWithInfo { NSIndexSet *indexSet = [[UIPasteboard generalPasteboard] itemSetWithPasteboardTypes:[NSArray arrayWithObject:kDBOpenWithPasteboard]]; NSArray *valuesArray = nil; if ([indexSet count]) { valuesArray = [[UIPasteboard generalPasteboard] valuesForPasteboardType:kDBOpenWithPasteboard inItemSet:indexSet]; } NSDictionary *pasteboardDictionary = nil; if (valuesArray) { pasteboardDictionary = [NSKeyedUnarchiver unarchiveObjectWithData:valuesArray[0]]; } if (pasteboardDictionary && [pasteboardDictionary valueForKey:@"path"] && [pasteboardDictionary valueForKey:@"userId"] && [pasteboardDictionary valueForKey:@"pasteboardCreationTime"]) { if ([[[[self class] dateFormatter] dateFromString:[pasteboardDictionary valueForKey:@"pasteboardCreationTime"]] timeIntervalSinceNow] < kMaxInstallTime) { return nil; } DBOpenWithInfo *openWithInfo = [[DBOpenWithInfo alloc] initWithUserId:[pasteboardDictionary valueForKey:@"userId"] rev:[pasteboardDictionary valueForKey:@"rev"] path:[pasteboardDictionary valueForKey:@"path"] modifiedTime:[[[self class] dateFormatter] dateFromString:[pasteboardDictionary valueForKey:@"modifiedTime"]] readOnly:[[pasteboardDictionary valueForKey:@"readOnly"] boolValue] verb:[pasteboardDictionary valueForKey:@"verb"] sessionId:[pasteboardDictionary valueForKey:@"sessionId"] fileId:[pasteboardDictionary valueForKey:@"fileId"] fileData:nil sourceApp:[pasteboardDictionary valueForKey:@"sourceApp"]]; dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(0.5 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{ NSMutableArray *existingItems = [[[UIPasteboard generalPasteboard] items] mutableCopy]; if ([existingItems count] > 0) { [existingItems removeObjectsAtIndexes:indexSet]; } [[UIPasteboard generalPasteboard] setItems:existingItems]; }); return openWithInfo; } return nil; } - (DBOpenWithInfo *)openWithInfoFromURL:(NSURL *)url { DBOpenWithInfo *openWithInfo = nil; if (url && [url.scheme isEqualToString:_urlScheme]) { NSURLComponents *urlComponents = [[NSURLComponents alloc] initWithURL:url resolvingAgainstBaseURL:YES]; NSArray *queryItems = urlComponents.queryItems; if (queryItems) { openWithInfo = [[DBOpenWithInfo alloc] initWithUserId:[NSString stringWithFormat:@"%@", [[self class] getQueryItemValueFromName:@"uid" queryItems:queryItems]] rev:[NSString stringWithFormat:@"%@", [[self class] getQueryItemValueFromName:@"rev" queryItems:queryItems]] path:[NSString stringWithFormat:@"%@", [[self class] getQueryItemValueFromName:@"path" queryItems:queryItems]] .lowercaseString modifiedTime:[[self.class dateFormatter] dateFromString:[NSString stringWithFormat:@"%@", [[self class] getQueryItemValueFromName:@"modifiedTime" queryItems:queryItems]]] readOnly:[[NSString stringWithFormat:@"%@", [[self class] getQueryItemValueFromName:@"readOnly" queryItems:queryItems]] boolValue] verb:[NSString stringWithFormat:@"%@", [[self class] getQueryItemValueFromName:@"verb" queryItems:queryItems]] sessionId:[NSString stringWithFormat:@"%@", [[self class] getQueryItemValueFromName:@"sessionId" queryItems:queryItems]] fileId:nil fileData:nil sourceApp:[NSString stringWithFormat:@"%@", [[self class] getQueryItemValueFromName:@"sourceApp" queryItems:queryItems]]]; NSAssert(openWithInfo, @"Error creating OpenWith info."); } } return openWithInfo; } - (BOOL)isRequiredDropboxAppInstalled { return [self db_canOpenScheme:kDropboxScheme] || [self db_canOpenScheme:kDropboxEMMScheme]; } + (id)getQueryItemValueFromName:(NSString *)name queryItems:(NSArray *)queryItems { __block NSObject *result = nil; [queryItems enumerateObjectsUsingBlock:^(NSURLQueryItem *obj, NSUInteger idx, BOOL *stop) { #pragma unused(idx) if ([obj.name isEqualToString:name]) { result = obj.value; *stop = YES; } }]; return result; }; + (NSDateFormatter *)dateFormatter { NSMutableDictionary *dictionary = [[NSThread currentThread] threadDictionary]; static NSString *dateFormatterKey = @"DBMetadataDateFormatter"; NSDateFormatter *dateFormatter = [dictionary objectForKey:dateFormatterKey]; if (dateFormatter == nil) { dateFormatter = [NSDateFormatter new]; // Must set locale to ensure consistent parsing: // http://developer.apple.com/iphone/library/qa/qa2010/qa1480.html dateFormatter.locale = [[NSLocale alloc] initWithLocaleIdentifier:@"enUSPOSIX"]; dateFormatter.dateFormat = @"EEE, dd MMM yyyy HH:mm:ss Z"; [dictionary setObject:dateFormatter forKey:dateFormatterKey]; } return dateFormatter; } - (NSMutableDictionary *)db_dictForOfficialDropboxCallAtPath:(NSString *)path lastRevision:(NSString *)lastRev userId:(NSString *)userId sessionId:(NSString *)sessionId changesPending:(BOOL)changesPending errorName:(NSString *)errorName extras:(NSDictionary *)extras { NSMutableDictionary *params = [[NSMutableDictionary alloc] init]; [params setValue:path forKey:@"path"]; [params setValue:lastRev forKey:@"rev"]; [params setValue:userId forKey:@"userId"]; [params setValue:sessionId forKey:@"sessionId"]; [params setValue:changesPending ? @"1" : @"0" forKey:@"changesPending"]; [params setValue:errorName forKey:@"errorName"]; NSURLComponents *components = [NSURLComponents new]; NSMutableArray *queryItems = [NSMutableArray array]; for (NSString *key in extras) { [queryItems addObject:[NSURLQueryItem queryItemWithName:key value:extras[key]]]; } components.queryItems = queryItems; NSString *extraInfo = [[components.URL absoluteString] stringByReplacingOccurrencesOfString:@"?" withString:@""]; [params setValue:extraInfo forKey:@"extraInfo"]; return params; } /// /// Returns the custom url scheme to open the Dropbox app with. If the app isn't installed we default to trying the /// Dropbox app first then the Dropbox EMM app. /// - (NSString *)db_schemeToOpenDropboxApp:(NSString *)app { if ([app isEqualToString:kDBOpenURLAppDropbox] && [self db_canOpenScheme:kDropboxScheme]) { return kDropboxScheme; } if ([app isEqualToString:kDBOpenURLAppDropboxEMM] && [self db_canOpenScheme:kDropboxEMMScheme]) { return kDropboxEMMScheme; } if ([self db_canOpenScheme:kDropboxScheme]) { return kDropboxScheme; } if ([self db_canOpenScheme:kDropboxEMMScheme]) { return kDropboxEMMScheme; } return nil; } - (BOOL)db_canOpenScheme:(NSString *)scheme { NSURL *url = [NSURL URLWithString:[NSString stringWithFormat:@"%@://", scheme]]; return _canOpenURLWrapper(url); } /// /// Opens the url using the Dropbox app. If app is nil, this defaults to the consumer Dropbox app /// - (void)db_handleUrlOpenWithURL:(NSString *)subPath params:(NSDictionary *)params dropboxApp:(NSString *)app { NSString *scheme = [self db_schemeToOpenDropboxApp:app]; if (!scheme) { return; } NSMutableDictionary *mutableParams = [params mutableCopy]; [mutableParams setValue:_appKey forKeyPath:@"k"]; assert(![mutableParams[@"k"] isEqualToString:@""]); NSURLComponents *components = [NSURLComponents new]; [components setScheme:scheme]; [components setPath:[NSString stringWithFormat:@"/1/%@", subPath]]; NSMutableArray *queryItems = [NSMutableArray array]; for (NSString *key in mutableParams) { [queryItems addObject:[NSURLQueryItem queryItemWithName:key value:mutableParams[key]]]; } components.queryItems = queryItems; dispatch_async(dispatch_get_main_queue(), ^{ self->_openURLWrapper([components URL]); }); } @end ================================================ FILE: Source/ObjectiveDropboxOfficial/Platform/ObjectiveDropboxOfficial_iOS/OfficialPartners/OpenWith/DBOpenWithInfo-iOS.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// #import NS_ASSUME_NONNULL_BEGIN /// /// Information for returning to the official Dropbox app. /// /// @note This logic is for official Dropbox partners only, and should not need /// to be used by other third-party apps. /// @interface DBOpenWithInfo : NSObject /// The Dropbox user ID of the current user. @property (nonatomic, copy, readonly) NSString *userId; /// The Dropbox revision for the file. @property (nonatomic, copy, readonly) NSString *rev; /// The Dropbox path for the file. @property (nonatomic, copy, readonly) NSString *path; /// The time the file was modified last. @property (nonatomic, copy, readonly, nullable) NSDate *modifiedTime; /// Whether the file is read only or not. @property (nonatomic, readonly) BOOL readOnly; /// The Dropbox verb associated with the file. @property (nonatomic, copy, readonly) NSString *verb; /// The Dropbox session ID associated with the file. @property (nonatomic, copy, readonly, nullable) NSString *sessionId; /// The Dropbox file ID associated with the file. @property (nonatomic, copy, readonly, nullable) NSString *fileId; /// Relevant Dropbox file data associated with the file. @property (nonatomic, copy, readonly, nullable) NSData *fileData; /// The source application from which the file content originated. @property (nonatomic, copy, readonly, nullable) NSString *sourceApp; /// /// Initializer containing the parameters that we were opened with. Some of these parameters are necessary to return to /// the originating Dropbox app. There are now two Dropbox apps: the regular Dropbox app and the Dropbox EMM app. Either /// can open with. /// /// @note This logic is for official Dropbox partners only, and should not need to be used by other third-party apps. /// /// @param userId The Dropbox user ID of the current user. /// @param rev The Dropbox revision for the file. /// @param path The Dropbox path for the file. /// @param modifiedTime The time the file was modified last. /// @param readOnly Whether the file is read only. /// @param verb The action type to be taken on the file (e.g. EDIT) supplied by the official Dropbox app. /// @param sessionId The Dropbox session ID supplied by the official app /// @param fileId The Dropbox file ID associated with the file /// @param fileData Relevant Dropbox file data associated with the file. /// @param sourceApp The source application from which the file content originated. /// - (id)initWithUserId:(NSString *)userId rev:(NSString *)rev path:(NSString *)path modifiedTime:(nullable NSDate *)modifiedTime readOnly:(BOOL)readOnly verb:(NSString *)verb sessionId:(nullable NSString *)sessionId fileId:(nullable NSString *)fileId fileData:(nullable NSData *)fileData sourceApp:(nullable NSString *)sourceApp; /// /// Saves open with info to disc. /// /// @note This logic is for official Dropbox partners only, and should not need to be used by other third-party apps. /// /// @param sessionId The Dropbox session ID supplied by the official app to be used as a storage lookup key. /// - (void)writeToStorageForSession:(nullable NSString *)sessionId; /// /// Retrieves open with info from disc. /// /// @note This logic is for official Dropbox partners only, and should not need to be used by other third-party apps. /// /// @param sessionId The Dropbox session ID supplied by the official app to be used as a storage lookup key. /// + (nullable DBOpenWithInfo *)popFromStorageForSession:(NSString *)sessionId; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Platform/ObjectiveDropboxOfficial_iOS/OfficialPartners/OpenWith/DBOpenWithInfo-iOS.m ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// #import "DBOpenWithInfo-iOS.h" /// /// @note This logic is for official Dropbox partners only, and should not need /// to be used by other third-party apps. /// @implementation DBOpenWithInfo static NSString *kStorageKeyPrefix = @"dbxOpenWith"; - (id)initWithUserId:(NSString *)userId rev:(NSString *)rev path:(NSString *)path modifiedTime:(NSDate *)modifiedTime readOnly:(BOOL)readOnly verb:(NSString *)verb sessionId:(NSString *)sessionId fileId:(NSString *)fileId fileData:(NSData *)fileData sourceApp:(NSString *)sourceApp { NSAssert(userId && rev && path && verb, @"Not enough data supplied."); if ((self = [super init])) { _userId = userId; _rev = rev; _path = path; _modifiedTime = modifiedTime; _readOnly = readOnly; _verb = verb; _sessionId = sessionId; _fileId = fileId; _fileData = fileData; _sourceApp = sourceApp; } return self; } + (DBOpenWithInfo *)popFromStorageForSession:(NSString *)sessionId { NSString *fullKey = [DBOpenWithInfo getStorageKeyFromSession:sessionId]; NSData *data = [[NSUserDefaults standardUserDefaults] objectForKey:fullKey]; // nil check because NSUserDefaults can get reset when the device is locked if (data == nil) { return nil; } [[NSUserDefaults standardUserDefaults] removeObjectForKey:fullKey]; [[NSUserDefaults standardUserDefaults] synchronize]; DBOpenWithInfo *openWithInfo = [NSKeyedUnarchiver unarchiveObjectWithData:data]; return openWithInfo; } - (void)writeToStorageForSession:(NSString *)sessionId { NSData *data = [NSKeyedArchiver archivedDataWithRootObject:self]; [[NSUserDefaults standardUserDefaults] setObject:data forKey:[DBOpenWithInfo getStorageKeyFromSession:sessionId]]; [[NSUserDefaults standardUserDefaults] synchronize]; } #pragma mark - conforming to NSCoding protocol - (id)initWithCoder:(NSCoder *)decoder { if (self = [super init]) { _userId = [decoder decodeObjectForKey:@"userId"]; _rev = [decoder decodeObjectForKey:@"rev"]; _path = [decoder decodeObjectForKey:@"path"]; _modifiedTime = [decoder decodeObjectForKey:@"modifiedTime"]; _readOnly = [decoder decodeBoolForKey:@"readOnly"]; _verb = [decoder decodeObjectForKey:@"verb"]; _sessionId = [decoder decodeObjectForKey:@"sessionId"]; _fileId = [decoder decodeObjectForKey:@"fileId"]; // fileData is excluded _sourceApp = [decoder decodeObjectForKey:@"sourceApp"]; } return self; } - (void)encodeWithCoder:(NSCoder *)encoder { [encoder encodeObject:_userId forKey:@"userId"]; [encoder encodeObject:_rev forKey:@"rev"]; [encoder encodeObject:_path forKey:@"path"]; [encoder encodeObject:_modifiedTime forKey:@"modifiedTime"]; [encoder encodeBool:_readOnly forKey:@"readOnly"]; [encoder encodeObject:_verb forKey:@"verb"]; [encoder encodeObject:_sessionId forKey:@"sessionId"]; [encoder encodeObject:_fileId forKey:@"fileId"]; // fileData is excluded [encoder encodeObject:_sourceApp forKey:@"sourceApp"]; } #pragma mark - private methods + (NSString *)getStorageKeyFromSession:(NSString *)sessionId { return [NSString stringWithFormat:@"%@.%@", kStorageKeyPrefix, sessionId]; } @end ================================================ FILE: Source/ObjectiveDropboxOfficial/Platform/ObjectiveDropboxOfficial_macOS/DBClientsManager+DesktopAuth-macOS.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// #import #import "DBClientsManager.h" #import "DBOAuthDesktop-macOS.h" #import "DBOAuthResult.h" @class DBScopeRequest; @class DBTransportDefaultConfig; @class NSWorkspace; @class NSViewController; @protocol DBLoadingStatusDelegate; NS_ASSUME_NONNULL_BEGIN /// /// Code with platform-specific (here, macOS) dependencies. /// /// Extends functionality of the `DBClientsManager` class. /// @interface DBClientsManager (DesktopAuth) /// /// 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. 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 __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 /// `DBUserClient` instance. Convenience method for `setupWithTransportConfigDesktop:`. /// /// This method should be used in the single Dropbox user case. If any stored OAuth tokens exist, one will arbitrarily /// be retrieved and used to authenticate API calls. Use `setupWithTransportConfig:`, if additional customization of /// network calling parameters is necessary. This method should be called from the app delegate. /// /// @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. /// + (void)setupWithAppKeyDesktop:(NSString *)appKey; /// /// Stores the user transport config info for desktop. If any access token already exists, initializes an authorized /// shared `DBUserClient` instance. /// /// This method should be used in the single Dropbox user case. If any stored OAuth tokens exist, one will arbitrarily /// be retrieved and used to authenticate API calls. You can customize some network calling parameters using the /// different `DBTransportDefaultConfig` constructors. This method should be called from the app delegate. /// /// @param transportConfig A wrapper around the different parameters that can be set to change network calling behavior. /// + (void)setupWithTransportConfigDesktop:(nullable DBTransportDefaultConfig *)transportConfig; /// /// Stores the team app key for desktop. If any access token already exists, initializes an authorized shared /// `DBTeamClient` instance. Convenience method for `setupWithTeamTransportConfigDesktop:`. /// /// This method should be used in the single Dropbox user case. If any stored OAuth tokens exist, one will arbitrarily /// be retrieved and used to authenticate API calls. Use `setupWithTeamTransportConfig:`, if additional customization of /// network calling parameters is necessary. This method should be called from the app delegate. /// /// @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. /// + (void)setupWithTeamAppKeyDesktop:(NSString *)appKey; /// /// Stores the team transport config info for desktop. If any access token already exists, initializes an authorized /// shared `DBTeamClient` instance. /// /// This method should be used in the single Dropbox user case. If any stored OAuth tokens exist, one will arbitrarily /// be retrieved and used to authenticate API calls. You can customize some network calling parameters using the /// different `DBTransportDefaultConfig` constructors. This method should be called from the app delegate. /// /// @param transportConfig A wrapper around the different parameters that can be set to change network calling behavior. /// + (void)setupWithTeamTransportConfigDesktop:(nullable DBTransportDefaultConfig *)transportConfig; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Platform/ObjectiveDropboxOfficial_macOS/DBClientsManager+DesktopAuth-macOS.m ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// #import #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) + (void)authorizeFromControllerDesktop:(NSWorkspace *)sharedApplication controller:(NSViewController *)controller openURL:(void (^_Nonnull)(NSURL *))openURL { [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 { [[self class] setupWithTransportConfigDesktop:[[DBTransportDefaultConfig alloc] initWithAppKey:appKey]]; } + (void)setupWithTransportConfigDesktop:(DBTransportDefaultConfig *)transportConfig { [[self class] setupWithOAuthManager:[[DBOAuthManager alloc] initWithAppKey:transportConfig.appKey host:transportConfig.hostnameConfig.meta] transportConfig:transportConfig]; } + (void)setupWithTeamAppKeyDesktop:(NSString *)appKey { [[self class] setupWithTeamTransportConfigDesktop:[[DBTransportDefaultConfig alloc] initWithAppKey:appKey]]; } + (void)setupWithTeamTransportConfigDesktop:(DBTransportDefaultConfig *)transportConfig { [[self class] setupWithOAuthManagerTeam:[[DBOAuthManager alloc] initWithAppKey:transportConfig.appKey host:transportConfig.hostnameConfig.meta] 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Platform/ObjectiveDropboxOfficial_macOS/DBOAuthDesktop-macOS.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// #import #import #import "DBLoadingStatusDelegate.h" #import "DBSharedApplicationProtocol.h" NS_ASSUME_NONNULL_BEGIN /// /// Platform-specific (here, macOS) shared application. /// /// Renders OAuth flow and implements `DBSharedApplication` protocol. /// @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. The controller reference is weakly /// held. /// @param openURL A wrapper around app-extension unsafe `openURL` call. /// /// @return An initialized instance. /// - (instancetype)initWithSharedApplication:(NSWorkspace *)sharedApplication controller:(NSViewController *)controller openURL:(void (^_Nonnull)(NSURL *))openURL; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Platform/ObjectiveDropboxOfficial_macOS/DBOAuthDesktop-macOS.m ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// #import "DBOAuthDesktop-macOS.h" #import "DBLoadingStatusDelegate.h" #import "DBOAuthManager.h" static DBDesktopSharedApplication *s_desktopSharedApplication; @implementation DBDesktopSharedApplication { NSWorkspace *_sharedWorkspace; __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 { self = [super init]; if (self) { // fields saved for app-extension safety _sharedWorkspace = sharedWorkspace; _controller = controller; _openURL = openURL; } return self; } - (void)presentErrorMessage:(NSString *)message title:(NSString *)title { #pragma unused(title) if (_controller) { NSError *error = [[NSError alloc] initWithDomain:@"" code:123 userInfo:@{NSLocalizedDescriptionKey : message}]; [_controller presentError:error]; } } - (void)presentErrorMessageWithHandlers:(NSString *)message title:(NSString *)title buttonHandlers:(NSDictionary *)buttonHandlers { #pragma unused(buttonHandlers) [self presentErrorMessage:message title:title]; } - (BOOL)presentPlatformSpecificAuth:(NSURL *)authURL { #pragma unused(authURL) // no platform-specific auth methods for macOS return NO; } - (void)presentAuthChannel:(NSURL *)authURL cancelHandler:(void (^_Nonnull)(void))cancelHandler { #pragma unused(cancelHandler) [self presentExternalApp:authURL]; } - (void)presentExternalApp:(NSURL *)url { _openURL(url); } - (BOOL)canPresentExternalApp:(NSURL *)url { #pragma unused(url) return YES; } - (void)presentLoading { [_loadingStatusDelegate showLoading]; } - (void)dismissLoading { [_loadingStatusDelegate dismissLoading]; } @end ================================================ FILE: Source/ObjectiveDropboxOfficial/Platform/ObjectiveDropboxOfficial_macOS/DBSDKImports-macOS.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// #import "DBClientsManager+DesktopAuth-macOS.h" #import "DBOAuthDesktop-macOS.h" ================================================ FILE: Source/ObjectiveDropboxOfficial/Platform/ObjectiveDropboxOfficial_macOS/Info.plist ================================================ CFBundleDevelopmentRegion en CFBundleExecutable $(EXECUTABLE_NAME) CFBundleIdentifier $(PRODUCT_BUNDLE_IDENTIFIER) CFBundleInfoDictionaryVersion 6.0 CFBundleName $(PRODUCT_NAME) CFBundlePackageType FMWK CFBundleShortVersionString 7.4.1 CFBundleSignature ???? CFBundleVersion $(CURRENT_PROJECT_VERSION) NSHumanReadableCopyright Copyright © 2016 Dropbox. All rights reserved. NSPrincipalClass ================================================ FILE: Source/ObjectiveDropboxOfficial/PrivacyInfo.xcprivacy ================================================ 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Account/DBAccountObjects.m ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Account/Headers/DBACCOUNTPhotoSourceArg.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Account/Headers/DBACCOUNTSetProfilePhotoArg.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Account/Headers/DBACCOUNTSetProfilePhotoError.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Account/Headers/DBACCOUNTSetProfilePhotoResult.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Async/DBAsyncObjects.m ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// /// Arguments, results, and errors for the `Async` namespace. #import "DBASYNCLaunchResultBase.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBASYNCLaunchResultBase @synthesize asyncJobId = _asyncJobId; #pragma mark - Constructors - (instancetype)initWithAsyncJobId:(NSString *)asyncJobId { self = [super init]; if (self) { _tag = DBASYNCLaunchResultBaseAsyncJobId; _asyncJobId = asyncJobId; } return self; } #pragma mark - Instance field accessors - (NSString *)asyncJobId { if (![self isAsyncJobId]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBASYNCLaunchResultBaseAsyncJobId, but was %@.", [self tagName]]; } return _asyncJobId; } #pragma mark - Tag state methods - (BOOL)isAsyncJobId { return _tag == DBASYNCLaunchResultBaseAsyncJobId; } - (NSString *)tagName { switch (_tag) { case DBASYNCLaunchResultBaseAsyncJobId: return @"DBASYNCLaunchResultBaseAsyncJobId"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBASYNCLaunchResultBaseSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBASYNCLaunchResultBaseSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBASYNCLaunchResultBaseSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 DBASYNCLaunchResultBaseAsyncJobId: result = prime * result + [self.asyncJobId 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 isEqualToLaunchResultBase:other]; } - (BOOL)isEqualToLaunchResultBase:(DBASYNCLaunchResultBase *)aLaunchResultBase { if (self == aLaunchResultBase) { return YES; } if (self.tag != aLaunchResultBase.tag) { return NO; } switch (_tag) { case DBASYNCLaunchResultBaseAsyncJobId: return [self.asyncJobId isEqual:aLaunchResultBase.asyncJobId]; } return YES; } @end #pragma mark - Serializer Object @implementation DBASYNCLaunchResultBaseSerializer + (NSDictionary *)serialize:(DBASYNCLaunchResultBase *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isAsyncJobId]) { jsonDict[@"async_job_id"] = valueObj.asyncJobId; jsonDict[@".tag"] = @"async_job_id"; } else { @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Object not properly initialized. Tag has an unknown value." userInfo:nil]); } return jsonDict; } + (DBASYNCLaunchResultBase *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"async_job_id"]) { NSString *asyncJobId = valueDict[@"async_job_id"]; return [[DBASYNCLaunchResultBase alloc] initWithAsyncJobId:asyncJobId]; } else { @throw([NSException exceptionWithName:@"InvalidTag" reason:[NSString stringWithFormat:@"Tag has an invalid value: \"%@\".", valueDict[@".tag"]] userInfo:nil]); } } @end #import "DBASYNCLaunchEmptyResult.h" #import "DBASYNCLaunchResultBase.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBASYNCLaunchEmptyResult @synthesize asyncJobId = _asyncJobId; #pragma mark - Constructors - (instancetype)initWithAsyncJobId:(NSString *)asyncJobId { self = [super init]; if (self) { _tag = DBASYNCLaunchEmptyResultAsyncJobId; _asyncJobId = asyncJobId; } return self; } - (instancetype)initWithComplete { self = [super init]; if (self) { _tag = DBASYNCLaunchEmptyResultComplete; } return self; } #pragma mark - Instance field accessors - (NSString *)asyncJobId { if (![self isAsyncJobId]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBASYNCLaunchEmptyResultAsyncJobId, but was %@.", [self tagName]]; } return _asyncJobId; } #pragma mark - Tag state methods - (BOOL)isAsyncJobId { return _tag == DBASYNCLaunchEmptyResultAsyncJobId; } - (BOOL)isComplete { return _tag == DBASYNCLaunchEmptyResultComplete; } - (NSString *)tagName { switch (_tag) { case DBASYNCLaunchEmptyResultAsyncJobId: return @"DBASYNCLaunchEmptyResultAsyncJobId"; case DBASYNCLaunchEmptyResultComplete: return @"DBASYNCLaunchEmptyResultComplete"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBASYNCLaunchEmptyResultSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBASYNCLaunchEmptyResultSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBASYNCLaunchEmptyResultSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 DBASYNCLaunchEmptyResultAsyncJobId: result = prime * result + [self.asyncJobId hash]; break; case DBASYNCLaunchEmptyResultComplete: 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 isEqualToLaunchEmptyResult:other]; } - (BOOL)isEqualToLaunchEmptyResult:(DBASYNCLaunchEmptyResult *)aLaunchEmptyResult { if (self == aLaunchEmptyResult) { return YES; } if (self.tag != aLaunchEmptyResult.tag) { return NO; } switch (_tag) { case DBASYNCLaunchEmptyResultAsyncJobId: return [self.asyncJobId isEqual:aLaunchEmptyResult.asyncJobId]; case DBASYNCLaunchEmptyResultComplete: return [[self tagName] isEqual:[aLaunchEmptyResult tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBASYNCLaunchEmptyResultSerializer + (NSDictionary *)serialize:(DBASYNCLaunchEmptyResult *)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[@".tag"] = @"complete"; } else { @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Object not properly initialized. Tag has an unknown value." userInfo:nil]); } return jsonDict; } + (DBASYNCLaunchEmptyResult *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"async_job_id"]) { NSString *asyncJobId = valueDict[@"async_job_id"]; return [[DBASYNCLaunchEmptyResult alloc] initWithAsyncJobId:asyncJobId]; } else if ([tag isEqualToString:@"complete"]) { return [[DBASYNCLaunchEmptyResult alloc] initWithComplete]; } else { @throw([NSException exceptionWithName:@"InvalidTag" reason:[NSString stringWithFormat:@"Tag has an invalid value: \"%@\".", valueDict[@".tag"]] userInfo:nil]); } } @end #import "DBASYNCPollArg.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBASYNCPollArg #pragma mark - Constructors - (instancetype)initWithAsyncJobId:(NSString *)asyncJobId { [DBStoneValidators nonnullValidator:[DBStoneValidators stringValidator:@(1) maxLength:nil pattern:nil]](asyncJobId); self = [super init]; if (self) { _asyncJobId = asyncJobId; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBASYNCPollArgSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBASYNCPollArgSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBASYNCPollArgSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.asyncJobId hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToPollArg:other]; } - (BOOL)isEqualToPollArg:(DBASYNCPollArg *)aPollArg { if (self == aPollArg) { return YES; } if (![self.asyncJobId isEqual:aPollArg.asyncJobId]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBASYNCPollArgSerializer + (NSDictionary *)serialize:(DBASYNCPollArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"async_job_id"] = valueObj.asyncJobId; return jsonDict; } + (DBASYNCPollArg *)deserialize:(NSDictionary *)valueDict { NSString *asyncJobId = valueDict[@"async_job_id"]; return [[DBASYNCPollArg alloc] initWithAsyncJobId:asyncJobId]; } @end #import "DBASYNCPollResultBase.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBASYNCPollResultBase #pragma mark - Constructors - (instancetype)initWithInProgress { self = [super init]; if (self) { _tag = DBASYNCPollResultBaseInProgress; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isInProgress { return _tag == DBASYNCPollResultBaseInProgress; } - (NSString *)tagName { switch (_tag) { case DBASYNCPollResultBaseInProgress: return @"DBASYNCPollResultBaseInProgress"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBASYNCPollResultBaseSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBASYNCPollResultBaseSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBASYNCPollResultBaseSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 DBASYNCPollResultBaseInProgress: 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 isEqualToPollResultBase:other]; } - (BOOL)isEqualToPollResultBase:(DBASYNCPollResultBase *)aPollResultBase { if (self == aPollResultBase) { return YES; } if (self.tag != aPollResultBase.tag) { return NO; } switch (_tag) { case DBASYNCPollResultBaseInProgress: return [[self tagName] isEqual:[aPollResultBase tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBASYNCPollResultBaseSerializer + (NSDictionary *)serialize:(DBASYNCPollResultBase *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isInProgress]) { jsonDict[@".tag"] = @"in_progress"; } else { @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Object not properly initialized. Tag has an unknown value." userInfo:nil]); } return jsonDict; } + (DBASYNCPollResultBase *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"in_progress"]) { return [[DBASYNCPollResultBase alloc] initWithInProgress]; } else { @throw([NSException exceptionWithName:@"InvalidTag" reason:[NSString stringWithFormat:@"Tag has an invalid value: \"%@\".", valueDict[@".tag"]] userInfo:nil]); } } @end #import "DBASYNCPollEmptyResult.h" #import "DBASYNCPollResultBase.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBASYNCPollEmptyResult #pragma mark - Constructors - (instancetype)initWithInProgress { self = [super init]; if (self) { _tag = DBASYNCPollEmptyResultInProgress; } return self; } - (instancetype)initWithComplete { self = [super init]; if (self) { _tag = DBASYNCPollEmptyResultComplete; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isInProgress { return _tag == DBASYNCPollEmptyResultInProgress; } - (BOOL)isComplete { return _tag == DBASYNCPollEmptyResultComplete; } - (NSString *)tagName { switch (_tag) { case DBASYNCPollEmptyResultInProgress: return @"DBASYNCPollEmptyResultInProgress"; case DBASYNCPollEmptyResultComplete: return @"DBASYNCPollEmptyResultComplete"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBASYNCPollEmptyResultSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBASYNCPollEmptyResultSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBASYNCPollEmptyResultSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 DBASYNCPollEmptyResultInProgress: result = prime * result + [[self tagName] hash]; break; case DBASYNCPollEmptyResultComplete: 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 isEqualToPollEmptyResult:other]; } - (BOOL)isEqualToPollEmptyResult:(DBASYNCPollEmptyResult *)aPollEmptyResult { if (self == aPollEmptyResult) { return YES; } if (self.tag != aPollEmptyResult.tag) { return NO; } switch (_tag) { case DBASYNCPollEmptyResultInProgress: return [[self tagName] isEqual:[aPollEmptyResult tagName]]; case DBASYNCPollEmptyResultComplete: return [[self tagName] isEqual:[aPollEmptyResult tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBASYNCPollEmptyResultSerializer + (NSDictionary *)serialize:(DBASYNCPollEmptyResult *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isInProgress]) { jsonDict[@".tag"] = @"in_progress"; } else if ([valueObj isComplete]) { jsonDict[@".tag"] = @"complete"; } else { @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Object not properly initialized. Tag has an unknown value." userInfo:nil]); } return jsonDict; } + (DBASYNCPollEmptyResult *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"in_progress"]) { return [[DBASYNCPollEmptyResult alloc] initWithInProgress]; } else if ([tag isEqualToString:@"complete"]) { return [[DBASYNCPollEmptyResult alloc] initWithComplete]; } else { @throw([NSException exceptionWithName:@"InvalidTag" reason:[NSString stringWithFormat:@"Tag has an invalid value: \"%@\".", valueDict[@".tag"]] userInfo:nil]); } } @end #import "DBASYNCPollError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBASYNCPollError #pragma mark - Constructors - (instancetype)initWithInvalidAsyncJobId { self = [super init]; if (self) { _tag = DBASYNCPollErrorInvalidAsyncJobId; } return self; } - (instancetype)initWithInternalError { self = [super init]; if (self) { _tag = DBASYNCPollErrorInternalError; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBASYNCPollErrorOther; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isInvalidAsyncJobId { return _tag == DBASYNCPollErrorInvalidAsyncJobId; } - (BOOL)isInternalError { return _tag == DBASYNCPollErrorInternalError; } - (BOOL)isOther { return _tag == DBASYNCPollErrorOther; } - (NSString *)tagName { switch (_tag) { case DBASYNCPollErrorInvalidAsyncJobId: return @"DBASYNCPollErrorInvalidAsyncJobId"; case DBASYNCPollErrorInternalError: return @"DBASYNCPollErrorInternalError"; case DBASYNCPollErrorOther: return @"DBASYNCPollErrorOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBASYNCPollErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBASYNCPollErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBASYNCPollErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToPollError:other]; } - (BOOL)isEqualToPollError:(DBASYNCPollError *)aPollError { if (self == aPollError) { return YES; } if (self.tag != aPollError.tag) { return NO; } switch (_tag) { case DBASYNCPollErrorInvalidAsyncJobId: return [[self tagName] isEqual:[aPollError tagName]]; case DBASYNCPollErrorInternalError: return [[self tagName] isEqual:[aPollError tagName]]; case DBASYNCPollErrorOther: return [[self tagName] isEqual:[aPollError tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBASYNCPollErrorSerializer + (NSDictionary *)serialize:(DBASYNCPollError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isInvalidAsyncJobId]) { jsonDict[@".tag"] = @"invalid_async_job_id"; } else if ([valueObj isInternalError]) { jsonDict[@".tag"] = @"internal_error"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBASYNCPollError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"invalid_async_job_id"]) { return [[DBASYNCPollError alloc] initWithInvalidAsyncJobId]; } else if ([tag isEqualToString:@"internal_error"]) { return [[DBASYNCPollError alloc] initWithInternalError]; } else if ([tag isEqualToString:@"other"]) { return [[DBASYNCPollError alloc] initWithOther]; } else { return [[DBASYNCPollError alloc] initWithOther]; } } @end ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Async/Headers/DBASYNCLaunchEmptyResult.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBASYNCLaunchEmptyResult; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `LaunchEmptyResult` union. /// /// Result returned by methods that may either launch an asynchronous job or /// complete synchronously. Upon synchronous completion of the job, no /// additional information is returned. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBASYNCLaunchEmptyResult : NSObject #pragma mark - Instance fields /// The `DBASYNCLaunchEmptyResultTag` enum type represents the possible tag /// states with which the `DBASYNCLaunchEmptyResult` union can exist. 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, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBASYNCLaunchEmptyResultTag 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; #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". /// /// Description of the "complete" tag state: The job finished synchronously and /// successfully. /// /// @return An initialized instance. /// - (instancetype)initWithComplete; - (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". /// /// @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 `DBASYNCLaunchEmptyResult` union. /// @interface DBASYNCLaunchEmptyResultSerializer : NSObject /// /// Serializes `DBASYNCLaunchEmptyResult` instances. /// /// @param instance An instance of the `DBASYNCLaunchEmptyResult` API object. /// /// @return A json-compatible dictionary representation of the /// `DBASYNCLaunchEmptyResult` API object. /// + (nullable NSDictionary *)serialize:(DBASYNCLaunchEmptyResult *)instance; /// /// Deserializes `DBASYNCLaunchEmptyResult` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBASYNCLaunchEmptyResult` API object. /// /// @return An instantiation of the `DBASYNCLaunchEmptyResult` object. /// + (DBASYNCLaunchEmptyResult *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Async/Headers/DBASYNCLaunchResultBase.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBASYNCLaunchResultBase; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `LaunchResultBase` union. /// /// Result returned by methods that launch an asynchronous job. A method who may /// either launch an asynchronous job, or complete the request synchronously, /// can use this union by extending it, and adding a 'complete' field with the /// type of the synchronous response. See LaunchEmptyResult for an example. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBASYNCLaunchResultBase : NSObject #pragma mark - Instance fields /// The `DBASYNCLaunchResultBaseTag` enum type represents the possible tag /// states with which the `DBASYNCLaunchResultBase` union can exist. 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, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBASYNCLaunchResultBaseTag 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; #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; - (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 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 `DBASYNCLaunchResultBase` union. /// @interface DBASYNCLaunchResultBaseSerializer : NSObject /// /// Serializes `DBASYNCLaunchResultBase` instances. /// /// @param instance An instance of the `DBASYNCLaunchResultBase` API object. /// /// @return A json-compatible dictionary representation of the /// `DBASYNCLaunchResultBase` API object. /// + (nullable NSDictionary *)serialize:(DBASYNCLaunchResultBase *)instance; /// /// Deserializes `DBASYNCLaunchResultBase` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBASYNCLaunchResultBase` API object. /// /// @return An instantiation of the `DBASYNCLaunchResultBase` object. /// + (DBASYNCLaunchResultBase *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Async/Headers/DBASYNCPollArg.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBASYNCPollArg; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `PollArg` struct. /// /// Arguments for methods that poll the status of an asynchronous job. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBASYNCPollArg : NSObject #pragma mark - Instance fields /// Id of the asynchronous job. This is the value of a response returned from /// the method that launched the job. @property (nonatomic, readonly, copy) NSString *asyncJobId; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param asyncJobId Id of the asynchronous job. This is the value of a /// response returned from the method that launched the job. /// /// @return An initialized instance. /// - (instancetype)initWithAsyncJobId:(NSString *)asyncJobId; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `PollArg` struct. /// @interface DBASYNCPollArgSerializer : NSObject /// /// Serializes `DBASYNCPollArg` instances. /// /// @param instance An instance of the `DBASYNCPollArg` API object. /// /// @return A json-compatible dictionary representation of the `DBASYNCPollArg` /// API object. /// + (nullable NSDictionary *)serialize:(DBASYNCPollArg *)instance; /// /// Deserializes `DBASYNCPollArg` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBASYNCPollArg` API object. /// /// @return An instantiation of the `DBASYNCPollArg` object. /// + (DBASYNCPollArg *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Async/Headers/DBASYNCPollEmptyResult.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBASYNCPollEmptyResult; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `PollEmptyResult` union. /// /// Result returned by methods that poll for the status of an asynchronous job. /// Upon completion of the job, no additional information is returned. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBASYNCPollEmptyResult : NSObject #pragma mark - Instance fields /// The `DBASYNCPollEmptyResultTag` enum type represents the possible tag states /// with which the `DBASYNCPollEmptyResult` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBASYNCPollEmptyResultTag){ /// The asynchronous job is still in progress. DBASYNCPollEmptyResultInProgress, /// The asynchronous job has completed successfully. DBASYNCPollEmptyResultComplete, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBASYNCPollEmptyResultTag tag; #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 completed /// successfully. /// /// @return An initialized instance. /// - (instancetype)initWithComplete; - (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". /// /// @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 `DBASYNCPollEmptyResult` union. /// @interface DBASYNCPollEmptyResultSerializer : NSObject /// /// Serializes `DBASYNCPollEmptyResult` instances. /// /// @param instance An instance of the `DBASYNCPollEmptyResult` API object. /// /// @return A json-compatible dictionary representation of the /// `DBASYNCPollEmptyResult` API object. /// + (nullable NSDictionary *)serialize:(DBASYNCPollEmptyResult *)instance; /// /// Deserializes `DBASYNCPollEmptyResult` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBASYNCPollEmptyResult` API object. /// /// @return An instantiation of the `DBASYNCPollEmptyResult` object. /// + (DBASYNCPollEmptyResult *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Async/Headers/DBASYNCPollError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBASYNCPollError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `PollError` union. /// /// Error returned by methods for polling the status of asynchronous job. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBASYNCPollError : NSObject #pragma mark - Instance fields /// The `DBASYNCPollErrorTag` enum type represents the possible tag states with /// which the `DBASYNCPollError` union can exist. 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, /// (no description). DBASYNCPollErrorOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBASYNCPollErrorTag tag; #pragma mark - Constructors /// /// Initializes union class with tag state of "invalid_async_job_id". /// /// Description of the "invalid_async_job_id" tag state: The job ID is invalid. /// /// @return An initialized instance. /// - (instancetype)initWithInvalidAsyncJobId; /// /// 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 /// "invalid_async_job_id". /// /// @return Whether the union's current tag state has value /// "invalid_async_job_id". /// - (BOOL)isInvalidAsyncJobId; /// /// 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 `DBASYNCPollError` union. /// @interface DBASYNCPollErrorSerializer : NSObject /// /// Serializes `DBASYNCPollError` instances. /// /// @param instance An instance of the `DBASYNCPollError` API object. /// /// @return A json-compatible dictionary representation of the /// `DBASYNCPollError` API object. /// + (nullable NSDictionary *)serialize:(DBASYNCPollError *)instance; /// /// Deserializes `DBASYNCPollError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBASYNCPollError` API object. /// /// @return An instantiation of the `DBASYNCPollError` object. /// + (DBASYNCPollError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Async/Headers/DBASYNCPollResultBase.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBASYNCPollResultBase; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `PollResultBase` union. /// /// Result returned by methods that poll for the status of an asynchronous job. /// Unions that extend this union should add a 'complete' field with a type of /// the information returned upon job completion. See PollEmptyResult for an /// example. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBASYNCPollResultBase : NSObject #pragma mark - Instance fields /// The `DBASYNCPollResultBaseTag` enum type represents the possible tag states /// with which the `DBASYNCPollResultBase` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBASYNCPollResultBaseTag){ /// The asynchronous job is still in progress. DBASYNCPollResultBaseInProgress, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBASYNCPollResultBaseTag tag; #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; - (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 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 `DBASYNCPollResultBase` union. /// @interface DBASYNCPollResultBaseSerializer : NSObject /// /// Serializes `DBASYNCPollResultBase` instances. /// /// @param instance An instance of the `DBASYNCPollResultBase` API object. /// /// @return A json-compatible dictionary representation of the /// `DBASYNCPollResultBase` API object. /// + (nullable NSDictionary *)serialize:(DBASYNCPollResultBase *)instance; /// /// Deserializes `DBASYNCPollResultBase` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBASYNCPollResultBase` API object. /// /// @return An instantiation of the `DBASYNCPollResultBase` object. /// + (DBASYNCPollResultBase *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Auth/DBAuthObjects.m ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// /// Arguments, results, and errors for the `Auth` namespace. #import "DBAUTHAccessError.h" #import "DBAUTHInvalidAccountTypeError.h" #import "DBAUTHPaperAccessError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBAUTHAccessError @synthesize invalidAccountType = _invalidAccountType; @synthesize paperAccessDenied = _paperAccessDenied; #pragma mark - Constructors - (instancetype)initWithInvalidAccountType:(DBAUTHInvalidAccountTypeError *)invalidAccountType { self = [super init]; if (self) { _tag = DBAUTHAccessErrorInvalidAccountType; _invalidAccountType = invalidAccountType; } return self; } - (instancetype)initWithPaperAccessDenied:(DBAUTHPaperAccessError *)paperAccessDenied { self = [super init]; if (self) { _tag = DBAUTHAccessErrorPaperAccessDenied; _paperAccessDenied = paperAccessDenied; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBAUTHAccessErrorOther; } return self; } #pragma mark - Instance field accessors - (DBAUTHInvalidAccountTypeError *)invalidAccountType { if (![self isInvalidAccountType]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBAUTHAccessErrorInvalidAccountType, but was %@.", [self tagName]]; } return _invalidAccountType; } - (DBAUTHPaperAccessError *)paperAccessDenied { if (![self isPaperAccessDenied]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBAUTHAccessErrorPaperAccessDenied, but was %@.", [self tagName]]; } return _paperAccessDenied; } #pragma mark - Tag state methods - (BOOL)isInvalidAccountType { return _tag == DBAUTHAccessErrorInvalidAccountType; } - (BOOL)isPaperAccessDenied { return _tag == DBAUTHAccessErrorPaperAccessDenied; } - (BOOL)isOther { return _tag == DBAUTHAccessErrorOther; } - (NSString *)tagName { switch (_tag) { case DBAUTHAccessErrorInvalidAccountType: return @"DBAUTHAccessErrorInvalidAccountType"; case DBAUTHAccessErrorPaperAccessDenied: return @"DBAUTHAccessErrorPaperAccessDenied"; case DBAUTHAccessErrorOther: return @"DBAUTHAccessErrorOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBAUTHAccessErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBAUTHAccessErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBAUTHAccessErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToAccessError:other]; } - (BOOL)isEqualToAccessError:(DBAUTHAccessError *)anAccessError { if (self == anAccessError) { return YES; } if (self.tag != anAccessError.tag) { return NO; } switch (_tag) { case DBAUTHAccessErrorInvalidAccountType: return [self.invalidAccountType isEqual:anAccessError.invalidAccountType]; case DBAUTHAccessErrorPaperAccessDenied: return [self.paperAccessDenied isEqual:anAccessError.paperAccessDenied]; case DBAUTHAccessErrorOther: return [[self tagName] isEqual:[anAccessError tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBAUTHAccessErrorSerializer + (NSDictionary *)serialize:(DBAUTHAccessError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isInvalidAccountType]) { jsonDict[@"invalid_account_type"] = [[DBAUTHInvalidAccountTypeErrorSerializer serialize:valueObj.invalidAccountType] mutableCopy]; jsonDict[@".tag"] = @"invalid_account_type"; } else if ([valueObj isPaperAccessDenied]) { jsonDict[@"paper_access_denied"] = [[DBAUTHPaperAccessErrorSerializer serialize:valueObj.paperAccessDenied] mutableCopy]; jsonDict[@".tag"] = @"paper_access_denied"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBAUTHAccessError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"invalid_account_type"]) { DBAUTHInvalidAccountTypeError *invalidAccountType = [DBAUTHInvalidAccountTypeErrorSerializer deserialize:valueDict[@"invalid_account_type"]]; return [[DBAUTHAccessError alloc] initWithInvalidAccountType:invalidAccountType]; } else if ([tag isEqualToString:@"paper_access_denied"]) { DBAUTHPaperAccessError *paperAccessDenied = [DBAUTHPaperAccessErrorSerializer deserialize:valueDict[@"paper_access_denied"]]; return [[DBAUTHAccessError alloc] initWithPaperAccessDenied:paperAccessDenied]; } else if ([tag isEqualToString:@"other"]) { return [[DBAUTHAccessError alloc] initWithOther]; } else { return [[DBAUTHAccessError alloc] initWithOther]; } } @end #import "DBAUTHAuthError.h" #import "DBAUTHTokenScopeError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBAUTHAuthError @synthesize missingScope = _missingScope; #pragma mark - Constructors - (instancetype)initWithInvalidAccessToken { self = [super init]; if (self) { _tag = DBAUTHAuthErrorInvalidAccessToken; } return self; } - (instancetype)initWithInvalidSelectUser { self = [super init]; if (self) { _tag = DBAUTHAuthErrorInvalidSelectUser; } return self; } - (instancetype)initWithInvalidSelectAdmin { self = [super init]; if (self) { _tag = DBAUTHAuthErrorInvalidSelectAdmin; } return self; } - (instancetype)initWithUserSuspended { self = [super init]; if (self) { _tag = DBAUTHAuthErrorUserSuspended; } 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) { _tag = DBAUTHAuthErrorOther; } return self; } #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 { return _tag == DBAUTHAuthErrorInvalidAccessToken; } - (BOOL)isInvalidSelectUser { return _tag == DBAUTHAuthErrorInvalidSelectUser; } - (BOOL)isInvalidSelectAdmin { return _tag == DBAUTHAuthErrorInvalidSelectAdmin; } - (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; } - (NSString *)tagName { switch (_tag) { case DBAUTHAuthErrorInvalidAccessToken: return @"DBAUTHAuthErrorInvalidAccessToken"; case DBAUTHAuthErrorInvalidSelectUser: return @"DBAUTHAuthErrorInvalidSelectUser"; case DBAUTHAuthErrorInvalidSelectAdmin: return @"DBAUTHAuthErrorInvalidSelectAdmin"; case DBAUTHAuthErrorUserSuspended: return @"DBAUTHAuthErrorUserSuspended"; case DBAUTHAuthErrorExpiredAccessToken: return @"DBAUTHAuthErrorExpiredAccessToken"; case DBAUTHAuthErrorMissingScope: return @"DBAUTHAuthErrorMissingScope"; case DBAUTHAuthErrorRouteAccessDenied: return @"DBAUTHAuthErrorRouteAccessDenied"; case DBAUTHAuthErrorOther: return @"DBAUTHAuthErrorOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBAUTHAuthErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBAUTHAuthErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBAUTHAuthErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToAuthError:other]; } - (BOOL)isEqualToAuthError:(DBAUTHAuthError *)anAuthError { if (self == anAuthError) { return YES; } if (self.tag != anAuthError.tag) { return NO; } switch (_tag) { case DBAUTHAuthErrorInvalidAccessToken: return [[self tagName] isEqual:[anAuthError tagName]]; case DBAUTHAuthErrorInvalidSelectUser: return [[self tagName] isEqual:[anAuthError tagName]]; case DBAUTHAuthErrorInvalidSelectAdmin: 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]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBAUTHAuthErrorSerializer + (NSDictionary *)serialize:(DBAUTHAuthError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isInvalidAccessToken]) { jsonDict[@".tag"] = @"invalid_access_token"; } else if ([valueObj isInvalidSelectUser]) { jsonDict[@".tag"] = @"invalid_select_user"; } else if ([valueObj isInvalidSelectAdmin]) { 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; } + (DBAUTHAuthError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"invalid_access_token"]) { return [[DBAUTHAuthError alloc] initWithInvalidAccessToken]; } else if ([tag isEqualToString:@"invalid_select_user"]) { return [[DBAUTHAuthError alloc] initWithInvalidSelectUser]; } else if ([tag isEqualToString:@"invalid_select_admin"]) { 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 { return [[DBAUTHAuthError alloc] initWithOther]; } } @end #import "DBAUTHInvalidAccountTypeError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBAUTHInvalidAccountTypeError #pragma mark - Constructors - (instancetype)initWithEndpoint { self = [super init]; if (self) { _tag = DBAUTHInvalidAccountTypeErrorEndpoint; } return self; } - (instancetype)initWithFeature { self = [super init]; if (self) { _tag = DBAUTHInvalidAccountTypeErrorFeature; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBAUTHInvalidAccountTypeErrorOther; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isEndpoint { return _tag == DBAUTHInvalidAccountTypeErrorEndpoint; } - (BOOL)isFeature { return _tag == DBAUTHInvalidAccountTypeErrorFeature; } - (BOOL)isOther { return _tag == DBAUTHInvalidAccountTypeErrorOther; } - (NSString *)tagName { switch (_tag) { case DBAUTHInvalidAccountTypeErrorEndpoint: return @"DBAUTHInvalidAccountTypeErrorEndpoint"; case DBAUTHInvalidAccountTypeErrorFeature: return @"DBAUTHInvalidAccountTypeErrorFeature"; case DBAUTHInvalidAccountTypeErrorOther: return @"DBAUTHInvalidAccountTypeErrorOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBAUTHInvalidAccountTypeErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBAUTHInvalidAccountTypeErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBAUTHInvalidAccountTypeErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToInvalidAccountTypeError:other]; } - (BOOL)isEqualToInvalidAccountTypeError:(DBAUTHInvalidAccountTypeError *)anInvalidAccountTypeError { if (self == anInvalidAccountTypeError) { return YES; } if (self.tag != anInvalidAccountTypeError.tag) { return NO; } switch (_tag) { case DBAUTHInvalidAccountTypeErrorEndpoint: return [[self tagName] isEqual:[anInvalidAccountTypeError tagName]]; case DBAUTHInvalidAccountTypeErrorFeature: return [[self tagName] isEqual:[anInvalidAccountTypeError tagName]]; case DBAUTHInvalidAccountTypeErrorOther: return [[self tagName] isEqual:[anInvalidAccountTypeError tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBAUTHInvalidAccountTypeErrorSerializer + (NSDictionary *)serialize:(DBAUTHInvalidAccountTypeError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isEndpoint]) { jsonDict[@".tag"] = @"endpoint"; } else if ([valueObj isFeature]) { jsonDict[@".tag"] = @"feature"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBAUTHInvalidAccountTypeError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"endpoint"]) { return [[DBAUTHInvalidAccountTypeError alloc] initWithEndpoint]; } else if ([tag isEqualToString:@"feature"]) { return [[DBAUTHInvalidAccountTypeError alloc] initWithFeature]; } else if ([tag isEqualToString:@"other"]) { return [[DBAUTHInvalidAccountTypeError alloc] initWithOther]; } else { return [[DBAUTHInvalidAccountTypeError alloc] initWithOther]; } } @end #import "DBAUTHPaperAccessError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBAUTHPaperAccessError #pragma mark - Constructors - (instancetype)initWithPaperDisabled { self = [super init]; if (self) { _tag = DBAUTHPaperAccessErrorPaperDisabled; } return self; } - (instancetype)initWithNotPaperUser { self = [super init]; if (self) { _tag = DBAUTHPaperAccessErrorNotPaperUser; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBAUTHPaperAccessErrorOther; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isPaperDisabled { return _tag == DBAUTHPaperAccessErrorPaperDisabled; } - (BOOL)isNotPaperUser { return _tag == DBAUTHPaperAccessErrorNotPaperUser; } - (BOOL)isOther { return _tag == DBAUTHPaperAccessErrorOther; } - (NSString *)tagName { switch (_tag) { case DBAUTHPaperAccessErrorPaperDisabled: return @"DBAUTHPaperAccessErrorPaperDisabled"; case DBAUTHPaperAccessErrorNotPaperUser: return @"DBAUTHPaperAccessErrorNotPaperUser"; case DBAUTHPaperAccessErrorOther: return @"DBAUTHPaperAccessErrorOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBAUTHPaperAccessErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBAUTHPaperAccessErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBAUTHPaperAccessErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToPaperAccessError:other]; } - (BOOL)isEqualToPaperAccessError:(DBAUTHPaperAccessError *)aPaperAccessError { if (self == aPaperAccessError) { return YES; } if (self.tag != aPaperAccessError.tag) { return NO; } switch (_tag) { case DBAUTHPaperAccessErrorPaperDisabled: return [[self tagName] isEqual:[aPaperAccessError tagName]]; case DBAUTHPaperAccessErrorNotPaperUser: return [[self tagName] isEqual:[aPaperAccessError tagName]]; case DBAUTHPaperAccessErrorOther: return [[self tagName] isEqual:[aPaperAccessError tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBAUTHPaperAccessErrorSerializer + (NSDictionary *)serialize:(DBAUTHPaperAccessError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isPaperDisabled]) { jsonDict[@".tag"] = @"paper_disabled"; } else if ([valueObj isNotPaperUser]) { jsonDict[@".tag"] = @"not_paper_user"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBAUTHPaperAccessError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"paper_disabled"]) { return [[DBAUTHPaperAccessError alloc] initWithPaperDisabled]; } else if ([tag isEqualToString:@"not_paper_user"]) { return [[DBAUTHPaperAccessError alloc] initWithNotPaperUser]; } else if ([tag isEqualToString:@"other"]) { return [[DBAUTHPaperAccessError alloc] initWithOther]; } else { return [[DBAUTHPaperAccessError alloc] initWithOther]; } } @end #import "DBAUTHRateLimitError.h" #import "DBAUTHRateLimitReason.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBAUTHRateLimitError #pragma mark - Constructors - (instancetype)initWithReason:(DBAUTHRateLimitReason *)reason retryAfter:(NSNumber *)retryAfter { [DBStoneValidators nonnullValidator:nil](reason); self = [super init]; if (self) { _reason = reason; _retryAfter = retryAfter ?: @(1); } return self; } - (instancetype)initWithReason:(DBAUTHRateLimitReason *)reason { return [self initWithReason:reason retryAfter:nil]; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBAUTHRateLimitErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBAUTHRateLimitErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBAUTHRateLimitErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.reason hash]; result = prime * result + [self.retryAfter hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToRateLimitError:other]; } - (BOOL)isEqualToRateLimitError:(DBAUTHRateLimitError *)aRateLimitError { if (self == aRateLimitError) { return YES; } if (![self.reason isEqual:aRateLimitError.reason]) { return NO; } if (![self.retryAfter isEqual:aRateLimitError.retryAfter]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBAUTHRateLimitErrorSerializer + (NSDictionary *)serialize:(DBAUTHRateLimitError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"reason"] = [DBAUTHRateLimitReasonSerializer serialize:valueObj.reason]; jsonDict[@"retry_after"] = valueObj.retryAfter; return jsonDict; } + (DBAUTHRateLimitError *)deserialize:(NSDictionary *)valueDict { DBAUTHRateLimitReason *reason = [DBAUTHRateLimitReasonSerializer deserialize:valueDict[@"reason"]]; NSNumber *retryAfter = valueDict[@"retry_after"] ?: @(1); return [[DBAUTHRateLimitError alloc] initWithReason:reason retryAfter:retryAfter]; } @end #import "DBAUTHRateLimitReason.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBAUTHRateLimitReason #pragma mark - Constructors - (instancetype)initWithTooManyRequests { self = [super init]; if (self) { _tag = DBAUTHRateLimitReasonTooManyRequests; } return self; } - (instancetype)initWithTooManyWriteOperations { self = [super init]; if (self) { _tag = DBAUTHRateLimitReasonTooManyWriteOperations; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBAUTHRateLimitReasonOther; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isTooManyRequests { return _tag == DBAUTHRateLimitReasonTooManyRequests; } - (BOOL)isTooManyWriteOperations { return _tag == DBAUTHRateLimitReasonTooManyWriteOperations; } - (BOOL)isOther { return _tag == DBAUTHRateLimitReasonOther; } - (NSString *)tagName { switch (_tag) { case DBAUTHRateLimitReasonTooManyRequests: return @"DBAUTHRateLimitReasonTooManyRequests"; case DBAUTHRateLimitReasonTooManyWriteOperations: return @"DBAUTHRateLimitReasonTooManyWriteOperations"; case DBAUTHRateLimitReasonOther: return @"DBAUTHRateLimitReasonOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBAUTHRateLimitReasonSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBAUTHRateLimitReasonSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBAUTHRateLimitReasonSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToRateLimitReason:other]; } - (BOOL)isEqualToRateLimitReason:(DBAUTHRateLimitReason *)aRateLimitReason { if (self == aRateLimitReason) { return YES; } if (self.tag != aRateLimitReason.tag) { return NO; } switch (_tag) { case DBAUTHRateLimitReasonTooManyRequests: return [[self tagName] isEqual:[aRateLimitReason tagName]]; case DBAUTHRateLimitReasonTooManyWriteOperations: return [[self tagName] isEqual:[aRateLimitReason tagName]]; case DBAUTHRateLimitReasonOther: return [[self tagName] isEqual:[aRateLimitReason tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBAUTHRateLimitReasonSerializer + (NSDictionary *)serialize:(DBAUTHRateLimitReason *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isTooManyRequests]) { jsonDict[@".tag"] = @"too_many_requests"; } else if ([valueObj isTooManyWriteOperations]) { jsonDict[@".tag"] = @"too_many_write_operations"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBAUTHRateLimitReason *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"too_many_requests"]) { return [[DBAUTHRateLimitReason alloc] initWithTooManyRequests]; } else if ([tag isEqualToString:@"too_many_write_operations"]) { return [[DBAUTHRateLimitReason alloc] initWithTooManyWriteOperations]; } else if ([tag isEqualToString:@"other"]) { return [[DBAUTHRateLimitReason alloc] initWithOther]; } else { return [[DBAUTHRateLimitReason alloc] initWithOther]; } } @end #import "DBAUTHTokenFromOAuth1Arg.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBAUTHTokenFromOAuth1Arg #pragma mark - Constructors - (instancetype)initWithOauth1Token:(NSString *)oauth1Token oauth1TokenSecret:(NSString *)oauth1TokenSecret { [DBStoneValidators nonnullValidator:[DBStoneValidators stringValidator:@(1) maxLength:nil pattern:nil]](oauth1Token); [DBStoneValidators nonnullValidator:[DBStoneValidators stringValidator:@(1) maxLength:nil pattern:nil]](oauth1TokenSecret); self = [super init]; if (self) { _oauth1Token = oauth1Token; _oauth1TokenSecret = oauth1TokenSecret; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBAUTHTokenFromOAuth1ArgSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBAUTHTokenFromOAuth1ArgSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBAUTHTokenFromOAuth1ArgSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.oauth1Token hash]; result = prime * result + [self.oauth1TokenSecret hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToTokenFromOAuth1Arg:other]; } - (BOOL)isEqualToTokenFromOAuth1Arg:(DBAUTHTokenFromOAuth1Arg *)aTokenFromOAuth1Arg { if (self == aTokenFromOAuth1Arg) { return YES; } if (![self.oauth1Token isEqual:aTokenFromOAuth1Arg.oauth1Token]) { return NO; } if (![self.oauth1TokenSecret isEqual:aTokenFromOAuth1Arg.oauth1TokenSecret]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBAUTHTokenFromOAuth1ArgSerializer + (NSDictionary *)serialize:(DBAUTHTokenFromOAuth1Arg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"oauth1_token"] = valueObj.oauth1Token; jsonDict[@"oauth1_token_secret"] = valueObj.oauth1TokenSecret; return jsonDict; } + (DBAUTHTokenFromOAuth1Arg *)deserialize:(NSDictionary *)valueDict { NSString *oauth1Token = valueDict[@"oauth1_token"]; NSString *oauth1TokenSecret = valueDict[@"oauth1_token_secret"]; return [[DBAUTHTokenFromOAuth1Arg alloc] initWithOauth1Token:oauth1Token oauth1TokenSecret:oauth1TokenSecret]; } @end #import "DBAUTHTokenFromOAuth1Error.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBAUTHTokenFromOAuth1Error #pragma mark - Constructors - (instancetype)initWithInvalidOauth1TokenInfo { self = [super init]; if (self) { _tag = DBAUTHTokenFromOAuth1ErrorInvalidOauth1TokenInfo; } return self; } - (instancetype)initWithAppIdMismatch { self = [super init]; if (self) { _tag = DBAUTHTokenFromOAuth1ErrorAppIdMismatch; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBAUTHTokenFromOAuth1ErrorOther; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isInvalidOauth1TokenInfo { return _tag == DBAUTHTokenFromOAuth1ErrorInvalidOauth1TokenInfo; } - (BOOL)isAppIdMismatch { return _tag == DBAUTHTokenFromOAuth1ErrorAppIdMismatch; } - (BOOL)isOther { return _tag == DBAUTHTokenFromOAuth1ErrorOther; } - (NSString *)tagName { switch (_tag) { case DBAUTHTokenFromOAuth1ErrorInvalidOauth1TokenInfo: return @"DBAUTHTokenFromOAuth1ErrorInvalidOauth1TokenInfo"; case DBAUTHTokenFromOAuth1ErrorAppIdMismatch: return @"DBAUTHTokenFromOAuth1ErrorAppIdMismatch"; case DBAUTHTokenFromOAuth1ErrorOther: return @"DBAUTHTokenFromOAuth1ErrorOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBAUTHTokenFromOAuth1ErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBAUTHTokenFromOAuth1ErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBAUTHTokenFromOAuth1ErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToTokenFromOAuth1Error:other]; } - (BOOL)isEqualToTokenFromOAuth1Error:(DBAUTHTokenFromOAuth1Error *)aTokenFromOAuth1Error { if (self == aTokenFromOAuth1Error) { return YES; } if (self.tag != aTokenFromOAuth1Error.tag) { return NO; } switch (_tag) { case DBAUTHTokenFromOAuth1ErrorInvalidOauth1TokenInfo: return [[self tagName] isEqual:[aTokenFromOAuth1Error tagName]]; case DBAUTHTokenFromOAuth1ErrorAppIdMismatch: return [[self tagName] isEqual:[aTokenFromOAuth1Error tagName]]; case DBAUTHTokenFromOAuth1ErrorOther: return [[self tagName] isEqual:[aTokenFromOAuth1Error tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBAUTHTokenFromOAuth1ErrorSerializer + (NSDictionary *)serialize:(DBAUTHTokenFromOAuth1Error *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isInvalidOauth1TokenInfo]) { jsonDict[@".tag"] = @"invalid_oauth1_token_info"; } else if ([valueObj isAppIdMismatch]) { jsonDict[@".tag"] = @"app_id_mismatch"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBAUTHTokenFromOAuth1Error *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"invalid_oauth1_token_info"]) { return [[DBAUTHTokenFromOAuth1Error alloc] initWithInvalidOauth1TokenInfo]; } else if ([tag isEqualToString:@"app_id_mismatch"]) { return [[DBAUTHTokenFromOAuth1Error alloc] initWithAppIdMismatch]; } else if ([tag isEqualToString:@"other"]) { return [[DBAUTHTokenFromOAuth1Error alloc] initWithOther]; } else { return [[DBAUTHTokenFromOAuth1Error alloc] initWithOther]; } } @end #import "DBAUTHTokenFromOAuth1Result.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBAUTHTokenFromOAuth1Result #pragma mark - Constructors - (instancetype)initWithOauth2Token:(NSString *)oauth2Token { [DBStoneValidators nonnullValidator:[DBStoneValidators stringValidator:@(1) maxLength:nil pattern:nil]](oauth2Token); self = [super init]; if (self) { _oauth2Token = oauth2Token; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBAUTHTokenFromOAuth1ResultSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBAUTHTokenFromOAuth1ResultSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBAUTHTokenFromOAuth1ResultSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.oauth2Token hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToTokenFromOAuth1Result:other]; } - (BOOL)isEqualToTokenFromOAuth1Result:(DBAUTHTokenFromOAuth1Result *)aTokenFromOAuth1Result { if (self == aTokenFromOAuth1Result) { return YES; } if (![self.oauth2Token isEqual:aTokenFromOAuth1Result.oauth2Token]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBAUTHTokenFromOAuth1ResultSerializer + (NSDictionary *)serialize:(DBAUTHTokenFromOAuth1Result *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"oauth2_token"] = valueObj.oauth2Token; return jsonDict; } + (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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Auth/Headers/DBAUTHAccessError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBAUTHAccessError; @class DBAUTHInvalidAccountTypeError; @class DBAUTHPaperAccessError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `AccessError` union. /// /// Error occurred because the account doesn't have permission to access the /// resource. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBAUTHAccessError : NSObject #pragma mark - Instance fields /// The `DBAUTHAccessErrorTag` enum type represents the possible tag states with /// which the `DBAUTHAccessError` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBAUTHAccessErrorTag){ /// Current account type cannot access the resource. DBAUTHAccessErrorInvalidAccountType, /// Current account cannot access Paper. DBAUTHAccessErrorPaperAccessDenied, /// (no description). DBAUTHAccessErrorOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBAUTHAccessErrorTag tag; /// Current account type cannot access the resource. @note Ensure the /// `isInvalidAccountType` method returns true before accessing, otherwise a /// runtime exception will be raised. @property (nonatomic, readonly) DBAUTHInvalidAccountTypeError *invalidAccountType; /// Current account cannot access Paper. @note Ensure the `isPaperAccessDenied` /// method returns true before accessing, otherwise a runtime exception will be /// raised. @property (nonatomic, readonly) DBAUTHPaperAccessError *paperAccessDenied; #pragma mark - Constructors /// /// Initializes union class with tag state of "invalid_account_type". /// /// Description of the "invalid_account_type" tag state: Current account type /// cannot access the resource. /// /// @param invalidAccountType Current account type cannot access the resource. /// /// @return An initialized instance. /// - (instancetype)initWithInvalidAccountType:(DBAUTHInvalidAccountTypeError *)invalidAccountType; /// /// Initializes union class with tag state of "paper_access_denied". /// /// Description of the "paper_access_denied" tag state: Current account cannot /// access Paper. /// /// @param paperAccessDenied Current account cannot access Paper. /// /// @return An initialized instance. /// - (instancetype)initWithPaperAccessDenied:(DBAUTHPaperAccessError *)paperAccessDenied; /// /// 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_account_type". /// /// @note Call this method and ensure it returns true before accessing the /// `invalidAccountType` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value /// "invalid_account_type". /// - (BOOL)isInvalidAccountType; /// /// Retrieves whether the union's current tag state has value /// "paper_access_denied". /// /// @note Call this method and ensure it returns true before accessing the /// `paperAccessDenied` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value /// "paper_access_denied". /// - (BOOL)isPaperAccessDenied; /// /// 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 `DBAUTHAccessError` union. /// @interface DBAUTHAccessErrorSerializer : NSObject /// /// Serializes `DBAUTHAccessError` instances. /// /// @param instance An instance of the `DBAUTHAccessError` API object. /// /// @return A json-compatible dictionary representation of the /// `DBAUTHAccessError` API object. /// + (nullable NSDictionary *)serialize:(DBAUTHAccessError *)instance; /// /// Deserializes `DBAUTHAccessError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBAUTHAccessError` API object. /// /// @return An instantiation of the `DBAUTHAccessError` object. /// + (DBAUTHAccessError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Auth/Headers/DBAUTHAuthError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBAUTHAuthError; @class DBAUTHTokenScopeError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `AuthError` union. /// /// Errors occurred during authentication. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBAUTHAuthError : NSObject #pragma mark - Instance fields /// The `DBAUTHAuthErrorTag` enum type represents the possible tag states with /// which the `DBAUTHAuthError` union can exist. 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-Admin' is not a Dropbox /// Business team admin. DBAUTHAuthErrorInvalidSelectAdmin, /// The user has been suspended. DBAUTHAuthErrorUserSuspended, /// 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 /// /// Initializes union class with tag state of "invalid_access_token". /// /// Description of the "invalid_access_token" tag state: The access token is /// invalid. /// /// @return An initialized instance. /// - (instancetype)initWithInvalidAccessToken; /// /// Initializes union class with tag state of "invalid_select_user". /// /// Description of the "invalid_select_user" tag state: The user specified in /// 'Dropbox-API-Select-User' is no longer on the team. /// /// @return An initialized instance. /// - (instancetype)initWithInvalidSelectUser; /// /// Initializes union class with tag state of "invalid_select_admin". /// /// Description of the "invalid_select_admin" tag state: The user specified in /// 'Dropbox-API-Select-Admin' is not a Dropbox Business team admin. /// /// @return An initialized instance. /// - (instancetype)initWithInvalidSelectAdmin; /// /// Initializes union class with tag state of "user_suspended". /// /// Description of the "user_suspended" tag state: The user has been suspended. /// /// @return An initialized instance. /// - (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". /// /// @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_access_token". /// /// @return Whether the union's current tag state has value /// "invalid_access_token". /// - (BOOL)isInvalidAccessToken; /// /// Retrieves whether the union's current tag state has value /// "invalid_select_user". /// /// @return Whether the union's current tag state has value /// "invalid_select_user". /// - (BOOL)isInvalidSelectUser; /// /// Retrieves whether the union's current tag state has value /// "invalid_select_admin". /// /// @return Whether the union's current tag state has value /// "invalid_select_admin". /// - (BOOL)isInvalidSelectAdmin; /// /// Retrieves whether the union's current tag state has value "user_suspended". /// /// @return Whether the union's current tag state has value "user_suspended". /// - (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". /// /// @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 `DBAUTHAuthError` union. /// @interface DBAUTHAuthErrorSerializer : NSObject /// /// Serializes `DBAUTHAuthError` instances. /// /// @param instance An instance of the `DBAUTHAuthError` API object. /// /// @return A json-compatible dictionary representation of the `DBAUTHAuthError` /// API object. /// + (nullable NSDictionary *)serialize:(DBAUTHAuthError *)instance; /// /// Deserializes `DBAUTHAuthError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBAUTHAuthError` API object. /// /// @return An instantiation of the `DBAUTHAuthError` object. /// + (DBAUTHAuthError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Auth/Headers/DBAUTHInvalidAccountTypeError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBAUTHInvalidAccountTypeError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `InvalidAccountTypeError` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBAUTHInvalidAccountTypeError : NSObject #pragma mark - Instance fields /// The `DBAUTHInvalidAccountTypeErrorTag` enum type represents the possible tag /// states with which the `DBAUTHInvalidAccountTypeError` union can exist. 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, /// (no description). DBAUTHInvalidAccountTypeErrorOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBAUTHInvalidAccountTypeErrorTag tag; #pragma mark - Constructors /// /// Initializes union class with tag state of "endpoint". /// /// Description of the "endpoint" tag state: Current account type doesn't have /// permission to access this route endpoint. /// /// @return An initialized instance. /// - (instancetype)initWithEndpoint; /// /// Initializes union class with tag state of "feature". /// /// Description of the "feature" tag state: Current account type doesn't have /// permission to access this feature. /// /// @return An initialized instance. /// - (instancetype)initWithFeature; /// /// 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 "endpoint". /// /// @return Whether the union's current tag state has value "endpoint". /// - (BOOL)isEndpoint; /// /// Retrieves whether the union's current tag state has value "feature". /// /// @return Whether the union's current tag state has value "feature". /// - (BOOL)isFeature; /// /// 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 `DBAUTHInvalidAccountTypeError` union. /// @interface DBAUTHInvalidAccountTypeErrorSerializer : NSObject /// /// Serializes `DBAUTHInvalidAccountTypeError` instances. /// /// @param instance An instance of the `DBAUTHInvalidAccountTypeError` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBAUTHInvalidAccountTypeError` API object. /// + (nullable NSDictionary *)serialize:(DBAUTHInvalidAccountTypeError *)instance; /// /// Deserializes `DBAUTHInvalidAccountTypeError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBAUTHInvalidAccountTypeError` API object. /// /// @return An instantiation of the `DBAUTHInvalidAccountTypeError` object. /// + (DBAUTHInvalidAccountTypeError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Auth/Headers/DBAUTHPaperAccessError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBAUTHPaperAccessError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `PaperAccessError` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBAUTHPaperAccessError : NSObject #pragma mark - Instance fields /// The `DBAUTHPaperAccessErrorTag` enum type represents the possible tag states /// with which the `DBAUTHPaperAccessError` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBAUTHPaperAccessErrorTag){ /// Paper is disabled. DBAUTHPaperAccessErrorPaperDisabled, /// The provided user has not used Paper yet. DBAUTHPaperAccessErrorNotPaperUser, /// (no description). DBAUTHPaperAccessErrorOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBAUTHPaperAccessErrorTag tag; #pragma mark - Constructors /// /// Initializes union class with tag state of "paper_disabled". /// /// Description of the "paper_disabled" tag state: Paper is disabled. /// /// @return An initialized instance. /// - (instancetype)initWithPaperDisabled; /// /// Initializes union class with tag state of "not_paper_user". /// /// Description of the "not_paper_user" tag state: The provided user has not /// used Paper yet. /// /// @return An initialized instance. /// - (instancetype)initWithNotPaperUser; /// /// 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_disabled". /// /// @return Whether the union's current tag state has value "paper_disabled". /// - (BOOL)isPaperDisabled; /// /// Retrieves whether the union's current tag state has value "not_paper_user". /// /// @return Whether the union's current tag state has value "not_paper_user". /// - (BOOL)isNotPaperUser; /// /// 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 `DBAUTHPaperAccessError` union. /// @interface DBAUTHPaperAccessErrorSerializer : NSObject /// /// Serializes `DBAUTHPaperAccessError` instances. /// /// @param instance An instance of the `DBAUTHPaperAccessError` API object. /// /// @return A json-compatible dictionary representation of the /// `DBAUTHPaperAccessError` API object. /// + (nullable NSDictionary *)serialize:(DBAUTHPaperAccessError *)instance; /// /// Deserializes `DBAUTHPaperAccessError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBAUTHPaperAccessError` API object. /// /// @return An instantiation of the `DBAUTHPaperAccessError` object. /// + (DBAUTHPaperAccessError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Auth/Headers/DBAUTHRateLimitError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBAUTHRateLimitError; @class DBAUTHRateLimitReason; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `RateLimitError` struct. /// /// Error occurred because the app is being rate limited. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBAUTHRateLimitError : NSObject #pragma mark - Instance fields /// The reason why the app is being rate limited. @property (nonatomic, readonly) DBAUTHRateLimitReason *reason; /// The number of seconds that the app should wait before making another /// request. @property (nonatomic, readonly) NSNumber *retryAfter; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param reason The reason why the app is being rate limited. /// @param retryAfter The number of seconds that the app should wait before /// making another request. /// /// @return An initialized instance. /// - (instancetype)initWithReason:(DBAUTHRateLimitReason *)reason retryAfter:(nullable NSNumber *)retryAfter; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param reason The reason why the app is being rate limited. /// /// @return An initialized instance. /// - (instancetype)initWithReason:(DBAUTHRateLimitReason *)reason; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `RateLimitError` struct. /// @interface DBAUTHRateLimitErrorSerializer : NSObject /// /// Serializes `DBAUTHRateLimitError` instances. /// /// @param instance An instance of the `DBAUTHRateLimitError` API object. /// /// @return A json-compatible dictionary representation of the /// `DBAUTHRateLimitError` API object. /// + (nullable NSDictionary *)serialize:(DBAUTHRateLimitError *)instance; /// /// Deserializes `DBAUTHRateLimitError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBAUTHRateLimitError` API object. /// /// @return An instantiation of the `DBAUTHRateLimitError` object. /// + (DBAUTHRateLimitError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Auth/Headers/DBAUTHRateLimitReason.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBAUTHRateLimitReason; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `RateLimitReason` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBAUTHRateLimitReason : NSObject #pragma mark - Instance fields /// The `DBAUTHRateLimitReasonTag` enum type represents the possible tag states /// with which the `DBAUTHRateLimitReason` union can exist. 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, /// (no description). DBAUTHRateLimitReasonOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBAUTHRateLimitReasonTag tag; #pragma mark - Constructors /// /// Initializes union class with tag state of "too_many_requests". /// /// Description of the "too_many_requests" tag state: You are making too many /// requests in the past few minutes. /// /// @return An initialized instance. /// - (instancetype)initWithTooManyRequests; /// /// Initializes union class with tag state of "too_many_write_operations". /// /// Description of the "too_many_write_operations" tag state: There are /// currently too many write operations happening in the user's Dropbox. /// /// @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 /// "too_many_requests". /// /// @return Whether the union's current tag state has value "too_many_requests". /// - (BOOL)isTooManyRequests; /// /// 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 `DBAUTHRateLimitReason` union. /// @interface DBAUTHRateLimitReasonSerializer : NSObject /// /// Serializes `DBAUTHRateLimitReason` instances. /// /// @param instance An instance of the `DBAUTHRateLimitReason` API object. /// /// @return A json-compatible dictionary representation of the /// `DBAUTHRateLimitReason` API object. /// + (nullable NSDictionary *)serialize:(DBAUTHRateLimitReason *)instance; /// /// Deserializes `DBAUTHRateLimitReason` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBAUTHRateLimitReason` API object. /// /// @return An instantiation of the `DBAUTHRateLimitReason` object. /// + (DBAUTHRateLimitReason *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Auth/Headers/DBAUTHTokenFromOAuth1Arg.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBAUTHTokenFromOAuth1Arg; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `TokenFromOAuth1Arg` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBAUTHTokenFromOAuth1Arg : NSObject #pragma mark - Instance fields /// The supplied OAuth 1.0 access token. @property (nonatomic, readonly, copy) NSString *oauth1Token; /// The token secret associated with the supplied access token. @property (nonatomic, readonly, copy) NSString *oauth1TokenSecret; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param oauth1Token The supplied OAuth 1.0 access token. /// @param oauth1TokenSecret The token secret associated with the supplied /// access token. /// /// @return An initialized instance. /// - (instancetype)initWithOauth1Token:(NSString *)oauth1Token oauth1TokenSecret:(NSString *)oauth1TokenSecret; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `TokenFromOAuth1Arg` struct. /// @interface DBAUTHTokenFromOAuth1ArgSerializer : NSObject /// /// Serializes `DBAUTHTokenFromOAuth1Arg` instances. /// /// @param instance An instance of the `DBAUTHTokenFromOAuth1Arg` API object. /// /// @return A json-compatible dictionary representation of the /// `DBAUTHTokenFromOAuth1Arg` API object. /// + (nullable NSDictionary *)serialize:(DBAUTHTokenFromOAuth1Arg *)instance; /// /// Deserializes `DBAUTHTokenFromOAuth1Arg` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBAUTHTokenFromOAuth1Arg` API object. /// /// @return An instantiation of the `DBAUTHTokenFromOAuth1Arg` object. /// + (DBAUTHTokenFromOAuth1Arg *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Auth/Headers/DBAUTHTokenFromOAuth1Error.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBAUTHTokenFromOAuth1Error; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `TokenFromOAuth1Error` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBAUTHTokenFromOAuth1Error : NSObject #pragma mark - Instance fields /// The `DBAUTHTokenFromOAuth1ErrorTag` enum type represents the possible tag /// states with which the `DBAUTHTokenFromOAuth1Error` union can exist. 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, /// (no description). DBAUTHTokenFromOAuth1ErrorOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBAUTHTokenFromOAuth1ErrorTag tag; #pragma mark - Constructors /// /// Initializes union class with tag state of "invalid_oauth1_token_info". /// /// Description of the "invalid_oauth1_token_info" tag state: Part or all of the /// OAuth 1.0 access token info is invalid. /// /// @return An initialized instance. /// - (instancetype)initWithInvalidOauth1TokenInfo; /// /// Initializes union class with tag state of "app_id_mismatch". /// /// Description of the "app_id_mismatch" tag state: The authorized app does not /// match the app associated with the supplied access token. /// /// @return An initialized instance. /// - (instancetype)initWithAppIdMismatch; /// /// 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_oauth1_token_info". /// /// @return Whether the union's current tag state has value /// "invalid_oauth1_token_info". /// - (BOOL)isInvalidOauth1TokenInfo; /// /// Retrieves whether the union's current tag state has value "app_id_mismatch". /// /// @return Whether the union's current tag state has value "app_id_mismatch". /// - (BOOL)isAppIdMismatch; /// /// 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 `DBAUTHTokenFromOAuth1Error` union. /// @interface DBAUTHTokenFromOAuth1ErrorSerializer : NSObject /// /// Serializes `DBAUTHTokenFromOAuth1Error` instances. /// /// @param instance An instance of the `DBAUTHTokenFromOAuth1Error` API object. /// /// @return A json-compatible dictionary representation of the /// `DBAUTHTokenFromOAuth1Error` API object. /// + (nullable NSDictionary *)serialize:(DBAUTHTokenFromOAuth1Error *)instance; /// /// Deserializes `DBAUTHTokenFromOAuth1Error` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBAUTHTokenFromOAuth1Error` API object. /// /// @return An instantiation of the `DBAUTHTokenFromOAuth1Error` object. /// + (DBAUTHTokenFromOAuth1Error *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Auth/Headers/DBAUTHTokenFromOAuth1Result.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBAUTHTokenFromOAuth1Result; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `TokenFromOAuth1Result` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBAUTHTokenFromOAuth1Result : NSObject #pragma mark - Instance fields /// The OAuth 2.0 token generated from the supplied OAuth 1.0 token. @property (nonatomic, readonly, copy) NSString *oauth2Token; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param oauth2Token The OAuth 2.0 token generated from the supplied OAuth 1.0 /// token. /// /// @return An initialized instance. /// - (instancetype)initWithOauth2Token:(NSString *)oauth2Token; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `TokenFromOAuth1Result` struct. /// @interface DBAUTHTokenFromOAuth1ResultSerializer : NSObject /// /// Serializes `DBAUTHTokenFromOAuth1Result` instances. /// /// @param instance An instance of the `DBAUTHTokenFromOAuth1Result` API object. /// /// @return A json-compatible dictionary representation of the /// `DBAUTHTokenFromOAuth1Result` API object. /// + (nullable NSDictionary *)serialize:(DBAUTHTokenFromOAuth1Result *)instance; /// /// Deserializes `DBAUTHTokenFromOAuth1Result` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBAUTHTokenFromOAuth1Result` API object. /// /// @return An instantiation of the `DBAUTHTokenFromOAuth1Result` object. /// + (DBAUTHTokenFromOAuth1Result *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Auth/Headers/DBAUTHTokenScopeError.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Check/DBCheckObjects.m ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Check/Headers/DBCHECKEchoArg.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Check/Headers/DBCHECKEchoResult.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Common/DBCommonObjects.m ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// /// Arguments, results, and errors for the `Common` namespace. #import "DBCOMMONPathRoot.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBCOMMONPathRoot @synthesize root = _root; @synthesize namespaceId = _namespaceId; #pragma mark - Constructors - (instancetype)initWithHome { self = [super init]; if (self) { _tag = DBCOMMONPathRootHome; } return self; } - (instancetype)initWithRoot:(NSString *)root { self = [super init]; if (self) { _tag = DBCOMMONPathRootRoot; _root = root; } return self; } - (instancetype)initWithNamespaceId:(NSString *)namespaceId { self = [super init]; if (self) { _tag = DBCOMMONPathRootNamespaceId; _namespaceId = namespaceId; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBCOMMONPathRootOther; } return self; } #pragma mark - Instance field accessors - (NSString *)root { if (![self isRoot]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBCOMMONPathRootRoot, but was %@.", [self tagName]]; } return _root; } - (NSString *)namespaceId { if (![self isNamespaceId]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBCOMMONPathRootNamespaceId, but was %@.", [self tagName]]; } return _namespaceId; } #pragma mark - Tag state methods - (BOOL)isHome { return _tag == DBCOMMONPathRootHome; } - (BOOL)isRoot { return _tag == DBCOMMONPathRootRoot; } - (BOOL)isNamespaceId { return _tag == DBCOMMONPathRootNamespaceId; } - (BOOL)isOther { return _tag == DBCOMMONPathRootOther; } - (NSString *)tagName { switch (_tag) { case DBCOMMONPathRootHome: return @"DBCOMMONPathRootHome"; case DBCOMMONPathRootRoot: return @"DBCOMMONPathRootRoot"; case DBCOMMONPathRootNamespaceId: return @"DBCOMMONPathRootNamespaceId"; case DBCOMMONPathRootOther: return @"DBCOMMONPathRootOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBCOMMONPathRootSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBCOMMONPathRootSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBCOMMONPathRootSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToPathRoot:other]; } - (BOOL)isEqualToPathRoot:(DBCOMMONPathRoot *)aPathRoot { if (self == aPathRoot) { return YES; } if (self.tag != aPathRoot.tag) { return NO; } switch (_tag) { case DBCOMMONPathRootHome: return [[self tagName] isEqual:[aPathRoot tagName]]; case DBCOMMONPathRootRoot: return [self.root isEqual:aPathRoot.root]; case DBCOMMONPathRootNamespaceId: return [self.namespaceId isEqual:aPathRoot.namespaceId]; case DBCOMMONPathRootOther: return [[self tagName] isEqual:[aPathRoot tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBCOMMONPathRootSerializer + (NSDictionary *)serialize:(DBCOMMONPathRoot *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isHome]) { jsonDict[@".tag"] = @"home"; } else if ([valueObj isRoot]) { jsonDict[@"root"] = valueObj.root; jsonDict[@".tag"] = @"root"; } else if ([valueObj isNamespaceId]) { jsonDict[@"namespace_id"] = valueObj.namespaceId; jsonDict[@".tag"] = @"namespace_id"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBCOMMONPathRoot *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"home"]) { return [[DBCOMMONPathRoot alloc] initWithHome]; } else if ([tag isEqualToString:@"root"]) { NSString *root = valueDict[@"root"]; return [[DBCOMMONPathRoot alloc] initWithRoot:root]; } else if ([tag isEqualToString:@"namespace_id"]) { NSString *namespaceId = valueDict[@"namespace_id"]; return [[DBCOMMONPathRoot alloc] initWithNamespaceId:namespaceId]; } else if ([tag isEqualToString:@"other"]) { return [[DBCOMMONPathRoot alloc] initWithOther]; } else { return [[DBCOMMONPathRoot alloc] initWithOther]; } } @end #import "DBCOMMONPathRootError.h" #import "DBCOMMONRootInfo.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBCOMMONPathRootError @synthesize invalidRoot = _invalidRoot; #pragma mark - Constructors - (instancetype)initWithInvalidRoot:(DBCOMMONRootInfo *)invalidRoot { self = [super init]; if (self) { _tag = DBCOMMONPathRootErrorInvalidRoot; _invalidRoot = invalidRoot; } return self; } - (instancetype)initWithNoPermission { self = [super init]; if (self) { _tag = DBCOMMONPathRootErrorNoPermission; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBCOMMONPathRootErrorOther; } return self; } #pragma mark - Instance field accessors - (DBCOMMONRootInfo *)invalidRoot { if (![self isInvalidRoot]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBCOMMONPathRootErrorInvalidRoot, but was %@.", [self tagName]]; } return _invalidRoot; } #pragma mark - Tag state methods - (BOOL)isInvalidRoot { return _tag == DBCOMMONPathRootErrorInvalidRoot; } - (BOOL)isNoPermission { return _tag == DBCOMMONPathRootErrorNoPermission; } - (BOOL)isOther { return _tag == DBCOMMONPathRootErrorOther; } - (NSString *)tagName { switch (_tag) { case DBCOMMONPathRootErrorInvalidRoot: return @"DBCOMMONPathRootErrorInvalidRoot"; case DBCOMMONPathRootErrorNoPermission: return @"DBCOMMONPathRootErrorNoPermission"; case DBCOMMONPathRootErrorOther: return @"DBCOMMONPathRootErrorOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBCOMMONPathRootErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBCOMMONPathRootErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBCOMMONPathRootErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToPathRootError:other]; } - (BOOL)isEqualToPathRootError:(DBCOMMONPathRootError *)aPathRootError { if (self == aPathRootError) { return YES; } if (self.tag != aPathRootError.tag) { return NO; } switch (_tag) { case DBCOMMONPathRootErrorInvalidRoot: return [self.invalidRoot isEqual:aPathRootError.invalidRoot]; case DBCOMMONPathRootErrorNoPermission: return [[self tagName] isEqual:[aPathRootError tagName]]; case DBCOMMONPathRootErrorOther: return [[self tagName] isEqual:[aPathRootError tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBCOMMONPathRootErrorSerializer + (NSDictionary *)serialize:(DBCOMMONPathRootError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isInvalidRoot]) { jsonDict[@"invalid_root"] = [[DBCOMMONRootInfoSerializer serialize:valueObj.invalidRoot] mutableCopy]; jsonDict[@".tag"] = @"invalid_root"; } else if ([valueObj isNoPermission]) { jsonDict[@".tag"] = @"no_permission"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBCOMMONPathRootError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"invalid_root"]) { DBCOMMONRootInfo *invalidRoot = [DBCOMMONRootInfoSerializer deserialize:valueDict[@"invalid_root"]]; return [[DBCOMMONPathRootError alloc] initWithInvalidRoot:invalidRoot]; } else if ([tag isEqualToString:@"no_permission"]) { return [[DBCOMMONPathRootError alloc] initWithNoPermission]; } else if ([tag isEqualToString:@"other"]) { return [[DBCOMMONPathRootError alloc] initWithOther]; } else { return [[DBCOMMONPathRootError alloc] initWithOther]; } } @end #import "DBCOMMONRootInfo.h" #import "DBCOMMONTeamRootInfo.h" #import "DBCOMMONUserRootInfo.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBCOMMONRootInfo #pragma mark - Constructors - (instancetype)initWithRootNamespaceId:(NSString *)rootNamespaceId homeNamespaceId:(NSString *)homeNamespaceId { [DBStoneValidators nonnullValidator:[DBStoneValidators stringValidator:nil maxLength:nil pattern:@"[-_0-9a-zA-Z:]+"]](rootNamespaceId); [DBStoneValidators nonnullValidator:[DBStoneValidators stringValidator:nil maxLength:nil pattern:@"[-_0-9a-zA-Z:]+"]](homeNamespaceId); self = [super init]; if (self) { _rootNamespaceId = rootNamespaceId; _homeNamespaceId = homeNamespaceId; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBCOMMONRootInfoSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBCOMMONRootInfoSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBCOMMONRootInfoSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.rootNamespaceId hash]; result = prime * result + [self.homeNamespaceId hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToRootInfo:other]; } - (BOOL)isEqualToRootInfo:(DBCOMMONRootInfo *)aRootInfo { if (self == aRootInfo) { return YES; } if (![self.rootNamespaceId isEqual:aRootInfo.rootNamespaceId]) { return NO; } if (![self.homeNamespaceId isEqual:aRootInfo.homeNamespaceId]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBCOMMONRootInfoSerializer + (NSDictionary *)serialize:(DBCOMMONRootInfo *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"root_namespace_id"] = valueObj.rootNamespaceId; jsonDict[@"home_namespace_id"] = valueObj.homeNamespaceId; if ([valueObj isKindOfClass:[DBCOMMONTeamRootInfo class]]) { NSDictionary *subTypeFields = [DBCOMMONTeamRootInfoSerializer serialize:(DBCOMMONTeamRootInfo *)valueObj]; for (NSString *key in subTypeFields) { jsonDict[key] = subTypeFields[key]; } jsonDict[@".tag"] = @"team"; } else if ([valueObj isKindOfClass:[DBCOMMONUserRootInfo class]]) { NSDictionary *subTypeFields = [DBCOMMONUserRootInfoSerializer serialize:(DBCOMMONUserRootInfo *)valueObj]; for (NSString *key in subTypeFields) { jsonDict[key] = subTypeFields[key]; } jsonDict[@".tag"] = @"user"; } return jsonDict; } + (DBCOMMONRootInfo *)deserialize:(NSDictionary *)valueDict { if ([valueDict[@".tag"] isEqualToString:@"team"]) { return [DBCOMMONTeamRootInfoSerializer deserialize:valueDict]; } if ([valueDict[@".tag"] isEqualToString:@"user"]) { return [DBCOMMONUserRootInfoSerializer deserialize:valueDict]; } NSString *rootNamespaceId = valueDict[@"root_namespace_id"]; NSString *homeNamespaceId = valueDict[@"home_namespace_id"]; return [[DBCOMMONRootInfo alloc] initWithRootNamespaceId:rootNamespaceId homeNamespaceId:homeNamespaceId]; } @end #import "DBCOMMONRootInfo.h" #import "DBCOMMONTeamRootInfo.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBCOMMONTeamRootInfo #pragma mark - Constructors - (instancetype)initWithRootNamespaceId:(NSString *)rootNamespaceId homeNamespaceId:(NSString *)homeNamespaceId homePath:(NSString *)homePath { [DBStoneValidators nonnullValidator:[DBStoneValidators stringValidator:nil maxLength:nil pattern:@"[-_0-9a-zA-Z:]+"]](rootNamespaceId); [DBStoneValidators nonnullValidator:[DBStoneValidators stringValidator:nil maxLength:nil pattern:@"[-_0-9a-zA-Z:]+"]](homeNamespaceId); [DBStoneValidators nonnullValidator:nil](homePath); self = [super initWithRootNamespaceId:rootNamespaceId homeNamespaceId:homeNamespaceId]; if (self) { _homePath = homePath; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBCOMMONTeamRootInfoSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBCOMMONTeamRootInfoSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBCOMMONTeamRootInfoSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.rootNamespaceId hash]; result = prime * result + [self.homeNamespaceId hash]; result = prime * result + [self.homePath hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToTeamRootInfo:other]; } - (BOOL)isEqualToTeamRootInfo:(DBCOMMONTeamRootInfo *)aTeamRootInfo { if (self == aTeamRootInfo) { return YES; } if (![self.rootNamespaceId isEqual:aTeamRootInfo.rootNamespaceId]) { return NO; } if (![self.homeNamespaceId isEqual:aTeamRootInfo.homeNamespaceId]) { return NO; } if (![self.homePath isEqual:aTeamRootInfo.homePath]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBCOMMONTeamRootInfoSerializer + (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; } + (DBCOMMONTeamRootInfo *)deserialize:(NSDictionary *)valueDict { NSString *rootNamespaceId = valueDict[@"root_namespace_id"]; NSString *homeNamespaceId = valueDict[@"home_namespace_id"]; NSString *homePath = valueDict[@"home_path"]; return [[DBCOMMONTeamRootInfo alloc] initWithRootNamespaceId:rootNamespaceId homeNamespaceId:homeNamespaceId homePath:homePath]; } @end #import "DBCOMMONRootInfo.h" #import "DBCOMMONUserRootInfo.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBCOMMONUserRootInfo #pragma mark - Constructors - (instancetype)initWithRootNamespaceId:(NSString *)rootNamespaceId homeNamespaceId:(NSString *)homeNamespaceId { [DBStoneValidators nonnullValidator:[DBStoneValidators stringValidator:nil maxLength:nil pattern:@"[-_0-9a-zA-Z:]+"]](rootNamespaceId); [DBStoneValidators nonnullValidator:[DBStoneValidators stringValidator:nil maxLength:nil pattern:@"[-_0-9a-zA-Z:]+"]](homeNamespaceId); self = [super initWithRootNamespaceId:rootNamespaceId homeNamespaceId:homeNamespaceId]; if (self) { } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBCOMMONUserRootInfoSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBCOMMONUserRootInfoSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBCOMMONUserRootInfoSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.rootNamespaceId hash]; result = prime * result + [self.homeNamespaceId hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToUserRootInfo:other]; } - (BOOL)isEqualToUserRootInfo:(DBCOMMONUserRootInfo *)anUserRootInfo { if (self == anUserRootInfo) { return YES; } if (![self.rootNamespaceId isEqual:anUserRootInfo.rootNamespaceId]) { return NO; } if (![self.homeNamespaceId isEqual:anUserRootInfo.homeNamespaceId]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBCOMMONUserRootInfoSerializer + (NSDictionary *)serialize:(DBCOMMONUserRootInfo *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"root_namespace_id"] = valueObj.rootNamespaceId; jsonDict[@"home_namespace_id"] = valueObj.homeNamespaceId; return jsonDict; } + (DBCOMMONUserRootInfo *)deserialize:(NSDictionary *)valueDict { NSString *rootNamespaceId = valueDict[@"root_namespace_id"]; NSString *homeNamespaceId = valueDict[@"home_namespace_id"]; return [[DBCOMMONUserRootInfo alloc] initWithRootNamespaceId:rootNamespaceId homeNamespaceId:homeNamespaceId]; } @end ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Common/Headers/DBCOMMONPathRoot.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBCOMMONPathRoot; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `PathRoot` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBCOMMONPathRoot : NSObject #pragma mark - Instance fields /// The `DBCOMMONPathRootTag` enum type represents the possible tag states with /// which the `DBCOMMONPathRoot` union can exist. 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 given namespace id (This results in `noPermission` /// in `DBCOMMONPathRootError` if you don't have access to this namespace.). DBCOMMONPathRootNamespaceId, /// (no description). DBCOMMONPathRootOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBCOMMONPathRootTag tag; /// Paths are relative to the authenticating user's root namespace (This results /// in `invalidRoot` in `DBCOMMONPathRootError` if the user's root namespace has /// changed.). @note Ensure the `isRoot` method returns true before accessing, /// otherwise a runtime exception will be raised. @property (nonatomic, readonly, copy) NSString *root; /// Paths are relative to given namespace id (This results in `noPermission` in /// `DBCOMMONPathRootError` if you don't have access to this namespace.). @note /// Ensure the `isNamespaceId` method returns true before accessing, otherwise a /// runtime exception will be raised. @property (nonatomic, readonly, copy) NSString *namespaceId; #pragma mark - Constructors /// /// Initializes union class with tag state of "home". /// /// Description of the "home" tag state: Paths are relative to the /// authenticating user's home namespace, whether or not that user belongs to a /// team. /// /// @return An initialized instance. /// - (instancetype)initWithHome; /// /// Initializes union class with tag state of "root". /// /// Description of the "root" tag state: Paths are relative to the /// authenticating user's root namespace (This results in `invalidRoot` in /// `DBCOMMONPathRootError` if the user's root namespace has changed.). /// /// @param root Paths are relative to the authenticating user's root namespace /// (This results in `invalidRoot` in `DBCOMMONPathRootError` if the user's root /// namespace has changed.). /// /// @return An initialized instance. /// - (instancetype)initWithRoot:(NSString *)root; /// /// Initializes union class with tag state of "namespace_id". /// /// Description of the "namespace_id" tag state: Paths are relative to given /// namespace id (This results in `noPermission` in `DBCOMMONPathRootError` if /// you don't have access to this namespace.). /// /// @param namespaceId Paths are relative to given namespace id (This results in /// `noPermission` in `DBCOMMONPathRootError` if you don't have access to this /// namespace.). /// /// @return An initialized instance. /// - (instancetype)initWithNamespaceId:(NSString *)namespaceId; /// /// 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 "home". /// /// @return Whether the union's current tag state has value "home". /// - (BOOL)isHome; /// /// Retrieves whether the union's current tag state has value "root". /// /// @note Call this method and ensure it returns true before accessing the /// `root` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value "root". /// - (BOOL)isRoot; /// /// Retrieves whether the union's current tag state has value "namespace_id". /// /// @note Call this method and ensure it returns true before accessing the /// `namespaceId` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value "namespace_id". /// - (BOOL)isNamespaceId; /// /// 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 `DBCOMMONPathRoot` union. /// @interface DBCOMMONPathRootSerializer : NSObject /// /// Serializes `DBCOMMONPathRoot` instances. /// /// @param instance An instance of the `DBCOMMONPathRoot` API object. /// /// @return A json-compatible dictionary representation of the /// `DBCOMMONPathRoot` API object. /// + (nullable NSDictionary *)serialize:(DBCOMMONPathRoot *)instance; /// /// Deserializes `DBCOMMONPathRoot` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBCOMMONPathRoot` API object. /// /// @return An instantiation of the `DBCOMMONPathRoot` object. /// + (DBCOMMONPathRoot *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Common/Headers/DBCOMMONPathRootError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBCOMMONPathRootError; @class DBCOMMONRootInfo; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `PathRootError` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBCOMMONPathRootError : NSObject #pragma mark - Instance fields /// The `DBCOMMONPathRootErrorTag` enum type represents the possible tag states /// with which the `DBCOMMONPathRootError` union can exist. 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, /// (no description). DBCOMMONPathRootErrorOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBCOMMONPathRootErrorTag tag; /// 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. @note Ensure the /// `isInvalidRoot` method returns true before accessing, otherwise a runtime /// exception will be raised. @property (nonatomic, readonly) DBCOMMONRootInfo *invalidRoot; #pragma mark - Constructors /// /// 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 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 the user's latest root info. /// /// @return An initialized instance. /// - (instancetype)initWithInvalidRoot:(DBCOMMONRootInfo *)invalidRoot; /// /// Initializes union class with tag state of "no_permission". /// /// Description of the "no_permission" tag state: You don't have permission to /// access the namespace id in Dropbox-API-Path-Root header. /// /// @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 "invalid_root". /// /// @note Call this method and ensure it returns true before accessing the /// `invalidRoot` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value "invalid_root". /// - (BOOL)isInvalidRoot; /// /// 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 `DBCOMMONPathRootError` union. /// @interface DBCOMMONPathRootErrorSerializer : NSObject /// /// Serializes `DBCOMMONPathRootError` instances. /// /// @param instance An instance of the `DBCOMMONPathRootError` API object. /// /// @return A json-compatible dictionary representation of the /// `DBCOMMONPathRootError` API object. /// + (nullable NSDictionary *)serialize:(DBCOMMONPathRootError *)instance; /// /// Deserializes `DBCOMMONPathRootError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBCOMMONPathRootError` API object. /// /// @return An instantiation of the `DBCOMMONPathRootError` object. /// + (DBCOMMONPathRootError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Common/Headers/DBCOMMONRootInfo.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBCOMMONRootInfo; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `RootInfo` struct. /// /// Information about current user's root. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBCOMMONRootInfo : NSObject #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 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. @property (nonatomic, readonly, copy) NSString *homeNamespaceId; #pragma mark - Constructors /// /// 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 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. /// - (instancetype)initWithRootNamespaceId:(NSString *)rootNamespaceId homeNamespaceId:(NSString *)homeNamespaceId; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `RootInfo` struct. /// @interface DBCOMMONRootInfoSerializer : NSObject /// /// Serializes `DBCOMMONRootInfo` instances. /// /// @param instance An instance of the `DBCOMMONRootInfo` API object. /// /// @return A json-compatible dictionary representation of the /// `DBCOMMONRootInfo` API object. /// + (nullable NSDictionary *)serialize:(DBCOMMONRootInfo *)instance; /// /// Deserializes `DBCOMMONRootInfo` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBCOMMONRootInfo` API object. /// /// @return An instantiation of the `DBCOMMONRootInfo` object. /// + (DBCOMMONRootInfo *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Common/Headers/DBCOMMONTeamRootInfo.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBCOMMONRootInfo.h" #import "DBSerializableProtocol.h" @class DBCOMMONTeamRootInfo; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `TeamRootInfo` struct. /// /// 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 /// objects. /// @interface DBCOMMONTeamRootInfo : DBCOMMONRootInfo #pragma mark - Instance fields /// The path for user's home directory under the shared team root. @property (nonatomic, readonly, copy) NSString *homePath; #pragma mark - Constructors /// /// 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 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. /// /// @return An initialized instance. /// - (instancetype)initWithRootNamespaceId:(NSString *)rootNamespaceId homeNamespaceId:(NSString *)homeNamespaceId homePath:(NSString *)homePath; @end #pragma mark - Serializer Object /// /// The serialization class for the `TeamRootInfo` struct. /// @interface DBCOMMONTeamRootInfoSerializer : NSObject /// /// Serializes `DBCOMMONTeamRootInfo` instances. /// /// @param instance An instance of the `DBCOMMONTeamRootInfo` API object. /// /// @return A json-compatible dictionary representation of the /// `DBCOMMONTeamRootInfo` API object. /// + (nullable NSDictionary *)serialize:(DBCOMMONTeamRootInfo *)instance; /// /// Deserializes `DBCOMMONTeamRootInfo` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBCOMMONTeamRootInfo` API object. /// /// @return An instantiation of the `DBCOMMONTeamRootInfo` object. /// + (DBCOMMONTeamRootInfo *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Common/Headers/DBCOMMONUserRootInfo.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBCOMMONRootInfo.h" #import "DBSerializableProtocol.h" @class DBCOMMONUserRootInfo; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `UserRootInfo` struct. /// /// 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 /// objects. /// @interface DBCOMMONUserRootInfo : DBCOMMONRootInfo #pragma mark - Instance fields #pragma mark - Constructors /// /// 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 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. /// - (instancetype)initWithRootNamespaceId:(NSString *)rootNamespaceId homeNamespaceId:(NSString *)homeNamespaceId; @end #pragma mark - Serializer Object /// /// The serialization class for the `UserRootInfo` struct. /// @interface DBCOMMONUserRootInfoSerializer : NSObject /// /// Serializes `DBCOMMONUserRootInfo` instances. /// /// @param instance An instance of the `DBCOMMONUserRootInfo` API object. /// /// @return A json-compatible dictionary representation of the /// `DBCOMMONUserRootInfo` API object. /// + (nullable NSDictionary *)serialize:(DBCOMMONUserRootInfo *)instance; /// /// Deserializes `DBCOMMONUserRootInfo` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBCOMMONUserRootInfo` API object. /// /// @return An instantiation of the `DBCOMMONUserRootInfo` object. /// + (DBCOMMONUserRootInfo *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Contacts/DBContactsObjects.m ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Contacts/Headers/DBCONTACTSDeleteManualContactsArg.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Contacts/Headers/DBCONTACTSDeleteManualContactsError.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/DBFilePropertiesObjects.m ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// /// Arguments, results, and errors for the `FileProperties` namespace. #import "DBFILEPROPERTIESAddPropertiesArg.h" #import "DBFILEPROPERTIESPropertyGroup.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILEPROPERTIESAddPropertiesArg #pragma mark - Constructors - (instancetype)initWithPath:(NSString *)path propertyGroups:(NSArray *)propertyGroups { [DBStoneValidators nonnullValidator:[DBStoneValidators stringValidator:nil maxLength:nil pattern:@"/(.|[\\r\\n])*|id:.*|(ns:[0-9]+(/.*)?)"]](path); [DBStoneValidators nonnullValidator:[DBStoneValidators arrayValidator:nil maxItems:nil itemValidator:[DBStoneValidators nonnullValidator:nil]]](propertyGroups); self = [super init]; if (self) { _path = path; _propertyGroups = propertyGroups; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBFILEPROPERTIESAddPropertiesArgSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILEPROPERTIESAddPropertiesArgSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILEPROPERTIESAddPropertiesArgSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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.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 isEqualToAddPropertiesArg:other]; } - (BOOL)isEqualToAddPropertiesArg:(DBFILEPROPERTIESAddPropertiesArg *)anAddPropertiesArg { if (self == anAddPropertiesArg) { return YES; } if (![self.path isEqual:anAddPropertiesArg.path]) { return NO; } if (![self.propertyGroups isEqual:anAddPropertiesArg.propertyGroups]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBFILEPROPERTIESAddPropertiesArgSerializer + (NSDictionary *)serialize:(DBFILEPROPERTIESAddPropertiesArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"path"] = valueObj.path; jsonDict[@"property_groups"] = [DBArraySerializer serialize:valueObj.propertyGroups withBlock:^id(id elem0) { return [DBFILEPROPERTIESPropertyGroupSerializer serialize:elem0]; }]; return jsonDict; } + (DBFILEPROPERTIESAddPropertiesArg *)deserialize:(NSDictionary *)valueDict { NSString *path = valueDict[@"path"]; NSArray *propertyGroups = [DBArraySerializer deserialize:valueDict[@"property_groups"] withBlock:^id(id elem0) { return [DBFILEPROPERTIESPropertyGroupSerializer deserialize:elem0]; }]; return [[DBFILEPROPERTIESAddPropertiesArg alloc] initWithPath:path propertyGroups:propertyGroups]; } @end #import "DBFILEPROPERTIESTemplateError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILEPROPERTIESTemplateError @synthesize templateNotFound = _templateNotFound; #pragma mark - Constructors - (instancetype)initWithTemplateNotFound:(NSString *)templateNotFound { self = [super init]; if (self) { _tag = DBFILEPROPERTIESTemplateErrorTemplateNotFound; _templateNotFound = templateNotFound; } return self; } - (instancetype)initWithRestrictedContent { self = [super init]; if (self) { _tag = DBFILEPROPERTIESTemplateErrorRestrictedContent; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBFILEPROPERTIESTemplateErrorOther; } return self; } #pragma mark - Instance field accessors - (NSString *)templateNotFound { if (![self isTemplateNotFound]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBFILEPROPERTIESTemplateErrorTemplateNotFound, but was %@.", [self tagName]]; } return _templateNotFound; } #pragma mark - Tag state methods - (BOOL)isTemplateNotFound { return _tag == DBFILEPROPERTIESTemplateErrorTemplateNotFound; } - (BOOL)isRestrictedContent { return _tag == DBFILEPROPERTIESTemplateErrorRestrictedContent; } - (BOOL)isOther { return _tag == DBFILEPROPERTIESTemplateErrorOther; } - (NSString *)tagName { switch (_tag) { case DBFILEPROPERTIESTemplateErrorTemplateNotFound: return @"DBFILEPROPERTIESTemplateErrorTemplateNotFound"; case DBFILEPROPERTIESTemplateErrorRestrictedContent: return @"DBFILEPROPERTIESTemplateErrorRestrictedContent"; case DBFILEPROPERTIESTemplateErrorOther: return @"DBFILEPROPERTIESTemplateErrorOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBFILEPROPERTIESTemplateErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILEPROPERTIESTemplateErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILEPROPERTIESTemplateErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToTemplateError:other]; } - (BOOL)isEqualToTemplateError:(DBFILEPROPERTIESTemplateError *)aTemplateError { if (self == aTemplateError) { return YES; } if (self.tag != aTemplateError.tag) { return NO; } switch (_tag) { case DBFILEPROPERTIESTemplateErrorTemplateNotFound: return [self.templateNotFound isEqual:aTemplateError.templateNotFound]; case DBFILEPROPERTIESTemplateErrorRestrictedContent: return [[self tagName] isEqual:[aTemplateError tagName]]; case DBFILEPROPERTIESTemplateErrorOther: return [[self tagName] isEqual:[aTemplateError tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBFILEPROPERTIESTemplateErrorSerializer + (NSDictionary *)serialize:(DBFILEPROPERTIESTemplateError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isTemplateNotFound]) { jsonDict[@"template_not_found"] = valueObj.templateNotFound; jsonDict[@".tag"] = @"template_not_found"; } else if ([valueObj isRestrictedContent]) { jsonDict[@".tag"] = @"restricted_content"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBFILEPROPERTIESTemplateError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"template_not_found"]) { NSString *templateNotFound = valueDict[@"template_not_found"]; return [[DBFILEPROPERTIESTemplateError alloc] initWithTemplateNotFound:templateNotFound]; } else if ([tag isEqualToString:@"restricted_content"]) { return [[DBFILEPROPERTIESTemplateError alloc] initWithRestrictedContent]; } else if ([tag isEqualToString:@"other"]) { return [[DBFILEPROPERTIESTemplateError alloc] initWithOther]; } else { return [[DBFILEPROPERTIESTemplateError alloc] initWithOther]; } } @end #import "DBFILEPROPERTIESLookupError.h" #import "DBFILEPROPERTIESPropertiesError.h" #import "DBFILEPROPERTIESTemplateError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILEPROPERTIESPropertiesError @synthesize templateNotFound = _templateNotFound; @synthesize path = _path; #pragma mark - Constructors - (instancetype)initWithTemplateNotFound:(NSString *)templateNotFound { self = [super init]; if (self) { _tag = DBFILEPROPERTIESPropertiesErrorTemplateNotFound; _templateNotFound = templateNotFound; } return self; } - (instancetype)initWithRestrictedContent { self = [super init]; if (self) { _tag = DBFILEPROPERTIESPropertiesErrorRestrictedContent; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBFILEPROPERTIESPropertiesErrorOther; } return self; } - (instancetype)initWithPath:(DBFILEPROPERTIESLookupError *)path { self = [super init]; if (self) { _tag = DBFILEPROPERTIESPropertiesErrorPath; _path = path; } return self; } - (instancetype)initWithUnsupportedFolder { self = [super init]; if (self) { _tag = DBFILEPROPERTIESPropertiesErrorUnsupportedFolder; } return self; } #pragma mark - Instance field accessors - (NSString *)templateNotFound { if (![self isTemplateNotFound]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBFILEPROPERTIESPropertiesErrorTemplateNotFound, but was %@.", [self tagName]]; } return _templateNotFound; } - (DBFILEPROPERTIESLookupError *)path { if (![self isPath]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBFILEPROPERTIESPropertiesErrorPath, but was %@.", [self tagName]]; } return _path; } #pragma mark - Tag state methods - (BOOL)isTemplateNotFound { return _tag == DBFILEPROPERTIESPropertiesErrorTemplateNotFound; } - (BOOL)isRestrictedContent { return _tag == DBFILEPROPERTIESPropertiesErrorRestrictedContent; } - (BOOL)isOther { return _tag == DBFILEPROPERTIESPropertiesErrorOther; } - (BOOL)isPath { return _tag == DBFILEPROPERTIESPropertiesErrorPath; } - (BOOL)isUnsupportedFolder { return _tag == DBFILEPROPERTIESPropertiesErrorUnsupportedFolder; } - (NSString *)tagName { switch (_tag) { case DBFILEPROPERTIESPropertiesErrorTemplateNotFound: return @"DBFILEPROPERTIESPropertiesErrorTemplateNotFound"; case DBFILEPROPERTIESPropertiesErrorRestrictedContent: return @"DBFILEPROPERTIESPropertiesErrorRestrictedContent"; case DBFILEPROPERTIESPropertiesErrorOther: return @"DBFILEPROPERTIESPropertiesErrorOther"; case DBFILEPROPERTIESPropertiesErrorPath: return @"DBFILEPROPERTIESPropertiesErrorPath"; case DBFILEPROPERTIESPropertiesErrorUnsupportedFolder: return @"DBFILEPROPERTIESPropertiesErrorUnsupportedFolder"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBFILEPROPERTIESPropertiesErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILEPROPERTIESPropertiesErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILEPROPERTIESPropertiesErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToPropertiesError:other]; } - (BOOL)isEqualToPropertiesError:(DBFILEPROPERTIESPropertiesError *)aPropertiesError { if (self == aPropertiesError) { return YES; } if (self.tag != aPropertiesError.tag) { return NO; } switch (_tag) { case DBFILEPROPERTIESPropertiesErrorTemplateNotFound: return [self.templateNotFound isEqual:aPropertiesError.templateNotFound]; case DBFILEPROPERTIESPropertiesErrorRestrictedContent: return [[self tagName] isEqual:[aPropertiesError tagName]]; case DBFILEPROPERTIESPropertiesErrorOther: return [[self tagName] isEqual:[aPropertiesError tagName]]; case DBFILEPROPERTIESPropertiesErrorPath: return [self.path isEqual:aPropertiesError.path]; case DBFILEPROPERTIESPropertiesErrorUnsupportedFolder: return [[self tagName] isEqual:[aPropertiesError tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBFILEPROPERTIESPropertiesErrorSerializer + (NSDictionary *)serialize:(DBFILEPROPERTIESPropertiesError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isTemplateNotFound]) { jsonDict[@"template_not_found"] = valueObj.templateNotFound; jsonDict[@".tag"] = @"template_not_found"; } else if ([valueObj isRestrictedContent]) { jsonDict[@".tag"] = @"restricted_content"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else if ([valueObj isPath]) { jsonDict[@"path"] = [[DBFILEPROPERTIESLookupErrorSerializer serialize:valueObj.path] mutableCopy]; jsonDict[@".tag"] = @"path"; } else if ([valueObj isUnsupportedFolder]) { jsonDict[@".tag"] = @"unsupported_folder"; } else { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBFILEPROPERTIESPropertiesError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"template_not_found"]) { NSString *templateNotFound = valueDict[@"template_not_found"]; return [[DBFILEPROPERTIESPropertiesError alloc] initWithTemplateNotFound:templateNotFound]; } else if ([tag isEqualToString:@"restricted_content"]) { return [[DBFILEPROPERTIESPropertiesError alloc] initWithRestrictedContent]; } else if ([tag isEqualToString:@"other"]) { return [[DBFILEPROPERTIESPropertiesError alloc] initWithOther]; } else if ([tag isEqualToString:@"path"]) { DBFILEPROPERTIESLookupError *path = [DBFILEPROPERTIESLookupErrorSerializer deserialize:valueDict[@"path"]]; return [[DBFILEPROPERTIESPropertiesError alloc] initWithPath:path]; } else if ([tag isEqualToString:@"unsupported_folder"]) { return [[DBFILEPROPERTIESPropertiesError alloc] initWithUnsupportedFolder]; } else { return [[DBFILEPROPERTIESPropertiesError alloc] initWithOther]; } } @end #import "DBFILEPROPERTIESInvalidPropertyGroupError.h" #import "DBFILEPROPERTIESLookupError.h" #import "DBFILEPROPERTIESPropertiesError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILEPROPERTIESInvalidPropertyGroupError @synthesize templateNotFound = _templateNotFound; @synthesize path = _path; #pragma mark - Constructors - (instancetype)initWithTemplateNotFound:(NSString *)templateNotFound { self = [super init]; if (self) { _tag = DBFILEPROPERTIESInvalidPropertyGroupErrorTemplateNotFound; _templateNotFound = templateNotFound; } return self; } - (instancetype)initWithRestrictedContent { self = [super init]; if (self) { _tag = DBFILEPROPERTIESInvalidPropertyGroupErrorRestrictedContent; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBFILEPROPERTIESInvalidPropertyGroupErrorOther; } return self; } - (instancetype)initWithPath:(DBFILEPROPERTIESLookupError *)path { self = [super init]; if (self) { _tag = DBFILEPROPERTIESInvalidPropertyGroupErrorPath; _path = path; } return self; } - (instancetype)initWithUnsupportedFolder { self = [super init]; if (self) { _tag = DBFILEPROPERTIESInvalidPropertyGroupErrorUnsupportedFolder; } return self; } - (instancetype)initWithPropertyFieldTooLarge { self = [super init]; if (self) { _tag = DBFILEPROPERTIESInvalidPropertyGroupErrorPropertyFieldTooLarge; } return self; } - (instancetype)initWithDoesNotFitTemplate { self = [super init]; if (self) { _tag = DBFILEPROPERTIESInvalidPropertyGroupErrorDoesNotFitTemplate; } return self; } - (instancetype)initWithDuplicatePropertyGroups { self = [super init]; if (self) { _tag = DBFILEPROPERTIESInvalidPropertyGroupErrorDuplicatePropertyGroups; } return self; } #pragma mark - Instance field accessors - (NSString *)templateNotFound { if (![self isTemplateNotFound]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBFILEPROPERTIESInvalidPropertyGroupErrorTemplateNotFound, but was %@.", [self tagName]]; } return _templateNotFound; } - (DBFILEPROPERTIESLookupError *)path { if (![self isPath]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBFILEPROPERTIESInvalidPropertyGroupErrorPath, but was %@.", [self tagName]]; } return _path; } #pragma mark - Tag state methods - (BOOL)isTemplateNotFound { return _tag == DBFILEPROPERTIESInvalidPropertyGroupErrorTemplateNotFound; } - (BOOL)isRestrictedContent { return _tag == DBFILEPROPERTIESInvalidPropertyGroupErrorRestrictedContent; } - (BOOL)isOther { return _tag == DBFILEPROPERTIESInvalidPropertyGroupErrorOther; } - (BOOL)isPath { return _tag == DBFILEPROPERTIESInvalidPropertyGroupErrorPath; } - (BOOL)isUnsupportedFolder { return _tag == DBFILEPROPERTIESInvalidPropertyGroupErrorUnsupportedFolder; } - (BOOL)isPropertyFieldTooLarge { return _tag == DBFILEPROPERTIESInvalidPropertyGroupErrorPropertyFieldTooLarge; } - (BOOL)isDoesNotFitTemplate { return _tag == DBFILEPROPERTIESInvalidPropertyGroupErrorDoesNotFitTemplate; } - (BOOL)isDuplicatePropertyGroups { return _tag == DBFILEPROPERTIESInvalidPropertyGroupErrorDuplicatePropertyGroups; } - (NSString *)tagName { switch (_tag) { case DBFILEPROPERTIESInvalidPropertyGroupErrorTemplateNotFound: return @"DBFILEPROPERTIESInvalidPropertyGroupErrorTemplateNotFound"; case DBFILEPROPERTIESInvalidPropertyGroupErrorRestrictedContent: return @"DBFILEPROPERTIESInvalidPropertyGroupErrorRestrictedContent"; case DBFILEPROPERTIESInvalidPropertyGroupErrorOther: return @"DBFILEPROPERTIESInvalidPropertyGroupErrorOther"; case DBFILEPROPERTIESInvalidPropertyGroupErrorPath: return @"DBFILEPROPERTIESInvalidPropertyGroupErrorPath"; case DBFILEPROPERTIESInvalidPropertyGroupErrorUnsupportedFolder: return @"DBFILEPROPERTIESInvalidPropertyGroupErrorUnsupportedFolder"; case DBFILEPROPERTIESInvalidPropertyGroupErrorPropertyFieldTooLarge: return @"DBFILEPROPERTIESInvalidPropertyGroupErrorPropertyFieldTooLarge"; case DBFILEPROPERTIESInvalidPropertyGroupErrorDoesNotFitTemplate: return @"DBFILEPROPERTIESInvalidPropertyGroupErrorDoesNotFitTemplate"; case DBFILEPROPERTIESInvalidPropertyGroupErrorDuplicatePropertyGroups: return @"DBFILEPROPERTIESInvalidPropertyGroupErrorDuplicatePropertyGroups"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBFILEPROPERTIESInvalidPropertyGroupErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILEPROPERTIESInvalidPropertyGroupErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILEPROPERTIESInvalidPropertyGroupErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToInvalidPropertyGroupError:other]; } - (BOOL)isEqualToInvalidPropertyGroupError:(DBFILEPROPERTIESInvalidPropertyGroupError *)anInvalidPropertyGroupError { if (self == anInvalidPropertyGroupError) { return YES; } if (self.tag != anInvalidPropertyGroupError.tag) { return NO; } switch (_tag) { case DBFILEPROPERTIESInvalidPropertyGroupErrorTemplateNotFound: return [self.templateNotFound isEqual:anInvalidPropertyGroupError.templateNotFound]; case DBFILEPROPERTIESInvalidPropertyGroupErrorRestrictedContent: return [[self tagName] isEqual:[anInvalidPropertyGroupError tagName]]; case DBFILEPROPERTIESInvalidPropertyGroupErrorOther: return [[self tagName] isEqual:[anInvalidPropertyGroupError tagName]]; case DBFILEPROPERTIESInvalidPropertyGroupErrorPath: return [self.path isEqual:anInvalidPropertyGroupError.path]; case DBFILEPROPERTIESInvalidPropertyGroupErrorUnsupportedFolder: return [[self tagName] isEqual:[anInvalidPropertyGroupError tagName]]; case DBFILEPROPERTIESInvalidPropertyGroupErrorPropertyFieldTooLarge: return [[self tagName] isEqual:[anInvalidPropertyGroupError tagName]]; case DBFILEPROPERTIESInvalidPropertyGroupErrorDoesNotFitTemplate: return [[self tagName] isEqual:[anInvalidPropertyGroupError tagName]]; case DBFILEPROPERTIESInvalidPropertyGroupErrorDuplicatePropertyGroups: return [[self tagName] isEqual:[anInvalidPropertyGroupError tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBFILEPROPERTIESInvalidPropertyGroupErrorSerializer + (NSDictionary *)serialize:(DBFILEPROPERTIESInvalidPropertyGroupError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isTemplateNotFound]) { jsonDict[@"template_not_found"] = valueObj.templateNotFound; jsonDict[@".tag"] = @"template_not_found"; } else if ([valueObj isRestrictedContent]) { jsonDict[@".tag"] = @"restricted_content"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else if ([valueObj isPath]) { jsonDict[@"path"] = [[DBFILEPROPERTIESLookupErrorSerializer serialize:valueObj.path] mutableCopy]; jsonDict[@".tag"] = @"path"; } else if ([valueObj isUnsupportedFolder]) { jsonDict[@".tag"] = @"unsupported_folder"; } else if ([valueObj isPropertyFieldTooLarge]) { 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; } + (DBFILEPROPERTIESInvalidPropertyGroupError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"template_not_found"]) { NSString *templateNotFound = valueDict[@"template_not_found"]; return [[DBFILEPROPERTIESInvalidPropertyGroupError alloc] initWithTemplateNotFound:templateNotFound]; } else if ([tag isEqualToString:@"restricted_content"]) { return [[DBFILEPROPERTIESInvalidPropertyGroupError alloc] initWithRestrictedContent]; } else if ([tag isEqualToString:@"other"]) { return [[DBFILEPROPERTIESInvalidPropertyGroupError alloc] initWithOther]; } else if ([tag isEqualToString:@"path"]) { DBFILEPROPERTIESLookupError *path = [DBFILEPROPERTIESLookupErrorSerializer deserialize:valueDict[@"path"]]; return [[DBFILEPROPERTIESInvalidPropertyGroupError alloc] initWithPath:path]; } else if ([tag isEqualToString:@"unsupported_folder"]) { return [[DBFILEPROPERTIESInvalidPropertyGroupError alloc] initWithUnsupportedFolder]; } else if ([tag isEqualToString:@"property_field_too_large"]) { 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]; } } @end #import "DBFILEPROPERTIESAddPropertiesError.h" #import "DBFILEPROPERTIESInvalidPropertyGroupError.h" #import "DBFILEPROPERTIESLookupError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILEPROPERTIESAddPropertiesError @synthesize templateNotFound = _templateNotFound; @synthesize path = _path; #pragma mark - Constructors - (instancetype)initWithTemplateNotFound:(NSString *)templateNotFound { self = [super init]; if (self) { _tag = DBFILEPROPERTIESAddPropertiesErrorTemplateNotFound; _templateNotFound = templateNotFound; } return self; } - (instancetype)initWithRestrictedContent { self = [super init]; if (self) { _tag = DBFILEPROPERTIESAddPropertiesErrorRestrictedContent; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBFILEPROPERTIESAddPropertiesErrorOther; } return self; } - (instancetype)initWithPath:(DBFILEPROPERTIESLookupError *)path { self = [super init]; if (self) { _tag = DBFILEPROPERTIESAddPropertiesErrorPath; _path = path; } return self; } - (instancetype)initWithUnsupportedFolder { self = [super init]; if (self) { _tag = DBFILEPROPERTIESAddPropertiesErrorUnsupportedFolder; } return self; } - (instancetype)initWithPropertyFieldTooLarge { self = [super init]; if (self) { _tag = DBFILEPROPERTIESAddPropertiesErrorPropertyFieldTooLarge; } return self; } - (instancetype)initWithDoesNotFitTemplate { self = [super init]; if (self) { _tag = DBFILEPROPERTIESAddPropertiesErrorDoesNotFitTemplate; } return self; } - (instancetype)initWithDuplicatePropertyGroups { self = [super init]; if (self) { _tag = DBFILEPROPERTIESAddPropertiesErrorDuplicatePropertyGroups; } return self; } - (instancetype)initWithPropertyGroupAlreadyExists { self = [super init]; if (self) { _tag = DBFILEPROPERTIESAddPropertiesErrorPropertyGroupAlreadyExists; } return self; } #pragma mark - Instance field accessors - (NSString *)templateNotFound { if (![self isTemplateNotFound]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBFILEPROPERTIESAddPropertiesErrorTemplateNotFound, but was %@.", [self tagName]]; } return _templateNotFound; } - (DBFILEPROPERTIESLookupError *)path { if (![self isPath]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBFILEPROPERTIESAddPropertiesErrorPath, but was %@.", [self tagName]]; } return _path; } #pragma mark - Tag state methods - (BOOL)isTemplateNotFound { return _tag == DBFILEPROPERTIESAddPropertiesErrorTemplateNotFound; } - (BOOL)isRestrictedContent { return _tag == DBFILEPROPERTIESAddPropertiesErrorRestrictedContent; } - (BOOL)isOther { return _tag == DBFILEPROPERTIESAddPropertiesErrorOther; } - (BOOL)isPath { return _tag == DBFILEPROPERTIESAddPropertiesErrorPath; } - (BOOL)isUnsupportedFolder { return _tag == DBFILEPROPERTIESAddPropertiesErrorUnsupportedFolder; } - (BOOL)isPropertyFieldTooLarge { return _tag == DBFILEPROPERTIESAddPropertiesErrorPropertyFieldTooLarge; } - (BOOL)isDoesNotFitTemplate { return _tag == DBFILEPROPERTIESAddPropertiesErrorDoesNotFitTemplate; } - (BOOL)isDuplicatePropertyGroups { return _tag == DBFILEPROPERTIESAddPropertiesErrorDuplicatePropertyGroups; } - (BOOL)isPropertyGroupAlreadyExists { return _tag == DBFILEPROPERTIESAddPropertiesErrorPropertyGroupAlreadyExists; } - (NSString *)tagName { switch (_tag) { case DBFILEPROPERTIESAddPropertiesErrorTemplateNotFound: return @"DBFILEPROPERTIESAddPropertiesErrorTemplateNotFound"; case DBFILEPROPERTIESAddPropertiesErrorRestrictedContent: return @"DBFILEPROPERTIESAddPropertiesErrorRestrictedContent"; case DBFILEPROPERTIESAddPropertiesErrorOther: return @"DBFILEPROPERTIESAddPropertiesErrorOther"; case DBFILEPROPERTIESAddPropertiesErrorPath: return @"DBFILEPROPERTIESAddPropertiesErrorPath"; case DBFILEPROPERTIESAddPropertiesErrorUnsupportedFolder: return @"DBFILEPROPERTIESAddPropertiesErrorUnsupportedFolder"; case DBFILEPROPERTIESAddPropertiesErrorPropertyFieldTooLarge: return @"DBFILEPROPERTIESAddPropertiesErrorPropertyFieldTooLarge"; case DBFILEPROPERTIESAddPropertiesErrorDoesNotFitTemplate: return @"DBFILEPROPERTIESAddPropertiesErrorDoesNotFitTemplate"; case DBFILEPROPERTIESAddPropertiesErrorDuplicatePropertyGroups: return @"DBFILEPROPERTIESAddPropertiesErrorDuplicatePropertyGroups"; case DBFILEPROPERTIESAddPropertiesErrorPropertyGroupAlreadyExists: return @"DBFILEPROPERTIESAddPropertiesErrorPropertyGroupAlreadyExists"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBFILEPROPERTIESAddPropertiesErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILEPROPERTIESAddPropertiesErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILEPROPERTIESAddPropertiesErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToAddPropertiesError:other]; } - (BOOL)isEqualToAddPropertiesError:(DBFILEPROPERTIESAddPropertiesError *)anAddPropertiesError { if (self == anAddPropertiesError) { return YES; } if (self.tag != anAddPropertiesError.tag) { return NO; } switch (_tag) { case DBFILEPROPERTIESAddPropertiesErrorTemplateNotFound: return [self.templateNotFound isEqual:anAddPropertiesError.templateNotFound]; case DBFILEPROPERTIESAddPropertiesErrorRestrictedContent: return [[self tagName] isEqual:[anAddPropertiesError tagName]]; case DBFILEPROPERTIESAddPropertiesErrorOther: return [[self tagName] isEqual:[anAddPropertiesError tagName]]; case DBFILEPROPERTIESAddPropertiesErrorPath: return [self.path isEqual:anAddPropertiesError.path]; case DBFILEPROPERTIESAddPropertiesErrorUnsupportedFolder: return [[self tagName] isEqual:[anAddPropertiesError tagName]]; case DBFILEPROPERTIESAddPropertiesErrorPropertyFieldTooLarge: 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]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBFILEPROPERTIESAddPropertiesErrorSerializer + (NSDictionary *)serialize:(DBFILEPROPERTIESAddPropertiesError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isTemplateNotFound]) { jsonDict[@"template_not_found"] = valueObj.templateNotFound; jsonDict[@".tag"] = @"template_not_found"; } else if ([valueObj isRestrictedContent]) { jsonDict[@".tag"] = @"restricted_content"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else if ([valueObj isPath]) { jsonDict[@"path"] = [[DBFILEPROPERTIESLookupErrorSerializer serialize:valueObj.path] mutableCopy]; jsonDict[@".tag"] = @"path"; } else if ([valueObj isUnsupportedFolder]) { jsonDict[@".tag"] = @"unsupported_folder"; } else if ([valueObj isPropertyFieldTooLarge]) { 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; } + (DBFILEPROPERTIESAddPropertiesError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"template_not_found"]) { NSString *templateNotFound = valueDict[@"template_not_found"]; return [[DBFILEPROPERTIESAddPropertiesError alloc] initWithTemplateNotFound:templateNotFound]; } else if ([tag isEqualToString:@"restricted_content"]) { return [[DBFILEPROPERTIESAddPropertiesError alloc] initWithRestrictedContent]; } else if ([tag isEqualToString:@"other"]) { return [[DBFILEPROPERTIESAddPropertiesError alloc] initWithOther]; } else if ([tag isEqualToString:@"path"]) { DBFILEPROPERTIESLookupError *path = [DBFILEPROPERTIESLookupErrorSerializer deserialize:valueDict[@"path"]]; return [[DBFILEPROPERTIESAddPropertiesError alloc] initWithPath:path]; } else if ([tag isEqualToString:@"unsupported_folder"]) { return [[DBFILEPROPERTIESAddPropertiesError alloc] initWithUnsupportedFolder]; } else if ([tag isEqualToString:@"property_field_too_large"]) { 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 { return [[DBFILEPROPERTIESAddPropertiesError alloc] initWithOther]; } } @end #import "DBFILEPROPERTIESPropertyFieldTemplate.h" #import "DBFILEPROPERTIESPropertyGroupTemplate.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILEPROPERTIESPropertyGroupTemplate #pragma mark - Constructors - (instancetype)initWithName:(NSString *)name description_:(NSString *)description_ fields:(NSArray *)fields { [DBStoneValidators nonnullValidator:nil](name); [DBStoneValidators nonnullValidator:nil](description_); [DBStoneValidators nonnullValidator:[DBStoneValidators arrayValidator:nil maxItems:nil itemValidator:[DBStoneValidators nonnullValidator:nil]]](fields); self = [super init]; if (self) { _name = name; _description_ = description_; _fields = fields; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBFILEPROPERTIESPropertyGroupTemplateSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILEPROPERTIESPropertyGroupTemplateSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILEPROPERTIESPropertyGroupTemplateSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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.description_ hash]; result = prime * result + [self.fields hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToPropertyGroupTemplate:other]; } - (BOOL)isEqualToPropertyGroupTemplate:(DBFILEPROPERTIESPropertyGroupTemplate *)aPropertyGroupTemplate { if (self == aPropertyGroupTemplate) { return YES; } if (![self.name isEqual:aPropertyGroupTemplate.name]) { return NO; } if (![self.description_ isEqual:aPropertyGroupTemplate.description_]) { return NO; } if (![self.fields isEqual:aPropertyGroupTemplate.fields]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBFILEPROPERTIESPropertyGroupTemplateSerializer + (NSDictionary *)serialize:(DBFILEPROPERTIESPropertyGroupTemplate *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"name"] = valueObj.name; jsonDict[@"description"] = valueObj.description_; jsonDict[@"fields"] = [DBArraySerializer serialize:valueObj.fields withBlock:^id(id elem0) { return [DBFILEPROPERTIESPropertyFieldTemplateSerializer serialize:elem0]; }]; return jsonDict; } + (DBFILEPROPERTIESPropertyGroupTemplate *)deserialize:(NSDictionary *)valueDict { NSString *name = valueDict[@"name"]; NSString *description_ = valueDict[@"description"]; NSArray *fields = [DBArraySerializer deserialize:valueDict[@"fields"] withBlock:^id(id elem0) { return [DBFILEPROPERTIESPropertyFieldTemplateSerializer deserialize:elem0]; }]; return [[DBFILEPROPERTIESPropertyGroupTemplate alloc] initWithName:name description_:description_ fields:fields]; } @end #import "DBFILEPROPERTIESAddTemplateArg.h" #import "DBFILEPROPERTIESPropertyFieldTemplate.h" #import "DBFILEPROPERTIESPropertyGroupTemplate.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILEPROPERTIESAddTemplateArg #pragma mark - Constructors - (instancetype)initWithName:(NSString *)name description_:(NSString *)description_ fields:(NSArray *)fields { [DBStoneValidators nonnullValidator:nil](name); [DBStoneValidators nonnullValidator:nil](description_); [DBStoneValidators nonnullValidator:[DBStoneValidators arrayValidator:nil maxItems:nil itemValidator:[DBStoneValidators nonnullValidator:nil]]](fields); self = [super initWithName:name description_:description_ fields:fields]; if (self) { } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBFILEPROPERTIESAddTemplateArgSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILEPROPERTIESAddTemplateArgSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILEPROPERTIESAddTemplateArgSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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.description_ hash]; result = prime * result + [self.fields hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToAddTemplateArg:other]; } - (BOOL)isEqualToAddTemplateArg:(DBFILEPROPERTIESAddTemplateArg *)anAddTemplateArg { if (self == anAddTemplateArg) { return YES; } if (![self.name isEqual:anAddTemplateArg.name]) { return NO; } if (![self.description_ isEqual:anAddTemplateArg.description_]) { return NO; } if (![self.fields isEqual:anAddTemplateArg.fields]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBFILEPROPERTIESAddTemplateArgSerializer + (NSDictionary *)serialize:(DBFILEPROPERTIESAddTemplateArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"name"] = valueObj.name; jsonDict[@"description"] = valueObj.description_; jsonDict[@"fields"] = [DBArraySerializer serialize:valueObj.fields withBlock:^id(id elem0) { return [DBFILEPROPERTIESPropertyFieldTemplateSerializer serialize:elem0]; }]; return jsonDict; } + (DBFILEPROPERTIESAddTemplateArg *)deserialize:(NSDictionary *)valueDict { NSString *name = valueDict[@"name"]; NSString *description_ = valueDict[@"description"]; NSArray *fields = [DBArraySerializer deserialize:valueDict[@"fields"] withBlock:^id(id elem0) { return [DBFILEPROPERTIESPropertyFieldTemplateSerializer deserialize:elem0]; }]; return [[DBFILEPROPERTIESAddTemplateArg alloc] initWithName:name description_:description_ fields:fields]; } @end #import "DBFILEPROPERTIESAddTemplateResult.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILEPROPERTIESAddTemplateResult #pragma mark - Constructors - (instancetype)initWithTemplateId:(NSString *)templateId { [DBStoneValidators nonnullValidator:[DBStoneValidators stringValidator:@(1) maxLength:nil pattern:@"(/|ptid:).*"]](templateId); self = [super init]; if (self) { _templateId = templateId; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBFILEPROPERTIESAddTemplateResultSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILEPROPERTIESAddTemplateResultSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILEPROPERTIESAddTemplateResultSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.templateId hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToAddTemplateResult:other]; } - (BOOL)isEqualToAddTemplateResult:(DBFILEPROPERTIESAddTemplateResult *)anAddTemplateResult { if (self == anAddTemplateResult) { return YES; } if (![self.templateId isEqual:anAddTemplateResult.templateId]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBFILEPROPERTIESAddTemplateResultSerializer + (NSDictionary *)serialize:(DBFILEPROPERTIESAddTemplateResult *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"template_id"] = valueObj.templateId; return jsonDict; } + (DBFILEPROPERTIESAddTemplateResult *)deserialize:(NSDictionary *)valueDict { NSString *templateId = valueDict[@"template_id"]; return [[DBFILEPROPERTIESAddTemplateResult alloc] initWithTemplateId:templateId]; } @end #import "DBFILEPROPERTIESGetTemplateArg.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILEPROPERTIESGetTemplateArg #pragma mark - Constructors - (instancetype)initWithTemplateId:(NSString *)templateId { [DBStoneValidators nonnullValidator:[DBStoneValidators stringValidator:@(1) maxLength:nil pattern:@"(/|ptid:).*"]](templateId); self = [super init]; if (self) { _templateId = templateId; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBFILEPROPERTIESGetTemplateArgSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILEPROPERTIESGetTemplateArgSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILEPROPERTIESGetTemplateArgSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.templateId hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToGetTemplateArg:other]; } - (BOOL)isEqualToGetTemplateArg:(DBFILEPROPERTIESGetTemplateArg *)aGetTemplateArg { if (self == aGetTemplateArg) { return YES; } if (![self.templateId isEqual:aGetTemplateArg.templateId]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBFILEPROPERTIESGetTemplateArgSerializer + (NSDictionary *)serialize:(DBFILEPROPERTIESGetTemplateArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"template_id"] = valueObj.templateId; return jsonDict; } + (DBFILEPROPERTIESGetTemplateArg *)deserialize:(NSDictionary *)valueDict { NSString *templateId = valueDict[@"template_id"]; return [[DBFILEPROPERTIESGetTemplateArg alloc] initWithTemplateId:templateId]; } @end #import "DBFILEPROPERTIESGetTemplateResult.h" #import "DBFILEPROPERTIESPropertyFieldTemplate.h" #import "DBFILEPROPERTIESPropertyGroupTemplate.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILEPROPERTIESGetTemplateResult #pragma mark - Constructors - (instancetype)initWithName:(NSString *)name description_:(NSString *)description_ fields:(NSArray *)fields { [DBStoneValidators nonnullValidator:nil](name); [DBStoneValidators nonnullValidator:nil](description_); [DBStoneValidators nonnullValidator:[DBStoneValidators arrayValidator:nil maxItems:nil itemValidator:[DBStoneValidators nonnullValidator:nil]]](fields); self = [super initWithName:name description_:description_ fields:fields]; if (self) { } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBFILEPROPERTIESGetTemplateResultSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILEPROPERTIESGetTemplateResultSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILEPROPERTIESGetTemplateResultSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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.description_ hash]; result = prime * result + [self.fields hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToGetTemplateResult:other]; } - (BOOL)isEqualToGetTemplateResult:(DBFILEPROPERTIESGetTemplateResult *)aGetTemplateResult { if (self == aGetTemplateResult) { return YES; } if (![self.name isEqual:aGetTemplateResult.name]) { return NO; } if (![self.description_ isEqual:aGetTemplateResult.description_]) { return NO; } if (![self.fields isEqual:aGetTemplateResult.fields]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBFILEPROPERTIESGetTemplateResultSerializer + (NSDictionary *)serialize:(DBFILEPROPERTIESGetTemplateResult *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"name"] = valueObj.name; jsonDict[@"description"] = valueObj.description_; jsonDict[@"fields"] = [DBArraySerializer serialize:valueObj.fields withBlock:^id(id elem0) { return [DBFILEPROPERTIESPropertyFieldTemplateSerializer serialize:elem0]; }]; return jsonDict; } + (DBFILEPROPERTIESGetTemplateResult *)deserialize:(NSDictionary *)valueDict { NSString *name = valueDict[@"name"]; NSString *description_ = valueDict[@"description"]; NSArray *fields = [DBArraySerializer deserialize:valueDict[@"fields"] withBlock:^id(id elem0) { return [DBFILEPROPERTIESPropertyFieldTemplateSerializer deserialize:elem0]; }]; return [[DBFILEPROPERTIESGetTemplateResult alloc] initWithName:name description_:description_ fields:fields]; } @end #import "DBFILEPROPERTIESListTemplateResult.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILEPROPERTIESListTemplateResult #pragma mark - Constructors - (instancetype)initWithTemplateIds:(NSArray *)templateIds { [DBStoneValidators nonnullValidator:[DBStoneValidators arrayValidator:nil maxItems:nil itemValidator:[DBStoneValidators nonnullValidator:[DBStoneValidators stringValidator:@(1) maxLength:nil pattern:@"(/|ptid:).*"]]]]( templateIds); self = [super init]; if (self) { _templateIds = templateIds; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBFILEPROPERTIESListTemplateResultSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILEPROPERTIESListTemplateResultSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILEPROPERTIESListTemplateResultSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.templateIds hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToListTemplateResult:other]; } - (BOOL)isEqualToListTemplateResult:(DBFILEPROPERTIESListTemplateResult *)aListTemplateResult { if (self == aListTemplateResult) { return YES; } if (![self.templateIds isEqual:aListTemplateResult.templateIds]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBFILEPROPERTIESListTemplateResultSerializer + (NSDictionary *)serialize:(DBFILEPROPERTIESListTemplateResult *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"template_ids"] = [DBArraySerializer serialize:valueObj.templateIds withBlock:^id(id elem0) { return elem0; }]; return jsonDict; } + (DBFILEPROPERTIESListTemplateResult *)deserialize:(NSDictionary *)valueDict { NSArray *templateIds = [DBArraySerializer deserialize:valueDict[@"template_ids"] withBlock:^id(id elem0) { return elem0; }]; return [[DBFILEPROPERTIESListTemplateResult alloc] initWithTemplateIds:templateIds]; } @end #import "DBFILEPROPERTIESLogicalOperator.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILEPROPERTIESLogicalOperator #pragma mark - Constructors - (instancetype)initWithOrOperator { self = [super init]; if (self) { _tag = DBFILEPROPERTIESLogicalOperatorOrOperator; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBFILEPROPERTIESLogicalOperatorOther; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isOrOperator { return _tag == DBFILEPROPERTIESLogicalOperatorOrOperator; } - (BOOL)isOther { return _tag == DBFILEPROPERTIESLogicalOperatorOther; } - (NSString *)tagName { switch (_tag) { case DBFILEPROPERTIESLogicalOperatorOrOperator: return @"DBFILEPROPERTIESLogicalOperatorOrOperator"; case DBFILEPROPERTIESLogicalOperatorOther: return @"DBFILEPROPERTIESLogicalOperatorOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBFILEPROPERTIESLogicalOperatorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILEPROPERTIESLogicalOperatorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILEPROPERTIESLogicalOperatorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 DBFILEPROPERTIESLogicalOperatorOrOperator: result = prime * result + [[self tagName] hash]; break; case DBFILEPROPERTIESLogicalOperatorOther: 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 isEqualToLogicalOperator:other]; } - (BOOL)isEqualToLogicalOperator:(DBFILEPROPERTIESLogicalOperator *)aLogicalOperator { if (self == aLogicalOperator) { return YES; } if (self.tag != aLogicalOperator.tag) { return NO; } switch (_tag) { case DBFILEPROPERTIESLogicalOperatorOrOperator: return [[self tagName] isEqual:[aLogicalOperator tagName]]; case DBFILEPROPERTIESLogicalOperatorOther: return [[self tagName] isEqual:[aLogicalOperator tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBFILEPROPERTIESLogicalOperatorSerializer + (NSDictionary *)serialize:(DBFILEPROPERTIESLogicalOperator *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isOrOperator]) { jsonDict[@".tag"] = @"or_operator"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBFILEPROPERTIESLogicalOperator *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"or_operator"]) { return [[DBFILEPROPERTIESLogicalOperator alloc] initWithOrOperator]; } else if ([tag isEqualToString:@"other"]) { return [[DBFILEPROPERTIESLogicalOperator alloc] initWithOther]; } else { return [[DBFILEPROPERTIESLogicalOperator alloc] initWithOther]; } } @end #import "DBFILEPROPERTIESLookUpPropertiesError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILEPROPERTIESLookUpPropertiesError #pragma mark - Constructors - (instancetype)initWithPropertyGroupNotFound { self = [super init]; if (self) { _tag = DBFILEPROPERTIESLookUpPropertiesErrorPropertyGroupNotFound; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBFILEPROPERTIESLookUpPropertiesErrorOther; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isPropertyGroupNotFound { return _tag == DBFILEPROPERTIESLookUpPropertiesErrorPropertyGroupNotFound; } - (BOOL)isOther { return _tag == DBFILEPROPERTIESLookUpPropertiesErrorOther; } - (NSString *)tagName { switch (_tag) { case DBFILEPROPERTIESLookUpPropertiesErrorPropertyGroupNotFound: return @"DBFILEPROPERTIESLookUpPropertiesErrorPropertyGroupNotFound"; case DBFILEPROPERTIESLookUpPropertiesErrorOther: return @"DBFILEPROPERTIESLookUpPropertiesErrorOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBFILEPROPERTIESLookUpPropertiesErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILEPROPERTIESLookUpPropertiesErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILEPROPERTIESLookUpPropertiesErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 DBFILEPROPERTIESLookUpPropertiesErrorPropertyGroupNotFound: result = prime * result + [[self tagName] hash]; break; case DBFILEPROPERTIESLookUpPropertiesErrorOther: 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 isEqualToLookUpPropertiesError:other]; } - (BOOL)isEqualToLookUpPropertiesError:(DBFILEPROPERTIESLookUpPropertiesError *)aLookUpPropertiesError { if (self == aLookUpPropertiesError) { return YES; } if (self.tag != aLookUpPropertiesError.tag) { return NO; } switch (_tag) { case DBFILEPROPERTIESLookUpPropertiesErrorPropertyGroupNotFound: return [[self tagName] isEqual:[aLookUpPropertiesError tagName]]; case DBFILEPROPERTIESLookUpPropertiesErrorOther: return [[self tagName] isEqual:[aLookUpPropertiesError tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBFILEPROPERTIESLookUpPropertiesErrorSerializer + (NSDictionary *)serialize:(DBFILEPROPERTIESLookUpPropertiesError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isPropertyGroupNotFound]) { jsonDict[@".tag"] = @"property_group_not_found"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBFILEPROPERTIESLookUpPropertiesError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"property_group_not_found"]) { return [[DBFILEPROPERTIESLookUpPropertiesError alloc] initWithPropertyGroupNotFound]; } else if ([tag isEqualToString:@"other"]) { return [[DBFILEPROPERTIESLookUpPropertiesError alloc] initWithOther]; } else { return [[DBFILEPROPERTIESLookUpPropertiesError alloc] initWithOther]; } } @end #import "DBFILEPROPERTIESLookupError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILEPROPERTIESLookupError @synthesize malformedPath = _malformedPath; #pragma mark - Constructors - (instancetype)initWithMalformedPath:(NSString *)malformedPath { self = [super init]; if (self) { _tag = DBFILEPROPERTIESLookupErrorMalformedPath; _malformedPath = malformedPath; } return self; } - (instancetype)initWithNotFound { self = [super init]; if (self) { _tag = DBFILEPROPERTIESLookupErrorNotFound; } return self; } - (instancetype)initWithNotFile { self = [super init]; if (self) { _tag = DBFILEPROPERTIESLookupErrorNotFile; } return self; } - (instancetype)initWithNotFolder { self = [super init]; if (self) { _tag = DBFILEPROPERTIESLookupErrorNotFolder; } return self; } - (instancetype)initWithRestrictedContent { self = [super init]; if (self) { _tag = DBFILEPROPERTIESLookupErrorRestrictedContent; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBFILEPROPERTIESLookupErrorOther; } return self; } #pragma mark - Instance field accessors - (NSString *)malformedPath { if (![self isMalformedPath]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBFILEPROPERTIESLookupErrorMalformedPath, but was %@.", [self tagName]]; } return _malformedPath; } #pragma mark - Tag state methods - (BOOL)isMalformedPath { return _tag == DBFILEPROPERTIESLookupErrorMalformedPath; } - (BOOL)isNotFound { return _tag == DBFILEPROPERTIESLookupErrorNotFound; } - (BOOL)isNotFile { return _tag == DBFILEPROPERTIESLookupErrorNotFile; } - (BOOL)isNotFolder { return _tag == DBFILEPROPERTIESLookupErrorNotFolder; } - (BOOL)isRestrictedContent { return _tag == DBFILEPROPERTIESLookupErrorRestrictedContent; } - (BOOL)isOther { return _tag == DBFILEPROPERTIESLookupErrorOther; } - (NSString *)tagName { switch (_tag) { case DBFILEPROPERTIESLookupErrorMalformedPath: return @"DBFILEPROPERTIESLookupErrorMalformedPath"; case DBFILEPROPERTIESLookupErrorNotFound: return @"DBFILEPROPERTIESLookupErrorNotFound"; case DBFILEPROPERTIESLookupErrorNotFile: return @"DBFILEPROPERTIESLookupErrorNotFile"; case DBFILEPROPERTIESLookupErrorNotFolder: return @"DBFILEPROPERTIESLookupErrorNotFolder"; case DBFILEPROPERTIESLookupErrorRestrictedContent: return @"DBFILEPROPERTIESLookupErrorRestrictedContent"; case DBFILEPROPERTIESLookupErrorOther: return @"DBFILEPROPERTIESLookupErrorOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBFILEPROPERTIESLookupErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILEPROPERTIESLookupErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILEPROPERTIESLookupErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #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:(DBFILEPROPERTIESLookupError *)aLookupError { if (self == aLookupError) { return YES; } if (self.tag != aLookupError.tag) { return NO; } switch (_tag) { case DBFILEPROPERTIESLookupErrorMalformedPath: return [self.malformedPath isEqual:aLookupError.malformedPath]; case DBFILEPROPERTIESLookupErrorNotFound: return [[self tagName] isEqual:[aLookupError tagName]]; case DBFILEPROPERTIESLookupErrorNotFile: return [[self tagName] isEqual:[aLookupError tagName]]; case DBFILEPROPERTIESLookupErrorNotFolder: return [[self tagName] isEqual:[aLookupError tagName]]; case DBFILEPROPERTIESLookupErrorRestrictedContent: return [[self tagName] isEqual:[aLookupError tagName]]; case DBFILEPROPERTIESLookupErrorOther: return [[self tagName] isEqual:[aLookupError tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBFILEPROPERTIESLookupErrorSerializer + (NSDictionary *)serialize:(DBFILEPROPERTIESLookupError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isMalformedPath]) { 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"; } else { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBFILEPROPERTIESLookupError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"malformed_path"]) { NSString *malformedPath = valueDict[@"malformed_path"]; return [[DBFILEPROPERTIESLookupError alloc] initWithMalformedPath:malformedPath]; } else if ([tag isEqualToString:@"not_found"]) { return [[DBFILEPROPERTIESLookupError alloc] initWithNotFound]; } else if ([tag isEqualToString:@"not_file"]) { return [[DBFILEPROPERTIESLookupError alloc] initWithNotFile]; } else if ([tag isEqualToString:@"not_folder"]) { return [[DBFILEPROPERTIESLookupError alloc] initWithNotFolder]; } else if ([tag isEqualToString:@"restricted_content"]) { return [[DBFILEPROPERTIESLookupError alloc] initWithRestrictedContent]; } else if ([tag isEqualToString:@"other"]) { return [[DBFILEPROPERTIESLookupError alloc] initWithOther]; } else { return [[DBFILEPROPERTIESLookupError alloc] initWithOther]; } } @end #import "DBFILEPROPERTIESModifyTemplateError.h" #import "DBFILEPROPERTIESTemplateError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILEPROPERTIESModifyTemplateError @synthesize templateNotFound = _templateNotFound; #pragma mark - Constructors - (instancetype)initWithTemplateNotFound:(NSString *)templateNotFound { self = [super init]; if (self) { _tag = DBFILEPROPERTIESModifyTemplateErrorTemplateNotFound; _templateNotFound = templateNotFound; } return self; } - (instancetype)initWithRestrictedContent { self = [super init]; if (self) { _tag = DBFILEPROPERTIESModifyTemplateErrorRestrictedContent; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBFILEPROPERTIESModifyTemplateErrorOther; } return self; } - (instancetype)initWithConflictingPropertyNames { self = [super init]; if (self) { _tag = DBFILEPROPERTIESModifyTemplateErrorConflictingPropertyNames; } return self; } - (instancetype)initWithTooManyProperties { self = [super init]; if (self) { _tag = DBFILEPROPERTIESModifyTemplateErrorTooManyProperties; } return self; } - (instancetype)initWithTooManyTemplates { self = [super init]; if (self) { _tag = DBFILEPROPERTIESModifyTemplateErrorTooManyTemplates; } return self; } - (instancetype)initWithTemplateAttributeTooLarge { self = [super init]; if (self) { _tag = DBFILEPROPERTIESModifyTemplateErrorTemplateAttributeTooLarge; } return self; } #pragma mark - Instance field accessors - (NSString *)templateNotFound { if (![self isTemplateNotFound]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBFILEPROPERTIESModifyTemplateErrorTemplateNotFound, but was %@.", [self tagName]]; } return _templateNotFound; } #pragma mark - Tag state methods - (BOOL)isTemplateNotFound { return _tag == DBFILEPROPERTIESModifyTemplateErrorTemplateNotFound; } - (BOOL)isRestrictedContent { return _tag == DBFILEPROPERTIESModifyTemplateErrorRestrictedContent; } - (BOOL)isOther { return _tag == DBFILEPROPERTIESModifyTemplateErrorOther; } - (BOOL)isConflictingPropertyNames { return _tag == DBFILEPROPERTIESModifyTemplateErrorConflictingPropertyNames; } - (BOOL)isTooManyProperties { return _tag == DBFILEPROPERTIESModifyTemplateErrorTooManyProperties; } - (BOOL)isTooManyTemplates { return _tag == DBFILEPROPERTIESModifyTemplateErrorTooManyTemplates; } - (BOOL)isTemplateAttributeTooLarge { return _tag == DBFILEPROPERTIESModifyTemplateErrorTemplateAttributeTooLarge; } - (NSString *)tagName { switch (_tag) { case DBFILEPROPERTIESModifyTemplateErrorTemplateNotFound: return @"DBFILEPROPERTIESModifyTemplateErrorTemplateNotFound"; case DBFILEPROPERTIESModifyTemplateErrorRestrictedContent: return @"DBFILEPROPERTIESModifyTemplateErrorRestrictedContent"; case DBFILEPROPERTIESModifyTemplateErrorOther: return @"DBFILEPROPERTIESModifyTemplateErrorOther"; case DBFILEPROPERTIESModifyTemplateErrorConflictingPropertyNames: return @"DBFILEPROPERTIESModifyTemplateErrorConflictingPropertyNames"; case DBFILEPROPERTIESModifyTemplateErrorTooManyProperties: return @"DBFILEPROPERTIESModifyTemplateErrorTooManyProperties"; case DBFILEPROPERTIESModifyTemplateErrorTooManyTemplates: return @"DBFILEPROPERTIESModifyTemplateErrorTooManyTemplates"; case DBFILEPROPERTIESModifyTemplateErrorTemplateAttributeTooLarge: return @"DBFILEPROPERTIESModifyTemplateErrorTemplateAttributeTooLarge"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBFILEPROPERTIESModifyTemplateErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILEPROPERTIESModifyTemplateErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILEPROPERTIESModifyTemplateErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToModifyTemplateError:other]; } - (BOOL)isEqualToModifyTemplateError:(DBFILEPROPERTIESModifyTemplateError *)aModifyTemplateError { if (self == aModifyTemplateError) { return YES; } if (self.tag != aModifyTemplateError.tag) { return NO; } switch (_tag) { case DBFILEPROPERTIESModifyTemplateErrorTemplateNotFound: return [self.templateNotFound isEqual:aModifyTemplateError.templateNotFound]; case DBFILEPROPERTIESModifyTemplateErrorRestrictedContent: return [[self tagName] isEqual:[aModifyTemplateError tagName]]; case DBFILEPROPERTIESModifyTemplateErrorOther: return [[self tagName] isEqual:[aModifyTemplateError tagName]]; case DBFILEPROPERTIESModifyTemplateErrorConflictingPropertyNames: return [[self tagName] isEqual:[aModifyTemplateError tagName]]; case DBFILEPROPERTIESModifyTemplateErrorTooManyProperties: return [[self tagName] isEqual:[aModifyTemplateError tagName]]; case DBFILEPROPERTIESModifyTemplateErrorTooManyTemplates: return [[self tagName] isEqual:[aModifyTemplateError tagName]]; case DBFILEPROPERTIESModifyTemplateErrorTemplateAttributeTooLarge: return [[self tagName] isEqual:[aModifyTemplateError tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBFILEPROPERTIESModifyTemplateErrorSerializer + (NSDictionary *)serialize:(DBFILEPROPERTIESModifyTemplateError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isTemplateNotFound]) { jsonDict[@"template_not_found"] = valueObj.templateNotFound; jsonDict[@".tag"] = @"template_not_found"; } else if ([valueObj isRestrictedContent]) { jsonDict[@".tag"] = @"restricted_content"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else if ([valueObj isConflictingPropertyNames]) { jsonDict[@".tag"] = @"conflicting_property_names"; } else if ([valueObj isTooManyProperties]) { jsonDict[@".tag"] = @"too_many_properties"; } else if ([valueObj isTooManyTemplates]) { jsonDict[@".tag"] = @"too_many_templates"; } else if ([valueObj isTemplateAttributeTooLarge]) { jsonDict[@".tag"] = @"template_attribute_too_large"; } else { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBFILEPROPERTIESModifyTemplateError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"template_not_found"]) { NSString *templateNotFound = valueDict[@"template_not_found"]; return [[DBFILEPROPERTIESModifyTemplateError alloc] initWithTemplateNotFound:templateNotFound]; } else if ([tag isEqualToString:@"restricted_content"]) { return [[DBFILEPROPERTIESModifyTemplateError alloc] initWithRestrictedContent]; } else if ([tag isEqualToString:@"other"]) { return [[DBFILEPROPERTIESModifyTemplateError alloc] initWithOther]; } else if ([tag isEqualToString:@"conflicting_property_names"]) { return [[DBFILEPROPERTIESModifyTemplateError alloc] initWithConflictingPropertyNames]; } else if ([tag isEqualToString:@"too_many_properties"]) { return [[DBFILEPROPERTIESModifyTemplateError alloc] initWithTooManyProperties]; } else if ([tag isEqualToString:@"too_many_templates"]) { return [[DBFILEPROPERTIESModifyTemplateError alloc] initWithTooManyTemplates]; } else if ([tag isEqualToString:@"template_attribute_too_large"]) { return [[DBFILEPROPERTIESModifyTemplateError alloc] initWithTemplateAttributeTooLarge]; } else { return [[DBFILEPROPERTIESModifyTemplateError alloc] initWithOther]; } } @end #import "DBFILEPROPERTIESOverwritePropertyGroupArg.h" #import "DBFILEPROPERTIESPropertyGroup.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILEPROPERTIESOverwritePropertyGroupArg #pragma mark - Constructors - (instancetype)initWithPath:(NSString *)path propertyGroups:(NSArray *)propertyGroups { [DBStoneValidators nonnullValidator:[DBStoneValidators stringValidator:nil maxLength:nil pattern:@"/(.|[\\r\\n])*|id:.*|(ns:[0-9]+(/.*)?)"]](path); [DBStoneValidators nonnullValidator:[DBStoneValidators arrayValidator:@(1) maxItems:nil itemValidator:[DBStoneValidators nonnullValidator:nil]]](propertyGroups); self = [super init]; if (self) { _path = path; _propertyGroups = propertyGroups; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBFILEPROPERTIESOverwritePropertyGroupArgSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILEPROPERTIESOverwritePropertyGroupArgSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILEPROPERTIESOverwritePropertyGroupArgSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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.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 isEqualToOverwritePropertyGroupArg:other]; } - (BOOL)isEqualToOverwritePropertyGroupArg:(DBFILEPROPERTIESOverwritePropertyGroupArg *)anOverwritePropertyGroupArg { if (self == anOverwritePropertyGroupArg) { return YES; } if (![self.path isEqual:anOverwritePropertyGroupArg.path]) { return NO; } if (![self.propertyGroups isEqual:anOverwritePropertyGroupArg.propertyGroups]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBFILEPROPERTIESOverwritePropertyGroupArgSerializer + (NSDictionary *)serialize:(DBFILEPROPERTIESOverwritePropertyGroupArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"path"] = valueObj.path; jsonDict[@"property_groups"] = [DBArraySerializer serialize:valueObj.propertyGroups withBlock:^id(id elem0) { return [DBFILEPROPERTIESPropertyGroupSerializer serialize:elem0]; }]; return jsonDict; } + (DBFILEPROPERTIESOverwritePropertyGroupArg *)deserialize:(NSDictionary *)valueDict { NSString *path = valueDict[@"path"]; NSArray *propertyGroups = [DBArraySerializer deserialize:valueDict[@"property_groups"] withBlock:^id(id elem0) { return [DBFILEPROPERTIESPropertyGroupSerializer deserialize:elem0]; }]; return [[DBFILEPROPERTIESOverwritePropertyGroupArg alloc] initWithPath:path propertyGroups:propertyGroups]; } @end #import "DBFILEPROPERTIESPropertiesSearchArg.h" #import "DBFILEPROPERTIESPropertiesSearchQuery.h" #import "DBFILEPROPERTIESTemplateFilter.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILEPROPERTIESPropertiesSearchArg #pragma mark - Constructors - (instancetype)initWithQueries:(NSArray *)queries templateFilter:(DBFILEPROPERTIESTemplateFilter *)templateFilter { [DBStoneValidators nonnullValidator:[DBStoneValidators arrayValidator:@(1) maxItems:nil itemValidator:[DBStoneValidators nonnullValidator:nil]]](queries); self = [super init]; if (self) { _queries = queries; _templateFilter = templateFilter ?: [[DBFILEPROPERTIESTemplateFilter alloc] initWithFilterNone]; } return self; } - (instancetype)initWithQueries:(NSArray *)queries { return [self initWithQueries:queries templateFilter:nil]; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBFILEPROPERTIESPropertiesSearchArgSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILEPROPERTIESPropertiesSearchArgSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILEPROPERTIESPropertiesSearchArgSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.queries hash]; result = prime * result + [self.templateFilter hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToPropertiesSearchArg:other]; } - (BOOL)isEqualToPropertiesSearchArg:(DBFILEPROPERTIESPropertiesSearchArg *)aPropertiesSearchArg { if (self == aPropertiesSearchArg) { return YES; } if (![self.queries isEqual:aPropertiesSearchArg.queries]) { return NO; } if (![self.templateFilter isEqual:aPropertiesSearchArg.templateFilter]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBFILEPROPERTIESPropertiesSearchArgSerializer + (NSDictionary *)serialize:(DBFILEPROPERTIESPropertiesSearchArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"queries"] = [DBArraySerializer serialize:valueObj.queries withBlock:^id(id elem0) { return [DBFILEPROPERTIESPropertiesSearchQuerySerializer serialize:elem0]; }]; jsonDict[@"template_filter"] = [DBFILEPROPERTIESTemplateFilterSerializer serialize:valueObj.templateFilter]; return jsonDict; } + (DBFILEPROPERTIESPropertiesSearchArg *)deserialize:(NSDictionary *)valueDict { NSArray *queries = [DBArraySerializer deserialize:valueDict[@"queries"] withBlock:^id(id elem0) { return [DBFILEPROPERTIESPropertiesSearchQuerySerializer deserialize:elem0]; }]; DBFILEPROPERTIESTemplateFilter *templateFilter = valueDict[@"template_filter"] ? [DBFILEPROPERTIESTemplateFilterSerializer deserialize:valueDict[@"template_filter"]] : [[DBFILEPROPERTIESTemplateFilter alloc] initWithFilterNone]; return [[DBFILEPROPERTIESPropertiesSearchArg alloc] initWithQueries:queries templateFilter:templateFilter]; } @end #import "DBFILEPROPERTIESPropertiesSearchContinueArg.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILEPROPERTIESPropertiesSearchContinueArg #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 [DBFILEPROPERTIESPropertiesSearchContinueArgSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILEPROPERTIESPropertiesSearchContinueArgSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILEPROPERTIESPropertiesSearchContinueArgSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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 isEqualToPropertiesSearchContinueArg:other]; } - (BOOL)isEqualToPropertiesSearchContinueArg: (DBFILEPROPERTIESPropertiesSearchContinueArg *)aPropertiesSearchContinueArg { if (self == aPropertiesSearchContinueArg) { return YES; } if (![self.cursor isEqual:aPropertiesSearchContinueArg.cursor]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBFILEPROPERTIESPropertiesSearchContinueArgSerializer + (NSDictionary *)serialize:(DBFILEPROPERTIESPropertiesSearchContinueArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"cursor"] = valueObj.cursor; return jsonDict; } + (DBFILEPROPERTIESPropertiesSearchContinueArg *)deserialize:(NSDictionary *)valueDict { NSString *cursor = valueDict[@"cursor"]; return [[DBFILEPROPERTIESPropertiesSearchContinueArg alloc] initWithCursor:cursor]; } @end #import "DBFILEPROPERTIESPropertiesSearchContinueError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILEPROPERTIESPropertiesSearchContinueError #pragma mark - Constructors - (instancetype)initWithReset { self = [super init]; if (self) { _tag = DBFILEPROPERTIESPropertiesSearchContinueErrorReset; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBFILEPROPERTIESPropertiesSearchContinueErrorOther; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isReset { return _tag == DBFILEPROPERTIESPropertiesSearchContinueErrorReset; } - (BOOL)isOther { return _tag == DBFILEPROPERTIESPropertiesSearchContinueErrorOther; } - (NSString *)tagName { switch (_tag) { case DBFILEPROPERTIESPropertiesSearchContinueErrorReset: return @"DBFILEPROPERTIESPropertiesSearchContinueErrorReset"; case DBFILEPROPERTIESPropertiesSearchContinueErrorOther: return @"DBFILEPROPERTIESPropertiesSearchContinueErrorOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBFILEPROPERTIESPropertiesSearchContinueErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILEPROPERTIESPropertiesSearchContinueErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILEPROPERTIESPropertiesSearchContinueErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 DBFILEPROPERTIESPropertiesSearchContinueErrorReset: result = prime * result + [[self tagName] hash]; break; case DBFILEPROPERTIESPropertiesSearchContinueErrorOther: 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 isEqualToPropertiesSearchContinueError:other]; } - (BOOL)isEqualToPropertiesSearchContinueError: (DBFILEPROPERTIESPropertiesSearchContinueError *)aPropertiesSearchContinueError { if (self == aPropertiesSearchContinueError) { return YES; } if (self.tag != aPropertiesSearchContinueError.tag) { return NO; } switch (_tag) { case DBFILEPROPERTIESPropertiesSearchContinueErrorReset: return [[self tagName] isEqual:[aPropertiesSearchContinueError tagName]]; case DBFILEPROPERTIESPropertiesSearchContinueErrorOther: return [[self tagName] isEqual:[aPropertiesSearchContinueError tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBFILEPROPERTIESPropertiesSearchContinueErrorSerializer + (NSDictionary *)serialize:(DBFILEPROPERTIESPropertiesSearchContinueError *)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; } + (DBFILEPROPERTIESPropertiesSearchContinueError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"reset"]) { return [[DBFILEPROPERTIESPropertiesSearchContinueError alloc] initWithReset]; } else if ([tag isEqualToString:@"other"]) { return [[DBFILEPROPERTIESPropertiesSearchContinueError alloc] initWithOther]; } else { return [[DBFILEPROPERTIESPropertiesSearchContinueError alloc] initWithOther]; } } @end #import "DBFILEPROPERTIESLookUpPropertiesError.h" #import "DBFILEPROPERTIESPropertiesSearchError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILEPROPERTIESPropertiesSearchError @synthesize propertyGroupLookup = _propertyGroupLookup; #pragma mark - Constructors - (instancetype)initWithPropertyGroupLookup:(DBFILEPROPERTIESLookUpPropertiesError *)propertyGroupLookup { self = [super init]; if (self) { _tag = DBFILEPROPERTIESPropertiesSearchErrorPropertyGroupLookup; _propertyGroupLookup = propertyGroupLookup; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBFILEPROPERTIESPropertiesSearchErrorOther; } return self; } #pragma mark - Instance field accessors - (DBFILEPROPERTIESLookUpPropertiesError *)propertyGroupLookup { if (![self isPropertyGroupLookup]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBFILEPROPERTIESPropertiesSearchErrorPropertyGroupLookup, but was %@.", [self tagName]]; } return _propertyGroupLookup; } #pragma mark - Tag state methods - (BOOL)isPropertyGroupLookup { return _tag == DBFILEPROPERTIESPropertiesSearchErrorPropertyGroupLookup; } - (BOOL)isOther { return _tag == DBFILEPROPERTIESPropertiesSearchErrorOther; } - (NSString *)tagName { switch (_tag) { case DBFILEPROPERTIESPropertiesSearchErrorPropertyGroupLookup: return @"DBFILEPROPERTIESPropertiesSearchErrorPropertyGroupLookup"; case DBFILEPROPERTIESPropertiesSearchErrorOther: return @"DBFILEPROPERTIESPropertiesSearchErrorOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBFILEPROPERTIESPropertiesSearchErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILEPROPERTIESPropertiesSearchErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILEPROPERTIESPropertiesSearchErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 DBFILEPROPERTIESPropertiesSearchErrorPropertyGroupLookup: result = prime * result + [self.propertyGroupLookup hash]; break; case DBFILEPROPERTIESPropertiesSearchErrorOther: 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 isEqualToPropertiesSearchError:other]; } - (BOOL)isEqualToPropertiesSearchError:(DBFILEPROPERTIESPropertiesSearchError *)aPropertiesSearchError { if (self == aPropertiesSearchError) { return YES; } if (self.tag != aPropertiesSearchError.tag) { return NO; } switch (_tag) { case DBFILEPROPERTIESPropertiesSearchErrorPropertyGroupLookup: return [self.propertyGroupLookup isEqual:aPropertiesSearchError.propertyGroupLookup]; case DBFILEPROPERTIESPropertiesSearchErrorOther: return [[self tagName] isEqual:[aPropertiesSearchError tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBFILEPROPERTIESPropertiesSearchErrorSerializer + (NSDictionary *)serialize:(DBFILEPROPERTIESPropertiesSearchError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isPropertyGroupLookup]) { jsonDict[@"property_group_lookup"] = [[DBFILEPROPERTIESLookUpPropertiesErrorSerializer serialize:valueObj.propertyGroupLookup] mutableCopy]; jsonDict[@".tag"] = @"property_group_lookup"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBFILEPROPERTIESPropertiesSearchError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"property_group_lookup"]) { DBFILEPROPERTIESLookUpPropertiesError *propertyGroupLookup = [DBFILEPROPERTIESLookUpPropertiesErrorSerializer deserialize:valueDict[@"property_group_lookup"]]; return [[DBFILEPROPERTIESPropertiesSearchError alloc] initWithPropertyGroupLookup:propertyGroupLookup]; } else if ([tag isEqualToString:@"other"]) { return [[DBFILEPROPERTIESPropertiesSearchError alloc] initWithOther]; } else { return [[DBFILEPROPERTIESPropertiesSearchError alloc] initWithOther]; } } @end #import "DBFILEPROPERTIESPropertiesSearchMatch.h" #import "DBFILEPROPERTIESPropertyGroup.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILEPROPERTIESPropertiesSearchMatch #pragma mark - Constructors - (instancetype)initWithId_:(NSString *)id_ path:(NSString *)path isDeleted:(NSNumber *)isDeleted propertyGroups:(NSArray *)propertyGroups { [DBStoneValidators nonnullValidator:[DBStoneValidators stringValidator:@(1) maxLength:nil pattern:nil]](id_); [DBStoneValidators nonnullValidator:nil](path); [DBStoneValidators nonnullValidator:nil](isDeleted); [DBStoneValidators nonnullValidator:[DBStoneValidators arrayValidator:nil maxItems:nil itemValidator:[DBStoneValidators nonnullValidator:nil]]](propertyGroups); self = [super init]; if (self) { _id_ = id_; _path = path; _isDeleted = isDeleted; _propertyGroups = propertyGroups; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBFILEPROPERTIESPropertiesSearchMatchSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILEPROPERTIESPropertiesSearchMatchSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILEPROPERTIESPropertiesSearchMatchSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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.path hash]; result = prime * result + [self.isDeleted hash]; 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 isEqualToPropertiesSearchMatch:other]; } - (BOOL)isEqualToPropertiesSearchMatch:(DBFILEPROPERTIESPropertiesSearchMatch *)aPropertiesSearchMatch { if (self == aPropertiesSearchMatch) { return YES; } if (![self.id_ isEqual:aPropertiesSearchMatch.id_]) { return NO; } if (![self.path isEqual:aPropertiesSearchMatch.path]) { return NO; } if (![self.isDeleted isEqual:aPropertiesSearchMatch.isDeleted]) { return NO; } if (![self.propertyGroups isEqual:aPropertiesSearchMatch.propertyGroups]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBFILEPROPERTIESPropertiesSearchMatchSerializer + (NSDictionary *)serialize:(DBFILEPROPERTIESPropertiesSearchMatch *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"id"] = valueObj.id_; jsonDict[@"path"] = valueObj.path; jsonDict[@"is_deleted"] = valueObj.isDeleted; jsonDict[@"property_groups"] = [DBArraySerializer serialize:valueObj.propertyGroups withBlock:^id(id elem0) { return [DBFILEPROPERTIESPropertyGroupSerializer serialize:elem0]; }]; return jsonDict; } + (DBFILEPROPERTIESPropertiesSearchMatch *)deserialize:(NSDictionary *)valueDict { NSString *id_ = valueDict[@"id"]; NSString *path = valueDict[@"path"]; NSNumber *isDeleted = valueDict[@"is_deleted"]; NSArray *propertyGroups = [DBArraySerializer deserialize:valueDict[@"property_groups"] withBlock:^id(id elem0) { return [DBFILEPROPERTIESPropertyGroupSerializer deserialize:elem0]; }]; return [[DBFILEPROPERTIESPropertiesSearchMatch alloc] initWithId_:id_ path:path isDeleted:isDeleted propertyGroups:propertyGroups]; } @end #import "DBFILEPROPERTIESPropertiesSearchMode.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILEPROPERTIESPropertiesSearchMode @synthesize fieldName = _fieldName; #pragma mark - Constructors - (instancetype)initWithFieldName:(NSString *)fieldName { self = [super init]; if (self) { _tag = DBFILEPROPERTIESPropertiesSearchModeFieldName; _fieldName = fieldName; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBFILEPROPERTIESPropertiesSearchModeOther; } return self; } #pragma mark - Instance field accessors - (NSString *)fieldName { if (![self isFieldName]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBFILEPROPERTIESPropertiesSearchModeFieldName, but was %@.", [self tagName]]; } return _fieldName; } #pragma mark - Tag state methods - (BOOL)isFieldName { return _tag == DBFILEPROPERTIESPropertiesSearchModeFieldName; } - (BOOL)isOther { return _tag == DBFILEPROPERTIESPropertiesSearchModeOther; } - (NSString *)tagName { switch (_tag) { case DBFILEPROPERTIESPropertiesSearchModeFieldName: return @"DBFILEPROPERTIESPropertiesSearchModeFieldName"; case DBFILEPROPERTIESPropertiesSearchModeOther: return @"DBFILEPROPERTIESPropertiesSearchModeOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBFILEPROPERTIESPropertiesSearchModeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILEPROPERTIESPropertiesSearchModeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILEPROPERTIESPropertiesSearchModeSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 DBFILEPROPERTIESPropertiesSearchModeFieldName: result = prime * result + [self.fieldName hash]; break; case DBFILEPROPERTIESPropertiesSearchModeOther: 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 isEqualToPropertiesSearchMode:other]; } - (BOOL)isEqualToPropertiesSearchMode:(DBFILEPROPERTIESPropertiesSearchMode *)aPropertiesSearchMode { if (self == aPropertiesSearchMode) { return YES; } if (self.tag != aPropertiesSearchMode.tag) { return NO; } switch (_tag) { case DBFILEPROPERTIESPropertiesSearchModeFieldName: return [self.fieldName isEqual:aPropertiesSearchMode.fieldName]; case DBFILEPROPERTIESPropertiesSearchModeOther: return [[self tagName] isEqual:[aPropertiesSearchMode tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBFILEPROPERTIESPropertiesSearchModeSerializer + (NSDictionary *)serialize:(DBFILEPROPERTIESPropertiesSearchMode *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isFieldName]) { jsonDict[@"field_name"] = valueObj.fieldName; jsonDict[@".tag"] = @"field_name"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBFILEPROPERTIESPropertiesSearchMode *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"field_name"]) { NSString *fieldName = valueDict[@"field_name"]; return [[DBFILEPROPERTIESPropertiesSearchMode alloc] initWithFieldName:fieldName]; } else if ([tag isEqualToString:@"other"]) { return [[DBFILEPROPERTIESPropertiesSearchMode alloc] initWithOther]; } else { return [[DBFILEPROPERTIESPropertiesSearchMode alloc] initWithOther]; } } @end #import "DBFILEPROPERTIESLogicalOperator.h" #import "DBFILEPROPERTIESPropertiesSearchMode.h" #import "DBFILEPROPERTIESPropertiesSearchQuery.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILEPROPERTIESPropertiesSearchQuery #pragma mark - Constructors - (instancetype)initWithQuery:(NSString *)query mode:(DBFILEPROPERTIESPropertiesSearchMode *)mode logicalOperator:(DBFILEPROPERTIESLogicalOperator *)logicalOperator { [DBStoneValidators nonnullValidator:nil](query); [DBStoneValidators nonnullValidator:nil](mode); self = [super init]; if (self) { _query = query; _mode = mode; _logicalOperator = logicalOperator ?: [[DBFILEPROPERTIESLogicalOperator alloc] initWithOrOperator]; } return self; } - (instancetype)initWithQuery:(NSString *)query mode:(DBFILEPROPERTIESPropertiesSearchMode *)mode { return [self initWithQuery:query mode:mode logicalOperator:nil]; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBFILEPROPERTIESPropertiesSearchQuerySerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILEPROPERTIESPropertiesSearchQuerySerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILEPROPERTIESPropertiesSearchQuerySerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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]; result = prime * result + [self.mode hash]; result = prime * result + [self.logicalOperator hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToPropertiesSearchQuery:other]; } - (BOOL)isEqualToPropertiesSearchQuery:(DBFILEPROPERTIESPropertiesSearchQuery *)aPropertiesSearchQuery { if (self == aPropertiesSearchQuery) { return YES; } if (![self.query isEqual:aPropertiesSearchQuery.query]) { return NO; } if (![self.mode isEqual:aPropertiesSearchQuery.mode]) { return NO; } if (![self.logicalOperator isEqual:aPropertiesSearchQuery.logicalOperator]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBFILEPROPERTIESPropertiesSearchQuerySerializer + (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; } + (DBFILEPROPERTIESPropertiesSearchQuery *)deserialize:(NSDictionary *)valueDict { NSString *query = valueDict[@"query"]; DBFILEPROPERTIESPropertiesSearchMode *mode = [DBFILEPROPERTIESPropertiesSearchModeSerializer deserialize:valueDict[@"mode"]]; DBFILEPROPERTIESLogicalOperator *logicalOperator = valueDict[@"logical_operator"] ? [DBFILEPROPERTIESLogicalOperatorSerializer deserialize:valueDict[@"logical_operator"]] : [[DBFILEPROPERTIESLogicalOperator alloc] initWithOrOperator]; return [[DBFILEPROPERTIESPropertiesSearchQuery alloc] initWithQuery:query mode:mode logicalOperator:logicalOperator]; } @end #import "DBFILEPROPERTIESPropertiesSearchMatch.h" #import "DBFILEPROPERTIESPropertiesSearchResult.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILEPROPERTIESPropertiesSearchResult #pragma mark - Constructors - (instancetype)initWithMatches:(NSArray *)matches cursor:(NSString *)cursor { [DBStoneValidators nonnullValidator:[DBStoneValidators arrayValidator:nil maxItems:nil itemValidator:[DBStoneValidators nonnullValidator:nil]]](matches); [DBStoneValidators nullableValidator:[DBStoneValidators stringValidator:@(1) maxLength:nil pattern:nil]](cursor); self = [super init]; if (self) { _matches = matches; _cursor = cursor; } return self; } - (instancetype)initWithMatches:(NSArray *)matches { return [self initWithMatches:matches cursor:nil]; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBFILEPROPERTIESPropertiesSearchResultSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILEPROPERTIESPropertiesSearchResultSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILEPROPERTIESPropertiesSearchResultSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.matches hash]; if (self.cursor != nil) { 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 isEqualToPropertiesSearchResult:other]; } - (BOOL)isEqualToPropertiesSearchResult:(DBFILEPROPERTIESPropertiesSearchResult *)aPropertiesSearchResult { if (self == aPropertiesSearchResult) { return YES; } if (![self.matches isEqual:aPropertiesSearchResult.matches]) { return NO; } if (self.cursor) { if (![self.cursor isEqual:aPropertiesSearchResult.cursor]) { return NO; } } return YES; } @end #pragma mark - Serializer Object @implementation DBFILEPROPERTIESPropertiesSearchResultSerializer + (NSDictionary *)serialize:(DBFILEPROPERTIESPropertiesSearchResult *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"matches"] = [DBArraySerializer serialize:valueObj.matches withBlock:^id(id elem0) { return [DBFILEPROPERTIESPropertiesSearchMatchSerializer serialize:elem0]; }]; if (valueObj.cursor) { jsonDict[@"cursor"] = valueObj.cursor; } return jsonDict; } + (DBFILEPROPERTIESPropertiesSearchResult *)deserialize:(NSDictionary *)valueDict { NSArray *matches = [DBArraySerializer deserialize:valueDict[@"matches"] withBlock:^id(id elem0) { return [DBFILEPROPERTIESPropertiesSearchMatchSerializer deserialize:elem0]; }]; NSString *cursor = valueDict[@"cursor"] ?: nil; return [[DBFILEPROPERTIESPropertiesSearchResult alloc] initWithMatches:matches cursor:cursor]; } @end #import "DBFILEPROPERTIESPropertyField.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILEPROPERTIESPropertyField #pragma mark - Constructors - (instancetype)initWithName:(NSString *)name value:(NSString *)value { [DBStoneValidators nonnullValidator:nil](name); [DBStoneValidators nonnullValidator:nil](value); self = [super init]; if (self) { _name = name; _value = value; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBFILEPROPERTIESPropertyFieldSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILEPROPERTIESPropertyFieldSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILEPROPERTIESPropertyFieldSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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.value hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToPropertyField:other]; } - (BOOL)isEqualToPropertyField:(DBFILEPROPERTIESPropertyField *)aPropertyField { if (self == aPropertyField) { return YES; } if (![self.name isEqual:aPropertyField.name]) { return NO; } if (![self.value isEqual:aPropertyField.value]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBFILEPROPERTIESPropertyFieldSerializer + (NSDictionary *)serialize:(DBFILEPROPERTIESPropertyField *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"name"] = valueObj.name; jsonDict[@"value"] = valueObj.value; return jsonDict; } + (DBFILEPROPERTIESPropertyField *)deserialize:(NSDictionary *)valueDict { NSString *name = valueDict[@"name"]; NSString *value = valueDict[@"value"]; return [[DBFILEPROPERTIESPropertyField alloc] initWithName:name value:value]; } @end #import "DBFILEPROPERTIESPropertyFieldTemplate.h" #import "DBFILEPROPERTIESPropertyType.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILEPROPERTIESPropertyFieldTemplate #pragma mark - Constructors - (instancetype)initWithName:(NSString *)name description_:(NSString *)description_ type:(DBFILEPROPERTIESPropertyType *)type { [DBStoneValidators nonnullValidator:nil](name); [DBStoneValidators nonnullValidator:nil](description_); [DBStoneValidators nonnullValidator:nil](type); self = [super init]; if (self) { _name = name; _description_ = description_; _type = type; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBFILEPROPERTIESPropertyFieldTemplateSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILEPROPERTIESPropertyFieldTemplateSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILEPROPERTIESPropertyFieldTemplateSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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.description_ hash]; result = prime * result + [self.type hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToPropertyFieldTemplate:other]; } - (BOOL)isEqualToPropertyFieldTemplate:(DBFILEPROPERTIESPropertyFieldTemplate *)aPropertyFieldTemplate { if (self == aPropertyFieldTemplate) { return YES; } if (![self.name isEqual:aPropertyFieldTemplate.name]) { return NO; } if (![self.description_ isEqual:aPropertyFieldTemplate.description_]) { return NO; } if (![self.type isEqual:aPropertyFieldTemplate.type]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBFILEPROPERTIESPropertyFieldTemplateSerializer + (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; } + (DBFILEPROPERTIESPropertyFieldTemplate *)deserialize:(NSDictionary *)valueDict { NSString *name = valueDict[@"name"]; NSString *description_ = valueDict[@"description"]; DBFILEPROPERTIESPropertyType *type = [DBFILEPROPERTIESPropertyTypeSerializer deserialize:valueDict[@"type"]]; return [[DBFILEPROPERTIESPropertyFieldTemplate alloc] initWithName:name description_:description_ type:type]; } @end #import "DBFILEPROPERTIESPropertyField.h" #import "DBFILEPROPERTIESPropertyGroup.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILEPROPERTIESPropertyGroup #pragma mark - Constructors - (instancetype)initWithTemplateId:(NSString *)templateId fields:(NSArray *)fields { [DBStoneValidators nonnullValidator:[DBStoneValidators stringValidator:@(1) maxLength:nil pattern:@"(/|ptid:).*"]](templateId); [DBStoneValidators nonnullValidator:[DBStoneValidators arrayValidator:nil maxItems:nil itemValidator:[DBStoneValidators nonnullValidator:nil]]](fields); self = [super init]; if (self) { _templateId = templateId; _fields = fields; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBFILEPROPERTIESPropertyGroupSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILEPROPERTIESPropertyGroupSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILEPROPERTIESPropertyGroupSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.templateId hash]; result = prime * result + [self.fields hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToPropertyGroup:other]; } - (BOOL)isEqualToPropertyGroup:(DBFILEPROPERTIESPropertyGroup *)aPropertyGroup { if (self == aPropertyGroup) { return YES; } if (![self.templateId isEqual:aPropertyGroup.templateId]) { return NO; } if (![self.fields isEqual:aPropertyGroup.fields]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBFILEPROPERTIESPropertyGroupSerializer + (NSDictionary *)serialize:(DBFILEPROPERTIESPropertyGroup *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"template_id"] = valueObj.templateId; jsonDict[@"fields"] = [DBArraySerializer serialize:valueObj.fields withBlock:^id(id elem0) { return [DBFILEPROPERTIESPropertyFieldSerializer serialize:elem0]; }]; return jsonDict; } + (DBFILEPROPERTIESPropertyGroup *)deserialize:(NSDictionary *)valueDict { NSString *templateId = valueDict[@"template_id"]; NSArray *fields = [DBArraySerializer deserialize:valueDict[@"fields"] withBlock:^id(id elem0) { return [DBFILEPROPERTIESPropertyFieldSerializer deserialize:elem0]; }]; return [[DBFILEPROPERTIESPropertyGroup alloc] initWithTemplateId:templateId fields:fields]; } @end #import "DBFILEPROPERTIESPropertyField.h" #import "DBFILEPROPERTIESPropertyGroupUpdate.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILEPROPERTIESPropertyGroupUpdate #pragma mark - Constructors - (instancetype)initWithTemplateId:(NSString *)templateId addOrUpdateFields:(NSArray *)addOrUpdateFields removeFields:(NSArray *)removeFields { [DBStoneValidators nonnullValidator:[DBStoneValidators stringValidator:@(1) maxLength:nil pattern:@"(/|ptid:).*"]](templateId); [DBStoneValidators nullableValidator:[DBStoneValidators arrayValidator:nil maxItems:nil itemValidator:[DBStoneValidators nonnullValidator:nil]]](addOrUpdateFields); [DBStoneValidators nullableValidator:[DBStoneValidators arrayValidator:nil maxItems:nil itemValidator:[DBStoneValidators nonnullValidator:nil]]](removeFields); self = [super init]; if (self) { _templateId = templateId; _addOrUpdateFields = addOrUpdateFields; _removeFields = removeFields; } return self; } - (instancetype)initWithTemplateId:(NSString *)templateId { return [self initWithTemplateId:templateId addOrUpdateFields:nil removeFields:nil]; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBFILEPROPERTIESPropertyGroupUpdateSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILEPROPERTIESPropertyGroupUpdateSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILEPROPERTIESPropertyGroupUpdateSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.templateId hash]; if (self.addOrUpdateFields != nil) { result = prime * result + [self.addOrUpdateFields hash]; } if (self.removeFields != nil) { result = prime * result + [self.removeFields hash]; } return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToPropertyGroupUpdate:other]; } - (BOOL)isEqualToPropertyGroupUpdate:(DBFILEPROPERTIESPropertyGroupUpdate *)aPropertyGroupUpdate { if (self == aPropertyGroupUpdate) { return YES; } if (![self.templateId isEqual:aPropertyGroupUpdate.templateId]) { return NO; } if (self.addOrUpdateFields) { if (![self.addOrUpdateFields isEqual:aPropertyGroupUpdate.addOrUpdateFields]) { return NO; } } if (self.removeFields) { if (![self.removeFields isEqual:aPropertyGroupUpdate.removeFields]) { return NO; } } return YES; } @end #pragma mark - Serializer Object @implementation DBFILEPROPERTIESPropertyGroupUpdateSerializer + (NSDictionary *)serialize:(DBFILEPROPERTIESPropertyGroupUpdate *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"template_id"] = valueObj.templateId; if (valueObj.addOrUpdateFields) { jsonDict[@"add_or_update_fields"] = [DBArraySerializer serialize:valueObj.addOrUpdateFields withBlock:^id(id elem0) { return [DBFILEPROPERTIESPropertyFieldSerializer serialize:elem0]; }]; } if (valueObj.removeFields) { jsonDict[@"remove_fields"] = [DBArraySerializer serialize:valueObj.removeFields withBlock:^id(id elem0) { return elem0; }]; } return jsonDict; } + (DBFILEPROPERTIESPropertyGroupUpdate *)deserialize:(NSDictionary *)valueDict { NSString *templateId = valueDict[@"template_id"]; NSArray *addOrUpdateFields = valueDict[@"add_or_update_fields"] ? [DBArraySerializer deserialize:valueDict[@"add_or_update_fields"] withBlock:^id(id elem0) { return [DBFILEPROPERTIESPropertyFieldSerializer deserialize:elem0]; }] : nil; NSArray *removeFields = valueDict[@"remove_fields"] ? [DBArraySerializer deserialize:valueDict[@"remove_fields"] withBlock:^id(id elem0) { return elem0; }] : nil; return [[DBFILEPROPERTIESPropertyGroupUpdate alloc] initWithTemplateId:templateId addOrUpdateFields:addOrUpdateFields removeFields:removeFields]; } @end #import "DBFILEPROPERTIESPropertyType.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILEPROPERTIESPropertyType #pragma mark - Constructors - (instancetype)initWithString { self = [super init]; if (self) { _tag = DBFILEPROPERTIESPropertyTypeString; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBFILEPROPERTIESPropertyTypeOther; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isString { return _tag == DBFILEPROPERTIESPropertyTypeString; } - (BOOL)isOther { return _tag == DBFILEPROPERTIESPropertyTypeOther; } - (NSString *)tagName { switch (_tag) { case DBFILEPROPERTIESPropertyTypeString: return @"DBFILEPROPERTIESPropertyTypeString"; case DBFILEPROPERTIESPropertyTypeOther: return @"DBFILEPROPERTIESPropertyTypeOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBFILEPROPERTIESPropertyTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILEPROPERTIESPropertyTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILEPROPERTIESPropertyTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 DBFILEPROPERTIESPropertyTypeString: result = prime * result + [[self tagName] hash]; break; case DBFILEPROPERTIESPropertyTypeOther: 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 isEqualToPropertyType:other]; } - (BOOL)isEqualToPropertyType:(DBFILEPROPERTIESPropertyType *)aPropertyType { if (self == aPropertyType) { return YES; } if (self.tag != aPropertyType.tag) { return NO; } switch (_tag) { case DBFILEPROPERTIESPropertyTypeString: return [[self tagName] isEqual:[aPropertyType tagName]]; case DBFILEPROPERTIESPropertyTypeOther: return [[self tagName] isEqual:[aPropertyType tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBFILEPROPERTIESPropertyTypeSerializer + (NSDictionary *)serialize:(DBFILEPROPERTIESPropertyType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isString]) { jsonDict[@".tag"] = @"string"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBFILEPROPERTIESPropertyType *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"string"]) { return [[DBFILEPROPERTIESPropertyType alloc] initWithString]; } else if ([tag isEqualToString:@"other"]) { return [[DBFILEPROPERTIESPropertyType alloc] initWithOther]; } else { return [[DBFILEPROPERTIESPropertyType alloc] initWithOther]; } } @end #import "DBFILEPROPERTIESRemovePropertiesArg.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILEPROPERTIESRemovePropertiesArg #pragma mark - Constructors - (instancetype)initWithPath:(NSString *)path propertyTemplateIds:(NSArray *)propertyTemplateIds { [DBStoneValidators nonnullValidator:[DBStoneValidators stringValidator:nil maxLength:nil pattern:@"/(.|[\\r\\n])*|id:.*|(ns:[0-9]+(/.*)?)"]](path); [DBStoneValidators nonnullValidator:[DBStoneValidators arrayValidator:nil maxItems:nil itemValidator:[DBStoneValidators nonnullValidator:[DBStoneValidators stringValidator:@(1) maxLength:nil pattern:@"(/|ptid:).*"]]]]( propertyTemplateIds); self = [super init]; if (self) { _path = path; _propertyTemplateIds = propertyTemplateIds; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBFILEPROPERTIESRemovePropertiesArgSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILEPROPERTIESRemovePropertiesArgSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILEPROPERTIESRemovePropertiesArgSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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.propertyTemplateIds hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToRemovePropertiesArg:other]; } - (BOOL)isEqualToRemovePropertiesArg:(DBFILEPROPERTIESRemovePropertiesArg *)aRemovePropertiesArg { if (self == aRemovePropertiesArg) { return YES; } if (![self.path isEqual:aRemovePropertiesArg.path]) { return NO; } if (![self.propertyTemplateIds isEqual:aRemovePropertiesArg.propertyTemplateIds]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBFILEPROPERTIESRemovePropertiesArgSerializer + (NSDictionary *)serialize:(DBFILEPROPERTIESRemovePropertiesArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"path"] = valueObj.path; jsonDict[@"property_template_ids"] = [DBArraySerializer serialize:valueObj.propertyTemplateIds withBlock:^id(id elem0) { return elem0; }]; return jsonDict; } + (DBFILEPROPERTIESRemovePropertiesArg *)deserialize:(NSDictionary *)valueDict { NSString *path = valueDict[@"path"]; NSArray *propertyTemplateIds = [DBArraySerializer deserialize:valueDict[@"property_template_ids"] withBlock:^id(id elem0) { return elem0; }]; return [[DBFILEPROPERTIESRemovePropertiesArg alloc] initWithPath:path propertyTemplateIds:propertyTemplateIds]; } @end #import "DBFILEPROPERTIESLookUpPropertiesError.h" #import "DBFILEPROPERTIESLookupError.h" #import "DBFILEPROPERTIESPropertiesError.h" #import "DBFILEPROPERTIESRemovePropertiesError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILEPROPERTIESRemovePropertiesError @synthesize templateNotFound = _templateNotFound; @synthesize path = _path; @synthesize propertyGroupLookup = _propertyGroupLookup; #pragma mark - Constructors - (instancetype)initWithTemplateNotFound:(NSString *)templateNotFound { self = [super init]; if (self) { _tag = DBFILEPROPERTIESRemovePropertiesErrorTemplateNotFound; _templateNotFound = templateNotFound; } return self; } - (instancetype)initWithRestrictedContent { self = [super init]; if (self) { _tag = DBFILEPROPERTIESRemovePropertiesErrorRestrictedContent; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBFILEPROPERTIESRemovePropertiesErrorOther; } return self; } - (instancetype)initWithPath:(DBFILEPROPERTIESLookupError *)path { self = [super init]; if (self) { _tag = DBFILEPROPERTIESRemovePropertiesErrorPath; _path = path; } return self; } - (instancetype)initWithUnsupportedFolder { self = [super init]; if (self) { _tag = DBFILEPROPERTIESRemovePropertiesErrorUnsupportedFolder; } return self; } - (instancetype)initWithPropertyGroupLookup:(DBFILEPROPERTIESLookUpPropertiesError *)propertyGroupLookup { self = [super init]; if (self) { _tag = DBFILEPROPERTIESRemovePropertiesErrorPropertyGroupLookup; _propertyGroupLookup = propertyGroupLookup; } return self; } #pragma mark - Instance field accessors - (NSString *)templateNotFound { if (![self isTemplateNotFound]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBFILEPROPERTIESRemovePropertiesErrorTemplateNotFound, but was %@.", [self tagName]]; } return _templateNotFound; } - (DBFILEPROPERTIESLookupError *)path { if (![self isPath]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBFILEPROPERTIESRemovePropertiesErrorPath, but was %@.", [self tagName]]; } return _path; } - (DBFILEPROPERTIESLookUpPropertiesError *)propertyGroupLookup { if (![self isPropertyGroupLookup]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBFILEPROPERTIESRemovePropertiesErrorPropertyGroupLookup, but was %@.", [self tagName]]; } return _propertyGroupLookup; } #pragma mark - Tag state methods - (BOOL)isTemplateNotFound { return _tag == DBFILEPROPERTIESRemovePropertiesErrorTemplateNotFound; } - (BOOL)isRestrictedContent { return _tag == DBFILEPROPERTIESRemovePropertiesErrorRestrictedContent; } - (BOOL)isOther { return _tag == DBFILEPROPERTIESRemovePropertiesErrorOther; } - (BOOL)isPath { return _tag == DBFILEPROPERTIESRemovePropertiesErrorPath; } - (BOOL)isUnsupportedFolder { return _tag == DBFILEPROPERTIESRemovePropertiesErrorUnsupportedFolder; } - (BOOL)isPropertyGroupLookup { return _tag == DBFILEPROPERTIESRemovePropertiesErrorPropertyGroupLookup; } - (NSString *)tagName { switch (_tag) { case DBFILEPROPERTIESRemovePropertiesErrorTemplateNotFound: return @"DBFILEPROPERTIESRemovePropertiesErrorTemplateNotFound"; case DBFILEPROPERTIESRemovePropertiesErrorRestrictedContent: return @"DBFILEPROPERTIESRemovePropertiesErrorRestrictedContent"; case DBFILEPROPERTIESRemovePropertiesErrorOther: return @"DBFILEPROPERTIESRemovePropertiesErrorOther"; case DBFILEPROPERTIESRemovePropertiesErrorPath: return @"DBFILEPROPERTIESRemovePropertiesErrorPath"; case DBFILEPROPERTIESRemovePropertiesErrorUnsupportedFolder: return @"DBFILEPROPERTIESRemovePropertiesErrorUnsupportedFolder"; case DBFILEPROPERTIESRemovePropertiesErrorPropertyGroupLookup: return @"DBFILEPROPERTIESRemovePropertiesErrorPropertyGroupLookup"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBFILEPROPERTIESRemovePropertiesErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILEPROPERTIESRemovePropertiesErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILEPROPERTIESRemovePropertiesErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToRemovePropertiesError:other]; } - (BOOL)isEqualToRemovePropertiesError:(DBFILEPROPERTIESRemovePropertiesError *)aRemovePropertiesError { if (self == aRemovePropertiesError) { return YES; } if (self.tag != aRemovePropertiesError.tag) { return NO; } switch (_tag) { case DBFILEPROPERTIESRemovePropertiesErrorTemplateNotFound: return [self.templateNotFound isEqual:aRemovePropertiesError.templateNotFound]; case DBFILEPROPERTIESRemovePropertiesErrorRestrictedContent: return [[self tagName] isEqual:[aRemovePropertiesError tagName]]; case DBFILEPROPERTIESRemovePropertiesErrorOther: return [[self tagName] isEqual:[aRemovePropertiesError tagName]]; case DBFILEPROPERTIESRemovePropertiesErrorPath: return [self.path isEqual:aRemovePropertiesError.path]; case DBFILEPROPERTIESRemovePropertiesErrorUnsupportedFolder: return [[self tagName] isEqual:[aRemovePropertiesError tagName]]; case DBFILEPROPERTIESRemovePropertiesErrorPropertyGroupLookup: return [self.propertyGroupLookup isEqual:aRemovePropertiesError.propertyGroupLookup]; } return YES; } @end #pragma mark - Serializer Object @implementation DBFILEPROPERTIESRemovePropertiesErrorSerializer + (NSDictionary *)serialize:(DBFILEPROPERTIESRemovePropertiesError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isTemplateNotFound]) { jsonDict[@"template_not_found"] = valueObj.templateNotFound; jsonDict[@".tag"] = @"template_not_found"; } else if ([valueObj isRestrictedContent]) { jsonDict[@".tag"] = @"restricted_content"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else if ([valueObj isPath]) { jsonDict[@"path"] = [[DBFILEPROPERTIESLookupErrorSerializer serialize:valueObj.path] mutableCopy]; jsonDict[@".tag"] = @"path"; } else if ([valueObj isUnsupportedFolder]) { jsonDict[@".tag"] = @"unsupported_folder"; } else if ([valueObj isPropertyGroupLookup]) { jsonDict[@"property_group_lookup"] = [[DBFILEPROPERTIESLookUpPropertiesErrorSerializer serialize:valueObj.propertyGroupLookup] mutableCopy]; jsonDict[@".tag"] = @"property_group_lookup"; } else { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBFILEPROPERTIESRemovePropertiesError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"template_not_found"]) { NSString *templateNotFound = valueDict[@"template_not_found"]; return [[DBFILEPROPERTIESRemovePropertiesError alloc] initWithTemplateNotFound:templateNotFound]; } else if ([tag isEqualToString:@"restricted_content"]) { return [[DBFILEPROPERTIESRemovePropertiesError alloc] initWithRestrictedContent]; } else if ([tag isEqualToString:@"other"]) { return [[DBFILEPROPERTIESRemovePropertiesError alloc] initWithOther]; } else if ([tag isEqualToString:@"path"]) { DBFILEPROPERTIESLookupError *path = [DBFILEPROPERTIESLookupErrorSerializer deserialize:valueDict[@"path"]]; return [[DBFILEPROPERTIESRemovePropertiesError alloc] initWithPath:path]; } else if ([tag isEqualToString:@"unsupported_folder"]) { return [[DBFILEPROPERTIESRemovePropertiesError alloc] initWithUnsupportedFolder]; } else if ([tag isEqualToString:@"property_group_lookup"]) { DBFILEPROPERTIESLookUpPropertiesError *propertyGroupLookup = [DBFILEPROPERTIESLookUpPropertiesErrorSerializer deserialize:valueDict[@"property_group_lookup"]]; return [[DBFILEPROPERTIESRemovePropertiesError alloc] initWithPropertyGroupLookup:propertyGroupLookup]; } else { return [[DBFILEPROPERTIESRemovePropertiesError alloc] initWithOther]; } } @end #import "DBFILEPROPERTIESRemoveTemplateArg.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILEPROPERTIESRemoveTemplateArg #pragma mark - Constructors - (instancetype)initWithTemplateId:(NSString *)templateId { [DBStoneValidators nonnullValidator:[DBStoneValidators stringValidator:@(1) maxLength:nil pattern:@"(/|ptid:).*"]](templateId); self = [super init]; if (self) { _templateId = templateId; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBFILEPROPERTIESRemoveTemplateArgSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILEPROPERTIESRemoveTemplateArgSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILEPROPERTIESRemoveTemplateArgSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.templateId hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToRemoveTemplateArg:other]; } - (BOOL)isEqualToRemoveTemplateArg:(DBFILEPROPERTIESRemoveTemplateArg *)aRemoveTemplateArg { if (self == aRemoveTemplateArg) { return YES; } if (![self.templateId isEqual:aRemoveTemplateArg.templateId]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBFILEPROPERTIESRemoveTemplateArgSerializer + (NSDictionary *)serialize:(DBFILEPROPERTIESRemoveTemplateArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"template_id"] = valueObj.templateId; return jsonDict; } + (DBFILEPROPERTIESRemoveTemplateArg *)deserialize:(NSDictionary *)valueDict { NSString *templateId = valueDict[@"template_id"]; return [[DBFILEPROPERTIESRemoveTemplateArg alloc] initWithTemplateId:templateId]; } @end #import "DBFILEPROPERTIESTemplateFilterBase.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILEPROPERTIESTemplateFilterBase @synthesize filterSome = _filterSome; #pragma mark - Constructors - (instancetype)initWithFilterSome:(NSArray *)filterSome { self = [super init]; if (self) { _tag = DBFILEPROPERTIESTemplateFilterBaseFilterSome; _filterSome = filterSome; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBFILEPROPERTIESTemplateFilterBaseOther; } return self; } #pragma mark - Instance field accessors - (NSArray *)filterSome { if (![self isFilterSome]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBFILEPROPERTIESTemplateFilterBaseFilterSome, but was %@.", [self tagName]]; } return _filterSome; } #pragma mark - Tag state methods - (BOOL)isFilterSome { return _tag == DBFILEPROPERTIESTemplateFilterBaseFilterSome; } - (BOOL)isOther { return _tag == DBFILEPROPERTIESTemplateFilterBaseOther; } - (NSString *)tagName { switch (_tag) { case DBFILEPROPERTIESTemplateFilterBaseFilterSome: return @"DBFILEPROPERTIESTemplateFilterBaseFilterSome"; case DBFILEPROPERTIESTemplateFilterBaseOther: return @"DBFILEPROPERTIESTemplateFilterBaseOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBFILEPROPERTIESTemplateFilterBaseSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILEPROPERTIESTemplateFilterBaseSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILEPROPERTIESTemplateFilterBaseSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 DBFILEPROPERTIESTemplateFilterBaseFilterSome: result = prime * result + [self.filterSome hash]; break; case DBFILEPROPERTIESTemplateFilterBaseOther: 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 isEqualToTemplateFilterBase:other]; } - (BOOL)isEqualToTemplateFilterBase:(DBFILEPROPERTIESTemplateFilterBase *)aTemplateFilterBase { if (self == aTemplateFilterBase) { return YES; } if (self.tag != aTemplateFilterBase.tag) { return NO; } switch (_tag) { case DBFILEPROPERTIESTemplateFilterBaseFilterSome: return [self.filterSome isEqual:aTemplateFilterBase.filterSome]; case DBFILEPROPERTIESTemplateFilterBaseOther: return [[self tagName] isEqual:[aTemplateFilterBase tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBFILEPROPERTIESTemplateFilterBaseSerializer + (NSDictionary *)serialize:(DBFILEPROPERTIESTemplateFilterBase *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isFilterSome]) { jsonDict[@"filter_some"] = [DBArraySerializer serialize:valueObj.filterSome withBlock:^id(id elem0) { return elem0; }]; jsonDict[@".tag"] = @"filter_some"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBFILEPROPERTIESTemplateFilterBase *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"filter_some"]) { NSArray *filterSome = [DBArraySerializer deserialize:valueDict[@"filter_some"] withBlock:^id(id elem0) { return elem0; }]; return [[DBFILEPROPERTIESTemplateFilterBase alloc] initWithFilterSome:filterSome]; } else if ([tag isEqualToString:@"other"]) { return [[DBFILEPROPERTIESTemplateFilterBase alloc] initWithOther]; } else { return [[DBFILEPROPERTIESTemplateFilterBase alloc] initWithOther]; } } @end #import "DBFILEPROPERTIESTemplateFilter.h" #import "DBFILEPROPERTIESTemplateFilterBase.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILEPROPERTIESTemplateFilter @synthesize filterSome = _filterSome; #pragma mark - Constructors - (instancetype)initWithFilterSome:(NSArray *)filterSome { self = [super init]; if (self) { _tag = DBFILEPROPERTIESTemplateFilterFilterSome; _filterSome = filterSome; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBFILEPROPERTIESTemplateFilterOther; } return self; } - (instancetype)initWithFilterNone { self = [super init]; if (self) { _tag = DBFILEPROPERTIESTemplateFilterFilterNone; } return self; } #pragma mark - Instance field accessors - (NSArray *)filterSome { if (![self isFilterSome]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBFILEPROPERTIESTemplateFilterFilterSome, but was %@.", [self tagName]]; } return _filterSome; } #pragma mark - Tag state methods - (BOOL)isFilterSome { return _tag == DBFILEPROPERTIESTemplateFilterFilterSome; } - (BOOL)isOther { return _tag == DBFILEPROPERTIESTemplateFilterOther; } - (BOOL)isFilterNone { return _tag == DBFILEPROPERTIESTemplateFilterFilterNone; } - (NSString *)tagName { switch (_tag) { case DBFILEPROPERTIESTemplateFilterFilterSome: return @"DBFILEPROPERTIESTemplateFilterFilterSome"; case DBFILEPROPERTIESTemplateFilterOther: return @"DBFILEPROPERTIESTemplateFilterOther"; case DBFILEPROPERTIESTemplateFilterFilterNone: return @"DBFILEPROPERTIESTemplateFilterFilterNone"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBFILEPROPERTIESTemplateFilterSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILEPROPERTIESTemplateFilterSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILEPROPERTIESTemplateFilterSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToTemplateFilter:other]; } - (BOOL)isEqualToTemplateFilter:(DBFILEPROPERTIESTemplateFilter *)aTemplateFilter { if (self == aTemplateFilter) { return YES; } if (self.tag != aTemplateFilter.tag) { return NO; } switch (_tag) { case DBFILEPROPERTIESTemplateFilterFilterSome: return [self.filterSome isEqual:aTemplateFilter.filterSome]; case DBFILEPROPERTIESTemplateFilterOther: return [[self tagName] isEqual:[aTemplateFilter tagName]]; case DBFILEPROPERTIESTemplateFilterFilterNone: return [[self tagName] isEqual:[aTemplateFilter tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBFILEPROPERTIESTemplateFilterSerializer + (NSDictionary *)serialize:(DBFILEPROPERTIESTemplateFilter *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isFilterSome]) { jsonDict[@"filter_some"] = [DBArraySerializer serialize:valueObj.filterSome withBlock:^id(id elem0) { return elem0; }]; jsonDict[@".tag"] = @"filter_some"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else if ([valueObj isFilterNone]) { jsonDict[@".tag"] = @"filter_none"; } else { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBFILEPROPERTIESTemplateFilter *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"filter_some"]) { NSArray *filterSome = [DBArraySerializer deserialize:valueDict[@"filter_some"] withBlock:^id(id elem0) { return elem0; }]; return [[DBFILEPROPERTIESTemplateFilter alloc] initWithFilterSome:filterSome]; } else if ([tag isEqualToString:@"other"]) { return [[DBFILEPROPERTIESTemplateFilter alloc] initWithOther]; } else if ([tag isEqualToString:@"filter_none"]) { return [[DBFILEPROPERTIESTemplateFilter alloc] initWithFilterNone]; } else { return [[DBFILEPROPERTIESTemplateFilter alloc] initWithOther]; } } @end #import "DBFILEPROPERTIESTemplateOwnerType.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILEPROPERTIESTemplateOwnerType #pragma mark - Constructors - (instancetype)initWithUser { self = [super init]; if (self) { _tag = DBFILEPROPERTIESTemplateOwnerTypeUser; } return self; } - (instancetype)initWithTeam { self = [super init]; if (self) { _tag = DBFILEPROPERTIESTemplateOwnerTypeTeam; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBFILEPROPERTIESTemplateOwnerTypeOther; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isUser { return _tag == DBFILEPROPERTIESTemplateOwnerTypeUser; } - (BOOL)isTeam { return _tag == DBFILEPROPERTIESTemplateOwnerTypeTeam; } - (BOOL)isOther { return _tag == DBFILEPROPERTIESTemplateOwnerTypeOther; } - (NSString *)tagName { switch (_tag) { case DBFILEPROPERTIESTemplateOwnerTypeUser: return @"DBFILEPROPERTIESTemplateOwnerTypeUser"; case DBFILEPROPERTIESTemplateOwnerTypeTeam: return @"DBFILEPROPERTIESTemplateOwnerTypeTeam"; case DBFILEPROPERTIESTemplateOwnerTypeOther: return @"DBFILEPROPERTIESTemplateOwnerTypeOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBFILEPROPERTIESTemplateOwnerTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILEPROPERTIESTemplateOwnerTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILEPROPERTIESTemplateOwnerTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToTemplateOwnerType:other]; } - (BOOL)isEqualToTemplateOwnerType:(DBFILEPROPERTIESTemplateOwnerType *)aTemplateOwnerType { if (self == aTemplateOwnerType) { return YES; } if (self.tag != aTemplateOwnerType.tag) { return NO; } switch (_tag) { case DBFILEPROPERTIESTemplateOwnerTypeUser: return [[self tagName] isEqual:[aTemplateOwnerType tagName]]; case DBFILEPROPERTIESTemplateOwnerTypeTeam: return [[self tagName] isEqual:[aTemplateOwnerType tagName]]; case DBFILEPROPERTIESTemplateOwnerTypeOther: return [[self tagName] isEqual:[aTemplateOwnerType tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBFILEPROPERTIESTemplateOwnerTypeSerializer + (NSDictionary *)serialize:(DBFILEPROPERTIESTemplateOwnerType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isUser]) { jsonDict[@".tag"] = @"user"; } else if ([valueObj isTeam]) { jsonDict[@".tag"] = @"team"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBFILEPROPERTIESTemplateOwnerType *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"user"]) { return [[DBFILEPROPERTIESTemplateOwnerType alloc] initWithUser]; } else if ([tag isEqualToString:@"team"]) { return [[DBFILEPROPERTIESTemplateOwnerType alloc] initWithTeam]; } else if ([tag isEqualToString:@"other"]) { return [[DBFILEPROPERTIESTemplateOwnerType alloc] initWithOther]; } else { return [[DBFILEPROPERTIESTemplateOwnerType alloc] initWithOther]; } } @end #import "DBFILEPROPERTIESPropertyGroupUpdate.h" #import "DBFILEPROPERTIESUpdatePropertiesArg.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILEPROPERTIESUpdatePropertiesArg #pragma mark - Constructors - (instancetype)initWithPath:(NSString *)path updatePropertyGroups:(NSArray *)updatePropertyGroups { [DBStoneValidators nonnullValidator:[DBStoneValidators stringValidator:nil maxLength:nil pattern:@"/(.|[\\r\\n])*|id:.*|(ns:[0-9]+(/.*)?)"]](path); [DBStoneValidators nonnullValidator:[DBStoneValidators arrayValidator:nil maxItems:nil itemValidator:[DBStoneValidators nonnullValidator:nil]]](updatePropertyGroups); self = [super init]; if (self) { _path = path; _updatePropertyGroups = updatePropertyGroups; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBFILEPROPERTIESUpdatePropertiesArgSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILEPROPERTIESUpdatePropertiesArgSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILEPROPERTIESUpdatePropertiesArgSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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.updatePropertyGroups hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToUpdatePropertiesArg:other]; } - (BOOL)isEqualToUpdatePropertiesArg:(DBFILEPROPERTIESUpdatePropertiesArg *)anUpdatePropertiesArg { if (self == anUpdatePropertiesArg) { return YES; } if (![self.path isEqual:anUpdatePropertiesArg.path]) { return NO; } if (![self.updatePropertyGroups isEqual:anUpdatePropertiesArg.updatePropertyGroups]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBFILEPROPERTIESUpdatePropertiesArgSerializer + (NSDictionary *)serialize:(DBFILEPROPERTIESUpdatePropertiesArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"path"] = valueObj.path; jsonDict[@"update_property_groups"] = [DBArraySerializer serialize:valueObj.updatePropertyGroups withBlock:^id(id elem0) { return [DBFILEPROPERTIESPropertyGroupUpdateSerializer serialize:elem0]; }]; return jsonDict; } + (DBFILEPROPERTIESUpdatePropertiesArg *)deserialize:(NSDictionary *)valueDict { NSString *path = valueDict[@"path"]; NSArray *updatePropertyGroups = [DBArraySerializer deserialize:valueDict[@"update_property_groups"] withBlock:^id(id elem0) { return [DBFILEPROPERTIESPropertyGroupUpdateSerializer deserialize:elem0]; }]; return [[DBFILEPROPERTIESUpdatePropertiesArg alloc] initWithPath:path updatePropertyGroups:updatePropertyGroups]; } @end #import "DBFILEPROPERTIESInvalidPropertyGroupError.h" #import "DBFILEPROPERTIESLookUpPropertiesError.h" #import "DBFILEPROPERTIESLookupError.h" #import "DBFILEPROPERTIESUpdatePropertiesError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILEPROPERTIESUpdatePropertiesError @synthesize templateNotFound = _templateNotFound; @synthesize path = _path; @synthesize propertyGroupLookup = _propertyGroupLookup; #pragma mark - Constructors - (instancetype)initWithTemplateNotFound:(NSString *)templateNotFound { self = [super init]; if (self) { _tag = DBFILEPROPERTIESUpdatePropertiesErrorTemplateNotFound; _templateNotFound = templateNotFound; } return self; } - (instancetype)initWithRestrictedContent { self = [super init]; if (self) { _tag = DBFILEPROPERTIESUpdatePropertiesErrorRestrictedContent; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBFILEPROPERTIESUpdatePropertiesErrorOther; } return self; } - (instancetype)initWithPath:(DBFILEPROPERTIESLookupError *)path { self = [super init]; if (self) { _tag = DBFILEPROPERTIESUpdatePropertiesErrorPath; _path = path; } return self; } - (instancetype)initWithUnsupportedFolder { self = [super init]; if (self) { _tag = DBFILEPROPERTIESUpdatePropertiesErrorUnsupportedFolder; } return self; } - (instancetype)initWithPropertyFieldTooLarge { self = [super init]; if (self) { _tag = DBFILEPROPERTIESUpdatePropertiesErrorPropertyFieldTooLarge; } return self; } - (instancetype)initWithDoesNotFitTemplate { self = [super init]; if (self) { _tag = DBFILEPROPERTIESUpdatePropertiesErrorDoesNotFitTemplate; } return self; } - (instancetype)initWithDuplicatePropertyGroups { self = [super init]; if (self) { _tag = DBFILEPROPERTIESUpdatePropertiesErrorDuplicatePropertyGroups; } return self; } - (instancetype)initWithPropertyGroupLookup:(DBFILEPROPERTIESLookUpPropertiesError *)propertyGroupLookup { self = [super init]; if (self) { _tag = DBFILEPROPERTIESUpdatePropertiesErrorPropertyGroupLookup; _propertyGroupLookup = propertyGroupLookup; } return self; } #pragma mark - Instance field accessors - (NSString *)templateNotFound { if (![self isTemplateNotFound]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBFILEPROPERTIESUpdatePropertiesErrorTemplateNotFound, but was %@.", [self tagName]]; } return _templateNotFound; } - (DBFILEPROPERTIESLookupError *)path { if (![self isPath]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBFILEPROPERTIESUpdatePropertiesErrorPath, but was %@.", [self tagName]]; } return _path; } - (DBFILEPROPERTIESLookUpPropertiesError *)propertyGroupLookup { if (![self isPropertyGroupLookup]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBFILEPROPERTIESUpdatePropertiesErrorPropertyGroupLookup, but was %@.", [self tagName]]; } return _propertyGroupLookup; } #pragma mark - Tag state methods - (BOOL)isTemplateNotFound { return _tag == DBFILEPROPERTIESUpdatePropertiesErrorTemplateNotFound; } - (BOOL)isRestrictedContent { return _tag == DBFILEPROPERTIESUpdatePropertiesErrorRestrictedContent; } - (BOOL)isOther { return _tag == DBFILEPROPERTIESUpdatePropertiesErrorOther; } - (BOOL)isPath { return _tag == DBFILEPROPERTIESUpdatePropertiesErrorPath; } - (BOOL)isUnsupportedFolder { return _tag == DBFILEPROPERTIESUpdatePropertiesErrorUnsupportedFolder; } - (BOOL)isPropertyFieldTooLarge { return _tag == DBFILEPROPERTIESUpdatePropertiesErrorPropertyFieldTooLarge; } - (BOOL)isDoesNotFitTemplate { return _tag == DBFILEPROPERTIESUpdatePropertiesErrorDoesNotFitTemplate; } - (BOOL)isDuplicatePropertyGroups { return _tag == DBFILEPROPERTIESUpdatePropertiesErrorDuplicatePropertyGroups; } - (BOOL)isPropertyGroupLookup { return _tag == DBFILEPROPERTIESUpdatePropertiesErrorPropertyGroupLookup; } - (NSString *)tagName { switch (_tag) { case DBFILEPROPERTIESUpdatePropertiesErrorTemplateNotFound: return @"DBFILEPROPERTIESUpdatePropertiesErrorTemplateNotFound"; case DBFILEPROPERTIESUpdatePropertiesErrorRestrictedContent: return @"DBFILEPROPERTIESUpdatePropertiesErrorRestrictedContent"; case DBFILEPROPERTIESUpdatePropertiesErrorOther: return @"DBFILEPROPERTIESUpdatePropertiesErrorOther"; case DBFILEPROPERTIESUpdatePropertiesErrorPath: return @"DBFILEPROPERTIESUpdatePropertiesErrorPath"; case DBFILEPROPERTIESUpdatePropertiesErrorUnsupportedFolder: return @"DBFILEPROPERTIESUpdatePropertiesErrorUnsupportedFolder"; case DBFILEPROPERTIESUpdatePropertiesErrorPropertyFieldTooLarge: return @"DBFILEPROPERTIESUpdatePropertiesErrorPropertyFieldTooLarge"; case DBFILEPROPERTIESUpdatePropertiesErrorDoesNotFitTemplate: return @"DBFILEPROPERTIESUpdatePropertiesErrorDoesNotFitTemplate"; case DBFILEPROPERTIESUpdatePropertiesErrorDuplicatePropertyGroups: return @"DBFILEPROPERTIESUpdatePropertiesErrorDuplicatePropertyGroups"; case DBFILEPROPERTIESUpdatePropertiesErrorPropertyGroupLookup: return @"DBFILEPROPERTIESUpdatePropertiesErrorPropertyGroupLookup"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBFILEPROPERTIESUpdatePropertiesErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILEPROPERTIESUpdatePropertiesErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILEPROPERTIESUpdatePropertiesErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToUpdatePropertiesError:other]; } - (BOOL)isEqualToUpdatePropertiesError:(DBFILEPROPERTIESUpdatePropertiesError *)anUpdatePropertiesError { if (self == anUpdatePropertiesError) { return YES; } if (self.tag != anUpdatePropertiesError.tag) { return NO; } switch (_tag) { case DBFILEPROPERTIESUpdatePropertiesErrorTemplateNotFound: return [self.templateNotFound isEqual:anUpdatePropertiesError.templateNotFound]; case DBFILEPROPERTIESUpdatePropertiesErrorRestrictedContent: return [[self tagName] isEqual:[anUpdatePropertiesError tagName]]; case DBFILEPROPERTIESUpdatePropertiesErrorOther: return [[self tagName] isEqual:[anUpdatePropertiesError tagName]]; case DBFILEPROPERTIESUpdatePropertiesErrorPath: return [self.path isEqual:anUpdatePropertiesError.path]; case DBFILEPROPERTIESUpdatePropertiesErrorUnsupportedFolder: return [[self tagName] isEqual:[anUpdatePropertiesError tagName]]; case DBFILEPROPERTIESUpdatePropertiesErrorPropertyFieldTooLarge: 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]; } return YES; } @end #pragma mark - Serializer Object @implementation DBFILEPROPERTIESUpdatePropertiesErrorSerializer + (NSDictionary *)serialize:(DBFILEPROPERTIESUpdatePropertiesError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isTemplateNotFound]) { jsonDict[@"template_not_found"] = valueObj.templateNotFound; jsonDict[@".tag"] = @"template_not_found"; } else if ([valueObj isRestrictedContent]) { jsonDict[@".tag"] = @"restricted_content"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else if ([valueObj isPath]) { jsonDict[@"path"] = [[DBFILEPROPERTIESLookupErrorSerializer serialize:valueObj.path] mutableCopy]; jsonDict[@".tag"] = @"path"; } else if ([valueObj isUnsupportedFolder]) { jsonDict[@".tag"] = @"unsupported_folder"; } else if ([valueObj isPropertyFieldTooLarge]) { 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]; jsonDict[@".tag"] = @"property_group_lookup"; } else { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBFILEPROPERTIESUpdatePropertiesError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"template_not_found"]) { NSString *templateNotFound = valueDict[@"template_not_found"]; return [[DBFILEPROPERTIESUpdatePropertiesError alloc] initWithTemplateNotFound:templateNotFound]; } else if ([tag isEqualToString:@"restricted_content"]) { return [[DBFILEPROPERTIESUpdatePropertiesError alloc] initWithRestrictedContent]; } else if ([tag isEqualToString:@"other"]) { return [[DBFILEPROPERTIESUpdatePropertiesError alloc] initWithOther]; } else if ([tag isEqualToString:@"path"]) { DBFILEPROPERTIESLookupError *path = [DBFILEPROPERTIESLookupErrorSerializer deserialize:valueDict[@"path"]]; return [[DBFILEPROPERTIESUpdatePropertiesError alloc] initWithPath:path]; } else if ([tag isEqualToString:@"unsupported_folder"]) { return [[DBFILEPROPERTIESUpdatePropertiesError alloc] initWithUnsupportedFolder]; } else if ([tag isEqualToString:@"property_field_too_large"]) { 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"]]; return [[DBFILEPROPERTIESUpdatePropertiesError alloc] initWithPropertyGroupLookup:propertyGroupLookup]; } else { return [[DBFILEPROPERTIESUpdatePropertiesError alloc] initWithOther]; } } @end #import "DBFILEPROPERTIESPropertyFieldTemplate.h" #import "DBFILEPROPERTIESUpdateTemplateArg.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILEPROPERTIESUpdateTemplateArg #pragma mark - Constructors - (instancetype)initWithTemplateId:(NSString *)templateId name:(NSString *)name description_:(NSString *)description_ addFields:(NSArray *)addFields { [DBStoneValidators nonnullValidator:[DBStoneValidators stringValidator:@(1) maxLength:nil pattern:@"(/|ptid:).*"]](templateId); [DBStoneValidators nullableValidator:[DBStoneValidators arrayValidator:nil maxItems:nil itemValidator:[DBStoneValidators nonnullValidator:nil]]](addFields); self = [super init]; if (self) { _templateId = templateId; _name = name; _description_ = description_; _addFields = addFields; } return self; } - (instancetype)initWithTemplateId:(NSString *)templateId { return [self initWithTemplateId:templateId name:nil description_:nil addFields:nil]; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBFILEPROPERTIESUpdateTemplateArgSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILEPROPERTIESUpdateTemplateArgSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILEPROPERTIESUpdateTemplateArgSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.templateId hash]; if (self.name != nil) { result = prime * result + [self.name hash]; } if (self.description_ != nil) { result = prime * result + [self.description_ hash]; } if (self.addFields != nil) { result = prime * result + [self.addFields hash]; } return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToUpdateTemplateArg:other]; } - (BOOL)isEqualToUpdateTemplateArg:(DBFILEPROPERTIESUpdateTemplateArg *)anUpdateTemplateArg { if (self == anUpdateTemplateArg) { return YES; } if (![self.templateId isEqual:anUpdateTemplateArg.templateId]) { return NO; } if (self.name) { if (![self.name isEqual:anUpdateTemplateArg.name]) { return NO; } } if (self.description_) { if (![self.description_ isEqual:anUpdateTemplateArg.description_]) { return NO; } } if (self.addFields) { if (![self.addFields isEqual:anUpdateTemplateArg.addFields]) { return NO; } } return YES; } @end #pragma mark - Serializer Object @implementation DBFILEPROPERTIESUpdateTemplateArgSerializer + (NSDictionary *)serialize:(DBFILEPROPERTIESUpdateTemplateArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"template_id"] = valueObj.templateId; if (valueObj.name) { jsonDict[@"name"] = valueObj.name; } if (valueObj.description_) { jsonDict[@"description"] = valueObj.description_; } if (valueObj.addFields) { jsonDict[@"add_fields"] = [DBArraySerializer serialize:valueObj.addFields withBlock:^id(id elem0) { return [DBFILEPROPERTIESPropertyFieldTemplateSerializer serialize:elem0]; }]; } return jsonDict; } + (DBFILEPROPERTIESUpdateTemplateArg *)deserialize:(NSDictionary *)valueDict { NSString *templateId = valueDict[@"template_id"]; NSString *name = valueDict[@"name"] ?: nil; NSString *description_ = valueDict[@"description"] ?: nil; NSArray *addFields = valueDict[@"add_fields"] ? [DBArraySerializer deserialize:valueDict[@"add_fields"] withBlock:^id(id elem0) { return [DBFILEPROPERTIESPropertyFieldTemplateSerializer deserialize:elem0]; }] : nil; return [[DBFILEPROPERTIESUpdateTemplateArg alloc] initWithTemplateId:templateId name:name description_:description_ addFields:addFields]; } @end #import "DBFILEPROPERTIESUpdateTemplateResult.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILEPROPERTIESUpdateTemplateResult #pragma mark - Constructors - (instancetype)initWithTemplateId:(NSString *)templateId { [DBStoneValidators nonnullValidator:[DBStoneValidators stringValidator:@(1) maxLength:nil pattern:@"(/|ptid:).*"]](templateId); self = [super init]; if (self) { _templateId = templateId; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBFILEPROPERTIESUpdateTemplateResultSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILEPROPERTIESUpdateTemplateResultSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILEPROPERTIESUpdateTemplateResultSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.templateId hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToUpdateTemplateResult:other]; } - (BOOL)isEqualToUpdateTemplateResult:(DBFILEPROPERTIESUpdateTemplateResult *)anUpdateTemplateResult { if (self == anUpdateTemplateResult) { return YES; } if (![self.templateId isEqual:anUpdateTemplateResult.templateId]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBFILEPROPERTIESUpdateTemplateResultSerializer + (NSDictionary *)serialize:(DBFILEPROPERTIESUpdateTemplateResult *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"template_id"] = valueObj.templateId; return jsonDict; } + (DBFILEPROPERTIESUpdateTemplateResult *)deserialize:(NSDictionary *)valueDict { NSString *templateId = valueDict[@"template_id"]; return [[DBFILEPROPERTIESUpdateTemplateResult alloc] initWithTemplateId:templateId]; } @end ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESAddPropertiesArg.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILEPROPERTIESAddPropertiesArg; @class DBFILEPROPERTIESPropertyGroup; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `AddPropertiesArg` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILEPROPERTIESAddPropertiesArg : NSObject #pragma mark - Instance fields /// 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. No two groups /// in the input should refer to the same template. @property (nonatomic, readonly) NSArray *propertyGroups; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param path A unique identifier for the file or folder. /// @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 An initialized instance. /// - (instancetype)initWithPath:(NSString *)path propertyGroups:(NSArray *)propertyGroups; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `AddPropertiesArg` struct. /// @interface DBFILEPROPERTIESAddPropertiesArgSerializer : NSObject /// /// Serializes `DBFILEPROPERTIESAddPropertiesArg` instances. /// /// @param instance An instance of the `DBFILEPROPERTIESAddPropertiesArg` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBFILEPROPERTIESAddPropertiesArg` API object. /// + (nullable NSDictionary *)serialize:(DBFILEPROPERTIESAddPropertiesArg *)instance; /// /// Deserializes `DBFILEPROPERTIESAddPropertiesArg` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILEPROPERTIESAddPropertiesArg` API object. /// /// @return An instantiation of the `DBFILEPROPERTIESAddPropertiesArg` object. /// + (DBFILEPROPERTIESAddPropertiesArg *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESAddPropertiesError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILEPROPERTIESAddPropertiesError; @class DBFILEPROPERTIESLookupError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `AddPropertiesError` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILEPROPERTIESAddPropertiesError : NSObject #pragma mark - Instance fields /// The `DBFILEPROPERTIESAddPropertiesErrorTag` enum type represents the /// possible tag states with which the `DBFILEPROPERTIESAddPropertiesError` /// union can exist. 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, /// (no description). DBFILEPROPERTIESAddPropertiesErrorOther, /// (no description). DBFILEPROPERTIESAddPropertiesErrorPath, /// 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 fields does not conform to the /// template specifications. DBFILEPROPERTIESAddPropertiesErrorDoesNotFitTemplate, /// 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, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBFILEPROPERTIESAddPropertiesErrorTag tag; /// Template does not exist for the given identifier. @note Ensure the /// `isTemplateNotFound` method returns true before accessing, otherwise a /// runtime exception will be raised. @property (nonatomic, readonly, copy) NSString *templateNotFound; /// (no description). @note Ensure the `isPath` method returns true before /// accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) DBFILEPROPERTIESLookupError *path; #pragma mark - Constructors /// /// Initializes union class with tag state of "template_not_found". /// /// Description of the "template_not_found" tag state: Template does not exist /// for the given identifier. /// /// @param templateNotFound Template does not exist for the given identifier. /// /// @return An initialized instance. /// - (instancetype)initWithTemplateNotFound:(NSString *)templateNotFound; /// /// Initializes union class with tag state of "restricted_content". /// /// Description of the "restricted_content" tag state: You do not have /// permission to modify this template. /// /// @return An initialized instance. /// - (instancetype)initWithRestrictedContent; /// /// 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:(DBFILEPROPERTIESLookupError *)path; /// /// Initializes union class with tag state of "unsupported_folder". /// /// Description of the "unsupported_folder" tag state: This folder cannot be /// tagged. Tagging folders is not supported for team-owned templates. /// /// @return An initialized instance. /// - (instancetype)initWithUnsupportedFolder; /// /// Initializes union class with tag state of "property_field_too_large". /// /// Description of the "property_field_too_large" tag state: One or more of the /// supplied property field values is too large. /// /// @return An initialized instance. /// - (instancetype)initWithPropertyFieldTooLarge; /// /// Initializes union class with tag state of "does_not_fit_template". /// /// Description of the "does_not_fit_template" tag state: One or more of the /// supplied property fields does not conform to the template specifications. /// /// @return An initialized instance. /// - (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". /// /// Description of the "property_group_already_exists" tag state: A property /// group associated with this template and file already exists. /// /// @return An initialized instance. /// - (instancetype)initWithPropertyGroupAlreadyExists; - (instancetype)init NS_UNAVAILABLE; #pragma mark - Tag state methods /// /// Retrieves whether the union's current tag state has value /// "template_not_found". /// /// @note Call this method and ensure it returns true before accessing the /// `templateNotFound` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value /// "template_not_found". /// - (BOOL)isTemplateNotFound; /// /// Retrieves whether the union's current tag state has value /// "restricted_content". /// /// @return Whether the union's current tag state has value /// "restricted_content". /// - (BOOL)isRestrictedContent; /// /// 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 /// "unsupported_folder". /// /// @return Whether the union's current tag state has value /// "unsupported_folder". /// - (BOOL)isUnsupportedFolder; /// /// Retrieves whether the union's current tag state has value /// "property_field_too_large". /// /// @return Whether the union's current tag state has value /// "property_field_too_large". /// - (BOOL)isPropertyFieldTooLarge; /// /// Retrieves whether the union's current tag state has value /// "does_not_fit_template". /// /// @return Whether the union's current tag state has value /// "does_not_fit_template". /// - (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". /// /// @return Whether the union's current tag state has value /// "property_group_already_exists". /// - (BOOL)isPropertyGroupAlreadyExists; /// /// 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 `DBFILEPROPERTIESAddPropertiesError` union. /// @interface DBFILEPROPERTIESAddPropertiesErrorSerializer : NSObject /// /// Serializes `DBFILEPROPERTIESAddPropertiesError` instances. /// /// @param instance An instance of the `DBFILEPROPERTIESAddPropertiesError` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBFILEPROPERTIESAddPropertiesError` API object. /// + (nullable NSDictionary *)serialize:(DBFILEPROPERTIESAddPropertiesError *)instance; /// /// Deserializes `DBFILEPROPERTIESAddPropertiesError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILEPROPERTIESAddPropertiesError` API object. /// /// @return An instantiation of the `DBFILEPROPERTIESAddPropertiesError` object. /// + (DBFILEPROPERTIESAddPropertiesError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESAddTemplateArg.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBFILEPROPERTIESPropertyGroupTemplate.h" #import "DBSerializableProtocol.h" @class DBFILEPROPERTIESAddTemplateArg; @class DBFILEPROPERTIESPropertyFieldTemplate; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `AddTemplateArg` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILEPROPERTIESAddTemplateArg : DBFILEPROPERTIESPropertyGroupTemplate #pragma mark - Instance fields #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param name Display name for the template. Template names can be up to 256 /// bytes. /// @param description_ Description for the template. Template descriptions can /// be up to 1024 bytes. /// @param fields Definitions of the property fields associated with this /// template. There can be up to 32 properties in a single template. /// /// @return An initialized instance. /// - (instancetype)initWithName:(NSString *)name description_:(NSString *)description_ fields:(NSArray *)fields; @end #pragma mark - Serializer Object /// /// The serialization class for the `AddTemplateArg` struct. /// @interface DBFILEPROPERTIESAddTemplateArgSerializer : NSObject /// /// Serializes `DBFILEPROPERTIESAddTemplateArg` instances. /// /// @param instance An instance of the `DBFILEPROPERTIESAddTemplateArg` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBFILEPROPERTIESAddTemplateArg` API object. /// + (nullable NSDictionary *)serialize:(DBFILEPROPERTIESAddTemplateArg *)instance; /// /// Deserializes `DBFILEPROPERTIESAddTemplateArg` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILEPROPERTIESAddTemplateArg` API object. /// /// @return An instantiation of the `DBFILEPROPERTIESAddTemplateArg` object. /// + (DBFILEPROPERTIESAddTemplateArg *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESAddTemplateResult.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILEPROPERTIESAddTemplateResult; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `AddTemplateResult` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILEPROPERTIESAddTemplateResult : NSObject #pragma mark - Instance fields /// An identifier for template added by See `templatesAddForUser` or /// `templatesAddForTeam`. @property (nonatomic, readonly, copy) NSString *templateId; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param templateId An identifier for template added by See /// `templatesAddForUser` or `templatesAddForTeam`. /// /// @return An initialized instance. /// - (instancetype)initWithTemplateId:(NSString *)templateId; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `AddTemplateResult` struct. /// @interface DBFILEPROPERTIESAddTemplateResultSerializer : NSObject /// /// Serializes `DBFILEPROPERTIESAddTemplateResult` instances. /// /// @param instance An instance of the `DBFILEPROPERTIESAddTemplateResult` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBFILEPROPERTIESAddTemplateResult` API object. /// + (nullable NSDictionary *)serialize:(DBFILEPROPERTIESAddTemplateResult *)instance; /// /// Deserializes `DBFILEPROPERTIESAddTemplateResult` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILEPROPERTIESAddTemplateResult` API object. /// /// @return An instantiation of the `DBFILEPROPERTIESAddTemplateResult` object. /// + (DBFILEPROPERTIESAddTemplateResult *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESGetTemplateArg.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILEPROPERTIESGetTemplateArg; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `GetTemplateArg` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILEPROPERTIESGetTemplateArg : NSObject #pragma mark - Instance fields /// An identifier for template added by route See `templatesAddForUser` or /// `templatesAddForTeam`. @property (nonatomic, readonly, copy) NSString *templateId; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param templateId An identifier for template added by route See /// `templatesAddForUser` or `templatesAddForTeam`. /// /// @return An initialized instance. /// - (instancetype)initWithTemplateId:(NSString *)templateId; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `GetTemplateArg` struct. /// @interface DBFILEPROPERTIESGetTemplateArgSerializer : NSObject /// /// Serializes `DBFILEPROPERTIESGetTemplateArg` instances. /// /// @param instance An instance of the `DBFILEPROPERTIESGetTemplateArg` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBFILEPROPERTIESGetTemplateArg` API object. /// + (nullable NSDictionary *)serialize:(DBFILEPROPERTIESGetTemplateArg *)instance; /// /// Deserializes `DBFILEPROPERTIESGetTemplateArg` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILEPROPERTIESGetTemplateArg` API object. /// /// @return An instantiation of the `DBFILEPROPERTIESGetTemplateArg` object. /// + (DBFILEPROPERTIESGetTemplateArg *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESGetTemplateResult.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBFILEPROPERTIESPropertyGroupTemplate.h" #import "DBSerializableProtocol.h" @class DBFILEPROPERTIESGetTemplateResult; @class DBFILEPROPERTIESPropertyFieldTemplate; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `GetTemplateResult` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILEPROPERTIESGetTemplateResult : DBFILEPROPERTIESPropertyGroupTemplate #pragma mark - Instance fields #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param name Display name for the template. Template names can be up to 256 /// bytes. /// @param description_ Description for the template. Template descriptions can /// be up to 1024 bytes. /// @param fields Definitions of the property fields associated with this /// template. There can be up to 32 properties in a single template. /// /// @return An initialized instance. /// - (instancetype)initWithName:(NSString *)name description_:(NSString *)description_ fields:(NSArray *)fields; @end #pragma mark - Serializer Object /// /// The serialization class for the `GetTemplateResult` struct. /// @interface DBFILEPROPERTIESGetTemplateResultSerializer : NSObject /// /// Serializes `DBFILEPROPERTIESGetTemplateResult` instances. /// /// @param instance An instance of the `DBFILEPROPERTIESGetTemplateResult` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBFILEPROPERTIESGetTemplateResult` API object. /// + (nullable NSDictionary *)serialize:(DBFILEPROPERTIESGetTemplateResult *)instance; /// /// Deserializes `DBFILEPROPERTIESGetTemplateResult` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILEPROPERTIESGetTemplateResult` API object. /// /// @return An instantiation of the `DBFILEPROPERTIESGetTemplateResult` object. /// + (DBFILEPROPERTIESGetTemplateResult *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESInvalidPropertyGroupError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILEPROPERTIESInvalidPropertyGroupError; @class DBFILEPROPERTIESLookupError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `InvalidPropertyGroupError` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILEPROPERTIESInvalidPropertyGroupError : NSObject #pragma mark - Instance fields /// The `DBFILEPROPERTIESInvalidPropertyGroupErrorTag` enum type represents the /// possible tag states with which the /// `DBFILEPROPERTIESInvalidPropertyGroupError` union can exist. 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, /// (no description). DBFILEPROPERTIESInvalidPropertyGroupErrorOther, /// (no description). DBFILEPROPERTIESInvalidPropertyGroupErrorPath, /// 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 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, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBFILEPROPERTIESInvalidPropertyGroupErrorTag tag; /// Template does not exist for the given identifier. @note Ensure the /// `isTemplateNotFound` method returns true before accessing, otherwise a /// runtime exception will be raised. @property (nonatomic, readonly, copy) NSString *templateNotFound; /// (no description). @note Ensure the `isPath` method returns true before /// accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) DBFILEPROPERTIESLookupError *path; #pragma mark - Constructors /// /// Initializes union class with tag state of "template_not_found". /// /// Description of the "template_not_found" tag state: Template does not exist /// for the given identifier. /// /// @param templateNotFound Template does not exist for the given identifier. /// /// @return An initialized instance. /// - (instancetype)initWithTemplateNotFound:(NSString *)templateNotFound; /// /// Initializes union class with tag state of "restricted_content". /// /// Description of the "restricted_content" tag state: You do not have /// permission to modify this template. /// /// @return An initialized instance. /// - (instancetype)initWithRestrictedContent; /// /// 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:(DBFILEPROPERTIESLookupError *)path; /// /// Initializes union class with tag state of "unsupported_folder". /// /// Description of the "unsupported_folder" tag state: This folder cannot be /// tagged. Tagging folders is not supported for team-owned templates. /// /// @return An initialized instance. /// - (instancetype)initWithUnsupportedFolder; /// /// Initializes union class with tag state of "property_field_too_large". /// /// Description of the "property_field_too_large" tag state: One or more of the /// supplied property field values is too large. /// /// @return An initialized instance. /// - (instancetype)initWithPropertyFieldTooLarge; /// /// Initializes union class with tag state of "does_not_fit_template". /// /// Description of the "does_not_fit_template" tag state: One or more of the /// supplied property fields does not conform to the template specifications. /// /// @return An initialized instance. /// - (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 /// /// Retrieves whether the union's current tag state has value /// "template_not_found". /// /// @note Call this method and ensure it returns true before accessing the /// `templateNotFound` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value /// "template_not_found". /// - (BOOL)isTemplateNotFound; /// /// Retrieves whether the union's current tag state has value /// "restricted_content". /// /// @return Whether the union's current tag state has value /// "restricted_content". /// - (BOOL)isRestrictedContent; /// /// 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 /// "unsupported_folder". /// /// @return Whether the union's current tag state has value /// "unsupported_folder". /// - (BOOL)isUnsupportedFolder; /// /// Retrieves whether the union's current tag state has value /// "property_field_too_large". /// /// @return Whether the union's current tag state has value /// "property_field_too_large". /// - (BOOL)isPropertyFieldTooLarge; /// /// Retrieves whether the union's current tag state has value /// "does_not_fit_template". /// /// @return Whether the union's current tag state has value /// "does_not_fit_template". /// - (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. /// /// @return A human-readable string representing the union's current tag state. /// - (NSString *)tagName; @end #pragma mark - Serializer Object /// /// The serialization class for the `DBFILEPROPERTIESInvalidPropertyGroupError` /// union. /// @interface DBFILEPROPERTIESInvalidPropertyGroupErrorSerializer : NSObject /// /// Serializes `DBFILEPROPERTIESInvalidPropertyGroupError` instances. /// /// @param instance An instance of the /// `DBFILEPROPERTIESInvalidPropertyGroupError` API object. /// /// @return A json-compatible dictionary representation of the /// `DBFILEPROPERTIESInvalidPropertyGroupError` API object. /// + (nullable NSDictionary *)serialize:(DBFILEPROPERTIESInvalidPropertyGroupError *)instance; /// /// Deserializes `DBFILEPROPERTIESInvalidPropertyGroupError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILEPROPERTIESInvalidPropertyGroupError` API object. /// /// @return An instantiation of the `DBFILEPROPERTIESInvalidPropertyGroupError` /// object. /// + (DBFILEPROPERTIESInvalidPropertyGroupError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESListTemplateResult.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILEPROPERTIESListTemplateResult; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `ListTemplateResult` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILEPROPERTIESListTemplateResult : NSObject #pragma mark - Instance fields /// List of identifiers for templates added by See `templatesAddForUser` or /// `templatesAddForTeam`. @property (nonatomic, readonly) NSArray *templateIds; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param templateIds List of identifiers for templates added by See /// `templatesAddForUser` or `templatesAddForTeam`. /// /// @return An initialized instance. /// - (instancetype)initWithTemplateIds:(NSArray *)templateIds; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `ListTemplateResult` struct. /// @interface DBFILEPROPERTIESListTemplateResultSerializer : NSObject /// /// Serializes `DBFILEPROPERTIESListTemplateResult` instances. /// /// @param instance An instance of the `DBFILEPROPERTIESListTemplateResult` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBFILEPROPERTIESListTemplateResult` API object. /// + (nullable NSDictionary *)serialize:(DBFILEPROPERTIESListTemplateResult *)instance; /// /// Deserializes `DBFILEPROPERTIESListTemplateResult` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILEPROPERTIESListTemplateResult` API object. /// /// @return An instantiation of the `DBFILEPROPERTIESListTemplateResult` object. /// + (DBFILEPROPERTIESListTemplateResult *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESLogicalOperator.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILEPROPERTIESLogicalOperator; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `LogicalOperator` union. /// /// Logical operator to join search queries together. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILEPROPERTIESLogicalOperator : NSObject #pragma mark - Instance fields /// The `DBFILEPROPERTIESLogicalOperatorTag` enum type represents the possible /// tag states with which the `DBFILEPROPERTIESLogicalOperator` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBFILEPROPERTIESLogicalOperatorTag){ /// Append a query with an "or" operator. DBFILEPROPERTIESLogicalOperatorOrOperator, /// (no description). DBFILEPROPERTIESLogicalOperatorOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBFILEPROPERTIESLogicalOperatorTag tag; #pragma mark - Constructors /// /// Initializes union class with tag state of "or_operator". /// /// Description of the "or_operator" tag state: Append a query with an "or" /// operator. /// /// @return An initialized instance. /// - (instancetype)initWithOrOperator; /// /// 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 "or_operator". /// /// @return Whether the union's current tag state has value "or_operator". /// - (BOOL)isOrOperator; /// /// 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 `DBFILEPROPERTIESLogicalOperator` union. /// @interface DBFILEPROPERTIESLogicalOperatorSerializer : NSObject /// /// Serializes `DBFILEPROPERTIESLogicalOperator` instances. /// /// @param instance An instance of the `DBFILEPROPERTIESLogicalOperator` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBFILEPROPERTIESLogicalOperator` API object. /// + (nullable NSDictionary *)serialize:(DBFILEPROPERTIESLogicalOperator *)instance; /// /// Deserializes `DBFILEPROPERTIESLogicalOperator` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILEPROPERTIESLogicalOperator` API object. /// /// @return An instantiation of the `DBFILEPROPERTIESLogicalOperator` object. /// + (DBFILEPROPERTIESLogicalOperator *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESLookUpPropertiesError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILEPROPERTIESLookUpPropertiesError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `LookUpPropertiesError` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILEPROPERTIESLookUpPropertiesError : NSObject #pragma mark - Instance fields /// The `DBFILEPROPERTIESLookUpPropertiesErrorTag` enum type represents the /// possible tag states with which the `DBFILEPROPERTIESLookUpPropertiesError` /// union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBFILEPROPERTIESLookUpPropertiesErrorTag){ /// No property group was found. DBFILEPROPERTIESLookUpPropertiesErrorPropertyGroupNotFound, /// (no description). DBFILEPROPERTIESLookUpPropertiesErrorOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBFILEPROPERTIESLookUpPropertiesErrorTag tag; #pragma mark - Constructors /// /// Initializes union class with tag state of "property_group_not_found". /// /// Description of the "property_group_not_found" tag state: No property group /// was found. /// /// @return An initialized instance. /// - (instancetype)initWithPropertyGroupNotFound; /// /// 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 /// "property_group_not_found". /// /// @return Whether the union's current tag state has value /// "property_group_not_found". /// - (BOOL)isPropertyGroupNotFound; /// /// 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 `DBFILEPROPERTIESLookUpPropertiesError` /// union. /// @interface DBFILEPROPERTIESLookUpPropertiesErrorSerializer : NSObject /// /// Serializes `DBFILEPROPERTIESLookUpPropertiesError` instances. /// /// @param instance An instance of the `DBFILEPROPERTIESLookUpPropertiesError` /// API object. /// /// @return A json-compatible dictionary representation of the /// `DBFILEPROPERTIESLookUpPropertiesError` API object. /// + (nullable NSDictionary *)serialize:(DBFILEPROPERTIESLookUpPropertiesError *)instance; /// /// Deserializes `DBFILEPROPERTIESLookUpPropertiesError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILEPROPERTIESLookUpPropertiesError` API object. /// /// @return An instantiation of the `DBFILEPROPERTIESLookUpPropertiesError` /// object. /// + (DBFILEPROPERTIESLookUpPropertiesError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESLookupError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILEPROPERTIESLookupError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `LookupError` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILEPROPERTIESLookupError : NSObject #pragma mark - Instance fields /// The `DBFILEPROPERTIESLookupErrorTag` enum type represents the possible tag /// states with which the `DBFILEPROPERTIESLookupError` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBFILEPROPERTIESLookupErrorTag){ /// (no description). DBFILEPROPERTIESLookupErrorMalformedPath, /// 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 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, we might restrict a file due to legal requirements. DBFILEPROPERTIESLookupErrorRestrictedContent, /// (no description). DBFILEPROPERTIESLookupErrorOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBFILEPROPERTIESLookupErrorTag tag; /// (no description). @note Ensure the `isMalformedPath` method returns true /// before accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly, copy) NSString *malformedPath; #pragma mark - Constructors /// /// Initializes union class with tag state of "malformed_path". /// /// @param malformedPath (no description). /// /// @return An initialized instance. /// - (instancetype)initWithMalformedPath:(NSString *)malformedPath; /// /// Initializes union class with tag state of "not_found". /// /// Description of the "not_found" tag state: There is nothing at the given /// path. /// /// @return An initialized instance. /// - (instancetype)initWithNotFound; /// /// Initializes union class with tag state of "not_file". /// /// Description of the "not_file" tag state: We were expecting a file, but the /// given path refers to something that isn't a file. /// /// @return An initialized instance. /// - (instancetype)initWithNotFile; /// /// Initializes union class with tag state of "not_folder". /// /// Description of the "not_folder" tag state: We were expecting a folder, but /// the given path refers to something that isn't a folder. /// /// @return An initialized instance. /// - (instancetype)initWithNotFolder; /// /// 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, we might /// restrict a file due to legal requirements. /// /// @return An initialized instance. /// - (instancetype)initWithRestrictedContent; /// /// 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_path". /// /// @note Call this method and ensure it returns true before accessing the /// `malformedPath` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value "malformed_path". /// - (BOOL)isMalformedPath; /// /// 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_file". /// /// @return Whether the union's current tag state has value "not_file". /// - (BOOL)isNotFile; /// /// Retrieves whether the union's current tag state has value "not_folder". /// /// @return Whether the union's current tag state has value "not_folder". /// - (BOOL)isNotFolder; /// /// Retrieves whether the union's current tag state has value /// "restricted_content". /// /// @return Whether the union's current tag state has value /// "restricted_content". /// - (BOOL)isRestrictedContent; /// /// 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 `DBFILEPROPERTIESLookupError` union. /// @interface DBFILEPROPERTIESLookupErrorSerializer : NSObject /// /// Serializes `DBFILEPROPERTIESLookupError` instances. /// /// @param instance An instance of the `DBFILEPROPERTIESLookupError` API object. /// /// @return A json-compatible dictionary representation of the /// `DBFILEPROPERTIESLookupError` API object. /// + (nullable NSDictionary *)serialize:(DBFILEPROPERTIESLookupError *)instance; /// /// Deserializes `DBFILEPROPERTIESLookupError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILEPROPERTIESLookupError` API object. /// /// @return An instantiation of the `DBFILEPROPERTIESLookupError` object. /// + (DBFILEPROPERTIESLookupError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESModifyTemplateError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILEPROPERTIESModifyTemplateError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `ModifyTemplateError` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILEPROPERTIESModifyTemplateError : NSObject #pragma mark - Instance fields /// The `DBFILEPROPERTIESModifyTemplateErrorTag` enum type represents the /// possible tag states with which the `DBFILEPROPERTIESModifyTemplateError` /// union can exist. 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, /// (no description). DBFILEPROPERTIESModifyTemplateErrorOther, /// 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 templates for the team. DBFILEPROPERTIESModifyTemplateErrorTooManyTemplates, /// The template name, description or one or more of the property field keys /// is too large. DBFILEPROPERTIESModifyTemplateErrorTemplateAttributeTooLarge, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBFILEPROPERTIESModifyTemplateErrorTag tag; /// Template does not exist for the given identifier. @note Ensure the /// `isTemplateNotFound` method returns true before accessing, otherwise a /// runtime exception will be raised. @property (nonatomic, readonly, copy) NSString *templateNotFound; #pragma mark - Constructors /// /// Initializes union class with tag state of "template_not_found". /// /// Description of the "template_not_found" tag state: Template does not exist /// for the given identifier. /// /// @param templateNotFound Template does not exist for the given identifier. /// /// @return An initialized instance. /// - (instancetype)initWithTemplateNotFound:(NSString *)templateNotFound; /// /// Initializes union class with tag state of "restricted_content". /// /// Description of the "restricted_content" tag state: You do not have /// permission to modify this template. /// /// @return An initialized instance. /// - (instancetype)initWithRestrictedContent; /// /// Initializes union class with tag state of "other". /// /// @return An initialized instance. /// - (instancetype)initWithOther; /// /// Initializes union class with tag state of "conflicting_property_names". /// /// Description of the "conflicting_property_names" tag state: A property field /// key with that name already exists in the template. /// /// @return An initialized instance. /// - (instancetype)initWithConflictingPropertyNames; /// /// Initializes union class with tag state of "too_many_properties". /// /// Description of the "too_many_properties" tag state: There are too many /// properties in the changed template. The maximum number of properties per /// template is 32. /// /// @return An initialized instance. /// - (instancetype)initWithTooManyProperties; /// /// Initializes union class with tag state of "too_many_templates". /// /// Description of the "too_many_templates" tag state: There are too many /// templates for the team. /// /// @return An initialized instance. /// - (instancetype)initWithTooManyTemplates; /// /// Initializes union class with tag state of "template_attribute_too_large". /// /// Description of the "template_attribute_too_large" tag state: The template /// name, description or one or more of the property field keys is too large. /// /// @return An initialized instance. /// - (instancetype)initWithTemplateAttributeTooLarge; - (instancetype)init NS_UNAVAILABLE; #pragma mark - Tag state methods /// /// Retrieves whether the union's current tag state has value /// "template_not_found". /// /// @note Call this method and ensure it returns true before accessing the /// `templateNotFound` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value /// "template_not_found". /// - (BOOL)isTemplateNotFound; /// /// Retrieves whether the union's current tag state has value /// "restricted_content". /// /// @return Whether the union's current tag state has value /// "restricted_content". /// - (BOOL)isRestrictedContent; /// /// 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 /// "conflicting_property_names". /// /// @return Whether the union's current tag state has value /// "conflicting_property_names". /// - (BOOL)isConflictingPropertyNames; /// /// Retrieves whether the union's current tag state has value /// "too_many_properties". /// /// @return Whether the union's current tag state has value /// "too_many_properties". /// - (BOOL)isTooManyProperties; /// /// Retrieves whether the union's current tag state has value /// "too_many_templates". /// /// @return Whether the union's current tag state has value /// "too_many_templates". /// - (BOOL)isTooManyTemplates; /// /// Retrieves whether the union's current tag state has value /// "template_attribute_too_large". /// /// @return Whether the union's current tag state has value /// "template_attribute_too_large". /// - (BOOL)isTemplateAttributeTooLarge; /// /// 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 `DBFILEPROPERTIESModifyTemplateError` union. /// @interface DBFILEPROPERTIESModifyTemplateErrorSerializer : NSObject /// /// Serializes `DBFILEPROPERTIESModifyTemplateError` instances. /// /// @param instance An instance of the `DBFILEPROPERTIESModifyTemplateError` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBFILEPROPERTIESModifyTemplateError` API object. /// + (nullable NSDictionary *)serialize:(DBFILEPROPERTIESModifyTemplateError *)instance; /// /// Deserializes `DBFILEPROPERTIESModifyTemplateError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILEPROPERTIESModifyTemplateError` API object. /// /// @return An instantiation of the `DBFILEPROPERTIESModifyTemplateError` /// object. /// + (DBFILEPROPERTIESModifyTemplateError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESOverwritePropertyGroupArg.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILEPROPERTIESOverwritePropertyGroupArg; @class DBFILEPROPERTIESPropertyGroup; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `OverwritePropertyGroupArg` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILEPROPERTIESOverwritePropertyGroupArg : NSObject #pragma mark - Instance fields /// A unique identifier for the file or folder. @property (nonatomic, readonly, copy) NSString *path; /// 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 /// /// Full constructor for the struct (exposes all instance variables). /// /// @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. /// - (instancetype)initWithPath:(NSString *)path propertyGroups:(NSArray *)propertyGroups; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `OverwritePropertyGroupArg` struct. /// @interface DBFILEPROPERTIESOverwritePropertyGroupArgSerializer : NSObject /// /// Serializes `DBFILEPROPERTIESOverwritePropertyGroupArg` instances. /// /// @param instance An instance of the /// `DBFILEPROPERTIESOverwritePropertyGroupArg` API object. /// /// @return A json-compatible dictionary representation of the /// `DBFILEPROPERTIESOverwritePropertyGroupArg` API object. /// + (nullable NSDictionary *)serialize:(DBFILEPROPERTIESOverwritePropertyGroupArg *)instance; /// /// Deserializes `DBFILEPROPERTIESOverwritePropertyGroupArg` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILEPROPERTIESOverwritePropertyGroupArg` API object. /// /// @return An instantiation of the `DBFILEPROPERTIESOverwritePropertyGroupArg` /// object. /// + (DBFILEPROPERTIESOverwritePropertyGroupArg *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESPropertiesError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILEPROPERTIESLookupError; @class DBFILEPROPERTIESPropertiesError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `PropertiesError` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILEPROPERTIESPropertiesError : NSObject #pragma mark - Instance fields /// The `DBFILEPROPERTIESPropertiesErrorTag` enum type represents the possible /// tag states with which the `DBFILEPROPERTIESPropertiesError` union can exist. 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, /// (no description). DBFILEPROPERTIESPropertiesErrorOther, /// (no description). DBFILEPROPERTIESPropertiesErrorPath, /// This folder cannot be tagged. Tagging folders is not supported for /// team-owned templates. DBFILEPROPERTIESPropertiesErrorUnsupportedFolder, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBFILEPROPERTIESPropertiesErrorTag tag; /// Template does not exist for the given identifier. @note Ensure the /// `isTemplateNotFound` method returns true before accessing, otherwise a /// runtime exception will be raised. @property (nonatomic, readonly, copy) NSString *templateNotFound; /// (no description). @note Ensure the `isPath` method returns true before /// accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) DBFILEPROPERTIESLookupError *path; #pragma mark - Constructors /// /// Initializes union class with tag state of "template_not_found". /// /// Description of the "template_not_found" tag state: Template does not exist /// for the given identifier. /// /// @param templateNotFound Template does not exist for the given identifier. /// /// @return An initialized instance. /// - (instancetype)initWithTemplateNotFound:(NSString *)templateNotFound; /// /// Initializes union class with tag state of "restricted_content". /// /// Description of the "restricted_content" tag state: You do not have /// permission to modify this template. /// /// @return An initialized instance. /// - (instancetype)initWithRestrictedContent; /// /// 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:(DBFILEPROPERTIESLookupError *)path; /// /// Initializes union class with tag state of "unsupported_folder". /// /// Description of the "unsupported_folder" tag state: This folder cannot be /// tagged. Tagging folders is not supported for team-owned templates. /// /// @return An initialized instance. /// - (instancetype)initWithUnsupportedFolder; - (instancetype)init NS_UNAVAILABLE; #pragma mark - Tag state methods /// /// Retrieves whether the union's current tag state has value /// "template_not_found". /// /// @note Call this method and ensure it returns true before accessing the /// `templateNotFound` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value /// "template_not_found". /// - (BOOL)isTemplateNotFound; /// /// Retrieves whether the union's current tag state has value /// "restricted_content". /// /// @return Whether the union's current tag state has value /// "restricted_content". /// - (BOOL)isRestrictedContent; /// /// 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 /// "unsupported_folder". /// /// @return Whether the union's current tag state has value /// "unsupported_folder". /// - (BOOL)isUnsupportedFolder; /// /// 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 `DBFILEPROPERTIESPropertiesError` union. /// @interface DBFILEPROPERTIESPropertiesErrorSerializer : NSObject /// /// Serializes `DBFILEPROPERTIESPropertiesError` instances. /// /// @param instance An instance of the `DBFILEPROPERTIESPropertiesError` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBFILEPROPERTIESPropertiesError` API object. /// + (nullable NSDictionary *)serialize:(DBFILEPROPERTIESPropertiesError *)instance; /// /// Deserializes `DBFILEPROPERTIESPropertiesError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILEPROPERTIESPropertiesError` API object. /// /// @return An instantiation of the `DBFILEPROPERTIESPropertiesError` object. /// + (DBFILEPROPERTIESPropertiesError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESPropertiesSearchArg.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILEPROPERTIESPropertiesSearchArg; @class DBFILEPROPERTIESPropertiesSearchQuery; @class DBFILEPROPERTIESTemplateFilter; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `PropertiesSearchArg` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILEPROPERTIESPropertiesSearchArg : NSObject #pragma mark - Instance fields /// Queries to search. @property (nonatomic, readonly) NSArray *queries; /// Filter results to contain only properties associated with these template /// IDs. @property (nonatomic, readonly) DBFILEPROPERTIESTemplateFilter *templateFilter; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param queries Queries to search. /// @param templateFilter Filter results to contain only properties associated /// with these template IDs. /// /// @return An initialized instance. /// - (instancetype)initWithQueries:(NSArray *)queries templateFilter:(nullable DBFILEPROPERTIESTemplateFilter *)templateFilter; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param queries Queries to search. /// /// @return An initialized instance. /// - (instancetype)initWithQueries:(NSArray *)queries; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `PropertiesSearchArg` struct. /// @interface DBFILEPROPERTIESPropertiesSearchArgSerializer : NSObject /// /// Serializes `DBFILEPROPERTIESPropertiesSearchArg` instances. /// /// @param instance An instance of the `DBFILEPROPERTIESPropertiesSearchArg` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBFILEPROPERTIESPropertiesSearchArg` API object. /// + (nullable NSDictionary *)serialize:(DBFILEPROPERTIESPropertiesSearchArg *)instance; /// /// Deserializes `DBFILEPROPERTIESPropertiesSearchArg` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILEPROPERTIESPropertiesSearchArg` API object. /// /// @return An instantiation of the `DBFILEPROPERTIESPropertiesSearchArg` /// object. /// + (DBFILEPROPERTIESPropertiesSearchArg *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESPropertiesSearchContinueArg.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILEPROPERTIESPropertiesSearchContinueArg; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `PropertiesSearchContinueArg` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILEPROPERTIESPropertiesSearchContinueArg : NSObject #pragma mark - Instance fields /// The cursor returned by your last call to `propertiesSearch` or /// `propertiesSearchContinue`. @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 `propertiesSearch` or /// `propertiesSearchContinue`. /// /// @return An initialized instance. /// - (instancetype)initWithCursor:(NSString *)cursor; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `PropertiesSearchContinueArg` struct. /// @interface DBFILEPROPERTIESPropertiesSearchContinueArgSerializer : NSObject /// /// Serializes `DBFILEPROPERTIESPropertiesSearchContinueArg` instances. /// /// @param instance An instance of the /// `DBFILEPROPERTIESPropertiesSearchContinueArg` API object. /// /// @return A json-compatible dictionary representation of the /// `DBFILEPROPERTIESPropertiesSearchContinueArg` API object. /// + (nullable NSDictionary *)serialize:(DBFILEPROPERTIESPropertiesSearchContinueArg *)instance; /// /// Deserializes `DBFILEPROPERTIESPropertiesSearchContinueArg` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILEPROPERTIESPropertiesSearchContinueArg` API object. /// /// @return An instantiation of the /// `DBFILEPROPERTIESPropertiesSearchContinueArg` object. /// + (DBFILEPROPERTIESPropertiesSearchContinueArg *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESPropertiesSearchContinueError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILEPROPERTIESPropertiesSearchContinueError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `PropertiesSearchContinueError` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILEPROPERTIESPropertiesSearchContinueError : NSObject #pragma mark - Instance fields /// The `DBFILEPROPERTIESPropertiesSearchContinueErrorTag` enum type represents /// the possible tag states with which the /// `DBFILEPROPERTIESPropertiesSearchContinueError` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBFILEPROPERTIESPropertiesSearchContinueErrorTag){ /// Indicates that the cursor has been invalidated. Call `propertiesSearch` /// to obtain a new cursor. DBFILEPROPERTIESPropertiesSearchContinueErrorReset, /// (no description). DBFILEPROPERTIESPropertiesSearchContinueErrorOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBFILEPROPERTIESPropertiesSearchContinueErrorTag tag; #pragma mark - Constructors /// /// Initializes union class with tag state of "reset". /// /// Description of the "reset" tag state: Indicates that the cursor has been /// invalidated. Call `propertiesSearch` 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 "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 /// `DBFILEPROPERTIESPropertiesSearchContinueError` union. /// @interface DBFILEPROPERTIESPropertiesSearchContinueErrorSerializer : NSObject /// /// Serializes `DBFILEPROPERTIESPropertiesSearchContinueError` instances. /// /// @param instance An instance of the /// `DBFILEPROPERTIESPropertiesSearchContinueError` API object. /// /// @return A json-compatible dictionary representation of the /// `DBFILEPROPERTIESPropertiesSearchContinueError` API object. /// + (nullable NSDictionary *)serialize:(DBFILEPROPERTIESPropertiesSearchContinueError *)instance; /// /// Deserializes `DBFILEPROPERTIESPropertiesSearchContinueError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILEPROPERTIESPropertiesSearchContinueError` API object. /// /// @return An instantiation of the /// `DBFILEPROPERTIESPropertiesSearchContinueError` object. /// + (DBFILEPROPERTIESPropertiesSearchContinueError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESPropertiesSearchError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILEPROPERTIESLookUpPropertiesError; @class DBFILEPROPERTIESPropertiesSearchError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `PropertiesSearchError` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILEPROPERTIESPropertiesSearchError : NSObject #pragma mark - Instance fields /// The `DBFILEPROPERTIESPropertiesSearchErrorTag` enum type represents the /// possible tag states with which the `DBFILEPROPERTIESPropertiesSearchError` /// union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBFILEPROPERTIESPropertiesSearchErrorTag){ /// (no description). DBFILEPROPERTIESPropertiesSearchErrorPropertyGroupLookup, /// (no description). DBFILEPROPERTIESPropertiesSearchErrorOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBFILEPROPERTIESPropertiesSearchErrorTag tag; /// (no description). @note Ensure the `isPropertyGroupLookup` method returns /// true before accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) DBFILEPROPERTIESLookUpPropertiesError *propertyGroupLookup; #pragma mark - Constructors /// /// Initializes union class with tag state of "property_group_lookup". /// /// @param propertyGroupLookup (no description). /// /// @return An initialized instance. /// - (instancetype)initWithPropertyGroupLookup:(DBFILEPROPERTIESLookUpPropertiesError *)propertyGroupLookup; /// /// 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 /// "property_group_lookup". /// /// @note Call this method and ensure it returns true before accessing the /// `propertyGroupLookup` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "property_group_lookup". /// - (BOOL)isPropertyGroupLookup; /// /// 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 `DBFILEPROPERTIESPropertiesSearchError` /// union. /// @interface DBFILEPROPERTIESPropertiesSearchErrorSerializer : NSObject /// /// Serializes `DBFILEPROPERTIESPropertiesSearchError` instances. /// /// @param instance An instance of the `DBFILEPROPERTIESPropertiesSearchError` /// API object. /// /// @return A json-compatible dictionary representation of the /// `DBFILEPROPERTIESPropertiesSearchError` API object. /// + (nullable NSDictionary *)serialize:(DBFILEPROPERTIESPropertiesSearchError *)instance; /// /// Deserializes `DBFILEPROPERTIESPropertiesSearchError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILEPROPERTIESPropertiesSearchError` API object. /// /// @return An instantiation of the `DBFILEPROPERTIESPropertiesSearchError` /// object. /// + (DBFILEPROPERTIESPropertiesSearchError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESPropertiesSearchMatch.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILEPROPERTIESPropertiesSearchMatch; @class DBFILEPROPERTIESPropertyGroup; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `PropertiesSearchMatch` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILEPROPERTIESPropertiesSearchMatch : NSObject #pragma mark - Instance fields /// The ID for the matched file or folder. @property (nonatomic, readonly, copy) NSString *id_; /// The path for the matched file or folder. @property (nonatomic, readonly, copy) NSString *path; /// Whether the file or folder is deleted. @property (nonatomic, readonly) NSNumber *isDeleted; /// List of custom property groups associated with the file. @property (nonatomic, readonly) NSArray *propertyGroups; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param id_ The ID for the matched file or folder. /// @param path The path for the matched file or folder. /// @param isDeleted Whether the file or folder is deleted. /// @param propertyGroups List of custom property groups associated with the /// file. /// /// @return An initialized instance. /// - (instancetype)initWithId_:(NSString *)id_ path:(NSString *)path isDeleted:(NSNumber *)isDeleted propertyGroups:(NSArray *)propertyGroups; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `PropertiesSearchMatch` struct. /// @interface DBFILEPROPERTIESPropertiesSearchMatchSerializer : NSObject /// /// Serializes `DBFILEPROPERTIESPropertiesSearchMatch` instances. /// /// @param instance An instance of the `DBFILEPROPERTIESPropertiesSearchMatch` /// API object. /// /// @return A json-compatible dictionary representation of the /// `DBFILEPROPERTIESPropertiesSearchMatch` API object. /// + (nullable NSDictionary *)serialize:(DBFILEPROPERTIESPropertiesSearchMatch *)instance; /// /// Deserializes `DBFILEPROPERTIESPropertiesSearchMatch` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILEPROPERTIESPropertiesSearchMatch` API object. /// /// @return An instantiation of the `DBFILEPROPERTIESPropertiesSearchMatch` /// object. /// + (DBFILEPROPERTIESPropertiesSearchMatch *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESPropertiesSearchMode.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILEPROPERTIESPropertiesSearchMode; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `PropertiesSearchMode` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILEPROPERTIESPropertiesSearchMode : NSObject #pragma mark - Instance fields /// The `DBFILEPROPERTIESPropertiesSearchModeTag` enum type represents the /// possible tag states with which the `DBFILEPROPERTIESPropertiesSearchMode` /// union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBFILEPROPERTIESPropertiesSearchModeTag){ /// Search for a value associated with this field name. DBFILEPROPERTIESPropertiesSearchModeFieldName, /// (no description). DBFILEPROPERTIESPropertiesSearchModeOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBFILEPROPERTIESPropertiesSearchModeTag tag; /// Search for a value associated with this field name. @note Ensure the /// `isFieldName` method returns true before accessing, otherwise a runtime /// exception will be raised. @property (nonatomic, readonly, copy) NSString *fieldName; #pragma mark - Constructors /// /// Initializes union class with tag state of "field_name". /// /// Description of the "field_name" tag state: Search for a value associated /// with this field name. /// /// @param fieldName Search for a value associated with this field name. /// /// @return An initialized instance. /// - (instancetype)initWithFieldName:(NSString *)fieldName; /// /// 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 "field_name". /// /// @note Call this method and ensure it returns true before accessing the /// `fieldName` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value "field_name". /// - (BOOL)isFieldName; /// /// 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 `DBFILEPROPERTIESPropertiesSearchMode` /// union. /// @interface DBFILEPROPERTIESPropertiesSearchModeSerializer : NSObject /// /// Serializes `DBFILEPROPERTIESPropertiesSearchMode` instances. /// /// @param instance An instance of the `DBFILEPROPERTIESPropertiesSearchMode` /// API object. /// /// @return A json-compatible dictionary representation of the /// `DBFILEPROPERTIESPropertiesSearchMode` API object. /// + (nullable NSDictionary *)serialize:(DBFILEPROPERTIESPropertiesSearchMode *)instance; /// /// Deserializes `DBFILEPROPERTIESPropertiesSearchMode` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILEPROPERTIESPropertiesSearchMode` API object. /// /// @return An instantiation of the `DBFILEPROPERTIESPropertiesSearchMode` /// object. /// + (DBFILEPROPERTIESPropertiesSearchMode *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESPropertiesSearchQuery.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILEPROPERTIESLogicalOperator; @class DBFILEPROPERTIESPropertiesSearchMode; @class DBFILEPROPERTIESPropertiesSearchQuery; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `PropertiesSearchQuery` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILEPROPERTIESPropertiesSearchQuery : NSObject #pragma mark - Instance fields /// The property field value for which to search across templates. @property (nonatomic, readonly, copy) NSString *query; /// The mode with which to perform the search. @property (nonatomic, readonly) DBFILEPROPERTIESPropertiesSearchMode *mode; /// The logical operator with which to append the query. @property (nonatomic, readonly) DBFILEPROPERTIESLogicalOperator *logicalOperator; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param query The property field value for which to search across templates. /// @param mode The mode with which to perform the search. /// @param logicalOperator The logical operator with which to append the query. /// /// @return An initialized instance. /// - (instancetype)initWithQuery:(NSString *)query mode:(DBFILEPROPERTIESPropertiesSearchMode *)mode logicalOperator:(nullable DBFILEPROPERTIESLogicalOperator *)logicalOperator; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param query The property field value for which to search across templates. /// @param mode The mode with which to perform the search. /// /// @return An initialized instance. /// - (instancetype)initWithQuery:(NSString *)query mode:(DBFILEPROPERTIESPropertiesSearchMode *)mode; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `PropertiesSearchQuery` struct. /// @interface DBFILEPROPERTIESPropertiesSearchQuerySerializer : NSObject /// /// Serializes `DBFILEPROPERTIESPropertiesSearchQuery` instances. /// /// @param instance An instance of the `DBFILEPROPERTIESPropertiesSearchQuery` /// API object. /// /// @return A json-compatible dictionary representation of the /// `DBFILEPROPERTIESPropertiesSearchQuery` API object. /// + (nullable NSDictionary *)serialize:(DBFILEPROPERTIESPropertiesSearchQuery *)instance; /// /// Deserializes `DBFILEPROPERTIESPropertiesSearchQuery` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILEPROPERTIESPropertiesSearchQuery` API object. /// /// @return An instantiation of the `DBFILEPROPERTIESPropertiesSearchQuery` /// object. /// + (DBFILEPROPERTIESPropertiesSearchQuery *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESPropertiesSearchResult.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILEPROPERTIESPropertiesSearchMatch; @class DBFILEPROPERTIESPropertiesSearchResult; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `PropertiesSearchResult` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILEPROPERTIESPropertiesSearchResult : NSObject #pragma mark - Instance fields /// A list (possibly empty) of matches for the query. @property (nonatomic, readonly) NSArray *matches; /// Pass the cursor into `propertiesSearchContinue` to continue to receive /// search results. Cursor will be null when there are no more 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 cursor Pass the cursor into `propertiesSearchContinue` to continue to /// receive search results. Cursor will be null when there are no more results. /// /// @return An initialized instance. /// - (instancetype)initWithMatches:(NSArray *)matches 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. /// /// @return An initialized instance. /// - (instancetype)initWithMatches:(NSArray *)matches; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `PropertiesSearchResult` struct. /// @interface DBFILEPROPERTIESPropertiesSearchResultSerializer : NSObject /// /// Serializes `DBFILEPROPERTIESPropertiesSearchResult` instances. /// /// @param instance An instance of the `DBFILEPROPERTIESPropertiesSearchResult` /// API object. /// /// @return A json-compatible dictionary representation of the /// `DBFILEPROPERTIESPropertiesSearchResult` API object. /// + (nullable NSDictionary *)serialize:(DBFILEPROPERTIESPropertiesSearchResult *)instance; /// /// Deserializes `DBFILEPROPERTIESPropertiesSearchResult` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILEPROPERTIESPropertiesSearchResult` API object. /// /// @return An instantiation of the `DBFILEPROPERTIESPropertiesSearchResult` /// object. /// + (DBFILEPROPERTIESPropertiesSearchResult *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESPropertyField.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILEPROPERTIESPropertyField; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `PropertyField` struct. /// /// Raw key/value data to be associated with a Dropbox file. Property fields are /// added to Dropbox files as a PropertyGroup. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILEPROPERTIESPropertyField : NSObject #pragma mark - Instance fields /// Key of the property field associated with a file and template. Keys can be /// up to 256 bytes. @property (nonatomic, readonly, copy) NSString *name; /// Value of the property field associated with a file and template. Values can /// be up to 1024 bytes. @property (nonatomic, readonly, copy) NSString *value; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param name Key of the property field associated with a file and template. /// Keys can be up to 256 bytes. /// @param value Value of the property field associated with a file and /// template. Values can be up to 1024 bytes. /// /// @return An initialized instance. /// - (instancetype)initWithName:(NSString *)name value:(NSString *)value; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `PropertyField` struct. /// @interface DBFILEPROPERTIESPropertyFieldSerializer : NSObject /// /// Serializes `DBFILEPROPERTIESPropertyField` instances. /// /// @param instance An instance of the `DBFILEPROPERTIESPropertyField` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBFILEPROPERTIESPropertyField` API object. /// + (nullable NSDictionary *)serialize:(DBFILEPROPERTIESPropertyField *)instance; /// /// Deserializes `DBFILEPROPERTIESPropertyField` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILEPROPERTIESPropertyField` API object. /// /// @return An instantiation of the `DBFILEPROPERTIESPropertyField` object. /// + (DBFILEPROPERTIESPropertyField *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESPropertyFieldTemplate.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILEPROPERTIESPropertyFieldTemplate; @class DBFILEPROPERTIESPropertyType; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `PropertyFieldTemplate` struct. /// /// Defines how a single property field may be structured. Used exclusively by /// PropertyGroupTemplate. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILEPROPERTIESPropertyFieldTemplate : NSObject #pragma mark - Instance fields /// Key of the property field being described. Property field keys can be up to /// 256 bytes. @property (nonatomic, readonly, copy) NSString *name; /// Description of the property field. Property field descriptions can be up to /// 1024 bytes. @property (nonatomic, readonly, copy) NSString *description_; /// Data type of the value of this property field. This type will be enforced /// upon property creation and modifications. @property (nonatomic, readonly) DBFILEPROPERTIESPropertyType *type; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param name Key of the property field being described. Property field keys /// can be up to 256 bytes. /// @param description_ Description of the property field. Property field /// descriptions can be up to 1024 bytes. /// @param type Data type of the value of this property field. This type will be /// enforced upon property creation and modifications. /// /// @return An initialized instance. /// - (instancetype)initWithName:(NSString *)name description_:(NSString *)description_ type:(DBFILEPROPERTIESPropertyType *)type; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `PropertyFieldTemplate` struct. /// @interface DBFILEPROPERTIESPropertyFieldTemplateSerializer : NSObject /// /// Serializes `DBFILEPROPERTIESPropertyFieldTemplate` instances. /// /// @param instance An instance of the `DBFILEPROPERTIESPropertyFieldTemplate` /// API object. /// /// @return A json-compatible dictionary representation of the /// `DBFILEPROPERTIESPropertyFieldTemplate` API object. /// + (nullable NSDictionary *)serialize:(DBFILEPROPERTIESPropertyFieldTemplate *)instance; /// /// Deserializes `DBFILEPROPERTIESPropertyFieldTemplate` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILEPROPERTIESPropertyFieldTemplate` API object. /// /// @return An instantiation of the `DBFILEPROPERTIESPropertyFieldTemplate` /// object. /// + (DBFILEPROPERTIESPropertyFieldTemplate *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESPropertyGroup.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILEPROPERTIESPropertyField; @class DBFILEPROPERTIESPropertyGroup; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `PropertyGroup` struct. /// /// A subset of the property fields described by the corresponding /// PropertyGroupTemplate. Properties are always added to a Dropbox file as a /// PropertyGroup. The possible key names and value types in this group are /// defined by the corresponding PropertyGroupTemplate. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILEPROPERTIESPropertyGroup : NSObject #pragma mark - Instance fields /// A unique identifier for the associated template. @property (nonatomic, readonly, copy) NSString *templateId; /// The actual properties associated with the template. There can be up to 32 /// property types per template. @property (nonatomic, readonly) NSArray *fields; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param templateId A unique identifier for the associated template. /// @param fields The actual properties associated with the template. There can /// be up to 32 property types per template. /// /// @return An initialized instance. /// - (instancetype)initWithTemplateId:(NSString *)templateId fields:(NSArray *)fields; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `PropertyGroup` struct. /// @interface DBFILEPROPERTIESPropertyGroupSerializer : NSObject /// /// Serializes `DBFILEPROPERTIESPropertyGroup` instances. /// /// @param instance An instance of the `DBFILEPROPERTIESPropertyGroup` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBFILEPROPERTIESPropertyGroup` API object. /// + (nullable NSDictionary *)serialize:(DBFILEPROPERTIESPropertyGroup *)instance; /// /// Deserializes `DBFILEPROPERTIESPropertyGroup` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILEPROPERTIESPropertyGroup` API object. /// /// @return An instantiation of the `DBFILEPROPERTIESPropertyGroup` object. /// + (DBFILEPROPERTIESPropertyGroup *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESPropertyGroupTemplate.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILEPROPERTIESPropertyFieldTemplate; @class DBFILEPROPERTIESPropertyGroupTemplate; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `PropertyGroupTemplate` struct. /// /// Defines how a property group may be structured. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILEPROPERTIESPropertyGroupTemplate : NSObject #pragma mark - Instance fields /// Display name for the template. Template names can be up to 256 bytes. @property (nonatomic, readonly, copy) NSString *name; /// Description for the template. Template descriptions can be up to 1024 bytes. @property (nonatomic, readonly, copy) NSString *description_; /// Definitions of the property fields associated with this template. There can /// be up to 32 properties in a single template. @property (nonatomic, readonly) NSArray *fields; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param name Display name for the template. Template names can be up to 256 /// bytes. /// @param description_ Description for the template. Template descriptions can /// be up to 1024 bytes. /// @param fields Definitions of the property fields associated with this /// template. There can be up to 32 properties in a single template. /// /// @return An initialized instance. /// - (instancetype)initWithName:(NSString *)name description_:(NSString *)description_ fields:(NSArray *)fields; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `PropertyGroupTemplate` struct. /// @interface DBFILEPROPERTIESPropertyGroupTemplateSerializer : NSObject /// /// Serializes `DBFILEPROPERTIESPropertyGroupTemplate` instances. /// /// @param instance An instance of the `DBFILEPROPERTIESPropertyGroupTemplate` /// API object. /// /// @return A json-compatible dictionary representation of the /// `DBFILEPROPERTIESPropertyGroupTemplate` API object. /// + (nullable NSDictionary *)serialize:(DBFILEPROPERTIESPropertyGroupTemplate *)instance; /// /// Deserializes `DBFILEPROPERTIESPropertyGroupTemplate` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILEPROPERTIESPropertyGroupTemplate` API object. /// /// @return An instantiation of the `DBFILEPROPERTIESPropertyGroupTemplate` /// object. /// + (DBFILEPROPERTIESPropertyGroupTemplate *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESPropertyGroupUpdate.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILEPROPERTIESPropertyField; @class DBFILEPROPERTIESPropertyGroupUpdate; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `PropertyGroupUpdate` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILEPROPERTIESPropertyGroupUpdate : NSObject #pragma mark - Instance fields /// A unique identifier for a property template. @property (nonatomic, readonly, copy) NSString *templateId; /// Property fields to update. If the property field already exists, it is /// updated. If the property field doesn't exist, the property group is added. @property (nonatomic, readonly, nullable) NSArray *addOrUpdateFields; /// Property fields to remove (by name), provided they exist. @property (nonatomic, readonly, nullable) NSArray *removeFields; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param templateId A unique identifier for a property template. /// @param addOrUpdateFields Property fields to update. If the property field /// already exists, it is updated. If the property field doesn't exist, the /// property group is added. /// @param removeFields Property fields to remove (by name), provided they /// exist. /// /// @return An initialized instance. /// - (instancetype)initWithTemplateId:(NSString *)templateId addOrUpdateFields:(nullable NSArray *)addOrUpdateFields removeFields:(nullable NSArray *)removeFields; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param templateId A unique identifier for a property template. /// /// @return An initialized instance. /// - (instancetype)initWithTemplateId:(NSString *)templateId; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `PropertyGroupUpdate` struct. /// @interface DBFILEPROPERTIESPropertyGroupUpdateSerializer : NSObject /// /// Serializes `DBFILEPROPERTIESPropertyGroupUpdate` instances. /// /// @param instance An instance of the `DBFILEPROPERTIESPropertyGroupUpdate` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBFILEPROPERTIESPropertyGroupUpdate` API object. /// + (nullable NSDictionary *)serialize:(DBFILEPROPERTIESPropertyGroupUpdate *)instance; /// /// Deserializes `DBFILEPROPERTIESPropertyGroupUpdate` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILEPROPERTIESPropertyGroupUpdate` API object. /// /// @return An instantiation of the `DBFILEPROPERTIESPropertyGroupUpdate` /// object. /// + (DBFILEPROPERTIESPropertyGroupUpdate *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESPropertyType.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILEPROPERTIESPropertyType; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `PropertyType` union. /// /// Data type of the given property field added. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILEPROPERTIESPropertyType : NSObject #pragma mark - Instance fields /// The `DBFILEPROPERTIESPropertyTypeTag` enum type represents the possible tag /// states with which the `DBFILEPROPERTIESPropertyType` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBFILEPROPERTIESPropertyTypeTag){ /// The associated property field will be of type string. Unicode is /// supported. DBFILEPROPERTIESPropertyTypeString, /// (no description). DBFILEPROPERTIESPropertyTypeOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBFILEPROPERTIESPropertyTypeTag tag; #pragma mark - Constructors /// /// Initializes union class with tag state of "string". /// /// Description of the "string" tag state: The associated property field will be /// of type string. Unicode is supported. /// /// @return An initialized instance. /// - (instancetype)initWithString; /// /// 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 "string". /// /// @return Whether the union's current tag state has value "string". /// - (BOOL)isString; /// /// 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 `DBFILEPROPERTIESPropertyType` union. /// @interface DBFILEPROPERTIESPropertyTypeSerializer : NSObject /// /// Serializes `DBFILEPROPERTIESPropertyType` instances. /// /// @param instance An instance of the `DBFILEPROPERTIESPropertyType` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBFILEPROPERTIESPropertyType` API object. /// + (nullable NSDictionary *)serialize:(DBFILEPROPERTIESPropertyType *)instance; /// /// Deserializes `DBFILEPROPERTIESPropertyType` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILEPROPERTIESPropertyType` API object. /// /// @return An instantiation of the `DBFILEPROPERTIESPropertyType` object. /// + (DBFILEPROPERTIESPropertyType *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESRemovePropertiesArg.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILEPROPERTIESRemovePropertiesArg; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `RemovePropertiesArg` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILEPROPERTIESRemovePropertiesArg : NSObject #pragma mark - Instance fields /// A unique identifier for the file or folder. @property (nonatomic, readonly, copy) NSString *path; /// A list of identifiers for a template created by `templatesAddForUser` or /// `templatesAddForTeam`. @property (nonatomic, readonly) NSArray *propertyTemplateIds; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param path A unique identifier for the file or folder. /// @param propertyTemplateIds A list of identifiers for a template created by /// `templatesAddForUser` or `templatesAddForTeam`. /// /// @return An initialized instance. /// - (instancetype)initWithPath:(NSString *)path propertyTemplateIds:(NSArray *)propertyTemplateIds; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `RemovePropertiesArg` struct. /// @interface DBFILEPROPERTIESRemovePropertiesArgSerializer : NSObject /// /// Serializes `DBFILEPROPERTIESRemovePropertiesArg` instances. /// /// @param instance An instance of the `DBFILEPROPERTIESRemovePropertiesArg` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBFILEPROPERTIESRemovePropertiesArg` API object. /// + (nullable NSDictionary *)serialize:(DBFILEPROPERTIESRemovePropertiesArg *)instance; /// /// Deserializes `DBFILEPROPERTIESRemovePropertiesArg` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILEPROPERTIESRemovePropertiesArg` API object. /// /// @return An instantiation of the `DBFILEPROPERTIESRemovePropertiesArg` /// object. /// + (DBFILEPROPERTIESRemovePropertiesArg *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESRemovePropertiesError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILEPROPERTIESLookUpPropertiesError; @class DBFILEPROPERTIESLookupError; @class DBFILEPROPERTIESRemovePropertiesError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `RemovePropertiesError` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILEPROPERTIESRemovePropertiesError : NSObject #pragma mark - Instance fields /// The `DBFILEPROPERTIESRemovePropertiesErrorTag` enum type represents the /// possible tag states with which the `DBFILEPROPERTIESRemovePropertiesError` /// union can exist. 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, /// (no description). DBFILEPROPERTIESRemovePropertiesErrorOther, /// (no description). DBFILEPROPERTIESRemovePropertiesErrorPath, /// This folder cannot be tagged. Tagging folders is not supported for /// team-owned templates. DBFILEPROPERTIESRemovePropertiesErrorUnsupportedFolder, /// (no description). DBFILEPROPERTIESRemovePropertiesErrorPropertyGroupLookup, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBFILEPROPERTIESRemovePropertiesErrorTag tag; /// Template does not exist for the given identifier. @note Ensure the /// `isTemplateNotFound` method returns true before accessing, otherwise a /// runtime exception will be raised. @property (nonatomic, readonly, copy) NSString *templateNotFound; /// (no description). @note Ensure the `isPath` method returns true before /// accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) DBFILEPROPERTIESLookupError *path; /// (no description). @note Ensure the `isPropertyGroupLookup` method returns /// true before accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) DBFILEPROPERTIESLookUpPropertiesError *propertyGroupLookup; #pragma mark - Constructors /// /// Initializes union class with tag state of "template_not_found". /// /// Description of the "template_not_found" tag state: Template does not exist /// for the given identifier. /// /// @param templateNotFound Template does not exist for the given identifier. /// /// @return An initialized instance. /// - (instancetype)initWithTemplateNotFound:(NSString *)templateNotFound; /// /// Initializes union class with tag state of "restricted_content". /// /// Description of the "restricted_content" tag state: You do not have /// permission to modify this template. /// /// @return An initialized instance. /// - (instancetype)initWithRestrictedContent; /// /// 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:(DBFILEPROPERTIESLookupError *)path; /// /// Initializes union class with tag state of "unsupported_folder". /// /// Description of the "unsupported_folder" tag state: This folder cannot be /// tagged. Tagging folders is not supported for team-owned templates. /// /// @return An initialized instance. /// - (instancetype)initWithUnsupportedFolder; /// /// Initializes union class with tag state of "property_group_lookup". /// /// @param propertyGroupLookup (no description). /// /// @return An initialized instance. /// - (instancetype)initWithPropertyGroupLookup:(DBFILEPROPERTIESLookUpPropertiesError *)propertyGroupLookup; - (instancetype)init NS_UNAVAILABLE; #pragma mark - Tag state methods /// /// Retrieves whether the union's current tag state has value /// "template_not_found". /// /// @note Call this method and ensure it returns true before accessing the /// `templateNotFound` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value /// "template_not_found". /// - (BOOL)isTemplateNotFound; /// /// Retrieves whether the union's current tag state has value /// "restricted_content". /// /// @return Whether the union's current tag state has value /// "restricted_content". /// - (BOOL)isRestrictedContent; /// /// 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 /// "unsupported_folder". /// /// @return Whether the union's current tag state has value /// "unsupported_folder". /// - (BOOL)isUnsupportedFolder; /// /// Retrieves whether the union's current tag state has value /// "property_group_lookup". /// /// @note Call this method and ensure it returns true before accessing the /// `propertyGroupLookup` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "property_group_lookup". /// - (BOOL)isPropertyGroupLookup; /// /// 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 `DBFILEPROPERTIESRemovePropertiesError` /// union. /// @interface DBFILEPROPERTIESRemovePropertiesErrorSerializer : NSObject /// /// Serializes `DBFILEPROPERTIESRemovePropertiesError` instances. /// /// @param instance An instance of the `DBFILEPROPERTIESRemovePropertiesError` /// API object. /// /// @return A json-compatible dictionary representation of the /// `DBFILEPROPERTIESRemovePropertiesError` API object. /// + (nullable NSDictionary *)serialize:(DBFILEPROPERTIESRemovePropertiesError *)instance; /// /// Deserializes `DBFILEPROPERTIESRemovePropertiesError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILEPROPERTIESRemovePropertiesError` API object. /// /// @return An instantiation of the `DBFILEPROPERTIESRemovePropertiesError` /// object. /// + (DBFILEPROPERTIESRemovePropertiesError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESRemoveTemplateArg.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILEPROPERTIESRemoveTemplateArg; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `RemoveTemplateArg` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILEPROPERTIESRemoveTemplateArg : NSObject #pragma mark - Instance fields /// An identifier for a template created by `templatesAddForUser` or /// `templatesAddForTeam`. @property (nonatomic, readonly, copy) NSString *templateId; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param templateId An identifier for a template created by /// `templatesAddForUser` or `templatesAddForTeam`. /// /// @return An initialized instance. /// - (instancetype)initWithTemplateId:(NSString *)templateId; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `RemoveTemplateArg` struct. /// @interface DBFILEPROPERTIESRemoveTemplateArgSerializer : NSObject /// /// Serializes `DBFILEPROPERTIESRemoveTemplateArg` instances. /// /// @param instance An instance of the `DBFILEPROPERTIESRemoveTemplateArg` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBFILEPROPERTIESRemoveTemplateArg` API object. /// + (nullable NSDictionary *)serialize:(DBFILEPROPERTIESRemoveTemplateArg *)instance; /// /// Deserializes `DBFILEPROPERTIESRemoveTemplateArg` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILEPROPERTIESRemoveTemplateArg` API object. /// /// @return An instantiation of the `DBFILEPROPERTIESRemoveTemplateArg` object. /// + (DBFILEPROPERTIESRemoveTemplateArg *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESTemplateError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILEPROPERTIESTemplateError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `TemplateError` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILEPROPERTIESTemplateError : NSObject #pragma mark - Instance fields /// The `DBFILEPROPERTIESTemplateErrorTag` enum type represents the possible tag /// states with which the `DBFILEPROPERTIESTemplateError` union can exist. 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, /// (no description). DBFILEPROPERTIESTemplateErrorOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBFILEPROPERTIESTemplateErrorTag tag; /// Template does not exist for the given identifier. @note Ensure the /// `isTemplateNotFound` method returns true before accessing, otherwise a /// runtime exception will be raised. @property (nonatomic, readonly, copy) NSString *templateNotFound; #pragma mark - Constructors /// /// Initializes union class with tag state of "template_not_found". /// /// Description of the "template_not_found" tag state: Template does not exist /// for the given identifier. /// /// @param templateNotFound Template does not exist for the given identifier. /// /// @return An initialized instance. /// - (instancetype)initWithTemplateNotFound:(NSString *)templateNotFound; /// /// Initializes union class with tag state of "restricted_content". /// /// Description of the "restricted_content" tag state: You do not have /// permission to modify this template. /// /// @return An initialized instance. /// - (instancetype)initWithRestrictedContent; /// /// 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 /// "template_not_found". /// /// @note Call this method and ensure it returns true before accessing the /// `templateNotFound` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value /// "template_not_found". /// - (BOOL)isTemplateNotFound; /// /// Retrieves whether the union's current tag state has value /// "restricted_content". /// /// @return Whether the union's current tag state has value /// "restricted_content". /// - (BOOL)isRestrictedContent; /// /// 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 `DBFILEPROPERTIESTemplateError` union. /// @interface DBFILEPROPERTIESTemplateErrorSerializer : NSObject /// /// Serializes `DBFILEPROPERTIESTemplateError` instances. /// /// @param instance An instance of the `DBFILEPROPERTIESTemplateError` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBFILEPROPERTIESTemplateError` API object. /// + (nullable NSDictionary *)serialize:(DBFILEPROPERTIESTemplateError *)instance; /// /// Deserializes `DBFILEPROPERTIESTemplateError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILEPROPERTIESTemplateError` API object. /// /// @return An instantiation of the `DBFILEPROPERTIESTemplateError` object. /// + (DBFILEPROPERTIESTemplateError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESTemplateFilter.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILEPROPERTIESTemplateFilter; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `TemplateFilter` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILEPROPERTIESTemplateFilter : NSObject #pragma mark - Instance fields /// The `DBFILEPROPERTIESTemplateFilterTag` enum type represents the possible /// tag states with which the `DBFILEPROPERTIESTemplateFilter` union can exist. 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 templates will be filtered from the result (all templates will be /// returned). DBFILEPROPERTIESTemplateFilterFilterNone, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBFILEPROPERTIESTemplateFilterTag tag; /// Only templates with an ID in the supplied list will be returned (a subset of /// templates will be returned). @note Ensure the `isFilterSome` method returns /// true before accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) NSArray *filterSome; #pragma mark - Constructors /// /// Initializes union class with tag state of "filter_some". /// /// Description of the "filter_some" tag state: Only templates with an ID in the /// supplied list will be returned (a subset of templates will be returned). /// /// @param filterSome Only templates with an ID in the supplied list will be /// returned (a subset of templates will be returned). /// /// @return An initialized instance. /// - (instancetype)initWithFilterSome:(NSArray *)filterSome; /// /// Initializes union class with tag state of "other". /// /// @return An initialized instance. /// - (instancetype)initWithOther; /// /// Initializes union class with tag state of "filter_none". /// /// Description of the "filter_none" tag state: No templates will be filtered /// from the result (all templates will be returned). /// /// @return An initialized instance. /// - (instancetype)initWithFilterNone; - (instancetype)init NS_UNAVAILABLE; #pragma mark - Tag state methods /// /// Retrieves whether the union's current tag state has value "filter_some". /// /// @note Call this method and ensure it returns true before accessing the /// `filterSome` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value "filter_some". /// - (BOOL)isFilterSome; /// /// 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 "filter_none". /// /// @return Whether the union's current tag state has value "filter_none". /// - (BOOL)isFilterNone; /// /// 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 `DBFILEPROPERTIESTemplateFilter` union. /// @interface DBFILEPROPERTIESTemplateFilterSerializer : NSObject /// /// Serializes `DBFILEPROPERTIESTemplateFilter` instances. /// /// @param instance An instance of the `DBFILEPROPERTIESTemplateFilter` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBFILEPROPERTIESTemplateFilter` API object. /// + (nullable NSDictionary *)serialize:(DBFILEPROPERTIESTemplateFilter *)instance; /// /// Deserializes `DBFILEPROPERTIESTemplateFilter` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILEPROPERTIESTemplateFilter` API object. /// /// @return An instantiation of the `DBFILEPROPERTIESTemplateFilter` object. /// + (DBFILEPROPERTIESTemplateFilter *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESTemplateFilterBase.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILEPROPERTIESTemplateFilterBase; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `TemplateFilterBase` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILEPROPERTIESTemplateFilterBase : NSObject #pragma mark - Instance fields /// The `DBFILEPROPERTIESTemplateFilterBaseTag` enum type represents the /// possible tag states with which the `DBFILEPROPERTIESTemplateFilterBase` /// union can exist. 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, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBFILEPROPERTIESTemplateFilterBaseTag tag; /// Only templates with an ID in the supplied list will be returned (a subset of /// templates will be returned). @note Ensure the `isFilterSome` method returns /// true before accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) NSArray *filterSome; #pragma mark - Constructors /// /// Initializes union class with tag state of "filter_some". /// /// Description of the "filter_some" tag state: Only templates with an ID in the /// supplied list will be returned (a subset of templates will be returned). /// /// @param filterSome Only templates with an ID in the supplied list will be /// returned (a subset of templates will be returned). /// /// @return An initialized instance. /// - (instancetype)initWithFilterSome:(NSArray *)filterSome; /// /// 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 "filter_some". /// /// @note Call this method and ensure it returns true before accessing the /// `filterSome` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value "filter_some". /// - (BOOL)isFilterSome; /// /// 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 `DBFILEPROPERTIESTemplateFilterBase` union. /// @interface DBFILEPROPERTIESTemplateFilterBaseSerializer : NSObject /// /// Serializes `DBFILEPROPERTIESTemplateFilterBase` instances. /// /// @param instance An instance of the `DBFILEPROPERTIESTemplateFilterBase` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBFILEPROPERTIESTemplateFilterBase` API object. /// + (nullable NSDictionary *)serialize:(DBFILEPROPERTIESTemplateFilterBase *)instance; /// /// Deserializes `DBFILEPROPERTIESTemplateFilterBase` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILEPROPERTIESTemplateFilterBase` API object. /// /// @return An instantiation of the `DBFILEPROPERTIESTemplateFilterBase` object. /// + (DBFILEPROPERTIESTemplateFilterBase *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESTemplateOwnerType.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILEPROPERTIESTemplateOwnerType; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `TemplateOwnerType` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILEPROPERTIESTemplateOwnerType : NSObject #pragma mark - Instance fields /// The `DBFILEPROPERTIESTemplateOwnerTypeTag` enum type represents the possible /// tag states with which the `DBFILEPROPERTIESTemplateOwnerType` union can /// exist. typedef NS_CLOSED_ENUM(NSInteger, DBFILEPROPERTIESTemplateOwnerTypeTag){ /// Template will be associated with a user. DBFILEPROPERTIESTemplateOwnerTypeUser, /// Template will be associated with a team. DBFILEPROPERTIESTemplateOwnerTypeTeam, /// (no description). DBFILEPROPERTIESTemplateOwnerTypeOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBFILEPROPERTIESTemplateOwnerTypeTag tag; #pragma mark - Constructors /// /// Initializes union class with tag state of "user". /// /// Description of the "user" tag state: Template will be associated with a /// user. /// /// @return An initialized instance. /// - (instancetype)initWithUser; /// /// Initializes union class with tag state of "team". /// /// Description of the "team" tag state: Template will be associated with a /// team. /// /// @return An initialized instance. /// - (instancetype)initWithTeam; /// /// 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". /// /// @return Whether the union's current tag state has value "user". /// - (BOOL)isUser; /// /// 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 "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 `DBFILEPROPERTIESTemplateOwnerType` union. /// @interface DBFILEPROPERTIESTemplateOwnerTypeSerializer : NSObject /// /// Serializes `DBFILEPROPERTIESTemplateOwnerType` instances. /// /// @param instance An instance of the `DBFILEPROPERTIESTemplateOwnerType` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBFILEPROPERTIESTemplateOwnerType` API object. /// + (nullable NSDictionary *)serialize:(DBFILEPROPERTIESTemplateOwnerType *)instance; /// /// Deserializes `DBFILEPROPERTIESTemplateOwnerType` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILEPROPERTIESTemplateOwnerType` API object. /// /// @return An instantiation of the `DBFILEPROPERTIESTemplateOwnerType` object. /// + (DBFILEPROPERTIESTemplateOwnerType *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESUpdatePropertiesArg.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILEPROPERTIESPropertyGroupUpdate; @class DBFILEPROPERTIESUpdatePropertiesArg; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `UpdatePropertiesArg` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILEPROPERTIESUpdatePropertiesArg : NSObject #pragma mark - Instance fields /// A unique identifier for the file or folder. @property (nonatomic, readonly, copy) NSString *path; /// The property groups "delta" updates to apply. @property (nonatomic, readonly) NSArray *updatePropertyGroups; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param path A unique identifier for the file or folder. /// @param updatePropertyGroups The property groups "delta" updates to apply. /// /// @return An initialized instance. /// - (instancetype)initWithPath:(NSString *)path updatePropertyGroups:(NSArray *)updatePropertyGroups; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `UpdatePropertiesArg` struct. /// @interface DBFILEPROPERTIESUpdatePropertiesArgSerializer : NSObject /// /// Serializes `DBFILEPROPERTIESUpdatePropertiesArg` instances. /// /// @param instance An instance of the `DBFILEPROPERTIESUpdatePropertiesArg` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBFILEPROPERTIESUpdatePropertiesArg` API object. /// + (nullable NSDictionary *)serialize:(DBFILEPROPERTIESUpdatePropertiesArg *)instance; /// /// Deserializes `DBFILEPROPERTIESUpdatePropertiesArg` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILEPROPERTIESUpdatePropertiesArg` API object. /// /// @return An instantiation of the `DBFILEPROPERTIESUpdatePropertiesArg` /// object. /// + (DBFILEPROPERTIESUpdatePropertiesArg *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESUpdatePropertiesError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILEPROPERTIESLookUpPropertiesError; @class DBFILEPROPERTIESLookupError; @class DBFILEPROPERTIESUpdatePropertiesError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `UpdatePropertiesError` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILEPROPERTIESUpdatePropertiesError : NSObject #pragma mark - Instance fields /// The `DBFILEPROPERTIESUpdatePropertiesErrorTag` enum type represents the /// possible tag states with which the `DBFILEPROPERTIESUpdatePropertiesError` /// union can exist. 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, /// (no description). DBFILEPROPERTIESUpdatePropertiesErrorOther, /// (no description). DBFILEPROPERTIESUpdatePropertiesErrorPath, /// 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 fields does not conform to the /// template specifications. DBFILEPROPERTIESUpdatePropertiesErrorDoesNotFitTemplate, /// There are 2 or more property groups referring to the same templates in /// the input. DBFILEPROPERTIESUpdatePropertiesErrorDuplicatePropertyGroups, /// (no description). DBFILEPROPERTIESUpdatePropertiesErrorPropertyGroupLookup, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBFILEPROPERTIESUpdatePropertiesErrorTag tag; /// Template does not exist for the given identifier. @note Ensure the /// `isTemplateNotFound` method returns true before accessing, otherwise a /// runtime exception will be raised. @property (nonatomic, readonly, copy) NSString *templateNotFound; /// (no description). @note Ensure the `isPath` method returns true before /// accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) DBFILEPROPERTIESLookupError *path; /// (no description). @note Ensure the `isPropertyGroupLookup` method returns /// true before accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) DBFILEPROPERTIESLookUpPropertiesError *propertyGroupLookup; #pragma mark - Constructors /// /// Initializes union class with tag state of "template_not_found". /// /// Description of the "template_not_found" tag state: Template does not exist /// for the given identifier. /// /// @param templateNotFound Template does not exist for the given identifier. /// /// @return An initialized instance. /// - (instancetype)initWithTemplateNotFound:(NSString *)templateNotFound; /// /// Initializes union class with tag state of "restricted_content". /// /// Description of the "restricted_content" tag state: You do not have /// permission to modify this template. /// /// @return An initialized instance. /// - (instancetype)initWithRestrictedContent; /// /// 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:(DBFILEPROPERTIESLookupError *)path; /// /// Initializes union class with tag state of "unsupported_folder". /// /// Description of the "unsupported_folder" tag state: This folder cannot be /// tagged. Tagging folders is not supported for team-owned templates. /// /// @return An initialized instance. /// - (instancetype)initWithUnsupportedFolder; /// /// Initializes union class with tag state of "property_field_too_large". /// /// Description of the "property_field_too_large" tag state: One or more of the /// supplied property field values is too large. /// /// @return An initialized instance. /// - (instancetype)initWithPropertyFieldTooLarge; /// /// Initializes union class with tag state of "does_not_fit_template". /// /// Description of the "does_not_fit_template" tag state: One or more of the /// supplied property fields does not conform to the template specifications. /// /// @return An initialized instance. /// - (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". /// /// @param propertyGroupLookup (no description). /// /// @return An initialized instance. /// - (instancetype)initWithPropertyGroupLookup:(DBFILEPROPERTIESLookUpPropertiesError *)propertyGroupLookup; - (instancetype)init NS_UNAVAILABLE; #pragma mark - Tag state methods /// /// Retrieves whether the union's current tag state has value /// "template_not_found". /// /// @note Call this method and ensure it returns true before accessing the /// `templateNotFound` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value /// "template_not_found". /// - (BOOL)isTemplateNotFound; /// /// Retrieves whether the union's current tag state has value /// "restricted_content". /// /// @return Whether the union's current tag state has value /// "restricted_content". /// - (BOOL)isRestrictedContent; /// /// 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 /// "unsupported_folder". /// /// @return Whether the union's current tag state has value /// "unsupported_folder". /// - (BOOL)isUnsupportedFolder; /// /// Retrieves whether the union's current tag state has value /// "property_field_too_large". /// /// @return Whether the union's current tag state has value /// "property_field_too_large". /// - (BOOL)isPropertyFieldTooLarge; /// /// Retrieves whether the union's current tag state has value /// "does_not_fit_template". /// /// @return Whether the union's current tag state has value /// "does_not_fit_template". /// - (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". /// /// @note Call this method and ensure it returns true before accessing the /// `propertyGroupLookup` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "property_group_lookup". /// - (BOOL)isPropertyGroupLookup; /// /// 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 `DBFILEPROPERTIESUpdatePropertiesError` /// union. /// @interface DBFILEPROPERTIESUpdatePropertiesErrorSerializer : NSObject /// /// Serializes `DBFILEPROPERTIESUpdatePropertiesError` instances. /// /// @param instance An instance of the `DBFILEPROPERTIESUpdatePropertiesError` /// API object. /// /// @return A json-compatible dictionary representation of the /// `DBFILEPROPERTIESUpdatePropertiesError` API object. /// + (nullable NSDictionary *)serialize:(DBFILEPROPERTIESUpdatePropertiesError *)instance; /// /// Deserializes `DBFILEPROPERTIESUpdatePropertiesError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILEPROPERTIESUpdatePropertiesError` API object. /// /// @return An instantiation of the `DBFILEPROPERTIESUpdatePropertiesError` /// object. /// + (DBFILEPROPERTIESUpdatePropertiesError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESUpdateTemplateArg.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILEPROPERTIESPropertyFieldTemplate; @class DBFILEPROPERTIESUpdateTemplateArg; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `UpdateTemplateArg` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILEPROPERTIESUpdateTemplateArg : NSObject #pragma mark - Instance fields /// An identifier for template added by See `templatesAddForUser` or /// `templatesAddForTeam`. @property (nonatomic, readonly, copy) NSString *templateId; /// A display name for the template. template names can be up to 256 bytes. @property (nonatomic, readonly, copy, nullable) NSString *name; /// Description for the new template. Template descriptions can be up to 1024 /// bytes. @property (nonatomic, readonly, copy, nullable) NSString *description_; /// Property field templates to be added to the group template. There can be up /// to 32 properties in a single template. @property (nonatomic, readonly, nullable) NSArray *addFields; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @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. /// @param description_ Description for the new template. Template descriptions /// can be up to 1024 bytes. /// @param addFields Property field templates to be added to the group template. /// There can be up to 32 properties in a single template. /// /// @return An initialized instance. /// - (instancetype)initWithTemplateId:(NSString *)templateId name:(nullable NSString *)name description_:(nullable NSString *)description_ addFields:(nullable NSArray *)addFields; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param templateId An identifier for template added by See /// `templatesAddForUser` or `templatesAddForTeam`. /// /// @return An initialized instance. /// - (instancetype)initWithTemplateId:(NSString *)templateId; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `UpdateTemplateArg` struct. /// @interface DBFILEPROPERTIESUpdateTemplateArgSerializer : NSObject /// /// Serializes `DBFILEPROPERTIESUpdateTemplateArg` instances. /// /// @param instance An instance of the `DBFILEPROPERTIESUpdateTemplateArg` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBFILEPROPERTIESUpdateTemplateArg` API object. /// + (nullable NSDictionary *)serialize:(DBFILEPROPERTIESUpdateTemplateArg *)instance; /// /// Deserializes `DBFILEPROPERTIESUpdateTemplateArg` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILEPROPERTIESUpdateTemplateArg` API object. /// /// @return An instantiation of the `DBFILEPROPERTIESUpdateTemplateArg` object. /// + (DBFILEPROPERTIESUpdateTemplateArg *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESUpdateTemplateResult.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILEPROPERTIESUpdateTemplateResult; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `UpdateTemplateResult` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILEPROPERTIESUpdateTemplateResult : NSObject #pragma mark - Instance fields /// An identifier for template added by route See `templatesAddForUser` or /// `templatesAddForTeam`. @property (nonatomic, readonly, copy) NSString *templateId; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param templateId An identifier for template added by route See /// `templatesAddForUser` or `templatesAddForTeam`. /// /// @return An initialized instance. /// - (instancetype)initWithTemplateId:(NSString *)templateId; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `UpdateTemplateResult` struct. /// @interface DBFILEPROPERTIESUpdateTemplateResultSerializer : NSObject /// /// Serializes `DBFILEPROPERTIESUpdateTemplateResult` instances. /// /// @param instance An instance of the `DBFILEPROPERTIESUpdateTemplateResult` /// API object. /// /// @return A json-compatible dictionary representation of the /// `DBFILEPROPERTIESUpdateTemplateResult` API object. /// + (nullable NSDictionary *)serialize:(DBFILEPROPERTIESUpdateTemplateResult *)instance; /// /// Deserializes `DBFILEPROPERTIESUpdateTemplateResult` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILEPROPERTIESUpdateTemplateResult` API object. /// /// @return An instantiation of the `DBFILEPROPERTIESUpdateTemplateResult` /// object. /// + (DBFILEPROPERTIESUpdateTemplateResult *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileRequests/DBFileRequestsObjects.m ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// /// Arguments, results, and errors for the `FileRequests` namespace. #import "DBFILEREQUESTSGeneralFileRequestsError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILEREQUESTSGeneralFileRequestsError #pragma mark - Constructors - (instancetype)initWithDisabledForTeam { self = [super init]; if (self) { _tag = DBFILEREQUESTSGeneralFileRequestsErrorDisabledForTeam; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBFILEREQUESTSGeneralFileRequestsErrorOther; } return self; } #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 [DBFILEREQUESTSGeneralFileRequestsErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILEREQUESTSGeneralFileRequestsErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILEREQUESTSGeneralFileRequestsErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 DBFILEREQUESTSGeneralFileRequestsErrorDisabledForTeam: result = prime * result + [[self tagName] hash]; break; case DBFILEREQUESTSGeneralFileRequestsErrorOther: 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 isEqualToGeneralFileRequestsError:other]; } - (BOOL)isEqualToGeneralFileRequestsError:(DBFILEREQUESTSGeneralFileRequestsError *)aGeneralFileRequestsError { if (self == aGeneralFileRequestsError) { return YES; } if (self.tag != aGeneralFileRequestsError.tag) { return NO; } switch (_tag) { case DBFILEREQUESTSGeneralFileRequestsErrorDisabledForTeam: return [[self tagName] isEqual:[aGeneralFileRequestsError tagName]]; case DBFILEREQUESTSGeneralFileRequestsErrorOther: return [[self tagName] isEqual:[aGeneralFileRequestsError tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBFILEREQUESTSGeneralFileRequestsErrorSerializer + (NSDictionary *)serialize:(DBFILEREQUESTSGeneralFileRequestsError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isDisabledForTeam]) { jsonDict[@".tag"] = @"disabled_for_team"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBFILEREQUESTSGeneralFileRequestsError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; 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 DBFILEREQUESTSCountFileRequestsError #pragma mark - Constructors - (instancetype)initWithDisabledForTeam { self = [super init]; if (self) { _tag = DBFILEREQUESTSCountFileRequestsErrorDisabledForTeam; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBFILEREQUESTSCountFileRequestsErrorOther; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isDisabledForTeam { return _tag == DBFILEREQUESTSCountFileRequestsErrorDisabledForTeam; } - (BOOL)isOther { return _tag == DBFILEREQUESTSCountFileRequestsErrorOther; } - (NSString *)tagName { switch (_tag) { case DBFILEREQUESTSCountFileRequestsErrorDisabledForTeam: return @"DBFILEREQUESTSCountFileRequestsErrorDisabledForTeam"; case DBFILEREQUESTSCountFileRequestsErrorOther: return @"DBFILEREQUESTSCountFileRequestsErrorOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBFILEREQUESTSCountFileRequestsErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILEREQUESTSCountFileRequestsErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILEREQUESTSCountFileRequestsErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 DBFILEREQUESTSCountFileRequestsErrorDisabledForTeam: result = prime * result + [[self tagName] hash]; break; case DBFILEREQUESTSCountFileRequestsErrorOther: 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 isEqualToCountFileRequestsError:other]; } - (BOOL)isEqualToCountFileRequestsError:(DBFILEREQUESTSCountFileRequestsError *)aCountFileRequestsError { if (self == aCountFileRequestsError) { return YES; } if (self.tag != aCountFileRequestsError.tag) { return NO; } switch (_tag) { case DBFILEREQUESTSCountFileRequestsErrorDisabledForTeam: return [[self tagName] isEqual:[aCountFileRequestsError tagName]]; case DBFILEREQUESTSCountFileRequestsErrorOther: return [[self tagName] isEqual:[aCountFileRequestsError tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBFILEREQUESTSCountFileRequestsErrorSerializer + (NSDictionary *)serialize:(DBFILEREQUESTSCountFileRequestsError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isDisabledForTeam]) { jsonDict[@".tag"] = @"disabled_for_team"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBFILEREQUESTSCountFileRequestsError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"disabled_for_team"]) { return [[DBFILEREQUESTSCountFileRequestsError alloc] initWithDisabledForTeam]; } else if ([tag isEqualToString:@"other"]) { return [[DBFILEREQUESTSCountFileRequestsError alloc] initWithOther]; } else { return [[DBFILEREQUESTSCountFileRequestsError alloc] initWithOther]; } } @end #import "DBFILEREQUESTSCountFileRequestsResult.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILEREQUESTSCountFileRequestsResult #pragma mark - Constructors - (instancetype)initWithFileRequestCount:(NSNumber *)fileRequestCount { [DBStoneValidators nonnullValidator:nil](fileRequestCount); self = [super init]; if (self) { _fileRequestCount = fileRequestCount; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBFILEREQUESTSCountFileRequestsResultSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILEREQUESTSCountFileRequestsResultSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILEREQUESTSCountFileRequestsResultSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.fileRequestCount hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToCountFileRequestsResult:other]; } - (BOOL)isEqualToCountFileRequestsResult:(DBFILEREQUESTSCountFileRequestsResult *)aCountFileRequestsResult { if (self == aCountFileRequestsResult) { return YES; } if (![self.fileRequestCount isEqual:aCountFileRequestsResult.fileRequestCount]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBFILEREQUESTSCountFileRequestsResultSerializer + (NSDictionary *)serialize:(DBFILEREQUESTSCountFileRequestsResult *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"file_request_count"] = valueObj.fileRequestCount; return jsonDict; } + (DBFILEREQUESTSCountFileRequestsResult *)deserialize:(NSDictionary *)valueDict { NSNumber *fileRequestCount = valueDict[@"file_request_count"]; return [[DBFILEREQUESTSCountFileRequestsResult alloc] initWithFileRequestCount:fileRequestCount]; } @end #import "DBFILEREQUESTSCreateFileRequestArgs.h" #import "DBFILEREQUESTSFileRequestDeadline.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #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"; case DBFILEREQUESTSFileRequestErrorEmailUnverified: return @"DBFILEREQUESTSFileRequestErrorEmailUnverified"; case DBFILEREQUESTSFileRequestErrorValidationError: return @"DBFILEREQUESTSFileRequestErrorValidationError"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBFILEREQUESTSFileRequestErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILEREQUESTSFileRequestErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILEREQUESTSFileRequestErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToFileRequestError:other]; } - (BOOL)isEqualToFileRequestError:(DBFILEREQUESTSFileRequestError *)aFileRequestError { if (self == aFileRequestError) { return YES; } if (self.tag != aFileRequestError.tag) { return NO; } switch (_tag) { case DBFILEREQUESTSFileRequestErrorDisabledForTeam: return [[self tagName] isEqual:[aFileRequestError tagName]]; case DBFILEREQUESTSFileRequestErrorOther: return [[self tagName] isEqual:[aFileRequestError tagName]]; case DBFILEREQUESTSFileRequestErrorNotFound: return [[self tagName] isEqual:[aFileRequestError tagName]]; case DBFILEREQUESTSFileRequestErrorNotAFolder: return [[self tagName] isEqual:[aFileRequestError tagName]]; case DBFILEREQUESTSFileRequestErrorAppLacksAccess: return [[self tagName] isEqual:[aFileRequestError tagName]]; case DBFILEREQUESTSFileRequestErrorNoPermission: return [[self tagName] isEqual:[aFileRequestError tagName]]; case DBFILEREQUESTSFileRequestErrorEmailUnverified: return [[self tagName] isEqual:[aFileRequestError tagName]]; case DBFILEREQUESTSFileRequestErrorValidationError: return [[self tagName] isEqual:[aFileRequestError tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBFILEREQUESTSFileRequestErrorSerializer + (NSDictionary *)serialize:(DBFILEREQUESTSFileRequestError *)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; } + (DBFILEREQUESTSFileRequestError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"disabled_for_team"]) { return [[DBFILEREQUESTSFileRequestError alloc] initWithDisabledForTeam]; } else if ([tag isEqualToString:@"other"]) { return [[DBFILEREQUESTSFileRequestError alloc] initWithOther]; } else if ([tag isEqualToString:@"not_found"]) { return [[DBFILEREQUESTSFileRequestError alloc] initWithNotFound]; } else if ([tag isEqualToString:@"not_a_folder"]) { return [[DBFILEREQUESTSFileRequestError alloc] initWithNotAFolder]; } else if ([tag isEqualToString:@"app_lacks_access"]) { return [[DBFILEREQUESTSFileRequestError alloc] initWithAppLacksAccess]; } else if ([tag isEqualToString:@"no_permission"]) { return [[DBFILEREQUESTSFileRequestError alloc] initWithNoPermission]; } else if ([tag isEqualToString:@"email_unverified"]) { return [[DBFILEREQUESTSFileRequestError alloc] initWithEmailUnverified]; } else if ([tag isEqualToString:@"validation_error"]) { return [[DBFILEREQUESTSFileRequestError alloc] initWithValidationError]; } else { return [[DBFILEREQUESTSFileRequestError alloc] initWithOther]; } } @end #import "DBFILEREQUESTSCreateFileRequestError.h" #import "DBFILEREQUESTSFileRequestError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILEREQUESTSCreateFileRequestError #pragma mark - Constructors - (instancetype)initWithDisabledForTeam { self = [super init]; if (self) { _tag = DBFILEREQUESTSCreateFileRequestErrorDisabledForTeam; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBFILEREQUESTSCreateFileRequestErrorOther; } return self; } - (instancetype)initWithNotFound { self = [super init]; if (self) { _tag = DBFILEREQUESTSCreateFileRequestErrorNotFound; } return self; } - (instancetype)initWithNotAFolder { self = [super init]; if (self) { _tag = DBFILEREQUESTSCreateFileRequestErrorNotAFolder; } return self; } - (instancetype)initWithAppLacksAccess { self = [super init]; if (self) { _tag = DBFILEREQUESTSCreateFileRequestErrorAppLacksAccess; } return self; } - (instancetype)initWithNoPermission { self = [super init]; if (self) { _tag = DBFILEREQUESTSCreateFileRequestErrorNoPermission; } return self; } - (instancetype)initWithEmailUnverified { self = [super init]; if (self) { _tag = DBFILEREQUESTSCreateFileRequestErrorEmailUnverified; } return self; } - (instancetype)initWithValidationError { self = [super init]; if (self) { _tag = DBFILEREQUESTSCreateFileRequestErrorValidationError; } return self; } - (instancetype)initWithInvalidLocation { self = [super init]; if (self) { _tag = DBFILEREQUESTSCreateFileRequestErrorInvalidLocation; } return self; } - (instancetype)initWithRateLimit { self = [super init]; if (self) { _tag = DBFILEREQUESTSCreateFileRequestErrorRateLimit; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isDisabledForTeam { return _tag == DBFILEREQUESTSCreateFileRequestErrorDisabledForTeam; } - (BOOL)isOther { return _tag == DBFILEREQUESTSCreateFileRequestErrorOther; } - (BOOL)isNotFound { return _tag == DBFILEREQUESTSCreateFileRequestErrorNotFound; } - (BOOL)isNotAFolder { return _tag == DBFILEREQUESTSCreateFileRequestErrorNotAFolder; } - (BOOL)isAppLacksAccess { return _tag == DBFILEREQUESTSCreateFileRequestErrorAppLacksAccess; } - (BOOL)isNoPermission { return _tag == DBFILEREQUESTSCreateFileRequestErrorNoPermission; } - (BOOL)isEmailUnverified { return _tag == DBFILEREQUESTSCreateFileRequestErrorEmailUnverified; } - (BOOL)isValidationError { return _tag == DBFILEREQUESTSCreateFileRequestErrorValidationError; } - (BOOL)isInvalidLocation { return _tag == DBFILEREQUESTSCreateFileRequestErrorInvalidLocation; } - (BOOL)isRateLimit { return _tag == DBFILEREQUESTSCreateFileRequestErrorRateLimit; } - (NSString *)tagName { switch (_tag) { case DBFILEREQUESTSCreateFileRequestErrorDisabledForTeam: return @"DBFILEREQUESTSCreateFileRequestErrorDisabledForTeam"; case DBFILEREQUESTSCreateFileRequestErrorOther: return @"DBFILEREQUESTSCreateFileRequestErrorOther"; case DBFILEREQUESTSCreateFileRequestErrorNotFound: return @"DBFILEREQUESTSCreateFileRequestErrorNotFound"; case DBFILEREQUESTSCreateFileRequestErrorNotAFolder: return @"DBFILEREQUESTSCreateFileRequestErrorNotAFolder"; case DBFILEREQUESTSCreateFileRequestErrorAppLacksAccess: return @"DBFILEREQUESTSCreateFileRequestErrorAppLacksAccess"; case DBFILEREQUESTSCreateFileRequestErrorNoPermission: return @"DBFILEREQUESTSCreateFileRequestErrorNoPermission"; case DBFILEREQUESTSCreateFileRequestErrorEmailUnverified: return @"DBFILEREQUESTSCreateFileRequestErrorEmailUnverified"; case DBFILEREQUESTSCreateFileRequestErrorValidationError: return @"DBFILEREQUESTSCreateFileRequestErrorValidationError"; case DBFILEREQUESTSCreateFileRequestErrorInvalidLocation: return @"DBFILEREQUESTSCreateFileRequestErrorInvalidLocation"; case DBFILEREQUESTSCreateFileRequestErrorRateLimit: return @"DBFILEREQUESTSCreateFileRequestErrorRateLimit"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBFILEREQUESTSCreateFileRequestErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILEREQUESTSCreateFileRequestErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILEREQUESTSCreateFileRequestErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToCreateFileRequestError:other]; } - (BOOL)isEqualToCreateFileRequestError:(DBFILEREQUESTSCreateFileRequestError *)aCreateFileRequestError { if (self == aCreateFileRequestError) { return YES; } if (self.tag != aCreateFileRequestError.tag) { return NO; } switch (_tag) { case DBFILEREQUESTSCreateFileRequestErrorDisabledForTeam: return [[self tagName] isEqual:[aCreateFileRequestError tagName]]; case DBFILEREQUESTSCreateFileRequestErrorOther: return [[self tagName] isEqual:[aCreateFileRequestError tagName]]; case DBFILEREQUESTSCreateFileRequestErrorNotFound: return [[self tagName] isEqual:[aCreateFileRequestError tagName]]; case DBFILEREQUESTSCreateFileRequestErrorNotAFolder: return [[self tagName] isEqual:[aCreateFileRequestError tagName]]; case DBFILEREQUESTSCreateFileRequestErrorAppLacksAccess: return [[self tagName] isEqual:[aCreateFileRequestError tagName]]; case DBFILEREQUESTSCreateFileRequestErrorNoPermission: return [[self tagName] isEqual:[aCreateFileRequestError tagName]]; case DBFILEREQUESTSCreateFileRequestErrorEmailUnverified: return [[self tagName] isEqual:[aCreateFileRequestError tagName]]; case DBFILEREQUESTSCreateFileRequestErrorValidationError: return [[self tagName] isEqual:[aCreateFileRequestError tagName]]; case DBFILEREQUESTSCreateFileRequestErrorInvalidLocation: return [[self tagName] isEqual:[aCreateFileRequestError tagName]]; case DBFILEREQUESTSCreateFileRequestErrorRateLimit: return [[self tagName] isEqual:[aCreateFileRequestError tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBFILEREQUESTSCreateFileRequestErrorSerializer + (NSDictionary *)serialize:(DBFILEREQUESTSCreateFileRequestError *)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 isInvalidLocation]) { jsonDict[@".tag"] = @"invalid_location"; } else if ([valueObj isRateLimit]) { jsonDict[@".tag"] = @"rate_limit"; } else { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBFILEREQUESTSCreateFileRequestError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"disabled_for_team"]) { return [[DBFILEREQUESTSCreateFileRequestError alloc] initWithDisabledForTeam]; } else if ([tag isEqualToString:@"other"]) { return [[DBFILEREQUESTSCreateFileRequestError alloc] initWithOther]; } else if ([tag isEqualToString:@"not_found"]) { return [[DBFILEREQUESTSCreateFileRequestError alloc] initWithNotFound]; } else if ([tag isEqualToString:@"not_a_folder"]) { return [[DBFILEREQUESTSCreateFileRequestError alloc] initWithNotAFolder]; } else if ([tag isEqualToString:@"app_lacks_access"]) { return [[DBFILEREQUESTSCreateFileRequestError alloc] initWithAppLacksAccess]; } else if ([tag isEqualToString:@"no_permission"]) { return [[DBFILEREQUESTSCreateFileRequestError alloc] initWithNoPermission]; } else if ([tag isEqualToString:@"email_unverified"]) { return [[DBFILEREQUESTSCreateFileRequestError alloc] initWithEmailUnverified]; } else if ([tag isEqualToString:@"validation_error"]) { return [[DBFILEREQUESTSCreateFileRequestError alloc] initWithValidationError]; } else if ([tag isEqualToString:@"invalid_location"]) { return [[DBFILEREQUESTSCreateFileRequestError alloc] initWithInvalidLocation]; } else if ([tag isEqualToString:@"rate_limit"]) { return [[DBFILEREQUESTSCreateFileRequestError alloc] initWithRateLimit]; } else { return [[DBFILEREQUESTSCreateFileRequestError alloc] initWithOther]; } } @end #import "DBFILEREQUESTSDeleteAllClosedFileRequestsError.h" #import "DBFILEREQUESTSFileRequestError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILEREQUESTSDeleteAllClosedFileRequestsError #pragma mark - Constructors - (instancetype)initWithDisabledForTeam { self = [super init]; if (self) { _tag = DBFILEREQUESTSDeleteAllClosedFileRequestsErrorDisabledForTeam; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBFILEREQUESTSDeleteAllClosedFileRequestsErrorOther; } return self; } - (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 [DBFILEREQUESTSDeleteAllClosedFileRequestsErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILEREQUESTSDeleteAllClosedFileRequestsErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILEREQUESTSDeleteAllClosedFileRequestsErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToDeleteAllClosedFileRequestsError:other]; } - (BOOL)isEqualToDeleteAllClosedFileRequestsError: (DBFILEREQUESTSDeleteAllClosedFileRequestsError *)aDeleteAllClosedFileRequestsError { if (self == aDeleteAllClosedFileRequestsError) { return YES; } if (self.tag != aDeleteAllClosedFileRequestsError.tag) { 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; } @end #pragma mark - Serializer Object @implementation DBFILEREQUESTSDeleteAllClosedFileRequestsErrorSerializer + (NSDictionary *)serialize:(DBFILEREQUESTSDeleteAllClosedFileRequestsError *)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; } + (DBFILEREQUESTSDeleteAllClosedFileRequestsError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; 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 "DBFILEREQUESTSDeleteAllClosedFileRequestsResult.h" #import "DBFILEREQUESTSFileRequest.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILEREQUESTSDeleteAllClosedFileRequestsResult #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 [DBFILEREQUESTSDeleteAllClosedFileRequestsResultSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILEREQUESTSDeleteAllClosedFileRequestsResultSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILEREQUESTSDeleteAllClosedFileRequestsResultSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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 isEqualToDeleteAllClosedFileRequestsResult:other]; } - (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]) { 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; } 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; } @end #pragma mark - Serializer Object @implementation DBFILEREQUESTSGracePeriodSerializer + (NSDictionary *)serialize:(DBFILEREQUESTSGracePeriod *)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"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBFILEREQUESTSGracePeriod *)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]; } else if ([tag isEqualToString:@"other"]) { return [[DBFILEREQUESTSGracePeriod alloc] initWithOther]; } else { return [[DBFILEREQUESTSGracePeriod alloc] initWithOther]; } } @end #import "DBFILEREQUESTSListFileRequestsArg.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILEREQUESTSListFileRequestsArg #pragma mark - Constructors - (instancetype)initWithLimit:(NSNumber *)limit { self = [super init]; if (self) { _limit = limit ?: @(1000); } return self; } - (instancetype)initDefault { return [self initWithLimit:nil]; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBFILEREQUESTSListFileRequestsArgSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILEREQUESTSListFileRequestsArgSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILEREQUESTSListFileRequestsArgSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToListFileRequestsArg:other]; } - (BOOL)isEqualToListFileRequestsArg:(DBFILEREQUESTSListFileRequestsArg *)aListFileRequestsArg { if (self == aListFileRequestsArg) { return YES; } if (![self.limit isEqual:aListFileRequestsArg.limit]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBFILEREQUESTSListFileRequestsArgSerializer + (NSDictionary *)serialize:(DBFILEREQUESTSListFileRequestsArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"limit"] = valueObj.limit; return jsonDict; } + (DBFILEREQUESTSListFileRequestsArg *)deserialize:(NSDictionary *)valueDict { NSNumber *limit = valueDict[@"limit"] ?: @(1000); return [[DBFILEREQUESTSListFileRequestsArg alloc] initWithLimit:limit]; } @end #import "DBFILEREQUESTSListFileRequestsContinueArg.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILEREQUESTSListFileRequestsContinueArg #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 [DBFILEREQUESTSListFileRequestsContinueArgSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILEREQUESTSListFileRequestsContinueArgSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILEREQUESTSListFileRequestsContinueArgSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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 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 + (NSDictionary *)serialize:(DBFILEREQUESTSListFileRequestsContinueArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"cursor"] = valueObj.cursor; return jsonDict; } + (DBFILEREQUESTSListFileRequestsContinueArg *)deserialize:(NSDictionary *)valueDict { NSString *cursor = valueDict[@"cursor"]; return [[DBFILEREQUESTSListFileRequestsContinueArg alloc] initWithCursor:cursor]; } @end #import "DBFILEREQUESTSGeneralFileRequestsError.h" #import "DBFILEREQUESTSListFileRequestsContinueError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILEREQUESTSListFileRequestsContinueError #pragma mark - Constructors - (instancetype)initWithDisabledForTeam { self = [super init]; if (self) { _tag = DBFILEREQUESTSListFileRequestsContinueErrorDisabledForTeam; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBFILEREQUESTSListFileRequestsContinueErrorOther; } return self; } - (instancetype)initWithInvalidCursor { self = [super init]; if (self) { _tag = DBFILEREQUESTSListFileRequestsContinueErrorInvalidCursor; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isDisabledForTeam { return _tag == DBFILEREQUESTSListFileRequestsContinueErrorDisabledForTeam; } - (BOOL)isOther { return _tag == DBFILEREQUESTSListFileRequestsContinueErrorOther; } - (BOOL)isInvalidCursor { return _tag == DBFILEREQUESTSListFileRequestsContinueErrorInvalidCursor; } - (NSString *)tagName { switch (_tag) { case DBFILEREQUESTSListFileRequestsContinueErrorDisabledForTeam: return @"DBFILEREQUESTSListFileRequestsContinueErrorDisabledForTeam"; case DBFILEREQUESTSListFileRequestsContinueErrorOther: return @"DBFILEREQUESTSListFileRequestsContinueErrorOther"; case DBFILEREQUESTSListFileRequestsContinueErrorInvalidCursor: return @"DBFILEREQUESTSListFileRequestsContinueErrorInvalidCursor"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBFILEREQUESTSListFileRequestsContinueErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILEREQUESTSListFileRequestsContinueErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILEREQUESTSListFileRequestsContinueErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 DBFILEREQUESTSListFileRequestsContinueErrorDisabledForTeam: result = prime * result + [[self tagName] hash]; break; case DBFILEREQUESTSListFileRequestsContinueErrorOther: result = prime * result + [[self tagName] hash]; break; case DBFILEREQUESTSListFileRequestsContinueErrorInvalidCursor: 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 isEqualToListFileRequestsContinueError:other]; } - (BOOL)isEqualToListFileRequestsContinueError: (DBFILEREQUESTSListFileRequestsContinueError *)aListFileRequestsContinueError { if (self == aListFileRequestsContinueError) { return YES; } if (self.tag != aListFileRequestsContinueError.tag) { return NO; } switch (_tag) { 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; } @end #pragma mark - Serializer Object @implementation DBFILEREQUESTSListFileRequestsContinueErrorSerializer + (NSDictionary *)serialize:(DBFILEREQUESTSListFileRequestsContinueError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; 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; } + (DBFILEREQUESTSListFileRequestsContinueError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"disabled_for_team"]) { return [[DBFILEREQUESTSListFileRequestsContinueError alloc] initWithDisabledForTeam]; } else if ([tag isEqualToString:@"other"]) { return [[DBFILEREQUESTSListFileRequestsContinueError alloc] initWithOther]; } else if ([tag isEqualToString:@"invalid_cursor"]) { return [[DBFILEREQUESTSListFileRequestsContinueError alloc] initWithInvalidCursor]; } else { return [[DBFILEREQUESTSListFileRequestsContinueError alloc] initWithOther]; } } @end #import "DBFILEREQUESTSGeneralFileRequestsError.h" #import "DBFILEREQUESTSListFileRequestsError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILEREQUESTSListFileRequestsError #pragma mark - Constructors - (instancetype)initWithDisabledForTeam { self = [super init]; if (self) { _tag = DBFILEREQUESTSListFileRequestsErrorDisabledForTeam; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBFILEREQUESTSListFileRequestsErrorOther; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isDisabledForTeam { return _tag == DBFILEREQUESTSListFileRequestsErrorDisabledForTeam; } - (BOOL)isOther { return _tag == DBFILEREQUESTSListFileRequestsErrorOther; } - (NSString *)tagName { switch (_tag) { case DBFILEREQUESTSListFileRequestsErrorDisabledForTeam: return @"DBFILEREQUESTSListFileRequestsErrorDisabledForTeam"; case DBFILEREQUESTSListFileRequestsErrorOther: return @"DBFILEREQUESTSListFileRequestsErrorOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBFILEREQUESTSListFileRequestsErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILEREQUESTSListFileRequestsErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILEREQUESTSListFileRequestsErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 DBFILEREQUESTSListFileRequestsErrorDisabledForTeam: result = prime * result + [[self tagName] hash]; break; case DBFILEREQUESTSListFileRequestsErrorOther: 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 isEqualToListFileRequestsError:other]; } - (BOOL)isEqualToListFileRequestsError:(DBFILEREQUESTSListFileRequestsError *)aListFileRequestsError { if (self == aListFileRequestsError) { return YES; } if (self.tag != aListFileRequestsError.tag) { return NO; } switch (_tag) { case DBFILEREQUESTSListFileRequestsErrorDisabledForTeam: return [[self tagName] isEqual:[aListFileRequestsError tagName]]; case DBFILEREQUESTSListFileRequestsErrorOther: return [[self tagName] isEqual:[aListFileRequestsError tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBFILEREQUESTSListFileRequestsErrorSerializer + (NSDictionary *)serialize:(DBFILEREQUESTSListFileRequestsError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isDisabledForTeam]) { jsonDict[@".tag"] = @"disabled_for_team"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBFILEREQUESTSListFileRequestsError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"disabled_for_team"]) { return [[DBFILEREQUESTSListFileRequestsError alloc] initWithDisabledForTeam]; } else if ([tag isEqualToString:@"other"]) { return [[DBFILEREQUESTSListFileRequestsError alloc] initWithOther]; } else { return [[DBFILEREQUESTSListFileRequestsError alloc] initWithOther]; } } @end #import "DBFILEREQUESTSFileRequest.h" #import "DBFILEREQUESTSListFileRequestsResult.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILEREQUESTSListFileRequestsResult #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 [DBFILEREQUESTSListFileRequestsResultSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILEREQUESTSListFileRequestsResultSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILEREQUESTSListFileRequestsResultSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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 isEqualToListFileRequestsResult:other]; } - (BOOL)isEqualToListFileRequestsResult:(DBFILEREQUESTSListFileRequestsResult *)aListFileRequestsResult { if (self == aListFileRequestsResult) { return YES; } if (![self.fileRequests isEqual:aListFileRequestsResult.fileRequests]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBFILEREQUESTSListFileRequestsResultSerializer + (NSDictionary *)serialize:(DBFILEREQUESTSListFileRequestsResult *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"file_requests"] = [DBArraySerializer serialize:valueObj.fileRequests withBlock:^id(id elem0) { return [DBFILEREQUESTSFileRequestSerializer serialize:elem0]; }]; return jsonDict; } + (DBFILEREQUESTSListFileRequestsResult *)deserialize:(NSDictionary *)valueDict { NSArray *fileRequests = [DBArraySerializer deserialize:valueDict[@"file_requests"] withBlock:^id(id elem0) { return [DBFILEREQUESTSFileRequestSerializer deserialize:elem0]; }]; return [[DBFILEREQUESTSListFileRequestsResult alloc] initWithFileRequests:fileRequests]; } @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" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILEREQUESTSUpdateFileRequestArgs #pragma mark - Constructors - (instancetype)initWithId_:(NSString *)id_ title:(NSString *)title destination:(NSString *)destination deadline:(DBFILEREQUESTSUpdateFileRequestDeadline *)deadline 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); [DBStoneValidators nullableValidator:[DBStoneValidators stringValidator:nil maxLength:nil pattern:@"/(.|[\\r\\n])*"]](destination); self = [super init]; if (self) { _id_ = id_; _title = title; _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 description_:nil]; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBFILEREQUESTSUpdateFileRequestArgsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILEREQUESTSUpdateFileRequestArgsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILEREQUESTSUpdateFileRequestArgsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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]; if (self.title != nil) { result = prime * result + [self.title hash]; } if (self.destination != nil) { result = prime * result + [self.destination hash]; } result = prime * result + [self.deadline hash]; if (self.open != nil) { 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 isEqualToUpdateFileRequestArgs:other]; } - (BOOL)isEqualToUpdateFileRequestArgs:(DBFILEREQUESTSUpdateFileRequestArgs *)anUpdateFileRequestArgs { if (self == anUpdateFileRequestArgs) { return YES; } if (![self.id_ isEqual:anUpdateFileRequestArgs.id_]) { return NO; } if (self.title) { if (![self.title isEqual:anUpdateFileRequestArgs.title]) { return NO; } } if (self.destination) { if (![self.destination isEqual:anUpdateFileRequestArgs.destination]) { return NO; } } if (![self.deadline isEqual:anUpdateFileRequestArgs.deadline]) { return NO; } if (self.open) { if (![self.open isEqual:anUpdateFileRequestArgs.open]) { return NO; } } if (self.description_) { if (![self.description_ isEqual:anUpdateFileRequestArgs.description_]) { return NO; } } return YES; } @end #pragma mark - Serializer Object @implementation DBFILEREQUESTSUpdateFileRequestArgsSerializer + (NSDictionary *)serialize:(DBFILEREQUESTSUpdateFileRequestArgs *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"id"] = valueObj.id_; if (valueObj.title) { jsonDict[@"title"] = valueObj.title; } if (valueObj.destination) { jsonDict[@"destination"] = valueObj.destination; } jsonDict[@"deadline"] = [DBFILEREQUESTSUpdateFileRequestDeadlineSerializer serialize:valueObj.deadline]; if (valueObj.open) { jsonDict[@"open"] = valueObj.open; } if (valueObj.description_) { jsonDict[@"description"] = valueObj.description_; } return jsonDict; } + (DBFILEREQUESTSUpdateFileRequestArgs *)deserialize:(NSDictionary *)valueDict { NSString *id_ = valueDict[@"id"]; NSString *title = valueDict[@"title"] ?: nil; NSString *destination = valueDict[@"destination"] ?: nil; DBFILEREQUESTSUpdateFileRequestDeadline *deadline = 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 description_:description_]; } @end #import "DBFILEREQUESTSFileRequestDeadline.h" #import "DBFILEREQUESTSUpdateFileRequestDeadline.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILEREQUESTSUpdateFileRequestDeadline @synthesize update = _update; #pragma mark - Constructors - (instancetype)initWithNoUpdate { self = [super init]; if (self) { _tag = DBFILEREQUESTSUpdateFileRequestDeadlineNoUpdate; } return self; } - (instancetype)initWithUpdate:(DBFILEREQUESTSFileRequestDeadline *)update { self = [super init]; if (self) { _tag = DBFILEREQUESTSUpdateFileRequestDeadlineUpdate; _update = update; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBFILEREQUESTSUpdateFileRequestDeadlineOther; } return self; } #pragma mark - Instance field accessors - (DBFILEREQUESTSFileRequestDeadline *)update { if (![self isUpdate]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBFILEREQUESTSUpdateFileRequestDeadlineUpdate, but was %@.", [self tagName]]; } return _update; } #pragma mark - Tag state methods - (BOOL)isNoUpdate { return _tag == DBFILEREQUESTSUpdateFileRequestDeadlineNoUpdate; } - (BOOL)isUpdate { return _tag == DBFILEREQUESTSUpdateFileRequestDeadlineUpdate; } - (BOOL)isOther { return _tag == DBFILEREQUESTSUpdateFileRequestDeadlineOther; } - (NSString *)tagName { switch (_tag) { case DBFILEREQUESTSUpdateFileRequestDeadlineNoUpdate: return @"DBFILEREQUESTSUpdateFileRequestDeadlineNoUpdate"; case DBFILEREQUESTSUpdateFileRequestDeadlineUpdate: return @"DBFILEREQUESTSUpdateFileRequestDeadlineUpdate"; case DBFILEREQUESTSUpdateFileRequestDeadlineOther: return @"DBFILEREQUESTSUpdateFileRequestDeadlineOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBFILEREQUESTSUpdateFileRequestDeadlineSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILEREQUESTSUpdateFileRequestDeadlineSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILEREQUESTSUpdateFileRequestDeadlineSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToUpdateFileRequestDeadline:other]; } - (BOOL)isEqualToUpdateFileRequestDeadline:(DBFILEREQUESTSUpdateFileRequestDeadline *)anUpdateFileRequestDeadline { if (self == anUpdateFileRequestDeadline) { return YES; } if (self.tag != anUpdateFileRequestDeadline.tag) { return NO; } switch (_tag) { case DBFILEREQUESTSUpdateFileRequestDeadlineNoUpdate: return [[self tagName] isEqual:[anUpdateFileRequestDeadline tagName]]; case DBFILEREQUESTSUpdateFileRequestDeadlineUpdate: if (self.update) { return [self.update isEqual:anUpdateFileRequestDeadline.update]; } case DBFILEREQUESTSUpdateFileRequestDeadlineOther: return [[self tagName] isEqual:[anUpdateFileRequestDeadline tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBFILEREQUESTSUpdateFileRequestDeadlineSerializer + (NSDictionary *)serialize:(DBFILEREQUESTSUpdateFileRequestDeadline *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isNoUpdate]) { jsonDict[@".tag"] = @"no_update"; } else if ([valueObj isUpdate]) { if (valueObj.update) { [jsonDict addEntriesFromDictionary:[DBFILEREQUESTSFileRequestDeadlineSerializer serialize:valueObj.update]]; } jsonDict[@".tag"] = @"update"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBFILEREQUESTSUpdateFileRequestDeadline *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"no_update"]) { return [[DBFILEREQUESTSUpdateFileRequestDeadline alloc] initWithNoUpdate]; } else if ([tag isEqualToString:@"update"]) { DBFILEREQUESTSFileRequestDeadline *update = valueDict ? [DBFILEREQUESTSFileRequestDeadlineSerializer deserialize:valueDict] : nil; return [[DBFILEREQUESTSUpdateFileRequestDeadline alloc] initWithUpdate:update]; } else if ([tag isEqualToString:@"other"]) { return [[DBFILEREQUESTSUpdateFileRequestDeadline alloc] initWithOther]; } else { return [[DBFILEREQUESTSUpdateFileRequestDeadline alloc] initWithOther]; } } @end #import "DBFILEREQUESTSFileRequestError.h" #import "DBFILEREQUESTSUpdateFileRequestError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILEREQUESTSUpdateFileRequestError #pragma mark - Constructors - (instancetype)initWithDisabledForTeam { self = [super init]; if (self) { _tag = DBFILEREQUESTSUpdateFileRequestErrorDisabledForTeam; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBFILEREQUESTSUpdateFileRequestErrorOther; } return self; } - (instancetype)initWithNotFound { self = [super init]; if (self) { _tag = DBFILEREQUESTSUpdateFileRequestErrorNotFound; } return self; } - (instancetype)initWithNotAFolder { self = [super init]; if (self) { _tag = DBFILEREQUESTSUpdateFileRequestErrorNotAFolder; } return self; } - (instancetype)initWithAppLacksAccess { self = [super init]; if (self) { _tag = DBFILEREQUESTSUpdateFileRequestErrorAppLacksAccess; } return self; } - (instancetype)initWithNoPermission { self = [super init]; if (self) { _tag = DBFILEREQUESTSUpdateFileRequestErrorNoPermission; } return self; } - (instancetype)initWithEmailUnverified { self = [super init]; if (self) { _tag = DBFILEREQUESTSUpdateFileRequestErrorEmailUnverified; } return self; } - (instancetype)initWithValidationError { self = [super init]; if (self) { _tag = DBFILEREQUESTSUpdateFileRequestErrorValidationError; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isDisabledForTeam { return _tag == DBFILEREQUESTSUpdateFileRequestErrorDisabledForTeam; } - (BOOL)isOther { return _tag == DBFILEREQUESTSUpdateFileRequestErrorOther; } - (BOOL)isNotFound { return _tag == DBFILEREQUESTSUpdateFileRequestErrorNotFound; } - (BOOL)isNotAFolder { return _tag == DBFILEREQUESTSUpdateFileRequestErrorNotAFolder; } - (BOOL)isAppLacksAccess { return _tag == DBFILEREQUESTSUpdateFileRequestErrorAppLacksAccess; } - (BOOL)isNoPermission { return _tag == DBFILEREQUESTSUpdateFileRequestErrorNoPermission; } - (BOOL)isEmailUnverified { return _tag == DBFILEREQUESTSUpdateFileRequestErrorEmailUnverified; } - (BOOL)isValidationError { return _tag == DBFILEREQUESTSUpdateFileRequestErrorValidationError; } - (NSString *)tagName { switch (_tag) { case DBFILEREQUESTSUpdateFileRequestErrorDisabledForTeam: return @"DBFILEREQUESTSUpdateFileRequestErrorDisabledForTeam"; case DBFILEREQUESTSUpdateFileRequestErrorOther: return @"DBFILEREQUESTSUpdateFileRequestErrorOther"; case DBFILEREQUESTSUpdateFileRequestErrorNotFound: return @"DBFILEREQUESTSUpdateFileRequestErrorNotFound"; case DBFILEREQUESTSUpdateFileRequestErrorNotAFolder: return @"DBFILEREQUESTSUpdateFileRequestErrorNotAFolder"; case DBFILEREQUESTSUpdateFileRequestErrorAppLacksAccess: return @"DBFILEREQUESTSUpdateFileRequestErrorAppLacksAccess"; case DBFILEREQUESTSUpdateFileRequestErrorNoPermission: return @"DBFILEREQUESTSUpdateFileRequestErrorNoPermission"; case DBFILEREQUESTSUpdateFileRequestErrorEmailUnverified: return @"DBFILEREQUESTSUpdateFileRequestErrorEmailUnverified"; case DBFILEREQUESTSUpdateFileRequestErrorValidationError: return @"DBFILEREQUESTSUpdateFileRequestErrorValidationError"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBFILEREQUESTSUpdateFileRequestErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILEREQUESTSUpdateFileRequestErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILEREQUESTSUpdateFileRequestErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToUpdateFileRequestError:other]; } - (BOOL)isEqualToUpdateFileRequestError:(DBFILEREQUESTSUpdateFileRequestError *)anUpdateFileRequestError { if (self == anUpdateFileRequestError) { return YES; } if (self.tag != anUpdateFileRequestError.tag) { return NO; } switch (_tag) { case DBFILEREQUESTSUpdateFileRequestErrorDisabledForTeam: return [[self tagName] isEqual:[anUpdateFileRequestError tagName]]; case DBFILEREQUESTSUpdateFileRequestErrorOther: return [[self tagName] isEqual:[anUpdateFileRequestError tagName]]; case DBFILEREQUESTSUpdateFileRequestErrorNotFound: return [[self tagName] isEqual:[anUpdateFileRequestError tagName]]; case DBFILEREQUESTSUpdateFileRequestErrorNotAFolder: return [[self tagName] isEqual:[anUpdateFileRequestError tagName]]; case DBFILEREQUESTSUpdateFileRequestErrorAppLacksAccess: return [[self tagName] isEqual:[anUpdateFileRequestError tagName]]; case DBFILEREQUESTSUpdateFileRequestErrorNoPermission: return [[self tagName] isEqual:[anUpdateFileRequestError tagName]]; case DBFILEREQUESTSUpdateFileRequestErrorEmailUnverified: return [[self tagName] isEqual:[anUpdateFileRequestError tagName]]; case DBFILEREQUESTSUpdateFileRequestErrorValidationError: return [[self tagName] isEqual:[anUpdateFileRequestError tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBFILEREQUESTSUpdateFileRequestErrorSerializer + (NSDictionary *)serialize:(DBFILEREQUESTSUpdateFileRequestError *)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; } + (DBFILEREQUESTSUpdateFileRequestError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"disabled_for_team"]) { return [[DBFILEREQUESTSUpdateFileRequestError alloc] initWithDisabledForTeam]; } else if ([tag isEqualToString:@"other"]) { return [[DBFILEREQUESTSUpdateFileRequestError alloc] initWithOther]; } else if ([tag isEqualToString:@"not_found"]) { return [[DBFILEREQUESTSUpdateFileRequestError alloc] initWithNotFound]; } else if ([tag isEqualToString:@"not_a_folder"]) { return [[DBFILEREQUESTSUpdateFileRequestError alloc] initWithNotAFolder]; } else if ([tag isEqualToString:@"app_lacks_access"]) { return [[DBFILEREQUESTSUpdateFileRequestError alloc] initWithAppLacksAccess]; } else if ([tag isEqualToString:@"no_permission"]) { return [[DBFILEREQUESTSUpdateFileRequestError alloc] initWithNoPermission]; } else if ([tag isEqualToString:@"email_unverified"]) { return [[DBFILEREQUESTSUpdateFileRequestError alloc] initWithEmailUnverified]; } else if ([tag isEqualToString:@"validation_error"]) { return [[DBFILEREQUESTSUpdateFileRequestError alloc] initWithValidationError]; } else { return [[DBFILEREQUESTSUpdateFileRequestError alloc] initWithOther]; } } @end ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileRequests/Headers/DBFILEREQUESTSCountFileRequestsError.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileRequests/Headers/DBFILEREQUESTSCountFileRequestsResult.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileRequests/Headers/DBFILEREQUESTSCreateFileRequestArgs.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILEREQUESTSCreateFileRequestArgs; @class DBFILEREQUESTSFileRequestDeadline; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `CreateFileRequestArgs` struct. /// /// Arguments for `create`. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILEREQUESTSCreateFileRequestArgs : NSObject #pragma mark - Instance fields /// The title of the file request. Must not be empty. @property (nonatomic, readonly, copy) NSString *title; /// 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. @property (nonatomic, readonly, copy) NSString *destination; /// 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 /// /// Full constructor for the struct (exposes all instance variables). /// /// @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 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 description_:(nullable NSString *)description_; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @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. /// /// @return An initialized instance. /// - (instancetype)initWithTitle:(NSString *)title destination:(NSString *)destination; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `CreateFileRequestArgs` struct. /// @interface DBFILEREQUESTSCreateFileRequestArgsSerializer : NSObject /// /// Serializes `DBFILEREQUESTSCreateFileRequestArgs` instances. /// /// @param instance An instance of the `DBFILEREQUESTSCreateFileRequestArgs` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBFILEREQUESTSCreateFileRequestArgs` API object. /// + (nullable NSDictionary *)serialize:(DBFILEREQUESTSCreateFileRequestArgs *)instance; /// /// Deserializes `DBFILEREQUESTSCreateFileRequestArgs` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILEREQUESTSCreateFileRequestArgs` API object. /// /// @return An instantiation of the `DBFILEREQUESTSCreateFileRequestArgs` /// object. /// + (DBFILEREQUESTSCreateFileRequestArgs *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileRequests/Headers/DBFILEREQUESTSCreateFileRequestError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILEREQUESTSCreateFileRequestError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `CreateFileRequestError` union. /// /// There was an error creating the 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 DBFILEREQUESTSCreateFileRequestError : NSObject #pragma mark - Instance fields /// The `DBFILEREQUESTSCreateFileRequestErrorTag` enum type represents the /// possible tag states with which the `DBFILEREQUESTSCreateFileRequestError` /// union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBFILEREQUESTSCreateFileRequestErrorTag){ /// This user's Dropbox Business team doesn't allow file requests. DBFILEREQUESTSCreateFileRequestErrorDisabledForTeam, /// (no description). DBFILEREQUESTSCreateFileRequestErrorOther, /// This file request ID was not found. DBFILEREQUESTSCreateFileRequestErrorNotFound, /// 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 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, /// 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, /// The user has reached the rate limit for creating file requests. The /// limit is currently 4000 file requests total. DBFILEREQUESTSCreateFileRequestErrorRateLimit, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBFILEREQUESTSCreateFileRequestErrorTag 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 "invalid_location". /// /// Description of the "invalid_location" tag state: File requests are not /// available on the specified folder. /// /// @return An initialized instance. /// - (instancetype)initWithInvalidLocation; /// /// 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 4000 file requests /// total. /// /// @return An initialized instance. /// - (instancetype)initWithRateLimit; - (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 /// "invalid_location". /// /// @return Whether the union's current tag state has value "invalid_location". /// - (BOOL)isInvalidLocation; /// /// Retrieves whether the union's current tag state has value "rate_limit". /// /// @return Whether the union's current tag state has value "rate_limit". /// - (BOOL)isRateLimit; /// /// 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 `DBFILEREQUESTSCreateFileRequestError` /// union. /// @interface DBFILEREQUESTSCreateFileRequestErrorSerializer : NSObject /// /// Serializes `DBFILEREQUESTSCreateFileRequestError` instances. /// /// @param instance An instance of the `DBFILEREQUESTSCreateFileRequestError` /// API object. /// /// @return A json-compatible dictionary representation of the /// `DBFILEREQUESTSCreateFileRequestError` API object. /// + (nullable NSDictionary *)serialize:(DBFILEREQUESTSCreateFileRequestError *)instance; /// /// Deserializes `DBFILEREQUESTSCreateFileRequestError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILEREQUESTSCreateFileRequestError` API object. /// /// @return An instantiation of the `DBFILEREQUESTSCreateFileRequestError` /// object. /// + (DBFILEREQUESTSCreateFileRequestError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileRequests/Headers/DBFILEREQUESTSDeleteAllClosedFileRequestsError.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileRequests/Headers/DBFILEREQUESTSDeleteAllClosedFileRequestsResult.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileRequests/Headers/DBFILEREQUESTSDeleteFileRequestArgs.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileRequests/Headers/DBFILEREQUESTSDeleteFileRequestError.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileRequests/Headers/DBFILEREQUESTSDeleteFileRequestsResult.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileRequests/Headers/DBFILEREQUESTSFileRequest.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILEREQUESTSFileRequest; @class DBFILEREQUESTSFileRequestDeadline; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `FileRequest` struct. /// /// A file request https://www.dropbox.com/help/9090 for receiving files into /// the user's 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 DBFILEREQUESTSFileRequest : NSObject #pragma mark - Instance fields /// The ID of the file request. @property (nonatomic, readonly, copy) NSString *id_; /// The URL of the file request. @property (nonatomic, readonly, copy) NSString *url; /// The title of the file request. @property (nonatomic, readonly, copy) NSString *title; /// The path of the folder in the Dropbox where uploaded files will be sent. /// This can be null if the destination was removed. For apps with the app /// folder permission, this will be relative to the app folder. @property (nonatomic, readonly, copy, nullable) NSString *destination; /// When this file request was created. @property (nonatomic, readonly) NSDate *created; /// The deadline for this file request. Only set if the request has a deadline. @property (nonatomic, readonly, nullable) DBFILEREQUESTSFileRequestDeadline *deadline; /// Whether or not the file request is open. If the file request is closed, it /// will not accept any more file submissions. @property (nonatomic, readonly) NSNumber *isOpen; /// 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 /// /// Full constructor for the struct (exposes all instance variables). /// /// @param id_ The ID of the file request. /// @param url The URL of the file request. /// @param title The title of the file request. /// @param created When this file request was created. /// @param isOpen Whether or not the file request is open. If the file request /// is closed, it will not accept any more file submissions. /// @param fileCount The number of files this file request has received. /// @param destination The path of the folder in the Dropbox where uploaded /// files will be sent. This can be null if the destination was removed. For /// apps with the app folder permission, this will be relative to the app /// 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. /// - (instancetype)initWithId_:(NSString *)id_ url:(NSString *)url title:(NSString *)title created:(NSDate *)created isOpen:(NSNumber *)isOpen fileCount:(NSNumber *)fileCount destination:(nullable NSString *)destination deadline:(nullable DBFILEREQUESTSFileRequestDeadline *)deadline description_:(nullable NSString *)description_; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param id_ The ID of the file request. /// @param url The URL of the file request. /// @param title The title of the file request. /// @param created When this file request was created. /// @param isOpen Whether or not the file request is open. If the file request /// is closed, it will not accept any more file submissions. /// @param fileCount The number of files this file request has received. /// /// @return An initialized instance. /// - (instancetype)initWithId_:(NSString *)id_ url:(NSString *)url title:(NSString *)title created:(NSDate *)created isOpen:(NSNumber *)isOpen fileCount:(NSNumber *)fileCount; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `FileRequest` struct. /// @interface DBFILEREQUESTSFileRequestSerializer : NSObject /// /// Serializes `DBFILEREQUESTSFileRequest` instances. /// /// @param instance An instance of the `DBFILEREQUESTSFileRequest` API object. /// /// @return A json-compatible dictionary representation of the /// `DBFILEREQUESTSFileRequest` API object. /// + (nullable NSDictionary *)serialize:(DBFILEREQUESTSFileRequest *)instance; /// /// Deserializes `DBFILEREQUESTSFileRequest` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILEREQUESTSFileRequest` API object. /// /// @return An instantiation of the `DBFILEREQUESTSFileRequest` object. /// + (DBFILEREQUESTSFileRequest *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileRequests/Headers/DBFILEREQUESTSFileRequestDeadline.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILEREQUESTSFileRequestDeadline; @class DBFILEREQUESTSGracePeriod; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `FileRequestDeadline` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILEREQUESTSFileRequestDeadline : NSObject #pragma mark - Instance fields /// 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. @property (nonatomic, readonly, nullable) DBFILEREQUESTSGracePeriod *allowLateUploads; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @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. /// /// @return An initialized instance. /// - (instancetype)initWithDeadline:(NSDate *)deadline allowLateUploads:(nullable DBFILEREQUESTSGracePeriod *)allowLateUploads; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param deadline The deadline for this file request. /// /// @return An initialized instance. /// - (instancetype)initWithDeadline:(NSDate *)deadline; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `FileRequestDeadline` struct. /// @interface DBFILEREQUESTSFileRequestDeadlineSerializer : NSObject /// /// Serializes `DBFILEREQUESTSFileRequestDeadline` instances. /// /// @param instance An instance of the `DBFILEREQUESTSFileRequestDeadline` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBFILEREQUESTSFileRequestDeadline` API object. /// + (nullable NSDictionary *)serialize:(DBFILEREQUESTSFileRequestDeadline *)instance; /// /// Deserializes `DBFILEREQUESTSFileRequestDeadline` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILEREQUESTSFileRequestDeadline` API object. /// /// @return An instantiation of the `DBFILEREQUESTSFileRequestDeadline` object. /// + (DBFILEREQUESTSFileRequestDeadline *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileRequests/Headers/DBFILEREQUESTSFileRequestError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILEREQUESTSFileRequestError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `FileRequestError` union. /// /// There is an error with the 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 DBFILEREQUESTSFileRequestError : NSObject #pragma mark - Instance fields /// The `DBFILEREQUESTSFileRequestErrorTag` enum type represents the possible /// tag states with which the `DBFILEREQUESTSFileRequestError` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBFILEREQUESTSFileRequestErrorTag){ /// This user's Dropbox Business team doesn't allow file requests. DBFILEREQUESTSFileRequestErrorDisabledForTeam, /// (no description). DBFILEREQUESTSFileRequestErrorOther, /// This file request ID was not found. DBFILEREQUESTSFileRequestErrorNotFound, /// 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 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, /// There was an error validating the request. For example, the title was /// invalid, or there were disallowed characters in the destination path. DBFILEREQUESTSFileRequestErrorValidationError, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBFILEREQUESTSFileRequestErrorTag 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 `DBFILEREQUESTSFileRequestError` union. /// @interface DBFILEREQUESTSFileRequestErrorSerializer : NSObject /// /// Serializes `DBFILEREQUESTSFileRequestError` instances. /// /// @param instance An instance of the `DBFILEREQUESTSFileRequestError` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBFILEREQUESTSFileRequestError` API object. /// + (nullable NSDictionary *)serialize:(DBFILEREQUESTSFileRequestError *)instance; /// /// Deserializes `DBFILEREQUESTSFileRequestError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILEREQUESTSFileRequestError` API object. /// /// @return An instantiation of the `DBFILEREQUESTSFileRequestError` object. /// + (DBFILEREQUESTSFileRequestError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileRequests/Headers/DBFILEREQUESTSGeneralFileRequestsError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILEREQUESTSGeneralFileRequestsError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `GeneralFileRequestsError` union. /// /// There is an error accessing the file requests functionality. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILEREQUESTSGeneralFileRequestsError : NSObject #pragma mark - Instance fields /// The `DBFILEREQUESTSGeneralFileRequestsErrorTag` enum type represents the /// possible tag states with which the `DBFILEREQUESTSGeneralFileRequestsError` /// union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBFILEREQUESTSGeneralFileRequestsErrorTag){ /// This user's Dropbox Business team doesn't allow file requests. DBFILEREQUESTSGeneralFileRequestsErrorDisabledForTeam, /// (no description). DBFILEREQUESTSGeneralFileRequestsErrorOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBFILEREQUESTSGeneralFileRequestsErrorTag 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 `DBFILEREQUESTSGeneralFileRequestsError` /// union. /// @interface DBFILEREQUESTSGeneralFileRequestsErrorSerializer : NSObject /// /// Serializes `DBFILEREQUESTSGeneralFileRequestsError` instances. /// /// @param instance An instance of the `DBFILEREQUESTSGeneralFileRequestsError` /// API object. /// /// @return A json-compatible dictionary representation of the /// `DBFILEREQUESTSGeneralFileRequestsError` API object. /// + (nullable NSDictionary *)serialize:(DBFILEREQUESTSGeneralFileRequestsError *)instance; /// /// Deserializes `DBFILEREQUESTSGeneralFileRequestsError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILEREQUESTSGeneralFileRequestsError` API object. /// /// @return An instantiation of the `DBFILEREQUESTSGeneralFileRequestsError` /// object. /// + (DBFILEREQUESTSGeneralFileRequestsError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileRequests/Headers/DBFILEREQUESTSGetFileRequestArgs.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILEREQUESTSGetFileRequestArgs; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `GetFileRequestArgs` struct. /// /// Arguments for `get`. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILEREQUESTSGetFileRequestArgs : NSObject #pragma mark - Instance fields /// The ID of the file request to retrieve. @property (nonatomic, readonly, copy) NSString *id_; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param id_ The ID of the file request to retrieve. /// /// @return An initialized instance. /// - (instancetype)initWithId_:(NSString *)id_; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `GetFileRequestArgs` struct. /// @interface DBFILEREQUESTSGetFileRequestArgsSerializer : NSObject /// /// Serializes `DBFILEREQUESTSGetFileRequestArgs` instances. /// /// @param instance An instance of the `DBFILEREQUESTSGetFileRequestArgs` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBFILEREQUESTSGetFileRequestArgs` API object. /// + (nullable NSDictionary *)serialize:(DBFILEREQUESTSGetFileRequestArgs *)instance; /// /// Deserializes `DBFILEREQUESTSGetFileRequestArgs` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILEREQUESTSGetFileRequestArgs` API object. /// /// @return An instantiation of the `DBFILEREQUESTSGetFileRequestArgs` object. /// + (DBFILEREQUESTSGetFileRequestArgs *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileRequests/Headers/DBFILEREQUESTSGetFileRequestError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILEREQUESTSGetFileRequestError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `GetFileRequestError` union. /// /// There was an error retrieving the specified 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 DBFILEREQUESTSGetFileRequestError : NSObject #pragma mark - Instance fields /// The `DBFILEREQUESTSGetFileRequestErrorTag` enum type represents the possible /// tag states with which the `DBFILEREQUESTSGetFileRequestError` union can /// exist. typedef NS_CLOSED_ENUM(NSInteger, DBFILEREQUESTSGetFileRequestErrorTag){ /// This user's Dropbox Business team doesn't allow file requests. DBFILEREQUESTSGetFileRequestErrorDisabledForTeam, /// (no description). DBFILEREQUESTSGetFileRequestErrorOther, /// This file request ID was not found. DBFILEREQUESTSGetFileRequestErrorNotFound, /// 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 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, /// There was an error validating the request. For example, the title was /// invalid, or there were disallowed characters in the destination path. DBFILEREQUESTSGetFileRequestErrorValidationError, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBFILEREQUESTSGetFileRequestErrorTag 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 `DBFILEREQUESTSGetFileRequestError` union. /// @interface DBFILEREQUESTSGetFileRequestErrorSerializer : NSObject /// /// Serializes `DBFILEREQUESTSGetFileRequestError` instances. /// /// @param instance An instance of the `DBFILEREQUESTSGetFileRequestError` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBFILEREQUESTSGetFileRequestError` API object. /// + (nullable NSDictionary *)serialize:(DBFILEREQUESTSGetFileRequestError *)instance; /// /// Deserializes `DBFILEREQUESTSGetFileRequestError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILEREQUESTSGetFileRequestError` API object. /// /// @return An instantiation of the `DBFILEREQUESTSGetFileRequestError` object. /// + (DBFILEREQUESTSGetFileRequestError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileRequests/Headers/DBFILEREQUESTSGracePeriod.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILEREQUESTSGracePeriod; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `GracePeriod` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILEREQUESTSGracePeriod : NSObject #pragma mark - Instance fields /// The `DBFILEREQUESTSGracePeriodTag` enum type represents the possible tag /// states with which the `DBFILEREQUESTSGracePeriod` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBFILEREQUESTSGracePeriodTag){ /// (no description). DBFILEREQUESTSGracePeriodOneDay, /// (no description). DBFILEREQUESTSGracePeriodTwoDays, /// (no description). DBFILEREQUESTSGracePeriodSevenDays, /// (no description). DBFILEREQUESTSGracePeriodThirtyDays, /// (no description). DBFILEREQUESTSGracePeriodAlways, /// (no description). DBFILEREQUESTSGracePeriodOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBFILEREQUESTSGracePeriodTag tag; #pragma mark - Constructors /// /// Initializes union class with tag state of "one_day". /// /// @return An initialized instance. /// - (instancetype)initWithOneDay; /// /// Initializes union class with tag state of "two_days". /// /// @return An initialized instance. /// - (instancetype)initWithTwoDays; /// /// Initializes union class with tag state of "seven_days". /// /// @return An initialized instance. /// - (instancetype)initWithSevenDays; /// /// Initializes union class with tag state of "thirty_days". /// /// @return An initialized instance. /// - (instancetype)initWithThirtyDays; /// /// Initializes union class with tag state of "always". /// /// @return An initialized instance. /// - (instancetype)initWithAlways; /// /// 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 "one_day". /// /// @return Whether the union's current tag state has value "one_day". /// - (BOOL)isOneDay; /// /// Retrieves whether the union's current tag state has value "two_days". /// /// @return Whether the union's current tag state has value "two_days". /// - (BOOL)isTwoDays; /// /// Retrieves whether the union's current tag state has value "seven_days". /// /// @return Whether the union's current tag state has value "seven_days". /// - (BOOL)isSevenDays; /// /// Retrieves whether the union's current tag state has value "thirty_days". /// /// @return Whether the union's current tag state has value "thirty_days". /// - (BOOL)isThirtyDays; /// /// Retrieves whether the union's current tag state has value "always". /// /// @return Whether the union's current tag state has value "always". /// - (BOOL)isAlways; /// /// 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 `DBFILEREQUESTSGracePeriod` union. /// @interface DBFILEREQUESTSGracePeriodSerializer : NSObject /// /// Serializes `DBFILEREQUESTSGracePeriod` instances. /// /// @param instance An instance of the `DBFILEREQUESTSGracePeriod` API object. /// /// @return A json-compatible dictionary representation of the /// `DBFILEREQUESTSGracePeriod` API object. /// + (nullable NSDictionary *)serialize:(DBFILEREQUESTSGracePeriod *)instance; /// /// Deserializes `DBFILEREQUESTSGracePeriod` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILEREQUESTSGracePeriod` API object. /// /// @return An instantiation of the `DBFILEREQUESTSGracePeriod` object. /// + (DBFILEREQUESTSGracePeriod *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileRequests/Headers/DBFILEREQUESTSListFileRequestsArg.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileRequests/Headers/DBFILEREQUESTSListFileRequestsContinueArg.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileRequests/Headers/DBFILEREQUESTSListFileRequestsContinueError.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileRequests/Headers/DBFILEREQUESTSListFileRequestsError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILEREQUESTSListFileRequestsError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `ListFileRequestsError` 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 DBFILEREQUESTSListFileRequestsError : NSObject #pragma mark - Instance fields /// The `DBFILEREQUESTSListFileRequestsErrorTag` enum type represents the /// possible tag states with which the `DBFILEREQUESTSListFileRequestsError` /// union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBFILEREQUESTSListFileRequestsErrorTag){ /// This user's Dropbox Business team doesn't allow file requests. DBFILEREQUESTSListFileRequestsErrorDisabledForTeam, /// (no description). DBFILEREQUESTSListFileRequestsErrorOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBFILEREQUESTSListFileRequestsErrorTag 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 `DBFILEREQUESTSListFileRequestsError` union. /// @interface DBFILEREQUESTSListFileRequestsErrorSerializer : NSObject /// /// Serializes `DBFILEREQUESTSListFileRequestsError` instances. /// /// @param instance An instance of the `DBFILEREQUESTSListFileRequestsError` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBFILEREQUESTSListFileRequestsError` API object. /// + (nullable NSDictionary *)serialize:(DBFILEREQUESTSListFileRequestsError *)instance; /// /// Deserializes `DBFILEREQUESTSListFileRequestsError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILEREQUESTSListFileRequestsError` API object. /// /// @return An instantiation of the `DBFILEREQUESTSListFileRequestsError` /// object. /// + (DBFILEREQUESTSListFileRequestsError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileRequests/Headers/DBFILEREQUESTSListFileRequestsResult.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILEREQUESTSFileRequest; @class DBFILEREQUESTSListFileRequestsResult; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `ListFileRequestsResult` struct. /// /// Result 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 DBFILEREQUESTSListFileRequestsResult : 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; #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. /// /// @return An initialized instance. /// - (instancetype)initWithFileRequests:(NSArray *)fileRequests; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `ListFileRequestsResult` struct. /// @interface DBFILEREQUESTSListFileRequestsResultSerializer : NSObject /// /// Serializes `DBFILEREQUESTSListFileRequestsResult` instances. /// /// @param instance An instance of the `DBFILEREQUESTSListFileRequestsResult` /// API object. /// /// @return A json-compatible dictionary representation of the /// `DBFILEREQUESTSListFileRequestsResult` API object. /// + (nullable NSDictionary *)serialize:(DBFILEREQUESTSListFileRequestsResult *)instance; /// /// Deserializes `DBFILEREQUESTSListFileRequestsResult` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILEREQUESTSListFileRequestsResult` API object. /// /// @return An instantiation of the `DBFILEREQUESTSListFileRequestsResult` /// object. /// + (DBFILEREQUESTSListFileRequestsResult *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileRequests/Headers/DBFILEREQUESTSListFileRequestsV2Result.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileRequests/Headers/DBFILEREQUESTSUpdateFileRequestArgs.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILEREQUESTSUpdateFileRequestArgs; @class DBFILEREQUESTSUpdateFileRequestDeadline; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `UpdateFileRequestArgs` struct. /// /// Arguments for `update`. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILEREQUESTSUpdateFileRequestArgs : NSObject #pragma mark - Instance fields /// The ID of the file request to update. @property (nonatomic, readonly, copy) NSString *id_; /// The new title of the file request. Must not be empty. @property (nonatomic, readonly, copy, nullable) NSString *title; /// 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. @property (nonatomic, readonly, copy, nullable) NSString *destination; /// 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 /// /// Full constructor for the struct (exposes all instance variables). /// /// @param id_ The ID of the file request to update. /// @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. 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. /// - (instancetype)initWithId_:(NSString *)id_ title:(nullable NSString *)title destination:(nullable NSString *)destination deadline:(nullable DBFILEREQUESTSUpdateFileRequestDeadline *)deadline open:(nullable NSNumber *)open description_:(nullable NSString *)description_; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param id_ The ID of the file request to update. /// /// @return An initialized instance. /// - (instancetype)initWithId_:(NSString *)id_; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `UpdateFileRequestArgs` struct. /// @interface DBFILEREQUESTSUpdateFileRequestArgsSerializer : NSObject /// /// Serializes `DBFILEREQUESTSUpdateFileRequestArgs` instances. /// /// @param instance An instance of the `DBFILEREQUESTSUpdateFileRequestArgs` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBFILEREQUESTSUpdateFileRequestArgs` API object. /// + (nullable NSDictionary *)serialize:(DBFILEREQUESTSUpdateFileRequestArgs *)instance; /// /// Deserializes `DBFILEREQUESTSUpdateFileRequestArgs` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILEREQUESTSUpdateFileRequestArgs` API object. /// /// @return An instantiation of the `DBFILEREQUESTSUpdateFileRequestArgs` /// object. /// + (DBFILEREQUESTSUpdateFileRequestArgs *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileRequests/Headers/DBFILEREQUESTSUpdateFileRequestDeadline.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILEREQUESTSFileRequestDeadline; @class DBFILEREQUESTSUpdateFileRequestDeadline; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `UpdateFileRequestDeadline` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILEREQUESTSUpdateFileRequestDeadline : NSObject #pragma mark - Instance fields /// The `DBFILEREQUESTSUpdateFileRequestDeadlineTag` enum type represents the /// possible tag states with which the `DBFILEREQUESTSUpdateFileRequestDeadline` /// union can exist. 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, /// (no description). DBFILEREQUESTSUpdateFileRequestDeadlineOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBFILEREQUESTSUpdateFileRequestDeadlineTag tag; /// If null, the file request's deadline is cleared. @note Ensure the `isUpdate` /// method returns true before accessing, otherwise a runtime exception will be /// raised. @property (nonatomic, readonly, nullable) DBFILEREQUESTSFileRequestDeadline *update; #pragma mark - Constructors /// /// Initializes union class with tag state of "no_update". /// /// Description of the "no_update" tag state: Do not change the file request's /// deadline. /// /// @return An initialized instance. /// - (instancetype)initWithNoUpdate; /// /// Initializes union class with tag state of "update". /// /// Description of the "update" tag state: If null, the file request's deadline /// is cleared. /// /// @param update If null, the file request's deadline is cleared. /// /// @return An initialized instance. /// - (instancetype)initWithUpdate:(nullable DBFILEREQUESTSFileRequestDeadline *)update; /// /// 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_update". /// /// @return Whether the union's current tag state has value "no_update". /// - (BOOL)isNoUpdate; /// /// Retrieves whether the union's current tag state has value "update". /// /// @note Call this method and ensure it returns true before accessing the /// `update` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value "update". /// - (BOOL)isUpdate; /// /// 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 `DBFILEREQUESTSUpdateFileRequestDeadline` /// union. /// @interface DBFILEREQUESTSUpdateFileRequestDeadlineSerializer : NSObject /// /// Serializes `DBFILEREQUESTSUpdateFileRequestDeadline` instances. /// /// @param instance An instance of the `DBFILEREQUESTSUpdateFileRequestDeadline` /// API object. /// /// @return A json-compatible dictionary representation of the /// `DBFILEREQUESTSUpdateFileRequestDeadline` API object. /// + (nullable NSDictionary *)serialize:(DBFILEREQUESTSUpdateFileRequestDeadline *)instance; /// /// Deserializes `DBFILEREQUESTSUpdateFileRequestDeadline` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILEREQUESTSUpdateFileRequestDeadline` API object. /// /// @return An instantiation of the `DBFILEREQUESTSUpdateFileRequestDeadline` /// object. /// + (DBFILEREQUESTSUpdateFileRequestDeadline *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileRequests/Headers/DBFILEREQUESTSUpdateFileRequestError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILEREQUESTSUpdateFileRequestError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `UpdateFileRequestError` union. /// /// There is an error updating the 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 DBFILEREQUESTSUpdateFileRequestError : NSObject #pragma mark - Instance fields /// The `DBFILEREQUESTSUpdateFileRequestErrorTag` enum type represents the /// possible tag states with which the `DBFILEREQUESTSUpdateFileRequestError` /// union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBFILEREQUESTSUpdateFileRequestErrorTag){ /// This user's Dropbox Business team doesn't allow file requests. DBFILEREQUESTSUpdateFileRequestErrorDisabledForTeam, /// (no description). DBFILEREQUESTSUpdateFileRequestErrorOther, /// This file request ID was not found. DBFILEREQUESTSUpdateFileRequestErrorNotFound, /// 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 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, /// There was an error validating the request. For example, the title was /// invalid, or there were disallowed characters in the destination path. DBFILEREQUESTSUpdateFileRequestErrorValidationError, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBFILEREQUESTSUpdateFileRequestErrorTag 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 `DBFILEREQUESTSUpdateFileRequestError` /// union. /// @interface DBFILEREQUESTSUpdateFileRequestErrorSerializer : NSObject /// /// Serializes `DBFILEREQUESTSUpdateFileRequestError` instances. /// /// @param instance An instance of the `DBFILEREQUESTSUpdateFileRequestError` /// API object. /// /// @return A json-compatible dictionary representation of the /// `DBFILEREQUESTSUpdateFileRequestError` API object. /// + (nullable NSDictionary *)serialize:(DBFILEREQUESTSUpdateFileRequestError *)instance; /// /// Deserializes `DBFILEREQUESTSUpdateFileRequestError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILEREQUESTSUpdateFileRequestError` API object. /// /// @return An instantiation of the `DBFILEREQUESTSUpdateFileRequestError` /// object. /// + (DBFILEREQUESTSUpdateFileRequestError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/DBFilesObjects.m ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// /// Arguments, results, and errors for the `Files` namespace. #import "DBFILESAddTagArg.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILESAddTagArg #pragma mark - Constructors - (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); self = [super init]; if (self) { _path = path; _tagText = tagText; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBFILESAddTagArgSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILESAddTagArgSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILESAddTagArgSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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.tagText hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToAddTagArg:other]; } - (BOOL)isEqualToAddTagArg:(DBFILESAddTagArg *)anAddTagArg { if (self == anAddTagArg) { return YES; } if (![self.path isEqual:anAddTagArg.path]) { return NO; } if (![self.tagText isEqual:anAddTagArg.tagText]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBFILESAddTagArgSerializer + (NSDictionary *)serialize:(DBFILESAddTagArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"path"] = valueObj.path; jsonDict[@"tag_text"] = valueObj.tagText; return jsonDict; } + (DBFILESAddTagArg *)deserialize:(NSDictionary *)valueDict { NSString *path = valueDict[@"path"]; NSString *tagText = valueDict[@"tag_text"]; return [[DBFILESAddTagArg alloc] initWithPath:path tagText:tagText]; } @end #import "DBFILESBaseTagError.h" #import "DBFILESLookupError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILESBaseTagError @synthesize path = _path; #pragma mark - Constructors - (instancetype)initWithPath:(DBFILESLookupError *)path { self = [super init]; if (self) { _tag = DBFILESBaseTagErrorPath; _path = path; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBFILESBaseTagErrorOther; } return self; } #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 [DBFILESBaseTagErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILESBaseTagErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILESBaseTagErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 DBFILESBaseTagErrorPath: result = prime * result + [self.path hash]; break; case DBFILESBaseTagErrorOther: 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 isEqualToBaseTagError:other]; } - (BOOL)isEqualToBaseTagError:(DBFILESBaseTagError *)aBaseTagError { if (self == aBaseTagError) { return YES; } if (self.tag != aBaseTagError.tag) { return NO; } switch (_tag) { case DBFILESBaseTagErrorPath: return [self.path isEqual:aBaseTagError.path]; case DBFILESBaseTagErrorOther: return [[self tagName] isEqual:[aBaseTagError tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBFILESBaseTagErrorSerializer + (NSDictionary *)serialize:(DBFILESBaseTagError *)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; } + (DBFILESBaseTagError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; 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 "DBFILESAddTagError.h" #import "DBFILESBaseTagError.h" #import "DBFILESLookupError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILESAddTagError @synthesize path = _path; #pragma mark - Constructors - (instancetype)initWithPath:(DBFILESLookupError *)path { self = [super init]; if (self) { _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 DBFILESAddTagErrorPath, but was %@.", [self tagName]]; } return _path; } #pragma mark - Tag state methods - (BOOL)isPath { return _tag == DBFILESAddTagErrorPath; } - (BOOL)isOther { return _tag == DBFILESAddTagErrorOther; } - (BOOL)isTooManyTags { return _tag == DBFILESAddTagErrorTooManyTags; } - (NSString *)tagName { switch (_tag) { case DBFILESAddTagErrorPath: return @"DBFILESAddTagErrorPath"; case DBFILESAddTagErrorOther: return @"DBFILESAddTagErrorOther"; case DBFILESAddTagErrorTooManyTags: return @"DBFILESAddTagErrorTooManyTags"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBFILESAddTagErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILESAddTagErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILESAddTagErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToAddTagError:other]; } - (BOOL)isEqualToAddTagError:(DBFILESAddTagError *)anAddTagError { if (self == anAddTagError) { return YES; } if (self.tag != anAddTagError.tag) { return NO; } switch (_tag) { 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; } @end #pragma mark - Serializer Object @implementation DBFILESAddTagErrorSerializer + (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 { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBFILESAddTagError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"path"]) { DBFILESLookupError *path = [DBFILESLookupErrorSerializer deserialize:valueDict[@"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 { return [[DBFILESAddTagError alloc] initWithOther]; } } @end #import "DBFILEPROPERTIESTemplateFilterBase.h" #import "DBFILESGetMetadataArg.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILESGetMetadataArg #pragma mark - Constructors - (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); self = [super init]; if (self) { _path = path; _includeMediaInfo = includeMediaInfo ?: @NO; _includeDeleted = includeDeleted ?: @NO; _includeHasExplicitSharedMembers = includeHasExplicitSharedMembers ?: @NO; _includePropertyGroups = includePropertyGroups; } 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]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILESGetMetadataArgSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILESGetMetadataArgSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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.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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToGetMetadataArg:other]; } - (BOOL)isEqualToGetMetadataArg:(DBFILESGetMetadataArg *)aGetMetadataArg { if (self == aGetMetadataArg) { return YES; } if (![self.path isEqual:aGetMetadataArg.path]) { return NO; } 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; } @end #pragma mark - Serializer Object @implementation DBFILESGetMetadataArgSerializer + (NSDictionary *)serialize:(DBFILESGetMetadataArg *)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]; } return jsonDict; } + (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; return [[DBFILESGetMetadataArg alloc] initWithPath:path includeMediaInfo:includeMediaInfo includeDeleted:includeDeleted includeHasExplicitSharedMembers:includeHasExplicitSharedMembers includePropertyGroups:includePropertyGroups]; } @end #import "DBFILEPROPERTIESTemplateFilterBase.h" #import "DBFILESAlphaGetMetadataArg.h" #import "DBFILESGetMetadataArg.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILESAlphaGetMetadataArg #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); self = [super initWithPath:path includeMediaInfo:includeMediaInfo includeDeleted:includeDeleted includeHasExplicitSharedMembers:includeHasExplicitSharedMembers includePropertyGroups:includePropertyGroups]; if (self) { _includePropertyTemplates = includePropertyTemplates; } return self; } - (instancetype)initWithPath:(NSString *)path { return [self initWithPath:path includeMediaInfo:nil includeDeleted:nil includeHasExplicitSharedMembers:nil includePropertyGroups:nil includePropertyTemplates:nil]; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBFILESAlphaGetMetadataArgSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILESAlphaGetMetadataArgSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILESAlphaGetMetadataArgSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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.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]; } return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToAlphaGetMetadataArg:other]; } - (BOOL)isEqualToAlphaGetMetadataArg:(DBFILESAlphaGetMetadataArg *)anAlphaGetMetadataArg { if (self == anAlphaGetMetadataArg) { 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]) { return NO; } if (self.includePropertyGroups) { if (![self.includePropertyGroups isEqual:anAlphaGetMetadataArg.includePropertyGroups]) { return NO; } } if (self.includePropertyTemplates) { if (![self.includePropertyTemplates isEqual:anAlphaGetMetadataArg.includePropertyTemplates]) { return NO; } } return YES; } @end #pragma mark - Serializer Object @implementation DBFILESAlphaGetMetadataArgSerializer + (NSDictionary *)serialize:(DBFILESAlphaGetMetadataArg *)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; }]; } 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; return [[DBFILESAlphaGetMetadataArg alloc] initWithPath:path includeMediaInfo:includeMediaInfo includeDeleted:includeDeleted includeHasExplicitSharedMembers:includeHasExplicitSharedMembers includePropertyGroups:includePropertyGroups includePropertyTemplates:includePropertyTemplates]; } @end #import "DBFILESGetMetadataError.h" #import "DBFILESLookupError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILESGetMetadataError @synthesize path = _path; #pragma mark - Constructors - (instancetype)initWithPath:(DBFILESLookupError *)path { self = [super init]; if (self) { _tag = DBFILESGetMetadataErrorPath; _path = path; } return self; } #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 [DBFILESGetMetadataErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILESGetMetadataErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILESGetMetadataErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 DBFILESGetMetadataErrorPath: result = prime * result + [self.path 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 isEqualToGetMetadataError:other]; } - (BOOL)isEqualToGetMetadataError:(DBFILESGetMetadataError *)aGetMetadataError { if (self == aGetMetadataError) { return YES; } if (self.tag != aGetMetadataError.tag) { return NO; } switch (_tag) { case DBFILESGetMetadataErrorPath: return [self.path isEqual:aGetMetadataError.path]; } return YES; } @end #pragma mark - Serializer Object @implementation DBFILESGetMetadataErrorSerializer + (NSDictionary *)serialize:(DBFILESGetMetadataError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; 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; } + (DBFILESGetMetadataError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; 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 "DBFILEPROPERTIESLookUpPropertiesError.h" #import "DBFILESAlphaGetMetadataError.h" #import "DBFILESGetMetadataError.h" #import "DBFILESLookupError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILESAlphaGetMetadataError @synthesize path = _path; @synthesize propertiesError = _propertiesError; #pragma mark - Constructors - (instancetype)initWithPath:(DBFILESLookupError *)path { self = [super init]; if (self) { _tag = DBFILESAlphaGetMetadataErrorPath; _path = path; } return self; } - (instancetype)initWithPropertiesError:(DBFILEPROPERTIESLookUpPropertiesError *)propertiesError { self = [super init]; if (self) { _tag = DBFILESAlphaGetMetadataErrorPropertiesError; _propertiesError = propertiesError; } 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]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBFILESAlphaGetMetadataErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILESAlphaGetMetadataErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILESAlphaGetMetadataErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 DBFILESAlphaGetMetadataErrorPath: result = prime * result + [self.path hash]; break; case DBFILESAlphaGetMetadataErrorPropertiesError: result = prime * result + [self.propertiesError 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 isEqualToAlphaGetMetadataError:other]; } - (BOOL)isEqualToAlphaGetMetadataError:(DBFILESAlphaGetMetadataError *)anAlphaGetMetadataError { if (self == anAlphaGetMetadataError) { return YES; } if (self.tag != anAlphaGetMetadataError.tag) { return NO; } switch (_tag) { case DBFILESAlphaGetMetadataErrorPath: return [self.path isEqual:anAlphaGetMetadataError.path]; case DBFILESAlphaGetMetadataErrorPropertiesError: return [self.propertiesError isEqual:anAlphaGetMetadataError.propertiesError]; } return YES; } @end #pragma mark - Serializer Object @implementation DBFILESAlphaGetMetadataErrorSerializer + (NSDictionary *)serialize:(DBFILESAlphaGetMetadataError *)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]); } return jsonDict; } + (DBFILESAlphaGetMetadataError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; 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]); } } @end #import "DBFILEPROPERTIESPropertyGroup.h" #import "DBFILESCommitInfo.h" #import "DBFILESWriteMode.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILESCommitInfo #pragma mark - Constructors - (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 [DBFILESCommitInfoSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILESCommitInfoSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILESCommitInfoSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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.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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToCommitInfo:other]; } - (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; } @end #pragma mark - Serializer Object @implementation DBFILESCommitInfoSerializer + (NSDictionary *)serialize:(DBFILESCommitInfo *)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]; }]; } 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 DBFILESContentSyncSetting #pragma mark - Constructors - (instancetype)initWithId_:(NSString *)id_ syncSetting:(DBFILESSyncSetting *)syncSetting { [DBStoneValidators nonnullValidator:[DBStoneValidators stringValidator:@(4) maxLength:nil pattern:@"id:.+"]](id_); [DBStoneValidators nonnullValidator:nil](syncSetting); self = [super init]; if (self) { _id_ = id_; _syncSetting = syncSetting; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBFILESContentSyncSettingSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILESContentSyncSettingSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILESContentSyncSettingSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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.syncSetting hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToContentSyncSetting:other]; } - (BOOL)isEqualToContentSyncSetting:(DBFILESContentSyncSetting *)aContentSyncSetting { if (self == aContentSyncSetting) { return YES; } if (![self.id_ isEqual:aContentSyncSetting.id_]) { return NO; } if (![self.syncSetting isEqual:aContentSyncSetting.syncSetting]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBFILESContentSyncSettingSerializer + (NSDictionary *)serialize:(DBFILESContentSyncSetting *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"id"] = valueObj.id_; jsonDict[@"sync_setting"] = [DBFILESSyncSettingSerializer serialize:valueObj.syncSetting]; return jsonDict; } + (DBFILESContentSyncSetting *)deserialize:(NSDictionary *)valueDict { NSString *id_ = valueDict[@"id"]; DBFILESSyncSetting *syncSetting = [DBFILESSyncSettingSerializer deserialize:valueDict[@"sync_setting"]]; return [[DBFILESContentSyncSetting alloc] initWithId_:id_ syncSetting:syncSetting]; } @end #import "DBFILESContentSyncSettingArg.h" #import "DBFILESSyncSettingArg.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILESContentSyncSettingArg #pragma mark - Constructors - (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) { _id_ = id_; _syncSetting = syncSetting; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBFILESContentSyncSettingArgSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILESContentSyncSettingArgSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILESContentSyncSettingArgSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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.syncSetting hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToContentSyncSettingArg:other]; } - (BOOL)isEqualToContentSyncSettingArg:(DBFILESContentSyncSettingArg *)aContentSyncSettingArg { if (self == aContentSyncSettingArg) { return YES; } if (![self.id_ isEqual:aContentSyncSettingArg.id_]) { return NO; } if (![self.syncSetting isEqual:aContentSyncSettingArg.syncSetting]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBFILESContentSyncSettingArgSerializer + (NSDictionary *)serialize:(DBFILESContentSyncSettingArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"id"] = valueObj.id_; jsonDict[@"sync_setting"] = [DBFILESSyncSettingArgSerializer serialize:valueObj.syncSetting]; return jsonDict; } + (DBFILESContentSyncSettingArg *)deserialize:(NSDictionary *)valueDict { NSString *id_ = valueDict[@"id"]; DBFILESSyncSettingArg *syncSetting = [DBFILESSyncSettingArgSerializer deserialize:valueDict[@"sync_setting"]]; return [[DBFILESContentSyncSettingArg alloc] initWithId_:id_ syncSetting:syncSetting]; } @end #import "DBFILESCreateFolderArg.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILESCreateFolderArg #pragma mark - Constructors - (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) { _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 - Debug Description method - (NSString *)debugDescription { 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; } + (DBFILESCreateFolderArg *)deserialize:(NSDictionary *)valueDict { NSString *path = valueDict[@"path"]; NSNumber *autorename = valueDict[@"autorename"] ?: @NO; return [[DBFILESCreateFolderArg alloc] initWithPath:path autorename:autorename]; } @end #import "DBFILESCreateFolderBatchArg.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILESCreateFolderBatchArg #pragma mark - Constructors - (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); self = [super init]; if (self) { _paths = paths; _autorename = autorename ?: @NO; _forceAsync = forceAsync ?: @NO; } return self; } - (instancetype)initWithPaths:(NSArray *)paths { return [self initWithPaths:paths autorename:nil forceAsync:nil]; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBFILESCreateFolderBatchArgSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILESCreateFolderBatchArgSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILESCreateFolderBatchArgSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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]; result = prime * result + [self.autorename 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 isEqualToCreateFolderBatchArg:other]; } - (BOOL)isEqualToCreateFolderBatchArg:(DBFILESCreateFolderBatchArg *)aCreateFolderBatchArg { if (self == aCreateFolderBatchArg) { return YES; } if (![self.paths isEqual:aCreateFolderBatchArg.paths]) { return NO; } if (![self.autorename isEqual:aCreateFolderBatchArg.autorename]) { return NO; } if (![self.forceAsync isEqual:aCreateFolderBatchArg.forceAsync]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBFILESCreateFolderBatchArgSerializer + (NSDictionary *)serialize:(DBFILESCreateFolderBatchArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"paths"] = [DBArraySerializer serialize:valueObj.paths withBlock:^id(id elem0) { return elem0; }]; jsonDict[@"autorename"] = valueObj.autorename; jsonDict[@"force_async"] = valueObj.forceAsync; return jsonDict; } + (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; return [[DBFILESCreateFolderBatchArg alloc] initWithPaths:paths autorename:autorename forceAsync:forceAsync]; } @end #import "DBFILESCreateFolderBatchError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILESCreateFolderBatchError #pragma mark - Constructors - (instancetype)initWithTooManyFiles { self = [super init]; if (self) { _tag = DBFILESCreateFolderBatchErrorTooManyFiles; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBFILESCreateFolderBatchErrorOther; } return self; } #pragma mark - Instance field accessors #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 DBFILESCreateFolderBatchJobStatusComplete, but was %@.", [self tagName]]; } return _complete; } - (DBFILESCreateFolderBatchError *)failed { if (![self isFailed]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBFILESCreateFolderBatchJobStatusFailed, but was %@.", [self tagName]]; } return _failed; } #pragma mark - Tag state methods - (BOOL)isInProgress { return _tag == DBFILESCreateFolderBatchJobStatusInProgress; } - (BOOL)isComplete { return _tag == DBFILESCreateFolderBatchJobStatusComplete; } - (BOOL)isFailed { return _tag == DBFILESCreateFolderBatchJobStatusFailed; } - (BOOL)isOther { return _tag == DBFILESCreateFolderBatchJobStatusOther; } - (NSString *)tagName { switch (_tag) { 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]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBFILESCreateFolderBatchJobStatusSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILESCreateFolderBatchJobStatusSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILESCreateFolderBatchJobStatusSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 DBFILESCreateFolderBatchJobStatusInProgress: result = prime * result + [[self tagName] hash]; break; case DBFILESCreateFolderBatchJobStatusComplete: result = prime * result + [self.complete hash]; break; case DBFILESCreateFolderBatchJobStatusFailed: result = prime * result + [self.failed hash]; break; case DBFILESCreateFolderBatchJobStatusOther: 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 isEqualToCreateFolderBatchJobStatus:other]; } - (BOOL)isEqualToCreateFolderBatchJobStatus:(DBFILESCreateFolderBatchJobStatus *)aCreateFolderBatchJobStatus { if (self == aCreateFolderBatchJobStatus) { return YES; } if (self.tag != aCreateFolderBatchJobStatus.tag) { return NO; } switch (_tag) { 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; } @end #pragma mark - Serializer Object @implementation DBFILESCreateFolderBatchJobStatusSerializer + (NSDictionary *)serialize:(DBFILESCreateFolderBatchJobStatus *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isInProgress]) { jsonDict[@".tag"] = @"in_progress"; } else if ([valueObj isComplete]) { [jsonDict addEntriesFromDictionary:[DBFILESCreateFolderBatchResultSerializer serialize:valueObj.complete]]; jsonDict[@".tag"] = @"complete"; } else if ([valueObj isFailed]) { jsonDict[@"failed"] = [[DBFILESCreateFolderBatchErrorSerializer serialize:valueObj.failed] mutableCopy]; jsonDict[@".tag"] = @"failed"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBFILESCreateFolderBatchJobStatus *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"in_progress"]) { return [[DBFILESCreateFolderBatchJobStatus alloc] initWithInProgress]; } else if ([tag isEqualToString:@"complete"]) { DBFILESCreateFolderBatchResult *complete = [DBFILESCreateFolderBatchResultSerializer deserialize:valueDict]; return [[DBFILESCreateFolderBatchJobStatus alloc] initWithComplete:complete]; } else if ([tag isEqualToString:@"failed"]) { DBFILESCreateFolderBatchError *failed = [DBFILESCreateFolderBatchErrorSerializer deserialize:valueDict[@"failed"]]; return [[DBFILESCreateFolderBatchJobStatus alloc] initWithFailed:failed]; } else if ([tag isEqualToString:@"other"]) { return [[DBFILESCreateFolderBatchJobStatus alloc] initWithOther]; } else { return [[DBFILESCreateFolderBatchJobStatus alloc] initWithOther]; } } @end #import "DBASYNCLaunchResultBase.h" #import "DBFILESCreateFolderBatchLaunch.h" #import "DBFILESCreateFolderBatchResult.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILESCreateFolderBatchLaunch @synthesize asyncJobId = _asyncJobId; @synthesize complete = _complete; #pragma mark - Constructors - (instancetype)initWithAsyncJobId:(NSString *)asyncJobId { self = [super init]; if (self) { _tag = DBFILESCreateFolderBatchLaunchAsyncJobId; _asyncJobId = asyncJobId; } return self; } - (instancetype)initWithComplete:(DBFILESCreateFolderBatchResult *)complete { self = [super init]; if (self) { _tag = DBFILESCreateFolderBatchLaunchComplete; _complete = complete; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBFILESCreateFolderBatchLaunchOther; } return self; } #pragma mark - Instance field accessors - (NSString *)asyncJobId { if (![self isAsyncJobId]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBFILESCreateFolderBatchLaunchAsyncJobId, but was %@.", [self tagName]]; } return _asyncJobId; } - (DBFILESCreateFolderBatchResult *)complete { if (![self isComplete]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBFILESCreateFolderBatchLaunchComplete, but was %@.", [self tagName]]; } return _complete; } #pragma mark - Tag state methods - (BOOL)isAsyncJobId { return _tag == DBFILESCreateFolderBatchLaunchAsyncJobId; } - (BOOL)isComplete { return _tag == DBFILESCreateFolderBatchLaunchComplete; } - (BOOL)isOther { return _tag == DBFILESCreateFolderBatchLaunchOther; } - (NSString *)tagName { switch (_tag) { case DBFILESCreateFolderBatchLaunchAsyncJobId: return @"DBFILESCreateFolderBatchLaunchAsyncJobId"; case DBFILESCreateFolderBatchLaunchComplete: return @"DBFILESCreateFolderBatchLaunchComplete"; case DBFILESCreateFolderBatchLaunchOther: return @"DBFILESCreateFolderBatchLaunchOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBFILESCreateFolderBatchLaunchSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILESCreateFolderBatchLaunchSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILESCreateFolderBatchLaunchSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 DBFILESCreateFolderBatchLaunchAsyncJobId: result = prime * result + [self.asyncJobId hash]; break; case DBFILESCreateFolderBatchLaunchComplete: result = prime * result + [self.complete hash]; break; case DBFILESCreateFolderBatchLaunchOther: 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 isEqualToCreateFolderBatchLaunch:other]; } - (BOOL)isEqualToCreateFolderBatchLaunch:(DBFILESCreateFolderBatchLaunch *)aCreateFolderBatchLaunch { if (self == aCreateFolderBatchLaunch) { return YES; } if (self.tag != aCreateFolderBatchLaunch.tag) { return NO; } switch (_tag) { 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; } @end #pragma mark - Serializer Object @implementation DBFILESCreateFolderBatchLaunchSerializer + (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 addEntriesFromDictionary:[DBFILESCreateFolderBatchResultSerializer serialize:valueObj.complete]]; jsonDict[@".tag"] = @"complete"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBFILESCreateFolderBatchLaunch *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"async_job_id"]) { NSString *asyncJobId = valueDict[@"async_job_id"]; return [[DBFILESCreateFolderBatchLaunch alloc] initWithAsyncJobId:asyncJobId]; } else if ([tag isEqualToString:@"complete"]) { DBFILESCreateFolderBatchResult *complete = [DBFILESCreateFolderBatchResultSerializer deserialize:valueDict]; return [[DBFILESCreateFolderBatchLaunch alloc] initWithComplete:complete]; } else if ([tag isEqualToString:@"other"]) { return [[DBFILESCreateFolderBatchLaunch alloc] initWithOther]; } else { return [[DBFILESCreateFolderBatchLaunch alloc] initWithOther]; } } @end #import "DBFILESFileOpsResult.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILESFileOpsResult #pragma mark - Constructors - (instancetype)initDefault { self = [super init]; if (self) { } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBFILESFileOpsResultSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILESFileOpsResultSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILESFileOpsResultSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 isEqualToFileOpsResult:other]; } - (BOOL)isEqualToFileOpsResult:(DBFILESFileOpsResult *)aFileOpsResult { if (self == aFileOpsResult) { return YES; } return YES; } @end #pragma mark - Serializer Object @implementation DBFILESFileOpsResultSerializer + (NSDictionary *)serialize:(DBFILESFileOpsResult *)valueObj { #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; return jsonDict; } + (DBFILESFileOpsResult *)deserialize:(NSDictionary *)valueDict { #pragma unused(valueDict) return [[DBFILESFileOpsResult alloc] initDefault]; } @end #import "DBFILESCreateFolderBatchResult.h" #import "DBFILESCreateFolderBatchResultEntry.h" #import "DBFILESFileOpsResult.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILESCreateFolderBatchResult #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 [DBFILESCreateFolderBatchResultSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILESCreateFolderBatchResultSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILESCreateFolderBatchResultSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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 isEqualToCreateFolderBatchResult:other]; } - (BOOL)isEqualToCreateFolderBatchResult:(DBFILESCreateFolderBatchResult *)aCreateFolderBatchResult { if (self == aCreateFolderBatchResult) { return YES; } if (![self.entries isEqual:aCreateFolderBatchResult.entries]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBFILESCreateFolderBatchResultSerializer + (NSDictionary *)serialize:(DBFILESCreateFolderBatchResult *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"entries"] = [DBArraySerializer serialize:valueObj.entries withBlock:^id(id elem0) { return [DBFILESCreateFolderBatchResultEntrySerializer serialize:elem0]; }]; return jsonDict; } + (DBFILESCreateFolderBatchResult *)deserialize:(NSDictionary *)valueDict { NSArray *entries = [DBArraySerializer deserialize:valueDict[@"entries"] withBlock:^id(id elem0) { return [DBFILESCreateFolderBatchResultEntrySerializer deserialize:elem0]; }]; return [[DBFILESCreateFolderBatchResult alloc] initWithEntries:entries]; } @end #import "DBFILESCreateFolderBatchResultEntry.h" #import "DBFILESCreateFolderEntryError.h" #import "DBFILESCreateFolderEntryResult.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILESCreateFolderBatchResultEntry @synthesize success = _success; @synthesize failure = _failure; #pragma mark - Constructors - (instancetype)initWithSuccess:(DBFILESCreateFolderEntryResult *)success { self = [super init]; if (self) { _tag = DBFILESCreateFolderBatchResultEntrySuccess; _success = success; } return self; } - (instancetype)initWithFailure:(DBFILESCreateFolderEntryError *)failure { self = [super init]; if (self) { _tag = DBFILESCreateFolderBatchResultEntryFailure; _failure = failure; } return self; } #pragma mark - Instance field accessors - (DBFILESCreateFolderEntryResult *)success { if (![self isSuccess]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBFILESCreateFolderBatchResultEntrySuccess, but was %@.", [self tagName]]; } return _success; } - (DBFILESCreateFolderEntryError *)failure { if (![self isFailure]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBFILESCreateFolderBatchResultEntryFailure, but was %@.", [self tagName]]; } return _failure; } #pragma mark - Tag state methods - (BOOL)isSuccess { return _tag == DBFILESCreateFolderBatchResultEntrySuccess; } - (BOOL)isFailure { return _tag == DBFILESCreateFolderBatchResultEntryFailure; } - (NSString *)tagName { switch (_tag) { case DBFILESCreateFolderBatchResultEntrySuccess: return @"DBFILESCreateFolderBatchResultEntrySuccess"; case DBFILESCreateFolderBatchResultEntryFailure: return @"DBFILESCreateFolderBatchResultEntryFailure"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBFILESCreateFolderBatchResultEntrySerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILESCreateFolderBatchResultEntrySerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILESCreateFolderBatchResultEntrySerializer serialize:self] description]; } #pragma mark - Copyable method - (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 DBFILESCreateFolderBatchResultEntrySuccess: result = prime * result + [self.success hash]; break; case DBFILESCreateFolderBatchResultEntryFailure: 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 isEqualToCreateFolderBatchResultEntry:other]; } - (BOOL)isEqualToCreateFolderBatchResultEntry:(DBFILESCreateFolderBatchResultEntry *)aCreateFolderBatchResultEntry { if (self == aCreateFolderBatchResultEntry) { return YES; } if (self.tag != aCreateFolderBatchResultEntry.tag) { return NO; } switch (_tag) { case DBFILESCreateFolderBatchResultEntrySuccess: return [self.success isEqual:aCreateFolderBatchResultEntry.success]; case DBFILESCreateFolderBatchResultEntryFailure: return [self.failure isEqual:aCreateFolderBatchResultEntry.failure]; } return YES; } @end #pragma mark - Serializer Object @implementation DBFILESCreateFolderBatchResultEntrySerializer + (NSDictionary *)serialize:(DBFILESCreateFolderBatchResultEntry *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isSuccess]) { [jsonDict addEntriesFromDictionary:[DBFILESCreateFolderEntryResultSerializer serialize:valueObj.success]]; jsonDict[@".tag"] = @"success"; } else if ([valueObj isFailure]) { jsonDict[@"failure"] = [[DBFILESCreateFolderEntryErrorSerializer 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; } + (DBFILESCreateFolderBatchResultEntry *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"success"]) { DBFILESCreateFolderEntryResult *success = [DBFILESCreateFolderEntryResultSerializer deserialize:valueDict]; return [[DBFILESCreateFolderBatchResultEntry alloc] initWithSuccess:success]; } else if ([tag isEqualToString:@"failure"]) { DBFILESCreateFolderEntryError *failure = [DBFILESCreateFolderEntryErrorSerializer deserialize:valueDict[@"failure"]]; return [[DBFILESCreateFolderBatchResultEntry alloc] initWithFailure:failure]; } else { @throw([NSException exceptionWithName:@"InvalidTag" reason:[NSString stringWithFormat:@"Tag has an invalid value: \"%@\".", valueDict[@".tag"]] userInfo:nil]); } } @end #import "DBFILESCreateFolderEntryError.h" #import "DBFILESWriteError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILESCreateFolderEntryError @synthesize path = _path; #pragma mark - Constructors - (instancetype)initWithPath:(DBFILESWriteError *)path { self = [super init]; if (self) { _tag = DBFILESCreateFolderEntryErrorPath; _path = path; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBFILESCreateFolderEntryErrorOther; } return self; } #pragma mark - Instance field accessors - (DBFILESWriteError *)path { if (![self isPath]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBFILESCreateFolderEntryErrorPath, but was %@.", [self tagName]]; } return _path; } #pragma mark - Tag state methods - (BOOL)isPath { return _tag == DBFILESCreateFolderEntryErrorPath; } - (BOOL)isOther { return _tag == DBFILESCreateFolderEntryErrorOther; } - (NSString *)tagName { switch (_tag) { case DBFILESCreateFolderEntryErrorPath: return @"DBFILESCreateFolderEntryErrorPath"; case DBFILESCreateFolderEntryErrorOther: return @"DBFILESCreateFolderEntryErrorOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBFILESCreateFolderEntryErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILESCreateFolderEntryErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILESCreateFolderEntryErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 DBFILESCreateFolderEntryErrorPath: result = prime * result + [self.path hash]; break; case DBFILESCreateFolderEntryErrorOther: 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 isEqualToCreateFolderEntryError:other]; } - (BOOL)isEqualToCreateFolderEntryError:(DBFILESCreateFolderEntryError *)aCreateFolderEntryError { if (self == aCreateFolderEntryError) { return YES; } if (self.tag != aCreateFolderEntryError.tag) { return NO; } switch (_tag) { case DBFILESCreateFolderEntryErrorPath: return [self.path isEqual:aCreateFolderEntryError.path]; case DBFILESCreateFolderEntryErrorOther: return [[self tagName] isEqual:[aCreateFolderEntryError tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBFILESCreateFolderEntryErrorSerializer + (NSDictionary *)serialize:(DBFILESCreateFolderEntryError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; 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; } + (DBFILESCreateFolderEntryError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"path"]) { DBFILESWriteError *path = [DBFILESWriteErrorSerializer deserialize:valueDict[@"path"]]; return [[DBFILESCreateFolderEntryError alloc] initWithPath:path]; } else if ([tag isEqualToString:@"other"]) { return [[DBFILESCreateFolderEntryError alloc] initWithOther]; } else { return [[DBFILESCreateFolderEntryError alloc] initWithOther]; } } @end #import "DBFILESCreateFolderEntryResult.h" #import "DBFILESFolderMetadata.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILESCreateFolderEntryResult #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 [DBFILESCreateFolderEntryResultSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILESCreateFolderEntryResultSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILESCreateFolderEntryResultSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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 isEqualToCreateFolderEntryResult:other]; } - (BOOL)isEqualToCreateFolderEntryResult:(DBFILESCreateFolderEntryResult *)aCreateFolderEntryResult { if (self == aCreateFolderEntryResult) { return YES; } if (![self.metadata isEqual:aCreateFolderEntryResult.metadata]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBFILESCreateFolderEntryResultSerializer + (NSDictionary *)serialize:(DBFILESCreateFolderEntryResult *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"metadata"] = [DBFILESFolderMetadataSerializer serialize:valueObj.metadata]; return jsonDict; } + (DBFILESCreateFolderEntryResult *)deserialize:(NSDictionary *)valueDict { DBFILESFolderMetadata *metadata = [DBFILESFolderMetadataSerializer deserialize:valueDict[@"metadata"]]; return [[DBFILESCreateFolderEntryResult alloc] initWithMetadata:metadata]; } @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 { self = [super init]; if (self) { _tag = DBFILESCreateFolderErrorPath; _path = path; } return self; } #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 [DBFILESCreateFolderErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILESCreateFolderErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILESCreateFolderErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 DBFILESCreateFolderErrorPath: result = prime * result + [self.path 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 isEqualToCreateFolderError:other]; } - (BOOL)isEqualToCreateFolderError:(DBFILESCreateFolderError *)aCreateFolderError { if (self == aCreateFolderError) { return YES; } if (self.tag != aCreateFolderError.tag) { return NO; } switch (_tag) { case DBFILESCreateFolderErrorPath: return [self.path isEqual:aCreateFolderError.path]; } return YES; } @end #pragma mark - Serializer Object @implementation DBFILESCreateFolderErrorSerializer + (NSDictionary *)serialize:(DBFILESCreateFolderError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; 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; } + (DBFILESCreateFolderError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; 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 "DBFILESCreateFolderResult.h" #import "DBFILESFileOpsResult.h" #import "DBFILESFolderMetadata.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILESCreateFolderResult #pragma mark - Constructors - (instancetype)initWithMetadata:(DBFILESFolderMetadata *)metadata { [DBStoneValidators nonnullValidator:nil](metadata); self = [super initDefault]; if (self) { _metadata = metadata; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBFILESCreateFolderResultSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILESCreateFolderResultSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILESCreateFolderResultSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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 isEqualToCreateFolderResult:other]; } - (BOOL)isEqualToCreateFolderResult:(DBFILESCreateFolderResult *)aCreateFolderResult { if (self == aCreateFolderResult) { return YES; } if (![self.metadata isEqual:aCreateFolderResult.metadata]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBFILESCreateFolderResultSerializer + (NSDictionary *)serialize:(DBFILESCreateFolderResult *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"metadata"] = [DBFILESFolderMetadataSerializer serialize:valueObj.metadata]; return jsonDict; } + (DBFILESCreateFolderResult *)deserialize:(NSDictionary *)valueDict { DBFILESFolderMetadata *metadata = [DBFILESFolderMetadataSerializer deserialize:valueDict[@"metadata"]]; return [[DBFILESCreateFolderResult alloc] initWithMetadata:metadata]; } @end #import "DBFILESDeleteArg.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILESDeleteArg #pragma mark - Constructors - (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) { _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 [DBFILESDeleteArgSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILESDeleteArgSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILESDeleteArgSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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.parentRev != nil) { result = prime * result + [self.parentRev hash]; } return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToDeleteArg:other]; } - (BOOL)isEqualToDeleteArg:(DBFILESDeleteArg *)aDeleteArg { if (self == aDeleteArg) { return YES; } if (![self.path isEqual:aDeleteArg.path]) { return NO; } if (self.parentRev) { if (![self.parentRev isEqual:aDeleteArg.parentRev]) { return NO; } } return YES; } @end #pragma mark - Serializer Object @implementation DBFILESDeleteArgSerializer + (NSDictionary *)serialize:(DBFILESDeleteArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"path"] = valueObj.path; if (valueObj.parentRev) { jsonDict[@"parent_rev"] = valueObj.parentRev; } return jsonDict; } + (DBFILESDeleteArg *)deserialize:(NSDictionary *)valueDict { NSString *path = valueDict[@"path"]; NSString *parentRev = valueDict[@"parent_rev"] ?: nil; return [[DBFILESDeleteArg alloc] initWithPath:path parentRev:parentRev]; } @end #import "DBFILESDeleteArg.h" #import "DBFILESDeleteBatchArg.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILESDeleteBatchArg #pragma mark - Constructors - (instancetype)initWithEntries:(NSArray *)entries { [DBStoneValidators nonnullValidator:[DBStoneValidators arrayValidator:nil maxItems:@(1000) itemValidator:[DBStoneValidators nonnullValidator:nil]]](entries); self = [super init]; if (self) { _entries = entries; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBFILESDeleteBatchArgSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILESDeleteBatchArgSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILESDeleteBatchArgSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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 isEqualToDeleteBatchArg:other]; } - (BOOL)isEqualToDeleteBatchArg:(DBFILESDeleteBatchArg *)aDeleteBatchArg { if (self == aDeleteBatchArg) { return YES; } if (![self.entries isEqual:aDeleteBatchArg.entries]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBFILESDeleteBatchArgSerializer + (NSDictionary *)serialize:(DBFILESDeleteBatchArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"entries"] = [DBArraySerializer serialize:valueObj.entries withBlock:^id(id elem0) { return [DBFILESDeleteArgSerializer serialize:elem0]; }]; return jsonDict; } + (DBFILESDeleteBatchArg *)deserialize:(NSDictionary *)valueDict { NSArray *entries = [DBArraySerializer deserialize:valueDict[@"entries"] withBlock:^id(id elem0) { return [DBFILESDeleteArgSerializer deserialize:elem0]; }]; return [[DBFILESDeleteBatchArg alloc] initWithEntries:entries]; } @end #import "DBFILESDeleteBatchError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILESDeleteBatchError #pragma mark - Constructors - (instancetype)initWithTooManyWriteOperations { self = [super init]; if (self) { _tag = DBFILESDeleteBatchErrorTooManyWriteOperations; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBFILESDeleteBatchErrorOther; } 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]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBFILESDeleteBatchErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILESDeleteBatchErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILESDeleteBatchErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 DBFILESDeleteBatchErrorTooManyWriteOperations: result = prime * result + [[self tagName] hash]; break; case DBFILESDeleteBatchErrorOther: 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 isEqualToDeleteBatchError:other]; } - (BOOL)isEqualToDeleteBatchError:(DBFILESDeleteBatchError *)aDeleteBatchError { if (self == aDeleteBatchError) { return YES; } if (self.tag != aDeleteBatchError.tag) { return NO; } switch (_tag) { case DBFILESDeleteBatchErrorTooManyWriteOperations: return [[self tagName] isEqual:[aDeleteBatchError tagName]]; case DBFILESDeleteBatchErrorOther: return [[self tagName] isEqual:[aDeleteBatchError tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBFILESDeleteBatchErrorSerializer + (NSDictionary *)serialize:(DBFILESDeleteBatchError *)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"; } return jsonDict; } + (DBFILESDeleteBatchError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; 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]; } } @end #import "DBASYNCPollResultBase.h" #import "DBFILESDeleteBatchError.h" #import "DBFILESDeleteBatchJobStatus.h" #import "DBFILESDeleteBatchResult.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILESDeleteBatchJobStatus @synthesize complete = _complete; @synthesize failed = _failed; #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 { self = [super init]; if (self) { _tag = DBFILESDeleteBatchJobStatusFailed; _failed = failed; } return self; } - (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]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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]; 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; } #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)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; } @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; } + (DBFILESRelocationPath *)deserialize:(NSDictionary *)valueDict { NSString *fromPath = valueDict[@"from_path"]; NSString *toPath = valueDict[@"to_path"]; return [[DBFILESRelocationPath alloc] initWithFromPath:fromPath toPath:toPath]; } @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; } 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 [DBFILESRelocationArgSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILESRelocationArgSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILESRelocationArgSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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]; result = prime * result + [self.allowSharedFolder 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 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; } @end #pragma mark - Serializer Object @implementation DBFILESRelocationArgSerializer + (NSDictionary *)serialize:(DBFILESRelocationArg *)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; 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; return [[DBFILESRelocationArg alloc] initWithFromPath:fromPath toPath:toPath allowSharedFolder:allowSharedFolder autorename:autorename allowOwnershipTransfer:allowOwnershipTransfer]; } @end #import "DBFILESRelocationBatchArg.h" #import "DBFILESRelocationBatchArgBase.h" #import "DBFILESRelocationPath.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILESRelocationBatchArg #pragma mark - Constructors - (instancetype)initWithEntries:(NSArray *)entries autorename:(NSNumber *)autorename allowSharedFolder:(NSNumber *)allowSharedFolder allowOwnershipTransfer:(NSNumber *)allowOwnershipTransfer { [DBStoneValidators nonnullValidator:[DBStoneValidators arrayValidator:@(1) maxItems:@(1000) itemValidator:[DBStoneValidators nonnullValidator:nil]]](entries); self = [super initWithEntries:entries autorename:autorename]; if (self) { _allowSharedFolder = allowSharedFolder ?: @NO; _allowOwnershipTransfer = allowOwnershipTransfer ?: @NO; } return self; } - (instancetype)initWithEntries:(NSArray *)entries { return [self initWithEntries:entries autorename:nil allowSharedFolder:nil allowOwnershipTransfer:nil]; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBFILESRelocationBatchArgSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILESRelocationBatchArgSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILESRelocationBatchArgSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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.allowSharedFolder 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 isEqualToRelocationBatchArg:other]; } - (BOOL)isEqualToRelocationBatchArg:(DBFILESRelocationBatchArg *)aRelocationBatchArg { if (self == aRelocationBatchArg) { return YES; } if (![self.entries isEqual:aRelocationBatchArg.entries]) { return NO; } if (![self.autorename isEqual:aRelocationBatchArg.autorename]) { return NO; } if (![self.allowSharedFolder isEqual:aRelocationBatchArg.allowSharedFolder]) { return NO; } if (![self.allowOwnershipTransfer isEqual:aRelocationBatchArg.allowOwnershipTransfer]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBFILESRelocationBatchArgSerializer + (NSDictionary *)serialize:(DBFILESRelocationBatchArg *)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_shared_folder"] = valueObj.allowSharedFolder; jsonDict[@"allow_ownership_transfer"] = valueObj.allowOwnershipTransfer; return jsonDict; } + (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 [[DBFILESRelocationBatchArg alloc] initWithEntries:entries autorename:autorename allowSharedFolder:allowSharedFolder allowOwnershipTransfer:allowOwnershipTransfer]; } @end #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 DBFILESRelocationError @synthesize fromLookup = _fromLookup; @synthesize fromWrite = _fromWrite; @synthesize to = _to; @synthesize cantMoveIntoVault = _cantMoveIntoVault; @synthesize cantMoveIntoFamily = _cantMoveIntoFamily; #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 { self = [super init]; if (self) { _tag = DBFILESRelocationErrorCantTransferOwnership; } return self; } - (instancetype)initWithInsufficientQuota { self = [super init]; if (self) { _tag = DBFILESRelocationErrorInsufficientQuota; } return self; } - (instancetype)initWithInternalError { self = [super init]; if (self) { _tag = DBFILESRelocationErrorInternalError; } return self; } - (instancetype)initWithCantMoveSharedFolder { self = [super init]; if (self) { _tag = DBFILESRelocationErrorCantMoveSharedFolder; } return self; } - (instancetype)initWithCantMoveIntoVault:(DBFILESMoveIntoVaultError *)cantMoveIntoVault { self = [super init]; if (self) { _tag = DBFILESRelocationErrorCantMoveIntoVault; _cantMoveIntoVault = cantMoveIntoVault; } return self; } - (instancetype)initWithCantMoveIntoFamily:(DBFILESMoveIntoFamilyError *)cantMoveIntoFamily { self = [super init]; if (self) { _tag = DBFILESRelocationErrorCantMoveIntoFamily; _cantMoveIntoFamily = cantMoveIntoFamily; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBFILESRelocationErrorOther; } 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; } - (DBFILESMoveIntoVaultError *)cantMoveIntoVault { if (![self isCantMoveIntoVault]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBFILESRelocationErrorCantMoveIntoVault, but was %@.", [self tagName]]; } return _cantMoveIntoVault; } - (DBFILESMoveIntoFamilyError *)cantMoveIntoFamily { if (![self isCantMoveIntoFamily]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBFILESRelocationErrorCantMoveIntoFamily, but was %@.", [self tagName]]; } return _cantMoveIntoFamily; } #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; } - (BOOL)isCantTransferOwnership { return _tag == DBFILESRelocationErrorCantTransferOwnership; } - (BOOL)isInsufficientQuota { return _tag == DBFILESRelocationErrorInsufficientQuota; } - (BOOL)isInternalError { return _tag == DBFILESRelocationErrorInternalError; } - (BOOL)isCantMoveSharedFolder { return _tag == DBFILESRelocationErrorCantMoveSharedFolder; } - (BOOL)isCantMoveIntoVault { return _tag == DBFILESRelocationErrorCantMoveIntoVault; } - (BOOL)isCantMoveIntoFamily { return _tag == DBFILESRelocationErrorCantMoveIntoFamily; } - (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 [DBFILESRelocationErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILESRelocationErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILESRelocationErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToRelocationError:other]; } - (BOOL)isEqualToRelocationError:(DBFILESRelocationError *)aRelocationError { if (self == aRelocationError) { return YES; } if (self.tag != aRelocationError.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 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; } @end #pragma mark - Serializer Object @implementation DBFILESRelocationErrorSerializer + (NSDictionary *)serialize:(DBFILESRelocationError *)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 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"; } return jsonDict; } + (DBFILESRelocationError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; 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 "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 DBFILESRelocationBatchError @synthesize fromLookup = _fromLookup; @synthesize fromWrite = _fromWrite; @synthesize to = _to; @synthesize cantMoveIntoVault = _cantMoveIntoVault; @synthesize cantMoveIntoFamily = _cantMoveIntoFamily; #pragma mark - Constructors - (instancetype)initWithFromLookup:(DBFILESLookupError *)fromLookup { self = [super init]; if (self) { _tag = DBFILESRelocationBatchErrorFromLookup; _fromLookup = fromLookup; } return self; } - (instancetype)initWithFromWrite:(DBFILESWriteError *)fromWrite { self = [super init]; if (self) { _tag = DBFILESRelocationBatchErrorFromWrite; _fromWrite = fromWrite; } return self; } - (instancetype)initWithTo:(DBFILESWriteError *)to { self = [super init]; if (self) { _tag = DBFILESRelocationBatchErrorTo; _to = to; } return self; } - (instancetype)initWithCantCopySharedFolder { self = [super init]; if (self) { _tag = DBFILESRelocationBatchErrorCantCopySharedFolder; } return self; } - (instancetype)initWithCantNestSharedFolder { self = [super init]; if (self) { _tag = DBFILESRelocationBatchErrorCantNestSharedFolder; } return self; } - (instancetype)initWithCantMoveFolderIntoItself { self = [super init]; if (self) { _tag = DBFILESRelocationBatchErrorCantMoveFolderIntoItself; } return self; } - (instancetype)initWithTooManyFiles { self = [super init]; if (self) { _tag = DBFILESRelocationBatchErrorTooManyFiles; } return self; } - (instancetype)initWithDuplicatedOrNestedPaths { self = [super init]; if (self) { _tag = DBFILESRelocationBatchErrorDuplicatedOrNestedPaths; } return self; } - (instancetype)initWithCantTransferOwnership { self = [super init]; if (self) { _tag = DBFILESRelocationBatchErrorCantTransferOwnership; } return self; } - (instancetype)initWithInsufficientQuota { self = [super init]; if (self) { _tag = DBFILESRelocationBatchErrorInsufficientQuota; } return self; } - (instancetype)initWithInternalError { self = [super init]; if (self) { _tag = DBFILESRelocationBatchErrorInternalError; } return self; } - (instancetype)initWithCantMoveSharedFolder { self = [super init]; if (self) { _tag = DBFILESRelocationBatchErrorCantMoveSharedFolder; } return self; } - (instancetype)initWithCantMoveIntoVault:(DBFILESMoveIntoVaultError *)cantMoveIntoVault { self = [super init]; if (self) { _tag = DBFILESRelocationBatchErrorCantMoveIntoVault; _cantMoveIntoVault = cantMoveIntoVault; } return self; } - (instancetype)initWithCantMoveIntoFamily:(DBFILESMoveIntoFamilyError *)cantMoveIntoFamily { self = [super init]; if (self) { _tag = DBFILESRelocationBatchErrorCantMoveIntoFamily; _cantMoveIntoFamily = cantMoveIntoFamily; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBFILESRelocationBatchErrorOther; } return self; } - (instancetype)initWithTooManyWriteOperations { self = [super init]; if (self) { _tag = DBFILESRelocationBatchErrorTooManyWriteOperations; } return self; } #pragma mark - Instance field accessors - (DBFILESLookupError *)fromLookup { if (![self isFromLookup]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBFILESRelocationBatchErrorFromLookup, but was %@.", [self tagName]]; } return _fromLookup; } - (DBFILESWriteError *)fromWrite { if (![self isFromWrite]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBFILESRelocationBatchErrorFromWrite, but was %@.", [self tagName]]; } return _fromWrite; } - (DBFILESWriteError *)to { if (![self isTo]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBFILESRelocationBatchErrorTo, but was %@.", [self tagName]]; } return _to; } - (DBFILESMoveIntoVaultError *)cantMoveIntoVault { if (![self isCantMoveIntoVault]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBFILESRelocationBatchErrorCantMoveIntoVault, but was %@.", [self tagName]]; } return _cantMoveIntoVault; } - (DBFILESMoveIntoFamilyError *)cantMoveIntoFamily { if (![self isCantMoveIntoFamily]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBFILESRelocationBatchErrorCantMoveIntoFamily, but was %@.", [self tagName]]; } return _cantMoveIntoFamily; } #pragma mark - Tag state methods - (BOOL)isFromLookup { return _tag == DBFILESRelocationBatchErrorFromLookup; } - (BOOL)isFromWrite { return _tag == DBFILESRelocationBatchErrorFromWrite; } - (BOOL)isTo { return _tag == DBFILESRelocationBatchErrorTo; } - (BOOL)isCantCopySharedFolder { return _tag == DBFILESRelocationBatchErrorCantCopySharedFolder; } - (BOOL)isCantNestSharedFolder { return _tag == DBFILESRelocationBatchErrorCantNestSharedFolder; } - (BOOL)isCantMoveFolderIntoItself { return _tag == DBFILESRelocationBatchErrorCantMoveFolderIntoItself; } - (BOOL)isTooManyFiles { return _tag == DBFILESRelocationBatchErrorTooManyFiles; } - (BOOL)isDuplicatedOrNestedPaths { return _tag == DBFILESRelocationBatchErrorDuplicatedOrNestedPaths; } - (BOOL)isCantTransferOwnership { return _tag == DBFILESRelocationBatchErrorCantTransferOwnership; } - (BOOL)isInsufficientQuota { return _tag == DBFILESRelocationBatchErrorInsufficientQuota; } - (BOOL)isInternalError { return _tag == DBFILESRelocationBatchErrorInternalError; } - (BOOL)isCantMoveSharedFolder { return _tag == DBFILESRelocationBatchErrorCantMoveSharedFolder; } - (BOOL)isCantMoveIntoVault { return _tag == DBFILESRelocationBatchErrorCantMoveIntoVault; } - (BOOL)isCantMoveIntoFamily { return _tag == DBFILESRelocationBatchErrorCantMoveIntoFamily; } - (BOOL)isOther { return _tag == DBFILESRelocationBatchErrorOther; } - (BOOL)isTooManyWriteOperations { return _tag == DBFILESRelocationBatchErrorTooManyWriteOperations; } - (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"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBFILESRelocationBatchErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILESRelocationBatchErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILESRelocationBatchErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToRelocationBatchError:other]; } - (BOOL)isEqualToRelocationBatchError:(DBFILESRelocationBatchError *)aRelocationBatchError { if (self == aRelocationBatchError) { return YES; } if (self.tag != aRelocationBatchError.tag) { 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; } @end #pragma mark - Serializer Object @implementation DBFILESRelocationBatchErrorSerializer + (NSDictionary *)serialize:(DBFILESRelocationBatchError *)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 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; } + (DBFILESRelocationBatchError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; 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 "DBFILESRelocationBatchErrorEntry.h" #import "DBFILESRelocationError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILESRelocationBatchErrorEntry @synthesize relocationError = _relocationError; #pragma mark - Constructors - (instancetype)initWithRelocationError:(DBFILESRelocationError *)relocationError { self = [super init]; if (self) { _tag = DBFILESRelocationBatchErrorEntryRelocationError; _relocationError = relocationError; } return self; } - (instancetype)initWithInternalError { self = [super init]; if (self) { _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 [DBFILESRelocationBatchErrorEntrySerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILESRelocationBatchErrorEntrySerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILESRelocationBatchErrorEntrySerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToRelocationBatchErrorEntry:other]; } - (BOOL)isEqualToRelocationBatchErrorEntry:(DBFILESRelocationBatchErrorEntry *)aRelocationBatchErrorEntry { if (self == aRelocationBatchErrorEntry) { return YES; } 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; } @end #pragma mark - Serializer Object @implementation DBFILESRelocationBatchErrorEntrySerializer + (NSDictionary *)serialize:(DBFILESRelocationBatchErrorEntry *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; 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; } + (DBFILESRelocationBatchErrorEntry *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; 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 "DBASYNCPollResultBase.h" #import "DBFILESRelocationBatchError.h" #import "DBFILESRelocationBatchJobStatus.h" #import "DBFILESRelocationBatchResult.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILESRelocationBatchJobStatus @synthesize complete = _complete; @synthesize failed = _failed; #pragma mark - Constructors - (instancetype)initWithInProgress { self = [super init]; if (self) { _tag = DBFILESRelocationBatchJobStatusInProgress; } return self; } - (instancetype)initWithComplete:(DBFILESRelocationBatchResult *)complete { self = [super init]; if (self) { _tag = DBFILESRelocationBatchJobStatusComplete; _complete = complete; } return self; } - (instancetype)initWithFailed:(DBFILESRelocationBatchError *)failed { self = [super init]; if (self) { _tag = DBFILESRelocationBatchJobStatusFailed; _failed = failed; } return self; } #pragma mark - Instance field accessors - (DBFILESRelocationBatchResult *)complete { if (![self isComplete]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBFILESRelocationBatchJobStatusComplete, but was %@.", [self tagName]]; } 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)isInProgress { return _tag == DBFILESRelocationBatchJobStatusInProgress; } - (BOOL)isComplete { return _tag == DBFILESRelocationBatchJobStatusComplete; } - (BOOL)isFailed { return _tag == DBFILESRelocationBatchJobStatusFailed; } - (NSString *)tagName { switch (_tag) { case DBFILESRelocationBatchJobStatusInProgress: return @"DBFILESRelocationBatchJobStatusInProgress"; case DBFILESRelocationBatchJobStatusComplete: return @"DBFILESRelocationBatchJobStatusComplete"; case DBFILESRelocationBatchJobStatusFailed: return @"DBFILESRelocationBatchJobStatusFailed"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBFILESRelocationBatchJobStatusSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILESRelocationBatchJobStatusSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILESRelocationBatchJobStatusSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToRelocationBatchJobStatus:other]; } - (BOOL)isEqualToRelocationBatchJobStatus:(DBFILESRelocationBatchJobStatus *)aRelocationBatchJobStatus { if (self == aRelocationBatchJobStatus) { return YES; } if (self.tag != aRelocationBatchJobStatus.tag) { 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; } @end #pragma mark - Serializer Object @implementation DBFILESRelocationBatchJobStatusSerializer + (NSDictionary *)serialize:(DBFILESRelocationBatchJobStatus *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; 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 { @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Object not properly initialized. Tag has an unknown value." userInfo:nil]); } return jsonDict; } + (DBFILESRelocationBatchJobStatus *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; 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]); } } @end #import "DBASYNCLaunchResultBase.h" #import "DBFILESRelocationBatchLaunch.h" #import "DBFILESRelocationBatchResult.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILESRelocationBatchLaunch @synthesize asyncJobId = _asyncJobId; @synthesize complete = _complete; #pragma mark - Constructors - (instancetype)initWithAsyncJobId:(NSString *)asyncJobId { self = [super init]; if (self) { _tag = DBFILESRelocationBatchLaunchAsyncJobId; _asyncJobId = asyncJobId; } return self; } - (instancetype)initWithComplete:(DBFILESRelocationBatchResult *)complete { self = [super init]; if (self) { _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 [DBFILESRelocationBatchLaunchSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILESRelocationBatchLaunchSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILESRelocationBatchLaunchSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToRelocationBatchLaunch:other]; } - (BOOL)isEqualToRelocationBatchLaunch:(DBFILESRelocationBatchLaunch *)aRelocationBatchLaunch { if (self == aRelocationBatchLaunch) { return YES; } if (self.tag != aRelocationBatchLaunch.tag) { 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; } @end #pragma mark - Serializer Object @implementation DBFILESRelocationBatchLaunchSerializer + (NSDictionary *)serialize:(DBFILESRelocationBatchLaunch *)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:[DBFILESRelocationBatchResultSerializer serialize:valueObj.complete]]; jsonDict[@".tag"] = @"complete"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBFILESRelocationBatchLaunch *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; 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 "DBFILESFileOpsResult.h" #import "DBFILESRelocationBatchResult.h" #import "DBFILESRelocationBatchResultData.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILESRelocationBatchResult #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 [DBFILESRelocationBatchResultSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILESRelocationBatchResultSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILESRelocationBatchResultSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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 isEqualToRelocationBatchResult:other]; } - (BOOL)isEqualToRelocationBatchResult:(DBFILESRelocationBatchResult *)aRelocationBatchResult { if (self == aRelocationBatchResult) { return YES; } if (![self.entries isEqual:aRelocationBatchResult.entries]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBFILESRelocationBatchResultSerializer + (NSDictionary *)serialize:(DBFILESRelocationBatchResult *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"entries"] = [DBArraySerializer serialize:valueObj.entries withBlock:^id(id elem0) { return [DBFILESRelocationBatchResultDataSerializer serialize:elem0]; }]; return jsonDict; } + (DBFILESRelocationBatchResult *)deserialize:(NSDictionary *)valueDict { NSArray *entries = [DBArraySerializer deserialize:valueDict[@"entries"] withBlock:^id(id elem0) { return [DBFILESRelocationBatchResultDataSerializer deserialize:elem0]; }]; return [[DBFILESRelocationBatchResult alloc] initWithEntries:entries]; } @end #import "DBFILESMetadata.h" #import "DBFILESRelocationBatchResultData.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILESRelocationBatchResultData #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 [DBFILESRelocationBatchResultDataSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILESRelocationBatchResultDataSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILESRelocationBatchResultDataSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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 isEqualToRelocationBatchResultData:other]; } - (BOOL)isEqualToRelocationBatchResultData:(DBFILESRelocationBatchResultData *)aRelocationBatchResultData { if (self == aRelocationBatchResultData) { return YES; } if (![self.metadata isEqual:aRelocationBatchResultData.metadata]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBFILESRelocationBatchResultDataSerializer + (NSDictionary *)serialize:(DBFILESRelocationBatchResultData *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"metadata"] = [DBFILESMetadataSerializer serialize:valueObj.metadata]; return jsonDict; } + (DBFILESRelocationBatchResultData *)deserialize:(NSDictionary *)valueDict { DBFILESMetadata *metadata = [DBFILESMetadataSerializer deserialize:valueDict[@"metadata"]]; return [[DBFILESRelocationBatchResultData alloc] initWithMetadata:metadata]; } @end #import "DBFILESMetadata.h" #import "DBFILESRelocationBatchErrorEntry.h" #import "DBFILESRelocationBatchResultEntry.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILESRelocationBatchResultEntry @synthesize success = _success; @synthesize failure = _failure; #pragma mark - Constructors - (instancetype)initWithSuccess:(DBFILESMetadata *)success { self = [super init]; if (self) { _tag = DBFILESRelocationBatchResultEntrySuccess; _success = success; } return self; } - (instancetype)initWithFailure:(DBFILESRelocationBatchErrorEntry *)failure { self = [super init]; if (self) { _tag = DBFILESRelocationBatchResultEntryFailure; _failure = failure; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBFILESRelocationBatchResultEntryOther; } return self; } #pragma mark - Instance field accessors - (DBFILESMetadata *)success { if (![self isSuccess]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBFILESRelocationBatchResultEntrySuccess, but was %@.", [self tagName]]; } return _success; } - (DBFILESRelocationBatchErrorEntry *)failure { if (![self isFailure]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBFILESRelocationBatchResultEntryFailure, but was %@.", [self tagName]]; } return _failure; } #pragma mark - Tag state methods - (BOOL)isSuccess { return _tag == DBFILESRelocationBatchResultEntrySuccess; } - (BOOL)isFailure { return _tag == DBFILESRelocationBatchResultEntryFailure; } - (BOOL)isOther { return _tag == DBFILESRelocationBatchResultEntryOther; } - (NSString *)tagName { switch (_tag) { case DBFILESRelocationBatchResultEntrySuccess: return @"DBFILESRelocationBatchResultEntrySuccess"; case DBFILESRelocationBatchResultEntryFailure: return @"DBFILESRelocationBatchResultEntryFailure"; case DBFILESRelocationBatchResultEntryOther: return @"DBFILESRelocationBatchResultEntryOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBFILESRelocationBatchResultEntrySerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILESRelocationBatchResultEntrySerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILESRelocationBatchResultEntrySerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToRelocationBatchResultEntry:other]; } - (BOOL)isEqualToRelocationBatchResultEntry:(DBFILESRelocationBatchResultEntry *)aRelocationBatchResultEntry { if (self == aRelocationBatchResultEntry) { return YES; } if (self.tag != aRelocationBatchResultEntry.tag) { 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; } @end #pragma mark - Serializer Object @implementation DBFILESRelocationBatchResultEntrySerializer + (NSDictionary *)serialize:(DBFILESRelocationBatchResultEntry *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; 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; } + (DBFILESRelocationBatchResultEntry *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; 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 "DBASYNCPollResultBase.h" #import "DBFILESRelocationBatchV2JobStatus.h" #import "DBFILESRelocationBatchV2Result.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILESRelocationBatchV2JobStatus @synthesize complete = _complete; #pragma mark - Constructors - (instancetype)initWithInProgress { self = [super init]; if (self) { _tag = DBFILESRelocationBatchV2JobStatusInProgress; } return self; } - (instancetype)initWithComplete:(DBFILESRelocationBatchV2Result *)complete { self = [super init]; if (self) { _tag = DBFILESRelocationBatchV2JobStatusComplete; _complete = complete; } return self; } #pragma mark - Instance field accessors - (DBFILESRelocationBatchV2Result *)complete { if (![self isComplete]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBFILESRelocationBatchV2JobStatusComplete, but was %@.", [self tagName]]; } return _complete; } #pragma mark - Tag state methods - (BOOL)isInProgress { return _tag == DBFILESRelocationBatchV2JobStatusInProgress; } - (BOOL)isComplete { return _tag == DBFILESRelocationBatchV2JobStatusComplete; } - (NSString *)tagName { switch (_tag) { case DBFILESRelocationBatchV2JobStatusInProgress: return @"DBFILESRelocationBatchV2JobStatusInProgress"; case DBFILESRelocationBatchV2JobStatusComplete: return @"DBFILESRelocationBatchV2JobStatusComplete"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBFILESRelocationBatchV2JobStatusSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILESRelocationBatchV2JobStatusSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILESRelocationBatchV2JobStatusSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 DBFILESRelocationBatchV2JobStatusInProgress: result = prime * result + [[self tagName] hash]; break; case DBFILESRelocationBatchV2JobStatusComplete: 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 isEqualToRelocationBatchV2JobStatus:other]; } - (BOOL)isEqualToRelocationBatchV2JobStatus:(DBFILESRelocationBatchV2JobStatus *)aRelocationBatchV2JobStatus { if (self == aRelocationBatchV2JobStatus) { return YES; } if (self.tag != aRelocationBatchV2JobStatus.tag) { return NO; } switch (_tag) { case DBFILESRelocationBatchV2JobStatusInProgress: return [[self tagName] isEqual:[aRelocationBatchV2JobStatus tagName]]; case DBFILESRelocationBatchV2JobStatusComplete: return [self.complete isEqual:aRelocationBatchV2JobStatus.complete]; } return YES; } @end #pragma mark - Serializer Object @implementation DBFILESRelocationBatchV2JobStatusSerializer + (NSDictionary *)serialize:(DBFILESRelocationBatchV2JobStatus *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isInProgress]) { jsonDict[@".tag"] = @"in_progress"; } 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; } + (DBFILESRelocationBatchV2JobStatus *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; 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 { @throw([NSException exceptionWithName:@"InvalidTag" reason:[NSString stringWithFormat:@"Tag has an invalid value: \"%@\".", valueDict[@".tag"]] userInfo:nil]); } } @end #import "DBASYNCLaunchResultBase.h" #import "DBFILESRelocationBatchV2Launch.h" #import "DBFILESRelocationBatchV2Result.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILESRelocationBatchV2Launch @synthesize asyncJobId = _asyncJobId; @synthesize complete = _complete; #pragma mark - Constructors - (instancetype)initWithAsyncJobId:(NSString *)asyncJobId { self = [super init]; if (self) { _tag = DBFILESRelocationBatchV2LaunchAsyncJobId; _asyncJobId = asyncJobId; } return self; } - (instancetype)initWithComplete:(DBFILESRelocationBatchV2Result *)complete { self = [super init]; if (self) { _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 [DBFILESRelocationBatchV2LaunchSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILESRelocationBatchV2LaunchSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILESRelocationBatchV2LaunchSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 DBFILESRelocationBatchV2LaunchAsyncJobId: result = prime * result + [self.asyncJobId hash]; break; case DBFILESRelocationBatchV2LaunchComplete: 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 isEqualToRelocationBatchV2Launch:other]; } - (BOOL)isEqualToRelocationBatchV2Launch:(DBFILESRelocationBatchV2Launch *)aRelocationBatchV2Launch { if (self == aRelocationBatchV2Launch) { return YES; } if (self.tag != aRelocationBatchV2Launch.tag) { return NO; } switch (_tag) { case DBFILESRelocationBatchV2LaunchAsyncJobId: return [self.asyncJobId isEqual:aRelocationBatchV2Launch.asyncJobId]; case DBFILESRelocationBatchV2LaunchComplete: return [self.complete isEqual:aRelocationBatchV2Launch.complete]; } return YES; } @end #pragma mark - Serializer Object @implementation DBFILESRelocationBatchV2LaunchSerializer + (NSDictionary *)serialize:(DBFILESRelocationBatchV2Launch *)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:[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; } + (DBFILESRelocationBatchV2Launch *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; 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 "DBFILESFileOpsResult.h" #import "DBFILESRelocationBatchResultEntry.h" #import "DBFILESRelocationBatchV2Result.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILESRelocationBatchV2Result #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 [DBFILESRelocationBatchV2ResultSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILESRelocationBatchV2ResultSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILESRelocationBatchV2ResultSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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 isEqualToRelocationBatchV2Result:other]; } - (BOOL)isEqualToRelocationBatchV2Result:(DBFILESRelocationBatchV2Result *)aRelocationBatchV2Result { if (self == aRelocationBatchV2Result) { return YES; } if (![self.entries isEqual:aRelocationBatchV2Result.entries]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBFILESRelocationBatchV2ResultSerializer + (NSDictionary *)serialize:(DBFILESRelocationBatchV2Result *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"entries"] = [DBArraySerializer serialize:valueObj.entries withBlock:^id(id elem0) { return [DBFILESRelocationBatchResultEntrySerializer serialize:elem0]; }]; return jsonDict; } + (DBFILESRelocationBatchV2Result *)deserialize:(NSDictionary *)valueDict { NSArray *entries = [DBArraySerializer deserialize:valueDict[@"entries"] withBlock:^id(id elem0) { return [DBFILESRelocationBatchResultEntrySerializer deserialize:elem0]; }]; return [[DBFILESRelocationBatchV2Result alloc] initWithEntries:entries]; } @end #import "DBFILESFileOpsResult.h" #import "DBFILESMetadata.h" #import "DBFILESRelocationResult.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILESRelocationResult #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 [DBFILESRelocationResultSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILESRelocationResultSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILESRelocationResultSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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 isEqualToRelocationResult:other]; } - (BOOL)isEqualToRelocationResult:(DBFILESRelocationResult *)aRelocationResult { if (self == aRelocationResult) { return YES; } if (![self.metadata isEqual:aRelocationResult.metadata]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBFILESRelocationResultSerializer + (NSDictionary *)serialize:(DBFILESRelocationResult *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"metadata"] = [DBFILESMetadataSerializer serialize:valueObj.metadata]; return jsonDict; } + (DBFILESRelocationResult *)deserialize:(NSDictionary *)valueDict { DBFILESMetadata *metadata = [DBFILESMetadataSerializer deserialize:valueDict[@"metadata"]]; return [[DBFILESRelocationResult alloc] initWithMetadata:metadata]; } @end #import "DBFILESRemoveTagArg.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILESRemoveTagArg #pragma mark - Constructors - (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); self = [super init]; if (self) { _path = path; _tagText = tagText; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBFILESRemoveTagArgSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILESRemoveTagArgSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILESRemoveTagArgSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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.tagText hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToRemoveTagArg:other]; } - (BOOL)isEqualToRemoveTagArg:(DBFILESRemoveTagArg *)aRemoveTagArg { if (self == aRemoveTagArg) { return YES; } if (![self.path isEqual:aRemoveTagArg.path]) { return NO; } if (![self.tagText isEqual:aRemoveTagArg.tagText]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBFILESRemoveTagArgSerializer + (NSDictionary *)serialize:(DBFILESRemoveTagArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"path"] = valueObj.path; jsonDict[@"tag_text"] = valueObj.tagText; return jsonDict; } + (DBFILESRemoveTagArg *)deserialize:(NSDictionary *)valueDict { NSString *path = valueDict[@"path"]; NSString *tagText = valueDict[@"tag_text"]; return [[DBFILESRemoveTagArg alloc] initWithPath:path tagText:tagText]; } @end #import "DBFILESBaseTagError.h" #import "DBFILESLookupError.h" #import "DBFILESRemoveTagError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILESRemoveTagError @synthesize path = _path; #pragma mark - Constructors - (instancetype)initWithPath:(DBFILESLookupError *)path { self = [super init]; if (self) { _tag = DBFILESRemoveTagErrorPath; _path = path; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBFILESRemoveTagErrorOther; } return self; } - (instancetype)initWithTagNotPresent { self = [super init]; if (self) { _tag = DBFILESRemoveTagErrorTagNotPresent; } return self; } #pragma mark - Instance field accessors - (DBFILESLookupError *)path { if (![self isPath]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBFILESRemoveTagErrorPath, but was %@.", [self tagName]]; } return _path; } #pragma mark - Tag state methods - (BOOL)isPath { return _tag == DBFILESRemoveTagErrorPath; } - (BOOL)isOther { return _tag == DBFILESRemoveTagErrorOther; } - (BOOL)isTagNotPresent { return _tag == DBFILESRemoveTagErrorTagNotPresent; } - (NSString *)tagName { switch (_tag) { case DBFILESRemoveTagErrorPath: return @"DBFILESRemoveTagErrorPath"; case DBFILESRemoveTagErrorOther: return @"DBFILESRemoveTagErrorOther"; case DBFILESRemoveTagErrorTagNotPresent: return @"DBFILESRemoveTagErrorTagNotPresent"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBFILESRemoveTagErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILESRemoveTagErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILESRemoveTagErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 DBFILESRemoveTagErrorPath: result = prime * result + [self.path hash]; break; case DBFILESRemoveTagErrorOther: result = prime * result + [[self tagName] hash]; break; case DBFILESRemoveTagErrorTagNotPresent: 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 isEqualToRemoveTagError:other]; } - (BOOL)isEqualToRemoveTagError:(DBFILESRemoveTagError *)aRemoveTagError { if (self == aRemoveTagError) { return YES; } if (self.tag != aRemoveTagError.tag) { return NO; } switch (_tag) { 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; } @end #pragma mark - Serializer Object @implementation DBFILESRemoveTagErrorSerializer + (NSDictionary *)serialize:(DBFILESRemoveTagError *)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 isTagNotPresent]) { jsonDict[@".tag"] = @"tag_not_present"; } else { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBFILESRemoveTagError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"path"]) { DBFILESLookupError *path = [DBFILESLookupErrorSerializer deserialize:valueDict[@"path"]]; return [[DBFILESRemoveTagError alloc] initWithPath:path]; } else if ([tag isEqualToString:@"other"]) { return [[DBFILESRemoveTagError alloc] initWithOther]; } else if ([tag isEqualToString:@"tag_not_present"]) { return [[DBFILESRemoveTagError alloc] initWithTagNotPresent]; } else { return [[DBFILESRemoveTagError alloc] initWithOther]; } } @end #import "DBFILESRestoreArg.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILESRestoreArg #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); self = [super init]; if (self) { _path = path; _rev = rev; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBFILESRestoreArgSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILESRestoreArgSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILESRestoreArgSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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.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 isEqualToRestoreArg:other]; } - (BOOL)isEqualToRestoreArg:(DBFILESRestoreArg *)aRestoreArg { if (self == aRestoreArg) { return YES; } if (![self.path isEqual:aRestoreArg.path]) { return NO; } if (![self.rev isEqual:aRestoreArg.rev]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBFILESRestoreArgSerializer + (NSDictionary *)serialize:(DBFILESRestoreArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"path"] = valueObj.path; jsonDict[@"rev"] = valueObj.rev; return jsonDict; } + (DBFILESRestoreArg *)deserialize:(NSDictionary *)valueDict { NSString *path = valueDict[@"path"]; NSString *rev = valueDict[@"rev"]; return [[DBFILESRestoreArg alloc] initWithPath:path rev:rev]; } @end #import "DBFILESLookupError.h" #import "DBFILESRestoreError.h" #import "DBFILESWriteError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILESRestoreError @synthesize pathLookup = _pathLookup; @synthesize pathWrite = _pathWrite; #pragma mark - Constructors - (instancetype)initWithPathLookup:(DBFILESLookupError *)pathLookup { self = [super init]; if (self) { _tag = DBFILESRestoreErrorPathLookup; _pathLookup = pathLookup; } return self; } - (instancetype)initWithPathWrite:(DBFILESWriteError *)pathWrite { self = [super init]; if (self) { _tag = DBFILESRestoreErrorPathWrite; _pathWrite = pathWrite; } return self; } - (instancetype)initWithInvalidRevision { self = [super init]; if (self) { _tag = DBFILESRestoreErrorInvalidRevision; } return self; } - (instancetype)initWithInProgress { self = [super init]; if (self) { _tag = DBFILESRestoreErrorInProgress; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _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)isPathLookup { return _tag == DBFILESRestoreErrorPathLookup; } - (BOOL)isPathWrite { return _tag == DBFILESRestoreErrorPathWrite; } - (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]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBFILESRestoreErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILESRestoreErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILESRestoreErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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]; break; case DBFILESRestoreErrorInProgress: result = prime * result + [[self tagName] hash]; break; case DBFILESRestoreErrorOther: 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 isEqualToRestoreError:other]; } - (BOOL)isEqualToRestoreError:(DBFILESRestoreError *)aRestoreError { if (self == aRestoreError) { return YES; } if (self.tag != aRestoreError.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 DBFILESRestoreErrorInProgress: return [[self tagName] isEqual:[aRestoreError tagName]]; case DBFILESRestoreErrorOther: return [[self tagName] isEqual:[aRestoreError tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBFILESRestoreErrorSerializer + (NSDictionary *)serialize:(DBFILESRestoreError *)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"; } else if ([valueObj isInProgress]) { jsonDict[@".tag"] = @"in_progress"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBFILESRestoreError *)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]; } else if ([tag isEqualToString:@"in_progress"]) { return [[DBFILESRestoreError alloc] initWithInProgress]; } else if ([tag isEqualToString:@"other"]) { return [[DBFILESRestoreError alloc] initWithOther]; } else { return [[DBFILESRestoreError alloc] initWithOther]; } } @end #import "DBFILESSaveCopyReferenceArg.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILESSaveCopyReferenceArg #pragma mark - Constructors - (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) { _dCopyReference = dCopyReference; _path = path; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBFILESSaveCopyReferenceArgSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILESSaveCopyReferenceArgSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILESSaveCopyReferenceArgSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.dCopyReference hash]; 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 isEqualToSaveCopyReferenceArg:other]; } - (BOOL)isEqualToSaveCopyReferenceArg:(DBFILESSaveCopyReferenceArg *)aSaveCopyReferenceArg { if (self == aSaveCopyReferenceArg) { return YES; } if (![self.dCopyReference isEqual:aSaveCopyReferenceArg.dCopyReference]) { return NO; } if (![self.path isEqual:aSaveCopyReferenceArg.path]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBFILESSaveCopyReferenceArgSerializer + (NSDictionary *)serialize:(DBFILESSaveCopyReferenceArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"copy_reference"] = valueObj.dCopyReference; jsonDict[@"path"] = valueObj.path; return jsonDict; } + (DBFILESSaveCopyReferenceArg *)deserialize:(NSDictionary *)valueDict { NSString *dCopyReference = valueDict[@"copy_reference"]; NSString *path = valueDict[@"path"]; return [[DBFILESSaveCopyReferenceArg alloc] initWithDCopyReference:dCopyReference path:path]; } @end #import "DBFILESSaveCopyReferenceError.h" #import "DBFILESWriteError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILESSaveCopyReferenceError @synthesize path = _path; #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 { 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 [DBFILESSaveCopyReferenceErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILESSaveCopyReferenceErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILESSaveCopyReferenceErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToSaveCopyReferenceError:other]; } - (BOOL)isEqualToSaveCopyReferenceError:(DBFILESSaveCopyReferenceError *)aSaveCopyReferenceError { if (self == aSaveCopyReferenceError) { return YES; } if (self.tag != aSaveCopyReferenceError.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]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBFILESSaveCopyReferenceErrorSerializer + (NSDictionary *)serialize:(DBFILESSaveCopyReferenceError *)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"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBFILESSaveCopyReferenceError *)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]; } else if ([tag isEqualToString:@"other"]) { return [[DBFILESSaveCopyReferenceError alloc] initWithOther]; } else { return [[DBFILESSaveCopyReferenceError alloc] initWithOther]; } } @end #import "DBFILESMetadata.h" #import "DBFILESSaveCopyReferenceResult.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILESSaveCopyReferenceResult #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 [DBFILESSaveCopyReferenceResultSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILESSaveCopyReferenceResultSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILESSaveCopyReferenceResultSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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 isEqualToSaveCopyReferenceResult:other]; } - (BOOL)isEqualToSaveCopyReferenceResult:(DBFILESSaveCopyReferenceResult *)aSaveCopyReferenceResult { if (self == aSaveCopyReferenceResult) { return YES; } if (![self.metadata isEqual:aSaveCopyReferenceResult.metadata]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBFILESSaveCopyReferenceResultSerializer + (NSDictionary *)serialize:(DBFILESSaveCopyReferenceResult *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"metadata"] = [DBFILESMetadataSerializer serialize:valueObj.metadata]; return jsonDict; } + (DBFILESSaveCopyReferenceResult *)deserialize:(NSDictionary *)valueDict { DBFILESMetadata *metadata = [DBFILESMetadataSerializer deserialize:valueDict[@"metadata"]]; return [[DBFILESSaveCopyReferenceResult alloc] initWithMetadata:metadata]; } @end #import "DBFILESSaveUrlArg.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILESSaveUrlArg #pragma mark - Constructors - (instancetype)initWithPath:(NSString *)path url:(NSString *)url { [DBStoneValidators nonnullValidator:[DBStoneValidators stringValidator:nil maxLength:nil pattern:@"/(.|[\\r\\n])*"]](path); [DBStoneValidators nonnullValidator:nil](url); self = [super init]; if (self) { _path = path; _url = url; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBFILESSaveUrlArgSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILESSaveUrlArgSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILESSaveUrlArgSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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.url hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToSaveUrlArg:other]; } - (BOOL)isEqualToSaveUrlArg:(DBFILESSaveUrlArg *)aSaveUrlArg { if (self == aSaveUrlArg) { return YES; } if (![self.path isEqual:aSaveUrlArg.path]) { return NO; } if (![self.url isEqual:aSaveUrlArg.url]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBFILESSaveUrlArgSerializer + (NSDictionary *)serialize:(DBFILESSaveUrlArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"path"] = valueObj.path; jsonDict[@"url"] = valueObj.url; return jsonDict; } + (DBFILESSaveUrlArg *)deserialize:(NSDictionary *)valueDict { NSString *path = valueDict[@"path"]; NSString *url = valueDict[@"url"]; return [[DBFILESSaveUrlArg alloc] initWithPath:path url:url]; } @end #import "DBFILESSaveUrlError.h" #import "DBFILESWriteError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILESSaveUrlError @synthesize path = _path; #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 { self = [super init]; if (self) { _tag = DBFILESSaveUrlErrorNotFound; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _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 == DBFILESSaveUrlErrorPath; } - (BOOL)isDownloadFailed { return _tag == DBFILESSaveUrlErrorDownloadFailed; } - (BOOL)isInvalidUrl { return _tag == DBFILESSaveUrlErrorInvalidUrl; } - (BOOL)isNotFound { return _tag == DBFILESSaveUrlErrorNotFound; } - (BOOL)isOther { return _tag == DBFILESSaveUrlErrorOther; } - (NSString *)tagName { switch (_tag) { 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]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBFILESSaveUrlErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILESSaveUrlErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILESSaveUrlErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 DBFILESSaveUrlErrorPath: result = prime * result + [self.path hash]; break; case DBFILESSaveUrlErrorDownloadFailed: result = prime * result + [[self tagName] hash]; break; case DBFILESSaveUrlErrorInvalidUrl: result = prime * result + [[self tagName] hash]; break; case DBFILESSaveUrlErrorNotFound: result = prime * result + [[self tagName] hash]; break; case DBFILESSaveUrlErrorOther: 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 isEqualToSaveUrlError:other]; } - (BOOL)isEqualToSaveUrlError:(DBFILESSaveUrlError *)aSaveUrlError { if (self == aSaveUrlError) { return YES; } if (self.tag != aSaveUrlError.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]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBFILESSaveUrlErrorSerializer + (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 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; } + (DBFILESSaveUrlError *)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]; } else { return [[DBFILESSaveUrlError alloc] initWithOther]; } } @end #import "DBASYNCPollResultBase.h" #import "DBFILESFileMetadata.h" #import "DBFILESSaveUrlError.h" #import "DBFILESSaveUrlJobStatus.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILESSaveUrlJobStatus @synthesize complete = _complete; @synthesize failed = _failed; #pragma mark - Constructors - (instancetype)initWithInProgress { self = [super init]; if (self) { _tag = DBFILESSaveUrlJobStatusInProgress; } return self; } - (instancetype)initWithComplete:(DBFILESFileMetadata *)complete { self = [super init]; if (self) { _tag = DBFILESSaveUrlJobStatusComplete; _complete = complete; } return self; } - (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 [DBFILESSaveUrlJobStatusSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILESSaveUrlJobStatusSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILESSaveUrlJobStatusSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToSaveUrlJobStatus:other]; } - (BOOL)isEqualToSaveUrlJobStatus:(DBFILESSaveUrlJobStatus *)aSaveUrlJobStatus { if (self == aSaveUrlJobStatus) { return YES; } if (self.tag != aSaveUrlJobStatus.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]; } return YES; } @end #pragma mark - Serializer Object @implementation DBFILESSaveUrlJobStatusSerializer + (NSDictionary *)serialize:(DBFILESSaveUrlJobStatus *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; 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; } + (DBFILESSaveUrlJobStatus *)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]; } else { @throw([NSException exceptionWithName:@"InvalidTag" reason:[NSString stringWithFormat:@"Tag has an invalid value: \"%@\".", valueDict[@".tag"]] userInfo:nil]); } } @end #import "DBASYNCLaunchResultBase.h" #import "DBFILESFileMetadata.h" #import "DBFILESSaveUrlResult.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILESSaveUrlResult @synthesize asyncJobId = _asyncJobId; @synthesize complete = _complete; #pragma mark - Constructors - (instancetype)initWithAsyncJobId:(NSString *)asyncJobId { self = [super init]; if (self) { _tag = DBFILESSaveUrlResultAsyncJobId; _asyncJobId = asyncJobId; } return self; } - (instancetype)initWithComplete:(DBFILESFileMetadata *)complete { self = [super init]; if (self) { _tag = DBFILESSaveUrlResultComplete; _complete = complete; } return self; } #pragma mark - Instance field accessors - (NSString *)asyncJobId { if (![self isAsyncJobId]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBFILESSaveUrlResultAsyncJobId, but was %@.", [self tagName]]; } return _asyncJobId; } - (DBFILESFileMetadata *)complete { if (![self isComplete]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBFILESSaveUrlResultComplete, but was %@.", [self tagName]]; } return _complete; } #pragma mark - Tag state methods - (BOOL)isAsyncJobId { return _tag == DBFILESSaveUrlResultAsyncJobId; } - (BOOL)isComplete { return _tag == DBFILESSaveUrlResultComplete; } - (NSString *)tagName { switch (_tag) { case DBFILESSaveUrlResultAsyncJobId: return @"DBFILESSaveUrlResultAsyncJobId"; case DBFILESSaveUrlResultComplete: return @"DBFILESSaveUrlResultComplete"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBFILESSaveUrlResultSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILESSaveUrlResultSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILESSaveUrlResultSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 DBFILESSaveUrlResultAsyncJobId: result = prime * result + [self.asyncJobId hash]; break; case DBFILESSaveUrlResultComplete: 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 isEqualToSaveUrlResult:other]; } - (BOOL)isEqualToSaveUrlResult:(DBFILESSaveUrlResult *)aSaveUrlResult { if (self == aSaveUrlResult) { return YES; } if (self.tag != aSaveUrlResult.tag) { return NO; } switch (_tag) { case DBFILESSaveUrlResultAsyncJobId: return [self.asyncJobId isEqual:aSaveUrlResult.asyncJobId]; case DBFILESSaveUrlResultComplete: return [self.complete isEqual:aSaveUrlResult.complete]; } return YES; } @end #pragma mark - Serializer Object @implementation DBFILESSaveUrlResultSerializer + (NSDictionary *)serialize:(DBFILESSaveUrlResult *)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:[DBFILESFileMetadataSerializer 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; } + (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 { @throw([NSException exceptionWithName:@"InvalidTag" reason:[NSString stringWithFormat:@"Tag has an invalid value: \"%@\".", valueDict[@".tag"]] userInfo:nil]); } } @end #import "DBFILESSearchArg.h" #import "DBFILESSearchMode.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILESSearchArg #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:[DBStoneValidators stringValidator:nil maxLength:@(1000) pattern:nil]](query); self = [super init]; if (self) { _path = path; _query = query; _start = start ?: @(0); _maxResults = maxResults ?: @(100); _mode = mode ?: [[DBFILESSearchMode alloc] initWithFilename]; } return self; } - (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 [DBFILESSearchArgSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILESSearchArgSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILESSearchArgSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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.query hash]; result = prime * result + [self.start hash]; result = prime * result + [self.maxResults hash]; result = prime * result + [self.mode hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToSearchArg:other]; } - (BOOL)isEqualToSearchArg:(DBFILESSearchArg *)aSearchArg { if (self == aSearchArg) { return YES; } if (![self.path isEqual:aSearchArg.path]) { return NO; } 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; } @end #pragma mark - Serializer Object @implementation DBFILESSearchArgSerializer + (NSDictionary *)serialize:(DBFILESSearchArg *)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]; 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]; return [[DBFILESSearchArg alloc] initWithPath:path query:query start:start maxResults:maxResults mode:mode]; } @end #import "DBFILESLookupError.h" #import "DBFILESSearchError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILESSearchError @synthesize path = _path; @synthesize invalidArgument = _invalidArgument; #pragma mark - Constructors - (instancetype)initWithPath:(DBFILESLookupError *)path { self = [super init]; if (self) { _tag = DBFILESSearchErrorPath; _path = path; } return self; } - (instancetype)initWithInvalidArgument:(NSString *)invalidArgument { self = [super init]; if (self) { _tag = DBFILESSearchErrorInvalidArgument; _invalidArgument = invalidArgument; } return self; } - (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 [DBFILESSearchErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILESSearchErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILESSearchErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToSearchError:other]; } - (BOOL)isEqualToSearchError:(DBFILESSearchError *)aSearchError { if (self == aSearchError) { return YES; } if (self.tag != aSearchError.tag) { 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; } @end #pragma mark - Serializer Object @implementation DBFILESSearchErrorSerializer + (NSDictionary *)serialize:(DBFILESSearchError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; 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"] = @"invalid_argument"; } else if ([valueObj isInternalError]) { jsonDict[@".tag"] = @"internal_error"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBFILESSearchError *)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:@"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 "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 - Debug Description method - (NSString *)debugDescription { 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; } + (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 "DBFILESSearchMatchFieldOptions.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILESSearchMatchFieldOptions #pragma mark - Constructors - (instancetype)initWithIncludeHighlights:(NSNumber *)includeHighlights { self = [super init]; if (self) { _includeHighlights = includeHighlights ?: @NO; } return self; } - (instancetype)initDefault { return [self initWithIncludeHighlights:nil]; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBFILESSearchMatchFieldOptionsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILESSearchMatchFieldOptionsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILESSearchMatchFieldOptionsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; 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 isEqualToSearchMatchFieldOptions:other]; } - (BOOL)isEqualToSearchMatchFieldOptions:(DBFILESSearchMatchFieldOptions *)aSearchMatchFieldOptions { if (self == aSearchMatchFieldOptions) { return YES; } if (![self.includeHighlights isEqual:aSearchMatchFieldOptions.includeHighlights]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBFILESSearchMatchFieldOptionsSerializer + (NSDictionary *)serialize:(DBFILESSearchMatchFieldOptions *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"include_highlights"] = valueObj.includeHighlights; return jsonDict; } + (DBFILESSearchMatchFieldOptions *)deserialize:(NSDictionary *)valueDict { NSNumber *includeHighlights = valueDict[@"include_highlights"] ?: @NO; return [[DBFILESSearchMatchFieldOptions alloc] initWithIncludeHighlights:includeHighlights]; } @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 self; } - (instancetype)initWithBoth { self = [super init]; if (self) { _tag = DBFILESSearchMatchTypeBoth; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isFilename { return _tag == DBFILESSearchMatchTypeFilename; } - (BOOL)isContent { return _tag == DBFILESSearchMatchTypeContent; } - (BOOL)isBoth { return _tag == DBFILESSearchMatchTypeBoth; } - (NSString *)tagName { switch (_tag) { case DBFILESSearchMatchTypeFilename: return @"DBFILESSearchMatchTypeFilename"; case DBFILESSearchMatchTypeContent: return @"DBFILESSearchMatchTypeContent"; case DBFILESSearchMatchTypeBoth: return @"DBFILESSearchMatchTypeBoth"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBFILESSearchMatchTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILESSearchMatchTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILESSearchMatchTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 DBFILESSearchMatchTypeFilename: result = prime * result + [[self tagName] hash]; break; case DBFILESSearchMatchTypeContent: result = prime * result + [[self tagName] hash]; break; case DBFILESSearchMatchTypeBoth: 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 isEqualToSearchMatchType:other]; } - (BOOL)isEqualToSearchMatchType:(DBFILESSearchMatchType *)aSearchMatchType { if (self == aSearchMatchType) { return YES; } if (self.tag != aSearchMatchType.tag) { 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; } @end #pragma mark - Serializer Object @implementation DBFILESSearchMatchTypeSerializer + (NSDictionary *)serialize:(DBFILESSearchMatchType *)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]); } return jsonDict; } + (DBFILESSearchMatchType *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; 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]); } } @end #import "DBFILESSearchMatchTypeV2.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILESSearchMatchTypeV2 #pragma mark - Constructors - (instancetype)initWithFilename { self = [super init]; if (self) { _tag = DBFILESSearchMatchTypeV2Filename; } return self; } - (instancetype)initWithFileContent { self = [super init]; if (self) { _tag = DBFILESSearchMatchTypeV2FileContent; } return self; } - (instancetype)initWithFilenameAndContent { self = [super init]; if (self) { _tag = DBFILESSearchMatchTypeV2FilenameAndContent; } return self; } - (instancetype)initWithImageContent { self = [super init]; if (self) { _tag = DBFILESSearchMatchTypeV2ImageContent; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBFILESSearchMatchTypeV2Other; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isFilename { return _tag == DBFILESSearchMatchTypeV2Filename; } - (BOOL)isFileContent { return _tag == DBFILESSearchMatchTypeV2FileContent; } - (BOOL)isFilenameAndContent { return _tag == DBFILESSearchMatchTypeV2FilenameAndContent; } - (BOOL)isImageContent { return _tag == DBFILESSearchMatchTypeV2ImageContent; } - (BOOL)isOther { return _tag == DBFILESSearchMatchTypeV2Other; } - (NSString *)tagName { switch (_tag) { case DBFILESSearchMatchTypeV2Filename: return @"DBFILESSearchMatchTypeV2Filename"; case DBFILESSearchMatchTypeV2FileContent: return @"DBFILESSearchMatchTypeV2FileContent"; case DBFILESSearchMatchTypeV2FilenameAndContent: return @"DBFILESSearchMatchTypeV2FilenameAndContent"; case DBFILESSearchMatchTypeV2ImageContent: return @"DBFILESSearchMatchTypeV2ImageContent"; case DBFILESSearchMatchTypeV2Other: return @"DBFILESSearchMatchTypeV2Other"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBFILESSearchMatchTypeV2Serializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILESSearchMatchTypeV2Serializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILESSearchMatchTypeV2Serializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToSearchMatchTypeV2:other]; } - (BOOL)isEqualToSearchMatchTypeV2:(DBFILESSearchMatchTypeV2 *)aSearchMatchTypeV2 { if (self == aSearchMatchTypeV2) { return YES; } if (self.tag != aSearchMatchTypeV2.tag) { 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; } @end #pragma mark - Serializer Object @implementation DBFILESSearchMatchTypeV2Serializer + (NSDictionary *)serialize:(DBFILESSearchMatchTypeV2 *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; 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; } + (DBFILESSearchMatchTypeV2 *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; 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 "DBFILESHighlightSpan.h" #import "DBFILESMetadataV2.h" #import "DBFILESSearchMatchTypeV2.h" #import "DBFILESSearchMatchV2.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILESSearchMatchV2 #pragma mark - Constructors - (instancetype)initWithMetadata:(DBFILESMetadataV2 *)metadata matchType:(DBFILESSearchMatchTypeV2 *)matchType highlightSpans:(NSArray *)highlightSpans { [DBStoneValidators nonnullValidator:nil](metadata); [DBStoneValidators nullableValidator:[DBStoneValidators arrayValidator:nil maxItems:nil itemValidator:[DBStoneValidators nonnullValidator:nil]]](highlightSpans); self = [super init]; if (self) { _metadata = metadata; _matchType = matchType; _highlightSpans = highlightSpans; } return self; } - (instancetype)initWithMetadata:(DBFILESMetadataV2 *)metadata { return [self initWithMetadata:metadata matchType:nil highlightSpans:nil]; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBFILESSearchMatchV2Serializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILESSearchMatchV2Serializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILESSearchMatchV2Serializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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]; if (self.matchType != nil) { result = prime * result + [self.matchType hash]; } if (self.highlightSpans != nil) { result = prime * result + [self.highlightSpans hash]; } return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToSearchMatchV2:other]; } - (BOOL)isEqualToSearchMatchV2:(DBFILESSearchMatchV2 *)aSearchMatchV2 { if (self == aSearchMatchV2) { return YES; } if (![self.metadata isEqual:aSearchMatchV2.metadata]) { return NO; } if (self.matchType) { if (![self.matchType isEqual:aSearchMatchV2.matchType]) { return NO; } } if (self.highlightSpans) { if (![self.highlightSpans isEqual:aSearchMatchV2.highlightSpans]) { return NO; } } return YES; } @end #pragma mark - Serializer Object @implementation DBFILESSearchMatchV2Serializer + (NSDictionary *)serialize:(DBFILESSearchMatchV2 *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; 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; } + (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 [[DBFILESSearchMatchV2 alloc] initWithMetadata:metadata matchType:matchType highlightSpans:highlightSpans]; } @end #import "DBFILESSearchMode.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILESSearchMode #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)initWithDeletedFilename { self = [super init]; if (self) { _tag = DBFILESSearchModeDeletedFilename; } 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]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILESSearchModeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILESSearchModeSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 DBFILESSearchModeFilename: result = prime * result + [[self tagName] hash]; break; case DBFILESSearchModeFilenameAndContent: result = prime * result + [[self tagName] hash]; break; case DBFILESSearchModeDeletedFilename: 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 isEqualToSearchMode:other]; } - (BOOL)isEqualToSearchMode:(DBFILESSearchMode *)aSearchMode { if (self == aSearchMode) { return YES; } if (self.tag != aSearchMode.tag) { 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; } @end #pragma mark - Serializer Object @implementation DBFILESSearchModeSerializer + (NSDictionary *)serialize:(DBFILESSearchMode *)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]); } 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; } 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; } @end #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 "DBFILESSearchOrderBy.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILESSearchOrderBy #pragma mark - Constructors - (instancetype)initWithRelevance { self = [super init]; if (self) { _tag = DBFILESSearchOrderByRelevance; } return self; } - (instancetype)initWithLastModifiedTime { self = [super init]; if (self) { _tag = DBFILESSearchOrderByLastModifiedTime; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBFILESSearchOrderByOther; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isRelevance { return _tag == DBFILESSearchOrderByRelevance; } - (BOOL)isLastModifiedTime { return _tag == DBFILESSearchOrderByLastModifiedTime; } - (BOOL)isOther { return _tag == DBFILESSearchOrderByOther; } - (NSString *)tagName { switch (_tag) { case DBFILESSearchOrderByRelevance: return @"DBFILESSearchOrderByRelevance"; case DBFILESSearchOrderByLastModifiedTime: return @"DBFILESSearchOrderByLastModifiedTime"; case DBFILESSearchOrderByOther: return @"DBFILESSearchOrderByOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBFILESSearchOrderBySerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILESSearchOrderBySerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILESSearchOrderBySerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToSearchOrderBy:other]; } - (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; } @end #pragma mark - Serializer Object @implementation DBFILESSearchOrderBySerializer + (NSDictionary *)serialize:(DBFILESSearchOrderBy *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; 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"; } return jsonDict; } + (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]; } } @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 [DBFILESSearchResultSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILESSearchResultSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILESSearchResultSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (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]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToSearchResult:other]; } - (BOOL)isEqualToSearchResult:(DBFILESSearchResult *)aSearchResult { if (self == aSearchResult) { return YES; } if (![self.matches isEqual:aSearchResult.matches]) { return NO; } if (![self.more isEqual:aSearchResult.more]) { return NO; } if (![self.start isEqual:aSearchResult.start]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBFILESSearchResultSerializer + (NSDictionary *)serialize:(DBFILESSearchResult *)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; 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"]; return [[DBFILESSearchResult alloc] initWithMatches:matches more:more start:start]; } @end #import "DBFILESSearchMatchFieldOptions.h" #import "DBFILESSearchOptions.h" #import "DBFILESSearchV2Arg.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILESSearchV2Arg #pragma mark - Constructors - (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) { _query = query; _options = options; _matchFieldOptions = matchFieldOptions; _includeHighlights = includeHighlights; } return self; } - (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 YES; } @end #pragma mark - Serializer Object @implementation DBFILESSearchV2ArgSerializer + (NSDictionary *)serialize:(DBFILESSearchV2Arg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"query"] = valueObj.query; if (valueObj.options) { jsonDict[@"options"] = [DBFILESSearchOptionsSerializer serialize:valueObj.options]; } if (valueObj.matchFieldOptions) { jsonDict[@"match_field_options"] = [DBFILESSearchMatchFieldOptionsSerializer serialize:valueObj.matchFieldOptions]; } if (valueObj.includeHighlights) { jsonDict[@"include_highlights"] = valueObj.includeHighlights; } return jsonDict; } + (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; return [[DBFILESSearchV2Arg alloc] initWithQuery:query options:options matchFieldOptions:matchFieldOptions includeHighlights:includeHighlights]; } @end #import "DBFILESSearchV2ContinueArg.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @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 [DBFILESSearchV2ContinueArgSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILESSearchV2ContinueArgSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILESSearchV2ContinueArgSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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 isEqualToSearchV2ContinueArg:other]; } - (BOOL)isEqualToSearchV2ContinueArg:(DBFILESSearchV2ContinueArg *)aSearchV2ContinueArg { if (self == aSearchV2ContinueArg) { return YES; } if (![self.cursor isEqual:aSearchV2ContinueArg.cursor]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBFILESSearchV2ContinueArgSerializer + (NSDictionary *)serialize:(DBFILESSearchV2ContinueArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"cursor"] = valueObj.cursor; return jsonDict; } + (DBFILESSearchV2ContinueArg *)deserialize:(NSDictionary *)valueDict { NSString *cursor = valueDict[@"cursor"]; return [[DBFILESSearchV2ContinueArg alloc] initWithCursor:cursor]; } @end #import "DBFILESSearchMatchV2.h" #import "DBFILESSearchV2Result.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILESSearchV2Result #pragma mark - Constructors - (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) { _matches = matches; _hasMore = hasMore; _cursor = cursor; } return self; } - (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; } #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 prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToSearchV2Result:other]; } - (BOOL)isEqualToSearchV2Result:(DBFILESSearchV2Result *)aSearchV2Result { if (self == aSearchV2Result) { return YES; } 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; } @end #pragma mark - Serializer Object @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; } + (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]; } @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; } - (instancetype)initWithUrl:(NSString *)url { return [self initWithUrl:url password:nil]; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBFILESSharedLinkSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILESSharedLinkSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILESSharedLinkSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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]; if (self.password != nil) { result = prime * result + [self.password hash]; } return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToSharedLink:other]; } - (BOOL)isEqualToSharedLink:(DBFILESSharedLink *)aSharedLink { if (self == aSharedLink) { return YES; } if (![self.url isEqual:aSharedLink.url]) { return NO; } if (self.password) { if (![self.password isEqual:aSharedLink.password]) { return NO; } } return YES; } @end #pragma mark - Serializer Object @implementation DBFILESSharedLinkSerializer + (NSDictionary *)serialize:(DBFILESSharedLink *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"url"] = valueObj.url; if (valueObj.password) { jsonDict[@"password"] = valueObj.password; } return jsonDict; } + (DBFILESSharedLink *)deserialize:(NSDictionary *)valueDict { NSString *url = valueDict[@"url"]; NSString *password = valueDict[@"password"] ?: nil; return [[DBFILESSharedLink alloc] initWithUrl:url password:password]; } @end #import "DBFILESSharedLinkFileInfo.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILESSharedLinkFileInfo #pragma mark - Constructors - (instancetype)initWithUrl:(NSString *)url path:(NSString *)path password:(NSString *)password { [DBStoneValidators nonnullValidator:nil](url); self = [super init]; if (self) { _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 [DBFILESSharedLinkFileInfoSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILESSharedLinkFileInfoSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILESSharedLinkFileInfoSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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]; if (self.path != nil) { result = prime * result + [self.path hash]; } if (self.password != nil) { result = prime * result + [self.password hash]; } return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToSharedLinkFileInfo:other]; } - (BOOL)isEqualToSharedLinkFileInfo:(DBFILESSharedLinkFileInfo *)aSharedLinkFileInfo { if (self == aSharedLinkFileInfo) { return YES; } 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; } @end #pragma mark - Serializer Object @implementation DBFILESSharedLinkFileInfoSerializer + (NSDictionary *)serialize:(DBFILESSharedLinkFileInfo *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"url"] = valueObj.url; if (valueObj.path) { jsonDict[@"path"] = valueObj.path; } if (valueObj.password) { jsonDict[@"password"] = valueObj.password; } return jsonDict; } + (DBFILESSharedLinkFileInfo *)deserialize:(NSDictionary *)valueDict { NSString *url = valueDict[@"url"]; NSString *path = valueDict[@"path"] ?: nil; NSString *password = valueDict[@"password"] ?: nil; return [[DBFILESSharedLinkFileInfo alloc] initWithUrl:url path:path password:password]; } @end #import "DBFILESSingleUserLock.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILESSingleUserLock #pragma mark - Constructors - (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) { _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 [DBFILESSingleUserLockSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILESSingleUserLockSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILESSingleUserLockSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToSingleUserLock:other]; } - (BOOL)isEqualToSingleUserLock:(DBFILESSingleUserLock *)aSingleUserLock { if (self == aSingleUserLock) { return YES; } 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; } @end #pragma mark - Serializer Object @implementation DBFILESSingleUserLockSerializer + (NSDictionary *)serialize:(DBFILESSingleUserLock *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; 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; } + (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 [[DBFILESSingleUserLock alloc] initWithCreated:created lockHolderAccountId:lockHolderAccountId lockHolderTeamId:lockHolderTeamId]; } @end #import "DBFILESSymlinkInfo.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILESSymlinkInfo #pragma mark - Constructors - (instancetype)initWithTarget:(NSString *)target { [DBStoneValidators nonnullValidator:nil](target); self = [super init]; if (self) { _target = target; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBFILESSymlinkInfoSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILESSymlinkInfoSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILESSymlinkInfoSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.target hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToSymlinkInfo:other]; } - (BOOL)isEqualToSymlinkInfo:(DBFILESSymlinkInfo *)aSymlinkInfo { if (self == aSymlinkInfo) { return YES; } if (![self.target isEqual:aSymlinkInfo.target]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBFILESSymlinkInfoSerializer + (NSDictionary *)serialize:(DBFILESSymlinkInfo *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"target"] = valueObj.target; return jsonDict; } + (DBFILESSymlinkInfo *)deserialize:(NSDictionary *)valueDict { NSString *target = valueDict[@"target"]; return [[DBFILESSymlinkInfo alloc] initWithTarget:target]; } @end #import "DBFILESSyncSetting.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILESSyncSetting #pragma mark - Constructors - (instancetype)initWithDefault_ { self = [super init]; if (self) { _tag = DBFILESSyncSettingDefault_; } return self; } - (instancetype)initWithNotSynced { self = [super init]; if (self) { _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 [DBFILESSyncSettingSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILESSyncSettingSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILESSyncSettingSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToSyncSetting:other]; } - (BOOL)isEqualToSyncSetting:(DBFILESSyncSetting *)aSyncSetting { if (self == aSyncSetting) { return YES; } if (self.tag != aSyncSetting.tag) { 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; } @end #pragma mark - Serializer Object @implementation DBFILESSyncSettingSerializer + (NSDictionary *)serialize:(DBFILESSyncSetting *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; 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; } + (DBFILESSyncSetting *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; 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 "DBFILESSyncSettingArg.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILESSyncSettingArg #pragma mark - Constructors - (instancetype)initWithDefault_ { self = [super init]; if (self) { _tag = DBFILESSyncSettingArgDefault_; } return self; } - (instancetype)initWithNotSynced { self = [super init]; if (self) { _tag = DBFILESSyncSettingArgNotSynced; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBFILESSyncSettingArgOther; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isDefault_ { return _tag == DBFILESSyncSettingArgDefault_; } - (BOOL)isNotSynced { return _tag == DBFILESSyncSettingArgNotSynced; } - (BOOL)isOther { return _tag == DBFILESSyncSettingArgOther; } - (NSString *)tagName { switch (_tag) { case DBFILESSyncSettingArgDefault_: return @"DBFILESSyncSettingArgDefault_"; case DBFILESSyncSettingArgNotSynced: return @"DBFILESSyncSettingArgNotSynced"; case DBFILESSyncSettingArgOther: return @"DBFILESSyncSettingArgOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBFILESSyncSettingArgSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILESSyncSettingArgSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILESSyncSettingArgSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 DBFILESSyncSettingArgDefault_: result = prime * result + [[self tagName] hash]; break; case DBFILESSyncSettingArgNotSynced: result = prime * result + [[self tagName] hash]; break; case DBFILESSyncSettingArgOther: 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 isEqualToSyncSettingArg:other]; } - (BOOL)isEqualToSyncSettingArg:(DBFILESSyncSettingArg *)aSyncSettingArg { if (self == aSyncSettingArg) { return YES; } if (self.tag != aSyncSettingArg.tag) { return NO; } switch (_tag) { 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; } @end #pragma mark - Serializer Object @implementation DBFILESSyncSettingArgSerializer + (NSDictionary *)serialize:(DBFILESSyncSettingArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; 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; } + (DBFILESSyncSettingArg *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"default"]) { return [[DBFILESSyncSettingArg alloc] initWithDefault_]; } else if ([tag isEqualToString:@"not_synced"]) { return [[DBFILESSyncSettingArg alloc] initWithNotSynced]; } else if ([tag isEqualToString:@"other"]) { return [[DBFILESSyncSettingArg alloc] initWithOther]; } else { return [[DBFILESSyncSettingArg alloc] initWithOther]; } } @end #import "DBFILESLookupError.h" #import "DBFILESSyncSettingsError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILESSyncSettingsError @synthesize path = _path; #pragma mark - Constructors - (instancetype)initWithPath:(DBFILESLookupError *)path { self = [super init]; if (self) { _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 [DBFILESSyncSettingsErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILESSyncSettingsErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILESSyncSettingsErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToSyncSettingsError:other]; } - (BOOL)isEqualToSyncSettingsError:(DBFILESSyncSettingsError *)aSyncSettingsError { if (self == aSyncSettingsError) { return YES; } if (self.tag != aSyncSettingsError.tag) { 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; } @end #pragma mark - Serializer Object @implementation DBFILESSyncSettingsErrorSerializer + (NSDictionary *)serialize:(DBFILESSyncSettingsError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; 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; } + (DBFILESSyncSettingsError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; 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 "DBFILESTag.h" #import "DBFILESUserGeneratedTag.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILESTag @synthesize userGeneratedTag = _userGeneratedTag; #pragma mark - Constructors - (instancetype)initWithUserGeneratedTag:(DBFILESUserGeneratedTag *)userGeneratedTag { self = [super init]; if (self) { _tag = DBFILESTagUserGeneratedTag; _userGeneratedTag = userGeneratedTag; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBFILESTagOther; } return self; } #pragma mark - Instance field accessors - (DBFILESUserGeneratedTag *)userGeneratedTag { if (![self isUserGeneratedTag]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBFILESTagUserGeneratedTag, but was %@.", [self tagName]]; } return _userGeneratedTag; } #pragma mark - Tag state methods - (BOOL)isUserGeneratedTag { return _tag == DBFILESTagUserGeneratedTag; } - (BOOL)isOther { return _tag == DBFILESTagOther; } - (NSString *)tagName { switch (_tag) { case DBFILESTagUserGeneratedTag: return @"DBFILESTagUserGeneratedTag"; case DBFILESTagOther: return @"DBFILESTagOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBFILESTagSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILESTagSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILESTagSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 DBFILESTagUserGeneratedTag: result = prime * result + [self.userGeneratedTag hash]; break; case DBFILESTagOther: 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 isEqualToTag:other]; } - (BOOL)isEqualToTag:(DBFILESTag *)aTag { if (self == aTag) { return YES; } if (self.tag != aTag.tag) { return NO; } switch (_tag) { case DBFILESTagUserGeneratedTag: return [self.userGeneratedTag isEqual:aTag.userGeneratedTag]; case DBFILESTagOther: return [[self tagName] isEqual:[aTag tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBFILESTagSerializer + (NSDictionary *)serialize:(DBFILESTag *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; 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; } + (DBFILESTag *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"user_generated_tag"]) { DBFILESUserGeneratedTag *userGeneratedTag = [DBFILESUserGeneratedTagSerializer deserialize:valueDict]; return [[DBFILESTag alloc] initWithUserGeneratedTag:userGeneratedTag]; } else if ([tag isEqualToString:@"other"]) { return [[DBFILESTag alloc] initWithOther]; } else { return [[DBFILESTag alloc] initWithOther]; } } @end #import "DBFILESThumbnailArg.h" #import "DBFILESThumbnailFormat.h" #import "DBFILESThumbnailMode.h" #import "DBFILESThumbnailSize.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILESThumbnailArg #pragma mark - Constructors - (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) { _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 [DBFILESThumbnailArgSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILESThumbnailArgSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILESThumbnailArgSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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.format hash]; result = prime * result + [self.size hash]; result = prime * result + [self.mode hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToThumbnailArg:other]; } - (BOOL)isEqualToThumbnailArg:(DBFILESThumbnailArg *)aThumbnailArg { if (self == aThumbnailArg) { return YES; } 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; } @end #pragma mark - Serializer Object @implementation DBFILESThumbnailArgSerializer + (NSDictionary *)serialize:(DBFILESThumbnailArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"path"] = valueObj.path; jsonDict[@"format"] = [DBFILESThumbnailFormatSerializer serialize:valueObj.format]; jsonDict[@"size"] = [DBFILESThumbnailSizeSerializer serialize:valueObj.size]; jsonDict[@"mode"] = [DBFILESThumbnailModeSerializer serialize:valueObj.mode]; 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]; DBFILESThumbnailMode *mode = valueDict[@"mode"] ? [DBFILESThumbnailModeSerializer deserialize:valueDict[@"mode"]] : [[DBFILESThumbnailMode alloc] initWithStrict]; return [[DBFILESThumbnailArg alloc] initWithPath:path format:format size:size mode:mode]; } @end #import "DBFILESLookupError.h" #import "DBFILESThumbnailError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILESThumbnailError @synthesize path = _path; #pragma mark - Constructors - (instancetype)initWithPath:(DBFILESLookupError *)path { self = [super init]; if (self) { _tag = DBFILESThumbnailErrorPath; _path = path; } 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 [DBFILESThumbnailErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILESThumbnailErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILESThumbnailErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToThumbnailError:other]; } - (BOOL)isEqualToThumbnailError:(DBFILESThumbnailError *)aThumbnailError { if (self == aThumbnailError) { return YES; } if (self.tag != aThumbnailError.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]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBFILESThumbnailErrorSerializer + (NSDictionary *)serialize:(DBFILESThumbnailError *)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 { @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Object not properly initialized. Tag has an unknown value." userInfo:nil]); } return jsonDict; } + (DBFILESThumbnailError *)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]; } else { @throw([NSException exceptionWithName:@"InvalidTag" reason:[NSString stringWithFormat:@"Tag has an invalid value: \"%@\".", valueDict[@".tag"]] userInfo:nil]); } } @end #import "DBFILESThumbnailFormat.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILESThumbnailFormat #pragma mark - Constructors - (instancetype)initWithJpeg { self = [super init]; if (self) { _tag = DBFILESThumbnailFormatJpeg; } return self; } - (instancetype)initWithPng { self = [super init]; if (self) { _tag = DBFILESThumbnailFormatPng; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isJpeg { return _tag == DBFILESThumbnailFormatJpeg; } - (BOOL)isPng { return _tag == DBFILESThumbnailFormatPng; } - (NSString *)tagName { switch (_tag) { case DBFILESThumbnailFormatJpeg: return @"DBFILESThumbnailFormatJpeg"; case DBFILESThumbnailFormatPng: return @"DBFILESThumbnailFormatPng"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBFILESThumbnailFormatSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILESThumbnailFormatSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILESThumbnailFormatSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 DBFILESThumbnailFormatJpeg: result = prime * result + [[self tagName] hash]; break; case DBFILESThumbnailFormatPng: 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 isEqualToThumbnailFormat:other]; } - (BOOL)isEqualToThumbnailFormat:(DBFILESThumbnailFormat *)aThumbnailFormat { if (self == aThumbnailFormat) { return YES; } if (self.tag != aThumbnailFormat.tag) { return NO; } switch (_tag) { case DBFILESThumbnailFormatJpeg: return [[self tagName] isEqual:[aThumbnailFormat tagName]]; case DBFILESThumbnailFormatPng: return [[self tagName] isEqual:[aThumbnailFormat tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBFILESThumbnailFormatSerializer + (NSDictionary *)serialize:(DBFILESThumbnailFormat *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isJpeg]) { jsonDict[@".tag"] = @"jpeg"; } else if ([valueObj isPng]) { jsonDict[@".tag"] = @"png"; } else { @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Object not properly initialized. Tag has an unknown value." userInfo:nil]); } return jsonDict; } + (DBFILESThumbnailFormat *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"jpeg"]) { return [[DBFILESThumbnailFormat alloc] initWithJpeg]; } else if ([tag isEqualToString:@"png"]) { return [[DBFILESThumbnailFormat alloc] initWithPng]; } else { @throw([NSException exceptionWithName:@"InvalidTag" reason:[NSString stringWithFormat:@"Tag has an invalid value: \"%@\".", valueDict[@".tag"]] userInfo:nil]); } } @end #import "DBFILESThumbnailMode.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILESThumbnailMode #pragma mark - Constructors - (instancetype)initWithStrict { self = [super init]; if (self) { _tag = DBFILESThumbnailModeStrict; } return self; } - (instancetype)initWithBestfit { self = [super init]; if (self) { _tag = DBFILESThumbnailModeBestfit; } return self; } - (instancetype)initWithFitoneBestfit { self = [super init]; if (self) { _tag = DBFILESThumbnailModeFitoneBestfit; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isStrict { return _tag == DBFILESThumbnailModeStrict; } - (BOOL)isBestfit { return _tag == DBFILESThumbnailModeBestfit; } - (BOOL)isFitoneBestfit { return _tag == DBFILESThumbnailModeFitoneBestfit; } - (NSString *)tagName { switch (_tag) { case DBFILESThumbnailModeStrict: return @"DBFILESThumbnailModeStrict"; case DBFILESThumbnailModeBestfit: return @"DBFILESThumbnailModeBestfit"; case DBFILESThumbnailModeFitoneBestfit: return @"DBFILESThumbnailModeFitoneBestfit"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBFILESThumbnailModeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILESThumbnailModeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILESThumbnailModeSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 DBFILESThumbnailModeStrict: result = prime * result + [[self tagName] hash]; break; case DBFILESThumbnailModeBestfit: result = prime * result + [[self tagName] hash]; break; case DBFILESThumbnailModeFitoneBestfit: 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 isEqualToThumbnailMode:other]; } - (BOOL)isEqualToThumbnailMode:(DBFILESThumbnailMode *)aThumbnailMode { if (self == aThumbnailMode) { return YES; } if (self.tag != aThumbnailMode.tag) { return NO; } switch (_tag) { 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; } @end #pragma mark - Serializer Object @implementation DBFILESThumbnailModeSerializer + (NSDictionary *)serialize:(DBFILESThumbnailMode *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; 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; } + (DBFILESThumbnailMode *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; 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" reason:[NSString stringWithFormat:@"Tag has an invalid value: \"%@\".", valueDict[@".tag"]] userInfo:nil]); } } @end #import "DBFILESThumbnailSize.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILESThumbnailSize #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)initWithW256h256 { self = [super init]; if (self) { _tag = DBFILESThumbnailSizeW256h256; } return self; } - (instancetype)initWithW480h320 { self = [super init]; if (self) { _tag = DBFILESThumbnailSizeW480h320; } 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)isW32h32 { return _tag == DBFILESThumbnailSizeW32h32; } - (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 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]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBFILESThumbnailSizeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILESThumbnailSizeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILESThumbnailSizeSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToThumbnailSize:other]; } - (BOOL)isEqualToThumbnailSize:(DBFILESThumbnailSize *)aThumbnailSize { if (self == aThumbnailSize) { return YES; } if (self.tag != aThumbnailSize.tag) { 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 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; } @end #pragma mark - Serializer Object @implementation DBFILESThumbnailSizeSerializer + (NSDictionary *)serialize:(DBFILESThumbnailSize *)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 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; } + (DBFILESThumbnailSize *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; 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" reason:[NSString stringWithFormat:@"Tag has an invalid value: \"%@\".", valueDict[@".tag"]] userInfo:nil]); } } @end #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 DBFILESThumbnailV2Arg #pragma mark - Constructors - (instancetype)initWithResource:(DBFILESPathOrLink *)resource format:(DBFILESThumbnailFormat *)format size:(DBFILESThumbnailSize *)size mode:(DBFILESThumbnailMode *)mode { [DBStoneValidators nonnullValidator:nil](resource); self = [super init]; if (self) { _resource = resource; _format = format ?: [[DBFILESThumbnailFormat alloc] initWithJpeg]; _size = size ?: [[DBFILESThumbnailSize alloc] initWithW64h64]; _mode = mode ?: [[DBFILESThumbnailMode alloc] initWithStrict]; } return self; } - (instancetype)initWithResource:(DBFILESPathOrLink *)resource { return [self initWithResource:resource format:nil size:nil mode:nil]; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBFILESThumbnailV2ArgSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILESThumbnailV2ArgSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILESThumbnailV2ArgSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToThumbnailV2Arg:other]; } - (BOOL)isEqualToThumbnailV2Arg:(DBFILESThumbnailV2Arg *)aThumbnailV2Arg { if (self == aThumbnailV2Arg) { return YES; } if (![self.resource isEqual:aThumbnailV2Arg.resource]) { return NO; } if (![self.format isEqual:aThumbnailV2Arg.format]) { return NO; } if (![self.size isEqual:aThumbnailV2Arg.size]) { return NO; } if (![self.mode isEqual:aThumbnailV2Arg.mode]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBFILESThumbnailV2ArgSerializer + (NSDictionary *)serialize:(DBFILESThumbnailV2Arg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; 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; } + (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 [[DBFILESThumbnailV2Arg alloc] initWithResource:resource format:format size:size mode:mode]; } @end #import "DBFILESLookupError.h" #import "DBFILESThumbnailV2Error.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILESThumbnailV2Error @synthesize path = _path; #pragma mark - Constructors - (instancetype)initWithPath:(DBFILESLookupError *)path { self = [super init]; if (self) { _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 = DBFILESThumbnailV2ErrorOther; } return self; } #pragma mark - Instance field accessors - (DBFILESLookupError *)path { if (![self isPath]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBFILESThumbnailV2ErrorPath, but was %@.", [self tagName]]; } return _path; } #pragma mark - Tag state methods - (BOOL)isPath { 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 == DBFILESThumbnailV2ErrorOther; } - (NSString *)tagName { switch (_tag) { 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]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBFILESThumbnailV2ErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILESThumbnailV2ErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILESThumbnailV2ErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 DBFILESThumbnailV2ErrorPath: result = prime * result + [self.path hash]; 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToThumbnailV2Error:other]; } - (BOOL)isEqualToThumbnailV2Error:(DBFILESThumbnailV2Error *)aThumbnailV2Error { if (self == aThumbnailV2Error) { return YES; } if (self.tag != aThumbnailV2Error.tag) { return NO; } switch (_tag) { 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; } @end #pragma mark - Serializer Object @implementation DBFILESThumbnailV2ErrorSerializer + (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; } + (DBFILESThumbnailV2Error *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"path"]) { DBFILESLookupError *path = [DBFILESLookupErrorSerializer deserialize:valueDict[@"path"]]; 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]; } } @end #import "DBFILESUnlockFileArg.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILESUnlockFileArg #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 [DBFILESUnlockFileArgSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILESUnlockFileArgSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILESUnlockFileArgSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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 isEqualToUnlockFileArg:other]; } - (BOOL)isEqualToUnlockFileArg:(DBFILESUnlockFileArg *)anUnlockFileArg { if (self == anUnlockFileArg) { return YES; } if (![self.path isEqual:anUnlockFileArg.path]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBFILESUnlockFileArgSerializer + (NSDictionary *)serialize:(DBFILESUnlockFileArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"path"] = valueObj.path; return jsonDict; } + (DBFILESUnlockFileArg *)deserialize:(NSDictionary *)valueDict { NSString *path = valueDict[@"path"]; return [[DBFILESUnlockFileArg alloc] initWithPath:path]; } @end #import "DBFILESUnlockFileArg.h" #import "DBFILESUnlockFileBatchArg.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILESUnlockFileBatchArg #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 [DBFILESUnlockFileBatchArgSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILESUnlockFileBatchArgSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILESUnlockFileBatchArgSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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 isEqualToUnlockFileBatchArg:other]; } - (BOOL)isEqualToUnlockFileBatchArg:(DBFILESUnlockFileBatchArg *)anUnlockFileBatchArg { if (self == anUnlockFileBatchArg) { return YES; } if (![self.entries isEqual:anUnlockFileBatchArg.entries]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBFILESUnlockFileBatchArgSerializer + (NSDictionary *)serialize:(DBFILESUnlockFileBatchArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"entries"] = [DBArraySerializer serialize:valueObj.entries withBlock:^id(id elem0) { return [DBFILESUnlockFileArgSerializer serialize:elem0]; }]; return jsonDict; } + (DBFILESUnlockFileBatchArg *)deserialize:(NSDictionary *)valueDict { NSArray *entries = [DBArraySerializer deserialize:valueDict[@"entries"] withBlock:^id(id elem0) { return [DBFILESUnlockFileArgSerializer deserialize:elem0]; }]; return [[DBFILESUnlockFileBatchArg alloc] initWithEntries:entries]; } @end #import "DBFILEPROPERTIESPropertyGroup.h" #import "DBFILESCommitInfo.h" #import "DBFILESUploadArg.h" #import "DBFILESWriteMode.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILESUploadArg #pragma mark - Constructors - (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 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 initWithPath:path mode:mode autorename:autorename clientModified:clientModified mute:mute propertyGroups:propertyGroups strictConflict:strictConflict]; if (self) { _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 [DBFILESUploadArgSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILESUploadArgSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILESUploadArgSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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.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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToUploadArg:other]; } - (BOOL)isEqualToUploadArg:(DBFILESUploadArg *)anUploadArg { if (self == anUploadArg) { return YES; } if (![self.path isEqual:anUploadArg.path]) { return NO; } if (![self.mode isEqual:anUploadArg.mode]) { return NO; } 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; } @end #pragma mark - Serializer Object @implementation DBFILESUploadArgSerializer + (NSDictionary *)serialize:(DBFILESUploadArg *)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]; }]; } jsonDict[@"strict_conflict"] = valueObj.strictConflict; if (valueObj.contentHash) { jsonDict[@"content_hash"] = valueObj.contentHash; } return jsonDict; } + (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 [[DBFILESUploadArg alloc] initWithPath:path mode:mode autorename:autorename clientModified:clientModified mute:mute propertyGroups:propertyGroups strictConflict:strictConflict contentHash:contentHash]; } @end #import "DBFILEPROPERTIESInvalidPropertyGroupError.h" #import "DBFILESUploadError.h" #import "DBFILESUploadWriteFailed.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILESUploadError @synthesize path = _path; @synthesize propertiesError = _propertiesError; #pragma mark - Constructors - (instancetype)initWithPath:(DBFILESUploadWriteFailed *)path { self = [super init]; if (self) { _tag = DBFILESUploadErrorPath; _path = path; } return self; } - (instancetype)initWithPropertiesError:(DBFILEPROPERTIESInvalidPropertyGroupError *)propertiesError { self = [super init]; if (self) { _tag = DBFILESUploadErrorPropertiesError; _propertiesError = propertiesError; } return self; } - (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 [DBFILESUploadErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILESUploadErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILESUploadErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToUploadError:other]; } - (BOOL)isEqualToUploadError:(DBFILESUploadError *)anUploadError { if (self == anUploadError) { return YES; } if (self.tag != anUploadError.tag) { 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; } @end #pragma mark - Serializer Object @implementation DBFILESUploadErrorSerializer + (NSDictionary *)serialize:(DBFILESUploadError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; 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; } + (DBFILESUploadError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; 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 "DBFILESUploadSessionAppendArg.h" #import "DBFILESUploadSessionCursor.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILESUploadSessionAppendArg #pragma mark - Constructors - (instancetype)initWithCursor:(DBFILESUploadSessionCursor *)cursor close:(NSNumber *)close contentHash:(NSString *)contentHash { [DBStoneValidators nonnullValidator:nil](cursor); [DBStoneValidators nullableValidator:[DBStoneValidators stringValidator:@(64) maxLength:@(64) pattern:nil]](contentHash); self = [super init]; if (self) { _cursor = cursor; _close = close ?: @NO; _contentHash = contentHash; } return self; } - (instancetype)initWithCursor:(DBFILESUploadSessionCursor *)cursor { return [self initWithCursor:cursor close:nil contentHash:nil]; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBFILESUploadSessionAppendArgSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILESUploadSessionAppendArgSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILESUploadSessionAppendArgSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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.close hash]; if (self.contentHash != nil) { result = prime * result + [self.contentHash hash]; } return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToUploadSessionAppendArg:other]; } - (BOOL)isEqualToUploadSessionAppendArg:(DBFILESUploadSessionAppendArg *)anUploadSessionAppendArg { if (self == anUploadSessionAppendArg) { return YES; } if (![self.cursor isEqual:anUploadSessionAppendArg.cursor]) { return NO; } if (![self.close isEqual:anUploadSessionAppendArg.close]) { return NO; } if (self.contentHash) { if (![self.contentHash isEqual:anUploadSessionAppendArg.contentHash]) { return NO; } } return YES; } @end #pragma mark - Serializer Object @implementation DBFILESUploadSessionAppendArgSerializer + (NSDictionary *)serialize:(DBFILESUploadSessionAppendArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"cursor"] = [DBFILESUploadSessionCursorSerializer serialize:valueObj.cursor]; jsonDict[@"close"] = valueObj.close; if (valueObj.contentHash) { jsonDict[@"content_hash"] = valueObj.contentHash; } return jsonDict; } + (DBFILESUploadSessionAppendArg *)deserialize:(NSDictionary *)valueDict { DBFILESUploadSessionCursor *cursor = [DBFILESUploadSessionCursorSerializer deserialize:valueDict[@"cursor"]]; NSNumber *close = valueDict[@"close"] ?: @NO; NSString *contentHash = valueDict[@"content_hash"] ?: nil; return [[DBFILESUploadSessionAppendArg alloc] initWithCursor:cursor close:close contentHash:contentHash]; } @end #import "DBFILESUploadSessionLookupError.h" #import "DBFILESUploadSessionOffsetError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILESUploadSessionLookupError @synthesize incorrectOffset = _incorrectOffset; #pragma mark - Constructors - (instancetype)initWithNotFound { self = [super init]; if (self) { _tag = DBFILESUploadSessionLookupErrorNotFound; } return self; } - (instancetype)initWithIncorrectOffset:(DBFILESUploadSessionOffsetError *)incorrectOffset { self = [super init]; if (self) { _tag = DBFILESUploadSessionLookupErrorIncorrectOffset; _incorrectOffset = incorrectOffset; } return self; } - (instancetype)initWithClosed { self = [super init]; if (self) { _tag = DBFILESUploadSessionLookupErrorClosed; } return self; } - (instancetype)initWithNotClosed { self = [super init]; if (self) { _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 - (DBFILESUploadSessionOffsetError *)incorrectOffset { if (![self isIncorrectOffset]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBFILESUploadSessionLookupErrorIncorrectOffset, but was %@.", [self tagName]]; } return _incorrectOffset; } #pragma mark - Tag state methods - (BOOL)isNotFound { return _tag == DBFILESUploadSessionLookupErrorNotFound; } - (BOOL)isIncorrectOffset { return _tag == DBFILESUploadSessionLookupErrorIncorrectOffset; } - (BOOL)isClosed { return _tag == DBFILESUploadSessionLookupErrorClosed; } - (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 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]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBFILESUploadSessionLookupErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILESUploadSessionLookupErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILESUploadSessionLookupErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 DBFILESUploadSessionLookupErrorNotFound: result = prime * result + [[self tagName] hash]; break; case DBFILESUploadSessionLookupErrorIncorrectOffset: result = prime * result + [self.incorrectOffset hash]; break; case DBFILESUploadSessionLookupErrorClosed: result = prime * result + [[self tagName] hash]; 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToUploadSessionLookupError:other]; } - (BOOL)isEqualToUploadSessionLookupError:(DBFILESUploadSessionLookupError *)anUploadSessionLookupError { if (self == anUploadSessionLookupError) { return YES; } if (self.tag != anUploadSessionLookupError.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 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; } @end #pragma mark - Serializer Object @implementation DBFILESUploadSessionLookupErrorSerializer + (NSDictionary *)serialize:(DBFILESUploadSessionLookupError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; 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 { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBFILESUploadSessionLookupError *)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]; } 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 { return [[DBFILESUploadSessionLookupError alloc] initWithOther]; } } @end #import "DBFILESUploadSessionAppendError.h" #import "DBFILESUploadSessionLookupError.h" #import "DBFILESUploadSessionOffsetError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILESUploadSessionAppendError @synthesize incorrectOffset = _incorrectOffset; #pragma mark - Constructors - (instancetype)initWithNotFound { self = [super init]; if (self) { _tag = DBFILESUploadSessionAppendErrorNotFound; } return self; } - (instancetype)initWithIncorrectOffset:(DBFILESUploadSessionOffsetError *)incorrectOffset { self = [super init]; if (self) { _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)isNotFound { return _tag == DBFILESUploadSessionAppendErrorNotFound; } - (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 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]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBFILESUploadSessionAppendErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILESUploadSessionAppendErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILESUploadSessionAppendErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 DBFILESUploadSessionAppendErrorNotFound: result = prime * result + [[self tagName] hash]; 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToUploadSessionAppendError:other]; } - (BOOL)isEqualToUploadSessionAppendError:(DBFILESUploadSessionAppendError *)anUploadSessionAppendError { if (self == anUploadSessionAppendError) { return YES; } if (self.tag != anUploadSessionAppendError.tag) { return NO; } switch (_tag) { 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; } @end #pragma mark - Serializer Object @implementation DBFILESUploadSessionAppendErrorSerializer + (NSDictionary *)serialize:(DBFILESUploadSessionAppendError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; 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 { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBFILESUploadSessionAppendError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; 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 { return [[DBFILESUploadSessionAppendError alloc] initWithOther]; } } @end #import "DBFILESUploadSessionCursor.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILESUploadSessionCursor #pragma mark - Constructors - (instancetype)initWithSessionId:(NSString *)sessionId offset:(NSNumber *)offset { [DBStoneValidators nonnullValidator:nil](sessionId); [DBStoneValidators nonnullValidator:nil](offset); self = [super init]; if (self) { _sessionId = sessionId; _offset = offset; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBFILESUploadSessionCursorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILESUploadSessionCursorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILESUploadSessionCursorSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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.offset hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToUploadSessionCursor:other]; } - (BOOL)isEqualToUploadSessionCursor:(DBFILESUploadSessionCursor *)anUploadSessionCursor { if (self == anUploadSessionCursor) { return YES; } if (![self.sessionId isEqual:anUploadSessionCursor.sessionId]) { return NO; } if (![self.offset isEqual:anUploadSessionCursor.offset]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBFILESUploadSessionCursorSerializer + (NSDictionary *)serialize:(DBFILESUploadSessionCursor *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"session_id"] = valueObj.sessionId; jsonDict[@"offset"] = valueObj.offset; return jsonDict; } + (DBFILESUploadSessionCursor *)deserialize:(NSDictionary *)valueDict { NSString *sessionId = valueDict[@"session_id"]; NSNumber *offset = valueDict[@"offset"]; return [[DBFILESUploadSessionCursor alloc] initWithSessionId:sessionId offset:offset]; } @end #import "DBFILESCommitInfo.h" #import "DBFILESUploadSessionCursor.h" #import "DBFILESUploadSessionFinishArg.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILESUploadSessionFinishArg #pragma mark - Constructors - (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); self = [super init]; if (self) { _cursor = cursor; _commit = commit; _contentHash = contentHash; } return self; } - (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 [DBFILESUploadSessionFinishArgSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILESUploadSessionFinishArgSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILESUploadSessionFinishArgSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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.commit hash]; if (self.contentHash != nil) { result = prime * result + [self.contentHash hash]; } return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToUploadSessionFinishArg:other]; } - (BOOL)isEqualToUploadSessionFinishArg:(DBFILESUploadSessionFinishArg *)anUploadSessionFinishArg { if (self == anUploadSessionFinishArg) { return YES; } if (![self.cursor isEqual:anUploadSessionFinishArg.cursor]) { return NO; } if (![self.commit isEqual:anUploadSessionFinishArg.commit]) { return NO; } if (self.contentHash) { if (![self.contentHash isEqual:anUploadSessionFinishArg.contentHash]) { return NO; } } return YES; } @end #pragma mark - Serializer Object @implementation DBFILESUploadSessionFinishArgSerializer + (NSDictionary *)serialize:(DBFILESUploadSessionFinishArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"cursor"] = [DBFILESUploadSessionCursorSerializer serialize:valueObj.cursor]; jsonDict[@"commit"] = [DBFILESCommitInfoSerializer serialize:valueObj.commit]; if (valueObj.contentHash) { jsonDict[@"content_hash"] = valueObj.contentHash; } return jsonDict; } + (DBFILESUploadSessionFinishArg *)deserialize:(NSDictionary *)valueDict { DBFILESUploadSessionCursor *cursor = [DBFILESUploadSessionCursorSerializer deserialize:valueDict[@"cursor"]]; DBFILESCommitInfo *commit = [DBFILESCommitInfoSerializer deserialize:valueDict[@"commit"]]; NSString *contentHash = valueDict[@"content_hash"] ?: nil; return [[DBFILESUploadSessionFinishArg alloc] initWithCursor:cursor commit:commit contentHash:contentHash]; } @end #import "DBFILESUploadSessionFinishArg.h" #import "DBFILESUploadSessionFinishBatchArg.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILESUploadSessionFinishBatchArg #pragma mark - Constructors - (instancetype)initWithEntries:(NSArray *)entries { [DBStoneValidators nonnullValidator:[DBStoneValidators arrayValidator:nil maxItems:@(1000) itemValidator:[DBStoneValidators nonnullValidator:nil]]](entries); self = [super init]; if (self) { _entries = entries; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBFILESUploadSessionFinishBatchArgSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILESUploadSessionFinishBatchArgSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILESUploadSessionFinishBatchArgSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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 isEqualToUploadSessionFinishBatchArg:other]; } - (BOOL)isEqualToUploadSessionFinishBatchArg:(DBFILESUploadSessionFinishBatchArg *)anUploadSessionFinishBatchArg { if (self == anUploadSessionFinishBatchArg) { return YES; } if (![self.entries isEqual:anUploadSessionFinishBatchArg.entries]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBFILESUploadSessionFinishBatchArgSerializer + (NSDictionary *)serialize:(DBFILESUploadSessionFinishBatchArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"entries"] = [DBArraySerializer serialize:valueObj.entries withBlock:^id(id elem0) { return [DBFILESUploadSessionFinishArgSerializer serialize:elem0]; }]; return jsonDict; } + (DBFILESUploadSessionFinishBatchArg *)deserialize:(NSDictionary *)valueDict { NSArray *entries = [DBArraySerializer deserialize:valueDict[@"entries"] withBlock:^id(id elem0) { return [DBFILESUploadSessionFinishArgSerializer deserialize:elem0]; }]; return [[DBFILESUploadSessionFinishBatchArg alloc] initWithEntries:entries]; } @end #import "DBASYNCPollResultBase.h" #import "DBFILESUploadSessionFinishBatchJobStatus.h" #import "DBFILESUploadSessionFinishBatchResult.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILESUploadSessionFinishBatchJobStatus @synthesize complete = _complete; #pragma mark - Constructors - (instancetype)initWithInProgress { self = [super init]; if (self) { _tag = DBFILESUploadSessionFinishBatchJobStatusInProgress; } return self; } - (instancetype)initWithComplete:(DBFILESUploadSessionFinishBatchResult *)complete { self = [super init]; if (self) { _tag = DBFILESUploadSessionFinishBatchJobStatusComplete; _complete = complete; } return self; } #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 [DBFILESUploadSessionFinishBatchJobStatusSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILESUploadSessionFinishBatchJobStatusSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILESUploadSessionFinishBatchJobStatusSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 DBFILESUploadSessionFinishBatchJobStatusInProgress: result = prime * result + [[self tagName] hash]; break; case DBFILESUploadSessionFinishBatchJobStatusComplete: 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 isEqualToUploadSessionFinishBatchJobStatus:other]; } - (BOOL)isEqualToUploadSessionFinishBatchJobStatus: (DBFILESUploadSessionFinishBatchJobStatus *)anUploadSessionFinishBatchJobStatus { if (self == anUploadSessionFinishBatchJobStatus) { return YES; } if (self.tag != anUploadSessionFinishBatchJobStatus.tag) { return NO; } switch (_tag) { case DBFILESUploadSessionFinishBatchJobStatusInProgress: return [[self tagName] isEqual:[anUploadSessionFinishBatchJobStatus tagName]]; case DBFILESUploadSessionFinishBatchJobStatusComplete: return [self.complete isEqual:anUploadSessionFinishBatchJobStatus.complete]; } return YES; } @end #pragma mark - Serializer Object @implementation DBFILESUploadSessionFinishBatchJobStatusSerializer + (NSDictionary *)serialize:(DBFILESUploadSessionFinishBatchJobStatus *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; 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; } + (DBFILESUploadSessionFinishBatchJobStatus *)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]; } else { @throw([NSException exceptionWithName:@"InvalidTag" reason:[NSString stringWithFormat:@"Tag has an invalid value: \"%@\".", valueDict[@".tag"]] userInfo:nil]); } } @end #import "DBASYNCLaunchResultBase.h" #import "DBFILESUploadSessionFinishBatchLaunch.h" #import "DBFILESUploadSessionFinishBatchResult.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILESUploadSessionFinishBatchLaunch @synthesize asyncJobId = _asyncJobId; @synthesize complete = _complete; #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)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 [DBFILESUploadSessionFinishBatchLaunchSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILESUploadSessionFinishBatchLaunchSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILESUploadSessionFinishBatchLaunchSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToUploadSessionFinishBatchLaunch:other]; } - (BOOL)isEqualToUploadSessionFinishBatchLaunch: (DBFILESUploadSessionFinishBatchLaunch *)anUploadSessionFinishBatchLaunch { if (self == anUploadSessionFinishBatchLaunch) { return YES; } if (self.tag != anUploadSessionFinishBatchLaunch.tag) { 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; } @end #pragma mark - Serializer Object @implementation DBFILESUploadSessionFinishBatchLaunchSerializer + (NSDictionary *)serialize:(DBFILESUploadSessionFinishBatchLaunch *)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:[DBFILESUploadSessionFinishBatchResultSerializer serialize:valueObj.complete]]; jsonDict[@".tag"] = @"complete"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBFILESUploadSessionFinishBatchLaunch *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; 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 "DBFILESUploadSessionFinishBatchResult.h" #import "DBFILESUploadSessionFinishBatchResultEntry.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILESUploadSessionFinishBatchResult #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 [DBFILESUploadSessionFinishBatchResultSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILESUploadSessionFinishBatchResultSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILESUploadSessionFinishBatchResultSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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 isEqualToUploadSessionFinishBatchResult:other]; } - (BOOL)isEqualToUploadSessionFinishBatchResult: (DBFILESUploadSessionFinishBatchResult *)anUploadSessionFinishBatchResult { if (self == anUploadSessionFinishBatchResult) { return YES; } if (![self.entries isEqual:anUploadSessionFinishBatchResult.entries]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBFILESUploadSessionFinishBatchResultSerializer + (NSDictionary *)serialize:(DBFILESUploadSessionFinishBatchResult *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"entries"] = [DBArraySerializer serialize:valueObj.entries withBlock:^id(id elem0) { return [DBFILESUploadSessionFinishBatchResultEntrySerializer serialize:elem0]; }]; return jsonDict; } + (DBFILESUploadSessionFinishBatchResult *)deserialize:(NSDictionary *)valueDict { NSArray *entries = [DBArraySerializer deserialize:valueDict[@"entries"] withBlock:^id(id elem0) { return [DBFILESUploadSessionFinishBatchResultEntrySerializer deserialize:elem0]; }]; return [[DBFILESUploadSessionFinishBatchResult alloc] initWithEntries:entries]; } @end #import "DBFILESFileMetadata.h" #import "DBFILESUploadSessionFinishBatchResultEntry.h" #import "DBFILESUploadSessionFinishError.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 - (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 [DBFILESUploadSessionFinishBatchResultEntrySerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILESUploadSessionFinishBatchResultEntrySerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILESUploadSessionFinishBatchResultEntrySerializer serialize:self] description]; } #pragma mark - Copyable method - (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 DBFILESUploadSessionFinishBatchResultEntrySuccess: result = prime * result + [self.success hash]; break; case DBFILESUploadSessionFinishBatchResultEntryFailure: 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 isEqualToUploadSessionFinishBatchResultEntry:other]; } - (BOOL)isEqualToUploadSessionFinishBatchResultEntry: (DBFILESUploadSessionFinishBatchResultEntry *)anUploadSessionFinishBatchResultEntry { if (self == anUploadSessionFinishBatchResultEntry) { return YES; } 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; } @end #pragma mark - Serializer Object @implementation DBFILESUploadSessionFinishBatchResultEntrySerializer + (NSDictionary *)serialize:(DBFILESUploadSessionFinishBatchResultEntry *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; 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 - (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)initWithPropertiesError:(DBFILEPROPERTIESInvalidPropertyGroupError *)propertiesError { self = [super init]; if (self) { _tag = DBFILESUploadSessionFinishErrorPropertiesError; _propertiesError = propertiesError; } 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)initWithConcurrentSessionDataNotAllowed { self = [super init]; if (self) { _tag = DBFILESUploadSessionFinishErrorConcurrentSessionDataNotAllowed; } return self; } - (instancetype)initWithConcurrentSessionNotClosed { self = [super init]; if (self) { _tag = DBFILESUploadSessionFinishErrorConcurrentSessionNotClosed; } return self; } - (instancetype)initWithConcurrentSessionMissingData { self = [super init]; if (self) { _tag = DBFILESUploadSessionFinishErrorConcurrentSessionMissingData; } return self; } - (instancetype)initWithPayloadTooLarge { self = [super init]; if (self) { _tag = DBFILESUploadSessionFinishErrorPayloadTooLarge; } return self; } - (instancetype)initWithContentHashMismatch { self = [super init]; if (self) { _tag = DBFILESUploadSessionFinishErrorContentHashMismatch; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBFILESUploadSessionFinishErrorOther; } 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; } - (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)isLookupFailed { return _tag == DBFILESUploadSessionFinishErrorLookupFailed; } - (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 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]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBFILESUploadSessionFinishErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILESUploadSessionFinishErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILESUploadSessionFinishErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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]; 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToUploadSessionFinishError:other]; } - (BOOL)isEqualToUploadSessionFinishError:(DBFILESUploadSessionFinishError *)anUploadSessionFinishError { if (self == anUploadSessionFinishError) { return YES; } if (self.tag != anUploadSessionFinishError.tag) { return NO; } switch (_tag) { 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; } @end #pragma mark - Serializer Object @implementation DBFILESUploadSessionFinishErrorSerializer + (NSDictionary *)serialize:(DBFILESUploadSessionFinishError *)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 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 { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBFILESUploadSessionFinishError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; 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 { return [[DBFILESUploadSessionFinishError alloc] initWithOther]; } } @end #import "DBFILESUploadSessionOffsetError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILESUploadSessionOffsetError #pragma mark - Constructors - (instancetype)initWithCorrectOffset:(NSNumber *)correctOffset { [DBStoneValidators nonnullValidator:nil](correctOffset); self = [super init]; if (self) { _correctOffset = correctOffset; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBFILESUploadSessionOffsetErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILESUploadSessionOffsetErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILESUploadSessionOffsetErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.correctOffset hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToUploadSessionOffsetError:other]; } - (BOOL)isEqualToUploadSessionOffsetError:(DBFILESUploadSessionOffsetError *)anUploadSessionOffsetError { if (self == anUploadSessionOffsetError) { return YES; } if (![self.correctOffset isEqual:anUploadSessionOffsetError.correctOffset]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBFILESUploadSessionOffsetErrorSerializer + (NSDictionary *)serialize:(DBFILESUploadSessionOffsetError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"correct_offset"] = valueObj.correctOffset; return jsonDict; } + (DBFILESUploadSessionOffsetError *)deserialize:(NSDictionary *)valueDict { NSNumber *correctOffset = valueDict[@"correct_offset"]; return [[DBFILESUploadSessionOffsetError alloc] initWithCorrectOffset:correctOffset]; } @end #import "DBFILESUploadSessionStartArg.h" #import "DBFILESUploadSessionType.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILESUploadSessionStartArg #pragma mark - Constructors - (instancetype)initWithClose:(NSNumber *)close sessionType:(DBFILESUploadSessionType *)sessionType contentHash:(NSString *)contentHash { [DBStoneValidators nullableValidator:[DBStoneValidators stringValidator:@(64) maxLength:@(64) pattern:nil]](contentHash); self = [super init]; if (self) { _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 [DBFILESUploadSessionStartArgSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILESUploadSessionStartArgSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILESUploadSessionStartArgSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToUploadSessionStartArg:other]; } - (BOOL)isEqualToUploadSessionStartArg:(DBFILESUploadSessionStartArg *)anUploadSessionStartArg { if (self == anUploadSessionStartArg) { return YES; } 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; } @end #pragma mark - Serializer Object @implementation DBFILESUploadSessionStartArgSerializer + (NSDictionary *)serialize:(DBFILESUploadSessionStartArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"close"] = valueObj.close; if (valueObj.sessionType) { jsonDict[@"session_type"] = [DBFILESUploadSessionTypeSerializer serialize:valueObj.sessionType]; } if (valueObj.contentHash) { jsonDict[@"content_hash"] = valueObj.contentHash; } return jsonDict; } + (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 [[DBFILESUploadSessionStartArg alloc] initWithClose:close sessionType:sessionType contentHash:contentHash]; } @end #import "DBFILESUploadSessionStartBatchArg.h" #import "DBFILESUploadSessionType.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILESUploadSessionStartBatchArg #pragma mark - Constructors - (instancetype)initWithNumSessions:(NSNumber *)numSessions sessionType:(DBFILESUploadSessionType *)sessionType { [DBStoneValidators nonnullValidator:[DBStoneValidators numericValidator:@(1) maxValue:@(1000)]](numSessions); self = [super init]; if (self) { _sessionType = sessionType; _numSessions = numSessions; } return self; } - (instancetype)initWithNumSessions:(NSNumber *)numSessions { return [self initWithNumSessions:numSessions sessionType:nil]; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBFILESUploadSessionStartBatchArgSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILESUploadSessionStartBatchArgSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILESUploadSessionStartBatchArgSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.numSessions hash]; if (self.sessionType != nil) { result = prime * result + [self.sessionType hash]; } return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToUploadSessionStartBatchArg:other]; } - (BOOL)isEqualToUploadSessionStartBatchArg:(DBFILESUploadSessionStartBatchArg *)anUploadSessionStartBatchArg { if (self == anUploadSessionStartBatchArg) { return YES; } if (![self.numSessions isEqual:anUploadSessionStartBatchArg.numSessions]) { return NO; } if (self.sessionType) { if (![self.sessionType isEqual:anUploadSessionStartBatchArg.sessionType]) { return NO; } } return YES; } @end #pragma mark - Serializer Object @implementation DBFILESUploadSessionStartBatchArgSerializer + (NSDictionary *)serialize:(DBFILESUploadSessionStartBatchArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"num_sessions"] = valueObj.numSessions; if (valueObj.sessionType) { jsonDict[@"session_type"] = [DBFILESUploadSessionTypeSerializer serialize:valueObj.sessionType]; } return jsonDict; } + (DBFILESUploadSessionStartBatchArg *)deserialize:(NSDictionary *)valueDict { NSNumber *numSessions = valueDict[@"num_sessions"]; DBFILESUploadSessionType *sessionType = valueDict[@"session_type"] ? [DBFILESUploadSessionTypeSerializer deserialize:valueDict[@"session_type"]] : nil; return [[DBFILESUploadSessionStartBatchArg alloc] initWithNumSessions:numSessions sessionType:sessionType]; } @end #import "DBFILESUploadSessionStartBatchResult.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILESUploadSessionStartBatchResult #pragma mark - Constructors - (instancetype)initWithSessionIds:(NSArray *)sessionIds { [DBStoneValidators nonnullValidator:[DBStoneValidators arrayValidator:nil maxItems:nil itemValidator:[DBStoneValidators nonnullValidator:nil]]](sessionIds); self = [super init]; if (self) { _sessionIds = sessionIds; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBFILESUploadSessionStartBatchResultSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILESUploadSessionStartBatchResultSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILESUploadSessionStartBatchResultSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.sessionIds hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToUploadSessionStartBatchResult:other]; } - (BOOL)isEqualToUploadSessionStartBatchResult:(DBFILESUploadSessionStartBatchResult *)anUploadSessionStartBatchResult { if (self == anUploadSessionStartBatchResult) { return YES; } if (![self.sessionIds isEqual:anUploadSessionStartBatchResult.sessionIds]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBFILESUploadSessionStartBatchResultSerializer + (NSDictionary *)serialize:(DBFILESUploadSessionStartBatchResult *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"session_ids"] = [DBArraySerializer serialize:valueObj.sessionIds withBlock:^id(id elem0) { return elem0; }]; return jsonDict; } + (DBFILESUploadSessionStartBatchResult *)deserialize:(NSDictionary *)valueDict { NSArray *sessionIds = [DBArraySerializer deserialize:valueDict[@"session_ids"] withBlock:^id(id elem0) { return elem0; }]; return [[DBFILESUploadSessionStartBatchResult alloc] initWithSessionIds:sessionIds]; } @end #import "DBFILESUploadSessionStartError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILESUploadSessionStartError #pragma mark - Constructors - (instancetype)initWithConcurrentSessionDataNotAllowed { self = [super init]; if (self) { _tag = DBFILESUploadSessionStartErrorConcurrentSessionDataNotAllowed; } return self; } - (instancetype)initWithConcurrentSessionCloseNotAllowed { self = [super init]; if (self) { _tag = DBFILESUploadSessionStartErrorConcurrentSessionCloseNotAllowed; } return self; } - (instancetype)initWithPayloadTooLarge { self = [super init]; if (self) { _tag = DBFILESUploadSessionStartErrorPayloadTooLarge; } return self; } - (instancetype)initWithContentHashMismatch { self = [super init]; if (self) { _tag = DBFILESUploadSessionStartErrorContentHashMismatch; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBFILESUploadSessionStartErrorOther; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isConcurrentSessionDataNotAllowed { return _tag == DBFILESUploadSessionStartErrorConcurrentSessionDataNotAllowed; } - (BOOL)isConcurrentSessionCloseNotAllowed { return _tag == DBFILESUploadSessionStartErrorConcurrentSessionCloseNotAllowed; } - (BOOL)isPayloadTooLarge { return _tag == DBFILESUploadSessionStartErrorPayloadTooLarge; } - (BOOL)isContentHashMismatch { return _tag == DBFILESUploadSessionStartErrorContentHashMismatch; } - (BOOL)isOther { return _tag == DBFILESUploadSessionStartErrorOther; } - (NSString *)tagName { switch (_tag) { 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]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBFILESUploadSessionStartErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILESUploadSessionStartErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILESUploadSessionStartErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 DBFILESUploadSessionStartErrorConcurrentSessionDataNotAllowed: result = prime * result + [[self tagName] hash]; break; case DBFILESUploadSessionStartErrorConcurrentSessionCloseNotAllowed: result = prime * result + [[self tagName] hash]; break; case DBFILESUploadSessionStartErrorPayloadTooLarge: result = prime * result + [[self tagName] hash]; break; case DBFILESUploadSessionStartErrorContentHashMismatch: result = prime * result + [[self tagName] hash]; break; case DBFILESUploadSessionStartErrorOther: 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 isEqualToUploadSessionStartError:other]; } - (BOOL)isEqualToUploadSessionStartError:(DBFILESUploadSessionStartError *)anUploadSessionStartError { if (self == anUploadSessionStartError) { return YES; } if (self.tag != anUploadSessionStartError.tag) { return NO; } switch (_tag) { 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; } @end #pragma mark - Serializer Object @implementation DBFILESUploadSessionStartErrorSerializer + (NSDictionary *)serialize:(DBFILESUploadSessionStartError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; 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; } + (DBFILESUploadSessionStartError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; 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 [[DBFILESUploadSessionStartError alloc] initWithOther]; } else { return [[DBFILESUploadSessionStartError alloc] initWithOther]; } } @end #import "DBFILESUploadSessionStartResult.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILESUploadSessionStartResult #pragma mark - Constructors - (instancetype)initWithSessionId:(NSString *)sessionId { [DBStoneValidators nonnullValidator:nil](sessionId); self = [super init]; if (self) { _sessionId = sessionId; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBFILESUploadSessionStartResultSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILESUploadSessionStartResultSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILESUploadSessionStartResultSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToUploadSessionStartResult:other]; } - (BOOL)isEqualToUploadSessionStartResult:(DBFILESUploadSessionStartResult *)anUploadSessionStartResult { if (self == anUploadSessionStartResult) { return YES; } if (![self.sessionId isEqual:anUploadSessionStartResult.sessionId]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBFILESUploadSessionStartResultSerializer + (NSDictionary *)serialize:(DBFILESUploadSessionStartResult *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"session_id"] = valueObj.sessionId; return jsonDict; } + (DBFILESUploadSessionStartResult *)deserialize:(NSDictionary *)valueDict { NSString *sessionId = valueDict[@"session_id"]; return [[DBFILESUploadSessionStartResult alloc] initWithSessionId:sessionId]; } @end #import "DBFILESUploadSessionType.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILESUploadSessionType #pragma mark - Constructors - (instancetype)initWithSequential { self = [super init]; if (self) { _tag = DBFILESUploadSessionTypeSequential; } return self; } - (instancetype)initWithConcurrent { self = [super init]; if (self) { _tag = DBFILESUploadSessionTypeConcurrent; } return self; } - (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 [DBFILESUploadSessionTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILESUploadSessionTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILESUploadSessionTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToUploadSessionType:other]; } - (BOOL)isEqualToUploadSessionType:(DBFILESUploadSessionType *)anUploadSessionType { if (self == anUploadSessionType) { return YES; } 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; } @end #pragma mark - Serializer Object @implementation DBFILESUploadSessionTypeSerializer + (NSDictionary *)serialize:(DBFILESUploadSessionType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; 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; } + (DBFILESUploadSessionType *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; 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 "DBFILESUploadWriteFailed.h" #import "DBFILESWriteError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILESUploadWriteFailed #pragma mark - Constructors - (instancetype)initWithReason:(DBFILESWriteError *)reason uploadSessionId:(NSString *)uploadSessionId { [DBStoneValidators nonnullValidator:nil](reason); [DBStoneValidators nonnullValidator:nil](uploadSessionId); self = [super init]; if (self) { _reason = reason; _uploadSessionId = uploadSessionId; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBFILESUploadWriteFailedSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILESUploadWriteFailedSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILESUploadWriteFailedSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.reason hash]; result = prime * result + [self.uploadSessionId hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToUploadWriteFailed:other]; } - (BOOL)isEqualToUploadWriteFailed:(DBFILESUploadWriteFailed *)anUploadWriteFailed { if (self == anUploadWriteFailed) { return YES; } if (![self.reason isEqual:anUploadWriteFailed.reason]) { return NO; } if (![self.uploadSessionId isEqual:anUploadWriteFailed.uploadSessionId]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBFILESUploadWriteFailedSerializer + (NSDictionary *)serialize:(DBFILESUploadWriteFailed *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"reason"] = [DBFILESWriteErrorSerializer serialize:valueObj.reason]; jsonDict[@"upload_session_id"] = valueObj.uploadSessionId; return jsonDict; } + (DBFILESUploadWriteFailed *)deserialize:(NSDictionary *)valueDict { DBFILESWriteError *reason = [DBFILESWriteErrorSerializer deserialize:valueDict[@"reason"]]; NSString *uploadSessionId = valueDict[@"upload_session_id"]; return [[DBFILESUploadWriteFailed alloc] initWithReason:reason uploadSessionId:uploadSessionId]; } @end #import "DBFILESUserGeneratedTag.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILESUserGeneratedTag #pragma mark - Constructors - (instancetype)initWithTagText:(NSString *)tagText { [DBStoneValidators nonnullValidator:[DBStoneValidators stringValidator:@(1) maxLength:@(32) pattern:@"[\\w]+"]](tagText); self = [super init]; if (self) { _tagText = tagText; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBFILESUserGeneratedTagSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILESUserGeneratedTagSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILESUserGeneratedTagSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.tagText hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToUserGeneratedTag:other]; } - (BOOL)isEqualToUserGeneratedTag:(DBFILESUserGeneratedTag *)anUserGeneratedTag { if (self == anUserGeneratedTag) { return YES; } if (![self.tagText isEqual:anUserGeneratedTag.tagText]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBFILESUserGeneratedTagSerializer + (NSDictionary *)serialize:(DBFILESUserGeneratedTag *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"tag_text"] = valueObj.tagText; return jsonDict; } + (DBFILESUserGeneratedTag *)deserialize:(NSDictionary *)valueDict { NSString *tagText = valueDict[@"tag_text"]; return [[DBFILESUserGeneratedTag alloc] initWithTagText:tagText]; } @end #import "DBFILESDimensions.h" #import "DBFILESGpsCoordinates.h" #import "DBFILESMediaMetadata.h" #import "DBFILESVideoMetadata.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILESVideoMetadata #pragma mark - Constructors - (instancetype)initWithDimensions:(DBFILESDimensions *)dimensions location:(DBFILESGpsCoordinates *)location timeTaken:(NSDate *)timeTaken duration:(NSNumber *)duration { self = [super initWithDimensions:dimensions location:location timeTaken:timeTaken]; if (self) { _duration = duration; } return self; } - (instancetype)initDefault { return [self initWithDimensions:nil location:nil timeTaken:nil duration:nil]; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBFILESVideoMetadataSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILESVideoMetadataSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILESVideoMetadataSerializer serialize:self] description]; } #pragma mark - Copyable method - (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]; } if (self.duration != nil) { 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 isEqualToVideoMetadata:other]; } - (BOOL)isEqualToVideoMetadata:(DBFILESVideoMetadata *)aVideoMetadata { if (self == aVideoMetadata) { return YES; } if (self.dimensions) { if (![self.dimensions isEqual:aVideoMetadata.dimensions]) { return NO; } } if (self.location) { if (![self.location isEqual:aVideoMetadata.location]) { return NO; } } if (self.timeTaken) { if (![self.timeTaken isEqual:aVideoMetadata.timeTaken]) { return NO; } } if (self.duration) { if (![self.duration isEqual:aVideoMetadata.duration]) { return NO; } } return YES; } @end #pragma mark - Serializer Object @implementation DBFILESVideoMetadataSerializer + (NSDictionary *)serialize:(DBFILESVideoMetadata *)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.duration) { jsonDict[@"duration"] = valueObj.duration; } return jsonDict; } + (DBFILESVideoMetadata *)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; NSNumber *duration = valueDict[@"duration"] ?: nil; return [[DBFILESVideoMetadata alloc] initWithDimensions:dimensions location:location timeTaken:timeTaken duration:duration]; } @end #import "DBFILESWriteConflictError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILESWriteConflictError #pragma mark - Constructors - (instancetype)initWithFile { self = [super init]; if (self) { _tag = DBFILESWriteConflictErrorFile; } return self; } - (instancetype)initWithFolder { self = [super init]; if (self) { _tag = DBFILESWriteConflictErrorFolder; } return self; } - (instancetype)initWithFileAncestor { self = [super init]; if (self) { _tag = DBFILESWriteConflictErrorFileAncestor; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBFILESWriteConflictErrorOther; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isFile { return _tag == DBFILESWriteConflictErrorFile; } - (BOOL)isFolder { return _tag == DBFILESWriteConflictErrorFolder; } - (BOOL)isFileAncestor { return _tag == DBFILESWriteConflictErrorFileAncestor; } - (BOOL)isOther { return _tag == DBFILESWriteConflictErrorOther; } - (NSString *)tagName { switch (_tag) { case DBFILESWriteConflictErrorFile: return @"DBFILESWriteConflictErrorFile"; case DBFILESWriteConflictErrorFolder: return @"DBFILESWriteConflictErrorFolder"; case DBFILESWriteConflictErrorFileAncestor: return @"DBFILESWriteConflictErrorFileAncestor"; case DBFILESWriteConflictErrorOther: return @"DBFILESWriteConflictErrorOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBFILESWriteConflictErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILESWriteConflictErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILESWriteConflictErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToWriteConflictError:other]; } - (BOOL)isEqualToWriteConflictError:(DBFILESWriteConflictError *)aWriteConflictError { if (self == aWriteConflictError) { return YES; } if (self.tag != aWriteConflictError.tag) { return NO; } switch (_tag) { case DBFILESWriteConflictErrorFile: return [[self tagName] isEqual:[aWriteConflictError tagName]]; case DBFILESWriteConflictErrorFolder: return [[self tagName] isEqual:[aWriteConflictError tagName]]; case DBFILESWriteConflictErrorFileAncestor: return [[self tagName] isEqual:[aWriteConflictError tagName]]; case DBFILESWriteConflictErrorOther: return [[self tagName] isEqual:[aWriteConflictError tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBFILESWriteConflictErrorSerializer + (NSDictionary *)serialize:(DBFILESWriteConflictError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isFile]) { jsonDict[@".tag"] = @"file"; } else if ([valueObj isFolder]) { jsonDict[@".tag"] = @"folder"; } else if ([valueObj isFileAncestor]) { jsonDict[@".tag"] = @"file_ancestor"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBFILESWriteConflictError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"file"]) { return [[DBFILESWriteConflictError alloc] initWithFile]; } else if ([tag isEqualToString:@"folder"]) { return [[DBFILESWriteConflictError alloc] initWithFolder]; } else if ([tag isEqualToString:@"file_ancestor"]) { return [[DBFILESWriteConflictError alloc] initWithFileAncestor]; } else if ([tag isEqualToString:@"other"]) { return [[DBFILESWriteConflictError alloc] initWithOther]; } else { return [[DBFILESWriteConflictError alloc] initWithOther]; } } @end #import "DBFILESWriteConflictError.h" #import "DBFILESWriteError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILESWriteError @synthesize malformedPath = _malformedPath; @synthesize conflict = _conflict; #pragma mark - Constructors - (instancetype)initWithMalformedPath:(NSString *)malformedPath { self = [super init]; if (self) { _tag = DBFILESWriteErrorMalformedPath; _malformedPath = malformedPath; } return self; } - (instancetype)initWithConflict:(DBFILESWriteConflictError *)conflict { self = [super init]; if (self) { _tag = DBFILESWriteErrorConflict; _conflict = conflict; } return self; } - (instancetype)initWithNoWritePermission { self = [super init]; if (self) { _tag = DBFILESWriteErrorNoWritePermission; } return self; } - (instancetype)initWithInsufficientSpace { self = [super init]; if (self) { _tag = DBFILESWriteErrorInsufficientSpace; } return self; } - (instancetype)initWithDisallowedName { self = [super init]; if (self) { _tag = DBFILESWriteErrorDisallowedName; } return self; } - (instancetype)initWithTeamFolder { self = [super init]; if (self) { _tag = DBFILESWriteErrorTeamFolder; } 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) { _tag = DBFILESWriteErrorOther; } return self; } #pragma mark - Instance field accessors - (NSString *)malformedPath { if (![self isMalformedPath]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBFILESWriteErrorMalformedPath, but was %@.", [self tagName]]; } return _malformedPath; } - (DBFILESWriteConflictError *)conflict { if (![self isConflict]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBFILESWriteErrorConflict, but was %@.", [self tagName]]; } return _conflict; } #pragma mark - Tag state methods - (BOOL)isMalformedPath { return _tag == DBFILESWriteErrorMalformedPath; } - (BOOL)isConflict { return _tag == DBFILESWriteErrorConflict; } - (BOOL)isNoWritePermission { return _tag == DBFILESWriteErrorNoWritePermission; } - (BOOL)isInsufficientSpace { return _tag == DBFILESWriteErrorInsufficientSpace; } - (BOOL)isDisallowedName { return _tag == DBFILESWriteErrorDisallowedName; } - (BOOL)isTeamFolder { return _tag == DBFILESWriteErrorTeamFolder; } - (BOOL)isOperationSuppressed { return _tag == DBFILESWriteErrorOperationSuppressed; } - (BOOL)isTooManyWriteOperations { return _tag == DBFILESWriteErrorTooManyWriteOperations; } - (BOOL)isOther { return _tag == DBFILESWriteErrorOther; } - (NSString *)tagName { switch (_tag) { case DBFILESWriteErrorMalformedPath: return @"DBFILESWriteErrorMalformedPath"; case DBFILESWriteErrorConflict: return @"DBFILESWriteErrorConflict"; case DBFILESWriteErrorNoWritePermission: return @"DBFILESWriteErrorNoWritePermission"; case DBFILESWriteErrorInsufficientSpace: return @"DBFILESWriteErrorInsufficientSpace"; case DBFILESWriteErrorDisallowedName: return @"DBFILESWriteErrorDisallowedName"; case DBFILESWriteErrorTeamFolder: return @"DBFILESWriteErrorTeamFolder"; case DBFILESWriteErrorOperationSuppressed: return @"DBFILESWriteErrorOperationSuppressed"; case DBFILESWriteErrorTooManyWriteOperations: return @"DBFILESWriteErrorTooManyWriteOperations"; case DBFILESWriteErrorOther: return @"DBFILESWriteErrorOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBFILESWriteErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILESWriteErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILESWriteErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 DBFILESWriteErrorMalformedPath: 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToWriteError:other]; } - (BOOL)isEqualToWriteError:(DBFILESWriteError *)aWriteError { if (self == aWriteError) { return YES; } if (self.tag != aWriteError.tag) { return NO; } switch (_tag) { case DBFILESWriteErrorMalformedPath: if (self.malformedPath) { return [self.malformedPath isEqual:aWriteError.malformedPath]; } case DBFILESWriteErrorConflict: return [self.conflict isEqual:aWriteError.conflict]; case DBFILESWriteErrorNoWritePermission: return [[self tagName] isEqual:[aWriteError tagName]]; case DBFILESWriteErrorInsufficientSpace: return [[self tagName] isEqual:[aWriteError tagName]]; case DBFILESWriteErrorDisallowedName: 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]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBFILESWriteErrorSerializer + (NSDictionary *)serialize:(DBFILESWriteError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isMalformedPath]) { if (valueObj.malformedPath) { jsonDict[@"malformed_path"] = valueObj.malformedPath; } jsonDict[@".tag"] = @"malformed_path"; } else if ([valueObj isConflict]) { jsonDict[@"conflict"] = [[DBFILESWriteConflictErrorSerializer serialize:valueObj.conflict] mutableCopy]; jsonDict[@".tag"] = @"conflict"; } else if ([valueObj isNoWritePermission]) { jsonDict[@".tag"] = @"no_write_permission"; } else if ([valueObj isInsufficientSpace]) { jsonDict[@".tag"] = @"insufficient_space"; } else if ([valueObj isDisallowedName]) { 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; } + (DBFILESWriteError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"malformed_path"]) { NSString *malformedPath = valueDict[@"malformed_path"] ? valueDict[@"malformed_path"] : nil; return [[DBFILESWriteError alloc] initWithMalformedPath:malformedPath]; } else if ([tag isEqualToString:@"conflict"]) { DBFILESWriteConflictError *conflict = [DBFILESWriteConflictErrorSerializer deserialize:valueDict[@"conflict"]]; return [[DBFILESWriteError alloc] initWithConflict:conflict]; } else if ([tag isEqualToString:@"no_write_permission"]) { return [[DBFILESWriteError alloc] initWithNoWritePermission]; } else if ([tag isEqualToString:@"insufficient_space"]) { return [[DBFILESWriteError alloc] initWithInsufficientSpace]; } else if ([tag isEqualToString:@"disallowed_name"]) { 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 { return [[DBFILESWriteError alloc] initWithOther]; } } @end #import "DBFILESWriteMode.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBFILESWriteMode @synthesize update = _update; #pragma mark - Constructors - (instancetype)initWithAdd { self = [super init]; if (self) { _tag = DBFILESWriteModeAdd; } return self; } - (instancetype)initWithOverwrite { self = [super init]; if (self) { _tag = DBFILESWriteModeOverwrite; } return self; } - (instancetype)initWithUpdate:(NSString *)update { self = [super init]; if (self) { _tag = DBFILESWriteModeUpdate; _update = update; } return self; } #pragma mark - Instance field accessors - (NSString *)update { if (![self isUpdate]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBFILESWriteModeUpdate, but was %@.", [self tagName]]; } return _update; } #pragma mark - Tag state methods - (BOOL)isAdd { return _tag == DBFILESWriteModeAdd; } - (BOOL)isOverwrite { return _tag == DBFILESWriteModeOverwrite; } - (BOOL)isUpdate { return _tag == DBFILESWriteModeUpdate; } - (NSString *)tagName { switch (_tag) { case DBFILESWriteModeAdd: return @"DBFILESWriteModeAdd"; case DBFILESWriteModeOverwrite: return @"DBFILESWriteModeOverwrite"; case DBFILESWriteModeUpdate: return @"DBFILESWriteModeUpdate"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBFILESWriteModeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBFILESWriteModeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBFILESWriteModeSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToWriteMode:other]; } - (BOOL)isEqualToWriteMode:(DBFILESWriteMode *)aWriteMode { if (self == aWriteMode) { return YES; } if (self.tag != aWriteMode.tag) { return NO; } switch (_tag) { case DBFILESWriteModeAdd: return [[self tagName] isEqual:[aWriteMode tagName]]; case DBFILESWriteModeOverwrite: return [[self tagName] isEqual:[aWriteMode tagName]]; case DBFILESWriteModeUpdate: return [self.update isEqual:aWriteMode.update]; } return YES; } @end #pragma mark - Serializer Object @implementation DBFILESWriteModeSerializer + (NSDictionary *)serialize:(DBFILESWriteMode *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isAdd]) { jsonDict[@".tag"] = @"add"; } else if ([valueObj isOverwrite]) { jsonDict[@".tag"] = @"overwrite"; } else if ([valueObj isUpdate]) { jsonDict[@"update"] = valueObj.update; jsonDict[@".tag"] = @"update"; } else { @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Object not properly initialized. Tag has an unknown value." userInfo:nil]); } return jsonDict; } + (DBFILESWriteMode *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"add"]) { return [[DBFILESWriteMode alloc] initWithAdd]; } else if ([tag isEqualToString:@"overwrite"]) { return [[DBFILESWriteMode alloc] initWithOverwrite]; } else if ([tag isEqualToString:@"update"]) { NSString *update = valueDict[@"update"]; return [[DBFILESWriteMode alloc] initWithUpdate:update]; } else { @throw([NSException exceptionWithName:@"InvalidTag" reason:[NSString stringWithFormat:@"Tag has an invalid value: \"%@\".", valueDict[@".tag"]] userInfo:nil]); } } @end ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESAddTagArg.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESAddTagError.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESAlphaGetMetadataArg.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBFILESGetMetadataArg.h" #import "DBSerializableProtocol.h" @class DBFILEPROPERTIESTemplateFilterBase; @class DBFILESAlphaGetMetadataArg; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `AlphaGetMetadataArg` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILESAlphaGetMetadataArg : DBFILESGetMetadataArg #pragma mark - Instance fields /// If set to a valid list of template IDs, `propertyGroups` in /// `DBFILESFileMetadata` is set for files with custom properties. @property (nonatomic, readonly, nullable) NSArray *includePropertyTemplates; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param path The path of a file or folder on Dropbox. /// @param includeMediaInfo If true, `mediaInfo` in `DBFILESFileMetadata` is set /// for photo and video. /// @param includeDeleted If true, DeletedMetadata will be returned for deleted /// file or folder, otherwise `notFound` in `DBFILESLookupError` will be /// returned. /// @param includeHasExplicitSharedMembers If true, the results will include a /// flag for each file indicating whether or not that file has any explicit /// members. /// @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 includePropertyTemplates If set to a valid list of template IDs, /// `propertyGroups` in `DBFILESFileMetadata` is set for files with custom /// properties. /// /// @return An initialized instance. /// - (instancetype)initWithPath:(NSString *)path includeMediaInfo:(nullable NSNumber *)includeMediaInfo includeDeleted:(nullable NSNumber *)includeDeleted includeHasExplicitSharedMembers:(nullable NSNumber *)includeHasExplicitSharedMembers includePropertyGroups:(nullable DBFILEPROPERTIESTemplateFilterBase *)includePropertyGroups includePropertyTemplates:(nullable NSArray *)includePropertyTemplates; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param path The path of a file or folder on Dropbox. /// /// @return An initialized instance. /// - (instancetype)initWithPath:(NSString *)path; @end #pragma mark - Serializer Object /// /// The serialization class for the `AlphaGetMetadataArg` struct. /// @interface DBFILESAlphaGetMetadataArgSerializer : NSObject /// /// Serializes `DBFILESAlphaGetMetadataArg` instances. /// /// @param instance An instance of the `DBFILESAlphaGetMetadataArg` API object. /// /// @return A json-compatible dictionary representation of the /// `DBFILESAlphaGetMetadataArg` API object. /// + (nullable NSDictionary *)serialize:(DBFILESAlphaGetMetadataArg *)instance; /// /// Deserializes `DBFILESAlphaGetMetadataArg` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILESAlphaGetMetadataArg` API object. /// /// @return An instantiation of the `DBFILESAlphaGetMetadataArg` object. /// + (DBFILESAlphaGetMetadataArg *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESAlphaGetMetadataError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILEPROPERTIESLookUpPropertiesError; @class DBFILESAlphaGetMetadataError; @class DBFILESLookupError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `AlphaGetMetadataError` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILESAlphaGetMetadataError : NSObject #pragma mark - Instance fields /// The `DBFILESAlphaGetMetadataErrorTag` enum type represents the possible tag /// states with which the `DBFILESAlphaGetMetadataError` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBFILESAlphaGetMetadataErrorTag){ /// (no description). DBFILESAlphaGetMetadataErrorPath, /// (no description). DBFILESAlphaGetMetadataErrorPropertiesError, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBFILESAlphaGetMetadataErrorTag tag; /// (no description). @note Ensure the `isPath` method returns true before /// accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) DBFILESLookupError *path; /// (no description). @note Ensure the `isPropertiesError` method returns true /// before accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) DBFILEPROPERTIESLookUpPropertiesError *propertiesError; #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 "properties_error". /// /// @param propertiesError (no description). /// /// @return An initialized instance. /// - (instancetype)initWithPropertiesError:(DBFILEPROPERTIESLookUpPropertiesError *)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 /// "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 `DBFILESAlphaGetMetadataError` union. /// @interface DBFILESAlphaGetMetadataErrorSerializer : NSObject /// /// Serializes `DBFILESAlphaGetMetadataError` instances. /// /// @param instance An instance of the `DBFILESAlphaGetMetadataError` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBFILESAlphaGetMetadataError` API object. /// + (nullable NSDictionary *)serialize:(DBFILESAlphaGetMetadataError *)instance; /// /// Deserializes `DBFILESAlphaGetMetadataError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILESAlphaGetMetadataError` API object. /// /// @return An instantiation of the `DBFILESAlphaGetMetadataError` object. /// + (DBFILESAlphaGetMetadataError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESBaseTagError.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESCommitInfo.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILEPROPERTIESPropertyGroup; @class DBFILESCommitInfo; @class DBFILESWriteMode; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `CommitInfo` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILESCommitInfo : NSObject #pragma mark - Instance fields /// Path in the user's Dropbox to save the file. @property (nonatomic, readonly, copy) NSString *path; /// Selects what to do if the file already exists. @property (nonatomic, readonly) DBFILESWriteMode *mode; /// If there's a conflict, as determined by mode, have the Dropbox server try to /// autorename the file to avoid conflict. @property (nonatomic, readonly) NSNumber *autorename; /// 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. @property (nonatomic, readonly, nullable) NSDate *clientModified; /// 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. @property (nonatomic, readonly) NSNumber *mute; /// 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 /// /// Full constructor for the struct (exposes all instance variables). /// /// @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. /// @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. /// - (instancetype)initWithPath:(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; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param path Path in the user's Dropbox to save the file. /// /// @return An initialized instance. /// - (instancetype)initWithPath:(NSString *)path; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `CommitInfo` struct. /// @interface DBFILESCommitInfoSerializer : NSObject /// /// Serializes `DBFILESCommitInfo` instances. /// /// @param instance An instance of the `DBFILESCommitInfo` API object. /// /// @return A json-compatible dictionary representation of the /// `DBFILESCommitInfo` API object. /// + (nullable NSDictionary *)serialize:(DBFILESCommitInfo *)instance; /// /// Deserializes `DBFILESCommitInfo` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILESCommitInfo` API object. /// /// @return An instantiation of the `DBFILESCommitInfo` object. /// + (DBFILESCommitInfo *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESContentSyncSetting.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESContentSyncSettingArg.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESCreateFolderArg.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILESCreateFolderArg; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `CreateFolderArg` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILESCreateFolderArg : NSObject #pragma mark - Instance fields /// Path in the user's Dropbox to create. @property (nonatomic, readonly, copy) NSString *path; /// If there's a conflict, have the Dropbox server try to autorename the folder /// to avoid the conflict. @property (nonatomic, readonly) NSNumber *autorename; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param path Path in the user's Dropbox to create. /// @param autorename If there's a conflict, have the Dropbox server try to /// autorename the folder to avoid the conflict. /// /// @return An initialized instance. /// - (instancetype)initWithPath:(NSString *)path autorename:(nullable NSNumber *)autorename; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param path Path in the user's Dropbox to create. /// /// @return An initialized instance. /// - (instancetype)initWithPath:(NSString *)path; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `CreateFolderArg` struct. /// @interface DBFILESCreateFolderArgSerializer : NSObject /// /// Serializes `DBFILESCreateFolderArg` instances. /// /// @param instance An instance of the `DBFILESCreateFolderArg` API object. /// /// @return A json-compatible dictionary representation of the /// `DBFILESCreateFolderArg` API object. /// + (nullable NSDictionary *)serialize:(DBFILESCreateFolderArg *)instance; /// /// Deserializes `DBFILESCreateFolderArg` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILESCreateFolderArg` API object. /// /// @return An instantiation of the `DBFILESCreateFolderArg` object. /// + (DBFILESCreateFolderArg *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESCreateFolderBatchArg.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESCreateFolderBatchError.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESCreateFolderBatchJobStatus.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESCreateFolderBatchLaunch.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESCreateFolderBatchResult.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESCreateFolderBatchResultEntry.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESCreateFolderEntryError.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESCreateFolderEntryResult.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESCreateFolderError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILESCreateFolderError; @class DBFILESWriteError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `CreateFolderError` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILESCreateFolderError : NSObject #pragma mark - Instance fields /// The `DBFILESCreateFolderErrorTag` enum type represents the possible tag /// states with which the `DBFILESCreateFolderError` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBFILESCreateFolderErrorTag){ /// (no description). DBFILESCreateFolderErrorPath, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBFILESCreateFolderErrorTag 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; - (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 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 `DBFILESCreateFolderError` union. /// @interface DBFILESCreateFolderErrorSerializer : NSObject /// /// Serializes `DBFILESCreateFolderError` instances. /// /// @param instance An instance of the `DBFILESCreateFolderError` API object. /// /// @return A json-compatible dictionary representation of the /// `DBFILESCreateFolderError` API object. /// + (nullable NSDictionary *)serialize:(DBFILESCreateFolderError *)instance; /// /// Deserializes `DBFILESCreateFolderError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILESCreateFolderError` API object. /// /// @return An instantiation of the `DBFILESCreateFolderError` object. /// + (DBFILESCreateFolderError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESCreateFolderResult.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBFILESFileOpsResult.h" #import "DBSerializableProtocol.h" @class DBFILESCreateFolderResult; @class DBFILESFolderMetadata; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `CreateFolderResult` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILESCreateFolderResult : DBFILESFileOpsResult #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; @end #pragma mark - Serializer Object /// /// The serialization class for the `CreateFolderResult` struct. /// @interface DBFILESCreateFolderResultSerializer : NSObject /// /// Serializes `DBFILESCreateFolderResult` instances. /// /// @param instance An instance of the `DBFILESCreateFolderResult` API object. /// /// @return A json-compatible dictionary representation of the /// `DBFILESCreateFolderResult` API object. /// + (nullable NSDictionary *)serialize:(DBFILESCreateFolderResult *)instance; /// /// Deserializes `DBFILESCreateFolderResult` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILESCreateFolderResult` API object. /// /// @return An instantiation of the `DBFILESCreateFolderResult` object. /// + (DBFILESCreateFolderResult *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESDeleteArg.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILESDeleteArg; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `DeleteArg` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILESDeleteArg : NSObject #pragma mark - Instance fields /// 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. /// - (instancetype)initWithPath:(NSString *)path; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `DeleteArg` struct. /// @interface DBFILESDeleteArgSerializer : NSObject /// /// Serializes `DBFILESDeleteArg` instances. /// /// @param instance An instance of the `DBFILESDeleteArg` API object. /// /// @return A json-compatible dictionary representation of the /// `DBFILESDeleteArg` API object. /// + (nullable NSDictionary *)serialize:(DBFILESDeleteArg *)instance; /// /// Deserializes `DBFILESDeleteArg` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILESDeleteArg` API object. /// /// @return An instantiation of the `DBFILESDeleteArg` object. /// + (DBFILESDeleteArg *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESDeleteBatchArg.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILESDeleteArg; @class DBFILESDeleteBatchArg; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `DeleteBatchArg` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILESDeleteBatchArg : NSObject #pragma mark - Instance fields /// (no description). @property (nonatomic, readonly) NSArray *entries; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param entries (no description). /// /// @return An initialized instance. /// - (instancetype)initWithEntries:(NSArray *)entries; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `DeleteBatchArg` struct. /// @interface DBFILESDeleteBatchArgSerializer : NSObject /// /// Serializes `DBFILESDeleteBatchArg` instances. /// /// @param instance An instance of the `DBFILESDeleteBatchArg` API object. /// /// @return A json-compatible dictionary representation of the /// `DBFILESDeleteBatchArg` API object. /// + (nullable NSDictionary *)serialize:(DBFILESDeleteBatchArg *)instance; /// /// Deserializes `DBFILESDeleteBatchArg` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILESDeleteBatchArg` API object. /// /// @return An instantiation of the `DBFILESDeleteBatchArg` object. /// + (DBFILESDeleteBatchArg *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESDeleteBatchError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILESDeleteBatchError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `DeleteBatchError` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILESDeleteBatchError : NSObject #pragma mark - Instance fields /// The `DBFILESDeleteBatchErrorTag` enum type represents the possible tag /// states with which the `DBFILESDeleteBatchError` union can exist. 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, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBFILESDeleteBatchErrorTag tag; #pragma mark - Constructors /// /// Initializes union class with tag state of "too_many_write_operations". /// /// Description of the "too_many_write_operations" tag state: Use /// `tooManyWriteOperations` in `DBFILESDeleteError`. `deleteBatch` now provides /// smaller granularity about which entry has failed because of this. /// /// @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 /// "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 `DBFILESDeleteBatchError` union. /// @interface DBFILESDeleteBatchErrorSerializer : NSObject /// /// Serializes `DBFILESDeleteBatchError` instances. /// /// @param instance An instance of the `DBFILESDeleteBatchError` API object. /// /// @return A json-compatible dictionary representation of the /// `DBFILESDeleteBatchError` API object. /// + (nullable NSDictionary *)serialize:(DBFILESDeleteBatchError *)instance; /// /// Deserializes `DBFILESDeleteBatchError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILESDeleteBatchError` API object. /// /// @return An instantiation of the `DBFILESDeleteBatchError` object. /// + (DBFILESDeleteBatchError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESDeleteBatchJobStatus.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILESDeleteBatchError; @class DBFILESDeleteBatchJobStatus; @class DBFILESDeleteBatchResult; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `DeleteBatchJobStatus` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILESDeleteBatchJobStatus : NSObject #pragma mark - Instance fields /// The `DBFILESDeleteBatchJobStatusTag` enum type represents the possible tag /// states with which the `DBFILESDeleteBatchJobStatus` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBFILESDeleteBatchJobStatusTag){ /// The asynchronous job is still in progress. DBFILESDeleteBatchJobStatusInProgress, /// The batch delete has finished. DBFILESDeleteBatchJobStatusComplete, /// The batch delete has failed. DBFILESDeleteBatchJobStatusFailed, /// (no description). DBFILESDeleteBatchJobStatusOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBFILESDeleteBatchJobStatusTag tag; /// The batch delete has finished. @note Ensure the `isComplete` method returns /// true before accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) DBFILESDeleteBatchResult *complete; /// The batch delete has failed. @note Ensure the `isFailed` method returns true /// before accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) DBFILESDeleteBatchError *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 delete has finished. /// /// @param complete The batch delete has finished. /// /// @return An initialized instance. /// - (instancetype)initWithComplete:(DBFILESDeleteBatchResult *)complete; /// /// Initializes union class with tag state of "failed". /// /// Description of the "failed" tag state: The batch delete has failed. /// /// @param failed The batch delete has failed. /// /// @return An initialized instance. /// - (instancetype)initWithFailed:(DBFILESDeleteBatchError *)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 `DBFILESDeleteBatchJobStatus` union. /// @interface DBFILESDeleteBatchJobStatusSerializer : NSObject /// /// Serializes `DBFILESDeleteBatchJobStatus` instances. /// /// @param instance An instance of the `DBFILESDeleteBatchJobStatus` API object. /// /// @return A json-compatible dictionary representation of the /// `DBFILESDeleteBatchJobStatus` API object. /// + (nullable NSDictionary *)serialize:(DBFILESDeleteBatchJobStatus *)instance; /// /// Deserializes `DBFILESDeleteBatchJobStatus` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILESDeleteBatchJobStatus` API object. /// /// @return An instantiation of the `DBFILESDeleteBatchJobStatus` object. /// + (DBFILESDeleteBatchJobStatus *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESDeleteBatchLaunch.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILESDeleteBatchLaunch; @class DBFILESDeleteBatchResult; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `DeleteBatchLaunch` union. /// /// Result returned by `deleteBatch` 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 DBFILESDeleteBatchLaunch : NSObject #pragma mark - Instance fields /// The `DBFILESDeleteBatchLaunchTag` enum type represents the possible tag /// states with which the `DBFILESDeleteBatchLaunch` union can exist. 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). DBFILESDeleteBatchLaunchOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBFILESDeleteBatchLaunchTag 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) DBFILESDeleteBatchResult *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:(DBFILESDeleteBatchResult *)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 `DBFILESDeleteBatchLaunch` union. /// @interface DBFILESDeleteBatchLaunchSerializer : NSObject /// /// Serializes `DBFILESDeleteBatchLaunch` instances. /// /// @param instance An instance of the `DBFILESDeleteBatchLaunch` API object. /// /// @return A json-compatible dictionary representation of the /// `DBFILESDeleteBatchLaunch` API object. /// + (nullable NSDictionary *)serialize:(DBFILESDeleteBatchLaunch *)instance; /// /// Deserializes `DBFILESDeleteBatchLaunch` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILESDeleteBatchLaunch` API object. /// /// @return An instantiation of the `DBFILESDeleteBatchLaunch` object. /// + (DBFILESDeleteBatchLaunch *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESDeleteBatchResult.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBFILESFileOpsResult.h" #import "DBSerializableProtocol.h" @class DBFILESDeleteBatchResult; @class DBFILESDeleteBatchResultEntry; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `DeleteBatchResult` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILESDeleteBatchResult : DBFILESFileOpsResult #pragma mark - Instance fields /// Each entry in `entries` in `DBFILESDeleteBatchArg` will appear at the same /// position inside `entries` in `DBFILESDeleteBatchResult`. @property (nonatomic, readonly) NSArray *entries; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param entries Each entry in `entries` in `DBFILESDeleteBatchArg` will /// appear at the same position inside `entries` in `DBFILESDeleteBatchResult`. /// /// @return An initialized instance. /// - (instancetype)initWithEntries:(NSArray *)entries; @end #pragma mark - Serializer Object /// /// The serialization class for the `DeleteBatchResult` struct. /// @interface DBFILESDeleteBatchResultSerializer : NSObject /// /// Serializes `DBFILESDeleteBatchResult` instances. /// /// @param instance An instance of the `DBFILESDeleteBatchResult` API object. /// /// @return A json-compatible dictionary representation of the /// `DBFILESDeleteBatchResult` API object. /// + (nullable NSDictionary *)serialize:(DBFILESDeleteBatchResult *)instance; /// /// Deserializes `DBFILESDeleteBatchResult` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILESDeleteBatchResult` API object. /// /// @return An instantiation of the `DBFILESDeleteBatchResult` object. /// + (DBFILESDeleteBatchResult *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESDeleteBatchResultData.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILESDeleteBatchResultData; @class DBFILESMetadata; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `DeleteBatchResultData` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILESDeleteBatchResultData : NSObject #pragma mark - Instance fields /// Metadata of the deleted object. @property (nonatomic, readonly) DBFILESMetadata *metadata; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param metadata Metadata of the deleted object. /// /// @return An initialized instance. /// - (instancetype)initWithMetadata:(DBFILESMetadata *)metadata; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `DeleteBatchResultData` struct. /// @interface DBFILESDeleteBatchResultDataSerializer : NSObject /// /// Serializes `DBFILESDeleteBatchResultData` instances. /// /// @param instance An instance of the `DBFILESDeleteBatchResultData` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBFILESDeleteBatchResultData` API object. /// + (nullable NSDictionary *)serialize:(DBFILESDeleteBatchResultData *)instance; /// /// Deserializes `DBFILESDeleteBatchResultData` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILESDeleteBatchResultData` API object. /// /// @return An instantiation of the `DBFILESDeleteBatchResultData` object. /// + (DBFILESDeleteBatchResultData *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESDeleteBatchResultEntry.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILESDeleteBatchResultData; @class DBFILESDeleteBatchResultEntry; @class DBFILESDeleteError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `DeleteBatchResultEntry` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILESDeleteBatchResultEntry : NSObject #pragma mark - Instance fields /// The `DBFILESDeleteBatchResultEntryTag` enum type represents the possible tag /// states with which the `DBFILESDeleteBatchResultEntry` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBFILESDeleteBatchResultEntryTag){ /// (no description). DBFILESDeleteBatchResultEntrySuccess, /// (no description). DBFILESDeleteBatchResultEntryFailure, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBFILESDeleteBatchResultEntryTag tag; /// (no description). @note Ensure the `isSuccess` method returns true before /// accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) DBFILESDeleteBatchResultData *success; /// (no description). @note Ensure the `isFailure` method returns true before /// accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) DBFILESDeleteError *failure; #pragma mark - Constructors /// /// Initializes union class with tag state of "success". /// /// @param success (no description). /// /// @return An initialized instance. /// - (instancetype)initWithSuccess:(DBFILESDeleteBatchResultData *)success; /// /// Initializes union class with tag state of "failure". /// /// @param failure (no description). /// /// @return An initialized instance. /// - (instancetype)initWithFailure:(DBFILESDeleteError *)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 `DBFILESDeleteBatchResultEntry` union. /// @interface DBFILESDeleteBatchResultEntrySerializer : NSObject /// /// Serializes `DBFILESDeleteBatchResultEntry` instances. /// /// @param instance An instance of the `DBFILESDeleteBatchResultEntry` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBFILESDeleteBatchResultEntry` API object. /// + (nullable NSDictionary *)serialize:(DBFILESDeleteBatchResultEntry *)instance; /// /// Deserializes `DBFILESDeleteBatchResultEntry` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILESDeleteBatchResultEntry` API object. /// /// @return An instantiation of the `DBFILESDeleteBatchResultEntry` object. /// + (DBFILESDeleteBatchResultEntry *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESDeleteError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILESDeleteError; @class DBFILESLookupError; @class DBFILESWriteError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `DeleteError` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILESDeleteError : NSObject #pragma mark - Instance fields /// The `DBFILESDeleteErrorTag` enum type represents the possible tag states /// with which the `DBFILESDeleteError` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBFILESDeleteErrorTag){ /// (no description). DBFILESDeleteErrorPathLookup, /// (no description). DBFILESDeleteErrorPathWrite, /// 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, /// (no description). DBFILESDeleteErrorOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBFILESDeleteErrorTag tag; /// (no description). @note Ensure the `isPathLookup` method returns true before /// accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) DBFILESLookupError *pathLookup; /// (no description). @note Ensure the `isPathWrite` method returns true before /// accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) DBFILESWriteError *pathWrite; #pragma mark - Constructors /// /// Initializes union class with tag state of "path_lookup". /// /// @param pathLookup (no description). /// /// @return An initialized instance. /// - (instancetype)initWithPathLookup:(DBFILESLookupError *)pathLookup; /// /// Initializes union class with tag state of "path_write". /// /// @param pathWrite (no description). /// /// @return An initialized instance. /// - (instancetype)initWithPathWrite:(DBFILESWriteError *)pathWrite; /// /// 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 "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 "path_write". /// /// @note Call this method and ensure it returns true before accessing the /// `pathWrite` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value "path_write". /// - (BOOL)isPathWrite; /// /// 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 "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 `DBFILESDeleteError` union. /// @interface DBFILESDeleteErrorSerializer : NSObject /// /// Serializes `DBFILESDeleteError` instances. /// /// @param instance An instance of the `DBFILESDeleteError` API object. /// /// @return A json-compatible dictionary representation of the /// `DBFILESDeleteError` API object. /// + (nullable NSDictionary *)serialize:(DBFILESDeleteError *)instance; /// /// Deserializes `DBFILESDeleteError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILESDeleteError` API object. /// /// @return An instantiation of the `DBFILESDeleteError` object. /// + (DBFILESDeleteError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESDeleteResult.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBFILESFileOpsResult.h" #import "DBSerializableProtocol.h" @class DBFILESDeleteResult; @class DBFILESMetadata; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `DeleteResult` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILESDeleteResult : DBFILESFileOpsResult #pragma mark - Instance fields /// Metadata of the deleted object. @property (nonatomic, readonly) DBFILESMetadata *metadata; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param metadata Metadata of the deleted object. /// /// @return An initialized instance. /// - (instancetype)initWithMetadata:(DBFILESMetadata *)metadata; @end #pragma mark - Serializer Object /// /// The serialization class for the `DeleteResult` struct. /// @interface DBFILESDeleteResultSerializer : NSObject /// /// Serializes `DBFILESDeleteResult` instances. /// /// @param instance An instance of the `DBFILESDeleteResult` API object. /// /// @return A json-compatible dictionary representation of the /// `DBFILESDeleteResult` API object. /// + (nullable NSDictionary *)serialize:(DBFILESDeleteResult *)instance; /// /// Deserializes `DBFILESDeleteResult` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILESDeleteResult` API object. /// /// @return An instantiation of the `DBFILESDeleteResult` object. /// + (DBFILESDeleteResult *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESDeletedMetadata.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBFILESMetadata.h" #import "DBSerializableProtocol.h" @class DBFILESDeletedMetadata; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `DeletedMetadata` struct. /// /// Indicates that there used to be a file or folder at this path, but it no /// longer exists. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILESDeletedMetadata : DBFILESMetadata #pragma mark - Instance fields #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 pathLower The lowercased full path in the user's Dropbox. This always /// starts with a slash. This field will be null if the file or folder is not /// mounted. /// @param pathDisplay The cased path to be used for display purposes only. In /// rare instances the casing will not correctly match the user's filesystem, /// but this behavior will match the path provided in the Core API v1, and at /// least the last path component will have the correct casing. Changes to only /// the casing of paths won't be returned by `listFolderContinue`. This field /// will be null if the file or folder is not mounted. /// @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 previewUrl:(nullable NSString *)previewUrl; /// /// 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. /// /// @return An initialized instance. /// - (instancetype)initWithName:(NSString *)name; @end #pragma mark - Serializer Object /// /// The serialization class for the `DeletedMetadata` struct. /// @interface DBFILESDeletedMetadataSerializer : NSObject /// /// Serializes `DBFILESDeletedMetadata` instances. /// /// @param instance An instance of the `DBFILESDeletedMetadata` API object. /// /// @return A json-compatible dictionary representation of the /// `DBFILESDeletedMetadata` API object. /// + (nullable NSDictionary *)serialize:(DBFILESDeletedMetadata *)instance; /// /// Deserializes `DBFILESDeletedMetadata` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILESDeletedMetadata` API object. /// /// @return An instantiation of the `DBFILESDeletedMetadata` object. /// + (DBFILESDeletedMetadata *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESDimensions.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILESDimensions; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `Dimensions` struct. /// /// Dimensions for a photo or video. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILESDimensions : NSObject #pragma mark - Instance fields /// Height of the photo/video. @property (nonatomic, readonly) NSNumber *height; /// Width of the photo/video. @property (nonatomic, readonly) NSNumber *width; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param height Height of the photo/video. /// @param width Width of the photo/video. /// /// @return An initialized instance. /// - (instancetype)initWithHeight:(NSNumber *)height width:(NSNumber *)width; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `Dimensions` struct. /// @interface DBFILESDimensionsSerializer : NSObject /// /// Serializes `DBFILESDimensions` instances. /// /// @param instance An instance of the `DBFILESDimensions` API object. /// /// @return A json-compatible dictionary representation of the /// `DBFILESDimensions` API object. /// + (nullable NSDictionary *)serialize:(DBFILESDimensions *)instance; /// /// Deserializes `DBFILESDimensions` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILESDimensions` API object. /// /// @return An instantiation of the `DBFILESDimensions` object. /// + (DBFILESDimensions *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESDownloadArg.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILESDownloadArg; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `DownloadArg` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILESDownloadArg : NSObject #pragma mark - Instance fields /// The path of the file to download. @property (nonatomic, readonly, copy) NSString *path; /// Please specify revision in path instead. @property (nonatomic, readonly, copy, nullable) NSString *rev; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param path The path of the file to download. /// @param rev Please specify revision in path instead. /// /// @return An initialized instance. /// - (instancetype)initWithPath:(NSString *)path rev:(nullable NSString *)rev; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param path The path of the file to download. /// /// @return An initialized instance. /// - (instancetype)initWithPath:(NSString *)path; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `DownloadArg` struct. /// @interface DBFILESDownloadArgSerializer : NSObject /// /// Serializes `DBFILESDownloadArg` instances. /// /// @param instance An instance of the `DBFILESDownloadArg` API object. /// /// @return A json-compatible dictionary representation of the /// `DBFILESDownloadArg` API object. /// + (nullable NSDictionary *)serialize:(DBFILESDownloadArg *)instance; /// /// Deserializes `DBFILESDownloadArg` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILESDownloadArg` API object. /// /// @return An instantiation of the `DBFILESDownloadArg` object. /// + (DBFILESDownloadArg *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESDownloadError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILESDownloadError; @class DBFILESLookupError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `DownloadError` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILESDownloadError : NSObject #pragma mark - Instance fields /// The `DBFILESDownloadErrorTag` enum type represents the possible tag states /// with which the `DBFILESDownloadError` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBFILESDownloadErrorTag){ /// (no description). DBFILESDownloadErrorPath, /// This file type cannot be downloaded directly; use `export` instead. DBFILESDownloadErrorUnsupportedFile, /// (no description). DBFILESDownloadErrorOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBFILESDownloadErrorTag 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_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". /// /// @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_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". /// /// @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 `DBFILESDownloadError` union. /// @interface DBFILESDownloadErrorSerializer : NSObject /// /// Serializes `DBFILESDownloadError` instances. /// /// @param instance An instance of the `DBFILESDownloadError` API object. /// /// @return A json-compatible dictionary representation of the /// `DBFILESDownloadError` API object. /// + (nullable NSDictionary *)serialize:(DBFILESDownloadError *)instance; /// /// Deserializes `DBFILESDownloadError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILESDownloadError` API object. /// /// @return An instantiation of the `DBFILESDownloadError` object. /// + (DBFILESDownloadError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESDownloadZipArg.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESDownloadZipError.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESDownloadZipResult.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESExportArg.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESExportError.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESExportInfo.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESExportMetadata.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESExportResult.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESFileCategory.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESFileLock.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESFileLockContent.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESFileLockMetadata.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESFileMetadata.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBFILESMetadata.h" #import "DBSerializableProtocol.h" @class DBFILEPROPERTIESPropertyGroup; @class DBFILESExportInfo; @class DBFILESFileLockMetadata; @class DBFILESFileMetadata; @class DBFILESFileSharingInfo; @class DBFILESMediaInfo; @class DBFILESSymlinkInfo; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `FileMetadata` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILESFileMetadata : DBFILESMetadata #pragma mark - Instance fields /// A unique identifier for the file. @property (nonatomic, readonly, copy) NSString *id_; /// For files, this is the modification time set by the desktop client when the /// file was added to Dropbox. Since this time is not verified (the Dropbox /// server stores whatever the desktop client sends up), this should only be /// used for display purposes (such as sorting) and not, for example, to /// determine if a file has changed or not. @property (nonatomic, readonly) NSDate *clientModified; /// The last time the file was modified on Dropbox. @property (nonatomic, readonly) NSDate *serverModified; /// 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; /// The file size in bytes. @property (nonatomic, readonly) NSNumber *size; /// 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; /// This flag will only be present if include_has_explicit_shared_members is /// true in `listFolder` or `getMetadata`. If this flag is present, it will be /// true if this file has any explicit shared members. This is different from /// sharing_info in that this could be true in the case where a file has /// explicit members but is not contained within a shared folder. @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 /// 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 /// /// 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 id_ A unique identifier for the file. /// @param clientModified For files, this is the modification time set by the /// desktop client when the file was added to Dropbox. Since this time is not /// verified (the Dropbox server stores whatever the desktop client sends up), /// this should only be used for display purposes (such as sorting) and not, for /// example, to determine if a file has changed or not. /// @param serverModified The last time the file was modified on Dropbox. /// @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 size The file size in bytes. /// @param pathLower The lowercased full path in the user's Dropbox. This always /// starts with a slash. This field will be null if the file or folder is not /// mounted. /// @param pathDisplay The cased path to be used for display purposes only. In /// rare instances the casing will not correctly match the user's filesystem, /// but this behavior will match the path provided in the Core API v1, and at /// least the last path component will have the correct casing. Changes to only /// the casing of paths won't be returned by `listFolderContinue`. This field /// will be null if the file or folder is not mounted. /// @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 /// include_has_explicit_shared_members is true in `listFolder` or /// `getMetadata`. If this flag is present, it will be true if this file has /// any explicit shared members. This is different from sharing_info in that /// this could be true in the case where a file has explicit members but is not /// 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 /// 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. /// - (instancetype)initWithName:(NSString *)name id_:(NSString *)id_ clientModified:(NSDate *)clientModified serverModified:(NSDate *)serverModified rev:(NSString *)rev size:(NSNumber *)size 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 fileLockInfo:(nullable DBFILESFileLockMetadata *)fileLockInfo; /// /// 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 id_ A unique identifier for the file. /// @param clientModified For files, this is the modification time set by the /// desktop client when the file was added to Dropbox. Since this time is not /// verified (the Dropbox server stores whatever the desktop client sends up), /// this should only be used for display purposes (such as sorting) and not, for /// example, to determine if a file has changed or not. /// @param serverModified The last time the file was modified on Dropbox. /// @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 size The file size in bytes. /// /// @return An initialized instance. /// - (instancetype)initWithName:(NSString *)name id_:(NSString *)id_ clientModified:(NSDate *)clientModified serverModified:(NSDate *)serverModified rev:(NSString *)rev size:(NSNumber *)size; @end #pragma mark - Serializer Object /// /// The serialization class for the `FileMetadata` struct. /// @interface DBFILESFileMetadataSerializer : NSObject /// /// Serializes `DBFILESFileMetadata` instances. /// /// @param instance An instance of the `DBFILESFileMetadata` API object. /// /// @return A json-compatible dictionary representation of the /// `DBFILESFileMetadata` API object. /// + (nullable NSDictionary *)serialize:(DBFILESFileMetadata *)instance; /// /// Deserializes `DBFILESFileMetadata` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILESFileMetadata` API object. /// /// @return An instantiation of the `DBFILESFileMetadata` object. /// + (DBFILESFileMetadata *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESFileOpsResult.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILESFileOpsResult; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `FileOpsResult` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILESFileOpsResult : 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 `FileOpsResult` struct. /// @interface DBFILESFileOpsResultSerializer : NSObject /// /// Serializes `DBFILESFileOpsResult` instances. /// /// @param instance An instance of the `DBFILESFileOpsResult` API object. /// /// @return A json-compatible dictionary representation of the /// `DBFILESFileOpsResult` API object. /// + (nullable NSDictionary *)serialize:(DBFILESFileOpsResult *)instance; /// /// Deserializes `DBFILESFileOpsResult` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILESFileOpsResult` API object. /// /// @return An instantiation of the `DBFILESFileOpsResult` object. /// + (DBFILESFileOpsResult *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESFileSharingInfo.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBFILESSharingInfo.h" #import "DBSerializableProtocol.h" @class DBFILESFileSharingInfo; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `FileSharingInfo` struct. /// /// Sharing info for a file which is contained by 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 DBFILESFileSharingInfo : DBFILESSharingInfo #pragma mark - Instance fields /// ID of shared folder that holds this file. @property (nonatomic, readonly, copy) NSString *parentSharedFolderId; /// The last user who modified the file. This field will be null if the user's /// account has been deleted. @property (nonatomic, readonly, copy, nullable) NSString *modifiedBy; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param readOnly True if the file or folder is inside a read-only shared /// folder. /// @param parentSharedFolderId ID of shared folder that holds this file. /// @param modifiedBy The last user who modified the file. This field will be /// null if the user's account has been deleted. /// /// @return An initialized instance. /// - (instancetype)initWithReadOnly:(NSNumber *)readOnly parentSharedFolderId:(NSString *)parentSharedFolderId modifiedBy:(nullable NSString *)modifiedBy; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param readOnly True if the file or folder is inside a read-only shared /// folder. /// @param parentSharedFolderId ID of shared folder that holds this file. /// /// @return An initialized instance. /// - (instancetype)initWithReadOnly:(NSNumber *)readOnly parentSharedFolderId:(NSString *)parentSharedFolderId; @end #pragma mark - Serializer Object /// /// The serialization class for the `FileSharingInfo` struct. /// @interface DBFILESFileSharingInfoSerializer : NSObject /// /// Serializes `DBFILESFileSharingInfo` instances. /// /// @param instance An instance of the `DBFILESFileSharingInfo` API object. /// /// @return A json-compatible dictionary representation of the /// `DBFILESFileSharingInfo` API object. /// + (nullable NSDictionary *)serialize:(DBFILESFileSharingInfo *)instance; /// /// Deserializes `DBFILESFileSharingInfo` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILESFileSharingInfo` API object. /// /// @return An instantiation of the `DBFILESFileSharingInfo` object. /// + (DBFILESFileSharingInfo *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESFileStatus.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESFolderMetadata.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBFILESMetadata.h" #import "DBSerializableProtocol.h" @class DBFILEPROPERTIESPropertyGroup; @class DBFILESFolderMetadata; @class DBFILESFolderSharingInfo; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `FolderMetadata` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILESFolderMetadata : DBFILESMetadata #pragma mark - Instance fields /// A unique identifier for the folder. @property (nonatomic, readonly, copy) NSString *id_; /// Please use sharingInfo instead. @property (nonatomic, readonly, copy, nullable) NSString *sharedFolderId; /// Set if the folder is contained in a shared folder or is a shared folder /// mount point. @property (nonatomic, readonly, nullable) DBFILESFolderSharingInfo *sharingInfo; /// Additional information if the file has custom properties with the property /// template specified. Note that only properties associated with user-owned /// templates, not team-owned templates, can be attached to folders. @property (nonatomic, readonly, nullable) NSArray *propertyGroups; #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 id_ A unique identifier for the folder. /// @param pathLower The lowercased full path in the user's Dropbox. This always /// starts with a slash. This field will be null if the file or folder is not /// mounted. /// @param pathDisplay The cased path to be used for display purposes only. In /// rare instances the casing will not correctly match the user's filesystem, /// but this behavior will match the path provided in the Core API v1, and at /// least the last path component will have the correct casing. Changes to only /// the casing of paths won't be returned by `listFolderContinue`. This field /// will be null if the file or folder is not mounted. /// @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. /// @param propertyGroups Additional information if the file has custom /// properties with the property template specified. Note that only properties /// associated with user-owned templates, not team-owned templates, can be /// attached to folders. /// /// @return An initialized instance. /// - (instancetype)initWithName:(NSString *)name id_:(NSString *)id_ 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; /// /// 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 id_ A unique identifier for the folder. /// /// @return An initialized instance. /// - (instancetype)initWithName:(NSString *)name id_:(NSString *)id_; @end #pragma mark - Serializer Object /// /// The serialization class for the `FolderMetadata` struct. /// @interface DBFILESFolderMetadataSerializer : NSObject /// /// Serializes `DBFILESFolderMetadata` instances. /// /// @param instance An instance of the `DBFILESFolderMetadata` API object. /// /// @return A json-compatible dictionary representation of the /// `DBFILESFolderMetadata` API object. /// + (nullable NSDictionary *)serialize:(DBFILESFolderMetadata *)instance; /// /// Deserializes `DBFILESFolderMetadata` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILESFolderMetadata` API object. /// /// @return An instantiation of the `DBFILESFolderMetadata` object. /// + (DBFILESFolderMetadata *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESFolderSharingInfo.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBFILESSharingInfo.h" #import "DBSerializableProtocol.h" @class DBFILESFolderSharingInfo; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `FolderSharingInfo` struct. /// /// Sharing info for a folder which is contained in a shared folder or is a /// shared folder mount point. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILESFolderSharingInfo : DBFILESSharingInfo #pragma mark - Instance fields /// Set if the folder is contained by a shared folder. @property (nonatomic, readonly, copy, nullable) NSString *parentSharedFolderId; /// If this folder is a shared folder mount point, the ID of the shared folder /// mounted at this location. @property (nonatomic, readonly, copy, nullable) NSString *sharedFolderId; /// Specifies that the folder can only be traversed and the user can only see a /// limited subset of the contents of this folder because they don't have read /// access to this folder. They do, however, have access to some sub folder. @property (nonatomic, readonly) NSNumber *traverseOnly; /// Specifies that the folder cannot be accessed by the user. @property (nonatomic, readonly) NSNumber *noAccess; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param readOnly True if the file or folder is inside a read-only shared /// folder. /// @param parentSharedFolderId Set if the folder is contained by a shared /// folder. /// @param sharedFolderId If this folder is a shared folder mount point, the ID /// of the shared folder mounted at this location. /// @param traverseOnly Specifies that the folder can only be traversed and the /// user can only see a limited subset of the contents of this folder because /// they don't have read access to this folder. They do, however, have access to /// some sub folder. /// @param noAccess Specifies that the folder cannot be accessed by the user. /// /// @return An initialized instance. /// - (instancetype)initWithReadOnly:(NSNumber *)readOnly parentSharedFolderId:(nullable NSString *)parentSharedFolderId sharedFolderId:(nullable NSString *)sharedFolderId traverseOnly:(nullable NSNumber *)traverseOnly noAccess:(nullable NSNumber *)noAccess; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param readOnly True if the file or folder is inside a read-only shared /// folder. /// /// @return An initialized instance. /// - (instancetype)initWithReadOnly:(NSNumber *)readOnly; @end #pragma mark - Serializer Object /// /// The serialization class for the `FolderSharingInfo` struct. /// @interface DBFILESFolderSharingInfoSerializer : NSObject /// /// Serializes `DBFILESFolderSharingInfo` instances. /// /// @param instance An instance of the `DBFILESFolderSharingInfo` API object. /// /// @return A json-compatible dictionary representation of the /// `DBFILESFolderSharingInfo` API object. /// + (nullable NSDictionary *)serialize:(DBFILESFolderSharingInfo *)instance; /// /// Deserializes `DBFILESFolderSharingInfo` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILESFolderSharingInfo` API object. /// /// @return An instantiation of the `DBFILESFolderSharingInfo` object. /// + (DBFILESFolderSharingInfo *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESGetCopyReferenceArg.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILESGetCopyReferenceArg; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `GetCopyReferenceArg` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILESGetCopyReferenceArg : NSObject #pragma mark - Instance fields /// The path to the file or folder you want to get a copy reference to. @property (nonatomic, readonly, copy) NSString *path; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param path The path to the file or folder you want to get a copy reference /// to. /// /// @return An initialized instance. /// - (instancetype)initWithPath:(NSString *)path; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `GetCopyReferenceArg` struct. /// @interface DBFILESGetCopyReferenceArgSerializer : NSObject /// /// Serializes `DBFILESGetCopyReferenceArg` instances. /// /// @param instance An instance of the `DBFILESGetCopyReferenceArg` API object. /// /// @return A json-compatible dictionary representation of the /// `DBFILESGetCopyReferenceArg` API object. /// + (nullable NSDictionary *)serialize:(DBFILESGetCopyReferenceArg *)instance; /// /// Deserializes `DBFILESGetCopyReferenceArg` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILESGetCopyReferenceArg` API object. /// /// @return An instantiation of the `DBFILESGetCopyReferenceArg` object. /// + (DBFILESGetCopyReferenceArg *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESGetCopyReferenceError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILESGetCopyReferenceError; @class DBFILESLookupError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `GetCopyReferenceError` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILESGetCopyReferenceError : NSObject #pragma mark - Instance fields /// The `DBFILESGetCopyReferenceErrorTag` enum type represents the possible tag /// states with which the `DBFILESGetCopyReferenceError` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBFILESGetCopyReferenceErrorTag){ /// (no description). DBFILESGetCopyReferenceErrorPath, /// (no description). DBFILESGetCopyReferenceErrorOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBFILESGetCopyReferenceErrorTag 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 `DBFILESGetCopyReferenceError` union. /// @interface DBFILESGetCopyReferenceErrorSerializer : NSObject /// /// Serializes `DBFILESGetCopyReferenceError` instances. /// /// @param instance An instance of the `DBFILESGetCopyReferenceError` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBFILESGetCopyReferenceError` API object. /// + (nullable NSDictionary *)serialize:(DBFILESGetCopyReferenceError *)instance; /// /// Deserializes `DBFILESGetCopyReferenceError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILESGetCopyReferenceError` API object. /// /// @return An instantiation of the `DBFILESGetCopyReferenceError` object. /// + (DBFILESGetCopyReferenceError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESGetCopyReferenceResult.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILESGetCopyReferenceResult; @class DBFILESMetadata; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `GetCopyReferenceResult` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILESGetCopyReferenceResult : NSObject #pragma mark - Instance fields /// Metadata of the file or folder. @property (nonatomic, readonly) DBFILESMetadata *metadata; /// A copy reference to the file or folder. @property (nonatomic, readonly, copy) NSString *dCopyReference; /// The expiration date of the copy reference. This value is currently set to be /// far enough in the future so that expiration is effectively not an issue. @property (nonatomic, readonly) NSDate *expires; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param metadata Metadata of the file or folder. /// @param dCopyReference A copy reference to the file or folder. /// @param expires The expiration date of the copy reference. This value is /// currently set to be far enough in the future so that expiration is /// effectively not an issue. /// /// @return An initialized instance. /// - (instancetype)initWithMetadata:(DBFILESMetadata *)metadata dCopyReference:(NSString *)dCopyReference expires:(NSDate *)expires; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `GetCopyReferenceResult` struct. /// @interface DBFILESGetCopyReferenceResultSerializer : NSObject /// /// Serializes `DBFILESGetCopyReferenceResult` instances. /// /// @param instance An instance of the `DBFILESGetCopyReferenceResult` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBFILESGetCopyReferenceResult` API object. /// + (nullable NSDictionary *)serialize:(DBFILESGetCopyReferenceResult *)instance; /// /// Deserializes `DBFILESGetCopyReferenceResult` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILESGetCopyReferenceResult` API object. /// /// @return An instantiation of the `DBFILESGetCopyReferenceResult` object. /// + (DBFILESGetCopyReferenceResult *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESGetMetadataArg.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILEPROPERTIESTemplateFilterBase; @class DBFILESGetMetadataArg; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `GetMetadataArg` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILESGetMetadataArg : NSObject #pragma mark - Instance fields /// The path of a file or folder on Dropbox. @property (nonatomic, readonly, copy) NSString *path; /// If true, `mediaInfo` in `DBFILESFileMetadata` is set for photo and video. @property (nonatomic, readonly) NSNumber *includeMediaInfo; /// If true, DeletedMetadata will be returned for deleted file or folder, /// otherwise `notFound` in `DBFILESLookupError` will be returned. @property (nonatomic, readonly) NSNumber *includeDeleted; /// If true, the results will include a flag for each file indicating whether or /// not that file has any explicit members. @property (nonatomic, readonly) NSNumber *includeHasExplicitSharedMembers; /// 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. @property (nonatomic, readonly, nullable) DBFILEPROPERTIESTemplateFilterBase *includePropertyGroups; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param path The path of a file or folder on Dropbox. /// @param includeMediaInfo If true, `mediaInfo` in `DBFILESFileMetadata` is set /// for photo and video. /// @param includeDeleted If true, DeletedMetadata will be returned for deleted /// file or folder, otherwise `notFound` in `DBFILESLookupError` will be /// returned. /// @param includeHasExplicitSharedMembers If true, the results will include a /// flag for each file indicating whether or not that file has any explicit /// members. /// @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. /// /// @return An initialized instance. /// - (instancetype)initWithPath:(NSString *)path includeMediaInfo:(nullable NSNumber *)includeMediaInfo includeDeleted:(nullable NSNumber *)includeDeleted includeHasExplicitSharedMembers:(nullable NSNumber *)includeHasExplicitSharedMembers includePropertyGroups:(nullable DBFILEPROPERTIESTemplateFilterBase *)includePropertyGroups; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param path The path of a file or folder on Dropbox. /// /// @return An initialized instance. /// - (instancetype)initWithPath:(NSString *)path; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `GetMetadataArg` struct. /// @interface DBFILESGetMetadataArgSerializer : NSObject /// /// Serializes `DBFILESGetMetadataArg` instances. /// /// @param instance An instance of the `DBFILESGetMetadataArg` API object. /// /// @return A json-compatible dictionary representation of the /// `DBFILESGetMetadataArg` API object. /// + (nullable NSDictionary *)serialize:(DBFILESGetMetadataArg *)instance; /// /// Deserializes `DBFILESGetMetadataArg` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILESGetMetadataArg` API object. /// /// @return An instantiation of the `DBFILESGetMetadataArg` object. /// + (DBFILESGetMetadataArg *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESGetMetadataError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILESGetMetadataError; @class DBFILESLookupError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `GetMetadataError` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILESGetMetadataError : NSObject #pragma mark - Instance fields /// The `DBFILESGetMetadataErrorTag` enum type represents the possible tag /// states with which the `DBFILESGetMetadataError` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBFILESGetMetadataErrorTag){ /// (no description). DBFILESGetMetadataErrorPath, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBFILESGetMetadataErrorTag 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; - (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 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 `DBFILESGetMetadataError` union. /// @interface DBFILESGetMetadataErrorSerializer : NSObject /// /// Serializes `DBFILESGetMetadataError` instances. /// /// @param instance An instance of the `DBFILESGetMetadataError` API object. /// /// @return A json-compatible dictionary representation of the /// `DBFILESGetMetadataError` API object. /// + (nullable NSDictionary *)serialize:(DBFILESGetMetadataError *)instance; /// /// Deserializes `DBFILESGetMetadataError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILESGetMetadataError` API object. /// /// @return An instantiation of the `DBFILESGetMetadataError` object. /// + (DBFILESGetMetadataError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESGetTagsArg.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESGetTagsResult.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESGetTemporaryLinkArg.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILESGetTemporaryLinkArg; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `GetTemporaryLinkArg` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILESGetTemporaryLinkArg : NSObject #pragma mark - Instance fields /// The path to the file you want a temporary link to. @property (nonatomic, readonly, copy) NSString *path; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param path The path to the file you want a temporary link to. /// /// @return An initialized instance. /// - (instancetype)initWithPath:(NSString *)path; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `GetTemporaryLinkArg` struct. /// @interface DBFILESGetTemporaryLinkArgSerializer : NSObject /// /// Serializes `DBFILESGetTemporaryLinkArg` instances. /// /// @param instance An instance of the `DBFILESGetTemporaryLinkArg` API object. /// /// @return A json-compatible dictionary representation of the /// `DBFILESGetTemporaryLinkArg` API object. /// + (nullable NSDictionary *)serialize:(DBFILESGetTemporaryLinkArg *)instance; /// /// Deserializes `DBFILESGetTemporaryLinkArg` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILESGetTemporaryLinkArg` API object. /// /// @return An instantiation of the `DBFILESGetTemporaryLinkArg` object. /// + (DBFILESGetTemporaryLinkArg *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESGetTemporaryLinkError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILESGetTemporaryLinkError; @class DBFILESLookupError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `GetTemporaryLinkError` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILESGetTemporaryLinkError : NSObject #pragma mark - Instance fields /// The `DBFILESGetTemporaryLinkErrorTag` enum type represents the possible tag /// states with which the `DBFILESGetTemporaryLinkError` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBFILESGetTemporaryLinkErrorTag){ /// (no description). DBFILESGetTemporaryLinkErrorPath, /// 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, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBFILESGetTemporaryLinkErrorTag 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 "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". /// /// @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 /// "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". /// /// @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 `DBFILESGetTemporaryLinkError` union. /// @interface DBFILESGetTemporaryLinkErrorSerializer : NSObject /// /// Serializes `DBFILESGetTemporaryLinkError` instances. /// /// @param instance An instance of the `DBFILESGetTemporaryLinkError` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBFILESGetTemporaryLinkError` API object. /// + (nullable NSDictionary *)serialize:(DBFILESGetTemporaryLinkError *)instance; /// /// Deserializes `DBFILESGetTemporaryLinkError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILESGetTemporaryLinkError` API object. /// /// @return An instantiation of the `DBFILESGetTemporaryLinkError` object. /// + (DBFILESGetTemporaryLinkError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESGetTemporaryLinkResult.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILESFileMetadata; @class DBFILESGetTemporaryLinkResult; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `GetTemporaryLinkResult` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILESGetTemporaryLinkResult : NSObject #pragma mark - Instance fields /// Metadata of the file. @property (nonatomic, readonly) DBFILESFileMetadata *metadata; /// The temporary link which can be used to stream content the file. @property (nonatomic, readonly, copy) NSString *link; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param metadata Metadata of the file. /// @param link The temporary link which can be used to stream content the file. /// /// @return An initialized instance. /// - (instancetype)initWithMetadata:(DBFILESFileMetadata *)metadata link:(NSString *)link; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `GetTemporaryLinkResult` struct. /// @interface DBFILESGetTemporaryLinkResultSerializer : NSObject /// /// Serializes `DBFILESGetTemporaryLinkResult` instances. /// /// @param instance An instance of the `DBFILESGetTemporaryLinkResult` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBFILESGetTemporaryLinkResult` API object. /// + (nullable NSDictionary *)serialize:(DBFILESGetTemporaryLinkResult *)instance; /// /// Deserializes `DBFILESGetTemporaryLinkResult` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILESGetTemporaryLinkResult` API object. /// /// @return An instantiation of the `DBFILESGetTemporaryLinkResult` object. /// + (DBFILESGetTemporaryLinkResult *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESGetTemporaryUploadLinkArg.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESGetTemporaryUploadLinkResult.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESGetThumbnailBatchArg.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILESGetThumbnailBatchArg; @class DBFILESThumbnailArg; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `GetThumbnailBatchArg` struct. /// /// Arguments for `getThumbnailBatch`. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILESGetThumbnailBatchArg : NSObject #pragma mark - Instance fields /// List of files to get thumbnails. @property (nonatomic, readonly) NSArray *entries; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param entries List of files to get thumbnails. /// /// @return An initialized instance. /// - (instancetype)initWithEntries:(NSArray *)entries; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `GetThumbnailBatchArg` struct. /// @interface DBFILESGetThumbnailBatchArgSerializer : NSObject /// /// Serializes `DBFILESGetThumbnailBatchArg` instances. /// /// @param instance An instance of the `DBFILESGetThumbnailBatchArg` API object. /// /// @return A json-compatible dictionary representation of the /// `DBFILESGetThumbnailBatchArg` API object. /// + (nullable NSDictionary *)serialize:(DBFILESGetThumbnailBatchArg *)instance; /// /// Deserializes `DBFILESGetThumbnailBatchArg` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILESGetThumbnailBatchArg` API object. /// /// @return An instantiation of the `DBFILESGetThumbnailBatchArg` object. /// + (DBFILESGetThumbnailBatchArg *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESGetThumbnailBatchError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILESGetThumbnailBatchError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `GetThumbnailBatchError` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILESGetThumbnailBatchError : NSObject #pragma mark - Instance fields /// The `DBFILESGetThumbnailBatchErrorTag` enum type represents the possible tag /// states with which the `DBFILESGetThumbnailBatchError` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBFILESGetThumbnailBatchErrorTag){ /// The operation involves more than 25 files. DBFILESGetThumbnailBatchErrorTooManyFiles, /// (no description). DBFILESGetThumbnailBatchErrorOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBFILESGetThumbnailBatchErrorTag tag; #pragma mark - Constructors /// /// Initializes union class with tag state of "too_many_files". /// /// Description of the "too_many_files" tag state: The operation involves more /// than 25 files. /// /// @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 `DBFILESGetThumbnailBatchError` union. /// @interface DBFILESGetThumbnailBatchErrorSerializer : NSObject /// /// Serializes `DBFILESGetThumbnailBatchError` instances. /// /// @param instance An instance of the `DBFILESGetThumbnailBatchError` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBFILESGetThumbnailBatchError` API object. /// + (nullable NSDictionary *)serialize:(DBFILESGetThumbnailBatchError *)instance; /// /// Deserializes `DBFILESGetThumbnailBatchError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILESGetThumbnailBatchError` API object. /// /// @return An instantiation of the `DBFILESGetThumbnailBatchError` object. /// + (DBFILESGetThumbnailBatchError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESGetThumbnailBatchResult.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILESGetThumbnailBatchResult; @class DBFILESGetThumbnailBatchResultEntry; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `GetThumbnailBatchResult` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILESGetThumbnailBatchResult : NSObject #pragma mark - Instance fields /// List of files and their thumbnails. @property (nonatomic, readonly) NSArray *entries; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param entries List of files and their thumbnails. /// /// @return An initialized instance. /// - (instancetype)initWithEntries:(NSArray *)entries; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `GetThumbnailBatchResult` struct. /// @interface DBFILESGetThumbnailBatchResultSerializer : NSObject /// /// Serializes `DBFILESGetThumbnailBatchResult` instances. /// /// @param instance An instance of the `DBFILESGetThumbnailBatchResult` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBFILESGetThumbnailBatchResult` API object. /// + (nullable NSDictionary *)serialize:(DBFILESGetThumbnailBatchResult *)instance; /// /// Deserializes `DBFILESGetThumbnailBatchResult` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILESGetThumbnailBatchResult` API object. /// /// @return An instantiation of the `DBFILESGetThumbnailBatchResult` object. /// + (DBFILESGetThumbnailBatchResult *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESGetThumbnailBatchResultData.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILESFileMetadata; @class DBFILESGetThumbnailBatchResultData; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `GetThumbnailBatchResultData` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILESGetThumbnailBatchResultData : NSObject #pragma mark - Instance fields /// (no description). @property (nonatomic, readonly) DBFILESFileMetadata *metadata; /// A string containing the base64-encoded thumbnail data for this file. @property (nonatomic, readonly, copy) NSString *thumbnail; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param metadata (no description). /// @param thumbnail A string containing the base64-encoded thumbnail data for /// this file. /// /// @return An initialized instance. /// - (instancetype)initWithMetadata:(DBFILESFileMetadata *)metadata thumbnail:(NSString *)thumbnail; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `GetThumbnailBatchResultData` struct. /// @interface DBFILESGetThumbnailBatchResultDataSerializer : NSObject /// /// Serializes `DBFILESGetThumbnailBatchResultData` instances. /// /// @param instance An instance of the `DBFILESGetThumbnailBatchResultData` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBFILESGetThumbnailBatchResultData` API object. /// + (nullable NSDictionary *)serialize:(DBFILESGetThumbnailBatchResultData *)instance; /// /// Deserializes `DBFILESGetThumbnailBatchResultData` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILESGetThumbnailBatchResultData` API object. /// /// @return An instantiation of the `DBFILESGetThumbnailBatchResultData` object. /// + (DBFILESGetThumbnailBatchResultData *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESGetThumbnailBatchResultEntry.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILESGetThumbnailBatchResultData; @class DBFILESGetThumbnailBatchResultEntry; @class DBFILESThumbnailError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `GetThumbnailBatchResultEntry` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILESGetThumbnailBatchResultEntry : NSObject #pragma mark - Instance fields /// The `DBFILESGetThumbnailBatchResultEntryTag` enum type represents the /// possible tag states with which the `DBFILESGetThumbnailBatchResultEntry` /// union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBFILESGetThumbnailBatchResultEntryTag){ /// (no description). DBFILESGetThumbnailBatchResultEntrySuccess, /// The result for this file if it was an error. DBFILESGetThumbnailBatchResultEntryFailure, /// (no description). DBFILESGetThumbnailBatchResultEntryOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBFILESGetThumbnailBatchResultEntryTag tag; /// (no description). @note Ensure the `isSuccess` method returns true before /// accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) DBFILESGetThumbnailBatchResultData *success; /// The result for this file if it was an error. @note Ensure the `isFailure` /// method returns true before accessing, otherwise a runtime exception will be /// raised. @property (nonatomic, readonly) DBFILESThumbnailError *failure; #pragma mark - Constructors /// /// Initializes union class with tag state of "success". /// /// @param success (no description). /// /// @return An initialized instance. /// - (instancetype)initWithSuccess:(DBFILESGetThumbnailBatchResultData *)success; /// /// Initializes union class with tag state of "failure". /// /// Description of the "failure" tag state: The result for this file if it was /// an error. /// /// @param failure The result for this file if it was an error. /// /// @return An initialized instance. /// - (instancetype)initWithFailure:(DBFILESThumbnailError *)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 `DBFILESGetThumbnailBatchResultEntry` union. /// @interface DBFILESGetThumbnailBatchResultEntrySerializer : NSObject /// /// Serializes `DBFILESGetThumbnailBatchResultEntry` instances. /// /// @param instance An instance of the `DBFILESGetThumbnailBatchResultEntry` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBFILESGetThumbnailBatchResultEntry` API object. /// + (nullable NSDictionary *)serialize:(DBFILESGetThumbnailBatchResultEntry *)instance; /// /// Deserializes `DBFILESGetThumbnailBatchResultEntry` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILESGetThumbnailBatchResultEntry` API object. /// /// @return An instantiation of the `DBFILESGetThumbnailBatchResultEntry` /// object. /// + (DBFILESGetThumbnailBatchResultEntry *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESGpsCoordinates.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILESGpsCoordinates; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `GpsCoordinates` struct. /// /// GPS coordinates for a photo or video. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILESGpsCoordinates : NSObject #pragma mark - Instance fields /// Latitude of the GPS coordinates. @property (nonatomic, readonly) NSNumber *latitude; /// Longitude of the GPS coordinates. @property (nonatomic, readonly) NSNumber *longitude; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param latitude Latitude of the GPS coordinates. /// @param longitude Longitude of the GPS coordinates. /// /// @return An initialized instance. /// - (instancetype)initWithLatitude:(NSNumber *)latitude longitude:(NSNumber *)longitude; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `GpsCoordinates` struct. /// @interface DBFILESGpsCoordinatesSerializer : NSObject /// /// Serializes `DBFILESGpsCoordinates` instances. /// /// @param instance An instance of the `DBFILESGpsCoordinates` API object. /// /// @return A json-compatible dictionary representation of the /// `DBFILESGpsCoordinates` API object. /// + (nullable NSDictionary *)serialize:(DBFILESGpsCoordinates *)instance; /// /// Deserializes `DBFILESGpsCoordinates` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILESGpsCoordinates` API object. /// /// @return An instantiation of the `DBFILESGpsCoordinates` object. /// + (DBFILESGpsCoordinates *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESHighlightSpan.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESImportFormat.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESListFolderArg.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILEPROPERTIESTemplateFilterBase; @class DBFILESListFolderArg; @class DBFILESSharedLink; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `ListFolderArg` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILESListFolderArg : NSObject #pragma mark - Instance fields /// A unique identifier for the file. @property (nonatomic, readonly, copy) NSString *path; /// If true, the list folder operation will be applied recursively to all /// subfolders and the response will contain contents of all subfolders. @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 /// exist but were deleted. @property (nonatomic, readonly) NSNumber *includeDeleted; /// If true, the results will include a flag for each file indicating whether or /// not that file has any explicit members. @property (nonatomic, readonly) NSNumber *includeHasExplicitSharedMembers; /// If true, the results will include entries under mounted folders which /// includes app folder, shared folder and team folder. @property (nonatomic, readonly) NSNumber *includeMountedFolders; /// 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. @property (nonatomic, readonly, nullable) NSNumber *limit; /// 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. @property (nonatomic, readonly, nullable) DBFILESSharedLink *sharedLink; /// 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. @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 /// /// Full constructor for the struct (exposes all instance variables). /// /// @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 An initialized instance. /// - (instancetype)initWithPath:(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; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param path A unique identifier for the file. /// /// @return An initialized instance. /// - (instancetype)initWithPath:(NSString *)path; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `ListFolderArg` struct. /// @interface DBFILESListFolderArgSerializer : NSObject /// /// Serializes `DBFILESListFolderArg` instances. /// /// @param instance An instance of the `DBFILESListFolderArg` API object. /// /// @return A json-compatible dictionary representation of the /// `DBFILESListFolderArg` API object. /// + (nullable NSDictionary *)serialize:(DBFILESListFolderArg *)instance; /// /// Deserializes `DBFILESListFolderArg` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILESListFolderArg` API object. /// /// @return An instantiation of the `DBFILESListFolderArg` object. /// + (DBFILESListFolderArg *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESListFolderContinueArg.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILESListFolderContinueArg; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `ListFolderContinueArg` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILESListFolderContinueArg : NSObject #pragma mark - Instance fields /// The cursor returned by your last call to `listFolder` or /// `listFolderContinue`. @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 `listFolder` or /// `listFolderContinue`. /// /// @return An initialized instance. /// - (instancetype)initWithCursor:(NSString *)cursor; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `ListFolderContinueArg` struct. /// @interface DBFILESListFolderContinueArgSerializer : NSObject /// /// Serializes `DBFILESListFolderContinueArg` instances. /// /// @param instance An instance of the `DBFILESListFolderContinueArg` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBFILESListFolderContinueArg` API object. /// + (nullable NSDictionary *)serialize:(DBFILESListFolderContinueArg *)instance; /// /// Deserializes `DBFILESListFolderContinueArg` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILESListFolderContinueArg` API object. /// /// @return An instantiation of the `DBFILESListFolderContinueArg` object. /// + (DBFILESListFolderContinueArg *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESListFolderContinueError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILESListFolderContinueError; @class DBFILESLookupError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `ListFolderContinueError` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILESListFolderContinueError : NSObject #pragma mark - Instance fields /// The `DBFILESListFolderContinueErrorTag` enum type represents the possible /// tag states with which the `DBFILESListFolderContinueError` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBFILESListFolderContinueErrorTag){ /// (no description). DBFILESListFolderContinueErrorPath, /// Indicates that the cursor has been invalidated. Call `listFolder` to /// obtain a new cursor. DBFILESListFolderContinueErrorReset, /// (no description). DBFILESListFolderContinueErrorOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBFILESListFolderContinueErrorTag 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 "reset". /// /// Description of the "reset" tag state: Indicates that the cursor has been /// invalidated. Call `listFolder` 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 "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 "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 `DBFILESListFolderContinueError` union. /// @interface DBFILESListFolderContinueErrorSerializer : NSObject /// /// Serializes `DBFILESListFolderContinueError` instances. /// /// @param instance An instance of the `DBFILESListFolderContinueError` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBFILESListFolderContinueError` API object. /// + (nullable NSDictionary *)serialize:(DBFILESListFolderContinueError *)instance; /// /// Deserializes `DBFILESListFolderContinueError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILESListFolderContinueError` API object. /// /// @return An instantiation of the `DBFILESListFolderContinueError` object. /// + (DBFILESListFolderContinueError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESListFolderError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILEPROPERTIESTemplateError; @class DBFILESListFolderError; @class DBFILESLookupError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `ListFolderError` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILESListFolderError : NSObject #pragma mark - Instance fields /// The `DBFILESListFolderErrorTag` enum type represents the possible tag states /// with which the `DBFILESListFolderError` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBFILESListFolderErrorTag){ /// (no description). DBFILESListFolderErrorPath, /// (no description). DBFILESListFolderErrorTemplateError, /// (no description). DBFILESListFolderErrorOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBFILESListFolderErrorTag tag; /// (no description). @note Ensure the `isPath` method returns true before /// 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 /// /// 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 "template_error". /// /// @param templateError (no description). /// /// @return An initialized instance. /// - (instancetype)initWithTemplateError:(DBFILEPROPERTIESTemplateError *)templateError; /// /// 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 "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". /// /// @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 `DBFILESListFolderError` union. /// @interface DBFILESListFolderErrorSerializer : NSObject /// /// Serializes `DBFILESListFolderError` instances. /// /// @param instance An instance of the `DBFILESListFolderError` API object. /// /// @return A json-compatible dictionary representation of the /// `DBFILESListFolderError` API object. /// + (nullable NSDictionary *)serialize:(DBFILESListFolderError *)instance; /// /// Deserializes `DBFILESListFolderError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILESListFolderError` API object. /// /// @return An instantiation of the `DBFILESListFolderError` object. /// + (DBFILESListFolderError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESListFolderGetLatestCursorResult.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILESListFolderGetLatestCursorResult; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `ListFolderGetLatestCursorResult` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILESListFolderGetLatestCursorResult : NSObject #pragma mark - Instance fields /// Pass the cursor into `listFolderContinue` to see what's changed in the /// folder since your previous query. @property (nonatomic, readonly, copy) NSString *cursor; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param cursor Pass the cursor into `listFolderContinue` to see what's /// changed in the folder since your previous query. /// /// @return An initialized instance. /// - (instancetype)initWithCursor:(NSString *)cursor; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `ListFolderGetLatestCursorResult` struct. /// @interface DBFILESListFolderGetLatestCursorResultSerializer : NSObject /// /// Serializes `DBFILESListFolderGetLatestCursorResult` instances. /// /// @param instance An instance of the `DBFILESListFolderGetLatestCursorResult` /// API object. /// /// @return A json-compatible dictionary representation of the /// `DBFILESListFolderGetLatestCursorResult` API object. /// + (nullable NSDictionary *)serialize:(DBFILESListFolderGetLatestCursorResult *)instance; /// /// Deserializes `DBFILESListFolderGetLatestCursorResult` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILESListFolderGetLatestCursorResult` API object. /// /// @return An instantiation of the `DBFILESListFolderGetLatestCursorResult` /// object. /// + (DBFILESListFolderGetLatestCursorResult *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESListFolderLongpollArg.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILESListFolderLongpollArg; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `ListFolderLongpollArg` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILESListFolderLongpollArg : NSObject #pragma mark - Instance fields /// A cursor as returned by `listFolder` or `listFolderContinue`. Cursors /// retrieved by setting `includeMediaInfo` in `DBFILESListFolderArg` to true /// are not supported. @property (nonatomic, readonly, copy) NSString *cursor; /// A timeout in seconds. The request will block for at most this length of /// time, plus up to 90 seconds of random jitter added to avoid the thundering /// herd problem. Care should be taken when using this parameter, as some /// network infrastructure does not support long timeouts. @property (nonatomic, readonly) NSNumber *timeout; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param cursor A cursor as returned by `listFolder` or `listFolderContinue`. /// Cursors retrieved by setting `includeMediaInfo` in `DBFILESListFolderArg` to /// true are not supported. /// @param timeout A timeout in seconds. The request will block for at most this /// length of time, plus up to 90 seconds of random jitter added to avoid the /// thundering herd problem. Care should be taken when using this parameter, as /// some network infrastructure does not support long timeouts. /// /// @return An initialized instance. /// - (instancetype)initWithCursor:(NSString *)cursor timeout:(nullable NSNumber *)timeout; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param cursor A cursor as returned by `listFolder` or `listFolderContinue`. /// Cursors retrieved by setting `includeMediaInfo` in `DBFILESListFolderArg` to /// true are not supported. /// /// @return An initialized instance. /// - (instancetype)initWithCursor:(NSString *)cursor; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `ListFolderLongpollArg` struct. /// @interface DBFILESListFolderLongpollArgSerializer : NSObject /// /// Serializes `DBFILESListFolderLongpollArg` instances. /// /// @param instance An instance of the `DBFILESListFolderLongpollArg` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBFILESListFolderLongpollArg` API object. /// + (nullable NSDictionary *)serialize:(DBFILESListFolderLongpollArg *)instance; /// /// Deserializes `DBFILESListFolderLongpollArg` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILESListFolderLongpollArg` API object. /// /// @return An instantiation of the `DBFILESListFolderLongpollArg` object. /// + (DBFILESListFolderLongpollArg *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESListFolderLongpollError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILESListFolderLongpollError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `ListFolderLongpollError` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILESListFolderLongpollError : NSObject #pragma mark - Instance fields /// The `DBFILESListFolderLongpollErrorTag` enum type represents the possible /// tag states with which the `DBFILESListFolderLongpollError` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBFILESListFolderLongpollErrorTag){ /// Indicates that the cursor has been invalidated. Call `listFolder` to /// obtain a new cursor. DBFILESListFolderLongpollErrorReset, /// (no description). DBFILESListFolderLongpollErrorOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBFILESListFolderLongpollErrorTag tag; #pragma mark - Constructors /// /// Initializes union class with tag state of "reset". /// /// Description of the "reset" tag state: Indicates that the cursor has been /// invalidated. Call `listFolder` 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 "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 `DBFILESListFolderLongpollError` union. /// @interface DBFILESListFolderLongpollErrorSerializer : NSObject /// /// Serializes `DBFILESListFolderLongpollError` instances. /// /// @param instance An instance of the `DBFILESListFolderLongpollError` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBFILESListFolderLongpollError` API object. /// + (nullable NSDictionary *)serialize:(DBFILESListFolderLongpollError *)instance; /// /// Deserializes `DBFILESListFolderLongpollError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILESListFolderLongpollError` API object. /// /// @return An instantiation of the `DBFILESListFolderLongpollError` object. /// + (DBFILESListFolderLongpollError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESListFolderLongpollResult.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILESListFolderLongpollResult; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `ListFolderLongpollResult` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILESListFolderLongpollResult : NSObject #pragma mark - Instance fields /// Indicates whether new changes are available. If true, call /// `listFolderContinue` to retrieve the changes. @property (nonatomic, readonly) NSNumber *changes; /// If present, backoff for at least this many seconds before calling /// `listFolderLongpoll` again. @property (nonatomic, readonly, nullable) NSNumber *backoff; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param changes Indicates whether new changes are available. If true, call /// `listFolderContinue` to retrieve the changes. /// @param backoff If present, backoff for at least this many seconds before /// calling `listFolderLongpoll` again. /// /// @return An initialized instance. /// - (instancetype)initWithChanges:(NSNumber *)changes backoff:(nullable NSNumber *)backoff; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param changes Indicates whether new changes are available. If true, call /// `listFolderContinue` to retrieve the changes. /// /// @return An initialized instance. /// - (instancetype)initWithChanges:(NSNumber *)changes; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `ListFolderLongpollResult` struct. /// @interface DBFILESListFolderLongpollResultSerializer : NSObject /// /// Serializes `DBFILESListFolderLongpollResult` instances. /// /// @param instance An instance of the `DBFILESListFolderLongpollResult` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBFILESListFolderLongpollResult` API object. /// + (nullable NSDictionary *)serialize:(DBFILESListFolderLongpollResult *)instance; /// /// Deserializes `DBFILESListFolderLongpollResult` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILESListFolderLongpollResult` API object. /// /// @return An instantiation of the `DBFILESListFolderLongpollResult` object. /// + (DBFILESListFolderLongpollResult *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESListFolderResult.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILESListFolderResult; @class DBFILESMetadata; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `ListFolderResult` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILESListFolderResult : NSObject #pragma mark - Instance fields /// The files and (direct) subfolders in the folder. @property (nonatomic, readonly) NSArray *entries; /// Pass the cursor into `listFolderContinue` to see what's changed in the /// folder since your previous query. @property (nonatomic, readonly, copy) NSString *cursor; /// If true, then there are more entries available. Pass the cursor to /// `listFolderContinue` to retrieve the rest. @property (nonatomic, readonly) NSNumber *hasMore; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param entries The files and (direct) subfolders in the folder. /// @param cursor Pass the cursor into `listFolderContinue` to see what's /// changed in the folder since your previous query. /// @param hasMore If true, then there are more entries available. Pass the /// cursor to `listFolderContinue` to retrieve the rest. /// /// @return An initialized instance. /// - (instancetype)initWithEntries:(NSArray *)entries cursor:(NSString *)cursor hasMore:(NSNumber *)hasMore; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `ListFolderResult` struct. /// @interface DBFILESListFolderResultSerializer : NSObject /// /// Serializes `DBFILESListFolderResult` instances. /// /// @param instance An instance of the `DBFILESListFolderResult` API object. /// /// @return A json-compatible dictionary representation of the /// `DBFILESListFolderResult` API object. /// + (nullable NSDictionary *)serialize:(DBFILESListFolderResult *)instance; /// /// Deserializes `DBFILESListFolderResult` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILESListFolderResult` API object. /// /// @return An instantiation of the `DBFILESListFolderResult` object. /// + (DBFILESListFolderResult *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESListRevisionsArg.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILESListRevisionsArg; @class DBFILESListRevisionsMode; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `ListRevisionsArg` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILESListRevisionsArg : NSObject #pragma mark - Instance fields /// The path to the file you want to see the revisions of. @property (nonatomic, readonly, copy) NSString *path; /// Determines the behavior of the API in listing the revisions for a given file /// path or id. @property (nonatomic, readonly) DBFILESListRevisionsMode *mode; /// The maximum number of revision entries returned. @property (nonatomic, readonly) NSNumber *limit; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param path The path to the file you want to see the revisions of. /// @param mode Determines the behavior of the API in listing the revisions for /// a given file path or id. /// @param limit The maximum number of revision entries returned. /// /// @return An initialized instance. /// - (instancetype)initWithPath:(NSString *)path mode:(nullable DBFILESListRevisionsMode *)mode limit:(nullable NSNumber *)limit; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param path The path to the file you want to see the revisions of. /// /// @return An initialized instance. /// - (instancetype)initWithPath:(NSString *)path; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `ListRevisionsArg` struct. /// @interface DBFILESListRevisionsArgSerializer : NSObject /// /// Serializes `DBFILESListRevisionsArg` instances. /// /// @param instance An instance of the `DBFILESListRevisionsArg` API object. /// /// @return A json-compatible dictionary representation of the /// `DBFILESListRevisionsArg` API object. /// + (nullable NSDictionary *)serialize:(DBFILESListRevisionsArg *)instance; /// /// Deserializes `DBFILESListRevisionsArg` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILESListRevisionsArg` API object. /// /// @return An instantiation of the `DBFILESListRevisionsArg` object. /// + (DBFILESListRevisionsArg *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESListRevisionsError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILESListRevisionsError; @class DBFILESLookupError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `ListRevisionsError` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILESListRevisionsError : NSObject #pragma mark - Instance fields /// The `DBFILESListRevisionsErrorTag` enum type represents the possible tag /// states with which the `DBFILESListRevisionsError` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBFILESListRevisionsErrorTag){ /// (no description). DBFILESListRevisionsErrorPath, /// (no description). DBFILESListRevisionsErrorOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBFILESListRevisionsErrorTag 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 `DBFILESListRevisionsError` union. /// @interface DBFILESListRevisionsErrorSerializer : NSObject /// /// Serializes `DBFILESListRevisionsError` instances. /// /// @param instance An instance of the `DBFILESListRevisionsError` API object. /// /// @return A json-compatible dictionary representation of the /// `DBFILESListRevisionsError` API object. /// + (nullable NSDictionary *)serialize:(DBFILESListRevisionsError *)instance; /// /// Deserializes `DBFILESListRevisionsError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILESListRevisionsError` API object. /// /// @return An instantiation of the `DBFILESListRevisionsError` object. /// + (DBFILESListRevisionsError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESListRevisionsMode.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILESListRevisionsMode; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `ListRevisionsMode` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILESListRevisionsMode : NSObject #pragma mark - Instance fields /// The `DBFILESListRevisionsModeTag` enum type represents the possible tag /// states with which the `DBFILESListRevisionsMode` union can exist. 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_, /// (no description). DBFILESListRevisionsModeOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBFILESListRevisionsModeTag tag; #pragma mark - Constructors /// /// Initializes union class with tag state of "path". /// /// Description of the "path" tag state: Returns revisions with the same file /// path as identified by the latest file entry at the given file path or id. /// /// @return An initialized instance. /// - (instancetype)initWithPath; /// /// Initializes union class with tag state of "id". /// /// Description of the "id" tag state: Returns revisions with the same file id /// as identified by the latest file entry at the given file path or id. /// /// @return An initialized instance. /// - (instancetype)initWithId_; /// /// 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". /// /// @return Whether the union's current tag state has value "path". /// - (BOOL)isPath; /// /// Retrieves whether the union's current tag state has value "id". /// /// @return Whether the union's current tag state has value "id". /// - (BOOL)isId_; /// /// 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 `DBFILESListRevisionsMode` union. /// @interface DBFILESListRevisionsModeSerializer : NSObject /// /// Serializes `DBFILESListRevisionsMode` instances. /// /// @param instance An instance of the `DBFILESListRevisionsMode` API object. /// /// @return A json-compatible dictionary representation of the /// `DBFILESListRevisionsMode` API object. /// + (nullable NSDictionary *)serialize:(DBFILESListRevisionsMode *)instance; /// /// Deserializes `DBFILESListRevisionsMode` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILESListRevisionsMode` API object. /// /// @return An instantiation of the `DBFILESListRevisionsMode` object. /// + (DBFILESListRevisionsMode *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESListRevisionsResult.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILESFileMetadata; @class DBFILESListRevisionsResult; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `ListRevisionsResult` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILESListRevisionsResult : NSObject #pragma mark - Instance fields /// If the file identified by the latest revision in the response is either /// deleted or moved. @property (nonatomic, readonly) NSNumber *isDeleted; /// The time of deletion if the file was deleted. @property (nonatomic, readonly, nullable) NSDate *serverDeleted; /// The revisions for the file. Only revisions that are not deleted will show up /// here. @property (nonatomic, readonly) NSArray *entries; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param isDeleted If the file identified by the latest revision in the /// response is either deleted or moved. /// @param entries The revisions for the file. Only revisions that are not /// deleted will show up here. /// @param serverDeleted The time of deletion if the file was deleted. /// /// @return An initialized instance. /// - (instancetype)initWithIsDeleted:(NSNumber *)isDeleted entries:(NSArray *)entries serverDeleted:(nullable NSDate *)serverDeleted; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param isDeleted If the file identified by the latest revision in the /// response is either deleted or moved. /// @param entries The revisions for the file. Only revisions that are not /// deleted will show up here. /// /// @return An initialized instance. /// - (instancetype)initWithIsDeleted:(NSNumber *)isDeleted entries:(NSArray *)entries; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `ListRevisionsResult` struct. /// @interface DBFILESListRevisionsResultSerializer : NSObject /// /// Serializes `DBFILESListRevisionsResult` instances. /// /// @param instance An instance of the `DBFILESListRevisionsResult` API object. /// /// @return A json-compatible dictionary representation of the /// `DBFILESListRevisionsResult` API object. /// + (nullable NSDictionary *)serialize:(DBFILESListRevisionsResult *)instance; /// /// Deserializes `DBFILESListRevisionsResult` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILESListRevisionsResult` API object. /// /// @return An instantiation of the `DBFILESListRevisionsResult` object. /// + (DBFILESListRevisionsResult *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESLockConflictError.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESLockFileArg.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESLockFileBatchArg.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESLockFileBatchResult.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESLockFileError.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESLockFileResult.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESLockFileResultEntry.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESLookupError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILESLookupError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `LookupError` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILESLookupError : NSObject #pragma mark - Instance fields /// The `DBFILESLookupErrorTag` enum type represents the possible tag states /// with which the `DBFILESLookupError` union can exist. 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, /// 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, /// The file cannot be transferred because the content is restricted. For /// example, we might restrict a file due to legal requirements. DBFILESLookupErrorRestrictedContent, /// 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; /// 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; #pragma mark - Constructors /// /// Initializes union class with tag state of "malformed_path". /// /// 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. /// - (instancetype)initWithMalformedPath:(nullable NSString *)malformedPath; /// /// Initializes union class with tag state of "not_found". /// /// Description of the "not_found" tag state: There is nothing at the given /// path. /// /// @return An initialized instance. /// - (instancetype)initWithNotFound; /// /// Initializes union class with tag state of "not_file". /// /// Description of the "not_file" tag state: We were expecting a file, but the /// given path refers to something that isn't a file. /// /// @return An initialized instance. /// - (instancetype)initWithNotFile; /// /// Initializes union class with tag state of "not_folder". /// /// Description of the "not_folder" tag state: We were expecting a folder, but /// the given path refers to something that isn't a folder. /// /// @return An initialized instance. /// - (instancetype)initWithNotFolder; /// /// 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, 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". /// /// @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_path". /// /// @note Call this method and ensure it returns true before accessing the /// `malformedPath` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value "malformed_path". /// - (BOOL)isMalformedPath; /// /// 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_file". /// /// @return Whether the union's current tag state has value "not_file". /// - (BOOL)isNotFile; /// /// Retrieves whether the union's current tag state has value "not_folder". /// /// @return Whether the union's current tag state has value "not_folder". /// - (BOOL)isNotFolder; /// /// Retrieves whether the union's current tag state has value /// "restricted_content". /// /// @return Whether the union's current tag state has value /// "restricted_content". /// - (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". /// /// @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 `DBFILESLookupError` union. /// @interface DBFILESLookupErrorSerializer : NSObject /// /// Serializes `DBFILESLookupError` instances. /// /// @param instance An instance of the `DBFILESLookupError` API object. /// /// @return A json-compatible dictionary representation of the /// `DBFILESLookupError` API object. /// + (nullable NSDictionary *)serialize:(DBFILESLookupError *)instance; /// /// Deserializes `DBFILESLookupError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILESLookupError` API object. /// /// @return An instantiation of the `DBFILESLookupError` object. /// + (DBFILESLookupError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESMediaInfo.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILESMediaInfo; @class DBFILESMediaMetadata; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `MediaInfo` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILESMediaInfo : NSObject #pragma mark - Instance fields /// The `DBFILESMediaInfoTag` enum type represents the possible tag states with /// which the `DBFILESMediaInfo` union can exist. 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, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBFILESMediaInfoTag tag; /// The metadata for the photo/video. @note Ensure the `isMetadata` method /// returns true before accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) DBFILESMediaMetadata *metadata; #pragma mark - Constructors /// /// Initializes union class with tag state of "pending". /// /// Description of the "pending" tag state: Indicate the photo/video is still /// under processing and metadata is not available yet. /// /// @return An initialized instance. /// - (instancetype)initWithPending; /// /// Initializes union class with tag state of "metadata". /// /// Description of the "metadata" tag state: The metadata for the photo/video. /// /// @param metadata The metadata for the photo/video. /// /// @return An initialized instance. /// - (instancetype)initWithMetadata:(DBFILESMediaMetadata *)metadata; - (instancetype)init NS_UNAVAILABLE; #pragma mark - Tag state methods /// /// Retrieves whether the union's current tag state has value "pending". /// /// @return Whether the union's current tag state has value "pending". /// - (BOOL)isPending; /// /// 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 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 `DBFILESMediaInfo` union. /// @interface DBFILESMediaInfoSerializer : NSObject /// /// Serializes `DBFILESMediaInfo` instances. /// /// @param instance An instance of the `DBFILESMediaInfo` API object. /// /// @return A json-compatible dictionary representation of the /// `DBFILESMediaInfo` API object. /// + (nullable NSDictionary *)serialize:(DBFILESMediaInfo *)instance; /// /// Deserializes `DBFILESMediaInfo` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILESMediaInfo` API object. /// /// @return An instantiation of the `DBFILESMediaInfo` object. /// + (DBFILESMediaInfo *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESMediaMetadata.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILESDimensions; @class DBFILESGpsCoordinates; @class DBFILESMediaMetadata; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `MediaMetadata` struct. /// /// Metadata for a photo or video. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILESMediaMetadata : NSObject #pragma mark - Instance fields /// Dimension of the photo/video. @property (nonatomic, readonly, nullable) DBFILESDimensions *dimensions; /// The GPS coordinate of the photo/video. @property (nonatomic, readonly, nullable) DBFILESGpsCoordinates *location; /// The timestamp when the photo/video is taken. @property (nonatomic, readonly, nullable) NSDate *timeTaken; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param dimensions Dimension of the photo/video. /// @param location The GPS coordinate of the photo/video. /// @param timeTaken The timestamp when the photo/video is taken. /// /// @return An initialized instance. /// - (instancetype)initWithDimensions:(nullable DBFILESDimensions *)dimensions location:(nullable DBFILESGpsCoordinates *)location timeTaken:(nullable NSDate *)timeTaken; /// /// 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 `MediaMetadata` struct. /// @interface DBFILESMediaMetadataSerializer : NSObject /// /// Serializes `DBFILESMediaMetadata` instances. /// /// @param instance An instance of the `DBFILESMediaMetadata` API object. /// /// @return A json-compatible dictionary representation of the /// `DBFILESMediaMetadata` API object. /// + (nullable NSDictionary *)serialize:(DBFILESMediaMetadata *)instance; /// /// Deserializes `DBFILESMediaMetadata` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILESMediaMetadata` API object. /// /// @return An instantiation of the `DBFILESMediaMetadata` object. /// + (DBFILESMediaMetadata *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESMetadata.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILESMetadata; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `Metadata` struct. /// /// Metadata for a file or folder. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILESMetadata : 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 lowercased full path in the user's Dropbox. This always starts with a /// slash. This field will be null if the file or folder is not mounted. @property (nonatomic, readonly, copy, nullable) NSString *pathLower; /// The cased path to be used for display purposes only. In rare instances the /// casing will not correctly match the user's filesystem, but this behavior /// will match the path provided in the Core API v1, and at least the last path /// component will have the correct casing. Changes to only the casing of paths /// won't be returned by `listFolderContinue`. This field will be null if the /// file or folder is not mounted. @property (nonatomic, readonly, copy, nullable) NSString *pathDisplay; /// Please use `parentSharedFolderId` in `DBFILESFileSharingInfo` or /// `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 /// /// 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 pathLower The lowercased full path in the user's Dropbox. This always /// starts with a slash. This field will be null if the file or folder is not /// mounted. /// @param pathDisplay The cased path to be used for display purposes only. In /// rare instances the casing will not correctly match the user's filesystem, /// but this behavior will match the path provided in the Core API v1, and at /// least the last path component will have the correct casing. Changes to only /// the casing of paths won't be returned by `listFolderContinue`. This field /// will be null if the file or folder is not mounted. /// @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 previewUrl:(nullable NSString *)previewUrl; /// /// 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. /// /// @return An initialized instance. /// - (instancetype)initWithName:(NSString *)name; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `Metadata` struct. /// @interface DBFILESMetadataSerializer : NSObject /// /// Serializes `DBFILESMetadata` instances. /// /// @param instance An instance of the `DBFILESMetadata` API object. /// /// @return A json-compatible dictionary representation of the `DBFILESMetadata` /// API object. /// + (nullable NSDictionary *)serialize:(DBFILESMetadata *)instance; /// /// Deserializes `DBFILESMetadata` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILESMetadata` API object. /// /// @return An instantiation of the `DBFILESMetadata` object. /// + (DBFILESMetadata *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESMetadataV2.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESMinimalFileLinkMetadata.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESMoveBatchArg.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESMoveIntoFamilyError.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESMoveIntoVaultError.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESPaperContentError.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESPaperCreateArg.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESPaperCreateError.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESPaperCreateResult.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESPaperDocUpdatePolicy.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESPaperUpdateArg.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESPaperUpdateError.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESPaperUpdateResult.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESPathOrLink.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESPathToTags.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESPhotoMetadata.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBFILESMediaMetadata.h" #import "DBSerializableProtocol.h" @class DBFILESDimensions; @class DBFILESGpsCoordinates; @class DBFILESPhotoMetadata; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `PhotoMetadata` struct. /// /// Metadata for a photo. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILESPhotoMetadata : DBFILESMediaMetadata #pragma mark - Instance fields #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param dimensions Dimension of the photo/video. /// @param location The GPS coordinate of the photo/video. /// @param timeTaken The timestamp when the photo/video is taken. /// /// @return An initialized instance. /// - (instancetype)initWithDimensions:(nullable DBFILESDimensions *)dimensions location:(nullable DBFILESGpsCoordinates *)location timeTaken:(nullable NSDate *)timeTaken; /// /// 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 `PhotoMetadata` struct. /// @interface DBFILESPhotoMetadataSerializer : NSObject /// /// Serializes `DBFILESPhotoMetadata` instances. /// /// @param instance An instance of the `DBFILESPhotoMetadata` API object. /// /// @return A json-compatible dictionary representation of the /// `DBFILESPhotoMetadata` API object. /// + (nullable NSDictionary *)serialize:(DBFILESPhotoMetadata *)instance; /// /// Deserializes `DBFILESPhotoMetadata` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILESPhotoMetadata` API object. /// /// @return An instantiation of the `DBFILESPhotoMetadata` object. /// + (DBFILESPhotoMetadata *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESPreviewArg.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILESPreviewArg; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `PreviewArg` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILESPreviewArg : NSObject #pragma mark - Instance fields /// The path of the file to preview. @property (nonatomic, readonly, copy) NSString *path; /// Please specify revision in path instead. @property (nonatomic, readonly, copy, nullable) NSString *rev; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param path The path of the file to preview. /// @param rev Please specify revision in path instead. /// /// @return An initialized instance. /// - (instancetype)initWithPath:(NSString *)path rev:(nullable NSString *)rev; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param path The path of the file to preview. /// /// @return An initialized instance. /// - (instancetype)initWithPath:(NSString *)path; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `PreviewArg` struct. /// @interface DBFILESPreviewArgSerializer : NSObject /// /// Serializes `DBFILESPreviewArg` instances. /// /// @param instance An instance of the `DBFILESPreviewArg` API object. /// /// @return A json-compatible dictionary representation of the /// `DBFILESPreviewArg` API object. /// + (nullable NSDictionary *)serialize:(DBFILESPreviewArg *)instance; /// /// Deserializes `DBFILESPreviewArg` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILESPreviewArg` API object. /// /// @return An instantiation of the `DBFILESPreviewArg` object. /// + (DBFILESPreviewArg *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESPreviewError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILESLookupError; @class DBFILESPreviewError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `PreviewError` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILESPreviewError : NSObject #pragma mark - Instance fields /// The `DBFILESPreviewErrorTag` enum type represents the possible tag states /// with which the `DBFILESPreviewError` union can exist. 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, /// The file extension is not supported preview generation. DBFILESPreviewErrorUnsupportedExtension, /// The file content is not supported for preview generation. DBFILESPreviewErrorUnsupportedContent, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBFILESPreviewErrorTag tag; /// An error occurs when downloading metadata for the file. @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 occurs when downloading /// metadata for the file. /// /// @param path An error occurs when downloading metadata for the file. /// /// @return An initialized instance. /// - (instancetype)initWithPath:(DBFILESLookupError *)path; /// /// Initializes union class with tag state of "in_progress". /// /// Description of the "in_progress" tag state: This preview generation is still /// in progress and the file is not ready for preview yet. /// /// @return An initialized instance. /// - (instancetype)initWithInProgress; /// /// Initializes union class with tag state of "unsupported_extension". /// /// Description of the "unsupported_extension" tag state: The file extension is /// not supported preview generation. /// /// @return An initialized instance. /// - (instancetype)initWithUnsupportedExtension; /// /// Initializes union class with tag state of "unsupported_content". /// /// Description of the "unsupported_content" tag state: The file content is not /// supported for preview generation. /// /// @return An initialized instance. /// - (instancetype)initWithUnsupportedContent; - (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 "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 /// "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_content". /// /// @return Whether the union's current tag state has value /// "unsupported_content". /// - (BOOL)isUnsupportedContent; /// /// 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 `DBFILESPreviewError` union. /// @interface DBFILESPreviewErrorSerializer : NSObject /// /// Serializes `DBFILESPreviewError` instances. /// /// @param instance An instance of the `DBFILESPreviewError` API object. /// /// @return A json-compatible dictionary representation of the /// `DBFILESPreviewError` API object. /// + (nullable NSDictionary *)serialize:(DBFILESPreviewError *)instance; /// /// Deserializes `DBFILESPreviewError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILESPreviewError` API object. /// /// @return An instantiation of the `DBFILESPreviewError` object. /// + (DBFILESPreviewError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESPreviewResult.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESRelocationArg.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBFILESRelocationPath.h" #import "DBSerializableProtocol.h" @class DBFILESRelocationArg; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `RelocationArg` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILESRelocationArg : DBFILESRelocationPath #pragma mark - Instance fields /// 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 /// 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; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @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 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 An initialized instance. /// - (instancetype)initWithFromPath:(NSString *)fromPath toPath:(NSString *)toPath allowSharedFolder:(nullable NSNumber *)allowSharedFolder autorename:(nullable NSNumber *)autorename allowOwnershipTransfer:(nullable NSNumber *)allowOwnershipTransfer; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @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. /// /// @return An initialized instance. /// - (instancetype)initWithFromPath:(NSString *)fromPath toPath:(NSString *)toPath; @end #pragma mark - Serializer Object /// /// The serialization class for the `RelocationArg` struct. /// @interface DBFILESRelocationArgSerializer : NSObject /// /// Serializes `DBFILESRelocationArg` instances. /// /// @param instance An instance of the `DBFILESRelocationArg` API object. /// /// @return A json-compatible dictionary representation of the /// `DBFILESRelocationArg` API object. /// + (nullable NSDictionary *)serialize:(DBFILESRelocationArg *)instance; /// /// Deserializes `DBFILESRelocationArg` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILESRelocationArg` API object. /// /// @return An instantiation of the `DBFILESRelocationArg` object. /// + (DBFILESRelocationArg *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESRelocationBatchArg.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBFILESRelocationBatchArgBase.h" #import "DBSerializableProtocol.h" @class DBFILESRelocationBatchArg; @class DBFILESRelocationPath; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `RelocationBatchArg` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILESRelocationBatchArg : DBFILESRelocationBatchArgBase #pragma mark - Instance fields /// This flag has no effect. @property (nonatomic, readonly) NSNumber *allowSharedFolder; /// 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 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. /// /// @return An initialized instance. /// - (instancetype)initWithEntries:(NSArray *)entries autorename:(nullable NSNumber *)autorename allowSharedFolder:(nullable NSNumber *)allowSharedFolder 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 `RelocationBatchArg` struct. /// @interface DBFILESRelocationBatchArgSerializer : NSObject /// /// Serializes `DBFILESRelocationBatchArg` instances. /// /// @param instance An instance of the `DBFILESRelocationBatchArg` API object. /// /// @return A json-compatible dictionary representation of the /// `DBFILESRelocationBatchArg` API object. /// + (nullable NSDictionary *)serialize:(DBFILESRelocationBatchArg *)instance; /// /// Deserializes `DBFILESRelocationBatchArg` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILESRelocationBatchArg` API object. /// /// @return An instantiation of the `DBFILESRelocationBatchArg` object. /// + (DBFILESRelocationBatchArg *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESRelocationBatchArgBase.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESRelocationBatchError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILESLookupError; @class DBFILESMoveIntoFamilyError; @class DBFILESMoveIntoVaultError; @class DBFILESRelocationBatchError; @class DBFILESWriteError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `RelocationBatchError` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILESRelocationBatchError : NSObject #pragma mark - Instance fields /// The `DBFILESRelocationBatchErrorTag` enum type represents the possible tag /// states with which the `DBFILESRelocationBatchError` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBFILESRelocationBatchErrorTag){ /// (no description). DBFILESRelocationBatchErrorFromLookup, /// (no description). DBFILESRelocationBatchErrorFromWrite, /// (no description). DBFILESRelocationBatchErrorTo, /// Shared folders can't be copied. DBFILESRelocationBatchErrorCantCopySharedFolder, /// Your move operation would result in nested shared folders. This is not /// allowed. DBFILESRelocationBatchErrorCantNestSharedFolder, /// You cannot move a folder into itself. DBFILESRelocationBatchErrorCantMoveFolderIntoItself, /// 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, /// 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, /// 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, /// 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, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBFILESRelocationBatchErrorTag tag; /// (no description). @note Ensure the `isFromLookup` method returns true before /// accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) DBFILESLookupError *fromLookup; /// (no description). @note Ensure the `isFromWrite` method returns true before /// accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) DBFILESWriteError *fromWrite; /// (no description). @note Ensure the `isTo` method returns true before /// 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 /// /// Initializes union class with tag state of "from_lookup". /// /// @param fromLookup (no description). /// /// @return An initialized instance. /// - (instancetype)initWithFromLookup:(DBFILESLookupError *)fromLookup; /// /// Initializes union class with tag state of "from_write". /// /// @param fromWrite (no description). /// /// @return An initialized instance. /// - (instancetype)initWithFromWrite:(DBFILESWriteError *)fromWrite; /// /// Initializes union class with tag state of "to". /// /// @param to (no description). /// /// @return An initialized instance. /// - (instancetype)initWithTo:(DBFILESWriteError *)to; /// /// Initializes union class with tag state of "cant_copy_shared_folder". /// /// Description of the "cant_copy_shared_folder" tag state: Shared folders can't /// be copied. /// /// @return An initialized instance. /// - (instancetype)initWithCantCopySharedFolder; /// /// Initializes union class with tag state of "cant_nest_shared_folder". /// /// Description of the "cant_nest_shared_folder" tag state: Your move operation /// would result in nested shared folders. This is not allowed. /// /// @return An initialized instance. /// - (instancetype)initWithCantNestSharedFolder; /// /// Initializes union class with tag state of "cant_move_folder_into_itself". /// /// Description of the "cant_move_folder_into_itself" tag state: You cannot move /// a folder into itself. /// /// @return An initialized instance. /// - (instancetype)initWithCantMoveFolderIntoItself; /// /// Initializes union class with tag state of "too_many_files". /// /// Description of the "too_many_files" tag state: The operation would involve /// more than 10,000 files and folders. /// /// @return An initialized instance. /// - (instancetype)initWithTooManyFiles; /// /// Initializes union class with tag state of "duplicated_or_nested_paths". /// /// Description of the "duplicated_or_nested_paths" tag state: There are /// duplicated/nested paths among `fromPath` in `DBFILESRelocationArg` and /// `toPath` in `DBFILESRelocationArg`. /// /// @return An initialized instance. /// - (instancetype)initWithDuplicatedOrNestedPaths; /// /// Initializes union class with tag state of "cant_transfer_ownership". /// /// Description of the "cant_transfer_ownership" tag state: Your move operation /// would result in an ownership transfer. You may reissue the request with the /// field `allowOwnershipTransfer` in `DBFILESRelocationArg` to true. /// /// @return An initialized instance. /// - (instancetype)initWithCantTransferOwnership; /// /// Initializes union class with tag state of "insufficient_quota". /// /// Description of the "insufficient_quota" tag state: The current user does not /// have enough space to move or copy the files. /// /// @return An initialized instance. /// - (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". /// /// @return An initialized instance. /// - (instancetype)initWithOther; /// /// 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; - (instancetype)init NS_UNAVAILABLE; #pragma mark - Tag state methods /// /// Retrieves whether the union's current tag state has value "from_lookup". /// /// @note Call this method and ensure it returns true before accessing the /// `fromLookup` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value "from_lookup". /// - (BOOL)isFromLookup; /// /// Retrieves whether the union's current tag state has value "from_write". /// /// @note Call this method and ensure it returns true before accessing the /// `fromWrite` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value "from_write". /// - (BOOL)isFromWrite; /// /// Retrieves whether the union's current tag state has value "to". /// /// @note Call this method and ensure it returns true before accessing the `to` /// property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value "to". /// - (BOOL)isTo; /// /// Retrieves whether the union's current tag state has value /// "cant_copy_shared_folder". /// /// @return Whether the union's current tag state has value /// "cant_copy_shared_folder". /// - (BOOL)isCantCopySharedFolder; /// /// Retrieves whether the union's current tag state has value /// "cant_nest_shared_folder". /// /// @return Whether the union's current tag state has value /// "cant_nest_shared_folder". /// - (BOOL)isCantNestSharedFolder; /// /// Retrieves whether the union's current tag state has value /// "cant_move_folder_into_itself". /// /// @return Whether the union's current tag state has value /// "cant_move_folder_into_itself". /// - (BOOL)isCantMoveFolderIntoItself; /// /// 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 /// "duplicated_or_nested_paths". /// /// @return Whether the union's current tag state has value /// "duplicated_or_nested_paths". /// - (BOOL)isDuplicatedOrNestedPaths; /// /// Retrieves whether the union's current tag state has value /// "cant_transfer_ownership". /// /// @return Whether the union's current tag state has value /// "cant_transfer_ownership". /// - (BOOL)isCantTransferOwnership; /// /// Retrieves whether the union's current tag state has value /// "insufficient_quota". /// /// @return Whether the union's current tag state has value /// "insufficient_quota". /// - (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". /// /// @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_write_operations". /// /// @return Whether the union's current tag state has value /// "too_many_write_operations". /// - (BOOL)isTooManyWriteOperations; /// /// 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 `DBFILESRelocationBatchError` union. /// @interface DBFILESRelocationBatchErrorSerializer : NSObject /// /// Serializes `DBFILESRelocationBatchError` instances. /// /// @param instance An instance of the `DBFILESRelocationBatchError` API object. /// /// @return A json-compatible dictionary representation of the /// `DBFILESRelocationBatchError` API object. /// + (nullable NSDictionary *)serialize:(DBFILESRelocationBatchError *)instance; /// /// Deserializes `DBFILESRelocationBatchError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILESRelocationBatchError` API object. /// /// @return An instantiation of the `DBFILESRelocationBatchError` object. /// + (DBFILESRelocationBatchError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESRelocationBatchErrorEntry.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESRelocationBatchJobStatus.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILESRelocationBatchError; @class DBFILESRelocationBatchJobStatus; @class DBFILESRelocationBatchResult; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `RelocationBatchJobStatus` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILESRelocationBatchJobStatus : NSObject #pragma mark - Instance fields /// The `DBFILESRelocationBatchJobStatusTag` enum type represents the possible /// tag states with which the `DBFILESRelocationBatchJobStatus` union can exist. 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 failed with exception. DBFILESRelocationBatchJobStatusFailed, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBFILESRelocationBatchJobStatusTag 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) DBFILESRelocationBatchResult *complete; /// The copy or move batch job has failed with exception. @note Ensure the /// `isFailed` method returns true before accessing, otherwise a runtime /// exception will be raised. @property (nonatomic, readonly) DBFILESRelocationBatchError *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 copy or move batch job has /// finished. /// /// @param complete The copy or move batch job has finished. /// /// @return An initialized instance. /// - (instancetype)initWithComplete:(DBFILESRelocationBatchResult *)complete; /// /// Initializes union class with tag state of "failed". /// /// Description of the "failed" tag state: The copy or move batch job has failed /// with exception. /// /// @param failed The copy or move batch job has failed with exception. /// /// @return An initialized instance. /// - (instancetype)initWithFailed:(DBFILESRelocationBatchError *)failed; - (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 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 `DBFILESRelocationBatchJobStatus` union. /// @interface DBFILESRelocationBatchJobStatusSerializer : NSObject /// /// Serializes `DBFILESRelocationBatchJobStatus` instances. /// /// @param instance An instance of the `DBFILESRelocationBatchJobStatus` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBFILESRelocationBatchJobStatus` API object. /// + (nullable NSDictionary *)serialize:(DBFILESRelocationBatchJobStatus *)instance; /// /// Deserializes `DBFILESRelocationBatchJobStatus` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILESRelocationBatchJobStatus` API object. /// /// @return An instantiation of the `DBFILESRelocationBatchJobStatus` object. /// + (DBFILESRelocationBatchJobStatus *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESRelocationBatchLaunch.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILESRelocationBatchLaunch; @class DBFILESRelocationBatchResult; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `RelocationBatchLaunch` 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 DBFILESRelocationBatchLaunch : NSObject #pragma mark - Instance fields /// The `DBFILESRelocationBatchLaunchTag` enum type represents the possible tag /// states with which the `DBFILESRelocationBatchLaunch` union can exist. 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). DBFILESRelocationBatchLaunchOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBFILESRelocationBatchLaunchTag 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) DBFILESRelocationBatchResult *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:(DBFILESRelocationBatchResult *)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 `DBFILESRelocationBatchLaunch` union. /// @interface DBFILESRelocationBatchLaunchSerializer : NSObject /// /// Serializes `DBFILESRelocationBatchLaunch` instances. /// /// @param instance An instance of the `DBFILESRelocationBatchLaunch` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBFILESRelocationBatchLaunch` API object. /// + (nullable NSDictionary *)serialize:(DBFILESRelocationBatchLaunch *)instance; /// /// Deserializes `DBFILESRelocationBatchLaunch` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILESRelocationBatchLaunch` API object. /// /// @return An instantiation of the `DBFILESRelocationBatchLaunch` object. /// + (DBFILESRelocationBatchLaunch *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESRelocationBatchResult.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBFILESFileOpsResult.h" #import "DBSerializableProtocol.h" @class DBFILESRelocationBatchResult; @class DBFILESRelocationBatchResultData; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `RelocationBatchResult` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILESRelocationBatchResult : DBFILESFileOpsResult #pragma mark - Instance fields /// (no description). @property (nonatomic, readonly) NSArray *entries; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param entries (no description). /// /// @return An initialized instance. /// - (instancetype)initWithEntries:(NSArray *)entries; @end #pragma mark - Serializer Object /// /// The serialization class for the `RelocationBatchResult` struct. /// @interface DBFILESRelocationBatchResultSerializer : NSObject /// /// Serializes `DBFILESRelocationBatchResult` instances. /// /// @param instance An instance of the `DBFILESRelocationBatchResult` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBFILESRelocationBatchResult` API object. /// + (nullable NSDictionary *)serialize:(DBFILESRelocationBatchResult *)instance; /// /// Deserializes `DBFILESRelocationBatchResult` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILESRelocationBatchResult` API object. /// /// @return An instantiation of the `DBFILESRelocationBatchResult` object. /// + (DBFILESRelocationBatchResult *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESRelocationBatchResultData.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILESMetadata; @class DBFILESRelocationBatchResultData; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `RelocationBatchResultData` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILESRelocationBatchResultData : NSObject #pragma mark - Instance fields /// Metadata of the relocated object. @property (nonatomic, readonly) DBFILESMetadata *metadata; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param metadata Metadata of the relocated object. /// /// @return An initialized instance. /// - (instancetype)initWithMetadata:(DBFILESMetadata *)metadata; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `RelocationBatchResultData` struct. /// @interface DBFILESRelocationBatchResultDataSerializer : NSObject /// /// Serializes `DBFILESRelocationBatchResultData` instances. /// /// @param instance An instance of the `DBFILESRelocationBatchResultData` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBFILESRelocationBatchResultData` API object. /// + (nullable NSDictionary *)serialize:(DBFILESRelocationBatchResultData *)instance; /// /// Deserializes `DBFILESRelocationBatchResultData` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILESRelocationBatchResultData` API object. /// /// @return An instantiation of the `DBFILESRelocationBatchResultData` object. /// + (DBFILESRelocationBatchResultData *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESRelocationBatchResultEntry.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESRelocationBatchV2JobStatus.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESRelocationBatchV2Launch.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESRelocationBatchV2Result.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESRelocationError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILESLookupError; @class DBFILESMoveIntoFamilyError; @class DBFILESMoveIntoVaultError; @class DBFILESRelocationError; @class DBFILESWriteError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `RelocationError` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILESRelocationError : NSObject #pragma mark - Instance fields /// The `DBFILESRelocationErrorTag` enum type represents the possible tag states /// with which the `DBFILESRelocationError` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBFILESRelocationErrorTag){ /// (no description). DBFILESRelocationErrorFromLookup, /// (no description). DBFILESRelocationErrorFromWrite, /// (no description). DBFILESRelocationErrorTo, /// Shared folders can't be copied. DBFILESRelocationErrorCantCopySharedFolder, /// Your move operation would result in nested shared folders. This is not /// allowed. DBFILESRelocationErrorCantNestSharedFolder, /// You cannot move a folder into itself. DBFILESRelocationErrorCantMoveFolderIntoItself, /// 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, /// 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, /// 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, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBFILESRelocationErrorTag tag; /// (no description). @note Ensure the `isFromLookup` method returns true before /// accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) DBFILESLookupError *fromLookup; /// (no description). @note Ensure the `isFromWrite` method returns true before /// accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) DBFILESWriteError *fromWrite; /// (no description). @note Ensure the `isTo` method returns true before /// 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 /// /// Initializes union class with tag state of "from_lookup". /// /// @param fromLookup (no description). /// /// @return An initialized instance. /// - (instancetype)initWithFromLookup:(DBFILESLookupError *)fromLookup; /// /// Initializes union class with tag state of "from_write". /// /// @param fromWrite (no description). /// /// @return An initialized instance. /// - (instancetype)initWithFromWrite:(DBFILESWriteError *)fromWrite; /// /// Initializes union class with tag state of "to". /// /// @param to (no description). /// /// @return An initialized instance. /// - (instancetype)initWithTo:(DBFILESWriteError *)to; /// /// Initializes union class with tag state of "cant_copy_shared_folder". /// /// Description of the "cant_copy_shared_folder" tag state: Shared folders can't /// be copied. /// /// @return An initialized instance. /// - (instancetype)initWithCantCopySharedFolder; /// /// Initializes union class with tag state of "cant_nest_shared_folder". /// /// Description of the "cant_nest_shared_folder" tag state: Your move operation /// would result in nested shared folders. This is not allowed. /// /// @return An initialized instance. /// - (instancetype)initWithCantNestSharedFolder; /// /// Initializes union class with tag state of "cant_move_folder_into_itself". /// /// Description of the "cant_move_folder_into_itself" tag state: You cannot move /// a folder into itself. /// /// @return An initialized instance. /// - (instancetype)initWithCantMoveFolderIntoItself; /// /// Initializes union class with tag state of "too_many_files". /// /// Description of the "too_many_files" tag state: The operation would involve /// more than 10,000 files and folders. /// /// @return An initialized instance. /// - (instancetype)initWithTooManyFiles; /// /// Initializes union class with tag state of "duplicated_or_nested_paths". /// /// Description of the "duplicated_or_nested_paths" tag state: There are /// duplicated/nested paths among `fromPath` in `DBFILESRelocationArg` and /// `toPath` in `DBFILESRelocationArg`. /// /// @return An initialized instance. /// - (instancetype)initWithDuplicatedOrNestedPaths; /// /// Initializes union class with tag state of "cant_transfer_ownership". /// /// Description of the "cant_transfer_ownership" tag state: Your move operation /// would result in an ownership transfer. You may reissue the request with the /// field `allowOwnershipTransfer` in `DBFILESRelocationArg` to true. /// /// @return An initialized instance. /// - (instancetype)initWithCantTransferOwnership; /// /// Initializes union class with tag state of "insufficient_quota". /// /// Description of the "insufficient_quota" tag state: The current user does not /// have enough space to move or copy the files. /// /// @return An initialized instance. /// - (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". /// /// @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 "from_lookup". /// /// @note Call this method and ensure it returns true before accessing the /// `fromLookup` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value "from_lookup". /// - (BOOL)isFromLookup; /// /// Retrieves whether the union's current tag state has value "from_write". /// /// @note Call this method and ensure it returns true before accessing the /// `fromWrite` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value "from_write". /// - (BOOL)isFromWrite; /// /// Retrieves whether the union's current tag state has value "to". /// /// @note Call this method and ensure it returns true before accessing the `to` /// property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value "to". /// - (BOOL)isTo; /// /// Retrieves whether the union's current tag state has value /// "cant_copy_shared_folder". /// /// @return Whether the union's current tag state has value /// "cant_copy_shared_folder". /// - (BOOL)isCantCopySharedFolder; /// /// Retrieves whether the union's current tag state has value /// "cant_nest_shared_folder". /// /// @return Whether the union's current tag state has value /// "cant_nest_shared_folder". /// - (BOOL)isCantNestSharedFolder; /// /// Retrieves whether the union's current tag state has value /// "cant_move_folder_into_itself". /// /// @return Whether the union's current tag state has value /// "cant_move_folder_into_itself". /// - (BOOL)isCantMoveFolderIntoItself; /// /// 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 /// "duplicated_or_nested_paths". /// /// @return Whether the union's current tag state has value /// "duplicated_or_nested_paths". /// - (BOOL)isDuplicatedOrNestedPaths; /// /// Retrieves whether the union's current tag state has value /// "cant_transfer_ownership". /// /// @return Whether the union's current tag state has value /// "cant_transfer_ownership". /// - (BOOL)isCantTransferOwnership; /// /// Retrieves whether the union's current tag state has value /// "insufficient_quota". /// /// @return Whether the union's current tag state has value /// "insufficient_quota". /// - (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". /// /// @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 `DBFILESRelocationError` union. /// @interface DBFILESRelocationErrorSerializer : NSObject /// /// Serializes `DBFILESRelocationError` instances. /// /// @param instance An instance of the `DBFILESRelocationError` API object. /// /// @return A json-compatible dictionary representation of the /// `DBFILESRelocationError` API object. /// + (nullable NSDictionary *)serialize:(DBFILESRelocationError *)instance; /// /// Deserializes `DBFILESRelocationError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILESRelocationError` API object. /// /// @return An instantiation of the `DBFILESRelocationError` object. /// + (DBFILESRelocationError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESRelocationPath.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILESRelocationPath; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `RelocationPath` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILESRelocationPath : NSObject #pragma mark - Instance fields /// Path in the user's Dropbox to be copied or moved. @property (nonatomic, readonly, copy) NSString *fromPath; /// Path in the user's Dropbox that is the destination. @property (nonatomic, readonly, copy) NSString *toPath; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @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. /// /// @return An initialized instance. /// - (instancetype)initWithFromPath:(NSString *)fromPath toPath:(NSString *)toPath; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `RelocationPath` struct. /// @interface DBFILESRelocationPathSerializer : NSObject /// /// Serializes `DBFILESRelocationPath` instances. /// /// @param instance An instance of the `DBFILESRelocationPath` API object. /// /// @return A json-compatible dictionary representation of the /// `DBFILESRelocationPath` API object. /// + (nullable NSDictionary *)serialize:(DBFILESRelocationPath *)instance; /// /// Deserializes `DBFILESRelocationPath` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILESRelocationPath` API object. /// /// @return An instantiation of the `DBFILESRelocationPath` object. /// + (DBFILESRelocationPath *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESRelocationResult.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBFILESFileOpsResult.h" #import "DBSerializableProtocol.h" @class DBFILESMetadata; @class DBFILESRelocationResult; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `RelocationResult` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILESRelocationResult : DBFILESFileOpsResult #pragma mark - Instance fields /// Metadata of the relocated object. @property (nonatomic, readonly) DBFILESMetadata *metadata; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param metadata Metadata of the relocated object. /// /// @return An initialized instance. /// - (instancetype)initWithMetadata:(DBFILESMetadata *)metadata; @end #pragma mark - Serializer Object /// /// The serialization class for the `RelocationResult` struct. /// @interface DBFILESRelocationResultSerializer : NSObject /// /// Serializes `DBFILESRelocationResult` instances. /// /// @param instance An instance of the `DBFILESRelocationResult` API object. /// /// @return A json-compatible dictionary representation of the /// `DBFILESRelocationResult` API object. /// + (nullable NSDictionary *)serialize:(DBFILESRelocationResult *)instance; /// /// Deserializes `DBFILESRelocationResult` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILESRelocationResult` API object. /// /// @return An instantiation of the `DBFILESRelocationResult` object. /// + (DBFILESRelocationResult *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESRemoveTagArg.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESRemoveTagError.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESRestoreArg.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILESRestoreArg; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `RestoreArg` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILESRestoreArg : NSObject #pragma mark - Instance fields /// The path to save the restored file. @property (nonatomic, readonly, copy) NSString *path; /// The revision to restore. @property (nonatomic, readonly, copy) NSString *rev; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param path The path to save the restored file. /// @param rev The revision to restore. /// /// @return An initialized instance. /// - (instancetype)initWithPath:(NSString *)path rev:(NSString *)rev; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `RestoreArg` struct. /// @interface DBFILESRestoreArgSerializer : NSObject /// /// Serializes `DBFILESRestoreArg` instances. /// /// @param instance An instance of the `DBFILESRestoreArg` API object. /// /// @return A json-compatible dictionary representation of the /// `DBFILESRestoreArg` API object. /// + (nullable NSDictionary *)serialize:(DBFILESRestoreArg *)instance; /// /// Deserializes `DBFILESRestoreArg` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILESRestoreArg` API object. /// /// @return An instantiation of the `DBFILESRestoreArg` object. /// + (DBFILESRestoreArg *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESRestoreError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILESLookupError; @class DBFILESRestoreError; @class DBFILESWriteError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `RestoreError` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILESRestoreError : NSObject #pragma mark - Instance fields /// The `DBFILESRestoreErrorTag` enum type represents the possible tag states /// with which the `DBFILESRestoreError` union can exist. 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, /// The revision is invalid. It may not exist or may point to a deleted /// file. DBFILESRestoreErrorInvalidRevision, /// The restore is currently executing, but has not yet completed. DBFILESRestoreErrorInProgress, /// (no description). DBFILESRestoreErrorOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBFILESRestoreErrorTag tag; /// An error occurs when downloading metadata for the file. @note Ensure the /// `isPathLookup` method returns true before accessing, otherwise a runtime /// exception will be raised. @property (nonatomic, readonly) DBFILESLookupError *pathLookup; /// An error occurs when trying to restore the file to that path. @note Ensure /// the `isPathWrite` method returns true before accessing, otherwise a runtime /// exception will be raised. @property (nonatomic, readonly) DBFILESWriteError *pathWrite; #pragma mark - Constructors /// /// Initializes union class with tag state of "path_lookup". /// /// Description of the "path_lookup" tag state: An error occurs when downloading /// metadata for the file. /// /// @param pathLookup An error occurs when downloading metadata for the file. /// /// @return An initialized instance. /// - (instancetype)initWithPathLookup:(DBFILESLookupError *)pathLookup; /// /// Initializes union class with tag state of "path_write". /// /// Description of the "path_write" tag state: An error occurs when trying to /// restore the file to that path. /// /// @param pathWrite An error occurs when trying to restore the file to that /// path. /// /// @return An initialized instance. /// - (instancetype)initWithPathWrite:(DBFILESWriteError *)pathWrite; /// /// Initializes union class with tag state of "invalid_revision". /// /// Description of the "invalid_revision" tag state: The revision is invalid. It /// 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". /// /// @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 "path_write". /// /// @note Call this method and ensure it returns true before accessing the /// `pathWrite` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value "path_write". /// - (BOOL)isPathWrite; /// /// Retrieves whether the union's current tag state has value /// "invalid_revision". /// /// @return Whether the union's current tag state has value "invalid_revision". /// - (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". /// /// @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 `DBFILESRestoreError` union. /// @interface DBFILESRestoreErrorSerializer : NSObject /// /// Serializes `DBFILESRestoreError` instances. /// /// @param instance An instance of the `DBFILESRestoreError` API object. /// /// @return A json-compatible dictionary representation of the /// `DBFILESRestoreError` API object. /// + (nullable NSDictionary *)serialize:(DBFILESRestoreError *)instance; /// /// Deserializes `DBFILESRestoreError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILESRestoreError` API object. /// /// @return An instantiation of the `DBFILESRestoreError` object. /// + (DBFILESRestoreError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSaveCopyReferenceArg.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILESSaveCopyReferenceArg; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `SaveCopyReferenceArg` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILESSaveCopyReferenceArg : NSObject #pragma mark - Instance fields /// A copy reference returned by `dCopyReferenceGet`. @property (nonatomic, readonly, copy) NSString *dCopyReference; /// Path in the user's Dropbox that is the destination. @property (nonatomic, readonly, copy) NSString *path; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param dCopyReference A copy reference returned by `dCopyReferenceGet`. /// @param path Path in the user's Dropbox that is the destination. /// /// @return An initialized instance. /// - (instancetype)initWithDCopyReference:(NSString *)dCopyReference path:(NSString *)path; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `SaveCopyReferenceArg` struct. /// @interface DBFILESSaveCopyReferenceArgSerializer : NSObject /// /// Serializes `DBFILESSaveCopyReferenceArg` instances. /// /// @param instance An instance of the `DBFILESSaveCopyReferenceArg` API object. /// /// @return A json-compatible dictionary representation of the /// `DBFILESSaveCopyReferenceArg` API object. /// + (nullable NSDictionary *)serialize:(DBFILESSaveCopyReferenceArg *)instance; /// /// Deserializes `DBFILESSaveCopyReferenceArg` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILESSaveCopyReferenceArg` API object. /// /// @return An instantiation of the `DBFILESSaveCopyReferenceArg` object. /// + (DBFILESSaveCopyReferenceArg *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSaveCopyReferenceError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILESSaveCopyReferenceError; @class DBFILESWriteError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `SaveCopyReferenceError` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILESSaveCopyReferenceError : NSObject #pragma mark - Instance fields /// The `DBFILESSaveCopyReferenceErrorTag` enum type represents the possible tag /// states with which the `DBFILESSaveCopyReferenceError` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBFILESSaveCopyReferenceErrorTag){ /// (no description). DBFILESSaveCopyReferenceErrorPath, /// 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, /// The file referenced by the copy reference cannot be found. DBFILESSaveCopyReferenceErrorNotFound, /// The operation would involve more than 10,000 files and folders. DBFILESSaveCopyReferenceErrorTooManyFiles, /// (no description). DBFILESSaveCopyReferenceErrorOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBFILESSaveCopyReferenceErrorTag 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 "invalid_copy_reference". /// /// Description of the "invalid_copy_reference" tag state: The copy reference is /// invalid. /// /// @return An initialized instance. /// - (instancetype)initWithInvalidCopyReference; /// /// Initializes union class with tag state of "no_permission". /// /// Description of the "no_permission" tag state: 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. /// /// @return An initialized instance. /// - (instancetype)initWithNoPermission; /// /// Initializes union class with tag state of "not_found". /// /// Description of the "not_found" tag state: The file referenced by the copy /// reference cannot be found. /// /// @return An initialized instance. /// - (instancetype)initWithNotFound; /// /// Initializes union class with tag state of "too_many_files". /// /// Description of the "too_many_files" tag state: The operation would involve /// more than 10,000 files and 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 "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 /// "invalid_copy_reference". /// /// @return Whether the union's current tag state has value /// "invalid_copy_reference". /// - (BOOL)isInvalidCopyReference; /// /// 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 "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 "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 `DBFILESSaveCopyReferenceError` union. /// @interface DBFILESSaveCopyReferenceErrorSerializer : NSObject /// /// Serializes `DBFILESSaveCopyReferenceError` instances. /// /// @param instance An instance of the `DBFILESSaveCopyReferenceError` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBFILESSaveCopyReferenceError` API object. /// + (nullable NSDictionary *)serialize:(DBFILESSaveCopyReferenceError *)instance; /// /// Deserializes `DBFILESSaveCopyReferenceError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILESSaveCopyReferenceError` API object. /// /// @return An instantiation of the `DBFILESSaveCopyReferenceError` object. /// + (DBFILESSaveCopyReferenceError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSaveCopyReferenceResult.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILESMetadata; @class DBFILESSaveCopyReferenceResult; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `SaveCopyReferenceResult` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILESSaveCopyReferenceResult : NSObject #pragma mark - Instance fields /// The metadata of the saved file or folder in the user's Dropbox. @property (nonatomic, readonly) DBFILESMetadata *metadata; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param metadata The metadata of the saved file or folder in the user's /// Dropbox. /// /// @return An initialized instance. /// - (instancetype)initWithMetadata:(DBFILESMetadata *)metadata; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `SaveCopyReferenceResult` struct. /// @interface DBFILESSaveCopyReferenceResultSerializer : NSObject /// /// Serializes `DBFILESSaveCopyReferenceResult` instances. /// /// @param instance An instance of the `DBFILESSaveCopyReferenceResult` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBFILESSaveCopyReferenceResult` API object. /// + (nullable NSDictionary *)serialize:(DBFILESSaveCopyReferenceResult *)instance; /// /// Deserializes `DBFILESSaveCopyReferenceResult` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILESSaveCopyReferenceResult` API object. /// /// @return An instantiation of the `DBFILESSaveCopyReferenceResult` object. /// + (DBFILESSaveCopyReferenceResult *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSaveUrlArg.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILESSaveUrlArg; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `SaveUrlArg` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILESSaveUrlArg : NSObject #pragma mark - Instance fields /// The path in Dropbox where the URL will be saved to. @property (nonatomic, readonly, copy) NSString *path; /// The URL to be saved. @property (nonatomic, readonly, copy) NSString *url; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param path The path in Dropbox where the URL will be saved to. /// @param url The URL to be saved. /// /// @return An initialized instance. /// - (instancetype)initWithPath:(NSString *)path url:(NSString *)url; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `SaveUrlArg` struct. /// @interface DBFILESSaveUrlArgSerializer : NSObject /// /// Serializes `DBFILESSaveUrlArg` instances. /// /// @param instance An instance of the `DBFILESSaveUrlArg` API object. /// /// @return A json-compatible dictionary representation of the /// `DBFILESSaveUrlArg` API object. /// + (nullable NSDictionary *)serialize:(DBFILESSaveUrlArg *)instance; /// /// Deserializes `DBFILESSaveUrlArg` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILESSaveUrlArg` API object. /// /// @return An instantiation of the `DBFILESSaveUrlArg` object. /// + (DBFILESSaveUrlArg *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSaveUrlError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILESSaveUrlError; @class DBFILESWriteError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `SaveUrlError` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILESSaveUrlError : NSObject #pragma mark - Instance fields /// The `DBFILESSaveUrlErrorTag` enum type represents the possible tag states /// with which the `DBFILESSaveUrlError` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBFILESSaveUrlErrorTag){ /// (no description). DBFILESSaveUrlErrorPath, /// 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 file where the URL is saved to no longer exists. DBFILESSaveUrlErrorNotFound, /// (no description). DBFILESSaveUrlErrorOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBFILESSaveUrlErrorTag 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 "download_failed". /// /// Description of the "download_failed" tag state: Failed downloading the given /// URL. The URL may be password-protected and the password provided was /// incorrect, or the link may be disabled. /// /// @return An initialized instance. /// - (instancetype)initWithDownloadFailed; /// /// Initializes union class with tag state of "invalid_url". /// /// Description of the "invalid_url" tag state: The given URL is invalid. /// /// @return An initialized instance. /// - (instancetype)initWithInvalidUrl; /// /// Initializes union class with tag state of "not_found". /// /// Description of the "not_found" tag state: The file where the URL is saved to /// no longer exists. /// /// @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 "download_failed". /// /// @return Whether the union's current tag state has value "download_failed". /// - (BOOL)isDownloadFailed; /// /// Retrieves whether the union's current tag state has value "invalid_url". /// /// @return Whether the union's current tag state has value "invalid_url". /// - (BOOL)isInvalidUrl; /// /// 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 `DBFILESSaveUrlError` union. /// @interface DBFILESSaveUrlErrorSerializer : NSObject /// /// Serializes `DBFILESSaveUrlError` instances. /// /// @param instance An instance of the `DBFILESSaveUrlError` API object. /// /// @return A json-compatible dictionary representation of the /// `DBFILESSaveUrlError` API object. /// + (nullable NSDictionary *)serialize:(DBFILESSaveUrlError *)instance; /// /// Deserializes `DBFILESSaveUrlError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILESSaveUrlError` API object. /// /// @return An instantiation of the `DBFILESSaveUrlError` object. /// + (DBFILESSaveUrlError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSaveUrlJobStatus.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILESFileMetadata; @class DBFILESSaveUrlError; @class DBFILESSaveUrlJobStatus; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `SaveUrlJobStatus` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILESSaveUrlJobStatus : NSObject #pragma mark - Instance fields /// The `DBFILESSaveUrlJobStatusTag` enum type represents the possible tag /// states with which the `DBFILESSaveUrlJobStatus` union can exist. 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, /// (no description). DBFILESSaveUrlJobStatusFailed, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBFILESSaveUrlJobStatusTag tag; /// Metadata of the file where the URL is saved to. @note Ensure the /// `isComplete` method returns true before accessing, otherwise a runtime /// exception will be raised. @property (nonatomic, readonly) DBFILESFileMetadata *complete; /// (no description). @note Ensure the `isFailed` method returns true before /// accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) DBFILESSaveUrlError *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: Metadata of the file where the URL /// is saved to. /// /// @param complete Metadata of the file where the URL is saved to. /// /// @return An initialized instance. /// - (instancetype)initWithComplete:(DBFILESFileMetadata *)complete; /// /// Initializes union class with tag state of "failed". /// /// @param failed (no description). /// /// @return An initialized instance. /// - (instancetype)initWithFailed:(DBFILESSaveUrlError *)failed; - (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 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 `DBFILESSaveUrlJobStatus` union. /// @interface DBFILESSaveUrlJobStatusSerializer : NSObject /// /// Serializes `DBFILESSaveUrlJobStatus` instances. /// /// @param instance An instance of the `DBFILESSaveUrlJobStatus` API object. /// /// @return A json-compatible dictionary representation of the /// `DBFILESSaveUrlJobStatus` API object. /// + (nullable NSDictionary *)serialize:(DBFILESSaveUrlJobStatus *)instance; /// /// Deserializes `DBFILESSaveUrlJobStatus` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILESSaveUrlJobStatus` API object. /// /// @return An instantiation of the `DBFILESSaveUrlJobStatus` object. /// + (DBFILESSaveUrlJobStatus *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSaveUrlResult.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILESFileMetadata; @class DBFILESSaveUrlResult; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `SaveUrlResult` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILESSaveUrlResult : NSObject #pragma mark - Instance fields /// The `DBFILESSaveUrlResultTag` enum type represents the possible tag states /// with which the `DBFILESSaveUrlResult` union can exist. 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, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBFILESSaveUrlResultTag 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; /// Metadata of the file where the URL is saved to. @note Ensure the /// `isComplete` method returns true before accessing, otherwise a runtime /// exception will be raised. @property (nonatomic, readonly) DBFILESFileMetadata *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". /// /// Description of the "complete" tag state: Metadata of the file where the URL /// is saved to. /// /// @param complete Metadata of the file where the URL is saved to. /// /// @return An initialized instance. /// - (instancetype)initWithComplete:(DBFILESFileMetadata *)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 `DBFILESSaveUrlResult` union. /// @interface DBFILESSaveUrlResultSerializer : NSObject /// /// Serializes `DBFILESSaveUrlResult` instances. /// /// @param instance An instance of the `DBFILESSaveUrlResult` API object. /// /// @return A json-compatible dictionary representation of the /// `DBFILESSaveUrlResult` API object. /// + (nullable NSDictionary *)serialize:(DBFILESSaveUrlResult *)instance; /// /// Deserializes `DBFILESSaveUrlResult` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILESSaveUrlResult` API object. /// /// @return An instantiation of the `DBFILESSaveUrlResult` object. /// + (DBFILESSaveUrlResult *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSearchArg.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILESSearchArg; @class DBFILESSearchMode; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `SearchArg` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILESSearchArg : NSObject #pragma mark - Instance fields /// 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. 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). @property (nonatomic, readonly) NSNumber *start; /// The maximum number of search results to return. @property (nonatomic, readonly) NSNumber *maxResults; /// The search mode (filename, filename_and_content, or deleted_filename). Note /// that searching file content is only available for Dropbox Business accounts. @property (nonatomic, readonly) DBFILESSearchMode *mode; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param path The path in the user's Dropbox to search. Should probably be a /// folder. /// @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 is only available for /// Dropbox Business accounts. /// /// @return An initialized instance. /// - (instancetype)initWithPath:(NSString *)path query:(NSString *)query start:(nullable NSNumber *)start maxResults:(nullable NSNumber *)maxResults mode:(nullable DBFILESSearchMode *)mode; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param path The path in the user's Dropbox to search. Should probably be a /// folder. /// @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. /// - (instancetype)initWithPath:(NSString *)path query:(NSString *)query; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `SearchArg` struct. /// @interface DBFILESSearchArgSerializer : NSObject /// /// Serializes `DBFILESSearchArg` instances. /// /// @param instance An instance of the `DBFILESSearchArg` API object. /// /// @return A json-compatible dictionary representation of the /// `DBFILESSearchArg` API object. /// + (nullable NSDictionary *)serialize:(DBFILESSearchArg *)instance; /// /// Deserializes `DBFILESSearchArg` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILESSearchArg` API object. /// /// @return An instantiation of the `DBFILESSearchArg` object. /// + (DBFILESSearchArg *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSearchError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILESLookupError; @class DBFILESSearchError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `SearchError` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILESSearchError : NSObject #pragma mark - Instance fields /// The `DBFILESSearchErrorTag` enum type represents the possible tag states /// with which the `DBFILESSearchError` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBFILESSearchErrorTag){ /// (no description). DBFILESSearchErrorPath, /// (no description). DBFILESSearchErrorInvalidArgument, /// Something went wrong, please try again. DBFILESSearchErrorInternalError, /// (no description). DBFILESSearchErrorOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBFILESSearchErrorTag tag; /// (no description). @note Ensure the `isPath` method returns true before /// 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 /// /// 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 "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". /// /// @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 /// "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". /// /// @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 `DBFILESSearchError` union. /// @interface DBFILESSearchErrorSerializer : NSObject /// /// Serializes `DBFILESSearchError` instances. /// /// @param instance An instance of the `DBFILESSearchError` API object. /// /// @return A json-compatible dictionary representation of the /// `DBFILESSearchError` API object. /// + (nullable NSDictionary *)serialize:(DBFILESSearchError *)instance; /// /// Deserializes `DBFILESSearchError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILESSearchError` API object. /// /// @return An instantiation of the `DBFILESSearchError` object. /// + (DBFILESSearchError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSearchMatch.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILESMetadata; @class DBFILESSearchMatch; @class DBFILESSearchMatchType; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `SearchMatch` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILESSearchMatch : NSObject #pragma mark - Instance fields /// The type of the match. @property (nonatomic, readonly) DBFILESSearchMatchType *matchType; /// The metadata for the matched file or folder. @property (nonatomic, readonly) DBFILESMetadata *metadata; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param matchType The type of the match. /// @param metadata The metadata for the matched file or folder. /// /// @return An initialized instance. /// - (instancetype)initWithMatchType:(DBFILESSearchMatchType *)matchType metadata:(DBFILESMetadata *)metadata; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `SearchMatch` struct. /// @interface DBFILESSearchMatchSerializer : NSObject /// /// Serializes `DBFILESSearchMatch` instances. /// /// @param instance An instance of the `DBFILESSearchMatch` API object. /// /// @return A json-compatible dictionary representation of the /// `DBFILESSearchMatch` API object. /// + (nullable NSDictionary *)serialize:(DBFILESSearchMatch *)instance; /// /// Deserializes `DBFILESSearchMatch` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILESSearchMatch` API object. /// /// @return An instantiation of the `DBFILESSearchMatch` object. /// + (DBFILESSearchMatch *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSearchMatchFieldOptions.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSearchMatchType.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILESSearchMatchType; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `SearchMatchType` 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 DBFILESSearchMatchType : NSObject #pragma mark - Instance fields /// The `DBFILESSearchMatchTypeTag` enum type represents the possible tag states /// with which the `DBFILESSearchMatchType` union can exist. 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 both its contents and its file name. DBFILESSearchMatchTypeBoth, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBFILESSearchMatchTypeTag 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 "content". /// /// Description of the "content" tag state: This item was matched based on its /// file contents. /// /// @return An initialized instance. /// - (instancetype)initWithContent; /// /// Initializes union class with tag state of "both". /// /// Description of the "both" tag state: This item was matched based on both its /// contents and its file name. /// /// @return An initialized instance. /// - (instancetype)initWithBoth; - (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 "content". /// /// @return Whether the union's current tag state has value "content". /// - (BOOL)isContent; /// /// Retrieves whether the union's current tag state has value "both". /// /// @return Whether the union's current tag state has value "both". /// - (BOOL)isBoth; /// /// 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 `DBFILESSearchMatchType` union. /// @interface DBFILESSearchMatchTypeSerializer : NSObject /// /// Serializes `DBFILESSearchMatchType` instances. /// /// @param instance An instance of the `DBFILESSearchMatchType` API object. /// /// @return A json-compatible dictionary representation of the /// `DBFILESSearchMatchType` API object. /// + (nullable NSDictionary *)serialize:(DBFILESSearchMatchType *)instance; /// /// Deserializes `DBFILESSearchMatchType` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILESSearchMatchType` API object. /// /// @return An instantiation of the `DBFILESSearchMatchType` object. /// + (DBFILESSearchMatchType *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSearchMatchTypeV2.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSearchMatchV2.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSearchMode.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILESSearchMode; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `SearchMode` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILESSearchMode : NSObject #pragma mark - Instance fields /// The `DBFILESSearchModeTag` enum type represents the possible tag states with /// which the `DBFILESSearchMode` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBFILESSearchModeTag){ /// Search file and folder names. DBFILESSearchModeFilename, /// Search file and folder names as well as file contents. DBFILESSearchModeFilenameAndContent, /// Search for deleted file and folder names. DBFILESSearchModeDeletedFilename, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBFILESSearchModeTag tag; #pragma mark - Constructors /// /// Initializes union class with tag state of "filename". /// /// Description of the "filename" tag state: Search file and folder names. /// /// @return An initialized instance. /// - (instancetype)initWithFilename; /// /// Initializes union class with tag state of "filename_and_content". /// /// Description of the "filename_and_content" tag state: Search file and folder /// names as well as file contents. /// /// @return An initialized instance. /// - (instancetype)initWithFilenameAndContent; /// /// Initializes union class with tag state of "deleted_filename". /// /// Description of the "deleted_filename" tag state: Search for deleted file and /// folder names. /// /// @return An initialized instance. /// - (instancetype)initWithDeletedFilename; - (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 /// "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 /// "deleted_filename". /// /// @return Whether the union's current tag state has value "deleted_filename". /// - (BOOL)isDeletedFilename; /// /// 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 `DBFILESSearchMode` union. /// @interface DBFILESSearchModeSerializer : NSObject /// /// Serializes `DBFILESSearchMode` instances. /// /// @param instance An instance of the `DBFILESSearchMode` API object. /// /// @return A json-compatible dictionary representation of the /// `DBFILESSearchMode` API object. /// + (nullable NSDictionary *)serialize:(DBFILESSearchMode *)instance; /// /// Deserializes `DBFILESSearchMode` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILESSearchMode` API object. /// /// @return An instantiation of the `DBFILESSearchMode` object. /// + (DBFILESSearchMode *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSearchOptions.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSearchOrderBy.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSearchResult.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILESSearchMatch; @class DBFILESSearchResult; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `SearchResult` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILESSearchResult : 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 `search` again. @property (nonatomic, readonly) NSNumber *more; /// Used for paging. Value to set the start argument to when calling `search` to /// fetch the next page of results. @property (nonatomic, readonly) NSNumber *start; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param matches A list (possibly empty) of matches for the query. /// @param more Used for paging. If true, indicates there is another page of /// results available that can be fetched by calling `search` again. /// @param start Used for paging. Value to set the start argument to when /// calling `search` to fetch the next page of results. /// /// @return An initialized instance. /// - (instancetype)initWithMatches:(NSArray *)matches more:(NSNumber *)more start:(NSNumber *)start; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `SearchResult` struct. /// @interface DBFILESSearchResultSerializer : NSObject /// /// Serializes `DBFILESSearchResult` instances. /// /// @param instance An instance of the `DBFILESSearchResult` API object. /// /// @return A json-compatible dictionary representation of the /// `DBFILESSearchResult` API object. /// + (nullable NSDictionary *)serialize:(DBFILESSearchResult *)instance; /// /// Deserializes `DBFILESSearchResult` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILESSearchResult` API object. /// /// @return An instantiation of the `DBFILESSearchResult` object. /// + (DBFILESSearchResult *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSearchV2Arg.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSearchV2ContinueArg.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSearchV2Result.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSharedLink.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILESSharedLink; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `SharedLink` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILESSharedLink : NSObject #pragma mark - Instance fields /// Shared link url. @property (nonatomic, readonly, copy) NSString *url; /// Password for the shared link. @property (nonatomic, readonly, copy, nullable) NSString *password; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param url Shared link url. /// @param password Password for the shared link. /// /// @return An initialized instance. /// - (instancetype)initWithUrl:(NSString *)url password:(nullable NSString *)password; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param url Shared link url. /// /// @return An initialized instance. /// - (instancetype)initWithUrl:(NSString *)url; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `SharedLink` struct. /// @interface DBFILESSharedLinkSerializer : NSObject /// /// Serializes `DBFILESSharedLink` instances. /// /// @param instance An instance of the `DBFILESSharedLink` API object. /// /// @return A json-compatible dictionary representation of the /// `DBFILESSharedLink` API object. /// + (nullable NSDictionary *)serialize:(DBFILESSharedLink *)instance; /// /// Deserializes `DBFILESSharedLink` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILESSharedLink` API object. /// /// @return An instantiation of the `DBFILESSharedLink` object. /// + (DBFILESSharedLink *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSharedLinkFileInfo.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSharingInfo.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILESSharingInfo; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `SharingInfo` struct. /// /// Sharing info for a file or folder. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILESSharingInfo : NSObject #pragma mark - Instance fields /// True if the file or folder is inside a read-only shared folder. @property (nonatomic, readonly) NSNumber *readOnly; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param readOnly True if the file or folder is inside a read-only shared /// folder. /// /// @return An initialized instance. /// - (instancetype)initWithReadOnly:(NSNumber *)readOnly; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `SharingInfo` struct. /// @interface DBFILESSharingInfoSerializer : NSObject /// /// Serializes `DBFILESSharingInfo` instances. /// /// @param instance An instance of the `DBFILESSharingInfo` API object. /// /// @return A json-compatible dictionary representation of the /// `DBFILESSharingInfo` API object. /// + (nullable NSDictionary *)serialize:(DBFILESSharingInfo *)instance; /// /// Deserializes `DBFILESSharingInfo` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILESSharingInfo` API object. /// /// @return An instantiation of the `DBFILESSharingInfo` object. /// + (DBFILESSharingInfo *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSingleUserLock.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSymlinkInfo.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSyncSetting.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSyncSettingArg.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSyncSettingsError.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESTag.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESThumbnailArg.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILESThumbnailArg; @class DBFILESThumbnailFormat; @class DBFILESThumbnailMode; @class DBFILESThumbnailSize; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `ThumbnailArg` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILESThumbnailArg : NSObject #pragma mark - Instance fields /// The path to the image file you want to thumbnail. @property (nonatomic, readonly, copy) NSString *path; /// 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 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 An initialized instance. /// - (instancetype)initWithPath:(NSString *)path 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 path The path to the image file you want to thumbnail. /// /// @return An initialized instance. /// - (instancetype)initWithPath:(NSString *)path; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `ThumbnailArg` struct. /// @interface DBFILESThumbnailArgSerializer : NSObject /// /// Serializes `DBFILESThumbnailArg` instances. /// /// @param instance An instance of the `DBFILESThumbnailArg` API object. /// /// @return A json-compatible dictionary representation of the /// `DBFILESThumbnailArg` API object. /// + (nullable NSDictionary *)serialize:(DBFILESThumbnailArg *)instance; /// /// Deserializes `DBFILESThumbnailArg` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILESThumbnailArg` API object. /// /// @return An instantiation of the `DBFILESThumbnailArg` object. /// + (DBFILESThumbnailArg *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESThumbnailError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILESLookupError; @class DBFILESThumbnailError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `ThumbnailError` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILESThumbnailError : NSObject #pragma mark - Instance fields /// The `DBFILESThumbnailErrorTag` enum type represents the possible tag states /// with which the `DBFILESThumbnailError` union can exist. 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 image cannot be converted to a thumbnail. DBFILESThumbnailErrorUnsupportedImage, /// An error occurs during thumbnail conversion. DBFILESThumbnailErrorConversionError, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBFILESThumbnailErrorTag tag; /// An error occurs 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 occurs when downloading /// metadata for the image. /// /// @param path An error occurs 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 occurs during /// thumbnail conversion. /// /// @return An initialized instance. /// - (instancetype)initWithConversionError; - (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 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 `DBFILESThumbnailError` union. /// @interface DBFILESThumbnailErrorSerializer : NSObject /// /// Serializes `DBFILESThumbnailError` instances. /// /// @param instance An instance of the `DBFILESThumbnailError` API object. /// /// @return A json-compatible dictionary representation of the /// `DBFILESThumbnailError` API object. /// + (nullable NSDictionary *)serialize:(DBFILESThumbnailError *)instance; /// /// Deserializes `DBFILESThumbnailError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILESThumbnailError` API object. /// /// @return An instantiation of the `DBFILESThumbnailError` object. /// + (DBFILESThumbnailError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESThumbnailFormat.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILESThumbnailFormat; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `ThumbnailFormat` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILESThumbnailFormat : NSObject #pragma mark - Instance fields /// The `DBFILESThumbnailFormatTag` enum type represents the possible tag states /// with which the `DBFILESThumbnailFormat` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBFILESThumbnailFormatTag){ /// (no description). DBFILESThumbnailFormatJpeg, /// (no description). DBFILESThumbnailFormatPng, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBFILESThumbnailFormatTag tag; #pragma mark - Constructors /// /// Initializes union class with tag state of "jpeg". /// /// @return An initialized instance. /// - (instancetype)initWithJpeg; /// /// Initializes union class with tag state of "png". /// /// @return An initialized instance. /// - (instancetype)initWithPng; - (instancetype)init NS_UNAVAILABLE; #pragma mark - Tag state methods /// /// Retrieves whether the union's current tag state has value "jpeg". /// /// @return Whether the union's current tag state has value "jpeg". /// - (BOOL)isJpeg; /// /// Retrieves whether the union's current tag state has value "png". /// /// @return Whether the union's current tag state has value "png". /// - (BOOL)isPng; /// /// 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 `DBFILESThumbnailFormat` union. /// @interface DBFILESThumbnailFormatSerializer : NSObject /// /// Serializes `DBFILESThumbnailFormat` instances. /// /// @param instance An instance of the `DBFILESThumbnailFormat` API object. /// /// @return A json-compatible dictionary representation of the /// `DBFILESThumbnailFormat` API object. /// + (nullable NSDictionary *)serialize:(DBFILESThumbnailFormat *)instance; /// /// Deserializes `DBFILESThumbnailFormat` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILESThumbnailFormat` API object. /// /// @return An instantiation of the `DBFILESThumbnailFormat` object. /// + (DBFILESThumbnailFormat *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESThumbnailMode.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESThumbnailSize.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILESThumbnailSize; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `ThumbnailSize` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILESThumbnailSize : NSObject #pragma mark - Instance fields /// The `DBFILESThumbnailSizeTag` enum type represents the possible tag states /// with which the `DBFILESThumbnailSize` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBFILESThumbnailSizeTag){ /// 32 by 32 px. DBFILESThumbnailSizeW32h32, /// 64 by 64 px. DBFILESThumbnailSizeW64h64, /// 128 by 128 px. DBFILESThumbnailSizeW128h128, /// 256 by 256 px. DBFILESThumbnailSizeW256h256, /// 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, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBFILESThumbnailSizeTag tag; #pragma mark - Constructors /// /// Initializes union class with tag state of "w32h32". /// /// Description of the "w32h32" tag state: 32 by 32 px. /// /// @return An initialized instance. /// - (instancetype)initWithW32h32; /// /// Initializes union class with tag state of "w64h64". /// /// Description of the "w64h64" tag state: 64 by 64 px. /// /// @return An initialized instance. /// - (instancetype)initWithW64h64; /// /// Initializes union class with tag state of "w128h128". /// /// Description of the "w128h128" tag state: 128 by 128 px. /// /// @return An initialized instance. /// - (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". /// /// Description of the "w640h480" tag state: 640 by 480 px. /// /// @return An initialized instance. /// - (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 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 /// /// Retrieves whether the union's current tag state has value "w32h32". /// /// @return Whether the union's current tag state has value "w32h32". /// - (BOOL)isW32h32; /// /// Retrieves whether the union's current tag state has value "w64h64". /// /// @return Whether the union's current tag state has value "w64h64". /// - (BOOL)isW64h64; /// /// Retrieves whether the union's current tag state has value "w128h128". /// /// @return Whether the union's current tag state has value "w128h128". /// - (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". /// /// @return Whether the union's current tag state has value "w640h480". /// - (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". /// /// @return Whether the union's current tag state has value "w1024h768". /// - (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. /// /// @return A human-readable string representing the union's current tag state. /// - (NSString *)tagName; @end #pragma mark - Serializer Object /// /// The serialization class for the `DBFILESThumbnailSize` union. /// @interface DBFILESThumbnailSizeSerializer : NSObject /// /// Serializes `DBFILESThumbnailSize` instances. /// /// @param instance An instance of the `DBFILESThumbnailSize` API object. /// /// @return A json-compatible dictionary representation of the /// `DBFILESThumbnailSize` API object. /// + (nullable NSDictionary *)serialize:(DBFILESThumbnailSize *)instance; /// /// Deserializes `DBFILESThumbnailSize` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILESThumbnailSize` API object. /// /// @return An instantiation of the `DBFILESThumbnailSize` object. /// + (DBFILESThumbnailSize *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESThumbnailV2Arg.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESThumbnailV2Error.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESUnlockFileArg.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESUnlockFileBatchArg.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESUploadArg.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBFILESCommitInfo.h" #import "DBSerializableProtocol.h" @class DBFILEPROPERTIESPropertyGroup; @class DBFILESUploadArg; @class DBFILESWriteMode; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// 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 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 /// /// Full constructor for the struct (exposes all instance variables). /// /// @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. /// @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. /// - (instancetype)initWithPath:(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; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param path Path in the user's Dropbox to save the file. /// /// @return An initialized instance. /// - (instancetype)initWithPath:(NSString *)path; @end #pragma mark - Serializer Object /// /// The serialization class for the `UploadArg` struct. /// @interface DBFILESUploadArgSerializer : NSObject /// /// Serializes `DBFILESUploadArg` instances. /// /// @param instance An instance of the `DBFILESUploadArg` API object. /// /// @return A json-compatible dictionary representation of the /// `DBFILESUploadArg` API object. /// + (nullable NSDictionary *)serialize:(DBFILESUploadArg *)instance; /// /// Deserializes `DBFILESUploadArg` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILESUploadArg` API object. /// /// @return An instantiation of the `DBFILESUploadArg` object. /// + (DBFILESUploadArg *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESUploadError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILEPROPERTIESInvalidPropertyGroupError; @class DBFILESUploadError; @class DBFILESUploadWriteFailed; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `UploadError` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILESUploadError : NSObject #pragma mark - Instance fields /// The `DBFILESUploadErrorTag` enum type represents the possible tag states /// with which the `DBFILESUploadError` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBFILESUploadErrorTag){ /// Unable to save the uploaded contents to a file. DBFILESUploadErrorPath, /// 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, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBFILESUploadErrorTag 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; /// 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 /// /// 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 "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". /// /// @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 /// "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". /// /// @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 `DBFILESUploadError` union. /// @interface DBFILESUploadErrorSerializer : NSObject /// /// Serializes `DBFILESUploadError` instances. /// /// @param instance An instance of the `DBFILESUploadError` API object. /// /// @return A json-compatible dictionary representation of the /// `DBFILESUploadError` API object. /// + (nullable NSDictionary *)serialize:(DBFILESUploadError *)instance; /// /// Deserializes `DBFILESUploadError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILESUploadError` API object. /// /// @return An instantiation of the `DBFILESUploadError` object. /// + (DBFILESUploadError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESUploadSessionAppendArg.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILESUploadSessionAppendArg; @class DBFILESUploadSessionCursor; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `UploadSessionAppendArg` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILESUploadSessionAppendArg : NSObject #pragma mark - Instance fields /// Contains the upload session ID and the offset. @property (nonatomic, readonly) DBFILESUploadSessionCursor *cursor; /// If true, the current session will be closed, at which point you won't be /// 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 /// /// Full constructor for the struct (exposes all instance variables). /// /// @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 `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 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. /// /// @return An initialized instance. /// - (instancetype)initWithCursor:(DBFILESUploadSessionCursor *)cursor; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `UploadSessionAppendArg` struct. /// @interface DBFILESUploadSessionAppendArgSerializer : NSObject /// /// Serializes `DBFILESUploadSessionAppendArg` instances. /// /// @param instance An instance of the `DBFILESUploadSessionAppendArg` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBFILESUploadSessionAppendArg` API object. /// + (nullable NSDictionary *)serialize:(DBFILESUploadSessionAppendArg *)instance; /// /// Deserializes `DBFILESUploadSessionAppendArg` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILESUploadSessionAppendArg` API object. /// /// @return An instantiation of the `DBFILESUploadSessionAppendArg` object. /// + (DBFILESUploadSessionAppendArg *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESUploadSessionAppendError.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESUploadSessionCursor.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILESUploadSessionCursor; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `UploadSessionCursor` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILESUploadSessionCursor : NSObject #pragma mark - Instance fields /// The upload session ID (returned by `uploadSessionStart`). @property (nonatomic, readonly, copy) NSString *sessionId; /// 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; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param sessionId The upload session ID (returned by `uploadSessionStart`). /// @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. /// /// @return An initialized instance. /// - (instancetype)initWithSessionId:(NSString *)sessionId offset:(NSNumber *)offset; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `UploadSessionCursor` struct. /// @interface DBFILESUploadSessionCursorSerializer : NSObject /// /// Serializes `DBFILESUploadSessionCursor` instances. /// /// @param instance An instance of the `DBFILESUploadSessionCursor` API object. /// /// @return A json-compatible dictionary representation of the /// `DBFILESUploadSessionCursor` API object. /// + (nullable NSDictionary *)serialize:(DBFILESUploadSessionCursor *)instance; /// /// Deserializes `DBFILESUploadSessionCursor` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILESUploadSessionCursor` API object. /// /// @return An instantiation of the `DBFILESUploadSessionCursor` object. /// + (DBFILESUploadSessionCursor *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESUploadSessionFinishArg.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILESCommitInfo; @class DBFILESUploadSessionCursor; @class DBFILESUploadSessionFinishArg; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `UploadSessionFinishArg` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILESUploadSessionFinishArg : NSObject #pragma mark - Instance fields /// Contains the upload session ID and the offset. @property (nonatomic, readonly) DBFILESUploadSessionCursor *cursor; /// 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 /// /// Full constructor for the struct (exposes all instance variables). /// /// @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. /// - (instancetype)initWithCursor:(DBFILESUploadSessionCursor *)cursor commit:(DBFILESCommitInfo *)commit; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `UploadSessionFinishArg` struct. /// @interface DBFILESUploadSessionFinishArgSerializer : NSObject /// /// Serializes `DBFILESUploadSessionFinishArg` instances. /// /// @param instance An instance of the `DBFILESUploadSessionFinishArg` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBFILESUploadSessionFinishArg` API object. /// + (nullable NSDictionary *)serialize:(DBFILESUploadSessionFinishArg *)instance; /// /// Deserializes `DBFILESUploadSessionFinishArg` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILESUploadSessionFinishArg` API object. /// /// @return An instantiation of the `DBFILESUploadSessionFinishArg` object. /// + (DBFILESUploadSessionFinishArg *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESUploadSessionFinishBatchArg.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILESUploadSessionFinishArg; @class DBFILESUploadSessionFinishBatchArg; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `UploadSessionFinishBatchArg` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILESUploadSessionFinishBatchArg : NSObject #pragma mark - Instance fields /// Commit information for each file in the batch. @property (nonatomic, readonly) NSArray *entries; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param entries Commit information for each file in the batch. /// /// @return An initialized instance. /// - (instancetype)initWithEntries:(NSArray *)entries; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `UploadSessionFinishBatchArg` struct. /// @interface DBFILESUploadSessionFinishBatchArgSerializer : NSObject /// /// Serializes `DBFILESUploadSessionFinishBatchArg` instances. /// /// @param instance An instance of the `DBFILESUploadSessionFinishBatchArg` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBFILESUploadSessionFinishBatchArg` API object. /// + (nullable NSDictionary *)serialize:(DBFILESUploadSessionFinishBatchArg *)instance; /// /// Deserializes `DBFILESUploadSessionFinishBatchArg` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILESUploadSessionFinishBatchArg` API object. /// /// @return An instantiation of the `DBFILESUploadSessionFinishBatchArg` object. /// + (DBFILESUploadSessionFinishBatchArg *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESUploadSessionFinishBatchJobStatus.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILESUploadSessionFinishBatchJobStatus; @class DBFILESUploadSessionFinishBatchResult; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `UploadSessionFinishBatchJobStatus` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILESUploadSessionFinishBatchJobStatus : NSObject #pragma mark - Instance fields /// The `DBFILESUploadSessionFinishBatchJobStatusTag` enum type represents the /// possible tag states with which the /// `DBFILESUploadSessionFinishBatchJobStatus` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBFILESUploadSessionFinishBatchJobStatusTag){ /// The asynchronous job is still in progress. DBFILESUploadSessionFinishBatchJobStatusInProgress, /// The `uploadSessionFinishBatch` has finished. DBFILESUploadSessionFinishBatchJobStatusComplete, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBFILESUploadSessionFinishBatchJobStatusTag tag; /// The `uploadSessionFinishBatch` has finished. @note Ensure the `isComplete` /// method returns true before accessing, otherwise a runtime exception will be /// raised. @property (nonatomic, readonly) DBFILESUploadSessionFinishBatchResult *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 `uploadSessionFinishBatch` has /// finished. /// /// @param complete The `uploadSessionFinishBatch` has finished. /// /// @return An initialized instance. /// - (instancetype)initWithComplete:(DBFILESUploadSessionFinishBatchResult *)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 `DBFILESUploadSessionFinishBatchJobStatus` /// union. /// @interface DBFILESUploadSessionFinishBatchJobStatusSerializer : NSObject /// /// Serializes `DBFILESUploadSessionFinishBatchJobStatus` instances. /// /// @param instance An instance of the /// `DBFILESUploadSessionFinishBatchJobStatus` API object. /// /// @return A json-compatible dictionary representation of the /// `DBFILESUploadSessionFinishBatchJobStatus` API object. /// + (nullable NSDictionary *)serialize:(DBFILESUploadSessionFinishBatchJobStatus *)instance; /// /// Deserializes `DBFILESUploadSessionFinishBatchJobStatus` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILESUploadSessionFinishBatchJobStatus` API object. /// /// @return An instantiation of the `DBFILESUploadSessionFinishBatchJobStatus` /// object. /// + (DBFILESUploadSessionFinishBatchJobStatus *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESUploadSessionFinishBatchLaunch.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILESUploadSessionFinishBatchLaunch; @class DBFILESUploadSessionFinishBatchResult; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `UploadSessionFinishBatchLaunch` union. /// /// Result returned by `uploadSessionFinishBatch` 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 DBFILESUploadSessionFinishBatchLaunch : NSObject #pragma mark - Instance fields /// The `DBFILESUploadSessionFinishBatchLaunchTag` enum type represents the /// possible tag states with which the `DBFILESUploadSessionFinishBatchLaunch` /// union can exist. 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). DBFILESUploadSessionFinishBatchLaunchOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBFILESUploadSessionFinishBatchLaunchTag 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) DBFILESUploadSessionFinishBatchResult *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:(DBFILESUploadSessionFinishBatchResult *)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 `DBFILESUploadSessionFinishBatchLaunch` /// union. /// @interface DBFILESUploadSessionFinishBatchLaunchSerializer : NSObject /// /// Serializes `DBFILESUploadSessionFinishBatchLaunch` instances. /// /// @param instance An instance of the `DBFILESUploadSessionFinishBatchLaunch` /// API object. /// /// @return A json-compatible dictionary representation of the /// `DBFILESUploadSessionFinishBatchLaunch` API object. /// + (nullable NSDictionary *)serialize:(DBFILESUploadSessionFinishBatchLaunch *)instance; /// /// Deserializes `DBFILESUploadSessionFinishBatchLaunch` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILESUploadSessionFinishBatchLaunch` API object. /// /// @return An instantiation of the `DBFILESUploadSessionFinishBatchLaunch` /// object. /// + (DBFILESUploadSessionFinishBatchLaunch *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESUploadSessionFinishBatchResult.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILESUploadSessionFinishBatchResult; @class DBFILESUploadSessionFinishBatchResultEntry; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `UploadSessionFinishBatchResult` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILESUploadSessionFinishBatchResult : NSObject #pragma mark - Instance fields /// Each entry in `entries` in `DBFILESUploadSessionFinishBatchArg` will appear /// at the same position inside `entries` in /// `DBFILESUploadSessionFinishBatchResult`. @property (nonatomic, readonly) NSArray *entries; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param entries Each entry in `entries` in /// `DBFILESUploadSessionFinishBatchArg` will appear at the same position inside /// `entries` in `DBFILESUploadSessionFinishBatchResult`. /// /// @return An initialized instance. /// - (instancetype)initWithEntries:(NSArray *)entries; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `UploadSessionFinishBatchResult` struct. /// @interface DBFILESUploadSessionFinishBatchResultSerializer : NSObject /// /// Serializes `DBFILESUploadSessionFinishBatchResult` instances. /// /// @param instance An instance of the `DBFILESUploadSessionFinishBatchResult` /// API object. /// /// @return A json-compatible dictionary representation of the /// `DBFILESUploadSessionFinishBatchResult` API object. /// + (nullable NSDictionary *)serialize:(DBFILESUploadSessionFinishBatchResult *)instance; /// /// Deserializes `DBFILESUploadSessionFinishBatchResult` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILESUploadSessionFinishBatchResult` API object. /// /// @return An instantiation of the `DBFILESUploadSessionFinishBatchResult` /// object. /// + (DBFILESUploadSessionFinishBatchResult *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESUploadSessionFinishBatchResultEntry.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILESFileMetadata; @class DBFILESUploadSessionFinishBatchResultEntry; @class DBFILESUploadSessionFinishError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `UploadSessionFinishBatchResultEntry` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILESUploadSessionFinishBatchResultEntry : NSObject #pragma mark - Instance fields /// The `DBFILESUploadSessionFinishBatchResultEntryTag` enum type represents the /// possible tag states with which the /// `DBFILESUploadSessionFinishBatchResultEntry` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBFILESUploadSessionFinishBatchResultEntryTag){ /// (no description). DBFILESUploadSessionFinishBatchResultEntrySuccess, /// (no description). DBFILESUploadSessionFinishBatchResultEntryFailure, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBFILESUploadSessionFinishBatchResultEntryTag tag; /// (no description). @note Ensure the `isSuccess` method returns true before /// accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) DBFILESFileMetadata *success; /// (no description). @note Ensure the `isFailure` method returns true before /// accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) DBFILESUploadSessionFinishError *failure; #pragma mark - Constructors /// /// Initializes union class with tag state of "success". /// /// @param success (no description). /// /// @return An initialized instance. /// - (instancetype)initWithSuccess:(DBFILESFileMetadata *)success; /// /// Initializes union class with tag state of "failure". /// /// @param failure (no description). /// /// @return An initialized instance. /// - (instancetype)initWithFailure:(DBFILESUploadSessionFinishError *)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 `DBFILESUploadSessionFinishBatchResultEntry` /// union. /// @interface DBFILESUploadSessionFinishBatchResultEntrySerializer : NSObject /// /// Serializes `DBFILESUploadSessionFinishBatchResultEntry` instances. /// /// @param instance An instance of the /// `DBFILESUploadSessionFinishBatchResultEntry` API object. /// /// @return A json-compatible dictionary representation of the /// `DBFILESUploadSessionFinishBatchResultEntry` API object. /// + (nullable NSDictionary *)serialize:(DBFILESUploadSessionFinishBatchResultEntry *)instance; /// /// Deserializes `DBFILESUploadSessionFinishBatchResultEntry` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILESUploadSessionFinishBatchResultEntry` API object. /// /// @return An instantiation of the `DBFILESUploadSessionFinishBatchResultEntry` /// object. /// + (DBFILESUploadSessionFinishBatchResultEntry *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESUploadSessionFinishError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILEPROPERTIESInvalidPropertyGroupError; @class DBFILESUploadSessionFinishError; @class DBFILESUploadSessionLookupError; @class DBFILESWriteError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `UploadSessionFinishError` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILESUploadSessionFinishError : NSObject #pragma mark - Instance fields /// The `DBFILESUploadSessionFinishErrorTag` enum type represents the possible /// tag states with which the `DBFILESUploadSessionFinishError` union can exist. 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. Data has already been /// appended to the upload session. Please retry with empty data body and /// updated offset. DBFILESUploadSessionFinishErrorPath, /// The supplied property group is invalid. The file has uploaded without /// property groups. DBFILESUploadSessionFinishErrorPropertiesError, /// 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, /// 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, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBFILESUploadSessionFinishErrorTag tag; /// The session arguments are incorrect; the value explains the reason. @note /// Ensure the `isLookupFailed` method returns true before accessing, otherwise /// a runtime exception will be raised. @property (nonatomic, readonly) DBFILESUploadSessionLookupError *lookupFailed; /// 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 /// /// Initializes union class with tag state of "lookup_failed". /// /// Description of the "lookup_failed" tag state: The session arguments are /// incorrect; the value explains the reason. /// /// @param lookupFailed The session arguments are incorrect; the value explains /// the reason. /// /// @return An initialized instance. /// - (instancetype)initWithLookupFailed:(DBFILESUploadSessionLookupError *)lookupFailed; /// /// Initializes union class with tag state of "path". /// /// Description of the "path" tag state: 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. /// /// @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". /// /// Description of the "too_many_shared_folder_targets" tag state: The batch /// request commits files into too many different shared folders. Please limit /// your batch request to files contained in a single shared folder. /// /// @return An initialized instance. /// - (instancetype)initWithTooManySharedFolderTargets; /// /// 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 happening in the user's Dropbox. You should retry uploading /// this file. /// /// @return An initialized instance. /// - (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". /// /// @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 "lookup_failed". /// /// @note Call this method and ensure it returns true before accessing the /// `lookupFailed` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value "lookup_failed". /// - (BOOL)isLookupFailed; /// /// 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 /// "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". /// /// @return Whether the union's current tag state has value /// "too_many_shared_folder_targets". /// - (BOOL)isTooManySharedFolderTargets; /// /// 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 /// "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". /// /// @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 `DBFILESUploadSessionFinishError` union. /// @interface DBFILESUploadSessionFinishErrorSerializer : NSObject /// /// Serializes `DBFILESUploadSessionFinishError` instances. /// /// @param instance An instance of the `DBFILESUploadSessionFinishError` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBFILESUploadSessionFinishError` API object. /// + (nullable NSDictionary *)serialize:(DBFILESUploadSessionFinishError *)instance; /// /// Deserializes `DBFILESUploadSessionFinishError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILESUploadSessionFinishError` API object. /// /// @return An instantiation of the `DBFILESUploadSessionFinishError` object. /// + (DBFILESUploadSessionFinishError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESUploadSessionLookupError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILESUploadSessionLookupError; @class DBFILESUploadSessionOffsetError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `UploadSessionLookupError` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILESUploadSessionLookupError : NSObject #pragma mark - Instance fields /// The `DBFILESUploadSessionLookupErrorTag` enum type represents the possible /// tag states with which the `DBFILESUploadSessionLookupError` union can exist. 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, /// 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, /// 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, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBFILESUploadSessionLookupErrorTag 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; - (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 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 `DBFILESUploadSessionLookupError` union. /// @interface DBFILESUploadSessionLookupErrorSerializer : NSObject /// /// Serializes `DBFILESUploadSessionLookupError` instances. /// /// @param instance An instance of the `DBFILESUploadSessionLookupError` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBFILESUploadSessionLookupError` API object. /// + (nullable NSDictionary *)serialize:(DBFILESUploadSessionLookupError *)instance; /// /// Deserializes `DBFILESUploadSessionLookupError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILESUploadSessionLookupError` API object. /// /// @return An instantiation of the `DBFILESUploadSessionLookupError` object. /// + (DBFILESUploadSessionLookupError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESUploadSessionOffsetError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILESUploadSessionOffsetError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `UploadSessionOffsetError` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILESUploadSessionOffsetError : NSObject #pragma mark - Instance fields /// The offset up to which data has been collected. @property (nonatomic, readonly) NSNumber *correctOffset; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param correctOffset The offset up to which data has been collected. /// /// @return An initialized instance. /// - (instancetype)initWithCorrectOffset:(NSNumber *)correctOffset; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `UploadSessionOffsetError` struct. /// @interface DBFILESUploadSessionOffsetErrorSerializer : NSObject /// /// Serializes `DBFILESUploadSessionOffsetError` instances. /// /// @param instance An instance of the `DBFILESUploadSessionOffsetError` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBFILESUploadSessionOffsetError` API object. /// + (nullable NSDictionary *)serialize:(DBFILESUploadSessionOffsetError *)instance; /// /// Deserializes `DBFILESUploadSessionOffsetError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILESUploadSessionOffsetError` API object. /// /// @return An instantiation of the `DBFILESUploadSessionOffsetError` object. /// + (DBFILESUploadSessionOffsetError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESUploadSessionStartArg.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILESUploadSessionStartArg; @class DBFILESUploadSessionType; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `UploadSessionStartArg` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILESUploadSessionStartArg : NSObject #pragma mark - Instance fields /// If true, the current session will be closed, at which point you won't be /// 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 `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 sessionType:(nullable DBFILESUploadSessionType *)sessionType contentHash:(nullable NSString *)contentHash; /// /// 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 `UploadSessionStartArg` struct. /// @interface DBFILESUploadSessionStartArgSerializer : NSObject /// /// Serializes `DBFILESUploadSessionStartArg` instances. /// /// @param instance An instance of the `DBFILESUploadSessionStartArg` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBFILESUploadSessionStartArg` API object. /// + (nullable NSDictionary *)serialize:(DBFILESUploadSessionStartArg *)instance; /// /// Deserializes `DBFILESUploadSessionStartArg` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILESUploadSessionStartArg` API object. /// /// @return An instantiation of the `DBFILESUploadSessionStartArg` object. /// + (DBFILESUploadSessionStartArg *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESUploadSessionStartBatchArg.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESUploadSessionStartBatchResult.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESUploadSessionStartError.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESUploadSessionStartResult.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILESUploadSessionStartResult; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `UploadSessionStartResult` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILESUploadSessionStartResult : NSObject #pragma mark - Instance fields /// A unique identifier for the upload session. Pass this to /// `uploadSessionAppend` and `uploadSessionFinish`. @property (nonatomic, readonly, copy) NSString *sessionId; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param sessionId A unique identifier for the upload session. Pass this to /// `uploadSessionAppend` and `uploadSessionFinish`. /// /// @return An initialized instance. /// - (instancetype)initWithSessionId:(NSString *)sessionId; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `UploadSessionStartResult` struct. /// @interface DBFILESUploadSessionStartResultSerializer : NSObject /// /// Serializes `DBFILESUploadSessionStartResult` instances. /// /// @param instance An instance of the `DBFILESUploadSessionStartResult` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBFILESUploadSessionStartResult` API object. /// + (nullable NSDictionary *)serialize:(DBFILESUploadSessionStartResult *)instance; /// /// Deserializes `DBFILESUploadSessionStartResult` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILESUploadSessionStartResult` API object. /// /// @return An instantiation of the `DBFILESUploadSessionStartResult` object. /// + (DBFILESUploadSessionStartResult *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESUploadSessionType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESUploadWriteFailed.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILESUploadWriteFailed; @class DBFILESWriteError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `UploadWriteFailed` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILESUploadWriteFailed : NSObject #pragma mark - Instance fields /// The reason why the file couldn't be saved. @property (nonatomic, readonly) DBFILESWriteError *reason; /// 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 /// /// 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; 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. /// - (instancetype)initWithReason:(DBFILESWriteError *)reason uploadSessionId:(NSString *)uploadSessionId; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `UploadWriteFailed` struct. /// @interface DBFILESUploadWriteFailedSerializer : NSObject /// /// Serializes `DBFILESUploadWriteFailed` instances. /// /// @param instance An instance of the `DBFILESUploadWriteFailed` API object. /// /// @return A json-compatible dictionary representation of the /// `DBFILESUploadWriteFailed` API object. /// + (nullable NSDictionary *)serialize:(DBFILESUploadWriteFailed *)instance; /// /// Deserializes `DBFILESUploadWriteFailed` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILESUploadWriteFailed` API object. /// /// @return An instantiation of the `DBFILESUploadWriteFailed` object. /// + (DBFILESUploadWriteFailed *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESUserGeneratedTag.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESVideoMetadata.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBFILESMediaMetadata.h" #import "DBSerializableProtocol.h" @class DBFILESDimensions; @class DBFILESGpsCoordinates; @class DBFILESVideoMetadata; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `VideoMetadata` struct. /// /// Metadata for a video. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILESVideoMetadata : DBFILESMediaMetadata #pragma mark - Instance fields /// The duration of the video in milliseconds. @property (nonatomic, readonly, nullable) NSNumber *duration; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param dimensions Dimension of the photo/video. /// @param location The GPS coordinate of the photo/video. /// @param timeTaken The timestamp when the photo/video is taken. /// @param duration The duration of the video in milliseconds. /// /// @return An initialized instance. /// - (instancetype)initWithDimensions:(nullable DBFILESDimensions *)dimensions location:(nullable DBFILESGpsCoordinates *)location timeTaken:(nullable NSDate *)timeTaken duration:(nullable NSNumber *)duration; /// /// 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 `VideoMetadata` struct. /// @interface DBFILESVideoMetadataSerializer : NSObject /// /// Serializes `DBFILESVideoMetadata` instances. /// /// @param instance An instance of the `DBFILESVideoMetadata` API object. /// /// @return A json-compatible dictionary representation of the /// `DBFILESVideoMetadata` API object. /// + (nullable NSDictionary *)serialize:(DBFILESVideoMetadata *)instance; /// /// Deserializes `DBFILESVideoMetadata` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILESVideoMetadata` API object. /// /// @return An instantiation of the `DBFILESVideoMetadata` object. /// + (DBFILESVideoMetadata *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESWriteConflictError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILESWriteConflictError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `WriteConflictError` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILESWriteConflictError : NSObject #pragma mark - Instance fields /// The `DBFILESWriteConflictErrorTag` enum type represents the possible tag /// states with which the `DBFILESWriteConflictError` union can exist. 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 file at an ancestor path, so we couldn't create the required /// parent folders. DBFILESWriteConflictErrorFileAncestor, /// (no description). DBFILESWriteConflictErrorOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBFILESWriteConflictErrorTag tag; #pragma mark - Constructors /// /// Initializes union class with tag state of "file". /// /// Description of the "file" tag state: There's a file in the way. /// /// @return An initialized instance. /// - (instancetype)initWithFile; /// /// Initializes union class with tag state of "folder". /// /// Description of the "folder" tag state: There's a folder in the way. /// /// @return An initialized instance. /// - (instancetype)initWithFolder; /// /// Initializes union class with tag state of "file_ancestor". /// /// Description of the "file_ancestor" tag state: There's a file at an ancestor /// path, so we couldn't create the required parent folders. /// /// @return An initialized instance. /// - (instancetype)initWithFileAncestor; /// /// 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". /// /// @return Whether the union's current tag state has value "file". /// - (BOOL)isFile; /// /// 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 "file_ancestor". /// /// @return Whether the union's current tag state has value "file_ancestor". /// - (BOOL)isFileAncestor; /// /// 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 `DBFILESWriteConflictError` union. /// @interface DBFILESWriteConflictErrorSerializer : NSObject /// /// Serializes `DBFILESWriteConflictError` instances. /// /// @param instance An instance of the `DBFILESWriteConflictError` API object. /// /// @return A json-compatible dictionary representation of the /// `DBFILESWriteConflictError` API object. /// + (nullable NSDictionary *)serialize:(DBFILESWriteConflictError *)instance; /// /// Deserializes `DBFILESWriteConflictError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILESWriteConflictError` API object. /// /// @return An instantiation of the `DBFILESWriteConflictError` object. /// + (DBFILESWriteConflictError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESWriteError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILESWriteConflictError; @class DBFILESWriteError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `WriteError` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILESWriteError : NSObject #pragma mark - Instance fields /// The `DBFILESWriteErrorTag` enum type represents the possible tag states with /// which the `DBFILESWriteError` union can exist. 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, /// 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, /// Dropbox will not save the file or folder because of its name. DBFILESWriteErrorDisallowedName, /// This endpoint cannot move or delete team folders. DBFILESWriteErrorTeamFolder, /// 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; /// 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; /// Couldn't write to the target path because there was something in the way. /// @note Ensure the `isConflict` method returns true before accessing, /// otherwise a runtime exception will be raised. @property (nonatomic, readonly) DBFILESWriteConflictError *conflict; #pragma mark - Constructors /// /// Initializes union class with tag state of "malformed_path". /// /// 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. /// - (instancetype)initWithMalformedPath:(nullable NSString *)malformedPath; /// /// Initializes union class with tag state of "conflict". /// /// Description of the "conflict" tag state: Couldn't write to the target path /// because there was something in the way. /// /// @param conflict Couldn't write to the target path because there was /// something in the way. /// /// @return An initialized instance. /// - (instancetype)initWithConflict:(DBFILESWriteConflictError *)conflict; /// /// Initializes union class with tag state of "no_write_permission". /// /// Description of the "no_write_permission" tag state: The user doesn't have /// permissions to write to the target location. /// /// @return An initialized instance. /// - (instancetype)initWithNoWritePermission; /// /// Initializes union class with tag state of "insufficient_space". /// /// Description of the "insufficient_space" tag state: The user doesn't have /// enough available space (bytes) to write more data. /// /// @return An initialized instance. /// - (instancetype)initWithInsufficientSpace; /// /// Initializes union class with tag state of "disallowed_name". /// /// Description of the "disallowed_name" tag state: Dropbox will not save the /// file or folder because of its name. /// /// @return An initialized instance. /// - (instancetype)initWithDisallowedName; /// /// Initializes union class with tag state of "team_folder". /// /// Description of the "team_folder" tag state: This endpoint cannot move or /// delete team folders. /// /// @return An initialized instance. /// - (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". /// /// @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_path". /// /// @note Call this method and ensure it returns true before accessing the /// `malformedPath` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value "malformed_path". /// - (BOOL)isMalformedPath; /// /// Retrieves whether the union's current tag state has value "conflict". /// /// @note Call this method and ensure it returns true before accessing the /// `conflict` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value "conflict". /// - (BOOL)isConflict; /// /// 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 /// "insufficient_space". /// /// @return Whether the union's current tag state has value /// "insufficient_space". /// - (BOOL)isInsufficientSpace; /// /// Retrieves whether the union's current tag state has value "disallowed_name". /// /// @return Whether the union's current tag state has value "disallowed_name". /// - (BOOL)isDisallowedName; /// /// Retrieves whether the union's current tag state has value "team_folder". /// /// @return Whether the union's current tag state has value "team_folder". /// - (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". /// /// @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 `DBFILESWriteError` union. /// @interface DBFILESWriteErrorSerializer : NSObject /// /// Serializes `DBFILESWriteError` instances. /// /// @param instance An instance of the `DBFILESWriteError` API object. /// /// @return A json-compatible dictionary representation of the /// `DBFILESWriteError` API object. /// + (nullable NSDictionary *)serialize:(DBFILESWriteError *)instance; /// /// Deserializes `DBFILESWriteError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILESWriteError` API object. /// /// @return An instantiation of the `DBFILESWriteError` object. /// + (DBFILESWriteError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESWriteMode.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILESWriteMode; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `WriteMode` union. /// /// Your intent when writing a file to some path. This is used to determine what /// constitutes a conflict and what the autorename strategy is. In some /// situations, the conflict behavior is identical: (a) If the target path /// doesn't refer to anything, the file is always written; no conflict. (b) If /// the target path refers to a folder, it's always a conflict. (c) If the /// target path refers to a file with identical contents, nothing gets written; /// no conflict. The conflict checking differs in the case where there's a file /// at the target path with contents different from the contents you're trying /// to write. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBFILESWriteMode : NSObject #pragma mark - Instance fields /// The `DBFILESWriteModeTag` enum type represents the possible tag states with /// which the `DBFILESWriteMode` union can exist. 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 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 /// `isUpdate` method returns true before accessing, otherwise a runtime /// exception will be raised. @property (nonatomic, readonly, copy) NSString *update; #pragma mark - Constructors /// /// Initializes union class with tag state of "add". /// /// Description of the "add" tag state: 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". /// /// @return An initialized instance. /// - (instancetype)initWithAdd; /// /// Initializes union class with tag state of "overwrite". /// /// Description of the "overwrite" tag state: Always overwrite the existing /// file. The autorename strategy is the same as it is for add. /// /// @return An initialized instance. /// - (instancetype)initWithOverwrite; /// /// 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 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 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. /// - (instancetype)initWithUpdate:(NSString *)update; - (instancetype)init NS_UNAVAILABLE; #pragma mark - Tag state methods /// /// Retrieves whether the union's current tag state has value "add". /// /// @return Whether the union's current tag state has value "add". /// - (BOOL)isAdd; /// /// 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 "update". /// /// @note Call this method and ensure it returns true before accessing the /// `update` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value "update". /// - (BOOL)isUpdate; /// /// 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 `DBFILESWriteMode` union. /// @interface DBFILESWriteModeSerializer : NSObject /// /// Serializes `DBFILESWriteMode` instances. /// /// @param instance An instance of the `DBFILESWriteMode` API object. /// /// @return A json-compatible dictionary representation of the /// `DBFILESWriteMode` API object. /// + (nullable NSDictionary *)serialize:(DBFILESWriteMode *)instance; /// /// Deserializes `DBFILESWriteMode` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBFILESWriteMode` API object. /// /// @return An instantiation of the `DBFILESWriteMode` object. /// + (DBFILESWriteMode *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Openid/DBOpenidObjects.m ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Openid/Headers/DBOPENIDOpenIdError.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Openid/Headers/DBOPENIDUserInfoArgs.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBOPENIDUserInfoArgs; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `UserInfoArgs` struct. /// /// 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 DBOPENIDUserInfoArgs : 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 `UserInfoArgs` struct. /// @interface DBOPENIDUserInfoArgsSerializer : NSObject /// /// Serializes `DBOPENIDUserInfoArgs` instances. /// /// @param instance An instance of the `DBOPENIDUserInfoArgs` API object. /// /// @return A json-compatible dictionary representation of the /// `DBOPENIDUserInfoArgs` API object. /// + (nullable NSDictionary *)serialize:(DBOPENIDUserInfoArgs *)instance; /// /// Deserializes `DBOPENIDUserInfoArgs` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBOPENIDUserInfoArgs` API object. /// /// @return An instantiation of the `DBOPENIDUserInfoArgs` object. /// + (DBOPENIDUserInfoArgs *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Openid/Headers/DBOPENIDUserInfoError.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Openid/Headers/DBOPENIDUserInfoResult.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/DBPaperObjects.m ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// /// Arguments, results, and errors for the `Paper` namespace. #import "DBPAPERAddMember.h" #import "DBPAPERPaperDocPermissionLevel.h" #import "DBSHARINGMemberSelector.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBPAPERAddMember #pragma mark - Constructors - (instancetype)initWithMember:(DBSHARINGMemberSelector *)member permissionLevel:(DBPAPERPaperDocPermissionLevel *)permissionLevel { [DBStoneValidators nonnullValidator:nil](member); self = [super init]; if (self) { _permissionLevel = permissionLevel ?: [[DBPAPERPaperDocPermissionLevel alloc] initWithEdit]; _member = member; } return self; } - (instancetype)initWithMember:(DBSHARINGMemberSelector *)member { return [self initWithMember:member permissionLevel:nil]; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBPAPERAddMemberSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBPAPERAddMemberSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBPAPERAddMemberSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.member hash]; result = prime * result + [self.permissionLevel hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToAddMember:other]; } - (BOOL)isEqualToAddMember:(DBPAPERAddMember *)anAddMember { if (self == anAddMember) { return YES; } if (![self.member isEqual:anAddMember.member]) { return NO; } if (![self.permissionLevel isEqual:anAddMember.permissionLevel]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBPAPERAddMemberSerializer + (NSDictionary *)serialize:(DBPAPERAddMember *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"member"] = [DBSHARINGMemberSelectorSerializer serialize:valueObj.member]; jsonDict[@"permission_level"] = [DBPAPERPaperDocPermissionLevelSerializer serialize:valueObj.permissionLevel]; return jsonDict; } + (DBPAPERAddMember *)deserialize:(NSDictionary *)valueDict { DBSHARINGMemberSelector *member = [DBSHARINGMemberSelectorSerializer deserialize:valueDict[@"member"]]; DBPAPERPaperDocPermissionLevel *permissionLevel = valueDict[@"permission_level"] ? [DBPAPERPaperDocPermissionLevelSerializer deserialize:valueDict[@"permission_level"]] : [[DBPAPERPaperDocPermissionLevel alloc] initWithEdit]; return [[DBPAPERAddMember alloc] initWithMember:member permissionLevel:permissionLevel]; } @end #import "DBPAPERRefPaperDoc.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBPAPERRefPaperDoc #pragma mark - Constructors - (instancetype)initWithDocId:(NSString *)docId { [DBStoneValidators nonnullValidator:nil](docId); self = [super init]; if (self) { _docId = docId; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBPAPERRefPaperDocSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBPAPERRefPaperDocSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBPAPERRefPaperDocSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToRefPaperDoc:other]; } - (BOOL)isEqualToRefPaperDoc:(DBPAPERRefPaperDoc *)aRefPaperDoc { if (self == aRefPaperDoc) { return YES; } if (![self.docId isEqual:aRefPaperDoc.docId]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBPAPERRefPaperDocSerializer + (NSDictionary *)serialize:(DBPAPERRefPaperDoc *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"doc_id"] = valueObj.docId; return jsonDict; } + (DBPAPERRefPaperDoc *)deserialize:(NSDictionary *)valueDict { NSString *docId = valueDict[@"doc_id"]; return [[DBPAPERRefPaperDoc alloc] initWithDocId:docId]; } @end #import "DBPAPERAddMember.h" #import "DBPAPERAddPaperDocUser.h" #import "DBPAPERRefPaperDoc.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBPAPERAddPaperDocUser #pragma mark - Constructors - (instancetype)initWithDocId:(NSString *)docId members:(NSArray *)members customMessage:(NSString *)customMessage quiet:(NSNumber *)quiet { [DBStoneValidators nonnullValidator:nil](docId); [DBStoneValidators nonnullValidator:[DBStoneValidators arrayValidator:nil maxItems:@(20) itemValidator:[DBStoneValidators nonnullValidator:nil]]](members); self = [super initWithDocId:docId]; if (self) { _members = members; _customMessage = customMessage; _quiet = quiet ?: @NO; } return self; } - (instancetype)initWithDocId:(NSString *)docId members:(NSArray *)members { return [self initWithDocId:docId members:members customMessage:nil quiet:nil]; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBPAPERAddPaperDocUserSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBPAPERAddPaperDocUserSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBPAPERAddPaperDocUserSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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.members hash]; if (self.customMessage != nil) { result = prime * result + [self.customMessage hash]; } result = prime * result + [self.quiet hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToAddPaperDocUser:other]; } - (BOOL)isEqualToAddPaperDocUser:(DBPAPERAddPaperDocUser *)anAddPaperDocUser { if (self == anAddPaperDocUser) { return YES; } if (![self.docId isEqual:anAddPaperDocUser.docId]) { return NO; } if (![self.members isEqual:anAddPaperDocUser.members]) { return NO; } if (self.customMessage) { if (![self.customMessage isEqual:anAddPaperDocUser.customMessage]) { return NO; } } if (![self.quiet isEqual:anAddPaperDocUser.quiet]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBPAPERAddPaperDocUserSerializer + (NSDictionary *)serialize:(DBPAPERAddPaperDocUser *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"doc_id"] = valueObj.docId; jsonDict[@"members"] = [DBArraySerializer serialize:valueObj.members withBlock:^id(id elem0) { return [DBPAPERAddMemberSerializer serialize:elem0]; }]; if (valueObj.customMessage) { jsonDict[@"custom_message"] = valueObj.customMessage; } jsonDict[@"quiet"] = valueObj.quiet; return jsonDict; } + (DBPAPERAddPaperDocUser *)deserialize:(NSDictionary *)valueDict { NSString *docId = valueDict[@"doc_id"]; NSArray *members = [DBArraySerializer deserialize:valueDict[@"members"] withBlock:^id(id elem0) { return [DBPAPERAddMemberSerializer deserialize:elem0]; }]; NSString *customMessage = valueDict[@"custom_message"] ?: nil; NSNumber *quiet = valueDict[@"quiet"] ?: @NO; return [[DBPAPERAddPaperDocUser alloc] initWithDocId:docId members:members customMessage:customMessage quiet:quiet]; } @end #import "DBPAPERAddPaperDocUserMemberResult.h" #import "DBPAPERAddPaperDocUserResult.h" #import "DBSHARINGMemberSelector.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBPAPERAddPaperDocUserMemberResult #pragma mark - Constructors - (instancetype)initWithMember:(DBSHARINGMemberSelector *)member result:(DBPAPERAddPaperDocUserResult *)result { [DBStoneValidators nonnullValidator:nil](member); [DBStoneValidators nonnullValidator:nil](result); self = [super init]; if (self) { _member = member; _result = result; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBPAPERAddPaperDocUserMemberResultSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBPAPERAddPaperDocUserMemberResultSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBPAPERAddPaperDocUserMemberResultSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.member hash]; 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 isEqualToAddPaperDocUserMemberResult:other]; } - (BOOL)isEqualToAddPaperDocUserMemberResult:(DBPAPERAddPaperDocUserMemberResult *)anAddPaperDocUserMemberResult { if (self == anAddPaperDocUserMemberResult) { return YES; } if (![self.member isEqual:anAddPaperDocUserMemberResult.member]) { return NO; } if (![self.result isEqual:anAddPaperDocUserMemberResult.result]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBPAPERAddPaperDocUserMemberResultSerializer + (NSDictionary *)serialize:(DBPAPERAddPaperDocUserMemberResult *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"member"] = [DBSHARINGMemberSelectorSerializer serialize:valueObj.member]; jsonDict[@"result"] = [DBPAPERAddPaperDocUserResultSerializer serialize:valueObj.result]; return jsonDict; } + (DBPAPERAddPaperDocUserMemberResult *)deserialize:(NSDictionary *)valueDict { DBSHARINGMemberSelector *member = [DBSHARINGMemberSelectorSerializer deserialize:valueDict[@"member"]]; DBPAPERAddPaperDocUserResult *result = [DBPAPERAddPaperDocUserResultSerializer deserialize:valueDict[@"result"]]; return [[DBPAPERAddPaperDocUserMemberResult alloc] initWithMember:member result:result]; } @end #import "DBPAPERAddPaperDocUserResult.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBPAPERAddPaperDocUserResult #pragma mark - Constructors - (instancetype)initWithSuccess { self = [super init]; if (self) { _tag = DBPAPERAddPaperDocUserResultSuccess; } return self; } - (instancetype)initWithUnknownError { self = [super init]; if (self) { _tag = DBPAPERAddPaperDocUserResultUnknownError; } return self; } - (instancetype)initWithSharingOutsideTeamDisabled { self = [super init]; if (self) { _tag = DBPAPERAddPaperDocUserResultSharingOutsideTeamDisabled; } return self; } - (instancetype)initWithDailyLimitReached { self = [super init]; if (self) { _tag = DBPAPERAddPaperDocUserResultDailyLimitReached; } return self; } - (instancetype)initWithUserIsOwner { self = [super init]; if (self) { _tag = DBPAPERAddPaperDocUserResultUserIsOwner; } return self; } - (instancetype)initWithFailedUserDataRetrieval { self = [super init]; if (self) { _tag = DBPAPERAddPaperDocUserResultFailedUserDataRetrieval; } return self; } - (instancetype)initWithPermissionAlreadyGranted { self = [super init]; if (self) { _tag = DBPAPERAddPaperDocUserResultPermissionAlreadyGranted; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBPAPERAddPaperDocUserResultOther; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isSuccess { return _tag == DBPAPERAddPaperDocUserResultSuccess; } - (BOOL)isUnknownError { return _tag == DBPAPERAddPaperDocUserResultUnknownError; } - (BOOL)isSharingOutsideTeamDisabled { return _tag == DBPAPERAddPaperDocUserResultSharingOutsideTeamDisabled; } - (BOOL)isDailyLimitReached { return _tag == DBPAPERAddPaperDocUserResultDailyLimitReached; } - (BOOL)isUserIsOwner { return _tag == DBPAPERAddPaperDocUserResultUserIsOwner; } - (BOOL)isFailedUserDataRetrieval { return _tag == DBPAPERAddPaperDocUserResultFailedUserDataRetrieval; } - (BOOL)isPermissionAlreadyGranted { return _tag == DBPAPERAddPaperDocUserResultPermissionAlreadyGranted; } - (BOOL)isOther { return _tag == DBPAPERAddPaperDocUserResultOther; } - (NSString *)tagName { switch (_tag) { case DBPAPERAddPaperDocUserResultSuccess: return @"DBPAPERAddPaperDocUserResultSuccess"; case DBPAPERAddPaperDocUserResultUnknownError: return @"DBPAPERAddPaperDocUserResultUnknownError"; case DBPAPERAddPaperDocUserResultSharingOutsideTeamDisabled: return @"DBPAPERAddPaperDocUserResultSharingOutsideTeamDisabled"; case DBPAPERAddPaperDocUserResultDailyLimitReached: return @"DBPAPERAddPaperDocUserResultDailyLimitReached"; case DBPAPERAddPaperDocUserResultUserIsOwner: return @"DBPAPERAddPaperDocUserResultUserIsOwner"; case DBPAPERAddPaperDocUserResultFailedUserDataRetrieval: return @"DBPAPERAddPaperDocUserResultFailedUserDataRetrieval"; case DBPAPERAddPaperDocUserResultPermissionAlreadyGranted: return @"DBPAPERAddPaperDocUserResultPermissionAlreadyGranted"; case DBPAPERAddPaperDocUserResultOther: return @"DBPAPERAddPaperDocUserResultOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBPAPERAddPaperDocUserResultSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBPAPERAddPaperDocUserResultSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBPAPERAddPaperDocUserResultSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToAddPaperDocUserResult:other]; } - (BOOL)isEqualToAddPaperDocUserResult:(DBPAPERAddPaperDocUserResult *)anAddPaperDocUserResult { if (self == anAddPaperDocUserResult) { return YES; } if (self.tag != anAddPaperDocUserResult.tag) { return NO; } switch (_tag) { case DBPAPERAddPaperDocUserResultSuccess: return [[self tagName] isEqual:[anAddPaperDocUserResult tagName]]; case DBPAPERAddPaperDocUserResultUnknownError: return [[self tagName] isEqual:[anAddPaperDocUserResult tagName]]; case DBPAPERAddPaperDocUserResultSharingOutsideTeamDisabled: return [[self tagName] isEqual:[anAddPaperDocUserResult tagName]]; case DBPAPERAddPaperDocUserResultDailyLimitReached: return [[self tagName] isEqual:[anAddPaperDocUserResult tagName]]; case DBPAPERAddPaperDocUserResultUserIsOwner: return [[self tagName] isEqual:[anAddPaperDocUserResult tagName]]; case DBPAPERAddPaperDocUserResultFailedUserDataRetrieval: return [[self tagName] isEqual:[anAddPaperDocUserResult tagName]]; case DBPAPERAddPaperDocUserResultPermissionAlreadyGranted: return [[self tagName] isEqual:[anAddPaperDocUserResult tagName]]; case DBPAPERAddPaperDocUserResultOther: return [[self tagName] isEqual:[anAddPaperDocUserResult tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBPAPERAddPaperDocUserResultSerializer + (NSDictionary *)serialize:(DBPAPERAddPaperDocUserResult *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isSuccess]) { jsonDict[@".tag"] = @"success"; } else if ([valueObj isUnknownError]) { jsonDict[@".tag"] = @"unknown_error"; } else if ([valueObj isSharingOutsideTeamDisabled]) { jsonDict[@".tag"] = @"sharing_outside_team_disabled"; } else if ([valueObj isDailyLimitReached]) { jsonDict[@".tag"] = @"daily_limit_reached"; } else if ([valueObj isUserIsOwner]) { jsonDict[@".tag"] = @"user_is_owner"; } else if ([valueObj isFailedUserDataRetrieval]) { jsonDict[@".tag"] = @"failed_user_data_retrieval"; } else if ([valueObj isPermissionAlreadyGranted]) { jsonDict[@".tag"] = @"permission_already_granted"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBPAPERAddPaperDocUserResult *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"success"]) { return [[DBPAPERAddPaperDocUserResult alloc] initWithSuccess]; } else if ([tag isEqualToString:@"unknown_error"]) { return [[DBPAPERAddPaperDocUserResult alloc] initWithUnknownError]; } else if ([tag isEqualToString:@"sharing_outside_team_disabled"]) { return [[DBPAPERAddPaperDocUserResult alloc] initWithSharingOutsideTeamDisabled]; } else if ([tag isEqualToString:@"daily_limit_reached"]) { return [[DBPAPERAddPaperDocUserResult alloc] initWithDailyLimitReached]; } else if ([tag isEqualToString:@"user_is_owner"]) { return [[DBPAPERAddPaperDocUserResult alloc] initWithUserIsOwner]; } else if ([tag isEqualToString:@"failed_user_data_retrieval"]) { return [[DBPAPERAddPaperDocUserResult alloc] initWithFailedUserDataRetrieval]; } else if ([tag isEqualToString:@"permission_already_granted"]) { return [[DBPAPERAddPaperDocUserResult alloc] initWithPermissionAlreadyGranted]; } else if ([tag isEqualToString:@"other"]) { return [[DBPAPERAddPaperDocUserResult alloc] initWithOther]; } else { return [[DBPAPERAddPaperDocUserResult alloc] initWithOther]; } } @end #import "DBPAPERCursor.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBPAPERCursor #pragma mark - Constructors - (instancetype)initWithValue:(NSString *)value expiration:(NSDate *)expiration { [DBStoneValidators nonnullValidator:nil](value); self = [super init]; if (self) { _value = value; _expiration = expiration; } return self; } - (instancetype)initWithValue:(NSString *)value { return [self initWithValue:value expiration:nil]; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBPAPERCursorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBPAPERCursorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBPAPERCursorSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.value hash]; if (self.expiration != nil) { result = prime * result + [self.expiration hash]; } return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToCursor:other]; } - (BOOL)isEqualToCursor:(DBPAPERCursor *)aCursor { if (self == aCursor) { return YES; } if (![self.value isEqual:aCursor.value]) { return NO; } if (self.expiration) { if (![self.expiration isEqual:aCursor.expiration]) { return NO; } } return YES; } @end #pragma mark - Serializer Object @implementation DBPAPERCursorSerializer + (NSDictionary *)serialize:(DBPAPERCursor *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"value"] = valueObj.value; if (valueObj.expiration) { jsonDict[@"expiration"] = [DBNSDateSerializer serialize:valueObj.expiration dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; } return jsonDict; } + (DBPAPERCursor *)deserialize:(NSDictionary *)valueDict { NSString *value = valueDict[@"value"]; NSDate *expiration = valueDict[@"expiration"] ? [DBNSDateSerializer deserialize:valueDict[@"expiration"] dateFormat:@"%Y-%m-%dT%H:%M:%SZ"] : nil; return [[DBPAPERCursor alloc] initWithValue:value expiration:expiration]; } @end #import "DBPAPERPaperApiBaseError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBPAPERPaperApiBaseError #pragma mark - Constructors - (instancetype)initWithInsufficientPermissions { self = [super init]; if (self) { _tag = DBPAPERPaperApiBaseErrorInsufficientPermissions; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBPAPERPaperApiBaseErrorOther; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isInsufficientPermissions { return _tag == DBPAPERPaperApiBaseErrorInsufficientPermissions; } - (BOOL)isOther { return _tag == DBPAPERPaperApiBaseErrorOther; } - (NSString *)tagName { switch (_tag) { case DBPAPERPaperApiBaseErrorInsufficientPermissions: return @"DBPAPERPaperApiBaseErrorInsufficientPermissions"; case DBPAPERPaperApiBaseErrorOther: return @"DBPAPERPaperApiBaseErrorOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBPAPERPaperApiBaseErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBPAPERPaperApiBaseErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBPAPERPaperApiBaseErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 DBPAPERPaperApiBaseErrorInsufficientPermissions: result = prime * result + [[self tagName] hash]; break; case DBPAPERPaperApiBaseErrorOther: 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 isEqualToPaperApiBaseError:other]; } - (BOOL)isEqualToPaperApiBaseError:(DBPAPERPaperApiBaseError *)aPaperApiBaseError { if (self == aPaperApiBaseError) { return YES; } if (self.tag != aPaperApiBaseError.tag) { return NO; } switch (_tag) { case DBPAPERPaperApiBaseErrorInsufficientPermissions: return [[self tagName] isEqual:[aPaperApiBaseError tagName]]; case DBPAPERPaperApiBaseErrorOther: return [[self tagName] isEqual:[aPaperApiBaseError tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBPAPERPaperApiBaseErrorSerializer + (NSDictionary *)serialize:(DBPAPERPaperApiBaseError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isInsufficientPermissions]) { jsonDict[@".tag"] = @"insufficient_permissions"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBPAPERPaperApiBaseError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"insufficient_permissions"]) { return [[DBPAPERPaperApiBaseError alloc] initWithInsufficientPermissions]; } else if ([tag isEqualToString:@"other"]) { return [[DBPAPERPaperApiBaseError alloc] initWithOther]; } else { return [[DBPAPERPaperApiBaseError alloc] initWithOther]; } } @end #import "DBPAPERDocLookupError.h" #import "DBPAPERPaperApiBaseError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBPAPERDocLookupError #pragma mark - Constructors - (instancetype)initWithInsufficientPermissions { self = [super init]; if (self) { _tag = DBPAPERDocLookupErrorInsufficientPermissions; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBPAPERDocLookupErrorOther; } return self; } - (instancetype)initWithDocNotFound { self = [super init]; if (self) { _tag = DBPAPERDocLookupErrorDocNotFound; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isInsufficientPermissions { return _tag == DBPAPERDocLookupErrorInsufficientPermissions; } - (BOOL)isOther { return _tag == DBPAPERDocLookupErrorOther; } - (BOOL)isDocNotFound { return _tag == DBPAPERDocLookupErrorDocNotFound; } - (NSString *)tagName { switch (_tag) { case DBPAPERDocLookupErrorInsufficientPermissions: return @"DBPAPERDocLookupErrorInsufficientPermissions"; case DBPAPERDocLookupErrorOther: return @"DBPAPERDocLookupErrorOther"; case DBPAPERDocLookupErrorDocNotFound: return @"DBPAPERDocLookupErrorDocNotFound"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBPAPERDocLookupErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBPAPERDocLookupErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBPAPERDocLookupErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToDocLookupError:other]; } - (BOOL)isEqualToDocLookupError:(DBPAPERDocLookupError *)aDocLookupError { if (self == aDocLookupError) { return YES; } if (self.tag != aDocLookupError.tag) { return NO; } switch (_tag) { case DBPAPERDocLookupErrorInsufficientPermissions: return [[self tagName] isEqual:[aDocLookupError tagName]]; case DBPAPERDocLookupErrorOther: return [[self tagName] isEqual:[aDocLookupError tagName]]; case DBPAPERDocLookupErrorDocNotFound: return [[self tagName] isEqual:[aDocLookupError tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBPAPERDocLookupErrorSerializer + (NSDictionary *)serialize:(DBPAPERDocLookupError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isInsufficientPermissions]) { jsonDict[@".tag"] = @"insufficient_permissions"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else if ([valueObj isDocNotFound]) { jsonDict[@".tag"] = @"doc_not_found"; } else { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBPAPERDocLookupError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"insufficient_permissions"]) { return [[DBPAPERDocLookupError alloc] initWithInsufficientPermissions]; } else if ([tag isEqualToString:@"other"]) { return [[DBPAPERDocLookupError alloc] initWithOther]; } else if ([tag isEqualToString:@"doc_not_found"]) { return [[DBPAPERDocLookupError alloc] initWithDocNotFound]; } else { return [[DBPAPERDocLookupError alloc] initWithOther]; } } @end #import "DBPAPERDocSubscriptionLevel.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBPAPERDocSubscriptionLevel #pragma mark - Constructors - (instancetype)initWithDefault_ { self = [super init]; if (self) { _tag = DBPAPERDocSubscriptionLevelDefault_; } return self; } - (instancetype)initWithIgnore { self = [super init]; if (self) { _tag = DBPAPERDocSubscriptionLevelIgnore; } return self; } - (instancetype)initWithEvery { self = [super init]; if (self) { _tag = DBPAPERDocSubscriptionLevelEvery; } return self; } - (instancetype)initWithNoEmail { self = [super init]; if (self) { _tag = DBPAPERDocSubscriptionLevelNoEmail; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isDefault_ { return _tag == DBPAPERDocSubscriptionLevelDefault_; } - (BOOL)isIgnore { return _tag == DBPAPERDocSubscriptionLevelIgnore; } - (BOOL)isEvery { return _tag == DBPAPERDocSubscriptionLevelEvery; } - (BOOL)isNoEmail { return _tag == DBPAPERDocSubscriptionLevelNoEmail; } - (NSString *)tagName { switch (_tag) { case DBPAPERDocSubscriptionLevelDefault_: return @"DBPAPERDocSubscriptionLevelDefault_"; case DBPAPERDocSubscriptionLevelIgnore: return @"DBPAPERDocSubscriptionLevelIgnore"; case DBPAPERDocSubscriptionLevelEvery: return @"DBPAPERDocSubscriptionLevelEvery"; case DBPAPERDocSubscriptionLevelNoEmail: return @"DBPAPERDocSubscriptionLevelNoEmail"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBPAPERDocSubscriptionLevelSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBPAPERDocSubscriptionLevelSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBPAPERDocSubscriptionLevelSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToDocSubscriptionLevel:other]; } - (BOOL)isEqualToDocSubscriptionLevel:(DBPAPERDocSubscriptionLevel *)aDocSubscriptionLevel { if (self == aDocSubscriptionLevel) { return YES; } if (self.tag != aDocSubscriptionLevel.tag) { return NO; } switch (_tag) { case DBPAPERDocSubscriptionLevelDefault_: return [[self tagName] isEqual:[aDocSubscriptionLevel tagName]]; case DBPAPERDocSubscriptionLevelIgnore: return [[self tagName] isEqual:[aDocSubscriptionLevel tagName]]; case DBPAPERDocSubscriptionLevelEvery: return [[self tagName] isEqual:[aDocSubscriptionLevel tagName]]; case DBPAPERDocSubscriptionLevelNoEmail: return [[self tagName] isEqual:[aDocSubscriptionLevel tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBPAPERDocSubscriptionLevelSerializer + (NSDictionary *)serialize:(DBPAPERDocSubscriptionLevel *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isDefault_]) { jsonDict[@".tag"] = @"default"; } else if ([valueObj isIgnore]) { jsonDict[@".tag"] = @"ignore"; } else if ([valueObj isEvery]) { jsonDict[@".tag"] = @"every"; } else if ([valueObj isNoEmail]) { jsonDict[@".tag"] = @"no_email"; } else { @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Object not properly initialized. Tag has an unknown value." userInfo:nil]); } return jsonDict; } + (DBPAPERDocSubscriptionLevel *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"default"]) { return [[DBPAPERDocSubscriptionLevel alloc] initWithDefault_]; } else if ([tag isEqualToString:@"ignore"]) { return [[DBPAPERDocSubscriptionLevel alloc] initWithIgnore]; } else if ([tag isEqualToString:@"every"]) { return [[DBPAPERDocSubscriptionLevel alloc] initWithEvery]; } else if ([tag isEqualToString:@"no_email"]) { return [[DBPAPERDocSubscriptionLevel alloc] initWithNoEmail]; } else { @throw([NSException exceptionWithName:@"InvalidTag" reason:[NSString stringWithFormat:@"Tag has an invalid value: \"%@\".", valueDict[@".tag"]] userInfo:nil]); } } @end #import "DBPAPERExportFormat.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBPAPERExportFormat #pragma mark - Constructors - (instancetype)initWithHtml { self = [super init]; if (self) { _tag = DBPAPERExportFormatHtml; } return self; } - (instancetype)initWithMarkdown { self = [super init]; if (self) { _tag = DBPAPERExportFormatMarkdown; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBPAPERExportFormatOther; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isHtml { return _tag == DBPAPERExportFormatHtml; } - (BOOL)isMarkdown { return _tag == DBPAPERExportFormatMarkdown; } - (BOOL)isOther { return _tag == DBPAPERExportFormatOther; } - (NSString *)tagName { switch (_tag) { case DBPAPERExportFormatHtml: return @"DBPAPERExportFormatHtml"; case DBPAPERExportFormatMarkdown: return @"DBPAPERExportFormatMarkdown"; case DBPAPERExportFormatOther: return @"DBPAPERExportFormatOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBPAPERExportFormatSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBPAPERExportFormatSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBPAPERExportFormatSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToExportFormat:other]; } - (BOOL)isEqualToExportFormat:(DBPAPERExportFormat *)anExportFormat { if (self == anExportFormat) { return YES; } if (self.tag != anExportFormat.tag) { return NO; } switch (_tag) { case DBPAPERExportFormatHtml: return [[self tagName] isEqual:[anExportFormat tagName]]; case DBPAPERExportFormatMarkdown: return [[self tagName] isEqual:[anExportFormat tagName]]; case DBPAPERExportFormatOther: return [[self tagName] isEqual:[anExportFormat tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBPAPERExportFormatSerializer + (NSDictionary *)serialize:(DBPAPERExportFormat *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isHtml]) { jsonDict[@".tag"] = @"html"; } else if ([valueObj isMarkdown]) { jsonDict[@".tag"] = @"markdown"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBPAPERExportFormat *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"html"]) { return [[DBPAPERExportFormat alloc] initWithHtml]; } else if ([tag isEqualToString:@"markdown"]) { return [[DBPAPERExportFormat alloc] initWithMarkdown]; } else if ([tag isEqualToString:@"other"]) { return [[DBPAPERExportFormat alloc] initWithOther]; } else { return [[DBPAPERExportFormat alloc] initWithOther]; } } @end #import "DBPAPERFolder.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBPAPERFolder #pragma mark - Constructors - (instancetype)initWithId_:(NSString *)id_ name:(NSString *)name { [DBStoneValidators nonnullValidator:nil](id_); [DBStoneValidators nonnullValidator:nil](name); self = [super init]; if (self) { _id_ = id_; _name = name; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBPAPERFolderSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBPAPERFolderSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBPAPERFolderSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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.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 isEqualToFolder:other]; } - (BOOL)isEqualToFolder:(DBPAPERFolder *)aFolder { if (self == aFolder) { return YES; } if (![self.id_ isEqual:aFolder.id_]) { return NO; } if (![self.name isEqual:aFolder.name]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBPAPERFolderSerializer + (NSDictionary *)serialize:(DBPAPERFolder *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"id"] = valueObj.id_; jsonDict[@"name"] = valueObj.name; return jsonDict; } + (DBPAPERFolder *)deserialize:(NSDictionary *)valueDict { NSString *id_ = valueDict[@"id"]; NSString *name = valueDict[@"name"]; return [[DBPAPERFolder alloc] initWithId_:id_ name:name]; } @end #import "DBPAPERFolderSharingPolicyType.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBPAPERFolderSharingPolicyType #pragma mark - Constructors - (instancetype)initWithTeam { self = [super init]; if (self) { _tag = DBPAPERFolderSharingPolicyTypeTeam; } return self; } - (instancetype)initWithInviteOnly { self = [super init]; if (self) { _tag = DBPAPERFolderSharingPolicyTypeInviteOnly; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isTeam { return _tag == DBPAPERFolderSharingPolicyTypeTeam; } - (BOOL)isInviteOnly { return _tag == DBPAPERFolderSharingPolicyTypeInviteOnly; } - (NSString *)tagName { switch (_tag) { case DBPAPERFolderSharingPolicyTypeTeam: return @"DBPAPERFolderSharingPolicyTypeTeam"; case DBPAPERFolderSharingPolicyTypeInviteOnly: return @"DBPAPERFolderSharingPolicyTypeInviteOnly"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBPAPERFolderSharingPolicyTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBPAPERFolderSharingPolicyTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBPAPERFolderSharingPolicyTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 DBPAPERFolderSharingPolicyTypeTeam: result = prime * result + [[self tagName] hash]; break; case DBPAPERFolderSharingPolicyTypeInviteOnly: 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 isEqualToFolderSharingPolicyType:other]; } - (BOOL)isEqualToFolderSharingPolicyType:(DBPAPERFolderSharingPolicyType *)aFolderSharingPolicyType { if (self == aFolderSharingPolicyType) { return YES; } if (self.tag != aFolderSharingPolicyType.tag) { return NO; } switch (_tag) { case DBPAPERFolderSharingPolicyTypeTeam: return [[self tagName] isEqual:[aFolderSharingPolicyType tagName]]; case DBPAPERFolderSharingPolicyTypeInviteOnly: return [[self tagName] isEqual:[aFolderSharingPolicyType tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBPAPERFolderSharingPolicyTypeSerializer + (NSDictionary *)serialize:(DBPAPERFolderSharingPolicyType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isTeam]) { jsonDict[@".tag"] = @"team"; } else if ([valueObj isInviteOnly]) { jsonDict[@".tag"] = @"invite_only"; } else { @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Object not properly initialized. Tag has an unknown value." userInfo:nil]); } return jsonDict; } + (DBPAPERFolderSharingPolicyType *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"team"]) { return [[DBPAPERFolderSharingPolicyType alloc] initWithTeam]; } else if ([tag isEqualToString:@"invite_only"]) { return [[DBPAPERFolderSharingPolicyType alloc] initWithInviteOnly]; } else { @throw([NSException exceptionWithName:@"InvalidTag" reason:[NSString stringWithFormat:@"Tag has an invalid value: \"%@\".", valueDict[@".tag"]] userInfo:nil]); } } @end #import "DBPAPERFolderSubscriptionLevel.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBPAPERFolderSubscriptionLevel #pragma mark - Constructors - (instancetype)initWithNone { self = [super init]; if (self) { _tag = DBPAPERFolderSubscriptionLevelNone; } return self; } - (instancetype)initWithActivityOnly { self = [super init]; if (self) { _tag = DBPAPERFolderSubscriptionLevelActivityOnly; } return self; } - (instancetype)initWithDailyEmails { self = [super init]; if (self) { _tag = DBPAPERFolderSubscriptionLevelDailyEmails; } return self; } - (instancetype)initWithWeeklyEmails { self = [super init]; if (self) { _tag = DBPAPERFolderSubscriptionLevelWeeklyEmails; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isNone { return _tag == DBPAPERFolderSubscriptionLevelNone; } - (BOOL)isActivityOnly { return _tag == DBPAPERFolderSubscriptionLevelActivityOnly; } - (BOOL)isDailyEmails { return _tag == DBPAPERFolderSubscriptionLevelDailyEmails; } - (BOOL)isWeeklyEmails { return _tag == DBPAPERFolderSubscriptionLevelWeeklyEmails; } - (NSString *)tagName { switch (_tag) { case DBPAPERFolderSubscriptionLevelNone: return @"DBPAPERFolderSubscriptionLevelNone"; case DBPAPERFolderSubscriptionLevelActivityOnly: return @"DBPAPERFolderSubscriptionLevelActivityOnly"; case DBPAPERFolderSubscriptionLevelDailyEmails: return @"DBPAPERFolderSubscriptionLevelDailyEmails"; case DBPAPERFolderSubscriptionLevelWeeklyEmails: return @"DBPAPERFolderSubscriptionLevelWeeklyEmails"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBPAPERFolderSubscriptionLevelSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBPAPERFolderSubscriptionLevelSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBPAPERFolderSubscriptionLevelSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToFolderSubscriptionLevel:other]; } - (BOOL)isEqualToFolderSubscriptionLevel:(DBPAPERFolderSubscriptionLevel *)aFolderSubscriptionLevel { if (self == aFolderSubscriptionLevel) { return YES; } if (self.tag != aFolderSubscriptionLevel.tag) { return NO; } switch (_tag) { case DBPAPERFolderSubscriptionLevelNone: return [[self tagName] isEqual:[aFolderSubscriptionLevel tagName]]; case DBPAPERFolderSubscriptionLevelActivityOnly: return [[self tagName] isEqual:[aFolderSubscriptionLevel tagName]]; case DBPAPERFolderSubscriptionLevelDailyEmails: return [[self tagName] isEqual:[aFolderSubscriptionLevel tagName]]; case DBPAPERFolderSubscriptionLevelWeeklyEmails: return [[self tagName] isEqual:[aFolderSubscriptionLevel tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBPAPERFolderSubscriptionLevelSerializer + (NSDictionary *)serialize:(DBPAPERFolderSubscriptionLevel *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isNone]) { jsonDict[@".tag"] = @"none"; } else if ([valueObj isActivityOnly]) { jsonDict[@".tag"] = @"activity_only"; } else if ([valueObj isDailyEmails]) { jsonDict[@".tag"] = @"daily_emails"; } else if ([valueObj isWeeklyEmails]) { jsonDict[@".tag"] = @"weekly_emails"; } else { @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Object not properly initialized. Tag has an unknown value." userInfo:nil]); } return jsonDict; } + (DBPAPERFolderSubscriptionLevel *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"none"]) { return [[DBPAPERFolderSubscriptionLevel alloc] initWithNone]; } else if ([tag isEqualToString:@"activity_only"]) { return [[DBPAPERFolderSubscriptionLevel alloc] initWithActivityOnly]; } else if ([tag isEqualToString:@"daily_emails"]) { return [[DBPAPERFolderSubscriptionLevel alloc] initWithDailyEmails]; } else if ([tag isEqualToString:@"weekly_emails"]) { return [[DBPAPERFolderSubscriptionLevel alloc] initWithWeeklyEmails]; } else { @throw([NSException exceptionWithName:@"InvalidTag" reason:[NSString stringWithFormat:@"Tag has an invalid value: \"%@\".", valueDict[@".tag"]] userInfo:nil]); } } @end #import "DBPAPERFolder.h" #import "DBPAPERFolderSharingPolicyType.h" #import "DBPAPERFoldersContainingPaperDoc.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBPAPERFoldersContainingPaperDoc #pragma mark - Constructors - (instancetype)initWithFolderSharingPolicyType:(DBPAPERFolderSharingPolicyType *)folderSharingPolicyType folders:(NSArray *)folders { [DBStoneValidators nullableValidator:[DBStoneValidators arrayValidator:nil maxItems:nil itemValidator:[DBStoneValidators nonnullValidator:nil]]](folders); self = [super init]; if (self) { _folderSharingPolicyType = folderSharingPolicyType; _folders = folders; } return self; } - (instancetype)initDefault { return [self initWithFolderSharingPolicyType:nil folders:nil]; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBPAPERFoldersContainingPaperDocSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBPAPERFoldersContainingPaperDocSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBPAPERFoldersContainingPaperDocSerializer serialize:self] description]; } #pragma mark - Copyable method - (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.folderSharingPolicyType != nil) { result = prime * result + [self.folderSharingPolicyType 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 isEqualToFoldersContainingPaperDoc:other]; } - (BOOL)isEqualToFoldersContainingPaperDoc:(DBPAPERFoldersContainingPaperDoc *)aFoldersContainingPaperDoc { if (self == aFoldersContainingPaperDoc) { return YES; } if (self.folderSharingPolicyType) { if (![self.folderSharingPolicyType isEqual:aFoldersContainingPaperDoc.folderSharingPolicyType]) { return NO; } } if (self.folders) { if (![self.folders isEqual:aFoldersContainingPaperDoc.folders]) { return NO; } } return YES; } @end #pragma mark - Serializer Object @implementation DBPAPERFoldersContainingPaperDocSerializer + (NSDictionary *)serialize:(DBPAPERFoldersContainingPaperDoc *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if (valueObj.folderSharingPolicyType) { jsonDict[@"folder_sharing_policy_type"] = [DBPAPERFolderSharingPolicyTypeSerializer serialize:valueObj.folderSharingPolicyType]; } if (valueObj.folders) { jsonDict[@"folders"] = [DBArraySerializer serialize:valueObj.folders withBlock:^id(id elem0) { return [DBPAPERFolderSerializer serialize:elem0]; }]; } return jsonDict; } + (DBPAPERFoldersContainingPaperDoc *)deserialize:(NSDictionary *)valueDict { DBPAPERFolderSharingPolicyType *folderSharingPolicyType = valueDict[@"folder_sharing_policy_type"] ? [DBPAPERFolderSharingPolicyTypeSerializer deserialize:valueDict[@"folder_sharing_policy_type"]] : nil; NSArray *folders = valueDict[@"folders"] ? [DBArraySerializer deserialize:valueDict[@"folders"] withBlock:^id(id elem0) { return [DBPAPERFolderSerializer deserialize:elem0]; }] : nil; return [[DBPAPERFoldersContainingPaperDoc alloc] initWithFolderSharingPolicyType:folderSharingPolicyType folders:folders]; } @end #import "DBPAPERImportFormat.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBPAPERImportFormat #pragma mark - Constructors - (instancetype)initWithHtml { self = [super init]; if (self) { _tag = DBPAPERImportFormatHtml; } return self; } - (instancetype)initWithMarkdown { self = [super init]; if (self) { _tag = DBPAPERImportFormatMarkdown; } return self; } - (instancetype)initWithPlainText { self = [super init]; if (self) { _tag = DBPAPERImportFormatPlainText; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBPAPERImportFormatOther; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isHtml { return _tag == DBPAPERImportFormatHtml; } - (BOOL)isMarkdown { return _tag == DBPAPERImportFormatMarkdown; } - (BOOL)isPlainText { return _tag == DBPAPERImportFormatPlainText; } - (BOOL)isOther { return _tag == DBPAPERImportFormatOther; } - (NSString *)tagName { switch (_tag) { case DBPAPERImportFormatHtml: return @"DBPAPERImportFormatHtml"; case DBPAPERImportFormatMarkdown: return @"DBPAPERImportFormatMarkdown"; case DBPAPERImportFormatPlainText: return @"DBPAPERImportFormatPlainText"; case DBPAPERImportFormatOther: return @"DBPAPERImportFormatOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBPAPERImportFormatSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBPAPERImportFormatSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBPAPERImportFormatSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #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:(DBPAPERImportFormat *)anImportFormat { if (self == anImportFormat) { return YES; } if (self.tag != anImportFormat.tag) { return NO; } switch (_tag) { case DBPAPERImportFormatHtml: return [[self tagName] isEqual:[anImportFormat tagName]]; case DBPAPERImportFormatMarkdown: return [[self tagName] isEqual:[anImportFormat tagName]]; case DBPAPERImportFormatPlainText: return [[self tagName] isEqual:[anImportFormat tagName]]; case DBPAPERImportFormatOther: return [[self tagName] isEqual:[anImportFormat tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBPAPERImportFormatSerializer + (NSDictionary *)serialize:(DBPAPERImportFormat *)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; } + (DBPAPERImportFormat *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"html"]) { return [[DBPAPERImportFormat alloc] initWithHtml]; } else if ([tag isEqualToString:@"markdown"]) { return [[DBPAPERImportFormat alloc] initWithMarkdown]; } else if ([tag isEqualToString:@"plain_text"]) { return [[DBPAPERImportFormat alloc] initWithPlainText]; } else if ([tag isEqualToString:@"other"]) { return [[DBPAPERImportFormat alloc] initWithOther]; } else { return [[DBPAPERImportFormat alloc] initWithOther]; } } @end #import "DBPAPERInviteeInfoWithPermissionLevel.h" #import "DBPAPERPaperDocPermissionLevel.h" #import "DBSHARINGInviteeInfo.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBPAPERInviteeInfoWithPermissionLevel #pragma mark - Constructors - (instancetype)initWithInvitee:(DBSHARINGInviteeInfo *)invitee permissionLevel:(DBPAPERPaperDocPermissionLevel *)permissionLevel { [DBStoneValidators nonnullValidator:nil](invitee); [DBStoneValidators nonnullValidator:nil](permissionLevel); self = [super init]; if (self) { _invitee = invitee; _permissionLevel = permissionLevel; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBPAPERInviteeInfoWithPermissionLevelSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBPAPERInviteeInfoWithPermissionLevelSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBPAPERInviteeInfoWithPermissionLevelSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.invitee hash]; result = prime * result + [self.permissionLevel hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToInviteeInfoWithPermissionLevel:other]; } - (BOOL)isEqualToInviteeInfoWithPermissionLevel: (DBPAPERInviteeInfoWithPermissionLevel *)anInviteeInfoWithPermissionLevel { if (self == anInviteeInfoWithPermissionLevel) { return YES; } if (![self.invitee isEqual:anInviteeInfoWithPermissionLevel.invitee]) { return NO; } if (![self.permissionLevel isEqual:anInviteeInfoWithPermissionLevel.permissionLevel]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBPAPERInviteeInfoWithPermissionLevelSerializer + (NSDictionary *)serialize:(DBPAPERInviteeInfoWithPermissionLevel *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"invitee"] = [DBSHARINGInviteeInfoSerializer serialize:valueObj.invitee]; jsonDict[@"permission_level"] = [DBPAPERPaperDocPermissionLevelSerializer serialize:valueObj.permissionLevel]; return jsonDict; } + (DBPAPERInviteeInfoWithPermissionLevel *)deserialize:(NSDictionary *)valueDict { DBSHARINGInviteeInfo *invitee = [DBSHARINGInviteeInfoSerializer deserialize:valueDict[@"invitee"]]; DBPAPERPaperDocPermissionLevel *permissionLevel = [DBPAPERPaperDocPermissionLevelSerializer deserialize:valueDict[@"permission_level"]]; return [[DBPAPERInviteeInfoWithPermissionLevel alloc] initWithInvitee:invitee permissionLevel:permissionLevel]; } @end #import "DBPAPERListDocsCursorError.h" #import "DBPAPERPaperApiCursorError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBPAPERListDocsCursorError @synthesize cursorError = _cursorError; #pragma mark - Constructors - (instancetype)initWithCursorError:(DBPAPERPaperApiCursorError *)cursorError { self = [super init]; if (self) { _tag = DBPAPERListDocsCursorErrorCursorError; _cursorError = cursorError; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBPAPERListDocsCursorErrorOther; } return self; } #pragma mark - Instance field accessors - (DBPAPERPaperApiCursorError *)cursorError { if (![self isCursorError]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBPAPERListDocsCursorErrorCursorError, but was %@.", [self tagName]]; } return _cursorError; } #pragma mark - Tag state methods - (BOOL)isCursorError { return _tag == DBPAPERListDocsCursorErrorCursorError; } - (BOOL)isOther { return _tag == DBPAPERListDocsCursorErrorOther; } - (NSString *)tagName { switch (_tag) { case DBPAPERListDocsCursorErrorCursorError: return @"DBPAPERListDocsCursorErrorCursorError"; case DBPAPERListDocsCursorErrorOther: return @"DBPAPERListDocsCursorErrorOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBPAPERListDocsCursorErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBPAPERListDocsCursorErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBPAPERListDocsCursorErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 DBPAPERListDocsCursorErrorCursorError: result = prime * result + [self.cursorError hash]; break; case DBPAPERListDocsCursorErrorOther: 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 isEqualToListDocsCursorError:other]; } - (BOOL)isEqualToListDocsCursorError:(DBPAPERListDocsCursorError *)aListDocsCursorError { if (self == aListDocsCursorError) { return YES; } if (self.tag != aListDocsCursorError.tag) { return NO; } switch (_tag) { case DBPAPERListDocsCursorErrorCursorError: return [self.cursorError isEqual:aListDocsCursorError.cursorError]; case DBPAPERListDocsCursorErrorOther: return [[self tagName] isEqual:[aListDocsCursorError tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBPAPERListDocsCursorErrorSerializer + (NSDictionary *)serialize:(DBPAPERListDocsCursorError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isCursorError]) { jsonDict[@"cursor_error"] = [[DBPAPERPaperApiCursorErrorSerializer serialize:valueObj.cursorError] mutableCopy]; jsonDict[@".tag"] = @"cursor_error"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBPAPERListDocsCursorError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"cursor_error"]) { DBPAPERPaperApiCursorError *cursorError = [DBPAPERPaperApiCursorErrorSerializer deserialize:valueDict[@"cursor_error"]]; return [[DBPAPERListDocsCursorError alloc] initWithCursorError:cursorError]; } else if ([tag isEqualToString:@"other"]) { return [[DBPAPERListDocsCursorError alloc] initWithOther]; } else { return [[DBPAPERListDocsCursorError alloc] initWithOther]; } } @end #import "DBPAPERListPaperDocsArgs.h" #import "DBPAPERListPaperDocsFilterBy.h" #import "DBPAPERListPaperDocsSortBy.h" #import "DBPAPERListPaperDocsSortOrder.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBPAPERListPaperDocsArgs #pragma mark - Constructors - (instancetype)initWithFilterBy:(DBPAPERListPaperDocsFilterBy *)filterBy sortBy:(DBPAPERListPaperDocsSortBy *)sortBy sortOrder:(DBPAPERListPaperDocsSortOrder *)sortOrder limit:(NSNumber *)limit { self = [super init]; if (self) { _filterBy = filterBy ?: [[DBPAPERListPaperDocsFilterBy alloc] initWithDocsAccessed]; _sortBy = sortBy ?: [[DBPAPERListPaperDocsSortBy alloc] initWithAccessed]; _sortOrder = sortOrder ?: [[DBPAPERListPaperDocsSortOrder alloc] initWithAscending]; _limit = limit ?: @(1000); } return self; } - (instancetype)initDefault { return [self initWithFilterBy:nil sortBy:nil sortOrder:nil limit:nil]; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBPAPERListPaperDocsArgsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBPAPERListPaperDocsArgsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBPAPERListPaperDocsArgsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.filterBy hash]; result = prime * result + [self.sortBy hash]; result = prime * result + [self.sortOrder 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 isEqualToListPaperDocsArgs:other]; } - (BOOL)isEqualToListPaperDocsArgs:(DBPAPERListPaperDocsArgs *)aListPaperDocsArgs { if (self == aListPaperDocsArgs) { return YES; } if (![self.filterBy isEqual:aListPaperDocsArgs.filterBy]) { return NO; } if (![self.sortBy isEqual:aListPaperDocsArgs.sortBy]) { return NO; } if (![self.sortOrder isEqual:aListPaperDocsArgs.sortOrder]) { return NO; } if (![self.limit isEqual:aListPaperDocsArgs.limit]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBPAPERListPaperDocsArgsSerializer + (NSDictionary *)serialize:(DBPAPERListPaperDocsArgs *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"filter_by"] = [DBPAPERListPaperDocsFilterBySerializer serialize:valueObj.filterBy]; jsonDict[@"sort_by"] = [DBPAPERListPaperDocsSortBySerializer serialize:valueObj.sortBy]; jsonDict[@"sort_order"] = [DBPAPERListPaperDocsSortOrderSerializer serialize:valueObj.sortOrder]; jsonDict[@"limit"] = valueObj.limit; return jsonDict; } + (DBPAPERListPaperDocsArgs *)deserialize:(NSDictionary *)valueDict { DBPAPERListPaperDocsFilterBy *filterBy = valueDict[@"filter_by"] ? [DBPAPERListPaperDocsFilterBySerializer deserialize:valueDict[@"filter_by"]] : [[DBPAPERListPaperDocsFilterBy alloc] initWithDocsAccessed]; DBPAPERListPaperDocsSortBy *sortBy = valueDict[@"sort_by"] ? [DBPAPERListPaperDocsSortBySerializer deserialize:valueDict[@"sort_by"]] : [[DBPAPERListPaperDocsSortBy alloc] initWithAccessed]; DBPAPERListPaperDocsSortOrder *sortOrder = valueDict[@"sort_order"] ? [DBPAPERListPaperDocsSortOrderSerializer deserialize:valueDict[@"sort_order"]] : [[DBPAPERListPaperDocsSortOrder alloc] initWithAscending]; NSNumber *limit = valueDict[@"limit"] ?: @(1000); return [[DBPAPERListPaperDocsArgs alloc] initWithFilterBy:filterBy sortBy:sortBy sortOrder:sortOrder limit:limit]; } @end #import "DBPAPERListPaperDocsContinueArgs.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBPAPERListPaperDocsContinueArgs #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 [DBPAPERListPaperDocsContinueArgsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBPAPERListPaperDocsContinueArgsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBPAPERListPaperDocsContinueArgsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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 isEqualToListPaperDocsContinueArgs:other]; } - (BOOL)isEqualToListPaperDocsContinueArgs:(DBPAPERListPaperDocsContinueArgs *)aListPaperDocsContinueArgs { if (self == aListPaperDocsContinueArgs) { return YES; } if (![self.cursor isEqual:aListPaperDocsContinueArgs.cursor]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBPAPERListPaperDocsContinueArgsSerializer + (NSDictionary *)serialize:(DBPAPERListPaperDocsContinueArgs *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"cursor"] = valueObj.cursor; return jsonDict; } + (DBPAPERListPaperDocsContinueArgs *)deserialize:(NSDictionary *)valueDict { NSString *cursor = valueDict[@"cursor"]; return [[DBPAPERListPaperDocsContinueArgs alloc] initWithCursor:cursor]; } @end #import "DBPAPERListPaperDocsFilterBy.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBPAPERListPaperDocsFilterBy #pragma mark - Constructors - (instancetype)initWithDocsAccessed { self = [super init]; if (self) { _tag = DBPAPERListPaperDocsFilterByDocsAccessed; } return self; } - (instancetype)initWithDocsCreated { self = [super init]; if (self) { _tag = DBPAPERListPaperDocsFilterByDocsCreated; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBPAPERListPaperDocsFilterByOther; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isDocsAccessed { return _tag == DBPAPERListPaperDocsFilterByDocsAccessed; } - (BOOL)isDocsCreated { return _tag == DBPAPERListPaperDocsFilterByDocsCreated; } - (BOOL)isOther { return _tag == DBPAPERListPaperDocsFilterByOther; } - (NSString *)tagName { switch (_tag) { case DBPAPERListPaperDocsFilterByDocsAccessed: return @"DBPAPERListPaperDocsFilterByDocsAccessed"; case DBPAPERListPaperDocsFilterByDocsCreated: return @"DBPAPERListPaperDocsFilterByDocsCreated"; case DBPAPERListPaperDocsFilterByOther: return @"DBPAPERListPaperDocsFilterByOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBPAPERListPaperDocsFilterBySerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBPAPERListPaperDocsFilterBySerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBPAPERListPaperDocsFilterBySerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToListPaperDocsFilterBy:other]; } - (BOOL)isEqualToListPaperDocsFilterBy:(DBPAPERListPaperDocsFilterBy *)aListPaperDocsFilterBy { if (self == aListPaperDocsFilterBy) { return YES; } if (self.tag != aListPaperDocsFilterBy.tag) { return NO; } switch (_tag) { case DBPAPERListPaperDocsFilterByDocsAccessed: return [[self tagName] isEqual:[aListPaperDocsFilterBy tagName]]; case DBPAPERListPaperDocsFilterByDocsCreated: return [[self tagName] isEqual:[aListPaperDocsFilterBy tagName]]; case DBPAPERListPaperDocsFilterByOther: return [[self tagName] isEqual:[aListPaperDocsFilterBy tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBPAPERListPaperDocsFilterBySerializer + (NSDictionary *)serialize:(DBPAPERListPaperDocsFilterBy *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isDocsAccessed]) { jsonDict[@".tag"] = @"docs_accessed"; } else if ([valueObj isDocsCreated]) { jsonDict[@".tag"] = @"docs_created"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBPAPERListPaperDocsFilterBy *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"docs_accessed"]) { return [[DBPAPERListPaperDocsFilterBy alloc] initWithDocsAccessed]; } else if ([tag isEqualToString:@"docs_created"]) { return [[DBPAPERListPaperDocsFilterBy alloc] initWithDocsCreated]; } else if ([tag isEqualToString:@"other"]) { return [[DBPAPERListPaperDocsFilterBy alloc] initWithOther]; } else { return [[DBPAPERListPaperDocsFilterBy alloc] initWithOther]; } } @end #import "DBPAPERCursor.h" #import "DBPAPERListPaperDocsResponse.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBPAPERListPaperDocsResponse #pragma mark - Constructors - (instancetype)initWithDocIds:(NSArray *)docIds cursor:(DBPAPERCursor *)cursor hasMore:(NSNumber *)hasMore { [DBStoneValidators nonnullValidator:[DBStoneValidators arrayValidator:nil maxItems:nil itemValidator:[DBStoneValidators nonnullValidator:nil]]](docIds); [DBStoneValidators nonnullValidator:nil](cursor); [DBStoneValidators nonnullValidator:nil](hasMore); self = [super init]; if (self) { _docIds = docIds; _cursor = cursor; _hasMore = hasMore; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBPAPERListPaperDocsResponseSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBPAPERListPaperDocsResponseSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBPAPERListPaperDocsResponseSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.docIds 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 isEqualToListPaperDocsResponse:other]; } - (BOOL)isEqualToListPaperDocsResponse:(DBPAPERListPaperDocsResponse *)aListPaperDocsResponse { if (self == aListPaperDocsResponse) { return YES; } if (![self.docIds isEqual:aListPaperDocsResponse.docIds]) { return NO; } if (![self.cursor isEqual:aListPaperDocsResponse.cursor]) { return NO; } if (![self.hasMore isEqual:aListPaperDocsResponse.hasMore]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBPAPERListPaperDocsResponseSerializer + (NSDictionary *)serialize:(DBPAPERListPaperDocsResponse *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"doc_ids"] = [DBArraySerializer serialize:valueObj.docIds withBlock:^id(id elem0) { return elem0; }]; jsonDict[@"cursor"] = [DBPAPERCursorSerializer serialize:valueObj.cursor]; jsonDict[@"has_more"] = valueObj.hasMore; return jsonDict; } + (DBPAPERListPaperDocsResponse *)deserialize:(NSDictionary *)valueDict { NSArray *docIds = [DBArraySerializer deserialize:valueDict[@"doc_ids"] withBlock:^id(id elem0) { return elem0; }]; DBPAPERCursor *cursor = [DBPAPERCursorSerializer deserialize:valueDict[@"cursor"]]; NSNumber *hasMore = valueDict[@"has_more"]; return [[DBPAPERListPaperDocsResponse alloc] initWithDocIds:docIds cursor:cursor hasMore:hasMore]; } @end #import "DBPAPERListPaperDocsSortBy.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBPAPERListPaperDocsSortBy #pragma mark - Constructors - (instancetype)initWithAccessed { self = [super init]; if (self) { _tag = DBPAPERListPaperDocsSortByAccessed; } return self; } - (instancetype)initWithModified { self = [super init]; if (self) { _tag = DBPAPERListPaperDocsSortByModified; } return self; } - (instancetype)initWithCreated { self = [super init]; if (self) { _tag = DBPAPERListPaperDocsSortByCreated; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBPAPERListPaperDocsSortByOther; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isAccessed { return _tag == DBPAPERListPaperDocsSortByAccessed; } - (BOOL)isModified { return _tag == DBPAPERListPaperDocsSortByModified; } - (BOOL)isCreated { return _tag == DBPAPERListPaperDocsSortByCreated; } - (BOOL)isOther { return _tag == DBPAPERListPaperDocsSortByOther; } - (NSString *)tagName { switch (_tag) { case DBPAPERListPaperDocsSortByAccessed: return @"DBPAPERListPaperDocsSortByAccessed"; case DBPAPERListPaperDocsSortByModified: return @"DBPAPERListPaperDocsSortByModified"; case DBPAPERListPaperDocsSortByCreated: return @"DBPAPERListPaperDocsSortByCreated"; case DBPAPERListPaperDocsSortByOther: return @"DBPAPERListPaperDocsSortByOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBPAPERListPaperDocsSortBySerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBPAPERListPaperDocsSortBySerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBPAPERListPaperDocsSortBySerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToListPaperDocsSortBy:other]; } - (BOOL)isEqualToListPaperDocsSortBy:(DBPAPERListPaperDocsSortBy *)aListPaperDocsSortBy { if (self == aListPaperDocsSortBy) { return YES; } if (self.tag != aListPaperDocsSortBy.tag) { return NO; } switch (_tag) { case DBPAPERListPaperDocsSortByAccessed: return [[self tagName] isEqual:[aListPaperDocsSortBy tagName]]; case DBPAPERListPaperDocsSortByModified: return [[self tagName] isEqual:[aListPaperDocsSortBy tagName]]; case DBPAPERListPaperDocsSortByCreated: return [[self tagName] isEqual:[aListPaperDocsSortBy tagName]]; case DBPAPERListPaperDocsSortByOther: return [[self tagName] isEqual:[aListPaperDocsSortBy tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBPAPERListPaperDocsSortBySerializer + (NSDictionary *)serialize:(DBPAPERListPaperDocsSortBy *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isAccessed]) { jsonDict[@".tag"] = @"accessed"; } else if ([valueObj isModified]) { jsonDict[@".tag"] = @"modified"; } else if ([valueObj isCreated]) { jsonDict[@".tag"] = @"created"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBPAPERListPaperDocsSortBy *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"accessed"]) { return [[DBPAPERListPaperDocsSortBy alloc] initWithAccessed]; } else if ([tag isEqualToString:@"modified"]) { return [[DBPAPERListPaperDocsSortBy alloc] initWithModified]; } else if ([tag isEqualToString:@"created"]) { return [[DBPAPERListPaperDocsSortBy alloc] initWithCreated]; } else if ([tag isEqualToString:@"other"]) { return [[DBPAPERListPaperDocsSortBy alloc] initWithOther]; } else { return [[DBPAPERListPaperDocsSortBy alloc] initWithOther]; } } @end #import "DBPAPERListPaperDocsSortOrder.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBPAPERListPaperDocsSortOrder #pragma mark - Constructors - (instancetype)initWithAscending { self = [super init]; if (self) { _tag = DBPAPERListPaperDocsSortOrderAscending; } return self; } - (instancetype)initWithDescending { self = [super init]; if (self) { _tag = DBPAPERListPaperDocsSortOrderDescending; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBPAPERListPaperDocsSortOrderOther; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isAscending { return _tag == DBPAPERListPaperDocsSortOrderAscending; } - (BOOL)isDescending { return _tag == DBPAPERListPaperDocsSortOrderDescending; } - (BOOL)isOther { return _tag == DBPAPERListPaperDocsSortOrderOther; } - (NSString *)tagName { switch (_tag) { case DBPAPERListPaperDocsSortOrderAscending: return @"DBPAPERListPaperDocsSortOrderAscending"; case DBPAPERListPaperDocsSortOrderDescending: return @"DBPAPERListPaperDocsSortOrderDescending"; case DBPAPERListPaperDocsSortOrderOther: return @"DBPAPERListPaperDocsSortOrderOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBPAPERListPaperDocsSortOrderSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBPAPERListPaperDocsSortOrderSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBPAPERListPaperDocsSortOrderSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToListPaperDocsSortOrder:other]; } - (BOOL)isEqualToListPaperDocsSortOrder:(DBPAPERListPaperDocsSortOrder *)aListPaperDocsSortOrder { if (self == aListPaperDocsSortOrder) { return YES; } if (self.tag != aListPaperDocsSortOrder.tag) { return NO; } switch (_tag) { case DBPAPERListPaperDocsSortOrderAscending: return [[self tagName] isEqual:[aListPaperDocsSortOrder tagName]]; case DBPAPERListPaperDocsSortOrderDescending: return [[self tagName] isEqual:[aListPaperDocsSortOrder tagName]]; case DBPAPERListPaperDocsSortOrderOther: return [[self tagName] isEqual:[aListPaperDocsSortOrder tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBPAPERListPaperDocsSortOrderSerializer + (NSDictionary *)serialize:(DBPAPERListPaperDocsSortOrder *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isAscending]) { jsonDict[@".tag"] = @"ascending"; } else if ([valueObj isDescending]) { jsonDict[@".tag"] = @"descending"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBPAPERListPaperDocsSortOrder *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"ascending"]) { return [[DBPAPERListPaperDocsSortOrder alloc] initWithAscending]; } else if ([tag isEqualToString:@"descending"]) { return [[DBPAPERListPaperDocsSortOrder alloc] initWithDescending]; } else if ([tag isEqualToString:@"other"]) { return [[DBPAPERListPaperDocsSortOrder alloc] initWithOther]; } else { return [[DBPAPERListPaperDocsSortOrder alloc] initWithOther]; } } @end #import "DBPAPERListUsersCursorError.h" #import "DBPAPERPaperApiBaseError.h" #import "DBPAPERPaperApiCursorError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBPAPERListUsersCursorError @synthesize cursorError = _cursorError; #pragma mark - Constructors - (instancetype)initWithInsufficientPermissions { self = [super init]; if (self) { _tag = DBPAPERListUsersCursorErrorInsufficientPermissions; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBPAPERListUsersCursorErrorOther; } return self; } - (instancetype)initWithDocNotFound { self = [super init]; if (self) { _tag = DBPAPERListUsersCursorErrorDocNotFound; } return self; } - (instancetype)initWithCursorError:(DBPAPERPaperApiCursorError *)cursorError { self = [super init]; if (self) { _tag = DBPAPERListUsersCursorErrorCursorError; _cursorError = cursorError; } return self; } #pragma mark - Instance field accessors - (DBPAPERPaperApiCursorError *)cursorError { if (![self isCursorError]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBPAPERListUsersCursorErrorCursorError, but was %@.", [self tagName]]; } return _cursorError; } #pragma mark - Tag state methods - (BOOL)isInsufficientPermissions { return _tag == DBPAPERListUsersCursorErrorInsufficientPermissions; } - (BOOL)isOther { return _tag == DBPAPERListUsersCursorErrorOther; } - (BOOL)isDocNotFound { return _tag == DBPAPERListUsersCursorErrorDocNotFound; } - (BOOL)isCursorError { return _tag == DBPAPERListUsersCursorErrorCursorError; } - (NSString *)tagName { switch (_tag) { case DBPAPERListUsersCursorErrorInsufficientPermissions: return @"DBPAPERListUsersCursorErrorInsufficientPermissions"; case DBPAPERListUsersCursorErrorOther: return @"DBPAPERListUsersCursorErrorOther"; case DBPAPERListUsersCursorErrorDocNotFound: return @"DBPAPERListUsersCursorErrorDocNotFound"; case DBPAPERListUsersCursorErrorCursorError: return @"DBPAPERListUsersCursorErrorCursorError"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBPAPERListUsersCursorErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBPAPERListUsersCursorErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBPAPERListUsersCursorErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToListUsersCursorError:other]; } - (BOOL)isEqualToListUsersCursorError:(DBPAPERListUsersCursorError *)aListUsersCursorError { if (self == aListUsersCursorError) { return YES; } if (self.tag != aListUsersCursorError.tag) { return NO; } switch (_tag) { case DBPAPERListUsersCursorErrorInsufficientPermissions: return [[self tagName] isEqual:[aListUsersCursorError tagName]]; case DBPAPERListUsersCursorErrorOther: return [[self tagName] isEqual:[aListUsersCursorError tagName]]; case DBPAPERListUsersCursorErrorDocNotFound: return [[self tagName] isEqual:[aListUsersCursorError tagName]]; case DBPAPERListUsersCursorErrorCursorError: return [self.cursorError isEqual:aListUsersCursorError.cursorError]; } return YES; } @end #pragma mark - Serializer Object @implementation DBPAPERListUsersCursorErrorSerializer + (NSDictionary *)serialize:(DBPAPERListUsersCursorError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isInsufficientPermissions]) { jsonDict[@".tag"] = @"insufficient_permissions"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else if ([valueObj isDocNotFound]) { jsonDict[@".tag"] = @"doc_not_found"; } else if ([valueObj isCursorError]) { jsonDict[@"cursor_error"] = [[DBPAPERPaperApiCursorErrorSerializer serialize:valueObj.cursorError] mutableCopy]; jsonDict[@".tag"] = @"cursor_error"; } else { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBPAPERListUsersCursorError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"insufficient_permissions"]) { return [[DBPAPERListUsersCursorError alloc] initWithInsufficientPermissions]; } else if ([tag isEqualToString:@"other"]) { return [[DBPAPERListUsersCursorError alloc] initWithOther]; } else if ([tag isEqualToString:@"doc_not_found"]) { return [[DBPAPERListUsersCursorError alloc] initWithDocNotFound]; } else if ([tag isEqualToString:@"cursor_error"]) { DBPAPERPaperApiCursorError *cursorError = [DBPAPERPaperApiCursorErrorSerializer deserialize:valueDict[@"cursor_error"]]; return [[DBPAPERListUsersCursorError alloc] initWithCursorError:cursorError]; } else { return [[DBPAPERListUsersCursorError alloc] initWithOther]; } } @end #import "DBPAPERListUsersOnFolderArgs.h" #import "DBPAPERRefPaperDoc.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBPAPERListUsersOnFolderArgs #pragma mark - Constructors - (instancetype)initWithDocId:(NSString *)docId limit:(NSNumber *)limit { [DBStoneValidators nonnullValidator:nil](docId); self = [super initWithDocId:docId]; if (self) { _limit = limit ?: @(1000); } return self; } - (instancetype)initWithDocId:(NSString *)docId { return [self initWithDocId:docId limit:nil]; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBPAPERListUsersOnFolderArgsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBPAPERListUsersOnFolderArgsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBPAPERListUsersOnFolderArgsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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.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 isEqualToListUsersOnFolderArgs:other]; } - (BOOL)isEqualToListUsersOnFolderArgs:(DBPAPERListUsersOnFolderArgs *)aListUsersOnFolderArgs { if (self == aListUsersOnFolderArgs) { return YES; } if (![self.docId isEqual:aListUsersOnFolderArgs.docId]) { return NO; } if (![self.limit isEqual:aListUsersOnFolderArgs.limit]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBPAPERListUsersOnFolderArgsSerializer + (NSDictionary *)serialize:(DBPAPERListUsersOnFolderArgs *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"doc_id"] = valueObj.docId; jsonDict[@"limit"] = valueObj.limit; return jsonDict; } + (DBPAPERListUsersOnFolderArgs *)deserialize:(NSDictionary *)valueDict { NSString *docId = valueDict[@"doc_id"]; NSNumber *limit = valueDict[@"limit"] ?: @(1000); return [[DBPAPERListUsersOnFolderArgs alloc] initWithDocId:docId limit:limit]; } @end #import "DBPAPERListUsersOnFolderContinueArgs.h" #import "DBPAPERRefPaperDoc.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBPAPERListUsersOnFolderContinueArgs #pragma mark - Constructors - (instancetype)initWithDocId:(NSString *)docId cursor:(NSString *)cursor { [DBStoneValidators nonnullValidator:nil](docId); [DBStoneValidators nonnullValidator:nil](cursor); self = [super initWithDocId:docId]; if (self) { _cursor = cursor; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBPAPERListUsersOnFolderContinueArgsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBPAPERListUsersOnFolderContinueArgsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBPAPERListUsersOnFolderContinueArgsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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.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 isEqualToListUsersOnFolderContinueArgs:other]; } - (BOOL)isEqualToListUsersOnFolderContinueArgs:(DBPAPERListUsersOnFolderContinueArgs *)aListUsersOnFolderContinueArgs { if (self == aListUsersOnFolderContinueArgs) { return YES; } if (![self.docId isEqual:aListUsersOnFolderContinueArgs.docId]) { return NO; } if (![self.cursor isEqual:aListUsersOnFolderContinueArgs.cursor]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBPAPERListUsersOnFolderContinueArgsSerializer + (NSDictionary *)serialize:(DBPAPERListUsersOnFolderContinueArgs *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"doc_id"] = valueObj.docId; jsonDict[@"cursor"] = valueObj.cursor; return jsonDict; } + (DBPAPERListUsersOnFolderContinueArgs *)deserialize:(NSDictionary *)valueDict { NSString *docId = valueDict[@"doc_id"]; NSString *cursor = valueDict[@"cursor"]; return [[DBPAPERListUsersOnFolderContinueArgs alloc] initWithDocId:docId cursor:cursor]; } @end #import "DBPAPERCursor.h" #import "DBPAPERListUsersOnFolderResponse.h" #import "DBSHARINGInviteeInfo.h" #import "DBSHARINGUserInfo.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBPAPERListUsersOnFolderResponse #pragma mark - Constructors - (instancetype)initWithInvitees:(NSArray *)invitees users:(NSArray *)users cursor:(DBPAPERCursor *)cursor hasMore:(NSNumber *)hasMore { [DBStoneValidators nonnullValidator:[DBStoneValidators arrayValidator:nil maxItems:nil itemValidator:[DBStoneValidators nonnullValidator:nil]]](invitees); [DBStoneValidators nonnullValidator:[DBStoneValidators arrayValidator:nil maxItems:nil itemValidator:[DBStoneValidators nonnullValidator:nil]]](users); [DBStoneValidators nonnullValidator:nil](cursor); [DBStoneValidators nonnullValidator:nil](hasMore); self = [super init]; if (self) { _invitees = invitees; _users = users; _cursor = cursor; _hasMore = hasMore; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBPAPERListUsersOnFolderResponseSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBPAPERListUsersOnFolderResponseSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBPAPERListUsersOnFolderResponseSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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]; result = prime * result + [self.users 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 isEqualToListUsersOnFolderResponse:other]; } - (BOOL)isEqualToListUsersOnFolderResponse:(DBPAPERListUsersOnFolderResponse *)aListUsersOnFolderResponse { if (self == aListUsersOnFolderResponse) { return YES; } if (![self.invitees isEqual:aListUsersOnFolderResponse.invitees]) { return NO; } if (![self.users isEqual:aListUsersOnFolderResponse.users]) { return NO; } if (![self.cursor isEqual:aListUsersOnFolderResponse.cursor]) { return NO; } if (![self.hasMore isEqual:aListUsersOnFolderResponse.hasMore]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBPAPERListUsersOnFolderResponseSerializer + (NSDictionary *)serialize:(DBPAPERListUsersOnFolderResponse *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"invitees"] = [DBArraySerializer serialize:valueObj.invitees withBlock:^id(id elem0) { return [DBSHARINGInviteeInfoSerializer serialize:elem0]; }]; jsonDict[@"users"] = [DBArraySerializer serialize:valueObj.users withBlock:^id(id elem0) { return [DBSHARINGUserInfoSerializer serialize:elem0]; }]; jsonDict[@"cursor"] = [DBPAPERCursorSerializer serialize:valueObj.cursor]; jsonDict[@"has_more"] = valueObj.hasMore; return jsonDict; } + (DBPAPERListUsersOnFolderResponse *)deserialize:(NSDictionary *)valueDict { NSArray *invitees = [DBArraySerializer deserialize:valueDict[@"invitees"] withBlock:^id(id elem0) { return [DBSHARINGInviteeInfoSerializer deserialize:elem0]; }]; NSArray *users = [DBArraySerializer deserialize:valueDict[@"users"] withBlock:^id(id elem0) { return [DBSHARINGUserInfoSerializer deserialize:elem0]; }]; DBPAPERCursor *cursor = [DBPAPERCursorSerializer deserialize:valueDict[@"cursor"]]; NSNumber *hasMore = valueDict[@"has_more"]; return [[DBPAPERListUsersOnFolderResponse alloc] initWithInvitees:invitees users:users cursor:cursor hasMore:hasMore]; } @end #import "DBPAPERListUsersOnPaperDocArgs.h" #import "DBPAPERRefPaperDoc.h" #import "DBPAPERUserOnPaperDocFilter.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBPAPERListUsersOnPaperDocArgs #pragma mark - Constructors - (instancetype)initWithDocId:(NSString *)docId limit:(NSNumber *)limit filterBy:(DBPAPERUserOnPaperDocFilter *)filterBy { [DBStoneValidators nonnullValidator:nil](docId); self = [super initWithDocId:docId]; if (self) { _limit = limit ?: @(1000); _filterBy = filterBy ?: [[DBPAPERUserOnPaperDocFilter alloc] initWithShared]; } return self; } - (instancetype)initWithDocId:(NSString *)docId { return [self initWithDocId:docId limit:nil filterBy:nil]; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBPAPERListUsersOnPaperDocArgsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBPAPERListUsersOnPaperDocArgsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBPAPERListUsersOnPaperDocArgsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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.limit hash]; result = prime * result + [self.filterBy hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToListUsersOnPaperDocArgs:other]; } - (BOOL)isEqualToListUsersOnPaperDocArgs:(DBPAPERListUsersOnPaperDocArgs *)aListUsersOnPaperDocArgs { if (self == aListUsersOnPaperDocArgs) { return YES; } if (![self.docId isEqual:aListUsersOnPaperDocArgs.docId]) { return NO; } if (![self.limit isEqual:aListUsersOnPaperDocArgs.limit]) { return NO; } if (![self.filterBy isEqual:aListUsersOnPaperDocArgs.filterBy]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBPAPERListUsersOnPaperDocArgsSerializer + (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; } + (DBPAPERListUsersOnPaperDocArgs *)deserialize:(NSDictionary *)valueDict { NSString *docId = valueDict[@"doc_id"]; NSNumber *limit = valueDict[@"limit"] ?: @(1000); DBPAPERUserOnPaperDocFilter *filterBy = valueDict[@"filter_by"] ? [DBPAPERUserOnPaperDocFilterSerializer deserialize:valueDict[@"filter_by"]] : [[DBPAPERUserOnPaperDocFilter alloc] initWithShared]; return [[DBPAPERListUsersOnPaperDocArgs alloc] initWithDocId:docId limit:limit filterBy:filterBy]; } @end #import "DBPAPERListUsersOnPaperDocContinueArgs.h" #import "DBPAPERRefPaperDoc.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBPAPERListUsersOnPaperDocContinueArgs #pragma mark - Constructors - (instancetype)initWithDocId:(NSString *)docId cursor:(NSString *)cursor { [DBStoneValidators nonnullValidator:nil](docId); [DBStoneValidators nonnullValidator:nil](cursor); self = [super initWithDocId:docId]; if (self) { _cursor = cursor; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBPAPERListUsersOnPaperDocContinueArgsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBPAPERListUsersOnPaperDocContinueArgsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBPAPERListUsersOnPaperDocContinueArgsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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.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 isEqualToListUsersOnPaperDocContinueArgs:other]; } - (BOOL)isEqualToListUsersOnPaperDocContinueArgs: (DBPAPERListUsersOnPaperDocContinueArgs *)aListUsersOnPaperDocContinueArgs { if (self == aListUsersOnPaperDocContinueArgs) { return YES; } if (![self.docId isEqual:aListUsersOnPaperDocContinueArgs.docId]) { return NO; } if (![self.cursor isEqual:aListUsersOnPaperDocContinueArgs.cursor]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBPAPERListUsersOnPaperDocContinueArgsSerializer + (NSDictionary *)serialize:(DBPAPERListUsersOnPaperDocContinueArgs *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"doc_id"] = valueObj.docId; jsonDict[@"cursor"] = valueObj.cursor; return jsonDict; } + (DBPAPERListUsersOnPaperDocContinueArgs *)deserialize:(NSDictionary *)valueDict { NSString *docId = valueDict[@"doc_id"]; NSString *cursor = valueDict[@"cursor"]; return [[DBPAPERListUsersOnPaperDocContinueArgs alloc] initWithDocId:docId cursor:cursor]; } @end #import "DBPAPERCursor.h" #import "DBPAPERInviteeInfoWithPermissionLevel.h" #import "DBPAPERListUsersOnPaperDocResponse.h" #import "DBPAPERUserInfoWithPermissionLevel.h" #import "DBSHARINGUserInfo.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBPAPERListUsersOnPaperDocResponse #pragma mark - Constructors - (instancetype)initWithInvitees:(NSArray *)invitees users:(NSArray *)users docOwner:(DBSHARINGUserInfo *)docOwner cursor:(DBPAPERCursor *)cursor hasMore:(NSNumber *)hasMore { [DBStoneValidators nonnullValidator:[DBStoneValidators arrayValidator:nil maxItems:nil itemValidator:[DBStoneValidators nonnullValidator:nil]]](invitees); [DBStoneValidators nonnullValidator:[DBStoneValidators arrayValidator:nil maxItems:nil itemValidator:[DBStoneValidators nonnullValidator:nil]]](users); [DBStoneValidators nonnullValidator:nil](docOwner); [DBStoneValidators nonnullValidator:nil](cursor); [DBStoneValidators nonnullValidator:nil](hasMore); self = [super init]; if (self) { _invitees = invitees; _users = users; _docOwner = docOwner; _cursor = cursor; _hasMore = hasMore; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBPAPERListUsersOnPaperDocResponseSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBPAPERListUsersOnPaperDocResponseSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBPAPERListUsersOnPaperDocResponseSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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]; result = prime * result + [self.users hash]; result = prime * result + [self.docOwner 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 isEqualToListUsersOnPaperDocResponse:other]; } - (BOOL)isEqualToListUsersOnPaperDocResponse:(DBPAPERListUsersOnPaperDocResponse *)aListUsersOnPaperDocResponse { if (self == aListUsersOnPaperDocResponse) { return YES; } if (![self.invitees isEqual:aListUsersOnPaperDocResponse.invitees]) { return NO; } if (![self.users isEqual:aListUsersOnPaperDocResponse.users]) { return NO; } if (![self.docOwner isEqual:aListUsersOnPaperDocResponse.docOwner]) { return NO; } if (![self.cursor isEqual:aListUsersOnPaperDocResponse.cursor]) { return NO; } if (![self.hasMore isEqual:aListUsersOnPaperDocResponse.hasMore]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBPAPERListUsersOnPaperDocResponseSerializer + (NSDictionary *)serialize:(DBPAPERListUsersOnPaperDocResponse *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"invitees"] = [DBArraySerializer serialize:valueObj.invitees withBlock:^id(id elem0) { return [DBPAPERInviteeInfoWithPermissionLevelSerializer serialize:elem0]; }]; jsonDict[@"users"] = [DBArraySerializer serialize:valueObj.users withBlock:^id(id elem0) { return [DBPAPERUserInfoWithPermissionLevelSerializer serialize:elem0]; }]; jsonDict[@"doc_owner"] = [DBSHARINGUserInfoSerializer serialize:valueObj.docOwner]; jsonDict[@"cursor"] = [DBPAPERCursorSerializer serialize:valueObj.cursor]; jsonDict[@"has_more"] = valueObj.hasMore; return jsonDict; } + (DBPAPERListUsersOnPaperDocResponse *)deserialize:(NSDictionary *)valueDict { NSArray *invitees = [DBArraySerializer deserialize:valueDict[@"invitees"] withBlock:^id(id elem0) { return [DBPAPERInviteeInfoWithPermissionLevelSerializer deserialize:elem0]; }]; NSArray *users = [DBArraySerializer deserialize:valueDict[@"users"] withBlock:^id(id elem0) { return [DBPAPERUserInfoWithPermissionLevelSerializer deserialize:elem0]; }]; DBSHARINGUserInfo *docOwner = [DBSHARINGUserInfoSerializer deserialize:valueDict[@"doc_owner"]]; DBPAPERCursor *cursor = [DBPAPERCursorSerializer deserialize:valueDict[@"cursor"]]; NSNumber *hasMore = valueDict[@"has_more"]; return [[DBPAPERListUsersOnPaperDocResponse alloc] initWithInvitees:invitees users:users docOwner:docOwner cursor:cursor hasMore:hasMore]; } @end #import "DBPAPERPaperApiCursorError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBPAPERPaperApiCursorError #pragma mark - Constructors - (instancetype)initWithExpiredCursor { self = [super init]; if (self) { _tag = DBPAPERPaperApiCursorErrorExpiredCursor; } return self; } - (instancetype)initWithInvalidCursor { self = [super init]; if (self) { _tag = DBPAPERPaperApiCursorErrorInvalidCursor; } return self; } - (instancetype)initWithWrongUserInCursor { self = [super init]; if (self) { _tag = DBPAPERPaperApiCursorErrorWrongUserInCursor; } return self; } - (instancetype)initWithReset { self = [super init]; if (self) { _tag = DBPAPERPaperApiCursorErrorReset; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBPAPERPaperApiCursorErrorOther; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isExpiredCursor { return _tag == DBPAPERPaperApiCursorErrorExpiredCursor; } - (BOOL)isInvalidCursor { return _tag == DBPAPERPaperApiCursorErrorInvalidCursor; } - (BOOL)isWrongUserInCursor { return _tag == DBPAPERPaperApiCursorErrorWrongUserInCursor; } - (BOOL)isReset { return _tag == DBPAPERPaperApiCursorErrorReset; } - (BOOL)isOther { return _tag == DBPAPERPaperApiCursorErrorOther; } - (NSString *)tagName { switch (_tag) { case DBPAPERPaperApiCursorErrorExpiredCursor: return @"DBPAPERPaperApiCursorErrorExpiredCursor"; case DBPAPERPaperApiCursorErrorInvalidCursor: return @"DBPAPERPaperApiCursorErrorInvalidCursor"; case DBPAPERPaperApiCursorErrorWrongUserInCursor: return @"DBPAPERPaperApiCursorErrorWrongUserInCursor"; case DBPAPERPaperApiCursorErrorReset: return @"DBPAPERPaperApiCursorErrorReset"; case DBPAPERPaperApiCursorErrorOther: return @"DBPAPERPaperApiCursorErrorOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBPAPERPaperApiCursorErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBPAPERPaperApiCursorErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBPAPERPaperApiCursorErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToPaperApiCursorError:other]; } - (BOOL)isEqualToPaperApiCursorError:(DBPAPERPaperApiCursorError *)aPaperApiCursorError { if (self == aPaperApiCursorError) { return YES; } if (self.tag != aPaperApiCursorError.tag) { return NO; } switch (_tag) { case DBPAPERPaperApiCursorErrorExpiredCursor: return [[self tagName] isEqual:[aPaperApiCursorError tagName]]; case DBPAPERPaperApiCursorErrorInvalidCursor: return [[self tagName] isEqual:[aPaperApiCursorError tagName]]; case DBPAPERPaperApiCursorErrorWrongUserInCursor: return [[self tagName] isEqual:[aPaperApiCursorError tagName]]; case DBPAPERPaperApiCursorErrorReset: return [[self tagName] isEqual:[aPaperApiCursorError tagName]]; case DBPAPERPaperApiCursorErrorOther: return [[self tagName] isEqual:[aPaperApiCursorError tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBPAPERPaperApiCursorErrorSerializer + (NSDictionary *)serialize:(DBPAPERPaperApiCursorError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isExpiredCursor]) { jsonDict[@".tag"] = @"expired_cursor"; } else if ([valueObj isInvalidCursor]) { jsonDict[@".tag"] = @"invalid_cursor"; } else if ([valueObj isWrongUserInCursor]) { jsonDict[@".tag"] = @"wrong_user_in_cursor"; } else if ([valueObj isReset]) { jsonDict[@".tag"] = @"reset"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBPAPERPaperApiCursorError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"expired_cursor"]) { return [[DBPAPERPaperApiCursorError alloc] initWithExpiredCursor]; } else if ([tag isEqualToString:@"invalid_cursor"]) { return [[DBPAPERPaperApiCursorError alloc] initWithInvalidCursor]; } else if ([tag isEqualToString:@"wrong_user_in_cursor"]) { return [[DBPAPERPaperApiCursorError alloc] initWithWrongUserInCursor]; } else if ([tag isEqualToString:@"reset"]) { return [[DBPAPERPaperApiCursorError alloc] initWithReset]; } else if ([tag isEqualToString:@"other"]) { return [[DBPAPERPaperApiCursorError alloc] initWithOther]; } else { return [[DBPAPERPaperApiCursorError alloc] initWithOther]; } } @end #import "DBPAPERImportFormat.h" #import "DBPAPERPaperDocCreateArgs.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBPAPERPaperDocCreateArgs #pragma mark - Constructors - (instancetype)initWithImportFormat:(DBPAPERImportFormat *)importFormat parentFolderId:(NSString *)parentFolderId { [DBStoneValidators nonnullValidator:nil](importFormat); self = [super init]; if (self) { _parentFolderId = parentFolderId; _importFormat = importFormat; } return self; } - (instancetype)initWithImportFormat:(DBPAPERImportFormat *)importFormat { return [self initWithImportFormat:importFormat parentFolderId:nil]; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBPAPERPaperDocCreateArgsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBPAPERPaperDocCreateArgsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBPAPERPaperDocCreateArgsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.importFormat hash]; if (self.parentFolderId != nil) { result = prime * result + [self.parentFolderId hash]; } return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToPaperDocCreateArgs:other]; } - (BOOL)isEqualToPaperDocCreateArgs:(DBPAPERPaperDocCreateArgs *)aPaperDocCreateArgs { if (self == aPaperDocCreateArgs) { return YES; } if (![self.importFormat isEqual:aPaperDocCreateArgs.importFormat]) { return NO; } if (self.parentFolderId) { if (![self.parentFolderId isEqual:aPaperDocCreateArgs.parentFolderId]) { return NO; } } return YES; } @end #pragma mark - Serializer Object @implementation DBPAPERPaperDocCreateArgsSerializer + (NSDictionary *)serialize:(DBPAPERPaperDocCreateArgs *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"import_format"] = [DBPAPERImportFormatSerializer serialize:valueObj.importFormat]; if (valueObj.parentFolderId) { jsonDict[@"parent_folder_id"] = valueObj.parentFolderId; } return jsonDict; } + (DBPAPERPaperDocCreateArgs *)deserialize:(NSDictionary *)valueDict { DBPAPERImportFormat *importFormat = [DBPAPERImportFormatSerializer deserialize:valueDict[@"import_format"]]; NSString *parentFolderId = valueDict[@"parent_folder_id"] ?: nil; return [[DBPAPERPaperDocCreateArgs alloc] initWithImportFormat:importFormat parentFolderId:parentFolderId]; } @end #import "DBPAPERPaperApiBaseError.h" #import "DBPAPERPaperDocCreateError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBPAPERPaperDocCreateError #pragma mark - Constructors - (instancetype)initWithInsufficientPermissions { self = [super init]; if (self) { _tag = DBPAPERPaperDocCreateErrorInsufficientPermissions; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBPAPERPaperDocCreateErrorOther; } return self; } - (instancetype)initWithContentMalformed { self = [super init]; if (self) { _tag = DBPAPERPaperDocCreateErrorContentMalformed; } return self; } - (instancetype)initWithFolderNotFound { self = [super init]; if (self) { _tag = DBPAPERPaperDocCreateErrorFolderNotFound; } return self; } - (instancetype)initWithDocLengthExceeded { self = [super init]; if (self) { _tag = DBPAPERPaperDocCreateErrorDocLengthExceeded; } return self; } - (instancetype)initWithImageSizeExceeded { self = [super init]; if (self) { _tag = DBPAPERPaperDocCreateErrorImageSizeExceeded; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isInsufficientPermissions { return _tag == DBPAPERPaperDocCreateErrorInsufficientPermissions; } - (BOOL)isOther { return _tag == DBPAPERPaperDocCreateErrorOther; } - (BOOL)isContentMalformed { return _tag == DBPAPERPaperDocCreateErrorContentMalformed; } - (BOOL)isFolderNotFound { return _tag == DBPAPERPaperDocCreateErrorFolderNotFound; } - (BOOL)isDocLengthExceeded { return _tag == DBPAPERPaperDocCreateErrorDocLengthExceeded; } - (BOOL)isImageSizeExceeded { return _tag == DBPAPERPaperDocCreateErrorImageSizeExceeded; } - (NSString *)tagName { switch (_tag) { case DBPAPERPaperDocCreateErrorInsufficientPermissions: return @"DBPAPERPaperDocCreateErrorInsufficientPermissions"; case DBPAPERPaperDocCreateErrorOther: return @"DBPAPERPaperDocCreateErrorOther"; case DBPAPERPaperDocCreateErrorContentMalformed: return @"DBPAPERPaperDocCreateErrorContentMalformed"; case DBPAPERPaperDocCreateErrorFolderNotFound: return @"DBPAPERPaperDocCreateErrorFolderNotFound"; case DBPAPERPaperDocCreateErrorDocLengthExceeded: return @"DBPAPERPaperDocCreateErrorDocLengthExceeded"; case DBPAPERPaperDocCreateErrorImageSizeExceeded: return @"DBPAPERPaperDocCreateErrorImageSizeExceeded"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBPAPERPaperDocCreateErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBPAPERPaperDocCreateErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBPAPERPaperDocCreateErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToPaperDocCreateError:other]; } - (BOOL)isEqualToPaperDocCreateError:(DBPAPERPaperDocCreateError *)aPaperDocCreateError { if (self == aPaperDocCreateError) { return YES; } if (self.tag != aPaperDocCreateError.tag) { return NO; } switch (_tag) { case DBPAPERPaperDocCreateErrorInsufficientPermissions: return [[self tagName] isEqual:[aPaperDocCreateError tagName]]; case DBPAPERPaperDocCreateErrorOther: return [[self tagName] isEqual:[aPaperDocCreateError tagName]]; case DBPAPERPaperDocCreateErrorContentMalformed: return [[self tagName] isEqual:[aPaperDocCreateError tagName]]; case DBPAPERPaperDocCreateErrorFolderNotFound: return [[self tagName] isEqual:[aPaperDocCreateError tagName]]; case DBPAPERPaperDocCreateErrorDocLengthExceeded: return [[self tagName] isEqual:[aPaperDocCreateError tagName]]; case DBPAPERPaperDocCreateErrorImageSizeExceeded: return [[self tagName] isEqual:[aPaperDocCreateError tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBPAPERPaperDocCreateErrorSerializer + (NSDictionary *)serialize:(DBPAPERPaperDocCreateError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isInsufficientPermissions]) { jsonDict[@".tag"] = @"insufficient_permissions"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else if ([valueObj isContentMalformed]) { jsonDict[@".tag"] = @"content_malformed"; } else if ([valueObj isFolderNotFound]) { jsonDict[@".tag"] = @"folder_not_found"; } else if ([valueObj isDocLengthExceeded]) { jsonDict[@".tag"] = @"doc_length_exceeded"; } else if ([valueObj isImageSizeExceeded]) { jsonDict[@".tag"] = @"image_size_exceeded"; } else { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBPAPERPaperDocCreateError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"insufficient_permissions"]) { return [[DBPAPERPaperDocCreateError alloc] initWithInsufficientPermissions]; } else if ([tag isEqualToString:@"other"]) { return [[DBPAPERPaperDocCreateError alloc] initWithOther]; } else if ([tag isEqualToString:@"content_malformed"]) { return [[DBPAPERPaperDocCreateError alloc] initWithContentMalformed]; } else if ([tag isEqualToString:@"folder_not_found"]) { return [[DBPAPERPaperDocCreateError alloc] initWithFolderNotFound]; } else if ([tag isEqualToString:@"doc_length_exceeded"]) { return [[DBPAPERPaperDocCreateError alloc] initWithDocLengthExceeded]; } else if ([tag isEqualToString:@"image_size_exceeded"]) { return [[DBPAPERPaperDocCreateError alloc] initWithImageSizeExceeded]; } else { return [[DBPAPERPaperDocCreateError alloc] initWithOther]; } } @end #import "DBPAPERPaperDocCreateUpdateResult.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBPAPERPaperDocCreateUpdateResult #pragma mark - Constructors - (instancetype)initWithDocId:(NSString *)docId revision:(NSNumber *)revision title:(NSString *)title { [DBStoneValidators nonnullValidator:nil](docId); [DBStoneValidators nonnullValidator:nil](revision); [DBStoneValidators nonnullValidator:nil](title); self = [super init]; if (self) { _docId = docId; _revision = revision; _title = title; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBPAPERPaperDocCreateUpdateResultSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBPAPERPaperDocCreateUpdateResultSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBPAPERPaperDocCreateUpdateResultSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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.revision hash]; result = prime * result + [self.title hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToPaperDocCreateUpdateResult:other]; } - (BOOL)isEqualToPaperDocCreateUpdateResult:(DBPAPERPaperDocCreateUpdateResult *)aPaperDocCreateUpdateResult { if (self == aPaperDocCreateUpdateResult) { return YES; } if (![self.docId isEqual:aPaperDocCreateUpdateResult.docId]) { return NO; } if (![self.revision isEqual:aPaperDocCreateUpdateResult.revision]) { return NO; } if (![self.title isEqual:aPaperDocCreateUpdateResult.title]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBPAPERPaperDocCreateUpdateResultSerializer + (NSDictionary *)serialize:(DBPAPERPaperDocCreateUpdateResult *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"doc_id"] = valueObj.docId; jsonDict[@"revision"] = valueObj.revision; jsonDict[@"title"] = valueObj.title; return jsonDict; } + (DBPAPERPaperDocCreateUpdateResult *)deserialize:(NSDictionary *)valueDict { NSString *docId = valueDict[@"doc_id"]; NSNumber *revision = valueDict[@"revision"]; NSString *title = valueDict[@"title"]; return [[DBPAPERPaperDocCreateUpdateResult alloc] initWithDocId:docId revision:revision title:title]; } @end #import "DBPAPERExportFormat.h" #import "DBPAPERPaperDocExport.h" #import "DBPAPERRefPaperDoc.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBPAPERPaperDocExport #pragma mark - Constructors - (instancetype)initWithDocId:(NSString *)docId exportFormat:(DBPAPERExportFormat *)exportFormat { [DBStoneValidators nonnullValidator:nil](docId); [DBStoneValidators nonnullValidator:nil](exportFormat); self = [super initWithDocId:docId]; if (self) { _exportFormat = exportFormat; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBPAPERPaperDocExportSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBPAPERPaperDocExportSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBPAPERPaperDocExportSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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.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 isEqualToPaperDocExport:other]; } - (BOOL)isEqualToPaperDocExport:(DBPAPERPaperDocExport *)aPaperDocExport { if (self == aPaperDocExport) { return YES; } if (![self.docId isEqual:aPaperDocExport.docId]) { return NO; } if (![self.exportFormat isEqual:aPaperDocExport.exportFormat]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBPAPERPaperDocExportSerializer + (NSDictionary *)serialize:(DBPAPERPaperDocExport *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"doc_id"] = valueObj.docId; jsonDict[@"export_format"] = [DBPAPERExportFormatSerializer serialize:valueObj.exportFormat]; return jsonDict; } + (DBPAPERPaperDocExport *)deserialize:(NSDictionary *)valueDict { NSString *docId = valueDict[@"doc_id"]; DBPAPERExportFormat *exportFormat = [DBPAPERExportFormatSerializer deserialize:valueDict[@"export_format"]]; return [[DBPAPERPaperDocExport alloc] initWithDocId:docId exportFormat:exportFormat]; } @end #import "DBPAPERPaperDocExportResult.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBPAPERPaperDocExportResult #pragma mark - Constructors - (instancetype)initWithOwner:(NSString *)owner title:(NSString *)title revision:(NSNumber *)revision mimeType:(NSString *)mimeType { [DBStoneValidators nonnullValidator:nil](owner); [DBStoneValidators nonnullValidator:nil](title); [DBStoneValidators nonnullValidator:nil](revision); [DBStoneValidators nonnullValidator:nil](mimeType); self = [super init]; if (self) { _owner = owner; _title = title; _revision = revision; _mimeType = mimeType; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBPAPERPaperDocExportResultSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBPAPERPaperDocExportResultSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBPAPERPaperDocExportResultSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.owner hash]; result = prime * result + [self.title hash]; result = prime * result + [self.revision hash]; result = prime * result + [self.mimeType hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToPaperDocExportResult:other]; } - (BOOL)isEqualToPaperDocExportResult:(DBPAPERPaperDocExportResult *)aPaperDocExportResult { if (self == aPaperDocExportResult) { return YES; } if (![self.owner isEqual:aPaperDocExportResult.owner]) { return NO; } if (![self.title isEqual:aPaperDocExportResult.title]) { return NO; } if (![self.revision isEqual:aPaperDocExportResult.revision]) { return NO; } if (![self.mimeType isEqual:aPaperDocExportResult.mimeType]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBPAPERPaperDocExportResultSerializer + (NSDictionary *)serialize:(DBPAPERPaperDocExportResult *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"owner"] = valueObj.owner; jsonDict[@"title"] = valueObj.title; jsonDict[@"revision"] = valueObj.revision; jsonDict[@"mime_type"] = valueObj.mimeType; return jsonDict; } + (DBPAPERPaperDocExportResult *)deserialize:(NSDictionary *)valueDict { NSString *owner = valueDict[@"owner"]; NSString *title = valueDict[@"title"]; NSNumber *revision = valueDict[@"revision"]; NSString *mimeType = valueDict[@"mime_type"]; return [[DBPAPERPaperDocExportResult alloc] initWithOwner:owner title:title revision:revision mimeType:mimeType]; } @end #import "DBPAPERPaperDocPermissionLevel.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBPAPERPaperDocPermissionLevel #pragma mark - Constructors - (instancetype)initWithEdit { self = [super init]; if (self) { _tag = DBPAPERPaperDocPermissionLevelEdit; } return self; } - (instancetype)initWithViewAndComment { self = [super init]; if (self) { _tag = DBPAPERPaperDocPermissionLevelViewAndComment; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBPAPERPaperDocPermissionLevelOther; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isEdit { return _tag == DBPAPERPaperDocPermissionLevelEdit; } - (BOOL)isViewAndComment { return _tag == DBPAPERPaperDocPermissionLevelViewAndComment; } - (BOOL)isOther { return _tag == DBPAPERPaperDocPermissionLevelOther; } - (NSString *)tagName { switch (_tag) { case DBPAPERPaperDocPermissionLevelEdit: return @"DBPAPERPaperDocPermissionLevelEdit"; case DBPAPERPaperDocPermissionLevelViewAndComment: return @"DBPAPERPaperDocPermissionLevelViewAndComment"; case DBPAPERPaperDocPermissionLevelOther: return @"DBPAPERPaperDocPermissionLevelOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBPAPERPaperDocPermissionLevelSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBPAPERPaperDocPermissionLevelSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBPAPERPaperDocPermissionLevelSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToPaperDocPermissionLevel:other]; } - (BOOL)isEqualToPaperDocPermissionLevel:(DBPAPERPaperDocPermissionLevel *)aPaperDocPermissionLevel { if (self == aPaperDocPermissionLevel) { return YES; } if (self.tag != aPaperDocPermissionLevel.tag) { return NO; } switch (_tag) { case DBPAPERPaperDocPermissionLevelEdit: return [[self tagName] isEqual:[aPaperDocPermissionLevel tagName]]; case DBPAPERPaperDocPermissionLevelViewAndComment: return [[self tagName] isEqual:[aPaperDocPermissionLevel tagName]]; case DBPAPERPaperDocPermissionLevelOther: return [[self tagName] isEqual:[aPaperDocPermissionLevel tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBPAPERPaperDocPermissionLevelSerializer + (NSDictionary *)serialize:(DBPAPERPaperDocPermissionLevel *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isEdit]) { jsonDict[@".tag"] = @"edit"; } else if ([valueObj isViewAndComment]) { jsonDict[@".tag"] = @"view_and_comment"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBPAPERPaperDocPermissionLevel *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"edit"]) { return [[DBPAPERPaperDocPermissionLevel alloc] initWithEdit]; } else if ([tag isEqualToString:@"view_and_comment"]) { return [[DBPAPERPaperDocPermissionLevel alloc] initWithViewAndComment]; } else if ([tag isEqualToString:@"other"]) { return [[DBPAPERPaperDocPermissionLevel alloc] initWithOther]; } else { return [[DBPAPERPaperDocPermissionLevel alloc] initWithOther]; } } @end #import "DBPAPERPaperDocSharingPolicy.h" #import "DBPAPERRefPaperDoc.h" #import "DBPAPERSharingPolicy.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBPAPERPaperDocSharingPolicy #pragma mark - Constructors - (instancetype)initWithDocId:(NSString *)docId sharingPolicy:(DBPAPERSharingPolicy *)sharingPolicy { [DBStoneValidators nonnullValidator:nil](docId); [DBStoneValidators nonnullValidator:nil](sharingPolicy); self = [super initWithDocId:docId]; if (self) { _sharingPolicy = sharingPolicy; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBPAPERPaperDocSharingPolicySerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBPAPERPaperDocSharingPolicySerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBPAPERPaperDocSharingPolicySerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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.sharingPolicy hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToPaperDocSharingPolicy:other]; } - (BOOL)isEqualToPaperDocSharingPolicy:(DBPAPERPaperDocSharingPolicy *)aPaperDocSharingPolicy { if (self == aPaperDocSharingPolicy) { return YES; } if (![self.docId isEqual:aPaperDocSharingPolicy.docId]) { return NO; } if (![self.sharingPolicy isEqual:aPaperDocSharingPolicy.sharingPolicy]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBPAPERPaperDocSharingPolicySerializer + (NSDictionary *)serialize:(DBPAPERPaperDocSharingPolicy *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"doc_id"] = valueObj.docId; jsonDict[@"sharing_policy"] = [DBPAPERSharingPolicySerializer serialize:valueObj.sharingPolicy]; return jsonDict; } + (DBPAPERPaperDocSharingPolicy *)deserialize:(NSDictionary *)valueDict { NSString *docId = valueDict[@"doc_id"]; DBPAPERSharingPolicy *sharingPolicy = [DBPAPERSharingPolicySerializer deserialize:valueDict[@"sharing_policy"]]; return [[DBPAPERPaperDocSharingPolicy alloc] initWithDocId:docId sharingPolicy:sharingPolicy]; } @end #import "DBPAPERImportFormat.h" #import "DBPAPERPaperDocUpdateArgs.h" #import "DBPAPERPaperDocUpdatePolicy.h" #import "DBPAPERRefPaperDoc.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBPAPERPaperDocUpdateArgs #pragma mark - Constructors - (instancetype)initWithDocId:(NSString *)docId docUpdatePolicy:(DBPAPERPaperDocUpdatePolicy *)docUpdatePolicy revision:(NSNumber *)revision importFormat:(DBPAPERImportFormat *)importFormat { [DBStoneValidators nonnullValidator:nil](docId); [DBStoneValidators nonnullValidator:nil](docUpdatePolicy); [DBStoneValidators nonnullValidator:nil](revision); [DBStoneValidators nonnullValidator:nil](importFormat); self = [super initWithDocId:docId]; if (self) { _docUpdatePolicy = docUpdatePolicy; _revision = revision; _importFormat = importFormat; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBPAPERPaperDocUpdateArgsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBPAPERPaperDocUpdateArgsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBPAPERPaperDocUpdateArgsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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.docUpdatePolicy hash]; result = prime * result + [self.revision 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 isEqualToPaperDocUpdateArgs:other]; } - (BOOL)isEqualToPaperDocUpdateArgs:(DBPAPERPaperDocUpdateArgs *)aPaperDocUpdateArgs { if (self == aPaperDocUpdateArgs) { return YES; } if (![self.docId isEqual:aPaperDocUpdateArgs.docId]) { return NO; } if (![self.docUpdatePolicy isEqual:aPaperDocUpdateArgs.docUpdatePolicy]) { return NO; } if (![self.revision isEqual:aPaperDocUpdateArgs.revision]) { return NO; } if (![self.importFormat isEqual:aPaperDocUpdateArgs.importFormat]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBPAPERPaperDocUpdateArgsSerializer + (NSDictionary *)serialize:(DBPAPERPaperDocUpdateArgs *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"doc_id"] = valueObj.docId; jsonDict[@"doc_update_policy"] = [DBPAPERPaperDocUpdatePolicySerializer serialize:valueObj.docUpdatePolicy]; jsonDict[@"revision"] = valueObj.revision; jsonDict[@"import_format"] = [DBPAPERImportFormatSerializer serialize:valueObj.importFormat]; return jsonDict; } + (DBPAPERPaperDocUpdateArgs *)deserialize:(NSDictionary *)valueDict { NSString *docId = valueDict[@"doc_id"]; DBPAPERPaperDocUpdatePolicy *docUpdatePolicy = [DBPAPERPaperDocUpdatePolicySerializer deserialize:valueDict[@"doc_update_policy"]]; NSNumber *revision = valueDict[@"revision"]; DBPAPERImportFormat *importFormat = [DBPAPERImportFormatSerializer deserialize:valueDict[@"import_format"]]; return [[DBPAPERPaperDocUpdateArgs alloc] initWithDocId:docId docUpdatePolicy:docUpdatePolicy revision:revision importFormat:importFormat]; } @end #import "DBPAPERDocLookupError.h" #import "DBPAPERPaperDocUpdateError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBPAPERPaperDocUpdateError #pragma mark - Constructors - (instancetype)initWithInsufficientPermissions { self = [super init]; if (self) { _tag = DBPAPERPaperDocUpdateErrorInsufficientPermissions; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBPAPERPaperDocUpdateErrorOther; } return self; } - (instancetype)initWithDocNotFound { self = [super init]; if (self) { _tag = DBPAPERPaperDocUpdateErrorDocNotFound; } return self; } - (instancetype)initWithContentMalformed { self = [super init]; if (self) { _tag = DBPAPERPaperDocUpdateErrorContentMalformed; } return self; } - (instancetype)initWithRevisionMismatch { self = [super init]; if (self) { _tag = DBPAPERPaperDocUpdateErrorRevisionMismatch; } return self; } - (instancetype)initWithDocLengthExceeded { self = [super init]; if (self) { _tag = DBPAPERPaperDocUpdateErrorDocLengthExceeded; } return self; } - (instancetype)initWithImageSizeExceeded { self = [super init]; if (self) { _tag = DBPAPERPaperDocUpdateErrorImageSizeExceeded; } return self; } - (instancetype)initWithDocArchived { self = [super init]; if (self) { _tag = DBPAPERPaperDocUpdateErrorDocArchived; } return self; } - (instancetype)initWithDocDeleted { self = [super init]; if (self) { _tag = DBPAPERPaperDocUpdateErrorDocDeleted; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isInsufficientPermissions { return _tag == DBPAPERPaperDocUpdateErrorInsufficientPermissions; } - (BOOL)isOther { return _tag == DBPAPERPaperDocUpdateErrorOther; } - (BOOL)isDocNotFound { return _tag == DBPAPERPaperDocUpdateErrorDocNotFound; } - (BOOL)isContentMalformed { return _tag == DBPAPERPaperDocUpdateErrorContentMalformed; } - (BOOL)isRevisionMismatch { return _tag == DBPAPERPaperDocUpdateErrorRevisionMismatch; } - (BOOL)isDocLengthExceeded { return _tag == DBPAPERPaperDocUpdateErrorDocLengthExceeded; } - (BOOL)isImageSizeExceeded { return _tag == DBPAPERPaperDocUpdateErrorImageSizeExceeded; } - (BOOL)isDocArchived { return _tag == DBPAPERPaperDocUpdateErrorDocArchived; } - (BOOL)isDocDeleted { return _tag == DBPAPERPaperDocUpdateErrorDocDeleted; } - (NSString *)tagName { switch (_tag) { case DBPAPERPaperDocUpdateErrorInsufficientPermissions: return @"DBPAPERPaperDocUpdateErrorInsufficientPermissions"; case DBPAPERPaperDocUpdateErrorOther: return @"DBPAPERPaperDocUpdateErrorOther"; case DBPAPERPaperDocUpdateErrorDocNotFound: return @"DBPAPERPaperDocUpdateErrorDocNotFound"; case DBPAPERPaperDocUpdateErrorContentMalformed: return @"DBPAPERPaperDocUpdateErrorContentMalformed"; case DBPAPERPaperDocUpdateErrorRevisionMismatch: return @"DBPAPERPaperDocUpdateErrorRevisionMismatch"; case DBPAPERPaperDocUpdateErrorDocLengthExceeded: return @"DBPAPERPaperDocUpdateErrorDocLengthExceeded"; case DBPAPERPaperDocUpdateErrorImageSizeExceeded: return @"DBPAPERPaperDocUpdateErrorImageSizeExceeded"; case DBPAPERPaperDocUpdateErrorDocArchived: return @"DBPAPERPaperDocUpdateErrorDocArchived"; case DBPAPERPaperDocUpdateErrorDocDeleted: return @"DBPAPERPaperDocUpdateErrorDocDeleted"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBPAPERPaperDocUpdateErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBPAPERPaperDocUpdateErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBPAPERPaperDocUpdateErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToPaperDocUpdateError:other]; } - (BOOL)isEqualToPaperDocUpdateError:(DBPAPERPaperDocUpdateError *)aPaperDocUpdateError { if (self == aPaperDocUpdateError) { return YES; } if (self.tag != aPaperDocUpdateError.tag) { return NO; } switch (_tag) { case DBPAPERPaperDocUpdateErrorInsufficientPermissions: return [[self tagName] isEqual:[aPaperDocUpdateError tagName]]; case DBPAPERPaperDocUpdateErrorOther: return [[self tagName] isEqual:[aPaperDocUpdateError tagName]]; case DBPAPERPaperDocUpdateErrorDocNotFound: return [[self tagName] isEqual:[aPaperDocUpdateError tagName]]; case DBPAPERPaperDocUpdateErrorContentMalformed: return [[self tagName] isEqual:[aPaperDocUpdateError tagName]]; case DBPAPERPaperDocUpdateErrorRevisionMismatch: return [[self tagName] isEqual:[aPaperDocUpdateError tagName]]; case DBPAPERPaperDocUpdateErrorDocLengthExceeded: return [[self tagName] isEqual:[aPaperDocUpdateError tagName]]; case DBPAPERPaperDocUpdateErrorImageSizeExceeded: return [[self tagName] isEqual:[aPaperDocUpdateError tagName]]; case DBPAPERPaperDocUpdateErrorDocArchived: return [[self tagName] isEqual:[aPaperDocUpdateError tagName]]; case DBPAPERPaperDocUpdateErrorDocDeleted: return [[self tagName] isEqual:[aPaperDocUpdateError tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBPAPERPaperDocUpdateErrorSerializer + (NSDictionary *)serialize:(DBPAPERPaperDocUpdateError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isInsufficientPermissions]) { jsonDict[@".tag"] = @"insufficient_permissions"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else if ([valueObj isDocNotFound]) { jsonDict[@".tag"] = @"doc_not_found"; } else if ([valueObj isContentMalformed]) { jsonDict[@".tag"] = @"content_malformed"; } else if ([valueObj isRevisionMismatch]) { jsonDict[@".tag"] = @"revision_mismatch"; } else if ([valueObj isDocLengthExceeded]) { jsonDict[@".tag"] = @"doc_length_exceeded"; } else if ([valueObj isImageSizeExceeded]) { jsonDict[@".tag"] = @"image_size_exceeded"; } else if ([valueObj isDocArchived]) { jsonDict[@".tag"] = @"doc_archived"; } else if ([valueObj isDocDeleted]) { jsonDict[@".tag"] = @"doc_deleted"; } else { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBPAPERPaperDocUpdateError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"insufficient_permissions"]) { return [[DBPAPERPaperDocUpdateError alloc] initWithInsufficientPermissions]; } else if ([tag isEqualToString:@"other"]) { return [[DBPAPERPaperDocUpdateError alloc] initWithOther]; } else if ([tag isEqualToString:@"doc_not_found"]) { return [[DBPAPERPaperDocUpdateError alloc] initWithDocNotFound]; } else if ([tag isEqualToString:@"content_malformed"]) { return [[DBPAPERPaperDocUpdateError alloc] initWithContentMalformed]; } else if ([tag isEqualToString:@"revision_mismatch"]) { return [[DBPAPERPaperDocUpdateError alloc] initWithRevisionMismatch]; } else if ([tag isEqualToString:@"doc_length_exceeded"]) { return [[DBPAPERPaperDocUpdateError alloc] initWithDocLengthExceeded]; } else if ([tag isEqualToString:@"image_size_exceeded"]) { return [[DBPAPERPaperDocUpdateError alloc] initWithImageSizeExceeded]; } else if ([tag isEqualToString:@"doc_archived"]) { return [[DBPAPERPaperDocUpdateError alloc] initWithDocArchived]; } else if ([tag isEqualToString:@"doc_deleted"]) { return [[DBPAPERPaperDocUpdateError alloc] initWithDocDeleted]; } else { return [[DBPAPERPaperDocUpdateError alloc] initWithOther]; } } @end #import "DBPAPERPaperDocUpdatePolicy.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBPAPERPaperDocUpdatePolicy #pragma mark - Constructors - (instancetype)initWithAppend { self = [super init]; if (self) { _tag = DBPAPERPaperDocUpdatePolicyAppend; } return self; } - (instancetype)initWithPrepend { self = [super init]; if (self) { _tag = DBPAPERPaperDocUpdatePolicyPrepend; } return self; } - (instancetype)initWithOverwriteAll { self = [super init]; if (self) { _tag = DBPAPERPaperDocUpdatePolicyOverwriteAll; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBPAPERPaperDocUpdatePolicyOther; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isAppend { return _tag == DBPAPERPaperDocUpdatePolicyAppend; } - (BOOL)isPrepend { return _tag == DBPAPERPaperDocUpdatePolicyPrepend; } - (BOOL)isOverwriteAll { return _tag == DBPAPERPaperDocUpdatePolicyOverwriteAll; } - (BOOL)isOther { return _tag == DBPAPERPaperDocUpdatePolicyOther; } - (NSString *)tagName { switch (_tag) { case DBPAPERPaperDocUpdatePolicyAppend: return @"DBPAPERPaperDocUpdatePolicyAppend"; case DBPAPERPaperDocUpdatePolicyPrepend: return @"DBPAPERPaperDocUpdatePolicyPrepend"; case DBPAPERPaperDocUpdatePolicyOverwriteAll: return @"DBPAPERPaperDocUpdatePolicyOverwriteAll"; case DBPAPERPaperDocUpdatePolicyOther: return @"DBPAPERPaperDocUpdatePolicyOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBPAPERPaperDocUpdatePolicySerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBPAPERPaperDocUpdatePolicySerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBPAPERPaperDocUpdatePolicySerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #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:(DBPAPERPaperDocUpdatePolicy *)aPaperDocUpdatePolicy { if (self == aPaperDocUpdatePolicy) { return YES; } if (self.tag != aPaperDocUpdatePolicy.tag) { return NO; } switch (_tag) { case DBPAPERPaperDocUpdatePolicyAppend: return [[self tagName] isEqual:[aPaperDocUpdatePolicy tagName]]; case DBPAPERPaperDocUpdatePolicyPrepend: return [[self tagName] isEqual:[aPaperDocUpdatePolicy tagName]]; case DBPAPERPaperDocUpdatePolicyOverwriteAll: return [[self tagName] isEqual:[aPaperDocUpdatePolicy tagName]]; case DBPAPERPaperDocUpdatePolicyOther: return [[self tagName] isEqual:[aPaperDocUpdatePolicy tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBPAPERPaperDocUpdatePolicySerializer + (NSDictionary *)serialize:(DBPAPERPaperDocUpdatePolicy *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isAppend]) { jsonDict[@".tag"] = @"append"; } else if ([valueObj isPrepend]) { jsonDict[@".tag"] = @"prepend"; } else if ([valueObj isOverwriteAll]) { jsonDict[@".tag"] = @"overwrite_all"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBPAPERPaperDocUpdatePolicy *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"append"]) { return [[DBPAPERPaperDocUpdatePolicy alloc] initWithAppend]; } else if ([tag isEqualToString:@"prepend"]) { return [[DBPAPERPaperDocUpdatePolicy alloc] initWithPrepend]; } else if ([tag isEqualToString:@"overwrite_all"]) { return [[DBPAPERPaperDocUpdatePolicy alloc] initWithOverwriteAll]; } else if ([tag isEqualToString:@"other"]) { return [[DBPAPERPaperDocUpdatePolicy alloc] initWithOther]; } else { return [[DBPAPERPaperDocUpdatePolicy alloc] initWithOther]; } } @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" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBPAPERRemovePaperDocUser #pragma mark - Constructors - (instancetype)initWithDocId:(NSString *)docId member:(DBSHARINGMemberSelector *)member { [DBStoneValidators nonnullValidator:nil](docId); [DBStoneValidators nonnullValidator:nil](member); self = [super initWithDocId:docId]; if (self) { _member = member; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBPAPERRemovePaperDocUserSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBPAPERRemovePaperDocUserSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBPAPERRemovePaperDocUserSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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.member hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToRemovePaperDocUser:other]; } - (BOOL)isEqualToRemovePaperDocUser:(DBPAPERRemovePaperDocUser *)aRemovePaperDocUser { if (self == aRemovePaperDocUser) { return YES; } if (![self.docId isEqual:aRemovePaperDocUser.docId]) { return NO; } if (![self.member isEqual:aRemovePaperDocUser.member]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBPAPERRemovePaperDocUserSerializer + (NSDictionary *)serialize:(DBPAPERRemovePaperDocUser *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"doc_id"] = valueObj.docId; jsonDict[@"member"] = [DBSHARINGMemberSelectorSerializer serialize:valueObj.member]; return jsonDict; } + (DBPAPERRemovePaperDocUser *)deserialize:(NSDictionary *)valueDict { NSString *docId = valueDict[@"doc_id"]; DBSHARINGMemberSelector *member = [DBSHARINGMemberSelectorSerializer deserialize:valueDict[@"member"]]; return [[DBPAPERRemovePaperDocUser alloc] initWithDocId:docId member:member]; } @end #import "DBPAPERSharingPolicy.h" #import "DBPAPERSharingPublicPolicyType.h" #import "DBPAPERSharingTeamPolicyType.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBPAPERSharingPolicy #pragma mark - Constructors - (instancetype)initWithPublicSharingPolicy:(DBPAPERSharingPublicPolicyType *)publicSharingPolicy teamSharingPolicy:(DBPAPERSharingTeamPolicyType *)teamSharingPolicy { self = [super init]; if (self) { _publicSharingPolicy = publicSharingPolicy; _teamSharingPolicy = teamSharingPolicy; } return self; } - (instancetype)initDefault { return [self initWithPublicSharingPolicy:nil teamSharingPolicy:nil]; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBPAPERSharingPolicySerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBPAPERSharingPolicySerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBPAPERSharingPolicySerializer serialize:self] description]; } #pragma mark - Copyable method - (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.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 isEqualToSharingPolicy:other]; } - (BOOL)isEqualToSharingPolicy:(DBPAPERSharingPolicy *)aSharingPolicy { if (self == aSharingPolicy) { return YES; } if (self.publicSharingPolicy) { if (![self.publicSharingPolicy isEqual:aSharingPolicy.publicSharingPolicy]) { return NO; } } if (self.teamSharingPolicy) { if (![self.teamSharingPolicy isEqual:aSharingPolicy.teamSharingPolicy]) { return NO; } } return YES; } @end #pragma mark - Serializer Object @implementation DBPAPERSharingPolicySerializer + (NSDictionary *)serialize:(DBPAPERSharingPolicy *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if (valueObj.publicSharingPolicy) { jsonDict[@"public_sharing_policy"] = [DBPAPERSharingPublicPolicyTypeSerializer serialize:valueObj.publicSharingPolicy]; } if (valueObj.teamSharingPolicy) { jsonDict[@"team_sharing_policy"] = [DBPAPERSharingTeamPolicyTypeSerializer serialize:valueObj.teamSharingPolicy]; } return jsonDict; } + (DBPAPERSharingPolicy *)deserialize:(NSDictionary *)valueDict { DBPAPERSharingPublicPolicyType *publicSharingPolicy = valueDict[@"public_sharing_policy"] ? [DBPAPERSharingPublicPolicyTypeSerializer deserialize:valueDict[@"public_sharing_policy"]] : nil; DBPAPERSharingTeamPolicyType *teamSharingPolicy = valueDict[@"team_sharing_policy"] ? [DBPAPERSharingTeamPolicyTypeSerializer deserialize:valueDict[@"team_sharing_policy"]] : nil; return [[DBPAPERSharingPolicy alloc] initWithPublicSharingPolicy:publicSharingPolicy teamSharingPolicy:teamSharingPolicy]; } @end #import "DBPAPERSharingTeamPolicyType.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBPAPERSharingTeamPolicyType #pragma mark - Constructors - (instancetype)initWithPeopleWithLinkCanEdit { self = [super init]; if (self) { _tag = DBPAPERSharingTeamPolicyTypePeopleWithLinkCanEdit; } return self; } - (instancetype)initWithPeopleWithLinkCanViewAndComment { self = [super init]; if (self) { _tag = DBPAPERSharingTeamPolicyTypePeopleWithLinkCanViewAndComment; } return self; } - (instancetype)initWithInviteOnly { self = [super init]; if (self) { _tag = DBPAPERSharingTeamPolicyTypeInviteOnly; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isPeopleWithLinkCanEdit { return _tag == DBPAPERSharingTeamPolicyTypePeopleWithLinkCanEdit; } - (BOOL)isPeopleWithLinkCanViewAndComment { return _tag == DBPAPERSharingTeamPolicyTypePeopleWithLinkCanViewAndComment; } - (BOOL)isInviteOnly { return _tag == DBPAPERSharingTeamPolicyTypeInviteOnly; } - (NSString *)tagName { switch (_tag) { case DBPAPERSharingTeamPolicyTypePeopleWithLinkCanEdit: return @"DBPAPERSharingTeamPolicyTypePeopleWithLinkCanEdit"; case DBPAPERSharingTeamPolicyTypePeopleWithLinkCanViewAndComment: return @"DBPAPERSharingTeamPolicyTypePeopleWithLinkCanViewAndComment"; case DBPAPERSharingTeamPolicyTypeInviteOnly: return @"DBPAPERSharingTeamPolicyTypeInviteOnly"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBPAPERSharingTeamPolicyTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBPAPERSharingTeamPolicyTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBPAPERSharingTeamPolicyTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToSharingTeamPolicyType:other]; } - (BOOL)isEqualToSharingTeamPolicyType:(DBPAPERSharingTeamPolicyType *)aSharingTeamPolicyType { if (self == aSharingTeamPolicyType) { return YES; } if (self.tag != aSharingTeamPolicyType.tag) { return NO; } switch (_tag) { case DBPAPERSharingTeamPolicyTypePeopleWithLinkCanEdit: return [[self tagName] isEqual:[aSharingTeamPolicyType tagName]]; case DBPAPERSharingTeamPolicyTypePeopleWithLinkCanViewAndComment: return [[self tagName] isEqual:[aSharingTeamPolicyType tagName]]; case DBPAPERSharingTeamPolicyTypeInviteOnly: return [[self tagName] isEqual:[aSharingTeamPolicyType tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBPAPERSharingTeamPolicyTypeSerializer + (NSDictionary *)serialize:(DBPAPERSharingTeamPolicyType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isPeopleWithLinkCanEdit]) { jsonDict[@".tag"] = @"people_with_link_can_edit"; } else if ([valueObj isPeopleWithLinkCanViewAndComment]) { jsonDict[@".tag"] = @"people_with_link_can_view_and_comment"; } else if ([valueObj isInviteOnly]) { jsonDict[@".tag"] = @"invite_only"; } else { @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Object not properly initialized. Tag has an unknown value." userInfo:nil]); } return jsonDict; } + (DBPAPERSharingTeamPolicyType *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"people_with_link_can_edit"]) { return [[DBPAPERSharingTeamPolicyType alloc] initWithPeopleWithLinkCanEdit]; } else if ([tag isEqualToString:@"people_with_link_can_view_and_comment"]) { return [[DBPAPERSharingTeamPolicyType alloc] initWithPeopleWithLinkCanViewAndComment]; } else if ([tag isEqualToString:@"invite_only"]) { return [[DBPAPERSharingTeamPolicyType alloc] initWithInviteOnly]; } else { @throw([NSException exceptionWithName:@"InvalidTag" reason:[NSString stringWithFormat:@"Tag has an invalid value: \"%@\".", valueDict[@".tag"]] userInfo:nil]); } } @end #import "DBPAPERSharingPublicPolicyType.h" #import "DBPAPERSharingTeamPolicyType.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBPAPERSharingPublicPolicyType #pragma mark - Constructors - (instancetype)initWithPeopleWithLinkCanEdit { self = [super init]; if (self) { _tag = DBPAPERSharingPublicPolicyTypePeopleWithLinkCanEdit; } return self; } - (instancetype)initWithPeopleWithLinkCanViewAndComment { self = [super init]; if (self) { _tag = DBPAPERSharingPublicPolicyTypePeopleWithLinkCanViewAndComment; } return self; } - (instancetype)initWithInviteOnly { self = [super init]; if (self) { _tag = DBPAPERSharingPublicPolicyTypeInviteOnly; } return self; } - (instancetype)initWithDisabled { self = [super init]; if (self) { _tag = DBPAPERSharingPublicPolicyTypeDisabled; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isPeopleWithLinkCanEdit { return _tag == DBPAPERSharingPublicPolicyTypePeopleWithLinkCanEdit; } - (BOOL)isPeopleWithLinkCanViewAndComment { return _tag == DBPAPERSharingPublicPolicyTypePeopleWithLinkCanViewAndComment; } - (BOOL)isInviteOnly { return _tag == DBPAPERSharingPublicPolicyTypeInviteOnly; } - (BOOL)isDisabled { return _tag == DBPAPERSharingPublicPolicyTypeDisabled; } - (NSString *)tagName { switch (_tag) { case DBPAPERSharingPublicPolicyTypePeopleWithLinkCanEdit: return @"DBPAPERSharingPublicPolicyTypePeopleWithLinkCanEdit"; case DBPAPERSharingPublicPolicyTypePeopleWithLinkCanViewAndComment: return @"DBPAPERSharingPublicPolicyTypePeopleWithLinkCanViewAndComment"; case DBPAPERSharingPublicPolicyTypeInviteOnly: return @"DBPAPERSharingPublicPolicyTypeInviteOnly"; case DBPAPERSharingPublicPolicyTypeDisabled: return @"DBPAPERSharingPublicPolicyTypeDisabled"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBPAPERSharingPublicPolicyTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBPAPERSharingPublicPolicyTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBPAPERSharingPublicPolicyTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToSharingPublicPolicyType:other]; } - (BOOL)isEqualToSharingPublicPolicyType:(DBPAPERSharingPublicPolicyType *)aSharingPublicPolicyType { if (self == aSharingPublicPolicyType) { return YES; } if (self.tag != aSharingPublicPolicyType.tag) { return NO; } switch (_tag) { case DBPAPERSharingPublicPolicyTypePeopleWithLinkCanEdit: return [[self tagName] isEqual:[aSharingPublicPolicyType tagName]]; case DBPAPERSharingPublicPolicyTypePeopleWithLinkCanViewAndComment: return [[self tagName] isEqual:[aSharingPublicPolicyType tagName]]; case DBPAPERSharingPublicPolicyTypeInviteOnly: return [[self tagName] isEqual:[aSharingPublicPolicyType tagName]]; case DBPAPERSharingPublicPolicyTypeDisabled: return [[self tagName] isEqual:[aSharingPublicPolicyType tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBPAPERSharingPublicPolicyTypeSerializer + (NSDictionary *)serialize:(DBPAPERSharingPublicPolicyType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isPeopleWithLinkCanEdit]) { jsonDict[@".tag"] = @"people_with_link_can_edit"; } else if ([valueObj isPeopleWithLinkCanViewAndComment]) { jsonDict[@".tag"] = @"people_with_link_can_view_and_comment"; } else if ([valueObj isInviteOnly]) { jsonDict[@".tag"] = @"invite_only"; } else if ([valueObj isDisabled]) { jsonDict[@".tag"] = @"disabled"; } else { @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Object not properly initialized. Tag has an unknown value." userInfo:nil]); } return jsonDict; } + (DBPAPERSharingPublicPolicyType *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"people_with_link_can_edit"]) { return [[DBPAPERSharingPublicPolicyType alloc] initWithPeopleWithLinkCanEdit]; } else if ([tag isEqualToString:@"people_with_link_can_view_and_comment"]) { return [[DBPAPERSharingPublicPolicyType alloc] initWithPeopleWithLinkCanViewAndComment]; } else if ([tag isEqualToString:@"invite_only"]) { return [[DBPAPERSharingPublicPolicyType alloc] initWithInviteOnly]; } else if ([tag isEqualToString:@"disabled"]) { return [[DBPAPERSharingPublicPolicyType alloc] initWithDisabled]; } else { @throw([NSException exceptionWithName:@"InvalidTag" reason:[NSString stringWithFormat:@"Tag has an invalid value: \"%@\".", valueDict[@".tag"]] userInfo:nil]); } } @end #import "DBPAPERPaperDocPermissionLevel.h" #import "DBPAPERUserInfoWithPermissionLevel.h" #import "DBSHARINGUserInfo.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBPAPERUserInfoWithPermissionLevel #pragma mark - Constructors - (instancetype)initWithUser:(DBSHARINGUserInfo *)user permissionLevel:(DBPAPERPaperDocPermissionLevel *)permissionLevel { [DBStoneValidators nonnullValidator:nil](user); [DBStoneValidators nonnullValidator:nil](permissionLevel); self = [super init]; if (self) { _user = user; _permissionLevel = permissionLevel; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBPAPERUserInfoWithPermissionLevelSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBPAPERUserInfoWithPermissionLevelSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBPAPERUserInfoWithPermissionLevelSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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.permissionLevel hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToUserInfoWithPermissionLevel:other]; } - (BOOL)isEqualToUserInfoWithPermissionLevel:(DBPAPERUserInfoWithPermissionLevel *)anUserInfoWithPermissionLevel { if (self == anUserInfoWithPermissionLevel) { return YES; } if (![self.user isEqual:anUserInfoWithPermissionLevel.user]) { return NO; } if (![self.permissionLevel isEqual:anUserInfoWithPermissionLevel.permissionLevel]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBPAPERUserInfoWithPermissionLevelSerializer + (NSDictionary *)serialize:(DBPAPERUserInfoWithPermissionLevel *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"user"] = [DBSHARINGUserInfoSerializer serialize:valueObj.user]; jsonDict[@"permission_level"] = [DBPAPERPaperDocPermissionLevelSerializer serialize:valueObj.permissionLevel]; return jsonDict; } + (DBPAPERUserInfoWithPermissionLevel *)deserialize:(NSDictionary *)valueDict { DBSHARINGUserInfo *user = [DBSHARINGUserInfoSerializer deserialize:valueDict[@"user"]]; DBPAPERPaperDocPermissionLevel *permissionLevel = [DBPAPERPaperDocPermissionLevelSerializer deserialize:valueDict[@"permission_level"]]; return [[DBPAPERUserInfoWithPermissionLevel alloc] initWithUser:user permissionLevel:permissionLevel]; } @end #import "DBPAPERUserOnPaperDocFilter.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBPAPERUserOnPaperDocFilter #pragma mark - Constructors - (instancetype)initWithVisited { self = [super init]; if (self) { _tag = DBPAPERUserOnPaperDocFilterVisited; } return self; } - (instancetype)initWithShared { self = [super init]; if (self) { _tag = DBPAPERUserOnPaperDocFilterShared; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBPAPERUserOnPaperDocFilterOther; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isVisited { return _tag == DBPAPERUserOnPaperDocFilterVisited; } - (BOOL)isShared { return _tag == DBPAPERUserOnPaperDocFilterShared; } - (BOOL)isOther { return _tag == DBPAPERUserOnPaperDocFilterOther; } - (NSString *)tagName { switch (_tag) { case DBPAPERUserOnPaperDocFilterVisited: return @"DBPAPERUserOnPaperDocFilterVisited"; case DBPAPERUserOnPaperDocFilterShared: return @"DBPAPERUserOnPaperDocFilterShared"; case DBPAPERUserOnPaperDocFilterOther: return @"DBPAPERUserOnPaperDocFilterOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBPAPERUserOnPaperDocFilterSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBPAPERUserOnPaperDocFilterSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBPAPERUserOnPaperDocFilterSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToUserOnPaperDocFilter:other]; } - (BOOL)isEqualToUserOnPaperDocFilter:(DBPAPERUserOnPaperDocFilter *)anUserOnPaperDocFilter { if (self == anUserOnPaperDocFilter) { return YES; } if (self.tag != anUserOnPaperDocFilter.tag) { return NO; } switch (_tag) { case DBPAPERUserOnPaperDocFilterVisited: return [[self tagName] isEqual:[anUserOnPaperDocFilter tagName]]; case DBPAPERUserOnPaperDocFilterShared: return [[self tagName] isEqual:[anUserOnPaperDocFilter tagName]]; case DBPAPERUserOnPaperDocFilterOther: return [[self tagName] isEqual:[anUserOnPaperDocFilter tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBPAPERUserOnPaperDocFilterSerializer + (NSDictionary *)serialize:(DBPAPERUserOnPaperDocFilter *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isVisited]) { jsonDict[@".tag"] = @"visited"; } else if ([valueObj isShared]) { jsonDict[@".tag"] = @"shared"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBPAPERUserOnPaperDocFilter *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"visited"]) { return [[DBPAPERUserOnPaperDocFilter alloc] initWithVisited]; } else if ([tag isEqualToString:@"shared"]) { return [[DBPAPERUserOnPaperDocFilter alloc] initWithShared]; } else if ([tag isEqualToString:@"other"]) { return [[DBPAPERUserOnPaperDocFilter alloc] initWithOther]; } else { return [[DBPAPERUserOnPaperDocFilter alloc] initWithOther]; } } @end ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERAddMember.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBPAPERAddMember; @class DBPAPERPaperDocPermissionLevel; @class DBSHARINGMemberSelector; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `AddMember` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBPAPERAddMember : NSObject #pragma mark - Instance fields /// Permission for the user. @property (nonatomic, readonly) DBPAPERPaperDocPermissionLevel *permissionLevel; /// User which should be added to the Paper doc. Specify only email address or /// Dropbox account ID. @property (nonatomic, readonly) DBSHARINGMemberSelector *member; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param member User which should be added to the Paper doc. Specify only /// email address or Dropbox account ID. /// @param permissionLevel Permission for the user. /// /// @return An initialized instance. /// - (instancetype)initWithMember:(DBSHARINGMemberSelector *)member permissionLevel:(nullable DBPAPERPaperDocPermissionLevel *)permissionLevel; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param member User which should be added to the Paper doc. Specify only /// email address or Dropbox account ID. /// /// @return An initialized instance. /// - (instancetype)initWithMember:(DBSHARINGMemberSelector *)member; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `AddMember` struct. /// @interface DBPAPERAddMemberSerializer : NSObject /// /// Serializes `DBPAPERAddMember` instances. /// /// @param instance An instance of the `DBPAPERAddMember` API object. /// /// @return A json-compatible dictionary representation of the /// `DBPAPERAddMember` API object. /// + (nullable NSDictionary *)serialize:(DBPAPERAddMember *)instance; /// /// Deserializes `DBPAPERAddMember` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBPAPERAddMember` API object. /// /// @return An instantiation of the `DBPAPERAddMember` object. /// + (DBPAPERAddMember *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERAddPaperDocUser.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBPAPERRefPaperDoc.h" #import "DBSerializableProtocol.h" @class DBPAPERAddMember; @class DBPAPERAddPaperDocUser; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `AddPaperDocUser` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBPAPERAddPaperDocUser : DBPAPERRefPaperDoc #pragma mark - Instance fields /// User which should be added to the Paper doc. Specify only email address or /// Dropbox account ID. @property (nonatomic, readonly) NSArray *members; /// A personal message that will be emailed to each successfully added member. @property (nonatomic, readonly, copy, nullable) NSString *customMessage; /// Clients should set this to true if no email message shall be sent to added /// users. @property (nonatomic, readonly) NSNumber *quiet; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param docId The Paper doc ID. /// @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. /// @param quiet Clients should set this to true if no email message shall be /// sent to added users. /// /// @return An initialized instance. /// - (instancetype)initWithDocId:(NSString *)docId members:(NSArray *)members customMessage:(nullable NSString *)customMessage quiet:(nullable NSNumber *)quiet; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param docId The Paper doc ID. /// @param members User which should be added to the Paper doc. Specify only /// email address or Dropbox account ID. /// /// @return An initialized instance. /// - (instancetype)initWithDocId:(NSString *)docId members:(NSArray *)members; @end #pragma mark - Serializer Object /// /// The serialization class for the `AddPaperDocUser` struct. /// @interface DBPAPERAddPaperDocUserSerializer : NSObject /// /// Serializes `DBPAPERAddPaperDocUser` instances. /// /// @param instance An instance of the `DBPAPERAddPaperDocUser` API object. /// /// @return A json-compatible dictionary representation of the /// `DBPAPERAddPaperDocUser` API object. /// + (nullable NSDictionary *)serialize:(DBPAPERAddPaperDocUser *)instance; /// /// Deserializes `DBPAPERAddPaperDocUser` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBPAPERAddPaperDocUser` API object. /// /// @return An instantiation of the `DBPAPERAddPaperDocUser` object. /// + (DBPAPERAddPaperDocUser *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERAddPaperDocUserMemberResult.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBPAPERAddPaperDocUserMemberResult; @class DBPAPERAddPaperDocUserResult; @class DBSHARINGMemberSelector; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `AddPaperDocUserMemberResult` struct. /// /// Per-member result for `docsUsersAdd`. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBPAPERAddPaperDocUserMemberResult : NSObject #pragma mark - Instance fields /// One of specified input members. @property (nonatomic, readonly) DBSHARINGMemberSelector *member; /// The outcome of the action on this member. @property (nonatomic, readonly) DBPAPERAddPaperDocUserResult *result; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param member One of specified input members. /// @param result The outcome of the action on this member. /// /// @return An initialized instance. /// - (instancetype)initWithMember:(DBSHARINGMemberSelector *)member result:(DBPAPERAddPaperDocUserResult *)result; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `AddPaperDocUserMemberResult` struct. /// @interface DBPAPERAddPaperDocUserMemberResultSerializer : NSObject /// /// Serializes `DBPAPERAddPaperDocUserMemberResult` instances. /// /// @param instance An instance of the `DBPAPERAddPaperDocUserMemberResult` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBPAPERAddPaperDocUserMemberResult` API object. /// + (nullable NSDictionary *)serialize:(DBPAPERAddPaperDocUserMemberResult *)instance; /// /// Deserializes `DBPAPERAddPaperDocUserMemberResult` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBPAPERAddPaperDocUserMemberResult` API object. /// /// @return An instantiation of the `DBPAPERAddPaperDocUserMemberResult` object. /// + (DBPAPERAddPaperDocUserMemberResult *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERAddPaperDocUserResult.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBPAPERAddPaperDocUserResult; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `AddPaperDocUserResult` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBPAPERAddPaperDocUserResult : NSObject #pragma mark - Instance fields /// The `DBPAPERAddPaperDocUserResultTag` enum type represents the possible tag /// states with which the `DBPAPERAddPaperDocUserResult` union can exist. 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, /// 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, /// Owner's permissions cannot be changed. DBPAPERAddPaperDocUserResultUserIsOwner, /// User data could not be retrieved. Clients should retry. DBPAPERAddPaperDocUserResultFailedUserDataRetrieval, /// This user already has the correct permission to the Paper doc. DBPAPERAddPaperDocUserResultPermissionAlreadyGranted, /// (no description). DBPAPERAddPaperDocUserResultOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBPAPERAddPaperDocUserResultTag tag; #pragma mark - Constructors /// /// Initializes union class with tag state of "success". /// /// Description of the "success" tag state: User was successfully added to the /// Paper doc. /// /// @return An initialized instance. /// - (instancetype)initWithSuccess; /// /// Initializes union class with tag state of "unknown_error". /// /// Description of the "unknown_error" tag state: Something unexpected happened /// when trying to add the user to the Paper doc. /// /// @return An initialized instance. /// - (instancetype)initWithUnknownError; /// /// Initializes union class with tag state of "sharing_outside_team_disabled". /// /// Description of the "sharing_outside_team_disabled" tag state: The Paper doc /// can be shared only with team members. /// /// @return An initialized instance. /// - (instancetype)initWithSharingOutsideTeamDisabled; /// /// Initializes union class with tag state of "daily_limit_reached". /// /// Description of the "daily_limit_reached" tag state: The daily limit of how /// many users can be added to the Paper doc was reached. /// /// @return An initialized instance. /// - (instancetype)initWithDailyLimitReached; /// /// Initializes union class with tag state of "user_is_owner". /// /// Description of the "user_is_owner" tag state: Owner's permissions cannot be /// changed. /// /// @return An initialized instance. /// - (instancetype)initWithUserIsOwner; /// /// Initializes union class with tag state of "failed_user_data_retrieval". /// /// Description of the "failed_user_data_retrieval" tag state: User data could /// not be retrieved. Clients should retry. /// /// @return An initialized instance. /// - (instancetype)initWithFailedUserDataRetrieval; /// /// Initializes union class with tag state of "permission_already_granted". /// /// Description of the "permission_already_granted" tag state: This user already /// has the correct permission to the Paper doc. /// /// @return An initialized instance. /// - (instancetype)initWithPermissionAlreadyGranted; /// /// 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". /// /// @return Whether the union's current tag state has value "success". /// - (BOOL)isSuccess; /// /// 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 /// "sharing_outside_team_disabled". /// /// @return Whether the union's current tag state has value /// "sharing_outside_team_disabled". /// - (BOOL)isSharingOutsideTeamDisabled; /// /// Retrieves whether the union's current tag state has value /// "daily_limit_reached". /// /// @return Whether the union's current tag state has value /// "daily_limit_reached". /// - (BOOL)isDailyLimitReached; /// /// Retrieves whether the union's current tag state has value "user_is_owner". /// /// @return Whether the union's current tag state has value "user_is_owner". /// - (BOOL)isUserIsOwner; /// /// Retrieves whether the union's current tag state has value /// "failed_user_data_retrieval". /// /// @return Whether the union's current tag state has value /// "failed_user_data_retrieval". /// - (BOOL)isFailedUserDataRetrieval; /// /// Retrieves whether the union's current tag state has value /// "permission_already_granted". /// /// @return Whether the union's current tag state has value /// "permission_already_granted". /// - (BOOL)isPermissionAlreadyGranted; /// /// 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 `DBPAPERAddPaperDocUserResult` union. /// @interface DBPAPERAddPaperDocUserResultSerializer : NSObject /// /// Serializes `DBPAPERAddPaperDocUserResult` instances. /// /// @param instance An instance of the `DBPAPERAddPaperDocUserResult` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBPAPERAddPaperDocUserResult` API object. /// + (nullable NSDictionary *)serialize:(DBPAPERAddPaperDocUserResult *)instance; /// /// Deserializes `DBPAPERAddPaperDocUserResult` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBPAPERAddPaperDocUserResult` API object. /// /// @return An instantiation of the `DBPAPERAddPaperDocUserResult` object. /// + (DBPAPERAddPaperDocUserResult *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERCursor.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBPAPERCursor; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `Cursor` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBPAPERCursor : NSObject #pragma mark - Instance fields /// The actual cursor value. @property (nonatomic, readonly, copy) NSString *value; /// Expiration time of value. Some cursors might have expiration time assigned. /// This is a UTC value after which the cursor is no longer valid and the API /// starts returning an error. If cursor expires a new one needs to be obtained /// and pagination needs to be restarted. Some cursors might be short-lived some /// cursors might be long-lived. This really depends on the sorting type and /// order, e.g.: 1. on one hand, listing docs created by the user, sorted by the /// created time ascending will have undefinite expiration because the results /// cannot change while the iteration is happening. This cursor would be /// suitable for long term polling. 2. on the other hand, listing docs sorted by /// the last modified time will have a very short expiration as docs do get /// modified very often and the modified time can be changed while the iteration /// is happening thus altering the results. @property (nonatomic, readonly, nullable) NSDate *expiration; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param value The actual cursor value. /// @param expiration Expiration time of value. Some cursors might have /// expiration time assigned. This is a UTC value after which the cursor is no /// longer valid and the API starts returning an error. If cursor expires a new /// one needs to be obtained and pagination needs to be restarted. Some cursors /// might be short-lived some cursors might be long-lived. This really depends /// on the sorting type and order, e.g.: 1. on one hand, listing docs created by /// the user, sorted by the created time ascending will have undefinite /// expiration because the results cannot change while the iteration is /// happening. This cursor would be suitable for long term polling. 2. on the /// other hand, listing docs sorted by the last modified time will have a very /// short expiration as docs do get modified very often and the modified time /// can be changed while the iteration is happening thus altering the results. /// /// @return An initialized instance. /// - (instancetype)initWithValue:(NSString *)value expiration:(nullable NSDate *)expiration; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param value The actual cursor value. /// /// @return An initialized instance. /// - (instancetype)initWithValue:(NSString *)value; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `Cursor` struct. /// @interface DBPAPERCursorSerializer : NSObject /// /// Serializes `DBPAPERCursor` instances. /// /// @param instance An instance of the `DBPAPERCursor` API object. /// /// @return A json-compatible dictionary representation of the `DBPAPERCursor` /// API object. /// + (nullable NSDictionary *)serialize:(DBPAPERCursor *)instance; /// /// Deserializes `DBPAPERCursor` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBPAPERCursor` API object. /// /// @return An instantiation of the `DBPAPERCursor` object. /// + (DBPAPERCursor *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERDocLookupError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBPAPERDocLookupError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `DocLookupError` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBPAPERDocLookupError : NSObject #pragma mark - Instance fields /// The `DBPAPERDocLookupErrorTag` enum type represents the possible tag states /// with which the `DBPAPERDocLookupError` union can exist. 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, /// The required doc was not found. DBPAPERDocLookupErrorDocNotFound, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBPAPERDocLookupErrorTag 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 "doc_not_found". /// /// Description of the "doc_not_found" tag state: The required doc was not /// found. /// /// @return An initialized instance. /// - (instancetype)initWithDocNotFound; - (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 "doc_not_found". /// /// @return Whether the union's current tag state has value "doc_not_found". /// - (BOOL)isDocNotFound; /// /// 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 `DBPAPERDocLookupError` union. /// @interface DBPAPERDocLookupErrorSerializer : NSObject /// /// Serializes `DBPAPERDocLookupError` instances. /// /// @param instance An instance of the `DBPAPERDocLookupError` API object. /// /// @return A json-compatible dictionary representation of the /// `DBPAPERDocLookupError` API object. /// + (nullable NSDictionary *)serialize:(DBPAPERDocLookupError *)instance; /// /// Deserializes `DBPAPERDocLookupError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBPAPERDocLookupError` API object. /// /// @return An instantiation of the `DBPAPERDocLookupError` object. /// + (DBPAPERDocLookupError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERDocSubscriptionLevel.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBPAPERDocSubscriptionLevel; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `DocSubscriptionLevel` union. /// /// The subscription level of a 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 DBPAPERDocSubscriptionLevel : NSObject #pragma mark - Instance fields /// The `DBPAPERDocSubscriptionLevelTag` enum type represents the possible tag /// states with which the `DBPAPERDocSubscriptionLevel` union can exist. 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, /// 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, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBPAPERDocSubscriptionLevelTag tag; #pragma mark - Constructors /// /// Initializes union class with tag state of "default". /// /// Description of the "default" tag state: No change email messages unless /// you're the creator. /// /// @return An initialized instance. /// - (instancetype)initWithDefault_; /// /// Initializes union class with tag state of "ignore". /// /// Description of the "ignore" tag state: Ignored: Not shown in pad lists or /// activity and no email message is sent. /// /// @return An initialized instance. /// - (instancetype)initWithIgnore; /// /// Initializes union class with tag state of "every". /// /// Description of the "every" tag state: Subscribed: Shown in pad lists and /// activity and change email messages are sent. /// /// @return An initialized instance. /// - (instancetype)initWithEvery; /// /// Initializes union class with tag state of "no_email". /// /// Description of the "no_email" tag state: Unsubscribed: Shown in pad lists, /// but not in activity and no change email messages are sent. /// /// @return An initialized instance. /// - (instancetype)initWithNoEmail; - (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 "ignore". /// /// @return Whether the union's current tag state has value "ignore". /// - (BOOL)isIgnore; /// /// Retrieves whether the union's current tag state has value "every". /// /// @return Whether the union's current tag state has value "every". /// - (BOOL)isEvery; /// /// Retrieves whether the union's current tag state has value "no_email". /// /// @return Whether the union's current tag state has value "no_email". /// - (BOOL)isNoEmail; /// /// 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 `DBPAPERDocSubscriptionLevel` union. /// @interface DBPAPERDocSubscriptionLevelSerializer : NSObject /// /// Serializes `DBPAPERDocSubscriptionLevel` instances. /// /// @param instance An instance of the `DBPAPERDocSubscriptionLevel` API object. /// /// @return A json-compatible dictionary representation of the /// `DBPAPERDocSubscriptionLevel` API object. /// + (nullable NSDictionary *)serialize:(DBPAPERDocSubscriptionLevel *)instance; /// /// Deserializes `DBPAPERDocSubscriptionLevel` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBPAPERDocSubscriptionLevel` API object. /// /// @return An instantiation of the `DBPAPERDocSubscriptionLevel` object. /// + (DBPAPERDocSubscriptionLevel *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERExportFormat.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBPAPERExportFormat; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `ExportFormat` union. /// /// The desired export format of the 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 DBPAPERExportFormat : NSObject #pragma mark - Instance fields /// The `DBPAPERExportFormatTag` enum type represents the possible tag states /// with which the `DBPAPERExportFormat` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBPAPERExportFormatTag){ /// The HTML export format. DBPAPERExportFormatHtml, /// The markdown export format. DBPAPERExportFormatMarkdown, /// (no description). DBPAPERExportFormatOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBPAPERExportFormatTag tag; #pragma mark - Constructors /// /// Initializes union class with tag state of "html". /// /// Description of the "html" tag state: The HTML export format. /// /// @return An initialized instance. /// - (instancetype)initWithHtml; /// /// Initializes union class with tag state of "markdown". /// /// Description of the "markdown" tag state: The markdown export format. /// /// @return An initialized instance. /// - (instancetype)initWithMarkdown; /// /// 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 "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 `DBPAPERExportFormat` union. /// @interface DBPAPERExportFormatSerializer : NSObject /// /// Serializes `DBPAPERExportFormat` instances. /// /// @param instance An instance of the `DBPAPERExportFormat` API object. /// /// @return A json-compatible dictionary representation of the /// `DBPAPERExportFormat` API object. /// + (nullable NSDictionary *)serialize:(DBPAPERExportFormat *)instance; /// /// Deserializes `DBPAPERExportFormat` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBPAPERExportFormat` API object. /// /// @return An instantiation of the `DBPAPERExportFormat` object. /// + (DBPAPERExportFormat *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERFolder.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBPAPERFolder; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `Folder` struct. /// /// Data structure representing a Paper folder. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBPAPERFolder : NSObject #pragma mark - Instance fields /// Paper folder ID. This ID uniquely identifies the folder. @property (nonatomic, readonly, copy) NSString *id_; /// Paper folder name. @property (nonatomic, readonly, copy) NSString *name; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param id_ Paper folder ID. This ID uniquely identifies the folder. /// @param name Paper folder name. /// /// @return An initialized instance. /// - (instancetype)initWithId_:(NSString *)id_ name:(NSString *)name; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `Folder` struct. /// @interface DBPAPERFolderSerializer : NSObject /// /// Serializes `DBPAPERFolder` instances. /// /// @param instance An instance of the `DBPAPERFolder` API object. /// /// @return A json-compatible dictionary representation of the `DBPAPERFolder` /// API object. /// + (nullable NSDictionary *)serialize:(DBPAPERFolder *)instance; /// /// Deserializes `DBPAPERFolder` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBPAPERFolder` API object. /// /// @return An instantiation of the `DBPAPERFolder` object. /// + (DBPAPERFolder *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERFolderSharingPolicyType.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBPAPERFolderSharingPolicyType; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `FolderSharingPolicyType` union. /// /// 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 /// objects. /// @interface DBPAPERFolderSharingPolicyType : NSObject #pragma mark - Instance fields /// The `DBPAPERFolderSharingPolicyTypeTag` enum type represents the possible /// tag states with which the `DBPAPERFolderSharingPolicyType` union can exist. 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, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBPAPERFolderSharingPolicyTypeTag tag; #pragma mark - Constructors /// /// Initializes union class with tag state of "team". /// /// Description of the "team" tag state: Everyone in your team and anyone /// directly invited can access this folder. /// /// @return An initialized instance. /// - (instancetype)initWithTeam; /// /// Initializes union class with tag state of "invite_only". /// /// Description of the "invite_only" tag state: Only people directly invited can /// access this folder. /// /// @return An initialized instance. /// - (instancetype)initWithInviteOnly; - (instancetype)init NS_UNAVAILABLE; #pragma mark - Tag state methods /// /// 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 "invite_only". /// /// @return Whether the union's current tag state has value "invite_only". /// - (BOOL)isInviteOnly; /// /// 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 `DBPAPERFolderSharingPolicyType` union. /// @interface DBPAPERFolderSharingPolicyTypeSerializer : NSObject /// /// Serializes `DBPAPERFolderSharingPolicyType` instances. /// /// @param instance An instance of the `DBPAPERFolderSharingPolicyType` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBPAPERFolderSharingPolicyType` API object. /// + (nullable NSDictionary *)serialize:(DBPAPERFolderSharingPolicyType *)instance; /// /// Deserializes `DBPAPERFolderSharingPolicyType` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBPAPERFolderSharingPolicyType` API object. /// /// @return An instantiation of the `DBPAPERFolderSharingPolicyType` object. /// + (DBPAPERFolderSharingPolicyType *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERFolderSubscriptionLevel.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBPAPERFolderSubscriptionLevel; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `FolderSubscriptionLevel` union. /// /// The subscription level of a Paper folder. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBPAPERFolderSubscriptionLevel : NSObject #pragma mark - Instance fields /// The `DBPAPERFolderSubscriptionLevelTag` enum type represents the possible /// tag states with which the `DBPAPERFolderSubscriptionLevel` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBPAPERFolderSubscriptionLevelTag){ /// Not shown in activity, no email messages. DBPAPERFolderSubscriptionLevelNone, /// Shown in activity, no email messages. DBPAPERFolderSubscriptionLevelActivityOnly, /// Shown in activity, daily email messages. DBPAPERFolderSubscriptionLevelDailyEmails, /// Shown in activity, weekly email messages. DBPAPERFolderSubscriptionLevelWeeklyEmails, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBPAPERFolderSubscriptionLevelTag tag; #pragma mark - Constructors /// /// Initializes union class with tag state of "none". /// /// Description of the "none" tag state: Not shown in activity, no email /// messages. /// /// @return An initialized instance. /// - (instancetype)initWithNone; /// /// Initializes union class with tag state of "activity_only". /// /// Description of the "activity_only" tag state: Shown in activity, no email /// messages. /// /// @return An initialized instance. /// - (instancetype)initWithActivityOnly; /// /// Initializes union class with tag state of "daily_emails". /// /// Description of the "daily_emails" tag state: Shown in activity, daily email /// messages. /// /// @return An initialized instance. /// - (instancetype)initWithDailyEmails; /// /// Initializes union class with tag state of "weekly_emails". /// /// Description of the "weekly_emails" tag state: Shown in activity, weekly /// email messages. /// /// @return An initialized instance. /// - (instancetype)initWithWeeklyEmails; - (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 "activity_only". /// /// @return Whether the union's current tag state has value "activity_only". /// - (BOOL)isActivityOnly; /// /// Retrieves whether the union's current tag state has value "daily_emails". /// /// @return Whether the union's current tag state has value "daily_emails". /// - (BOOL)isDailyEmails; /// /// Retrieves whether the union's current tag state has value "weekly_emails". /// /// @return Whether the union's current tag state has value "weekly_emails". /// - (BOOL)isWeeklyEmails; /// /// 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 `DBPAPERFolderSubscriptionLevel` union. /// @interface DBPAPERFolderSubscriptionLevelSerializer : NSObject /// /// Serializes `DBPAPERFolderSubscriptionLevel` instances. /// /// @param instance An instance of the `DBPAPERFolderSubscriptionLevel` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBPAPERFolderSubscriptionLevel` API object. /// + (nullable NSDictionary *)serialize:(DBPAPERFolderSubscriptionLevel *)instance; /// /// Deserializes `DBPAPERFolderSubscriptionLevel` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBPAPERFolderSubscriptionLevel` API object. /// /// @return An instantiation of the `DBPAPERFolderSubscriptionLevel` object. /// + (DBPAPERFolderSubscriptionLevel *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERFoldersContainingPaperDoc.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBPAPERFolder; @class DBPAPERFolderSharingPolicyType; @class DBPAPERFoldersContainingPaperDoc; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `FoldersContainingPaperDoc` struct. /// /// Metadata about Paper folders containing the specififed 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 DBPAPERFoldersContainingPaperDoc : NSObject #pragma mark - Instance fields /// The sharing policy of the folder containing the Paper doc. @property (nonatomic, readonly, nullable) DBPAPERFolderSharingPolicyType *folderSharingPolicyType; /// The folder path. If present the first folder is the root folder. @property (nonatomic, readonly, nullable) NSArray *folders; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param folderSharingPolicyType The sharing policy of the folder containing /// the Paper doc. /// @param folders The folder path. If present the first folder is the root /// folder. /// /// @return An initialized instance. /// - (instancetype)initWithFolderSharingPolicyType:(nullable DBPAPERFolderSharingPolicyType *)folderSharingPolicyType folders:(nullable NSArray *)folders; /// /// 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 `FoldersContainingPaperDoc` struct. /// @interface DBPAPERFoldersContainingPaperDocSerializer : NSObject /// /// Serializes `DBPAPERFoldersContainingPaperDoc` instances. /// /// @param instance An instance of the `DBPAPERFoldersContainingPaperDoc` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBPAPERFoldersContainingPaperDoc` API object. /// + (nullable NSDictionary *)serialize:(DBPAPERFoldersContainingPaperDoc *)instance; /// /// Deserializes `DBPAPERFoldersContainingPaperDoc` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBPAPERFoldersContainingPaperDoc` API object. /// /// @return An instantiation of the `DBPAPERFoldersContainingPaperDoc` object. /// + (DBPAPERFoldersContainingPaperDoc *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERImportFormat.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBPAPERImportFormat; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `ImportFormat` union. /// /// The import format of the incoming data. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBPAPERImportFormat : NSObject #pragma mark - Instance fields /// The `DBPAPERImportFormatTag` enum type represents the possible tag states /// with which the `DBPAPERImportFormat` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBPAPERImportFormatTag){ /// The provided data is interpreted as standard HTML. DBPAPERImportFormatHtml, /// 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. The first line of the /// provided document will be used as the doc title. DBPAPERImportFormatPlainText, /// (no description). DBPAPERImportFormatOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBPAPERImportFormatTag 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. The first line of the provided document will be used as the doc /// title. /// /// @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. The first line of the provided document will be used as the /// doc title. /// /// @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 `DBPAPERImportFormat` union. /// @interface DBPAPERImportFormatSerializer : NSObject /// /// Serializes `DBPAPERImportFormat` instances. /// /// @param instance An instance of the `DBPAPERImportFormat` API object. /// /// @return A json-compatible dictionary representation of the /// `DBPAPERImportFormat` API object. /// + (nullable NSDictionary *)serialize:(DBPAPERImportFormat *)instance; /// /// Deserializes `DBPAPERImportFormat` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBPAPERImportFormat` API object. /// /// @return An instantiation of the `DBPAPERImportFormat` object. /// + (DBPAPERImportFormat *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERInviteeInfoWithPermissionLevel.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBPAPERInviteeInfoWithPermissionLevel; @class DBPAPERPaperDocPermissionLevel; @class DBSHARINGInviteeInfo; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `InviteeInfoWithPermissionLevel` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBPAPERInviteeInfoWithPermissionLevel : NSObject #pragma mark - Instance fields /// Email address invited to the Paper doc. @property (nonatomic, readonly) DBSHARINGInviteeInfo *invitee; /// Permission level for the invitee. @property (nonatomic, readonly) DBPAPERPaperDocPermissionLevel *permissionLevel; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param invitee Email address invited to the Paper doc. /// @param permissionLevel Permission level for the invitee. /// /// @return An initialized instance. /// - (instancetype)initWithInvitee:(DBSHARINGInviteeInfo *)invitee permissionLevel:(DBPAPERPaperDocPermissionLevel *)permissionLevel; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `InviteeInfoWithPermissionLevel` struct. /// @interface DBPAPERInviteeInfoWithPermissionLevelSerializer : NSObject /// /// Serializes `DBPAPERInviteeInfoWithPermissionLevel` instances. /// /// @param instance An instance of the `DBPAPERInviteeInfoWithPermissionLevel` /// API object. /// /// @return A json-compatible dictionary representation of the /// `DBPAPERInviteeInfoWithPermissionLevel` API object. /// + (nullable NSDictionary *)serialize:(DBPAPERInviteeInfoWithPermissionLevel *)instance; /// /// Deserializes `DBPAPERInviteeInfoWithPermissionLevel` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBPAPERInviteeInfoWithPermissionLevel` API object. /// /// @return An instantiation of the `DBPAPERInviteeInfoWithPermissionLevel` /// object. /// + (DBPAPERInviteeInfoWithPermissionLevel *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERListDocsCursorError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBPAPERListDocsCursorError; @class DBPAPERPaperApiCursorError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `ListDocsCursorError` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBPAPERListDocsCursorError : NSObject #pragma mark - Instance fields /// The `DBPAPERListDocsCursorErrorTag` enum type represents the possible tag /// states with which the `DBPAPERListDocsCursorError` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBPAPERListDocsCursorErrorTag){ /// (no description). DBPAPERListDocsCursorErrorCursorError, /// (no description). DBPAPERListDocsCursorErrorOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBPAPERListDocsCursorErrorTag tag; /// (no description). @note Ensure the `isCursorError` method returns true /// before accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) DBPAPERPaperApiCursorError *cursorError; #pragma mark - Constructors /// /// Initializes union class with tag state of "cursor_error". /// /// @param cursorError (no description). /// /// @return An initialized instance. /// - (instancetype)initWithCursorError:(DBPAPERPaperApiCursorError *)cursorError; /// /// 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 "cursor_error". /// /// @note Call this method and ensure it returns true before accessing the /// `cursorError` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value "cursor_error". /// - (BOOL)isCursorError; /// /// 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 `DBPAPERListDocsCursorError` union. /// @interface DBPAPERListDocsCursorErrorSerializer : NSObject /// /// Serializes `DBPAPERListDocsCursorError` instances. /// /// @param instance An instance of the `DBPAPERListDocsCursorError` API object. /// /// @return A json-compatible dictionary representation of the /// `DBPAPERListDocsCursorError` API object. /// + (nullable NSDictionary *)serialize:(DBPAPERListDocsCursorError *)instance; /// /// Deserializes `DBPAPERListDocsCursorError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBPAPERListDocsCursorError` API object. /// /// @return An instantiation of the `DBPAPERListDocsCursorError` object. /// + (DBPAPERListDocsCursorError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERListPaperDocsArgs.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBPAPERListPaperDocsArgs; @class DBPAPERListPaperDocsFilterBy; @class DBPAPERListPaperDocsSortBy; @class DBPAPERListPaperDocsSortOrder; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `ListPaperDocsArgs` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBPAPERListPaperDocsArgs : NSObject #pragma mark - Instance fields /// Allows user to specify how the Paper docs should be filtered. @property (nonatomic, readonly) DBPAPERListPaperDocsFilterBy *filterBy; /// Allows user to specify how the Paper docs should be sorted. @property (nonatomic, readonly) DBPAPERListPaperDocsSortBy *sortBy; /// Allows user to specify the sort order of the result. @property (nonatomic, readonly) DBPAPERListPaperDocsSortOrder *sortOrder; /// Size limit per batch. The maximum number of docs that can be retrieved per /// batch is 1000. Higher value results in invalid arguments error. @property (nonatomic, readonly) NSNumber *limit; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @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. /// @param sortOrder Allows user to specify the sort order of the result. /// @param limit Size limit per batch. The maximum number of docs that can be /// retrieved per batch is 1000. Higher value results in invalid arguments /// error. /// /// @return An initialized instance. /// - (instancetype)initWithFilterBy:(nullable DBPAPERListPaperDocsFilterBy *)filterBy sortBy:(nullable DBPAPERListPaperDocsSortBy *)sortBy sortOrder:(nullable DBPAPERListPaperDocsSortOrder *)sortOrder limit:(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 `ListPaperDocsArgs` struct. /// @interface DBPAPERListPaperDocsArgsSerializer : NSObject /// /// Serializes `DBPAPERListPaperDocsArgs` instances. /// /// @param instance An instance of the `DBPAPERListPaperDocsArgs` API object. /// /// @return A json-compatible dictionary representation of the /// `DBPAPERListPaperDocsArgs` API object. /// + (nullable NSDictionary *)serialize:(DBPAPERListPaperDocsArgs *)instance; /// /// Deserializes `DBPAPERListPaperDocsArgs` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBPAPERListPaperDocsArgs` API object. /// /// @return An instantiation of the `DBPAPERListPaperDocsArgs` object. /// + (DBPAPERListPaperDocsArgs *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERListPaperDocsContinueArgs.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBPAPERListPaperDocsContinueArgs; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `ListPaperDocsContinueArgs` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBPAPERListPaperDocsContinueArgs : NSObject #pragma mark - Instance fields /// The cursor obtained from `docsList` or `docsListContinue`. Allows for /// pagination. @property (nonatomic, readonly, copy) NSString *cursor; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param cursor The cursor obtained from `docsList` or `docsListContinue`. /// Allows for pagination. /// /// @return An initialized instance. /// - (instancetype)initWithCursor:(NSString *)cursor; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `ListPaperDocsContinueArgs` struct. /// @interface DBPAPERListPaperDocsContinueArgsSerializer : NSObject /// /// Serializes `DBPAPERListPaperDocsContinueArgs` instances. /// /// @param instance An instance of the `DBPAPERListPaperDocsContinueArgs` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBPAPERListPaperDocsContinueArgs` API object. /// + (nullable NSDictionary *)serialize:(DBPAPERListPaperDocsContinueArgs *)instance; /// /// Deserializes `DBPAPERListPaperDocsContinueArgs` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBPAPERListPaperDocsContinueArgs` API object. /// /// @return An instantiation of the `DBPAPERListPaperDocsContinueArgs` object. /// + (DBPAPERListPaperDocsContinueArgs *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERListPaperDocsFilterBy.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBPAPERListPaperDocsFilterBy; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `ListPaperDocsFilterBy` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBPAPERListPaperDocsFilterBy : NSObject #pragma mark - Instance fields /// The `DBPAPERListPaperDocsFilterByTag` enum type represents the possible tag /// states with which the `DBPAPERListPaperDocsFilterBy` union can exist. 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, /// (no description). DBPAPERListPaperDocsFilterByOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBPAPERListPaperDocsFilterByTag tag; #pragma mark - Constructors /// /// Initializes union class with tag state of "docs_accessed". /// /// Description of the "docs_accessed" tag state: Fetches all Paper doc IDs that /// the user has ever accessed. /// /// @return An initialized instance. /// - (instancetype)initWithDocsAccessed; /// /// Initializes union class with tag state of "docs_created". /// /// Description of the "docs_created" tag state: Fetches only the Paper doc IDs /// that the user has created. /// /// @return An initialized instance. /// - (instancetype)initWithDocsCreated; /// /// 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 "docs_accessed". /// /// @return Whether the union's current tag state has value "docs_accessed". /// - (BOOL)isDocsAccessed; /// /// Retrieves whether the union's current tag state has value "docs_created". /// /// @return Whether the union's current tag state has value "docs_created". /// - (BOOL)isDocsCreated; /// /// 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 `DBPAPERListPaperDocsFilterBy` union. /// @interface DBPAPERListPaperDocsFilterBySerializer : NSObject /// /// Serializes `DBPAPERListPaperDocsFilterBy` instances. /// /// @param instance An instance of the `DBPAPERListPaperDocsFilterBy` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBPAPERListPaperDocsFilterBy` API object. /// + (nullable NSDictionary *)serialize:(DBPAPERListPaperDocsFilterBy *)instance; /// /// Deserializes `DBPAPERListPaperDocsFilterBy` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBPAPERListPaperDocsFilterBy` API object. /// /// @return An instantiation of the `DBPAPERListPaperDocsFilterBy` object. /// + (DBPAPERListPaperDocsFilterBy *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERListPaperDocsResponse.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBPAPERCursor; @class DBPAPERListPaperDocsResponse; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `ListPaperDocsResponse` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBPAPERListPaperDocsResponse : NSObject #pragma mark - Instance fields /// The list of Paper doc IDs that can be used to access the given Paper docs or /// supplied to other API methods. The list is sorted in the order specified by /// the initial call to `docsList`. @property (nonatomic, readonly) NSArray *docIds; /// Pass the cursor into `docsListContinue` to paginate through all files. The /// cursor preserves all properties as specified in the original call to /// `docsList`. @property (nonatomic, readonly) DBPAPERCursor *cursor; /// Will be set to True if a subsequent call with the provided cursor to /// `docsListContinue` returns immediately with some results. If set to False /// please allow some delay before making another call to `docsListContinue`. @property (nonatomic, readonly) NSNumber *hasMore; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param docIds The list of Paper doc IDs that can be used to access the given /// Paper docs or supplied to other API methods. The list is sorted in the order /// specified by the initial call to `docsList`. /// @param cursor Pass the cursor into `docsListContinue` to paginate through /// all files. The cursor preserves all properties as specified in the original /// call to `docsList`. /// @param hasMore Will be set to True if a subsequent call with the provided /// cursor to `docsListContinue` returns immediately with some results. If set /// to False please allow some delay before making another call to /// `docsListContinue`. /// /// @return An initialized instance. /// - (instancetype)initWithDocIds:(NSArray *)docIds cursor:(DBPAPERCursor *)cursor hasMore:(NSNumber *)hasMore; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `ListPaperDocsResponse` struct. /// @interface DBPAPERListPaperDocsResponseSerializer : NSObject /// /// Serializes `DBPAPERListPaperDocsResponse` instances. /// /// @param instance An instance of the `DBPAPERListPaperDocsResponse` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBPAPERListPaperDocsResponse` API object. /// + (nullable NSDictionary *)serialize:(DBPAPERListPaperDocsResponse *)instance; /// /// Deserializes `DBPAPERListPaperDocsResponse` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBPAPERListPaperDocsResponse` API object. /// /// @return An instantiation of the `DBPAPERListPaperDocsResponse` object. /// + (DBPAPERListPaperDocsResponse *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERListPaperDocsSortBy.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBPAPERListPaperDocsSortBy; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `ListPaperDocsSortBy` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBPAPERListPaperDocsSortBy : NSObject #pragma mark - Instance fields /// The `DBPAPERListPaperDocsSortByTag` enum type represents the possible tag /// states with which the `DBPAPERListPaperDocsSortBy` union can exist. 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 creation time. DBPAPERListPaperDocsSortByCreated, /// (no description). DBPAPERListPaperDocsSortByOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBPAPERListPaperDocsSortByTag tag; #pragma mark - Constructors /// /// Initializes union class with tag state of "accessed". /// /// Description of the "accessed" tag state: Sorts the Paper docs by the time /// they were last accessed. /// /// @return An initialized instance. /// - (instancetype)initWithAccessed; /// /// Initializes union class with tag state of "modified". /// /// Description of the "modified" tag state: Sorts the Paper docs by the time /// they were last modified. /// /// @return An initialized instance. /// - (instancetype)initWithModified; /// /// Initializes union class with tag state of "created". /// /// Description of the "created" tag state: Sorts the Paper docs by the creation /// time. /// /// @return An initialized instance. /// - (instancetype)initWithCreated; /// /// 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 "accessed". /// /// @return Whether the union's current tag state has value "accessed". /// - (BOOL)isAccessed; /// /// Retrieves whether the union's current tag state has value "modified". /// /// @return Whether the union's current tag state has value "modified". /// - (BOOL)isModified; /// /// 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 "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 `DBPAPERListPaperDocsSortBy` union. /// @interface DBPAPERListPaperDocsSortBySerializer : NSObject /// /// Serializes `DBPAPERListPaperDocsSortBy` instances. /// /// @param instance An instance of the `DBPAPERListPaperDocsSortBy` API object. /// /// @return A json-compatible dictionary representation of the /// `DBPAPERListPaperDocsSortBy` API object. /// + (nullable NSDictionary *)serialize:(DBPAPERListPaperDocsSortBy *)instance; /// /// Deserializes `DBPAPERListPaperDocsSortBy` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBPAPERListPaperDocsSortBy` API object. /// /// @return An instantiation of the `DBPAPERListPaperDocsSortBy` object. /// + (DBPAPERListPaperDocsSortBy *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERListPaperDocsSortOrder.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBPAPERListPaperDocsSortOrder; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `ListPaperDocsSortOrder` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBPAPERListPaperDocsSortOrder : NSObject #pragma mark - Instance fields /// The `DBPAPERListPaperDocsSortOrderTag` enum type represents the possible tag /// states with which the `DBPAPERListPaperDocsSortOrder` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBPAPERListPaperDocsSortOrderTag){ /// Sorts the search result in ascending order. DBPAPERListPaperDocsSortOrderAscending, /// Sorts the search result in descending order. DBPAPERListPaperDocsSortOrderDescending, /// (no description). DBPAPERListPaperDocsSortOrderOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBPAPERListPaperDocsSortOrderTag tag; #pragma mark - Constructors /// /// Initializes union class with tag state of "ascending". /// /// Description of the "ascending" tag state: Sorts the search result in /// ascending order. /// /// @return An initialized instance. /// - (instancetype)initWithAscending; /// /// Initializes union class with tag state of "descending". /// /// Description of the "descending" tag state: Sorts the search result in /// descending order. /// /// @return An initialized instance. /// - (instancetype)initWithDescending; /// /// 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 "ascending". /// /// @return Whether the union's current tag state has value "ascending". /// - (BOOL)isAscending; /// /// Retrieves whether the union's current tag state has value "descending". /// /// @return Whether the union's current tag state has value "descending". /// - (BOOL)isDescending; /// /// 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 `DBPAPERListPaperDocsSortOrder` union. /// @interface DBPAPERListPaperDocsSortOrderSerializer : NSObject /// /// Serializes `DBPAPERListPaperDocsSortOrder` instances. /// /// @param instance An instance of the `DBPAPERListPaperDocsSortOrder` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBPAPERListPaperDocsSortOrder` API object. /// + (nullable NSDictionary *)serialize:(DBPAPERListPaperDocsSortOrder *)instance; /// /// Deserializes `DBPAPERListPaperDocsSortOrder` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBPAPERListPaperDocsSortOrder` API object. /// /// @return An instantiation of the `DBPAPERListPaperDocsSortOrder` object. /// + (DBPAPERListPaperDocsSortOrder *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERListUsersCursorError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBPAPERListUsersCursorError; @class DBPAPERPaperApiCursorError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `ListUsersCursorError` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBPAPERListUsersCursorError : NSObject #pragma mark - Instance fields /// The `DBPAPERListUsersCursorErrorTag` enum type represents the possible tag /// states with which the `DBPAPERListUsersCursorError` union can exist. 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, /// The required doc was not found. DBPAPERListUsersCursorErrorDocNotFound, /// (no description). DBPAPERListUsersCursorErrorCursorError, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBPAPERListUsersCursorErrorTag tag; /// (no description). @note Ensure the `isCursorError` method returns true /// before accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) DBPAPERPaperApiCursorError *cursorError; #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 "doc_not_found". /// /// Description of the "doc_not_found" tag state: The required doc was not /// found. /// /// @return An initialized instance. /// - (instancetype)initWithDocNotFound; /// /// Initializes union class with tag state of "cursor_error". /// /// @param cursorError (no description). /// /// @return An initialized instance. /// - (instancetype)initWithCursorError:(DBPAPERPaperApiCursorError *)cursorError; - (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 "doc_not_found". /// /// @return Whether the union's current tag state has value "doc_not_found". /// - (BOOL)isDocNotFound; /// /// Retrieves whether the union's current tag state has value "cursor_error". /// /// @note Call this method and ensure it returns true before accessing the /// `cursorError` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value "cursor_error". /// - (BOOL)isCursorError; /// /// 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 `DBPAPERListUsersCursorError` union. /// @interface DBPAPERListUsersCursorErrorSerializer : NSObject /// /// Serializes `DBPAPERListUsersCursorError` instances. /// /// @param instance An instance of the `DBPAPERListUsersCursorError` API object. /// /// @return A json-compatible dictionary representation of the /// `DBPAPERListUsersCursorError` API object. /// + (nullable NSDictionary *)serialize:(DBPAPERListUsersCursorError *)instance; /// /// Deserializes `DBPAPERListUsersCursorError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBPAPERListUsersCursorError` API object. /// /// @return An instantiation of the `DBPAPERListUsersCursorError` object. /// + (DBPAPERListUsersCursorError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERListUsersOnFolderArgs.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBPAPERRefPaperDoc.h" #import "DBSerializableProtocol.h" @class DBPAPERListUsersOnFolderArgs; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `ListUsersOnFolderArgs` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBPAPERListUsersOnFolderArgs : DBPAPERRefPaperDoc #pragma mark - Instance fields /// Size limit per batch. The maximum number of users that can be retrieved per /// batch is 1000. Higher value results in invalid arguments error. @property (nonatomic, readonly) NSNumber *limit; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param docId The Paper doc ID. /// @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. /// /// @return An initialized instance. /// - (instancetype)initWithDocId:(NSString *)docId limit:(nullable NSNumber *)limit; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param docId The Paper doc ID. /// /// @return An initialized instance. /// - (instancetype)initWithDocId:(NSString *)docId; @end #pragma mark - Serializer Object /// /// The serialization class for the `ListUsersOnFolderArgs` struct. /// @interface DBPAPERListUsersOnFolderArgsSerializer : NSObject /// /// Serializes `DBPAPERListUsersOnFolderArgs` instances. /// /// @param instance An instance of the `DBPAPERListUsersOnFolderArgs` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBPAPERListUsersOnFolderArgs` API object. /// + (nullable NSDictionary *)serialize:(DBPAPERListUsersOnFolderArgs *)instance; /// /// Deserializes `DBPAPERListUsersOnFolderArgs` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBPAPERListUsersOnFolderArgs` API object. /// /// @return An instantiation of the `DBPAPERListUsersOnFolderArgs` object. /// + (DBPAPERListUsersOnFolderArgs *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERListUsersOnFolderContinueArgs.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBPAPERRefPaperDoc.h" #import "DBSerializableProtocol.h" @class DBPAPERListUsersOnFolderContinueArgs; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `ListUsersOnFolderContinueArgs` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBPAPERListUsersOnFolderContinueArgs : DBPAPERRefPaperDoc #pragma mark - Instance fields /// The cursor obtained from `docsFolderUsersList` or /// `docsFolderUsersListContinue`. Allows for pagination. @property (nonatomic, readonly, copy) NSString *cursor; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param docId The Paper doc ID. /// @param cursor The cursor obtained from `docsFolderUsersList` or /// `docsFolderUsersListContinue`. Allows for pagination. /// /// @return An initialized instance. /// - (instancetype)initWithDocId:(NSString *)docId cursor:(NSString *)cursor; @end #pragma mark - Serializer Object /// /// The serialization class for the `ListUsersOnFolderContinueArgs` struct. /// @interface DBPAPERListUsersOnFolderContinueArgsSerializer : NSObject /// /// Serializes `DBPAPERListUsersOnFolderContinueArgs` instances. /// /// @param instance An instance of the `DBPAPERListUsersOnFolderContinueArgs` /// API object. /// /// @return A json-compatible dictionary representation of the /// `DBPAPERListUsersOnFolderContinueArgs` API object. /// + (nullable NSDictionary *)serialize:(DBPAPERListUsersOnFolderContinueArgs *)instance; /// /// Deserializes `DBPAPERListUsersOnFolderContinueArgs` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBPAPERListUsersOnFolderContinueArgs` API object. /// /// @return An instantiation of the `DBPAPERListUsersOnFolderContinueArgs` /// object. /// + (DBPAPERListUsersOnFolderContinueArgs *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERListUsersOnFolderResponse.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBPAPERCursor; @class DBPAPERListUsersOnFolderResponse; @class DBSHARINGInviteeInfo; @class DBSHARINGUserInfo; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `ListUsersOnFolderResponse` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBPAPERListUsersOnFolderResponse : NSObject #pragma mark - Instance fields /// List of email addresses that are invited on the Paper folder. @property (nonatomic, readonly) NSArray *invitees; /// List of users that are invited on the Paper folder. @property (nonatomic, readonly) NSArray *users; /// Pass the cursor into `docsFolderUsersListContinue` to paginate through all /// users. The cursor preserves all properties as specified in the original call /// to `docsFolderUsersList`. @property (nonatomic, readonly) DBPAPERCursor *cursor; /// Will be set to True if a subsequent call with the provided cursor to /// `docsFolderUsersListContinue` returns immediately with some results. If set /// to False please allow some delay before making another call to /// `docsFolderUsersListContinue`. @property (nonatomic, readonly) NSNumber *hasMore; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param invitees List of email addresses that are invited on the Paper /// folder. /// @param users List of users that are invited on the Paper folder. /// @param cursor Pass the cursor into `docsFolderUsersListContinue` to paginate /// through all users. The cursor preserves all properties as specified in the /// original call to `docsFolderUsersList`. /// @param hasMore Will be set to True if a subsequent call with the provided /// cursor to `docsFolderUsersListContinue` returns immediately with some /// results. If set to False please allow some delay before making another call /// to `docsFolderUsersListContinue`. /// /// @return An initialized instance. /// - (instancetype)initWithInvitees:(NSArray *)invitees users:(NSArray *)users cursor:(DBPAPERCursor *)cursor hasMore:(NSNumber *)hasMore; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `ListUsersOnFolderResponse` struct. /// @interface DBPAPERListUsersOnFolderResponseSerializer : NSObject /// /// Serializes `DBPAPERListUsersOnFolderResponse` instances. /// /// @param instance An instance of the `DBPAPERListUsersOnFolderResponse` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBPAPERListUsersOnFolderResponse` API object. /// + (nullable NSDictionary *)serialize:(DBPAPERListUsersOnFolderResponse *)instance; /// /// Deserializes `DBPAPERListUsersOnFolderResponse` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBPAPERListUsersOnFolderResponse` API object. /// /// @return An instantiation of the `DBPAPERListUsersOnFolderResponse` object. /// + (DBPAPERListUsersOnFolderResponse *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERListUsersOnPaperDocArgs.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBPAPERRefPaperDoc.h" #import "DBSerializableProtocol.h" @class DBPAPERListUsersOnPaperDocArgs; @class DBPAPERUserOnPaperDocFilter; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `ListUsersOnPaperDocArgs` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBPAPERListUsersOnPaperDocArgs : DBPAPERRefPaperDoc #pragma mark - Instance fields /// Size limit per batch. The maximum number of users that can be retrieved per /// batch is 1000. Higher value results in invalid arguments error. @property (nonatomic, readonly) NSNumber *limit; /// Specify this attribute if you want to obtain users that have already /// accessed the Paper doc. @property (nonatomic, readonly) DBPAPERUserOnPaperDocFilter *filterBy; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param docId The Paper doc ID. /// @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. /// @param filterBy Specify this attribute if you want to obtain users that have /// already accessed the Paper doc. /// /// @return An initialized instance. /// - (instancetype)initWithDocId:(NSString *)docId limit:(nullable NSNumber *)limit filterBy:(nullable DBPAPERUserOnPaperDocFilter *)filterBy; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param docId The Paper doc ID. /// /// @return An initialized instance. /// - (instancetype)initWithDocId:(NSString *)docId; @end #pragma mark - Serializer Object /// /// The serialization class for the `ListUsersOnPaperDocArgs` struct. /// @interface DBPAPERListUsersOnPaperDocArgsSerializer : NSObject /// /// Serializes `DBPAPERListUsersOnPaperDocArgs` instances. /// /// @param instance An instance of the `DBPAPERListUsersOnPaperDocArgs` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBPAPERListUsersOnPaperDocArgs` API object. /// + (nullable NSDictionary *)serialize:(DBPAPERListUsersOnPaperDocArgs *)instance; /// /// Deserializes `DBPAPERListUsersOnPaperDocArgs` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBPAPERListUsersOnPaperDocArgs` API object. /// /// @return An instantiation of the `DBPAPERListUsersOnPaperDocArgs` object. /// + (DBPAPERListUsersOnPaperDocArgs *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERListUsersOnPaperDocContinueArgs.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBPAPERRefPaperDoc.h" #import "DBSerializableProtocol.h" @class DBPAPERListUsersOnPaperDocContinueArgs; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `ListUsersOnPaperDocContinueArgs` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBPAPERListUsersOnPaperDocContinueArgs : DBPAPERRefPaperDoc #pragma mark - Instance fields /// The cursor obtained from `docsUsersList` or `docsUsersListContinue`. Allows /// for pagination. @property (nonatomic, readonly, copy) NSString *cursor; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param docId The Paper doc ID. /// @param cursor The cursor obtained from `docsUsersList` or /// `docsUsersListContinue`. Allows for pagination. /// /// @return An initialized instance. /// - (instancetype)initWithDocId:(NSString *)docId cursor:(NSString *)cursor; @end #pragma mark - Serializer Object /// /// The serialization class for the `ListUsersOnPaperDocContinueArgs` struct. /// @interface DBPAPERListUsersOnPaperDocContinueArgsSerializer : NSObject /// /// Serializes `DBPAPERListUsersOnPaperDocContinueArgs` instances. /// /// @param instance An instance of the `DBPAPERListUsersOnPaperDocContinueArgs` /// API object. /// /// @return A json-compatible dictionary representation of the /// `DBPAPERListUsersOnPaperDocContinueArgs` API object. /// + (nullable NSDictionary *)serialize:(DBPAPERListUsersOnPaperDocContinueArgs *)instance; /// /// Deserializes `DBPAPERListUsersOnPaperDocContinueArgs` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBPAPERListUsersOnPaperDocContinueArgs` API object. /// /// @return An instantiation of the `DBPAPERListUsersOnPaperDocContinueArgs` /// object. /// + (DBPAPERListUsersOnPaperDocContinueArgs *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERListUsersOnPaperDocResponse.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBPAPERCursor; @class DBPAPERInviteeInfoWithPermissionLevel; @class DBPAPERListUsersOnPaperDocResponse; @class DBPAPERUserInfoWithPermissionLevel; @class DBSHARINGUserInfo; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `ListUsersOnPaperDocResponse` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBPAPERListUsersOnPaperDocResponse : NSObject #pragma mark - Instance fields /// List of email addresses with their respective permission levels that are /// invited on the Paper doc. @property (nonatomic, readonly) NSArray *invitees; /// List of users with their respective permission levels that are invited on /// the Paper folder. @property (nonatomic, readonly) NSArray *users; /// The Paper doc owner. This field is populated on every single response. @property (nonatomic, readonly) DBSHARINGUserInfo *docOwner; /// Pass the cursor into `docsUsersListContinue` to paginate through all users. /// The cursor preserves all properties as specified in the original call to /// `docsUsersList`. @property (nonatomic, readonly) DBPAPERCursor *cursor; /// Will be set to True if a subsequent call with the provided cursor to /// `docsUsersListContinue` returns immediately with some results. If set to /// False please allow some delay before making another call to /// `docsUsersListContinue`. @property (nonatomic, readonly) NSNumber *hasMore; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param invitees List of email addresses with their respective permission /// levels that are invited on the Paper doc. /// @param users List of users with their respective permission levels that are /// invited on the Paper folder. /// @param docOwner The Paper doc owner. This field is populated on every single /// response. /// @param cursor Pass the cursor into `docsUsersListContinue` to paginate /// through all users. The cursor preserves all properties as specified in the /// original call to `docsUsersList`. /// @param hasMore Will be set to True if a subsequent call with the provided /// cursor to `docsUsersListContinue` returns immediately with some results. If /// set to False please allow some delay before making another call to /// `docsUsersListContinue`. /// /// @return An initialized instance. /// - (instancetype)initWithInvitees:(NSArray *)invitees users:(NSArray *)users docOwner:(DBSHARINGUserInfo *)docOwner cursor:(DBPAPERCursor *)cursor hasMore:(NSNumber *)hasMore; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `ListUsersOnPaperDocResponse` struct. /// @interface DBPAPERListUsersOnPaperDocResponseSerializer : NSObject /// /// Serializes `DBPAPERListUsersOnPaperDocResponse` instances. /// /// @param instance An instance of the `DBPAPERListUsersOnPaperDocResponse` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBPAPERListUsersOnPaperDocResponse` API object. /// + (nullable NSDictionary *)serialize:(DBPAPERListUsersOnPaperDocResponse *)instance; /// /// Deserializes `DBPAPERListUsersOnPaperDocResponse` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBPAPERListUsersOnPaperDocResponse` API object. /// /// @return An instantiation of the `DBPAPERListUsersOnPaperDocResponse` object. /// + (DBPAPERListUsersOnPaperDocResponse *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERPaperApiBaseError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBPAPERPaperApiBaseError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `PaperApiBaseError` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBPAPERPaperApiBaseError : NSObject #pragma mark - Instance fields /// The `DBPAPERPaperApiBaseErrorTag` enum type represents the possible tag /// states with which the `DBPAPERPaperApiBaseError` union can exist. 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, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBPAPERPaperApiBaseErrorTag 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; - (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 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 `DBPAPERPaperApiBaseError` union. /// @interface DBPAPERPaperApiBaseErrorSerializer : NSObject /// /// Serializes `DBPAPERPaperApiBaseError` instances. /// /// @param instance An instance of the `DBPAPERPaperApiBaseError` API object. /// /// @return A json-compatible dictionary representation of the /// `DBPAPERPaperApiBaseError` API object. /// + (nullable NSDictionary *)serialize:(DBPAPERPaperApiBaseError *)instance; /// /// Deserializes `DBPAPERPaperApiBaseError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBPAPERPaperApiBaseError` API object. /// /// @return An instantiation of the `DBPAPERPaperApiBaseError` object. /// + (DBPAPERPaperApiBaseError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERPaperApiCursorError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBPAPERPaperApiCursorError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `PaperApiCursorError` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBPAPERPaperApiCursorError : NSObject #pragma mark - Instance fields /// The `DBPAPERPaperApiCursorErrorTag` enum type represents the possible tag /// states with which the `DBPAPERPaperApiCursorError` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBPAPERPaperApiCursorErrorTag){ /// The provided cursor is expired. DBPAPERPaperApiCursorErrorExpiredCursor, /// The provided cursor is invalid. DBPAPERPaperApiCursorErrorInvalidCursor, /// 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, /// (no description). DBPAPERPaperApiCursorErrorOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBPAPERPaperApiCursorErrorTag tag; #pragma mark - Constructors /// /// Initializes union class with tag state of "expired_cursor". /// /// Description of the "expired_cursor" tag state: The provided cursor is /// expired. /// /// @return An initialized instance. /// - (instancetype)initWithExpiredCursor; /// /// Initializes union class with tag state of "invalid_cursor". /// /// Description of the "invalid_cursor" tag state: The provided cursor is /// invalid. /// /// @return An initialized instance. /// - (instancetype)initWithInvalidCursor; /// /// Initializes union class with tag state of "wrong_user_in_cursor". /// /// Description of the "wrong_user_in_cursor" tag state: The provided cursor /// contains invalid user. /// /// @return An initialized instance. /// - (instancetype)initWithWrongUserInCursor; /// /// Initializes union class with tag state of "reset". /// /// Description of the "reset" tag state: Indicates that the cursor has been /// invalidated. Call the corresponding non-continue endpoint 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 "expired_cursor". /// /// @return Whether the union's current tag state has value "expired_cursor". /// - (BOOL)isExpiredCursor; /// /// 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 /// "wrong_user_in_cursor". /// /// @return Whether the union's current tag state has value /// "wrong_user_in_cursor". /// - (BOOL)isWrongUserInCursor; /// /// 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 `DBPAPERPaperApiCursorError` union. /// @interface DBPAPERPaperApiCursorErrorSerializer : NSObject /// /// Serializes `DBPAPERPaperApiCursorError` instances. /// /// @param instance An instance of the `DBPAPERPaperApiCursorError` API object. /// /// @return A json-compatible dictionary representation of the /// `DBPAPERPaperApiCursorError` API object. /// + (nullable NSDictionary *)serialize:(DBPAPERPaperApiCursorError *)instance; /// /// Deserializes `DBPAPERPaperApiCursorError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBPAPERPaperApiCursorError` API object. /// /// @return An instantiation of the `DBPAPERPaperApiCursorError` object. /// + (DBPAPERPaperApiCursorError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERPaperDocCreateArgs.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBPAPERImportFormat; @class DBPAPERPaperDocCreateArgs; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `PaperDocCreateArgs` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBPAPERPaperDocCreateArgs : NSObject #pragma mark - Instance fields /// 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. @property (nonatomic, readonly, copy, nullable) NSString *parentFolderId; /// The format of provided data. @property (nonatomic, readonly) DBPAPERImportFormat *importFormat; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param importFormat The format of provided data. /// @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. /// /// @return An initialized instance. /// - (instancetype)initWithImportFormat:(DBPAPERImportFormat *)importFormat parentFolderId:(nullable NSString *)parentFolderId; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param importFormat The format of provided data. /// /// @return An initialized instance. /// - (instancetype)initWithImportFormat:(DBPAPERImportFormat *)importFormat; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `PaperDocCreateArgs` struct. /// @interface DBPAPERPaperDocCreateArgsSerializer : NSObject /// /// Serializes `DBPAPERPaperDocCreateArgs` instances. /// /// @param instance An instance of the `DBPAPERPaperDocCreateArgs` API object. /// /// @return A json-compatible dictionary representation of the /// `DBPAPERPaperDocCreateArgs` API object. /// + (nullable NSDictionary *)serialize:(DBPAPERPaperDocCreateArgs *)instance; /// /// Deserializes `DBPAPERPaperDocCreateArgs` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBPAPERPaperDocCreateArgs` API object. /// /// @return An instantiation of the `DBPAPERPaperDocCreateArgs` object. /// + (DBPAPERPaperDocCreateArgs *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERPaperDocCreateError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBPAPERPaperDocCreateError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `PaperDocCreateError` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBPAPERPaperDocCreateError : NSObject #pragma mark - Instance fields /// The `DBPAPERPaperDocCreateErrorTag` enum type represents the possible tag /// states with which the `DBPAPERPaperDocCreateError` union can exist. 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, /// The provided content was malformed and cannot be imported to Paper. DBPAPERPaperDocCreateErrorContentMalformed, /// 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 imported document contains an image that is too large. The current /// limit is 1MB. This only applies to HTML with data URI. DBPAPERPaperDocCreateErrorImageSizeExceeded, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBPAPERPaperDocCreateErrorTag 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 "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 "folder_not_found". /// /// Description of the "folder_not_found" tag state: The specified Paper folder /// is cannot be found. /// /// @return An initialized instance. /// - (instancetype)initWithFolderNotFound; /// /// Initializes union class with tag state of "doc_length_exceeded". /// /// Description of the "doc_length_exceeded" tag state: The newly created Paper /// doc would be too large. Please 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; - (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 /// "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 /// "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 /// "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 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 `DBPAPERPaperDocCreateError` union. /// @interface DBPAPERPaperDocCreateErrorSerializer : NSObject /// /// Serializes `DBPAPERPaperDocCreateError` instances. /// /// @param instance An instance of the `DBPAPERPaperDocCreateError` API object. /// /// @return A json-compatible dictionary representation of the /// `DBPAPERPaperDocCreateError` API object. /// + (nullable NSDictionary *)serialize:(DBPAPERPaperDocCreateError *)instance; /// /// Deserializes `DBPAPERPaperDocCreateError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBPAPERPaperDocCreateError` API object. /// /// @return An instantiation of the `DBPAPERPaperDocCreateError` object. /// + (DBPAPERPaperDocCreateError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERPaperDocCreateUpdateResult.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBPAPERPaperDocCreateUpdateResult; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `PaperDocCreateUpdateResult` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBPAPERPaperDocCreateUpdateResult : NSObject #pragma mark - Instance fields /// Doc ID of the newly created doc. @property (nonatomic, readonly, copy) NSString *docId; /// The Paper doc revision. Simply an ever increasing number. @property (nonatomic, readonly) NSNumber *revision; /// The Paper doc title. @property (nonatomic, readonly, copy) NSString *title; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param docId Doc ID of the newly created doc. /// @param revision The Paper doc revision. Simply an ever increasing number. /// @param title The Paper doc title. /// /// @return An initialized instance. /// - (instancetype)initWithDocId:(NSString *)docId revision:(NSNumber *)revision title:(NSString *)title; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `PaperDocCreateUpdateResult` struct. /// @interface DBPAPERPaperDocCreateUpdateResultSerializer : NSObject /// /// Serializes `DBPAPERPaperDocCreateUpdateResult` instances. /// /// @param instance An instance of the `DBPAPERPaperDocCreateUpdateResult` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBPAPERPaperDocCreateUpdateResult` API object. /// + (nullable NSDictionary *)serialize:(DBPAPERPaperDocCreateUpdateResult *)instance; /// /// Deserializes `DBPAPERPaperDocCreateUpdateResult` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBPAPERPaperDocCreateUpdateResult` API object. /// /// @return An instantiation of the `DBPAPERPaperDocCreateUpdateResult` object. /// + (DBPAPERPaperDocCreateUpdateResult *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERPaperDocExport.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBPAPERRefPaperDoc.h" #import "DBSerializableProtocol.h" @class DBPAPERExportFormat; @class DBPAPERPaperDocExport; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `PaperDocExport` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBPAPERPaperDocExport : DBPAPERRefPaperDoc #pragma mark - Instance fields /// (no description). @property (nonatomic, readonly) DBPAPERExportFormat *exportFormat; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param docId The Paper doc ID. /// @param exportFormat (no description). /// /// @return An initialized instance. /// - (instancetype)initWithDocId:(NSString *)docId exportFormat:(DBPAPERExportFormat *)exportFormat; @end #pragma mark - Serializer Object /// /// The serialization class for the `PaperDocExport` struct. /// @interface DBPAPERPaperDocExportSerializer : NSObject /// /// Serializes `DBPAPERPaperDocExport` instances. /// /// @param instance An instance of the `DBPAPERPaperDocExport` API object. /// /// @return A json-compatible dictionary representation of the /// `DBPAPERPaperDocExport` API object. /// + (nullable NSDictionary *)serialize:(DBPAPERPaperDocExport *)instance; /// /// Deserializes `DBPAPERPaperDocExport` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBPAPERPaperDocExport` API object. /// /// @return An instantiation of the `DBPAPERPaperDocExport` object. /// + (DBPAPERPaperDocExport *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERPaperDocExportResult.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBPAPERPaperDocExportResult; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `PaperDocExportResult` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBPAPERPaperDocExportResult : NSObject #pragma mark - Instance fields /// The Paper doc owner's email address. @property (nonatomic, readonly, copy) NSString *owner; /// The Paper doc title. @property (nonatomic, readonly, copy) NSString *title; /// The Paper doc revision. Simply an ever increasing number. @property (nonatomic, readonly) NSNumber *revision; /// MIME type of the export. This corresponds to ExportFormat specified in the /// request. @property (nonatomic, readonly, copy) NSString *mimeType; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param owner The Paper doc owner's email address. /// @param title The Paper doc title. /// @param revision The Paper doc revision. Simply an ever increasing number. /// @param mimeType MIME type of the export. This corresponds to ExportFormat /// specified in the request. /// /// @return An initialized instance. /// - (instancetype)initWithOwner:(NSString *)owner title:(NSString *)title revision:(NSNumber *)revision mimeType:(NSString *)mimeType; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `PaperDocExportResult` struct. /// @interface DBPAPERPaperDocExportResultSerializer : NSObject /// /// Serializes `DBPAPERPaperDocExportResult` instances. /// /// @param instance An instance of the `DBPAPERPaperDocExportResult` API object. /// /// @return A json-compatible dictionary representation of the /// `DBPAPERPaperDocExportResult` API object. /// + (nullable NSDictionary *)serialize:(DBPAPERPaperDocExportResult *)instance; /// /// Deserializes `DBPAPERPaperDocExportResult` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBPAPERPaperDocExportResult` API object. /// /// @return An instantiation of the `DBPAPERPaperDocExportResult` object. /// + (DBPAPERPaperDocExportResult *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERPaperDocPermissionLevel.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBPAPERPaperDocPermissionLevel; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `PaperDocPermissionLevel` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBPAPERPaperDocPermissionLevel : NSObject #pragma mark - Instance fields /// The `DBPAPERPaperDocPermissionLevelTag` enum type represents the possible /// tag states with which the `DBPAPERPaperDocPermissionLevel` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBPAPERPaperDocPermissionLevelTag){ /// User will be granted edit permissions. DBPAPERPaperDocPermissionLevelEdit, /// User will be granted view and comment permissions. DBPAPERPaperDocPermissionLevelViewAndComment, /// (no description). DBPAPERPaperDocPermissionLevelOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBPAPERPaperDocPermissionLevelTag tag; #pragma mark - Constructors /// /// Initializes union class with tag state of "edit". /// /// Description of the "edit" tag state: User will be granted edit permissions. /// /// @return An initialized instance. /// - (instancetype)initWithEdit; /// /// Initializes union class with tag state of "view_and_comment". /// /// Description of the "view_and_comment" tag state: User will be granted view /// and comment permissions. /// /// @return An initialized instance. /// - (instancetype)initWithViewAndComment; /// /// 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 "edit". /// /// @return Whether the union's current tag state has value "edit". /// - (BOOL)isEdit; /// /// Retrieves whether the union's current tag state has value /// "view_and_comment". /// /// @return Whether the union's current tag state has value "view_and_comment". /// - (BOOL)isViewAndComment; /// /// 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 `DBPAPERPaperDocPermissionLevel` union. /// @interface DBPAPERPaperDocPermissionLevelSerializer : NSObject /// /// Serializes `DBPAPERPaperDocPermissionLevel` instances. /// /// @param instance An instance of the `DBPAPERPaperDocPermissionLevel` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBPAPERPaperDocPermissionLevel` API object. /// + (nullable NSDictionary *)serialize:(DBPAPERPaperDocPermissionLevel *)instance; /// /// Deserializes `DBPAPERPaperDocPermissionLevel` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBPAPERPaperDocPermissionLevel` API object. /// /// @return An instantiation of the `DBPAPERPaperDocPermissionLevel` object. /// + (DBPAPERPaperDocPermissionLevel *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERPaperDocSharingPolicy.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBPAPERRefPaperDoc.h" #import "DBSerializableProtocol.h" @class DBPAPERPaperDocSharingPolicy; @class DBPAPERSharingPolicy; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `PaperDocSharingPolicy` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBPAPERPaperDocSharingPolicy : DBPAPERRefPaperDoc #pragma mark - Instance fields /// The default sharing policy to be set for the Paper doc. @property (nonatomic, readonly) DBPAPERSharingPolicy *sharingPolicy; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param docId The Paper doc ID. /// @param sharingPolicy The default sharing policy to be set for the Paper doc. /// /// @return An initialized instance. /// - (instancetype)initWithDocId:(NSString *)docId sharingPolicy:(DBPAPERSharingPolicy *)sharingPolicy; @end #pragma mark - Serializer Object /// /// The serialization class for the `PaperDocSharingPolicy` struct. /// @interface DBPAPERPaperDocSharingPolicySerializer : NSObject /// /// Serializes `DBPAPERPaperDocSharingPolicy` instances. /// /// @param instance An instance of the `DBPAPERPaperDocSharingPolicy` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBPAPERPaperDocSharingPolicy` API object. /// + (nullable NSDictionary *)serialize:(DBPAPERPaperDocSharingPolicy *)instance; /// /// Deserializes `DBPAPERPaperDocSharingPolicy` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBPAPERPaperDocSharingPolicy` API object. /// /// @return An instantiation of the `DBPAPERPaperDocSharingPolicy` object. /// + (DBPAPERPaperDocSharingPolicy *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERPaperDocUpdateArgs.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBPAPERRefPaperDoc.h" #import "DBSerializableProtocol.h" @class DBPAPERImportFormat; @class DBPAPERPaperDocUpdateArgs; @class DBPAPERPaperDocUpdatePolicy; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `PaperDocUpdateArgs` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBPAPERPaperDocUpdateArgs : DBPAPERRefPaperDoc #pragma mark - Instance fields /// The policy used for the current update call. @property (nonatomic, readonly) DBPAPERPaperDocUpdatePolicy *docUpdatePolicy; /// The latest doc revision. This value must match the head revision or an error /// code will be returned. This is to prevent colliding writes. @property (nonatomic, readonly) NSNumber *revision; /// The format of provided data. @property (nonatomic, readonly) DBPAPERImportFormat *importFormat; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param docId The Paper doc ID. /// @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. This is to prevent colliding /// writes. /// @param importFormat The format of provided data. /// /// @return An initialized instance. /// - (instancetype)initWithDocId:(NSString *)docId docUpdatePolicy:(DBPAPERPaperDocUpdatePolicy *)docUpdatePolicy revision:(NSNumber *)revision importFormat:(DBPAPERImportFormat *)importFormat; @end #pragma mark - Serializer Object /// /// The serialization class for the `PaperDocUpdateArgs` struct. /// @interface DBPAPERPaperDocUpdateArgsSerializer : NSObject /// /// Serializes `DBPAPERPaperDocUpdateArgs` instances. /// /// @param instance An instance of the `DBPAPERPaperDocUpdateArgs` API object. /// /// @return A json-compatible dictionary representation of the /// `DBPAPERPaperDocUpdateArgs` API object. /// + (nullable NSDictionary *)serialize:(DBPAPERPaperDocUpdateArgs *)instance; /// /// Deserializes `DBPAPERPaperDocUpdateArgs` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBPAPERPaperDocUpdateArgs` API object. /// /// @return An instantiation of the `DBPAPERPaperDocUpdateArgs` object. /// + (DBPAPERPaperDocUpdateArgs *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERPaperDocUpdateError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBPAPERPaperDocUpdateError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `PaperDocUpdateError` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBPAPERPaperDocUpdateError : NSObject #pragma mark - Instance fields /// The `DBPAPERPaperDocUpdateErrorTag` enum type represents the possible tag /// states with which the `DBPAPERPaperDocUpdateError` union can exist. 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, /// The required doc was not found. DBPAPERPaperDocUpdateErrorDocNotFound, /// The provided content was malformed and cannot be imported to Paper. DBPAPERPaperDocUpdateErrorContentMalformed, /// 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 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 deleted Paper docs. DBPAPERPaperDocUpdateErrorDocDeleted, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBPAPERPaperDocUpdateErrorTag 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 "doc_not_found". /// /// Description of the "doc_not_found" tag state: The required doc was not /// found. /// /// @return An initialized instance. /// - (instancetype)initWithDocNotFound; /// /// 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 "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_length_exceeded". /// /// Description of the "doc_length_exceeded" tag state: The newly created 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 "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 "other". /// /// @return Whether the union's current tag state has value "other". /// - (BOOL)isOther; /// /// Retrieves whether the union's current tag state has value "doc_not_found". /// /// @return Whether the union's current tag state has value "doc_not_found". /// - (BOOL)isDocNotFound; /// /// 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 /// "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_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 "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 `DBPAPERPaperDocUpdateError` union. /// @interface DBPAPERPaperDocUpdateErrorSerializer : NSObject /// /// Serializes `DBPAPERPaperDocUpdateError` instances. /// /// @param instance An instance of the `DBPAPERPaperDocUpdateError` API object. /// /// @return A json-compatible dictionary representation of the /// `DBPAPERPaperDocUpdateError` API object. /// + (nullable NSDictionary *)serialize:(DBPAPERPaperDocUpdateError *)instance; /// /// Deserializes `DBPAPERPaperDocUpdateError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBPAPERPaperDocUpdateError` API object. /// /// @return An instantiation of the `DBPAPERPaperDocUpdateError` object. /// + (DBPAPERPaperDocUpdateError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERPaperDocUpdatePolicy.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBPAPERPaperDocUpdatePolicy; 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 DBPAPERPaperDocUpdatePolicy : NSObject #pragma mark - Instance fields /// The `DBPAPERPaperDocUpdatePolicyTag` enum type represents the possible tag /// states with which the `DBPAPERPaperDocUpdatePolicy` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBPAPERPaperDocUpdatePolicyTag){ /// The content will be appended to the doc. DBPAPERPaperDocUpdatePolicyAppend, /// 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, /// (no description). DBPAPERPaperDocUpdatePolicyOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBPAPERPaperDocUpdatePolicyTag tag; #pragma mark - Constructors /// /// Initializes union class with tag state of "append". /// /// Description of the "append" tag state: The content will be appended to the /// doc. /// /// @return An initialized instance. /// - (instancetype)initWithAppend; /// /// Initializes union class with tag state of "prepend". /// /// Description of the "prepend" tag state: The content will be prepended to the /// doc. The doc title will not be affected. /// /// @return An initialized instance. /// - (instancetype)initWithPrepend; /// /// Initializes union class with tag state of "overwrite_all". /// /// Description of the "overwrite_all" tag state: The document will be /// overwitten at the head with the provided content. /// /// @return An initialized instance. /// - (instancetype)initWithOverwriteAll; /// /// 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 "append". /// /// @return Whether the union's current tag state has value "append". /// - (BOOL)isAppend; /// /// 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 "overwrite_all". /// /// @return Whether the union's current tag state has value "overwrite_all". /// - (BOOL)isOverwriteAll; /// /// 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 `DBPAPERPaperDocUpdatePolicy` union. /// @interface DBPAPERPaperDocUpdatePolicySerializer : NSObject /// /// Serializes `DBPAPERPaperDocUpdatePolicy` instances. /// /// @param instance An instance of the `DBPAPERPaperDocUpdatePolicy` API object. /// /// @return A json-compatible dictionary representation of the /// `DBPAPERPaperDocUpdatePolicy` API object. /// + (nullable NSDictionary *)serialize:(DBPAPERPaperDocUpdatePolicy *)instance; /// /// Deserializes `DBPAPERPaperDocUpdatePolicy` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBPAPERPaperDocUpdatePolicy` API object. /// /// @return An instantiation of the `DBPAPERPaperDocUpdatePolicy` object. /// + (DBPAPERPaperDocUpdatePolicy *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERPaperFolderCreateArg.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERPaperFolderCreateError.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERPaperFolderCreateResult.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERRefPaperDoc.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBPAPERRefPaperDoc; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `RefPaperDoc` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBPAPERRefPaperDoc : NSObject #pragma mark - Instance fields /// The Paper doc ID. @property (nonatomic, readonly, copy) NSString *docId; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param docId The Paper doc ID. /// /// @return An initialized instance. /// - (instancetype)initWithDocId:(NSString *)docId; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `RefPaperDoc` struct. /// @interface DBPAPERRefPaperDocSerializer : NSObject /// /// Serializes `DBPAPERRefPaperDoc` instances. /// /// @param instance An instance of the `DBPAPERRefPaperDoc` API object. /// /// @return A json-compatible dictionary representation of the /// `DBPAPERRefPaperDoc` API object. /// + (nullable NSDictionary *)serialize:(DBPAPERRefPaperDoc *)instance; /// /// Deserializes `DBPAPERRefPaperDoc` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBPAPERRefPaperDoc` API object. /// /// @return An instantiation of the `DBPAPERRefPaperDoc` object. /// + (DBPAPERRefPaperDoc *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERRemovePaperDocUser.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBPAPERRefPaperDoc.h" #import "DBSerializableProtocol.h" @class DBPAPERRemovePaperDocUser; @class DBSHARINGMemberSelector; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `RemovePaperDocUser` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBPAPERRemovePaperDocUser : DBPAPERRefPaperDoc #pragma mark - Instance fields /// User which should be removed from the Paper doc. Specify only email address /// or Dropbox account ID. @property (nonatomic, readonly) DBSHARINGMemberSelector *member; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param docId The Paper doc ID. /// @param member User which should be removed from the Paper doc. Specify only /// email address or Dropbox account ID. /// /// @return An initialized instance. /// - (instancetype)initWithDocId:(NSString *)docId member:(DBSHARINGMemberSelector *)member; @end #pragma mark - Serializer Object /// /// The serialization class for the `RemovePaperDocUser` struct. /// @interface DBPAPERRemovePaperDocUserSerializer : NSObject /// /// Serializes `DBPAPERRemovePaperDocUser` instances. /// /// @param instance An instance of the `DBPAPERRemovePaperDocUser` API object. /// /// @return A json-compatible dictionary representation of the /// `DBPAPERRemovePaperDocUser` API object. /// + (nullable NSDictionary *)serialize:(DBPAPERRemovePaperDocUser *)instance; /// /// Deserializes `DBPAPERRemovePaperDocUser` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBPAPERRemovePaperDocUser` API object. /// /// @return An instantiation of the `DBPAPERRemovePaperDocUser` object. /// + (DBPAPERRemovePaperDocUser *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERSharingPolicy.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBPAPERSharingPolicy; @class DBPAPERSharingPublicPolicyType; @class DBPAPERSharingTeamPolicyType; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `SharingPolicy` struct. /// /// Sharing policy 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 DBPAPERSharingPolicy : NSObject #pragma mark - Instance fields /// This value applies to the non-team members. @property (nonatomic, readonly, nullable) DBPAPERSharingPublicPolicyType *publicSharingPolicy; /// This value applies to the team members only. The value is null for all /// personal accounts. @property (nonatomic, readonly, nullable) DBPAPERSharingTeamPolicyType *teamSharingPolicy; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param publicSharingPolicy This value applies to the non-team members. /// @param teamSharingPolicy This value applies to the team members only. The /// value is null for all personal accounts. /// /// @return An initialized instance. /// - (instancetype)initWithPublicSharingPolicy:(nullable DBPAPERSharingPublicPolicyType *)publicSharingPolicy teamSharingPolicy:(nullable DBPAPERSharingTeamPolicyType *)teamSharingPolicy; /// /// 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 `SharingPolicy` struct. /// @interface DBPAPERSharingPolicySerializer : NSObject /// /// Serializes `DBPAPERSharingPolicy` instances. /// /// @param instance An instance of the `DBPAPERSharingPolicy` API object. /// /// @return A json-compatible dictionary representation of the /// `DBPAPERSharingPolicy` API object. /// + (nullable NSDictionary *)serialize:(DBPAPERSharingPolicy *)instance; /// /// Deserializes `DBPAPERSharingPolicy` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBPAPERSharingPolicy` API object. /// /// @return An instantiation of the `DBPAPERSharingPolicy` object. /// + (DBPAPERSharingPolicy *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERSharingPublicPolicyType.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBPAPERSharingPublicPolicyType; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `SharingPublicPolicyType` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBPAPERSharingPublicPolicyType : NSObject #pragma mark - Instance fields /// The `DBPAPERSharingPublicPolicyTypeTag` enum type represents the possible /// tag states with which the `DBPAPERSharingPublicPolicyType` union can exist. 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 must be explicitly invited to this doc. DBPAPERSharingPublicPolicyTypeInviteOnly, /// Value used to indicate that doc sharing is enabled only within team. DBPAPERSharingPublicPolicyTypeDisabled, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBPAPERSharingPublicPolicyTypeTag tag; #pragma mark - Constructors /// /// Initializes union class with tag state of "people_with_link_can_edit". /// /// Description of the "people_with_link_can_edit" tag state: Users who have a /// link to this doc can edit it. /// /// @return An initialized instance. /// - (instancetype)initWithPeopleWithLinkCanEdit; /// /// Initializes union class with tag state of /// "people_with_link_can_view_and_comment". /// /// Description of the "people_with_link_can_view_and_comment" tag state: Users /// who have a link to this doc can view and comment on it. /// /// @return An initialized instance. /// - (instancetype)initWithPeopleWithLinkCanViewAndComment; /// /// Initializes union class with tag state of "invite_only". /// /// Description of the "invite_only" tag state: Users must be explicitly invited /// to this doc. /// /// @return An initialized instance. /// - (instancetype)initWithInviteOnly; /// /// Initializes union class with tag state of "disabled". /// /// Description of the "disabled" tag state: Value used to indicate that doc /// sharing is enabled only within team. /// /// @return An initialized instance. /// - (instancetype)initWithDisabled; - (instancetype)init NS_UNAVAILABLE; #pragma mark - Tag state methods /// /// Retrieves whether the union's current tag state has value /// "people_with_link_can_edit". /// /// @return Whether the union's current tag state has value /// "people_with_link_can_edit". /// - (BOOL)isPeopleWithLinkCanEdit; /// /// Retrieves whether the union's current tag state has value /// "people_with_link_can_view_and_comment". /// /// @return Whether the union's current tag state has value /// "people_with_link_can_view_and_comment". /// - (BOOL)isPeopleWithLinkCanViewAndComment; /// /// 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 "disabled". /// /// @return Whether the union's current tag state has value "disabled". /// - (BOOL)isDisabled; /// /// 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 `DBPAPERSharingPublicPolicyType` union. /// @interface DBPAPERSharingPublicPolicyTypeSerializer : NSObject /// /// Serializes `DBPAPERSharingPublicPolicyType` instances. /// /// @param instance An instance of the `DBPAPERSharingPublicPolicyType` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBPAPERSharingPublicPolicyType` API object. /// + (nullable NSDictionary *)serialize:(DBPAPERSharingPublicPolicyType *)instance; /// /// Deserializes `DBPAPERSharingPublicPolicyType` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBPAPERSharingPublicPolicyType` API object. /// /// @return An instantiation of the `DBPAPERSharingPublicPolicyType` object. /// + (DBPAPERSharingPublicPolicyType *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERSharingTeamPolicyType.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBPAPERSharingTeamPolicyType; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `SharingTeamPolicyType` union. /// /// The sharing policy type of the 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 DBPAPERSharingTeamPolicyType : NSObject #pragma mark - Instance fields /// The `DBPAPERSharingTeamPolicyTypeTag` enum type represents the possible tag /// states with which the `DBPAPERSharingTeamPolicyType` union can exist. 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 must be explicitly invited to this doc. DBPAPERSharingTeamPolicyTypeInviteOnly, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBPAPERSharingTeamPolicyTypeTag tag; #pragma mark - Constructors /// /// Initializes union class with tag state of "people_with_link_can_edit". /// /// Description of the "people_with_link_can_edit" tag state: Users who have a /// link to this doc can edit it. /// /// @return An initialized instance. /// - (instancetype)initWithPeopleWithLinkCanEdit; /// /// Initializes union class with tag state of /// "people_with_link_can_view_and_comment". /// /// Description of the "people_with_link_can_view_and_comment" tag state: Users /// who have a link to this doc can view and comment on it. /// /// @return An initialized instance. /// - (instancetype)initWithPeopleWithLinkCanViewAndComment; /// /// Initializes union class with tag state of "invite_only". /// /// Description of the "invite_only" tag state: Users must be explicitly invited /// to this doc. /// /// @return An initialized instance. /// - (instancetype)initWithInviteOnly; - (instancetype)init NS_UNAVAILABLE; #pragma mark - Tag state methods /// /// Retrieves whether the union's current tag state has value /// "people_with_link_can_edit". /// /// @return Whether the union's current tag state has value /// "people_with_link_can_edit". /// - (BOOL)isPeopleWithLinkCanEdit; /// /// Retrieves whether the union's current tag state has value /// "people_with_link_can_view_and_comment". /// /// @return Whether the union's current tag state has value /// "people_with_link_can_view_and_comment". /// - (BOOL)isPeopleWithLinkCanViewAndComment; /// /// 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 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 `DBPAPERSharingTeamPolicyType` union. /// @interface DBPAPERSharingTeamPolicyTypeSerializer : NSObject /// /// Serializes `DBPAPERSharingTeamPolicyType` instances. /// /// @param instance An instance of the `DBPAPERSharingTeamPolicyType` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBPAPERSharingTeamPolicyType` API object. /// + (nullable NSDictionary *)serialize:(DBPAPERSharingTeamPolicyType *)instance; /// /// Deserializes `DBPAPERSharingTeamPolicyType` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBPAPERSharingTeamPolicyType` API object. /// /// @return An instantiation of the `DBPAPERSharingTeamPolicyType` object. /// + (DBPAPERSharingTeamPolicyType *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERUserInfoWithPermissionLevel.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBPAPERPaperDocPermissionLevel; @class DBPAPERUserInfoWithPermissionLevel; @class DBSHARINGUserInfo; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `UserInfoWithPermissionLevel` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBPAPERUserInfoWithPermissionLevel : NSObject #pragma mark - Instance fields /// User shared on the Paper doc. @property (nonatomic, readonly) DBSHARINGUserInfo *user; /// Permission level for the user. @property (nonatomic, readonly) DBPAPERPaperDocPermissionLevel *permissionLevel; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param user User shared on the Paper doc. /// @param permissionLevel Permission level for the user. /// /// @return An initialized instance. /// - (instancetype)initWithUser:(DBSHARINGUserInfo *)user permissionLevel:(DBPAPERPaperDocPermissionLevel *)permissionLevel; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `UserInfoWithPermissionLevel` struct. /// @interface DBPAPERUserInfoWithPermissionLevelSerializer : NSObject /// /// Serializes `DBPAPERUserInfoWithPermissionLevel` instances. /// /// @param instance An instance of the `DBPAPERUserInfoWithPermissionLevel` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBPAPERUserInfoWithPermissionLevel` API object. /// + (nullable NSDictionary *)serialize:(DBPAPERUserInfoWithPermissionLevel *)instance; /// /// Deserializes `DBPAPERUserInfoWithPermissionLevel` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBPAPERUserInfoWithPermissionLevel` API object. /// /// @return An instantiation of the `DBPAPERUserInfoWithPermissionLevel` object. /// + (DBPAPERUserInfoWithPermissionLevel *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERUserOnPaperDocFilter.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBPAPERUserOnPaperDocFilter; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `UserOnPaperDocFilter` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBPAPERUserOnPaperDocFilter : NSObject #pragma mark - Instance fields /// The `DBPAPERUserOnPaperDocFilterTag` enum type represents the possible tag /// states with which the `DBPAPERUserOnPaperDocFilter` union can exist. 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, /// (no description). DBPAPERUserOnPaperDocFilterOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBPAPERUserOnPaperDocFilterTag tag; #pragma mark - Constructors /// /// Initializes union class with tag state of "visited". /// /// Description of the "visited" tag state: all users who have visited the Paper /// doc. /// /// @return An initialized instance. /// - (instancetype)initWithVisited; /// /// Initializes union class with tag state of "shared". /// /// Description of the "shared" tag state: 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. /// /// @return An initialized instance. /// - (instancetype)initWithShared; /// /// 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 "visited". /// /// @return Whether the union's current tag state has value "visited". /// - (BOOL)isVisited; /// /// Retrieves whether the union's current tag state has value "shared". /// /// @return Whether the union's current tag state has value "shared". /// - (BOOL)isShared; /// /// 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 `DBPAPERUserOnPaperDocFilter` union. /// @interface DBPAPERUserOnPaperDocFilterSerializer : NSObject /// /// Serializes `DBPAPERUserOnPaperDocFilter` instances. /// /// @param instance An instance of the `DBPAPERUserOnPaperDocFilter` API object. /// /// @return A json-compatible dictionary representation of the /// `DBPAPERUserOnPaperDocFilter` API object. /// + (nullable NSDictionary *)serialize:(DBPAPERUserOnPaperDocFilter *)instance; /// /// Deserializes `DBPAPERUserOnPaperDocFilter` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBPAPERUserOnPaperDocFilter` API object. /// /// @return An instantiation of the `DBPAPERUserOnPaperDocFilter` object. /// + (DBPAPERUserOnPaperDocFilter *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/SecondaryEmails/DBSecondaryEmailsObjects.m ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/SecondaryEmails/Headers/DBSECONDARYEMAILSSecondaryEmail.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/SeenState/DBSeenStateObjects.m ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/SeenState/Headers/DBSEENSTATEPlatformType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/DBSharingObjects.m ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// /// 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" #pragma mark - API Object @implementation DBSHARINGAccessLevel #pragma mark - Constructors - (instancetype)initWithOwner { self = [super init]; if (self) { _tag = DBSHARINGAccessLevelOwner; } return self; } - (instancetype)initWithEditor { self = [super init]; if (self) { _tag = DBSHARINGAccessLevelEditor; } return self; } - (instancetype)initWithViewer { self = [super init]; if (self) { _tag = DBSHARINGAccessLevelViewer; } return self; } - (instancetype)initWithViewerNoComment { self = [super init]; if (self) { _tag = DBSHARINGAccessLevelViewerNoComment; } 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) { _tag = DBSHARINGAccessLevelOther; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isOwner { return _tag == DBSHARINGAccessLevelOwner; } - (BOOL)isEditor { return _tag == DBSHARINGAccessLevelEditor; } - (BOOL)isViewer { return _tag == DBSHARINGAccessLevelViewer; } - (BOOL)isViewerNoComment { return _tag == DBSHARINGAccessLevelViewerNoComment; } - (BOOL)isTraverse { return _tag == DBSHARINGAccessLevelTraverse; } - (BOOL)isNoAccess { return _tag == DBSHARINGAccessLevelNoAccess; } - (BOOL)isOther { return _tag == DBSHARINGAccessLevelOther; } - (NSString *)tagName { switch (_tag) { case DBSHARINGAccessLevelOwner: return @"DBSHARINGAccessLevelOwner"; case DBSHARINGAccessLevelEditor: return @"DBSHARINGAccessLevelEditor"; case DBSHARINGAccessLevelViewer: return @"DBSHARINGAccessLevelViewer"; case DBSHARINGAccessLevelViewerNoComment: return @"DBSHARINGAccessLevelViewerNoComment"; case DBSHARINGAccessLevelTraverse: return @"DBSHARINGAccessLevelTraverse"; case DBSHARINGAccessLevelNoAccess: return @"DBSHARINGAccessLevelNoAccess"; case DBSHARINGAccessLevelOther: return @"DBSHARINGAccessLevelOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGAccessLevelSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGAccessLevelSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGAccessLevelSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToAccessLevel:other]; } - (BOOL)isEqualToAccessLevel:(DBSHARINGAccessLevel *)anAccessLevel { if (self == anAccessLevel) { return YES; } if (self.tag != anAccessLevel.tag) { return NO; } switch (_tag) { case DBSHARINGAccessLevelOwner: return [[self tagName] isEqual:[anAccessLevel tagName]]; case DBSHARINGAccessLevelEditor: return [[self tagName] isEqual:[anAccessLevel tagName]]; case DBSHARINGAccessLevelViewer: 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]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGAccessLevelSerializer + (NSDictionary *)serialize:(DBSHARINGAccessLevel *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isOwner]) { jsonDict[@".tag"] = @"owner"; } else if ([valueObj isEditor]) { jsonDict[@".tag"] = @"editor"; } else if ([valueObj isViewer]) { 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; } + (DBSHARINGAccessLevel *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"owner"]) { return [[DBSHARINGAccessLevel alloc] initWithOwner]; } else if ([tag isEqualToString:@"editor"]) { return [[DBSHARINGAccessLevel alloc] initWithEditor]; } else if ([tag isEqualToString:@"viewer"]) { 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 { return [[DBSHARINGAccessLevel alloc] initWithOther]; } } @end #import "DBSHARINGAclUpdatePolicy.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGAclUpdatePolicy #pragma mark - Constructors - (instancetype)initWithOwner { self = [super init]; if (self) { _tag = DBSHARINGAclUpdatePolicyOwner; } return self; } - (instancetype)initWithEditors { self = [super init]; if (self) { _tag = DBSHARINGAclUpdatePolicyEditors; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBSHARINGAclUpdatePolicyOther; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isOwner { return _tag == DBSHARINGAclUpdatePolicyOwner; } - (BOOL)isEditors { return _tag == DBSHARINGAclUpdatePolicyEditors; } - (BOOL)isOther { return _tag == DBSHARINGAclUpdatePolicyOther; } - (NSString *)tagName { switch (_tag) { case DBSHARINGAclUpdatePolicyOwner: return @"DBSHARINGAclUpdatePolicyOwner"; case DBSHARINGAclUpdatePolicyEditors: return @"DBSHARINGAclUpdatePolicyEditors"; case DBSHARINGAclUpdatePolicyOther: return @"DBSHARINGAclUpdatePolicyOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGAclUpdatePolicySerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGAclUpdatePolicySerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGAclUpdatePolicySerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToAclUpdatePolicy:other]; } - (BOOL)isEqualToAclUpdatePolicy:(DBSHARINGAclUpdatePolicy *)anAclUpdatePolicy { if (self == anAclUpdatePolicy) { return YES; } if (self.tag != anAclUpdatePolicy.tag) { return NO; } switch (_tag) { case DBSHARINGAclUpdatePolicyOwner: return [[self tagName] isEqual:[anAclUpdatePolicy tagName]]; case DBSHARINGAclUpdatePolicyEditors: return [[self tagName] isEqual:[anAclUpdatePolicy tagName]]; case DBSHARINGAclUpdatePolicyOther: return [[self tagName] isEqual:[anAclUpdatePolicy tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGAclUpdatePolicySerializer + (NSDictionary *)serialize:(DBSHARINGAclUpdatePolicy *)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"; } return jsonDict; } + (DBSHARINGAclUpdatePolicy *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"owner"]) { return [[DBSHARINGAclUpdatePolicy alloc] initWithOwner]; } else if ([tag isEqualToString:@"editors"]) { return [[DBSHARINGAclUpdatePolicy alloc] initWithEditors]; } else if ([tag isEqualToString:@"other"]) { return [[DBSHARINGAclUpdatePolicy alloc] initWithOther]; } else { return [[DBSHARINGAclUpdatePolicy alloc] initWithOther]; } } @end #import "DBSHARINGAccessLevel.h" #import "DBSHARINGAddFileMemberArgs.h" #import "DBSHARINGMemberSelector.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGAddFileMemberArgs #pragma mark - Constructors - (instancetype)initWithFile:(NSString *)file members:(NSArray *)members customMessage:(NSString *)customMessage quiet:(NSNumber *)quiet accessLevel:(DBSHARINGAccessLevel *)accessLevel addMessageAsComment:(NSNumber *)addMessageAsComment { [DBStoneValidators nonnullValidator:[DBStoneValidators stringValidator:@(1) maxLength:nil pattern:@"((/|id:).*|nspath:[0-9]+:.*)|ns:[0-9]+(/.*)?"]](file); [DBStoneValidators nonnullValidator:[DBStoneValidators arrayValidator:nil maxItems:nil itemValidator:[DBStoneValidators nonnullValidator:nil]]](members); self = [super init]; if (self) { _file = file; _members = members; _customMessage = customMessage; _quiet = quiet ?: @NO; _accessLevel = accessLevel ?: [[DBSHARINGAccessLevel alloc] initWithViewer]; _addMessageAsComment = addMessageAsComment ?: @NO; } return self; } - (instancetype)initWithFile:(NSString *)file members:(NSArray *)members { return [self initWithFile:file members:members customMessage:nil quiet:nil accessLevel:nil addMessageAsComment:nil]; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGAddFileMemberArgsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGAddFileMemberArgsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGAddFileMemberArgsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.file hash]; result = prime * result + [self.members hash]; if (self.customMessage != nil) { result = prime * result + [self.customMessage hash]; } result = prime * result + [self.quiet hash]; result = prime * result + [self.accessLevel hash]; result = prime * result + [self.addMessageAsComment hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToAddFileMemberArgs:other]; } - (BOOL)isEqualToAddFileMemberArgs:(DBSHARINGAddFileMemberArgs *)anAddFileMemberArgs { if (self == anAddFileMemberArgs) { return YES; } if (![self.file isEqual:anAddFileMemberArgs.file]) { return NO; } if (![self.members isEqual:anAddFileMemberArgs.members]) { return NO; } if (self.customMessage) { if (![self.customMessage isEqual:anAddFileMemberArgs.customMessage]) { return NO; } } if (![self.quiet isEqual:anAddFileMemberArgs.quiet]) { return NO; } if (![self.accessLevel isEqual:anAddFileMemberArgs.accessLevel]) { return NO; } if (![self.addMessageAsComment isEqual:anAddFileMemberArgs.addMessageAsComment]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGAddFileMemberArgsSerializer + (NSDictionary *)serialize:(DBSHARINGAddFileMemberArgs *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"file"] = valueObj.file; jsonDict[@"members"] = [DBArraySerializer serialize:valueObj.members withBlock:^id(id elem0) { return [DBSHARINGMemberSelectorSerializer serialize:elem0]; }]; if (valueObj.customMessage) { jsonDict[@"custom_message"] = valueObj.customMessage; } jsonDict[@"quiet"] = valueObj.quiet; jsonDict[@"access_level"] = [DBSHARINGAccessLevelSerializer serialize:valueObj.accessLevel]; jsonDict[@"add_message_as_comment"] = valueObj.addMessageAsComment; return jsonDict; } + (DBSHARINGAddFileMemberArgs *)deserialize:(NSDictionary *)valueDict { NSString *file = valueDict[@"file"]; NSArray *members = [DBArraySerializer deserialize:valueDict[@"members"] withBlock:^id(id elem0) { return [DBSHARINGMemberSelectorSerializer deserialize:elem0]; }]; NSString *customMessage = valueDict[@"custom_message"] ?: nil; NSNumber *quiet = valueDict[@"quiet"] ?: @NO; DBSHARINGAccessLevel *accessLevel = valueDict[@"access_level"] ? [DBSHARINGAccessLevelSerializer deserialize:valueDict[@"access_level"]] : [[DBSHARINGAccessLevel alloc] initWithViewer]; NSNumber *addMessageAsComment = valueDict[@"add_message_as_comment"] ?: @NO; return [[DBSHARINGAddFileMemberArgs alloc] initWithFile:file members:members customMessage:customMessage quiet:quiet accessLevel:accessLevel addMessageAsComment:addMessageAsComment]; } @end #import "DBSHARINGAddFileMemberError.h" #import "DBSHARINGSharingFileAccessError.h" #import "DBSHARINGSharingUserError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGAddFileMemberError @synthesize userError = _userError; @synthesize accessError = _accessError; #pragma mark - Constructors - (instancetype)initWithUserError:(DBSHARINGSharingUserError *)userError { self = [super init]; if (self) { _tag = DBSHARINGAddFileMemberErrorUserError; _userError = userError; } return self; } - (instancetype)initWithAccessError:(DBSHARINGSharingFileAccessError *)accessError { self = [super init]; if (self) { _tag = DBSHARINGAddFileMemberErrorAccessError; _accessError = accessError; } return self; } - (instancetype)initWithRateLimit { self = [super init]; if (self) { _tag = DBSHARINGAddFileMemberErrorRateLimit; } return self; } - (instancetype)initWithInvalidComment { self = [super init]; if (self) { _tag = DBSHARINGAddFileMemberErrorInvalidComment; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBSHARINGAddFileMemberErrorOther; } return self; } #pragma mark - Instance field accessors - (DBSHARINGSharingUserError *)userError { if (![self isUserError]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBSHARINGAddFileMemberErrorUserError, but was %@.", [self tagName]]; } return _userError; } - (DBSHARINGSharingFileAccessError *)accessError { if (![self isAccessError]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBSHARINGAddFileMemberErrorAccessError, but was %@.", [self tagName]]; } return _accessError; } #pragma mark - Tag state methods - (BOOL)isUserError { return _tag == DBSHARINGAddFileMemberErrorUserError; } - (BOOL)isAccessError { return _tag == DBSHARINGAddFileMemberErrorAccessError; } - (BOOL)isRateLimit { return _tag == DBSHARINGAddFileMemberErrorRateLimit; } - (BOOL)isInvalidComment { return _tag == DBSHARINGAddFileMemberErrorInvalidComment; } - (BOOL)isOther { return _tag == DBSHARINGAddFileMemberErrorOther; } - (NSString *)tagName { switch (_tag) { case DBSHARINGAddFileMemberErrorUserError: return @"DBSHARINGAddFileMemberErrorUserError"; case DBSHARINGAddFileMemberErrorAccessError: return @"DBSHARINGAddFileMemberErrorAccessError"; case DBSHARINGAddFileMemberErrorRateLimit: return @"DBSHARINGAddFileMemberErrorRateLimit"; case DBSHARINGAddFileMemberErrorInvalidComment: return @"DBSHARINGAddFileMemberErrorInvalidComment"; case DBSHARINGAddFileMemberErrorOther: return @"DBSHARINGAddFileMemberErrorOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGAddFileMemberErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGAddFileMemberErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGAddFileMemberErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToAddFileMemberError:other]; } - (BOOL)isEqualToAddFileMemberError:(DBSHARINGAddFileMemberError *)anAddFileMemberError { if (self == anAddFileMemberError) { return YES; } if (self.tag != anAddFileMemberError.tag) { return NO; } switch (_tag) { case DBSHARINGAddFileMemberErrorUserError: return [self.userError isEqual:anAddFileMemberError.userError]; case DBSHARINGAddFileMemberErrorAccessError: return [self.accessError isEqual:anAddFileMemberError.accessError]; case DBSHARINGAddFileMemberErrorRateLimit: return [[self tagName] isEqual:[anAddFileMemberError tagName]]; case DBSHARINGAddFileMemberErrorInvalidComment: return [[self tagName] isEqual:[anAddFileMemberError tagName]]; case DBSHARINGAddFileMemberErrorOther: return [[self tagName] isEqual:[anAddFileMemberError tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGAddFileMemberErrorSerializer + (NSDictionary *)serialize:(DBSHARINGAddFileMemberError *)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"; } else if ([valueObj isRateLimit]) { jsonDict[@".tag"] = @"rate_limit"; } else if ([valueObj isInvalidComment]) { jsonDict[@".tag"] = @"invalid_comment"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBSHARINGAddFileMemberError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"user_error"]) { DBSHARINGSharingUserError *userError = [DBSHARINGSharingUserErrorSerializer deserialize:valueDict[@"user_error"]]; return [[DBSHARINGAddFileMemberError alloc] initWithUserError:userError]; } else if ([tag isEqualToString:@"access_error"]) { DBSHARINGSharingFileAccessError *accessError = [DBSHARINGSharingFileAccessErrorSerializer deserialize:valueDict[@"access_error"]]; return [[DBSHARINGAddFileMemberError alloc] initWithAccessError:accessError]; } else if ([tag isEqualToString:@"rate_limit"]) { return [[DBSHARINGAddFileMemberError alloc] initWithRateLimit]; } else if ([tag isEqualToString:@"invalid_comment"]) { return [[DBSHARINGAddFileMemberError alloc] initWithInvalidComment]; } else if ([tag isEqualToString:@"other"]) { return [[DBSHARINGAddFileMemberError alloc] initWithOther]; } else { return [[DBSHARINGAddFileMemberError alloc] initWithOther]; } } @end #import "DBSHARINGAddFolderMemberArg.h" #import "DBSHARINGAddMember.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGAddFolderMemberArg #pragma mark - Constructors - (instancetype)initWithSharedFolderId:(NSString *)sharedFolderId members:(NSArray *)members quiet:(NSNumber *)quiet customMessage:(NSString *)customMessage { [DBStoneValidators nonnullValidator:[DBStoneValidators stringValidator:nil maxLength:nil pattern:@"[-_0-9a-zA-Z:]+"]](sharedFolderId); [DBStoneValidators nonnullValidator:[DBStoneValidators arrayValidator:nil maxItems:nil itemValidator:[DBStoneValidators nonnullValidator:nil]]](members); [DBStoneValidators nullableValidator:[DBStoneValidators stringValidator:@(1) maxLength:nil pattern:nil]](customMessage); self = [super init]; if (self) { _sharedFolderId = sharedFolderId; _members = members; _quiet = quiet ?: @NO; _customMessage = customMessage; } return self; } - (instancetype)initWithSharedFolderId:(NSString *)sharedFolderId members:(NSArray *)members { return [self initWithSharedFolderId:sharedFolderId members:members quiet:nil customMessage:nil]; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGAddFolderMemberArgSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGAddFolderMemberArgSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGAddFolderMemberArgSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.sharedFolderId hash]; result = prime * result + [self.members hash]; result = prime * result + [self.quiet hash]; if (self.customMessage != nil) { result = prime * result + [self.customMessage hash]; } return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToAddFolderMemberArg:other]; } - (BOOL)isEqualToAddFolderMemberArg:(DBSHARINGAddFolderMemberArg *)anAddFolderMemberArg { if (self == anAddFolderMemberArg) { return YES; } if (![self.sharedFolderId isEqual:anAddFolderMemberArg.sharedFolderId]) { return NO; } if (![self.members isEqual:anAddFolderMemberArg.members]) { return NO; } if (![self.quiet isEqual:anAddFolderMemberArg.quiet]) { return NO; } if (self.customMessage) { if (![self.customMessage isEqual:anAddFolderMemberArg.customMessage]) { return NO; } } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGAddFolderMemberArgSerializer + (NSDictionary *)serialize:(DBSHARINGAddFolderMemberArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"shared_folder_id"] = valueObj.sharedFolderId; jsonDict[@"members"] = [DBArraySerializer serialize:valueObj.members withBlock:^id(id elem0) { return [DBSHARINGAddMemberSerializer serialize:elem0]; }]; jsonDict[@"quiet"] = valueObj.quiet; if (valueObj.customMessage) { jsonDict[@"custom_message"] = valueObj.customMessage; } return jsonDict; } + (DBSHARINGAddFolderMemberArg *)deserialize:(NSDictionary *)valueDict { NSString *sharedFolderId = valueDict[@"shared_folder_id"]; NSArray *members = [DBArraySerializer deserialize:valueDict[@"members"] withBlock:^id(id elem0) { return [DBSHARINGAddMemberSerializer deserialize:elem0]; }]; NSNumber *quiet = valueDict[@"quiet"] ?: @NO; NSString *customMessage = valueDict[@"custom_message"] ?: nil; return [[DBSHARINGAddFolderMemberArg alloc] initWithSharedFolderId:sharedFolderId members:members quiet:quiet customMessage:customMessage]; } @end #import "DBSHARINGAddFolderMemberError.h" #import "DBSHARINGAddMemberSelectorError.h" #import "DBSHARINGSharedFolderAccessError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGAddFolderMemberError @synthesize accessError = _accessError; @synthesize badMember = _badMember; @synthesize tooManyMembers = _tooManyMembers; @synthesize tooManyPendingInvites = _tooManyPendingInvites; #pragma mark - Constructors - (instancetype)initWithAccessError:(DBSHARINGSharedFolderAccessError *)accessError { self = [super init]; if (self) { _tag = DBSHARINGAddFolderMemberErrorAccessError; _accessError = accessError; } return self; } - (instancetype)initWithEmailUnverified { self = [super init]; if (self) { _tag = DBSHARINGAddFolderMemberErrorEmailUnverified; } return self; } - (instancetype)initWithBannedMember { self = [super init]; if (self) { _tag = DBSHARINGAddFolderMemberErrorBannedMember; } return self; } - (instancetype)initWithBadMember:(DBSHARINGAddMemberSelectorError *)badMember { self = [super init]; if (self) { _tag = DBSHARINGAddFolderMemberErrorBadMember; _badMember = badMember; } return self; } - (instancetype)initWithCantShareOutsideTeam { self = [super init]; if (self) { _tag = DBSHARINGAddFolderMemberErrorCantShareOutsideTeam; } return self; } - (instancetype)initWithTooManyMembers:(NSNumber *)tooManyMembers { self = [super init]; if (self) { _tag = DBSHARINGAddFolderMemberErrorTooManyMembers; _tooManyMembers = tooManyMembers; } return self; } - (instancetype)initWithTooManyPendingInvites:(NSNumber *)tooManyPendingInvites { self = [super init]; if (self) { _tag = DBSHARINGAddFolderMemberErrorTooManyPendingInvites; _tooManyPendingInvites = tooManyPendingInvites; } return self; } - (instancetype)initWithRateLimit { self = [super init]; if (self) { _tag = DBSHARINGAddFolderMemberErrorRateLimit; } return self; } - (instancetype)initWithTooManyInvitees { self = [super init]; if (self) { _tag = DBSHARINGAddFolderMemberErrorTooManyInvitees; } return self; } - (instancetype)initWithInsufficientPlan { self = [super init]; if (self) { _tag = DBSHARINGAddFolderMemberErrorInsufficientPlan; } return self; } - (instancetype)initWithTeamFolder { self = [super init]; if (self) { _tag = DBSHARINGAddFolderMemberErrorTeamFolder; } return self; } - (instancetype)initWithNoPermission { self = [super init]; if (self) { _tag = DBSHARINGAddFolderMemberErrorNoPermission; } return self; } - (instancetype)initWithInvalidSharedFolder { self = [super init]; if (self) { _tag = DBSHARINGAddFolderMemberErrorInvalidSharedFolder; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBSHARINGAddFolderMemberErrorOther; } return self; } #pragma mark - Instance field accessors - (DBSHARINGSharedFolderAccessError *)accessError { if (![self isAccessError]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBSHARINGAddFolderMemberErrorAccessError, but was %@.", [self tagName]]; } return _accessError; } - (DBSHARINGAddMemberSelectorError *)badMember { if (![self isBadMember]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBSHARINGAddFolderMemberErrorBadMember, but was %@.", [self tagName]]; } return _badMember; } - (NSNumber *)tooManyMembers { if (![self isTooManyMembers]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBSHARINGAddFolderMemberErrorTooManyMembers, but was %@.", [self tagName]]; } return _tooManyMembers; } - (NSNumber *)tooManyPendingInvites { if (![self isTooManyPendingInvites]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBSHARINGAddFolderMemberErrorTooManyPendingInvites, but was %@.", [self tagName]]; } return _tooManyPendingInvites; } #pragma mark - Tag state methods - (BOOL)isAccessError { return _tag == DBSHARINGAddFolderMemberErrorAccessError; } - (BOOL)isEmailUnverified { return _tag == DBSHARINGAddFolderMemberErrorEmailUnverified; } - (BOOL)isBannedMember { return _tag == DBSHARINGAddFolderMemberErrorBannedMember; } - (BOOL)isBadMember { return _tag == DBSHARINGAddFolderMemberErrorBadMember; } - (BOOL)isCantShareOutsideTeam { return _tag == DBSHARINGAddFolderMemberErrorCantShareOutsideTeam; } - (BOOL)isTooManyMembers { return _tag == DBSHARINGAddFolderMemberErrorTooManyMembers; } - (BOOL)isTooManyPendingInvites { return _tag == DBSHARINGAddFolderMemberErrorTooManyPendingInvites; } - (BOOL)isRateLimit { return _tag == DBSHARINGAddFolderMemberErrorRateLimit; } - (BOOL)isTooManyInvitees { return _tag == DBSHARINGAddFolderMemberErrorTooManyInvitees; } - (BOOL)isInsufficientPlan { return _tag == DBSHARINGAddFolderMemberErrorInsufficientPlan; } - (BOOL)isTeamFolder { return _tag == DBSHARINGAddFolderMemberErrorTeamFolder; } - (BOOL)isNoPermission { return _tag == DBSHARINGAddFolderMemberErrorNoPermission; } - (BOOL)isInvalidSharedFolder { return _tag == DBSHARINGAddFolderMemberErrorInvalidSharedFolder; } - (BOOL)isOther { return _tag == DBSHARINGAddFolderMemberErrorOther; } - (NSString *)tagName { switch (_tag) { case DBSHARINGAddFolderMemberErrorAccessError: return @"DBSHARINGAddFolderMemberErrorAccessError"; case DBSHARINGAddFolderMemberErrorEmailUnverified: return @"DBSHARINGAddFolderMemberErrorEmailUnverified"; case DBSHARINGAddFolderMemberErrorBannedMember: return @"DBSHARINGAddFolderMemberErrorBannedMember"; case DBSHARINGAddFolderMemberErrorBadMember: return @"DBSHARINGAddFolderMemberErrorBadMember"; case DBSHARINGAddFolderMemberErrorCantShareOutsideTeam: return @"DBSHARINGAddFolderMemberErrorCantShareOutsideTeam"; case DBSHARINGAddFolderMemberErrorTooManyMembers: return @"DBSHARINGAddFolderMemberErrorTooManyMembers"; case DBSHARINGAddFolderMemberErrorTooManyPendingInvites: return @"DBSHARINGAddFolderMemberErrorTooManyPendingInvites"; case DBSHARINGAddFolderMemberErrorRateLimit: return @"DBSHARINGAddFolderMemberErrorRateLimit"; case DBSHARINGAddFolderMemberErrorTooManyInvitees: return @"DBSHARINGAddFolderMemberErrorTooManyInvitees"; case DBSHARINGAddFolderMemberErrorInsufficientPlan: return @"DBSHARINGAddFolderMemberErrorInsufficientPlan"; case DBSHARINGAddFolderMemberErrorTeamFolder: return @"DBSHARINGAddFolderMemberErrorTeamFolder"; case DBSHARINGAddFolderMemberErrorNoPermission: return @"DBSHARINGAddFolderMemberErrorNoPermission"; case DBSHARINGAddFolderMemberErrorInvalidSharedFolder: return @"DBSHARINGAddFolderMemberErrorInvalidSharedFolder"; case DBSHARINGAddFolderMemberErrorOther: return @"DBSHARINGAddFolderMemberErrorOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGAddFolderMemberErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGAddFolderMemberErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGAddFolderMemberErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToAddFolderMemberError:other]; } - (BOOL)isEqualToAddFolderMemberError:(DBSHARINGAddFolderMemberError *)anAddFolderMemberError { if (self == anAddFolderMemberError) { return YES; } if (self.tag != anAddFolderMemberError.tag) { return NO; } switch (_tag) { case DBSHARINGAddFolderMemberErrorAccessError: 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: return [[self tagName] isEqual:[anAddFolderMemberError tagName]]; case DBSHARINGAddFolderMemberErrorTooManyMembers: return [self.tooManyMembers isEqual:anAddFolderMemberError.tooManyMembers]; case DBSHARINGAddFolderMemberErrorTooManyPendingInvites: return [self.tooManyPendingInvites isEqual:anAddFolderMemberError.tooManyPendingInvites]; case DBSHARINGAddFolderMemberErrorRateLimit: return [[self tagName] isEqual:[anAddFolderMemberError tagName]]; case DBSHARINGAddFolderMemberErrorTooManyInvitees: return [[self tagName] isEqual:[anAddFolderMemberError tagName]]; case DBSHARINGAddFolderMemberErrorInsufficientPlan: return [[self tagName] isEqual:[anAddFolderMemberError tagName]]; case DBSHARINGAddFolderMemberErrorTeamFolder: 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]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGAddFolderMemberErrorSerializer + (NSDictionary *)serialize:(DBSHARINGAddFolderMemberError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isAccessError]) { jsonDict[@"access_error"] = [[DBSHARINGSharedFolderAccessErrorSerializer serialize:valueObj.accessError] mutableCopy]; 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"; } else if ([valueObj isCantShareOutsideTeam]) { jsonDict[@".tag"] = @"cant_share_outside_team"; } else if ([valueObj isTooManyMembers]) { jsonDict[@"too_many_members"] = valueObj.tooManyMembers; jsonDict[@".tag"] = @"too_many_members"; } else if ([valueObj isTooManyPendingInvites]) { jsonDict[@"too_many_pending_invites"] = valueObj.tooManyPendingInvites; jsonDict[@".tag"] = @"too_many_pending_invites"; } else if ([valueObj isRateLimit]) { jsonDict[@".tag"] = @"rate_limit"; } else if ([valueObj isTooManyInvitees]) { jsonDict[@".tag"] = @"too_many_invitees"; } else if ([valueObj isInsufficientPlan]) { jsonDict[@".tag"] = @"insufficient_plan"; } else if ([valueObj isTeamFolder]) { 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; } + (DBSHARINGAddFolderMemberError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"access_error"]) { DBSHARINGSharedFolderAccessError *accessError = [DBSHARINGSharedFolderAccessErrorSerializer deserialize:valueDict[@"access_error"]]; 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"]]; return [[DBSHARINGAddFolderMemberError alloc] initWithBadMember:badMember]; } else if ([tag isEqualToString:@"cant_share_outside_team"]) { return [[DBSHARINGAddFolderMemberError alloc] initWithCantShareOutsideTeam]; } else if ([tag isEqualToString:@"too_many_members"]) { NSNumber *tooManyMembers = valueDict[@"too_many_members"]; return [[DBSHARINGAddFolderMemberError alloc] initWithTooManyMembers:tooManyMembers]; } else if ([tag isEqualToString:@"too_many_pending_invites"]) { NSNumber *tooManyPendingInvites = valueDict[@"too_many_pending_invites"]; return [[DBSHARINGAddFolderMemberError alloc] initWithTooManyPendingInvites:tooManyPendingInvites]; } else if ([tag isEqualToString:@"rate_limit"]) { return [[DBSHARINGAddFolderMemberError alloc] initWithRateLimit]; } else if ([tag isEqualToString:@"too_many_invitees"]) { return [[DBSHARINGAddFolderMemberError alloc] initWithTooManyInvitees]; } else if ([tag isEqualToString:@"insufficient_plan"]) { return [[DBSHARINGAddFolderMemberError alloc] initWithInsufficientPlan]; } else if ([tag isEqualToString:@"team_folder"]) { 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 { return [[DBSHARINGAddFolderMemberError alloc] initWithOther]; } } @end #import "DBSHARINGAccessLevel.h" #import "DBSHARINGAddMember.h" #import "DBSHARINGMemberSelector.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGAddMember #pragma mark - Constructors - (instancetype)initWithMember:(DBSHARINGMemberSelector *)member accessLevel:(DBSHARINGAccessLevel *)accessLevel { [DBStoneValidators nonnullValidator:nil](member); self = [super init]; if (self) { _member = member; _accessLevel = accessLevel ?: [[DBSHARINGAccessLevel alloc] initWithViewer]; } return self; } - (instancetype)initWithMember:(DBSHARINGMemberSelector *)member { return [self initWithMember:member accessLevel:nil]; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGAddMemberSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGAddMemberSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGAddMemberSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.member hash]; result = prime * result + [self.accessLevel hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToAddMember:other]; } - (BOOL)isEqualToAddMember:(DBSHARINGAddMember *)anAddMember { if (self == anAddMember) { return YES; } if (![self.member isEqual:anAddMember.member]) { return NO; } if (![self.accessLevel isEqual:anAddMember.accessLevel]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGAddMemberSerializer + (NSDictionary *)serialize:(DBSHARINGAddMember *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"member"] = [DBSHARINGMemberSelectorSerializer serialize:valueObj.member]; jsonDict[@"access_level"] = [DBSHARINGAccessLevelSerializer serialize:valueObj.accessLevel]; return jsonDict; } + (DBSHARINGAddMember *)deserialize:(NSDictionary *)valueDict { DBSHARINGMemberSelector *member = [DBSHARINGMemberSelectorSerializer deserialize:valueDict[@"member"]]; DBSHARINGAccessLevel *accessLevel = valueDict[@"access_level"] ? [DBSHARINGAccessLevelSerializer deserialize:valueDict[@"access_level"]] : [[DBSHARINGAccessLevel alloc] initWithViewer]; return [[DBSHARINGAddMember alloc] initWithMember:member accessLevel:accessLevel]; } @end #import "DBSHARINGAddMemberSelectorError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGAddMemberSelectorError @synthesize invalidDropboxId = _invalidDropboxId; @synthesize invalidEmail = _invalidEmail; @synthesize unverifiedDropboxId = _unverifiedDropboxId; #pragma mark - Constructors - (instancetype)initWithAutomaticGroup { self = [super init]; if (self) { _tag = DBSHARINGAddMemberSelectorErrorAutomaticGroup; } return self; } - (instancetype)initWithInvalidDropboxId:(NSString *)invalidDropboxId { self = [super init]; if (self) { _tag = DBSHARINGAddMemberSelectorErrorInvalidDropboxId; _invalidDropboxId = invalidDropboxId; } return self; } - (instancetype)initWithInvalidEmail:(NSString *)invalidEmail { self = [super init]; if (self) { _tag = DBSHARINGAddMemberSelectorErrorInvalidEmail; _invalidEmail = invalidEmail; } return self; } - (instancetype)initWithUnverifiedDropboxId:(NSString *)unverifiedDropboxId { self = [super init]; if (self) { _tag = DBSHARINGAddMemberSelectorErrorUnverifiedDropboxId; _unverifiedDropboxId = unverifiedDropboxId; } return self; } - (instancetype)initWithGroupDeleted { self = [super init]; if (self) { _tag = DBSHARINGAddMemberSelectorErrorGroupDeleted; } return self; } - (instancetype)initWithGroupNotOnTeam { self = [super init]; if (self) { _tag = DBSHARINGAddMemberSelectorErrorGroupNotOnTeam; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBSHARINGAddMemberSelectorErrorOther; } return self; } #pragma mark - Instance field accessors - (NSString *)invalidDropboxId { if (![self isInvalidDropboxId]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBSHARINGAddMemberSelectorErrorInvalidDropboxId, but was %@.", [self tagName]]; } return _invalidDropboxId; } - (NSString *)invalidEmail { if (![self isInvalidEmail]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBSHARINGAddMemberSelectorErrorInvalidEmail, but was %@.", [self tagName]]; } return _invalidEmail; } - (NSString *)unverifiedDropboxId { if (![self isUnverifiedDropboxId]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBSHARINGAddMemberSelectorErrorUnverifiedDropboxId, but was %@.", [self tagName]]; } return _unverifiedDropboxId; } #pragma mark - Tag state methods - (BOOL)isAutomaticGroup { return _tag == DBSHARINGAddMemberSelectorErrorAutomaticGroup; } - (BOOL)isInvalidDropboxId { return _tag == DBSHARINGAddMemberSelectorErrorInvalidDropboxId; } - (BOOL)isInvalidEmail { return _tag == DBSHARINGAddMemberSelectorErrorInvalidEmail; } - (BOOL)isUnverifiedDropboxId { return _tag == DBSHARINGAddMemberSelectorErrorUnverifiedDropboxId; } - (BOOL)isGroupDeleted { return _tag == DBSHARINGAddMemberSelectorErrorGroupDeleted; } - (BOOL)isGroupNotOnTeam { return _tag == DBSHARINGAddMemberSelectorErrorGroupNotOnTeam; } - (BOOL)isOther { return _tag == DBSHARINGAddMemberSelectorErrorOther; } - (NSString *)tagName { switch (_tag) { case DBSHARINGAddMemberSelectorErrorAutomaticGroup: return @"DBSHARINGAddMemberSelectorErrorAutomaticGroup"; case DBSHARINGAddMemberSelectorErrorInvalidDropboxId: return @"DBSHARINGAddMemberSelectorErrorInvalidDropboxId"; case DBSHARINGAddMemberSelectorErrorInvalidEmail: return @"DBSHARINGAddMemberSelectorErrorInvalidEmail"; case DBSHARINGAddMemberSelectorErrorUnverifiedDropboxId: return @"DBSHARINGAddMemberSelectorErrorUnverifiedDropboxId"; case DBSHARINGAddMemberSelectorErrorGroupDeleted: return @"DBSHARINGAddMemberSelectorErrorGroupDeleted"; case DBSHARINGAddMemberSelectorErrorGroupNotOnTeam: return @"DBSHARINGAddMemberSelectorErrorGroupNotOnTeam"; case DBSHARINGAddMemberSelectorErrorOther: return @"DBSHARINGAddMemberSelectorErrorOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGAddMemberSelectorErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGAddMemberSelectorErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGAddMemberSelectorErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToAddMemberSelectorError:other]; } - (BOOL)isEqualToAddMemberSelectorError:(DBSHARINGAddMemberSelectorError *)anAddMemberSelectorError { if (self == anAddMemberSelectorError) { return YES; } if (self.tag != anAddMemberSelectorError.tag) { return NO; } switch (_tag) { case DBSHARINGAddMemberSelectorErrorAutomaticGroup: return [[self tagName] isEqual:[anAddMemberSelectorError tagName]]; case DBSHARINGAddMemberSelectorErrorInvalidDropboxId: return [self.invalidDropboxId isEqual:anAddMemberSelectorError.invalidDropboxId]; case DBSHARINGAddMemberSelectorErrorInvalidEmail: return [self.invalidEmail isEqual:anAddMemberSelectorError.invalidEmail]; case DBSHARINGAddMemberSelectorErrorUnverifiedDropboxId: return [self.unverifiedDropboxId isEqual:anAddMemberSelectorError.unverifiedDropboxId]; case DBSHARINGAddMemberSelectorErrorGroupDeleted: return [[self tagName] isEqual:[anAddMemberSelectorError tagName]]; case DBSHARINGAddMemberSelectorErrorGroupNotOnTeam: return [[self tagName] isEqual:[anAddMemberSelectorError tagName]]; case DBSHARINGAddMemberSelectorErrorOther: return [[self tagName] isEqual:[anAddMemberSelectorError tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGAddMemberSelectorErrorSerializer + (NSDictionary *)serialize:(DBSHARINGAddMemberSelectorError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isAutomaticGroup]) { jsonDict[@".tag"] = @"automatic_group"; } else if ([valueObj isInvalidDropboxId]) { jsonDict[@"invalid_dropbox_id"] = valueObj.invalidDropboxId; jsonDict[@".tag"] = @"invalid_dropbox_id"; } else if ([valueObj isInvalidEmail]) { jsonDict[@"invalid_email"] = valueObj.invalidEmail; jsonDict[@".tag"] = @"invalid_email"; } else if ([valueObj isUnverifiedDropboxId]) { jsonDict[@"unverified_dropbox_id"] = valueObj.unverifiedDropboxId; jsonDict[@".tag"] = @"unverified_dropbox_id"; } else if ([valueObj isGroupDeleted]) { jsonDict[@".tag"] = @"group_deleted"; } else if ([valueObj isGroupNotOnTeam]) { jsonDict[@".tag"] = @"group_not_on_team"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBSHARINGAddMemberSelectorError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"automatic_group"]) { return [[DBSHARINGAddMemberSelectorError alloc] initWithAutomaticGroup]; } else if ([tag isEqualToString:@"invalid_dropbox_id"]) { NSString *invalidDropboxId = valueDict[@"invalid_dropbox_id"]; return [[DBSHARINGAddMemberSelectorError alloc] initWithInvalidDropboxId:invalidDropboxId]; } else if ([tag isEqualToString:@"invalid_email"]) { NSString *invalidEmail = valueDict[@"invalid_email"]; return [[DBSHARINGAddMemberSelectorError alloc] initWithInvalidEmail:invalidEmail]; } else if ([tag isEqualToString:@"unverified_dropbox_id"]) { NSString *unverifiedDropboxId = valueDict[@"unverified_dropbox_id"]; return [[DBSHARINGAddMemberSelectorError alloc] initWithUnverifiedDropboxId:unverifiedDropboxId]; } else if ([tag isEqualToString:@"group_deleted"]) { return [[DBSHARINGAddMemberSelectorError alloc] initWithGroupDeleted]; } else if ([tag isEqualToString:@"group_not_on_team"]) { return [[DBSHARINGAddMemberSelectorError alloc] initWithGroupNotOnTeam]; } else if ([tag isEqualToString:@"other"]) { return [[DBSHARINGAddMemberSelectorError alloc] initWithOther]; } else { return [[DBSHARINGAddMemberSelectorError alloc] initWithOther]; } } @end #import "DBSHARINGRequestedVisibility.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGRequestedVisibility #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)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 [DBSHARINGRequestedVisibilitySerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGRequestedVisibilitySerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGRequestedVisibilitySerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToRequestedVisibility:other]; } - (BOOL)isEqualToRequestedVisibility:(DBSHARINGRequestedVisibility *)aRequestedVisibility { if (self == aRequestedVisibility) { return YES; } 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; } @end #pragma mark - Serializer Object @implementation DBSHARINGRequestedVisibilitySerializer + (NSDictionary *)serialize:(DBSHARINGRequestedVisibility *)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]); } 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 "DBSHARINGRequestedVisibility.h" #import "DBSHARINGResolvedVisibility.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGResolvedVisibility #pragma mark - Constructors - (instancetype)initWithPublic { self = [super init]; if (self) { _tag = DBSHARINGResolvedVisibilityPublic; } return self; } - (instancetype)initWithTeamOnly { self = [super init]; if (self) { _tag = DBSHARINGResolvedVisibilityTeamOnly; } return self; } - (instancetype)initWithPassword { self = [super init]; if (self) { _tag = DBSHARINGResolvedVisibilityPassword; } return self; } - (instancetype)initWithTeamAndPassword { self = [super init]; if (self) { _tag = DBSHARINGResolvedVisibilityTeamAndPassword; } return self; } - (instancetype)initWithSharedFolderOnly { self = [super init]; if (self) { _tag = DBSHARINGResolvedVisibilitySharedFolderOnly; } return self; } - (instancetype)initWithNoOne { self = [super init]; if (self) { _tag = DBSHARINGResolvedVisibilityNoOne; } return self; } - (instancetype)initWithOnlyYou { self = [super init]; if (self) { _tag = DBSHARINGResolvedVisibilityOnlyYou; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBSHARINGResolvedVisibilityOther; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isPublic { return _tag == DBSHARINGResolvedVisibilityPublic; } - (BOOL)isTeamOnly { return _tag == DBSHARINGResolvedVisibilityTeamOnly; } - (BOOL)isPassword { return _tag == DBSHARINGResolvedVisibilityPassword; } - (BOOL)isTeamAndPassword { return _tag == DBSHARINGResolvedVisibilityTeamAndPassword; } - (BOOL)isSharedFolderOnly { return _tag == DBSHARINGResolvedVisibilitySharedFolderOnly; } - (BOOL)isNoOne { return _tag == DBSHARINGResolvedVisibilityNoOne; } - (BOOL)isOnlyYou { return _tag == DBSHARINGResolvedVisibilityOnlyYou; } - (BOOL)isOther { return _tag == DBSHARINGResolvedVisibilityOther; } - (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"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGResolvedVisibilitySerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGResolvedVisibilitySerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGResolvedVisibilitySerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToResolvedVisibility:other]; } - (BOOL)isEqualToResolvedVisibility:(DBSHARINGResolvedVisibility *)aResolvedVisibility { if (self == aResolvedVisibility) { return YES; } if (self.tag != aResolvedVisibility.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 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; } @end #pragma mark - Serializer Object @implementation DBSHARINGResolvedVisibilitySerializer + (NSDictionary *)serialize:(DBSHARINGResolvedVisibility *)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"; } 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; } + (DBSHARINGResolvedVisibility *)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]; } 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 "DBSHARINGAlphaResolvedVisibility.h" #import "DBSHARINGResolvedVisibility.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGAlphaResolvedVisibility #pragma mark - Constructors - (instancetype)initWithPublic { self = [super init]; if (self) { _tag = DBSHARINGAlphaResolvedVisibilityPublic; } return self; } - (instancetype)initWithTeamOnly { self = [super init]; if (self) { _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 [DBSHARINGAlphaResolvedVisibilitySerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGAlphaResolvedVisibilitySerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGAlphaResolvedVisibilitySerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToAlphaResolvedVisibility:other]; } - (BOOL)isEqualToAlphaResolvedVisibility:(DBSHARINGAlphaResolvedVisibility *)anAlphaResolvedVisibility { if (self == anAlphaResolvedVisibility) { return YES; } if (self.tag != anAlphaResolvedVisibility.tag) { 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; } @end #pragma mark - Serializer Object @implementation DBSHARINGAlphaResolvedVisibilitySerializer + (NSDictionary *)serialize:(DBSHARINGAlphaResolvedVisibility *)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"; } 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; } + (DBSHARINGAlphaResolvedVisibility *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; 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 "DBSHARINGAudienceExceptionContentInfo.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGAudienceExceptionContentInfo #pragma mark - Constructors - (instancetype)initWithName:(NSString *)name { [DBStoneValidators nonnullValidator:nil](name); self = [super init]; if (self) { _name = name; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGAudienceExceptionContentInfoSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGAudienceExceptionContentInfoSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGAudienceExceptionContentInfoSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToAudienceExceptionContentInfo:other]; } - (BOOL)isEqualToAudienceExceptionContentInfo:(DBSHARINGAudienceExceptionContentInfo *)anAudienceExceptionContentInfo { if (self == anAudienceExceptionContentInfo) { return YES; } if (![self.name isEqual:anAudienceExceptionContentInfo.name]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGAudienceExceptionContentInfoSerializer + (NSDictionary *)serialize:(DBSHARINGAudienceExceptionContentInfo *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"name"] = valueObj.name; return jsonDict; } + (DBSHARINGAudienceExceptionContentInfo *)deserialize:(NSDictionary *)valueDict { NSString *name = valueDict[@"name"]; return [[DBSHARINGAudienceExceptionContentInfo alloc] initWithName:name]; } @end #import "DBSHARINGAudienceExceptionContentInfo.h" #import "DBSHARINGAudienceExceptions.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGAudienceExceptions #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); self = [super init]; if (self) { _count = count; _exceptions = exceptions; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGAudienceExceptionsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGAudienceExceptionsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGAudienceExceptionsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToAudienceExceptions:other]; } - (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; } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGAudienceExceptionsSerializer + (NSDictionary *)serialize:(DBSHARINGAudienceExceptions *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"count"] = valueObj.count; jsonDict[@"exceptions"] = [DBArraySerializer serialize:valueObj.exceptions withBlock:^id(id elem0) { return [DBSHARINGAudienceExceptionContentInfoSerializer serialize:elem0]; }]; return jsonDict; } + (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]; } @end #import "DBSHARINGAudienceRestrictingSharedFolder.h" #import "DBSHARINGLinkAudience.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGAudienceRestrictingSharedFolder #pragma mark - Constructors - (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) { _sharedFolderId = sharedFolderId; _name = name; _audience = audience; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGAudienceRestrictingSharedFolderSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGAudienceRestrictingSharedFolderSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGAudienceRestrictingSharedFolderSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (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]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToAudienceRestrictingSharedFolder:other]; } - (BOOL)isEqualToAudienceRestrictingSharedFolder: (DBSHARINGAudienceRestrictingSharedFolder *)anAudienceRestrictingSharedFolder { if (self == anAudienceRestrictingSharedFolder) { return YES; } if (![self.sharedFolderId isEqual:anAudienceRestrictingSharedFolder.sharedFolderId]) { return NO; } if (![self.name isEqual:anAudienceRestrictingSharedFolder.name]) { return NO; } if (![self.audience isEqual:anAudienceRestrictingSharedFolder.audience]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGAudienceRestrictingSharedFolderSerializer + (NSDictionary *)serialize:(DBSHARINGAudienceRestrictingSharedFolder *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"shared_folder_id"] = valueObj.sharedFolderId; jsonDict[@"name"] = valueObj.name; jsonDict[@"audience"] = [DBSHARINGLinkAudienceSerializer serialize:valueObj.audience]; return jsonDict; } + (DBSHARINGAudienceRestrictingSharedFolder *)deserialize:(NSDictionary *)valueDict { NSString *sharedFolderId = valueDict[@"shared_folder_id"]; NSString *name = valueDict[@"name"]; DBSHARINGLinkAudience *audience = [DBSHARINGLinkAudienceSerializer deserialize:valueDict[@"audience"]]; return [[DBSHARINGAudienceRestrictingSharedFolder alloc] initWithSharedFolderId:sharedFolderId name:name audience:audience]; } @end #import "DBSHARINGCollectionLinkMetadata.h" #import "DBSHARINGLinkMetadata.h" #import "DBSHARINGPathLinkMetadata.h" #import "DBSHARINGVisibility.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGLinkMetadata #pragma mark - Constructors - (instancetype)initWithUrl:(NSString *)url visibility:(DBSHARINGVisibility *)visibility expires:(NSDate *)expires { [DBStoneValidators nonnullValidator:nil](url); [DBStoneValidators nonnullValidator:nil](visibility); self = [super init]; if (self) { _url = url; _visibility = visibility; _expires = expires; } 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]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGLinkMetadataSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGLinkMetadataSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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.visibility hash]; if (self.expires != nil) { 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 isEqualToLinkMetadata:other]; } - (BOOL)isEqualToLinkMetadata:(DBSHARINGLinkMetadata *)aLinkMetadata { if (self == aLinkMetadata) { return YES; } if (![self.url isEqual:aLinkMetadata.url]) { return NO; } if (![self.visibility isEqual:aLinkMetadata.visibility]) { return NO; } if (self.expires) { if (![self.expires isEqual:aLinkMetadata.expires]) { return NO; } } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGLinkMetadataSerializer + (NSDictionary *)serialize:(DBSHARINGLinkMetadata *)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"; } 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; return [[DBSHARINGLinkMetadata alloc] initWithUrl:url visibility:visibility expires:expires]; } @end #import "DBSHARINGCollectionLinkMetadata.h" #import "DBSHARINGLinkMetadata.h" #import "DBSHARINGVisibility.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGCollectionLinkMetadata #pragma mark - Constructors - (instancetype)initWithUrl:(NSString *)url visibility:(DBSHARINGVisibility *)visibility expires:(NSDate *)expires { [DBStoneValidators nonnullValidator:nil](url); [DBStoneValidators nonnullValidator:nil](visibility); self = [super initWithUrl:url visibility:visibility expires:expires]; if (self) { } 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]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGCollectionLinkMetadataSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGCollectionLinkMetadataSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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.visibility hash]; if (self.expires != nil) { 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 isEqualToCollectionLinkMetadata:other]; } - (BOOL)isEqualToCollectionLinkMetadata:(DBSHARINGCollectionLinkMetadata *)aCollectionLinkMetadata { if (self == aCollectionLinkMetadata) { return YES; } if (![self.url isEqual:aCollectionLinkMetadata.url]) { return NO; } if (![self.visibility isEqual:aCollectionLinkMetadata.visibility]) { return NO; } if (self.expires) { if (![self.expires isEqual:aCollectionLinkMetadata.expires]) { return NO; } } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGCollectionLinkMetadataSerializer + (NSDictionary *)serialize:(DBSHARINGCollectionLinkMetadata *)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"]; } 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; return [[DBSHARINGCollectionLinkMetadata alloc] initWithUrl:url visibility:visibility expires:expires]; } @end #import "DBSHARINGCreateSharedLinkArg.h" #import "DBSHARINGPendingUploadMode.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGCreateSharedLinkArg #pragma mark - Constructors - (instancetype)initWithPath:(NSString *)path shortUrl:(NSNumber *)shortUrl pendingUpload:(DBSHARINGPendingUploadMode *)pendingUpload { [DBStoneValidators nonnullValidator:nil](path); self = [super init]; if (self) { _path = path; _shortUrl = shortUrl ?: @NO; _pendingUpload = pendingUpload; } 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]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGCreateSharedLinkArgSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGCreateSharedLinkArgSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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.shortUrl hash]; if (self.pendingUpload != nil) { result = prime * result + [self.pendingUpload hash]; } return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToCreateSharedLinkArg:other]; } - (BOOL)isEqualToCreateSharedLinkArg:(DBSHARINGCreateSharedLinkArg *)aCreateSharedLinkArg { if (self == aCreateSharedLinkArg) { return YES; } if (![self.path isEqual:aCreateSharedLinkArg.path]) { return NO; } if (![self.shortUrl isEqual:aCreateSharedLinkArg.shortUrl]) { return NO; } if (self.pendingUpload) { if (![self.pendingUpload isEqual:aCreateSharedLinkArg.pendingUpload]) { return NO; } } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGCreateSharedLinkArgSerializer + (NSDictionary *)serialize:(DBSHARINGCreateSharedLinkArg *)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]; } 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; return [[DBSHARINGCreateSharedLinkArg alloc] initWithPath:path shortUrl:shortUrl pendingUpload:pendingUpload]; } @end #import "DBFILESLookupError.h" #import "DBSHARINGCreateSharedLinkError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGCreateSharedLinkError @synthesize path = _path; #pragma mark - Constructors - (instancetype)initWithPath:(DBFILESLookupError *)path { self = [super init]; if (self) { _tag = DBSHARINGCreateSharedLinkErrorPath; _path = path; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBSHARINGCreateSharedLinkErrorOther; } 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]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGCreateSharedLinkErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGCreateSharedLinkErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGCreateSharedLinkErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 DBSHARINGCreateSharedLinkErrorPath: result = prime * result + [self.path hash]; break; case DBSHARINGCreateSharedLinkErrorOther: 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 isEqualToCreateSharedLinkError:other]; } - (BOOL)isEqualToCreateSharedLinkError:(DBSHARINGCreateSharedLinkError *)aCreateSharedLinkError { if (self == aCreateSharedLinkError) { return YES; } if (self.tag != aCreateSharedLinkError.tag) { return NO; } switch (_tag) { case DBSHARINGCreateSharedLinkErrorPath: return [self.path isEqual:aCreateSharedLinkError.path]; case DBSHARINGCreateSharedLinkErrorOther: return [[self tagName] isEqual:[aCreateSharedLinkError tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGCreateSharedLinkErrorSerializer + (NSDictionary *)serialize:(DBSHARINGCreateSharedLinkError *)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; } + (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]; } } @end #import "DBSHARINGCreateSharedLinkWithSettingsArg.h" #import "DBSHARINGSharedLinkSettings.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGCreateSharedLinkWithSettingsArg #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); self = [super init]; if (self) { _path = path; _settings = settings; } return self; } - (instancetype)initWithPath:(NSString *)path { return [self initWithPath:path settings:nil]; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGCreateSharedLinkWithSettingsArgSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGCreateSharedLinkWithSettingsArgSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGCreateSharedLinkWithSettingsArgSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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.settings != nil) { result = prime * result + [self.settings hash]; } return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToCreateSharedLinkWithSettingsArg:other]; } - (BOOL)isEqualToCreateSharedLinkWithSettingsArg: (DBSHARINGCreateSharedLinkWithSettingsArg *)aCreateSharedLinkWithSettingsArg { if (self == aCreateSharedLinkWithSettingsArg) { return YES; } if (![self.path isEqual:aCreateSharedLinkWithSettingsArg.path]) { return NO; } if (self.settings) { if (![self.settings isEqual:aCreateSharedLinkWithSettingsArg.settings]) { return NO; } } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGCreateSharedLinkWithSettingsArgSerializer + (NSDictionary *)serialize:(DBSHARINGCreateSharedLinkWithSettingsArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"path"] = valueObj.path; if (valueObj.settings) { jsonDict[@"settings"] = [DBSHARINGSharedLinkSettingsSerializer serialize:valueObj.settings]; } return jsonDict; } + (DBSHARINGCreateSharedLinkWithSettingsArg *)deserialize:(NSDictionary *)valueDict { NSString *path = valueDict[@"path"]; DBSHARINGSharedLinkSettings *settings = valueDict[@"settings"] ? [DBSHARINGSharedLinkSettingsSerializer deserialize:valueDict[@"settings"]] : nil; return [[DBSHARINGCreateSharedLinkWithSettingsArg alloc] initWithPath:path settings:settings]; } @end #import "DBFILESLookupError.h" #import "DBSHARINGCreateSharedLinkWithSettingsError.h" #import "DBSHARINGSharedLinkAlreadyExistsMetadata.h" #import "DBSHARINGSharedLinkSettingsError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGCreateSharedLinkWithSettingsError @synthesize path = _path; @synthesize sharedLinkAlreadyExists = _sharedLinkAlreadyExists; @synthesize settingsError = _settingsError; #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:(DBSHARINGSharedLinkAlreadyExistsMetadata *)sharedLinkAlreadyExists { self = [super init]; if (self) { _tag = DBSHARINGCreateSharedLinkWithSettingsErrorSharedLinkAlreadyExists; _sharedLinkAlreadyExists = sharedLinkAlreadyExists; } return self; } - (instancetype)initWithSettingsError:(DBSHARINGSharedLinkSettingsError *)settingsError { self = [super init]; if (self) { _tag = DBSHARINGCreateSharedLinkWithSettingsErrorSettingsError; _settingsError = settingsError; } return self; } - (instancetype)initWithAccessDenied { self = [super init]; if (self) { _tag = DBSHARINGCreateSharedLinkWithSettingsErrorAccessDenied; } 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; } - (DBSHARINGSharedLinkAlreadyExistsMetadata *)sharedLinkAlreadyExists { if (![self isSharedLinkAlreadyExists]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBSHARINGCreateSharedLinkWithSettingsErrorSharedLinkAlreadyExists, but was %@.", [self tagName]]; } return _sharedLinkAlreadyExists; } - (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]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGCreateSharedLinkWithSettingsErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGCreateSharedLinkWithSettingsErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGCreateSharedLinkWithSettingsErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 DBSHARINGCreateSharedLinkWithSettingsErrorPath: result = prime * result + [self.path hash]; break; case DBSHARINGCreateSharedLinkWithSettingsErrorEmailNotVerified: result = prime * result + [[self tagName] hash]; 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToCreateSharedLinkWithSettingsError:other]; } - (BOOL)isEqualToCreateSharedLinkWithSettingsError: (DBSHARINGCreateSharedLinkWithSettingsError *)aCreateSharedLinkWithSettingsError { if (self == aCreateSharedLinkWithSettingsError) { return YES; } if (self.tag != aCreateSharedLinkWithSettingsError.tag) { return NO; } switch (_tag) { 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; } @end #pragma mark - Serializer Object @implementation DBSHARINGCreateSharedLinkWithSettingsErrorSerializer + (NSDictionary *)serialize:(DBSHARINGCreateSharedLinkWithSettingsError *)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]) { 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 { @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Object not properly initialized. Tag has an unknown value." userInfo:nil]); } return jsonDict; } + (DBSHARINGCreateSharedLinkWithSettingsError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; 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 { @throw([NSException exceptionWithName:@"InvalidTag" reason:[NSString stringWithFormat:@"Tag has an invalid value: \"%@\".", valueDict[@".tag"]] userInfo:nil]); } } @end #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 DBSHARINGSharedContentLinkMetadataBase #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); self = [super init]; if (self) { _accessLevel = accessLevel; _audienceOptions = audienceOptions; _audienceRestrictingSharedFolder = audienceRestrictingSharedFolder; _currentAudience = currentAudience; _expiry = expiry; _linkPermissions = linkPermissions; _passwordProtected = passwordProtected; } 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 - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGSharedContentLinkMetadataBaseSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGSharedContentLinkMetadataBaseSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGSharedContentLinkMetadataBaseSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (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]; } return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToSharedContentLinkMetadataBase:other]; } - (BOOL)isEqualToSharedContentLinkMetadataBase: (DBSHARINGSharedContentLinkMetadataBase *)aSharedContentLinkMetadataBase { if (self == aSharedContentLinkMetadataBase) { 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]) { 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; } @end #pragma mark - Serializer Object @implementation DBSHARINGSharedContentLinkMetadataBaseSerializer + (NSDictionary *)serialize:(DBSHARINGSharedContentLinkMetadataBase *)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"]; } 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; return [[DBSHARINGSharedContentLinkMetadataBase alloc] initWithAudienceOptions:audienceOptions currentAudience:currentAudience linkPermissions:linkPermissions passwordProtected:passwordProtected accessLevel:accessLevel audienceRestrictingSharedFolder:audienceRestrictingSharedFolder expiry:expiry]; } @end #import "DBSHARINGAccessLevel.h" #import "DBSHARINGAudienceRestrictingSharedFolder.h" #import "DBSHARINGExpectedSharedContentLinkMetadata.h" #import "DBSHARINGLinkAudience.h" #import "DBSHARINGLinkPermission.h" #import "DBSHARINGSharedContentLinkMetadataBase.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGExpectedSharedContentLinkMetadata #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); self = [super initWithAudienceOptions:audienceOptions currentAudience:currentAudience linkPermissions:linkPermissions passwordProtected:passwordProtected accessLevel:accessLevel audienceRestrictingSharedFolder:audienceRestrictingSharedFolder expiry:expiry]; if (self) { } 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 - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGExpectedSharedContentLinkMetadataSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGExpectedSharedContentLinkMetadataSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGExpectedSharedContentLinkMetadataSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (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]; } return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToExpectedSharedContentLinkMetadata:other]; } - (BOOL)isEqualToExpectedSharedContentLinkMetadata: (DBSHARINGExpectedSharedContentLinkMetadata *)anExpectedSharedContentLinkMetadata { if (self == anExpectedSharedContentLinkMetadata) { 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]) { 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]) { return NO; } } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGExpectedSharedContentLinkMetadataSerializer + (NSDictionary *)serialize:(DBSHARINGExpectedSharedContentLinkMetadata *)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"]; } 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; 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 linkPermissions:linkPermissions id_:id_ expires:expires pathLower:pathLower teamMemberInfo:teamMemberInfo contentOwnerTeamInfo:contentOwnerTeamInfo]; } @end #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" #pragma mark - API Object @implementation DBSHARINGFileMemberActionResult #pragma mark - Constructors - (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 init]; if (self) { _member = member; _result = result; _sckeySha1 = sckeySha1; _invitationSignature = invitationSignature; } return self; } - (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 [DBSHARINGFileMemberActionResultSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGFileMemberActionResultSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGFileMemberActionResultSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.member hash]; result = prime * result + [self.result hash]; if (self.sckeySha1 != nil) { result = prime * result + [self.sckeySha1 hash]; } if (self.invitationSignature != nil) { result = prime * result + [self.invitationSignature hash]; } return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToFileMemberActionResult:other]; } - (BOOL)isEqualToFileMemberActionResult:(DBSHARINGFileMemberActionResult *)aFileMemberActionResult { if (self == aFileMemberActionResult) { return YES; } if (![self.member isEqual:aFileMemberActionResult.member]) { return NO; } if (![self.result isEqual:aFileMemberActionResult.result]) { return NO; } if (self.sckeySha1) { if (![self.sckeySha1 isEqual:aFileMemberActionResult.sckeySha1]) { return NO; } } if (self.invitationSignature) { if (![self.invitationSignature isEqual:aFileMemberActionResult.invitationSignature]) { return NO; } } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGFileMemberActionResultSerializer + (NSDictionary *)serialize:(DBSHARINGFileMemberActionResult *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; 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 "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; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBSHARINGFileMemberRemoveActionResultOther; } return self; } #pragma mark - Instance field accessors - (DBSHARINGMemberAccessLevelResult *)success { if (![self isSuccess]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBSHARINGFileMemberRemoveActionResultSuccess, but was %@.", [self tagName]]; } return _success; } - (DBSHARINGFileMemberActionError *)memberError { if (![self isMemberError]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBSHARINGFileMemberRemoveActionResultMemberError, but was %@.", [self tagName]]; } return _memberError; } #pragma mark - Tag state methods - (BOOL)isSuccess { return _tag == DBSHARINGFileMemberRemoveActionResultSuccess; } - (BOOL)isMemberError { return _tag == DBSHARINGFileMemberRemoveActionResultMemberError; } - (BOOL)isOther { return _tag == DBSHARINGFileMemberRemoveActionResultOther; } - (NSString *)tagName { switch (_tag) { case DBSHARINGFileMemberRemoveActionResultSuccess: return @"DBSHARINGFileMemberRemoveActionResultSuccess"; case DBSHARINGFileMemberRemoveActionResultMemberError: return @"DBSHARINGFileMemberRemoveActionResultMemberError"; case DBSHARINGFileMemberRemoveActionResultOther: return @"DBSHARINGFileMemberRemoveActionResultOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGFileMemberRemoveActionResultSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGFileMemberRemoveActionResultSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGFileMemberRemoveActionResultSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToFileMemberRemoveActionResult:other]; } - (BOOL)isEqualToFileMemberRemoveActionResult:(DBSHARINGFileMemberRemoveActionResult *)aFileMemberRemoveActionResult { if (self == aFileMemberRemoveActionResult) { return YES; } if (self.tag != aFileMemberRemoveActionResult.tag) { 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]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGFileMemberRemoveActionResultSerializer + (NSDictionary *)serialize:(DBSHARINGFileMemberRemoveActionResult *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; 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; } + (DBSHARINGFileMemberRemoveActionResult *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; 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]; } } @end #import "DBSHARINGFileAction.h" #import "DBSHARINGFilePermission.h" #import "DBSHARINGPermissionDeniedReason.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGFilePermission #pragma mark - Constructors - (instancetype)initWithAction:(DBSHARINGFileAction *)action allow:(NSNumber *)allow reason:(DBSHARINGPermissionDeniedReason *)reason { [DBStoneValidators nonnullValidator:nil](action); [DBStoneValidators nonnullValidator:nil](allow); self = [super init]; if (self) { _action = action; _allow = allow; _reason = reason; } return self; } - (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 [DBSHARINGFilePermissionSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGFilePermissionSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGFilePermissionSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (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]; } return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToFilePermission:other]; } - (BOOL)isEqualToFilePermission:(DBSHARINGFilePermission *)aFilePermission { if (self == aFilePermission) { return YES; } if (![self.action isEqual:aFilePermission.action]) { return NO; } if (![self.allow isEqual:aFilePermission.allow]) { return NO; } if (self.reason) { if (![self.reason isEqual:aFilePermission.reason]) { return NO; } } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGFilePermissionSerializer + (NSDictionary *)serialize:(DBSHARINGFilePermission *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"action"] = [DBSHARINGFileActionSerializer serialize:valueObj.action]; jsonDict[@"allow"] = valueObj.allow; if (valueObj.reason) { jsonDict[@"reason"] = [DBSHARINGPermissionDeniedReasonSerializer serialize:valueObj.reason]; } return jsonDict; } + (DBSHARINGFilePermission *)deserialize:(NSDictionary *)valueDict { DBSHARINGFileAction *action = [DBSHARINGFileActionSerializer 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]; } @end #import "DBSHARINGFolderAction.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #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; } - (BOOL)isShareLink { return _tag == DBSHARINGFolderActionShareLink; } - (BOOL)isCreateLink { return _tag == DBSHARINGFolderActionCreateLink; } - (BOOL)isSetAccessInheritance { return _tag == DBSHARINGFolderActionSetAccessInheritance; } - (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"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGFolderActionSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGFolderActionSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGFolderActionSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToFolderAction:other]; } - (BOOL)isEqualToFolderAction:(DBSHARINGFolderAction *)aFolderAction { if (self == aFolderAction) { return YES; } if (self.tag != aFolderAction.tag) { 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; } @end #pragma mark - Serializer Object @implementation DBSHARINGFolderActionSerializer + (NSDictionary *)serialize:(DBSHARINGFolderAction *)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 isSetAccessInheritance]) { jsonDict[@".tag"] = @"set_access_inheritance"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBSHARINGFolderAction *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; 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]; } } @end #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 DBSHARINGFolderLinkMetadata #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 initWithUrl:url name:name linkPermissions:linkPermissions id_:id_ expires:expires pathLower:pathLower teamMemberInfo:teamMemberInfo contentOwnerTeamInfo:contentOwnerTeamInfo]; 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]; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGFolderLinkMetadataSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGFolderLinkMetadataSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGFolderLinkMetadataSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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 isEqualToFolderLinkMetadata:other]; } - (BOOL)isEqualToFolderLinkMetadata:(DBSHARINGFolderLinkMetadata *)aFolderLinkMetadata { if (self == aFolderLinkMetadata) { return YES; } if (![self.url isEqual:aFolderLinkMetadata.url]) { return NO; } 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; } @end #pragma mark - Serializer Object @implementation DBSHARINGFolderLinkMetadataSerializer + (NSDictionary *)serialize:(DBSHARINGFolderLinkMetadata *)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]; } 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; return [[DBSHARINGFolderLinkMetadata alloc] initWithUrl:url name:name linkPermissions:linkPermissions id_:id_ expires:expires pathLower:pathLower teamMemberInfo:teamMemberInfo contentOwnerTeamInfo:contentOwnerTeamInfo]; } @end #import "DBSHARINGFolderAction.h" #import "DBSHARINGFolderPermission.h" #import "DBSHARINGPermissionDeniedReason.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGFolderPermission #pragma mark - Constructors - (instancetype)initWithAction:(DBSHARINGFolderAction *)action allow:(NSNumber *)allow reason:(DBSHARINGPermissionDeniedReason *)reason { [DBStoneValidators nonnullValidator:nil](action); [DBStoneValidators nonnullValidator:nil](allow); self = [super init]; if (self) { _action = action; _allow = allow; _reason = reason; } 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]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGFolderPermissionSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGFolderPermissionSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (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]; } return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToFolderPermission:other]; } - (BOOL)isEqualToFolderPermission:(DBSHARINGFolderPermission *)aFolderPermission { if (self == aFolderPermission) { return YES; } if (![self.action isEqual:aFolderPermission.action]) { return NO; } if (![self.allow isEqual:aFolderPermission.allow]) { return NO; } if (self.reason) { if (![self.reason isEqual:aFolderPermission.reason]) { return NO; } } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGFolderPermissionSerializer + (NSDictionary *)serialize:(DBSHARINGFolderPermission *)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]; } 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; return [[DBSHARINGFolderPermission alloc] initWithAction:action allow:allow reason:reason]; } @end #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 DBSHARINGFolderPolicy #pragma mark - Constructors - (instancetype)initWithAclUpdatePolicy:(DBSHARINGAclUpdatePolicy *)aclUpdatePolicy sharedLinkPolicy:(DBSHARINGSharedLinkPolicy *)sharedLinkPolicy memberPolicy:(DBSHARINGMemberPolicy *)memberPolicy resolvedMemberPolicy:(DBSHARINGMemberPolicy *)resolvedMemberPolicy viewerInfoPolicy:(DBSHARINGViewerInfoPolicy *)viewerInfoPolicy { [DBStoneValidators nonnullValidator:nil](aclUpdatePolicy); [DBStoneValidators nonnullValidator:nil](sharedLinkPolicy); self = [super init]; if (self) { _memberPolicy = memberPolicy; _resolvedMemberPolicy = resolvedMemberPolicy; _aclUpdatePolicy = aclUpdatePolicy; _sharedLinkPolicy = sharedLinkPolicy; _viewerInfoPolicy = viewerInfoPolicy; } return self; } - (instancetype)initWithAclUpdatePolicy:(DBSHARINGAclUpdatePolicy *)aclUpdatePolicy sharedLinkPolicy:(DBSHARINGSharedLinkPolicy *)sharedLinkPolicy { return [self initWithAclUpdatePolicy:aclUpdatePolicy sharedLinkPolicy:sharedLinkPolicy memberPolicy:nil resolvedMemberPolicy:nil viewerInfoPolicy:nil]; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGFolderPolicySerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGFolderPolicySerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGFolderPolicySerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (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]; } return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToFolderPolicy:other]; } - (BOOL)isEqualToFolderPolicy:(DBSHARINGFolderPolicy *)aFolderPolicy { if (self == aFolderPolicy) { return YES; } 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; } @end #pragma mark - Serializer Object @implementation DBSHARINGFolderPolicySerializer + (NSDictionary *)serialize:(DBSHARINGFolderPolicy *)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]; } 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; return [[DBSHARINGFolderPolicy alloc] initWithAclUpdatePolicy:aclUpdatePolicy sharedLinkPolicy:sharedLinkPolicy memberPolicy:memberPolicy resolvedMemberPolicy:resolvedMemberPolicy viewerInfoPolicy:viewerInfoPolicy]; } @end #import "DBSHARINGFileAction.h" #import "DBSHARINGGetFileMetadataArg.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGGetFileMetadataArg #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); self = [super init]; if (self) { _file = file; _actions = actions; } return self; } - (instancetype)initWithFile:(NSString *)file { return [self initWithFile:file actions:nil]; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGGetFileMetadataArgSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGGetFileMetadataArgSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGGetFileMetadataArgSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.file hash]; if (self.actions != nil) { result = prime * result + [self.actions hash]; } return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToGetFileMetadataArg:other]; } - (BOOL)isEqualToGetFileMetadataArg:(DBSHARINGGetFileMetadataArg *)aGetFileMetadataArg { if (self == aGetFileMetadataArg) { return YES; } if (![self.file isEqual:aGetFileMetadataArg.file]) { return NO; } if (self.actions) { if (![self.actions isEqual:aGetFileMetadataArg.actions]) { return NO; } } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGGetFileMetadataArgSerializer + (NSDictionary *)serialize:(DBSHARINGGetFileMetadataArg *)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]; }]; } 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; return [[DBSHARINGGetFileMetadataArg alloc] initWithFile:file actions:actions]; } @end #import "DBSHARINGFileAction.h" #import "DBSHARINGGetFileMetadataBatchArg.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGGetFileMetadataBatchArg #pragma mark - Constructors - (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 init]; if (self) { _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 [DBSHARINGGetFileMetadataBatchArgSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGGetFileMetadataBatchArgSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGGetFileMetadataBatchArgSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.files hash]; if (self.actions != nil) { result = prime * result + [self.actions hash]; } return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToGetFileMetadataBatchArg:other]; } - (BOOL)isEqualToGetFileMetadataBatchArg:(DBSHARINGGetFileMetadataBatchArg *)aGetFileMetadataBatchArg { if (self == aGetFileMetadataBatchArg) { return YES; } if (![self.files isEqual:aGetFileMetadataBatchArg.files]) { return NO; } if (self.actions) { if (![self.actions isEqual:aGetFileMetadataBatchArg.actions]) { return NO; } } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGGetFileMetadataBatchArgSerializer + (NSDictionary *)serialize:(DBSHARINGGetFileMetadataBatchArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; 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; } + (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 [[DBSHARINGGetFileMetadataBatchArg alloc] initWithFiles:files actions:actions]; } @end #import "DBSHARINGGetFileMetadataBatchResult.h" #import "DBSHARINGGetFileMetadataIndividualResult.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGGetFileMetadataBatchResult #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); self = [super init]; if (self) { _file = file; _result = result; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGGetFileMetadataBatchResultSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGGetFileMetadataBatchResultSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGGetFileMetadataBatchResultSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.file hash]; 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 isEqualToGetFileMetadataBatchResult:other]; } - (BOOL)isEqualToGetFileMetadataBatchResult:(DBSHARINGGetFileMetadataBatchResult *)aGetFileMetadataBatchResult { if (self == aGetFileMetadataBatchResult) { return YES; } if (![self.file isEqual:aGetFileMetadataBatchResult.file]) { return NO; } if (![self.result isEqual:aGetFileMetadataBatchResult.result]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGGetFileMetadataBatchResultSerializer + (NSDictionary *)serialize:(DBSHARINGGetFileMetadataBatchResult *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"file"] = valueObj.file; jsonDict[@"result"] = [DBSHARINGGetFileMetadataIndividualResultSerializer serialize:valueObj.result]; return jsonDict; } + (DBSHARINGGetFileMetadataBatchResult *)deserialize:(NSDictionary *)valueDict { NSString *file = valueDict[@"file"]; DBSHARINGGetFileMetadataIndividualResult *result = [DBSHARINGGetFileMetadataIndividualResultSerializer deserialize:valueDict[@"result"]]; return [[DBSHARINGGetFileMetadataBatchResult alloc] initWithFile:file result:result]; } @end #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 - Tag state methods - (BOOL)isUserError { return _tag == DBSHARINGGetFileMetadataErrorUserError; } - (BOOL)isAccessError { return _tag == DBSHARINGGetFileMetadataErrorAccessError; } - (BOOL)isOther { return _tag == DBSHARINGGetFileMetadataErrorOther; } - (NSString *)tagName { switch (_tag) { case DBSHARINGGetFileMetadataErrorUserError: return @"DBSHARINGGetFileMetadataErrorUserError"; case DBSHARINGGetFileMetadataErrorAccessError: return @"DBSHARINGGetFileMetadataErrorAccessError"; case DBSHARINGGetFileMetadataErrorOther: return @"DBSHARINGGetFileMetadataErrorOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGGetFileMetadataErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGGetFileMetadataErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGGetFileMetadataErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToGetFileMetadataError:other]; } - (BOOL)isEqualToGetFileMetadataError:(DBSHARINGGetFileMetadataError *)aGetFileMetadataError { if (self == aGetFileMetadataError) { return YES; } if (self.tag != aGetFileMetadataError.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]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGGetFileMetadataErrorSerializer + (NSDictionary *)serialize:(DBSHARINGGetFileMetadataError *)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"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBSHARINGGetFileMetadataError *)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]; } else if ([tag isEqualToString:@"other"]) { return [[DBSHARINGGetFileMetadataError alloc] initWithOther]; } else { return [[DBSHARINGGetFileMetadataError alloc] initWithOther]; } } @end #import "DBSHARINGGetFileMetadataIndividualResult.h" #import "DBSHARINGSharedFileMetadata.h" #import "DBSHARINGSharingFileAccessError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGGetFileMetadataIndividualResult @synthesize metadata = _metadata; @synthesize accessError = _accessError; #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; } - (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 [DBSHARINGGetFileMetadataIndividualResultSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGGetFileMetadataIndividualResultSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGGetFileMetadataIndividualResultSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToGetFileMetadataIndividualResult:other]; } - (BOOL)isEqualToGetFileMetadataIndividualResult: (DBSHARINGGetFileMetadataIndividualResult *)aGetFileMetadataIndividualResult { if (self == aGetFileMetadataIndividualResult) { return YES; } if (self.tag != aGetFileMetadataIndividualResult.tag) { 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; } @end #pragma mark - Serializer Object @implementation DBSHARINGGetFileMetadataIndividualResultSerializer + (NSDictionary *)serialize:(DBSHARINGGetFileMetadataIndividualResult *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; 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; } + (DBSHARINGGetFileMetadataIndividualResult *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; 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 "DBSHARINGFolderAction.h" #import "DBSHARINGGetMetadataArgs.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGGetMetadataArgs #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); self = [super init]; if (self) { _sharedFolderId = sharedFolderId; _actions = actions; } return self; } - (instancetype)initWithSharedFolderId:(NSString *)sharedFolderId { return [self initWithSharedFolderId:sharedFolderId actions:nil]; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGGetMetadataArgsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGGetMetadataArgsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGGetMetadataArgsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.sharedFolderId hash]; if (self.actions != nil) { result = prime * result + [self.actions hash]; } return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToGetMetadataArgs:other]; } - (BOOL)isEqualToGetMetadataArgs:(DBSHARINGGetMetadataArgs *)aGetMetadataArgs { if (self == aGetMetadataArgs) { return YES; } if (![self.sharedFolderId isEqual:aGetMetadataArgs.sharedFolderId]) { return NO; } if (self.actions) { if (![self.actions isEqual:aGetMetadataArgs.actions]) { return NO; } } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGGetMetadataArgsSerializer + (NSDictionary *)serialize:(DBSHARINGGetMetadataArgs *)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]; }]; } 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; return [[DBSHARINGGetMetadataArgs alloc] initWithSharedFolderId:sharedFolderId actions:actions]; } @end #import "DBSHARINGSharedLinkError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGSharedLinkError #pragma mark - Constructors - (instancetype)initWithSharedLinkNotFound { self = [super init]; if (self) { _tag = DBSHARINGSharedLinkErrorSharedLinkNotFound; } return self; } - (instancetype)initWithSharedLinkAccessDenied { self = [super init]; if (self) { _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 [DBSHARINGSharedLinkErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGSharedLinkErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGSharedLinkErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToSharedLinkError:other]; } - (BOOL)isEqualToSharedLinkError:(DBSHARINGSharedLinkError *)aSharedLinkError { if (self == aSharedLinkError) { return YES; } if (self.tag != aSharedLinkError.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]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGSharedLinkErrorSerializer + (NSDictionary *)serialize:(DBSHARINGSharedLinkError *)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 { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBSHARINGSharedLinkError *)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]; } else if ([tag isEqualToString:@"other"]) { return [[DBSHARINGSharedLinkError alloc] initWithOther]; } else { return [[DBSHARINGSharedLinkError alloc] initWithOther]; } } @end #import "DBSHARINGGetSharedLinkFileError.h" #import "DBSHARINGSharedLinkError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGGetSharedLinkFileError #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)initWithSharedLinkIsDirectory { self = [super init]; if (self) { _tag = DBSHARINGGetSharedLinkFileErrorSharedLinkIsDirectory; } 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]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGGetSharedLinkFileErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGGetSharedLinkFileErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToGetSharedLinkFileError:other]; } - (BOOL)isEqualToGetSharedLinkFileError:(DBSHARINGGetSharedLinkFileError *)aGetSharedLinkFileError { if (self == aGetSharedLinkFileError) { return YES; } if (self.tag != aGetSharedLinkFileError.tag) { 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; } @end #pragma mark - Serializer Object @implementation DBSHARINGGetSharedLinkFileErrorSerializer + (NSDictionary *)serialize:(DBSHARINGGetSharedLinkFileError *)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"; } return jsonDict; } + (DBSHARINGGetSharedLinkFileError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; 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]; } } @end #import "DBSHARINGGetSharedLinkMetadataArg.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGGetSharedLinkMetadataArg #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); self = [super init]; if (self) { _url = url; _path = path; _linkPassword = linkPassword; } return self; } - (instancetype)initWithUrl:(NSString *)url { return [self initWithUrl:url path:nil linkPassword:nil]; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGGetSharedLinkMetadataArgSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGGetSharedLinkMetadataArgSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGGetSharedLinkMetadataArgSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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]; if (self.path != nil) { result = prime * result + [self.path hash]; } if (self.linkPassword != nil) { result = prime * result + [self.linkPassword hash]; } return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToGetSharedLinkMetadataArg:other]; } - (BOOL)isEqualToGetSharedLinkMetadataArg:(DBSHARINGGetSharedLinkMetadataArg *)aGetSharedLinkMetadataArg { if (self == aGetSharedLinkMetadataArg) { return YES; } if (![self.url isEqual:aGetSharedLinkMetadataArg.url]) { return NO; } if (self.path) { if (![self.path isEqual:aGetSharedLinkMetadataArg.path]) { return NO; } } if (self.linkPassword) { if (![self.linkPassword isEqual:aGetSharedLinkMetadataArg.linkPassword]) { return NO; } } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGGetSharedLinkMetadataArgSerializer + (NSDictionary *)serialize:(DBSHARINGGetSharedLinkMetadataArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"url"] = valueObj.url; if (valueObj.path) { jsonDict[@"path"] = valueObj.path; } if (valueObj.linkPassword) { jsonDict[@"link_password"] = valueObj.linkPassword; } return jsonDict; } + (DBSHARINGGetSharedLinkMetadataArg *)deserialize:(NSDictionary *)valueDict { NSString *url = valueDict[@"url"]; NSString *path = valueDict[@"path"] ?: nil; NSString *linkPassword = valueDict[@"link_password"] ?: nil; return [[DBSHARINGGetSharedLinkMetadataArg alloc] initWithUrl:url path:path linkPassword:linkPassword]; } @end #import "DBSHARINGGetSharedLinksArg.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGGetSharedLinksArg #pragma mark - Constructors - (instancetype)initWithPath:(NSString *)path { self = [super init]; if (self) { _path = path; } return self; } - (instancetype)initDefault { return [self initWithPath:nil]; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGGetSharedLinksArgSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGGetSharedLinksArgSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGGetSharedLinksArgSerializer serialize:self] description]; } #pragma mark - Copyable method - (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]; } return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToGetSharedLinksArg:other]; } - (BOOL)isEqualToGetSharedLinksArg:(DBSHARINGGetSharedLinksArg *)aGetSharedLinksArg { if (self == aGetSharedLinksArg) { return YES; } if (self.path) { if (![self.path isEqual:aGetSharedLinksArg.path]) { return NO; } } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGGetSharedLinksArgSerializer + (NSDictionary *)serialize:(DBSHARINGGetSharedLinksArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if (valueObj.path) { jsonDict[@"path"] = valueObj.path; } return jsonDict; } + (DBSHARINGGetSharedLinksArg *)deserialize:(NSDictionary *)valueDict { NSString *path = valueDict[@"path"] ?: nil; return [[DBSHARINGGetSharedLinksArg alloc] initWithPath:path]; } @end #import "DBSHARINGGetSharedLinksError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGGetSharedLinksError @synthesize path = _path; #pragma mark - Constructors - (instancetype)initWithPath:(NSString *)path { self = [super init]; if (self) { _tag = DBSHARINGGetSharedLinksErrorPath; _path = path; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBSHARINGGetSharedLinksErrorOther; } 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]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGGetSharedLinksErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGGetSharedLinksErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGGetSharedLinksErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 DBSHARINGGetSharedLinksErrorPath: if (self.path != nil) { result = prime * result + [self.path hash]; } break; case DBSHARINGGetSharedLinksErrorOther: 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 isEqualToGetSharedLinksError:other]; } - (BOOL)isEqualToGetSharedLinksError:(DBSHARINGGetSharedLinksError *)aGetSharedLinksError { if (self == aGetSharedLinksError) { return YES; } if (self.tag != aGetSharedLinksError.tag) { return NO; } switch (_tag) { case DBSHARINGGetSharedLinksErrorPath: if (self.path) { return [self.path isEqual:aGetSharedLinksError.path]; } case DBSHARINGGetSharedLinksErrorOther: return [[self tagName] isEqual:[aGetSharedLinksError tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGGetSharedLinksErrorSerializer + (NSDictionary *)serialize:(DBSHARINGGetSharedLinksError *)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"; } return jsonDict; } + (DBSHARINGGetSharedLinksError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; 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]; } } @end #import "DBSHARINGGetSharedLinksResult.h" #import "DBSHARINGLinkMetadata.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGGetSharedLinksResult #pragma mark - Constructors - (instancetype)initWithLinks:(NSArray *)links { [DBStoneValidators nonnullValidator:[DBStoneValidators arrayValidator:nil maxItems:nil itemValidator:[DBStoneValidators nonnullValidator:nil]]](links); self = [super init]; if (self) { _links = links; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGGetSharedLinksResultSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGGetSharedLinksResultSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGGetSharedLinksResultSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.links hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToGetSharedLinksResult:other]; } - (BOOL)isEqualToGetSharedLinksResult:(DBSHARINGGetSharedLinksResult *)aGetSharedLinksResult { if (self == aGetSharedLinksResult) { return YES; } if (![self.links isEqual:aGetSharedLinksResult.links]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGGetSharedLinksResultSerializer + (NSDictionary *)serialize:(DBSHARINGGetSharedLinksResult *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"links"] = [DBArraySerializer serialize:valueObj.links withBlock:^id(id elem0) { return [DBSHARINGLinkMetadataSerializer serialize:elem0]; }]; return jsonDict; } + (DBSHARINGGetSharedLinksResult *)deserialize:(NSDictionary *)valueDict { NSArray *links = [DBArraySerializer deserialize:valueDict[@"links"] withBlock:^id(id elem0) { return [DBSHARINGLinkMetadataSerializer deserialize:elem0]; }]; return [[DBSHARINGGetSharedLinksResult alloc] initWithLinks:links]; } @end #import "DBSHARINGGroupInfo.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMCOMMONGroupManagementType.h" #import "DBTEAMCOMMONGroupSummary.h" #import "DBTEAMCOMMONGroupType.h" #pragma mark - API Object @implementation DBSHARINGGroupInfo #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); self = [super initWithGroupName:groupName groupId:groupId groupManagementType:groupManagementType groupExternalId:groupExternalId memberCount:memberCount]; if (self) { _groupType = groupType; _isMember = isMember; _isOwner = isOwner; _sameTeam = sameTeam; } 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]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGGroupInfoSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGGroupInfoSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (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]; } return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } 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; } if (![self.sameTeam isEqual:aGroupInfo.sameTeam]) { return NO; } if (self.groupExternalId) { if (![self.groupExternalId isEqual:aGroupInfo.groupExternalId]) { return NO; } } if (self.memberCount) { if (![self.memberCount isEqual:aGroupInfo.memberCount]) { return NO; } } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGGroupInfoSerializer + (NSDictionary *)serialize:(DBSHARINGGroupInfo *)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; } 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; return [[DBSHARINGGroupInfo alloc] initWithGroupName:groupName groupId:groupId groupManagementType:groupManagementType groupType:groupType isMember:isMember isOwner:isOwner sameTeam:sameTeam groupExternalId:groupExternalId memberCount:memberCount]; } @end #import "DBSHARINGAccessLevel.h" #import "DBSHARINGMemberPermission.h" #import "DBSHARINGMembershipInfo.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGMembershipInfo #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); self = [super init]; if (self) { _accessType = accessType; _permissions = permissions; _initials = initials; _isInherited = isInherited ?: @NO; } return self; } - (instancetype)initWithAccessType:(DBSHARINGAccessLevel *)accessType { return [self initWithAccessType:accessType permissions:nil initials:nil isInherited:nil]; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGMembershipInfoSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGMembershipInfoSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGMembershipInfoSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (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]; } result = prime * result + [self.isInherited hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToMembershipInfo:other]; } - (BOOL)isEqualToMembershipInfo:(DBSHARINGMembershipInfo *)aMembershipInfo { if (self == aMembershipInfo) { return YES; } 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; } @end #pragma mark - Serializer Object @implementation DBSHARINGMembershipInfoSerializer + (NSDictionary *)serialize:(DBSHARINGMembershipInfo *)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; } jsonDict[@"is_inherited"] = valueObj.isInherited; 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; return [[DBSHARINGMembershipInfo alloc] initWithAccessType:accessType permissions:permissions initials:initials isInherited:isInherited]; } @end #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 DBSHARINGGroupMembershipInfo #pragma mark - Constructors - (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); self = [super initWithAccessType:accessType permissions:permissions initials:initials isInherited:isInherited]; if (self) { _group = group; } return self; } - (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 [DBSHARINGGroupMembershipInfoSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGGroupMembershipInfoSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGGroupMembershipInfoSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToGroupMembershipInfo:other]; } - (BOOL)isEqualToGroupMembershipInfo:(DBSHARINGGroupMembershipInfo *)aGroupMembershipInfo { if (self == aGroupMembershipInfo) { return YES; } if (![self.accessType isEqual:aGroupMembershipInfo.accessType]) { return NO; } if (![self.group isEqual:aGroupMembershipInfo.group]) { return NO; } if (self.permissions) { if (![self.permissions isEqual:aGroupMembershipInfo.permissions]) { return NO; } } if (self.initials) { if (![self.initials isEqual:aGroupMembershipInfo.initials]) { return NO; } } if (![self.isInherited isEqual:aGroupMembershipInfo.isInherited]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGGroupMembershipInfoSerializer + (NSDictionary *)serialize:(DBSHARINGGroupMembershipInfo *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; 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; } + (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; return [[DBSHARINGGroupMembershipInfo alloc] initWithAccessType:accessType group:group permissions:permissions initials:initials isInherited:isInherited]; } @end #import "DBSHARINGInsufficientPlan.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGInsufficientPlan #pragma mark - Constructors - (instancetype)initWithMessage:(NSString *)message upsellUrl:(NSString *)upsellUrl { [DBStoneValidators nonnullValidator:nil](message); self = [super init]; if (self) { _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 [DBSHARINGInsufficientPlanSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGInsufficientPlanSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGInsufficientPlanSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.message hash]; if (self.upsellUrl != nil) { result = prime * result + [self.upsellUrl hash]; } return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToInsufficientPlan:other]; } - (BOOL)isEqualToInsufficientPlan:(DBSHARINGInsufficientPlan *)anInsufficientPlan { if (self == anInsufficientPlan) { return YES; } if (![self.message isEqual:anInsufficientPlan.message]) { return NO; } if (self.upsellUrl) { if (![self.upsellUrl isEqual:anInsufficientPlan.upsellUrl]) { return NO; } } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGInsufficientPlanSerializer + (NSDictionary *)serialize:(DBSHARINGInsufficientPlan *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"message"] = valueObj.message; if (valueObj.upsellUrl) { jsonDict[@"upsell_url"] = valueObj.upsellUrl; } return jsonDict; } + (DBSHARINGInsufficientPlan *)deserialize:(NSDictionary *)valueDict { NSString *message = valueDict[@"message"]; NSString *upsellUrl = valueDict[@"upsell_url"] ?: nil; return [[DBSHARINGInsufficientPlan alloc] initWithMessage:message upsellUrl:upsellUrl]; } @end #import "DBSHARINGInsufficientQuotaAmounts.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGInsufficientQuotaAmounts #pragma mark - Constructors - (instancetype)initWithSpaceNeeded:(NSNumber *)spaceNeeded spaceShortage:(NSNumber *)spaceShortage spaceLeft:(NSNumber *)spaceLeft { [DBStoneValidators nonnullValidator:nil](spaceNeeded); [DBStoneValidators nonnullValidator:nil](spaceShortage); [DBStoneValidators nonnullValidator:nil](spaceLeft); self = [super init]; if (self) { _spaceNeeded = spaceNeeded; _spaceShortage = spaceShortage; _spaceLeft = spaceLeft; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGInsufficientQuotaAmountsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGInsufficientQuotaAmountsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGInsufficientQuotaAmountsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (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]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToInsufficientQuotaAmounts:other]; } - (BOOL)isEqualToInsufficientQuotaAmounts:(DBSHARINGInsufficientQuotaAmounts *)anInsufficientQuotaAmounts { if (self == anInsufficientQuotaAmounts) { return YES; } if (![self.spaceNeeded isEqual:anInsufficientQuotaAmounts.spaceNeeded]) { return NO; } if (![self.spaceShortage isEqual:anInsufficientQuotaAmounts.spaceShortage]) { return NO; } if (![self.spaceLeft isEqual:anInsufficientQuotaAmounts.spaceLeft]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGInsufficientQuotaAmountsSerializer + (NSDictionary *)serialize:(DBSHARINGInsufficientQuotaAmounts *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"space_needed"] = valueObj.spaceNeeded; jsonDict[@"space_shortage"] = valueObj.spaceShortage; jsonDict[@"space_left"] = valueObj.spaceLeft; return jsonDict; } + (DBSHARINGInsufficientQuotaAmounts *)deserialize:(NSDictionary *)valueDict { NSNumber *spaceNeeded = valueDict[@"space_needed"]; NSNumber *spaceShortage = valueDict[@"space_shortage"]; NSNumber *spaceLeft = valueDict[@"space_left"]; return [[DBSHARINGInsufficientQuotaAmounts alloc] initWithSpaceNeeded:spaceNeeded spaceShortage:spaceShortage spaceLeft:spaceLeft]; } @end #import "DBSHARINGInviteeInfo.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGInviteeInfo @synthesize email = _email; #pragma mark - Constructors - (instancetype)initWithEmail:(NSString *)email { self = [super init]; if (self) { _tag = DBSHARINGInviteeInfoEmail; _email = email; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBSHARINGInviteeInfoOther; } return self; } #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 [DBSHARINGInviteeInfoSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGInviteeInfoSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGInviteeInfoSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 DBSHARINGInviteeInfoEmail: result = prime * result + [self.email hash]; break; case DBSHARINGInviteeInfoOther: 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 isEqualToInviteeInfo:other]; } - (BOOL)isEqualToInviteeInfo:(DBSHARINGInviteeInfo *)anInviteeInfo { if (self == anInviteeInfo) { return YES; } if (self.tag != anInviteeInfo.tag) { return NO; } switch (_tag) { case DBSHARINGInviteeInfoEmail: return [self.email isEqual:anInviteeInfo.email]; case DBSHARINGInviteeInfoOther: return [[self tagName] isEqual:[anInviteeInfo tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGInviteeInfoSerializer + (NSDictionary *)serialize:(DBSHARINGInviteeInfo *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isEmail]) { jsonDict[@"email"] = valueObj.email; jsonDict[@".tag"] = @"email"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBSHARINGInviteeInfo *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; 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 "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 DBSHARINGInviteeMembershipInfo #pragma mark - Constructors - (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); self = [super initWithAccessType:accessType permissions:permissions initials:initials isInherited:isInherited]; if (self) { _invitee = invitee; _user = user; } return self; } - (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 [DBSHARINGInviteeMembershipInfoSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGInviteeMembershipInfoSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGInviteeMembershipInfoSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (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]; } return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToInviteeMembershipInfo:other]; } - (BOOL)isEqualToInviteeMembershipInfo:(DBSHARINGInviteeMembershipInfo *)anInviteeMembershipInfo { if (self == anInviteeMembershipInfo) { 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]) { return NO; } if (self.user) { if (![self.user isEqual:anInviteeMembershipInfo.user]) { return NO; } } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGInviteeMembershipInfoSerializer + (NSDictionary *)serialize:(DBSHARINGInviteeMembershipInfo *)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]; } 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; return [[DBSHARINGInviteeMembershipInfo alloc] initWithAccessType:accessType invitee:invitee permissions:permissions initials:initials isInherited:isInherited user:user]; } @end #import "DBSHARINGJobError.h" #import "DBSHARINGRelinquishFolderMembershipError.h" #import "DBSHARINGRemoveFolderMemberError.h" #import "DBSHARINGUnshareFolderError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGJobError @synthesize unshareFolderError = _unshareFolderError; @synthesize removeFolderMemberError = _removeFolderMemberError; @synthesize relinquishFolderMembershipError = _relinquishFolderMembershipError; #pragma mark - Constructors - (instancetype)initWithUnshareFolderError:(DBSHARINGUnshareFolderError *)unshareFolderError { self = [super init]; if (self) { _tag = DBSHARINGJobErrorUnshareFolderError; _unshareFolderError = unshareFolderError; } return self; } - (instancetype)initWithRemoveFolderMemberError:(DBSHARINGRemoveFolderMemberError *)removeFolderMemberError { self = [super init]; if (self) { _tag = DBSHARINGJobErrorRemoveFolderMemberError; _removeFolderMemberError = removeFolderMemberError; } return self; } - (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 [DBSHARINGJobErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGJobErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGJobErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToJobError:other]; } - (BOOL)isEqualToJobError:(DBSHARINGJobError *)aJobError { if (self == aJobError) { return YES; } if (self.tag != aJobError.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]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGJobErrorSerializer + (NSDictionary *)serialize:(DBSHARINGJobError *)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"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBSHARINGJobError *)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]; } 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; } #pragma mark - Instance field accessors - (DBSHARINGJobError *)failed { if (![self isFailed]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBSHARINGJobStatusFailed, but was %@.", [self tagName]]; } return _failed; } #pragma mark - Tag state methods - (BOOL)isInProgress { return _tag == DBSHARINGJobStatusInProgress; } - (BOOL)isComplete { return _tag == DBSHARINGJobStatusComplete; } - (BOOL)isFailed { return _tag == DBSHARINGJobStatusFailed; } - (NSString *)tagName { switch (_tag) { case DBSHARINGJobStatusInProgress: return @"DBSHARINGJobStatusInProgress"; case DBSHARINGJobStatusComplete: return @"DBSHARINGJobStatusComplete"; case DBSHARINGJobStatusFailed: return @"DBSHARINGJobStatusFailed"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGJobStatusSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGJobStatusSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGJobStatusSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToJobStatus:other]; } - (BOOL)isEqualToJobStatus:(DBSHARINGJobStatus *)aJobStatus { if (self == aJobStatus) { return YES; } if (self.tag != aJobStatus.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]; } 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"; } else { @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Object not properly initialized. Tag has an unknown value." userInfo:nil]); } return jsonDict; } + (DBSHARINGJobStatus *)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]; } else { @throw([NSException exceptionWithName:@"InvalidTag" reason:[NSString stringWithFormat:@"Tag has an invalid value: \"%@\".", valueDict[@".tag"]] userInfo:nil]); } } @end #import "DBSHARINGLinkAccessLevel.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGLinkAccessLevel #pragma mark - Constructors - (instancetype)initWithViewer { self = [super init]; if (self) { _tag = DBSHARINGLinkAccessLevelViewer; } return self; } - (instancetype)initWithEditor { self = [super init]; if (self) { _tag = DBSHARINGLinkAccessLevelEditor; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBSHARINGLinkAccessLevelOther; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isViewer { return _tag == DBSHARINGLinkAccessLevelViewer; } - (BOOL)isEditor { return _tag == DBSHARINGLinkAccessLevelEditor; } - (BOOL)isOther { return _tag == DBSHARINGLinkAccessLevelOther; } - (NSString *)tagName { switch (_tag) { case DBSHARINGLinkAccessLevelViewer: return @"DBSHARINGLinkAccessLevelViewer"; case DBSHARINGLinkAccessLevelEditor: return @"DBSHARINGLinkAccessLevelEditor"; case DBSHARINGLinkAccessLevelOther: return @"DBSHARINGLinkAccessLevelOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGLinkAccessLevelSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGLinkAccessLevelSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGLinkAccessLevelSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToLinkAccessLevel:other]; } - (BOOL)isEqualToLinkAccessLevel:(DBSHARINGLinkAccessLevel *)aLinkAccessLevel { if (self == aLinkAccessLevel) { return YES; } if (self.tag != aLinkAccessLevel.tag) { return NO; } switch (_tag) { 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; } @end #pragma mark - Serializer Object @implementation DBSHARINGLinkAccessLevelSerializer + (NSDictionary *)serialize:(DBSHARINGLinkAccessLevel *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; 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; } + (DBSHARINGLinkAccessLevel *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"viewer"]) { return [[DBSHARINGLinkAccessLevel alloc] initWithViewer]; } else if ([tag isEqualToString:@"editor"]) { return [[DBSHARINGLinkAccessLevel alloc] initWithEditor]; } else if ([tag isEqualToString:@"other"]) { return [[DBSHARINGLinkAccessLevel alloc] initWithOther]; } else { 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; } - (BOOL)isChangeAudience { return _tag == DBSHARINGLinkActionChangeAudience; } - (BOOL)isRemoveExpiry { return _tag == DBSHARINGLinkActionRemoveExpiry; } - (BOOL)isRemovePassword { return _tag == DBSHARINGLinkActionRemovePassword; } - (BOOL)isSetExpiry { return _tag == DBSHARINGLinkActionSetExpiry; } - (BOOL)isSetPassword { return _tag == DBSHARINGLinkActionSetPassword; } - (BOOL)isOther { return _tag == DBSHARINGLinkActionOther; } - (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"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGLinkActionSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGLinkActionSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGLinkActionSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToLinkAction:other]; } - (BOOL)isEqualToLinkAction:(DBSHARINGLinkAction *)aLinkAction { if (self == aLinkAction) { return YES; } if (self.tag != aLinkAction.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]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGLinkActionSerializer + (NSDictionary *)serialize:(DBSHARINGLinkAction *)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"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBSHARINGLinkAction *)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]; } else if ([tag isEqualToString:@"other"]) { return [[DBSHARINGLinkAction alloc] initWithOther]; } else { return [[DBSHARINGLinkAction alloc] initWithOther]; } } @end #import "DBSHARINGLinkAudience.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGLinkAudience #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)initWithNoOne { self = [super init]; if (self) { _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; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBSHARINGLinkAudienceOther; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isPublic { return _tag == DBSHARINGLinkAudiencePublic; } - (BOOL)isTeam { return _tag == DBSHARINGLinkAudienceTeam; } - (BOOL)isNoOne { return _tag == DBSHARINGLinkAudienceNoOne; } - (BOOL)isPassword { return _tag == DBSHARINGLinkAudiencePassword; } - (BOOL)isMembers { return _tag == DBSHARINGLinkAudienceMembers; } - (BOOL)isOther { return _tag == DBSHARINGLinkAudienceOther; } - (NSString *)tagName { switch (_tag) { 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]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGLinkAudienceSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGLinkAudienceSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGLinkAudienceSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToLinkAudience:other]; } - (BOOL)isEqualToLinkAudience:(DBSHARINGLinkAudience *)aLinkAudience { if (self == aLinkAudience) { return YES; } if (self.tag != aLinkAudience.tag) { return NO; } switch (_tag) { 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; } @end #pragma mark - Serializer Object @implementation DBSHARINGLinkAudienceSerializer + (NSDictionary *)serialize:(DBSHARINGLinkAudience *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; 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; } + (DBSHARINGLinkAudience *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; 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 [[DBSHARINGLinkAudience alloc] initWithOther]; } else { return [[DBSHARINGLinkAudience alloc] initWithOther]; } } @end #import "DBSHARINGVisibilityPolicyDisallowedReason.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGVisibilityPolicyDisallowedReason #pragma mark - Constructors - (instancetype)initWithDeleteAndRecreate { self = [super init]; if (self) { _tag = DBSHARINGVisibilityPolicyDisallowedReasonDeleteAndRecreate; } return self; } - (instancetype)initWithRestrictedBySharedFolder { self = [super init]; if (self) { _tag = DBSHARINGVisibilityPolicyDisallowedReasonRestrictedBySharedFolder; } return self; } - (instancetype)initWithRestrictedByTeam { self = [super init]; if (self) { _tag = DBSHARINGVisibilityPolicyDisallowedReasonRestrictedByTeam; } return self; } - (instancetype)initWithUserNotOnTeam { self = [super init]; if (self) { _tag = DBSHARINGVisibilityPolicyDisallowedReasonUserNotOnTeam; } return self; } - (instancetype)initWithUserAccountType { self = [super init]; if (self) { _tag = DBSHARINGVisibilityPolicyDisallowedReasonUserAccountType; } 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)isDeleteAndRecreate { return _tag == DBSHARINGVisibilityPolicyDisallowedReasonDeleteAndRecreate; } - (BOOL)isRestrictedBySharedFolder { return _tag == DBSHARINGVisibilityPolicyDisallowedReasonRestrictedBySharedFolder; } - (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 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]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGVisibilityPolicyDisallowedReasonSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGVisibilityPolicyDisallowedReasonSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGVisibilityPolicyDisallowedReasonSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 DBSHARINGVisibilityPolicyDisallowedReasonDeleteAndRecreate: result = prime * result + [[self tagName] hash]; break; case DBSHARINGVisibilityPolicyDisallowedReasonRestrictedBySharedFolder: result = prime * result + [[self tagName] 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToVisibilityPolicyDisallowedReason:other]; } - (BOOL)isEqualToVisibilityPolicyDisallowedReason: (DBSHARINGVisibilityPolicyDisallowedReason *)aVisibilityPolicyDisallowedReason { if (self == aVisibilityPolicyDisallowedReason) { return YES; } if (self.tag != aVisibilityPolicyDisallowedReason.tag) { return NO; } switch (_tag) { 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 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 { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBSHARINGVisibilityPolicyDisallowedReason *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; 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 { return [[DBSHARINGVisibilityPolicyDisallowedReason alloc] initWithOther]; } } @end #import "DBSHARINGLinkAudienceDisallowedReason.h" #import "DBSHARINGVisibilityPolicyDisallowedReason.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGLinkAudienceDisallowedReason #pragma mark - Constructors - (instancetype)initWithDeleteAndRecreate { self = [super init]; if (self) { _tag = DBSHARINGLinkAudienceDisallowedReasonDeleteAndRecreate; } return self; } - (instancetype)initWithRestrictedBySharedFolder { self = [super init]; if (self) { _tag = DBSHARINGLinkAudienceDisallowedReasonRestrictedBySharedFolder; } return self; } - (instancetype)initWithRestrictedByTeam { self = [super init]; if (self) { _tag = DBSHARINGLinkAudienceDisallowedReasonRestrictedByTeam; } return self; } - (instancetype)initWithUserNotOnTeam { self = [super init]; if (self) { _tag = DBSHARINGLinkAudienceDisallowedReasonUserNotOnTeam; } return self; } - (instancetype)initWithUserAccountType { self = [super init]; if (self) { _tag = DBSHARINGLinkAudienceDisallowedReasonUserAccountType; } return self; } - (instancetype)initWithPermissionDenied { self = [super init]; if (self) { _tag = DBSHARINGLinkAudienceDisallowedReasonPermissionDenied; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBSHARINGLinkAudienceDisallowedReasonOther; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isDeleteAndRecreate { return _tag == DBSHARINGLinkAudienceDisallowedReasonDeleteAndRecreate; } - (BOOL)isRestrictedBySharedFolder { return _tag == DBSHARINGLinkAudienceDisallowedReasonRestrictedBySharedFolder; } - (BOOL)isRestrictedByTeam { return _tag == DBSHARINGLinkAudienceDisallowedReasonRestrictedByTeam; } - (BOOL)isUserNotOnTeam { return _tag == DBSHARINGLinkAudienceDisallowedReasonUserNotOnTeam; } - (BOOL)isUserAccountType { return _tag == DBSHARINGLinkAudienceDisallowedReasonUserAccountType; } - (BOOL)isPermissionDenied { return _tag == DBSHARINGLinkAudienceDisallowedReasonPermissionDenied; } - (BOOL)isOther { return _tag == DBSHARINGLinkAudienceDisallowedReasonOther; } - (NSString *)tagName { switch (_tag) { 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]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGLinkAudienceDisallowedReasonSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGLinkAudienceDisallowedReasonSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGLinkAudienceDisallowedReasonSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 DBSHARINGLinkAudienceDisallowedReasonDeleteAndRecreate: result = prime * result + [[self tagName] hash]; break; case DBSHARINGLinkAudienceDisallowedReasonRestrictedBySharedFolder: result = prime * result + [[self tagName] hash]; break; case DBSHARINGLinkAudienceDisallowedReasonRestrictedByTeam: result = prime * result + [[self tagName] hash]; break; case DBSHARINGLinkAudienceDisallowedReasonUserNotOnTeam: result = prime * result + [[self tagName] hash]; break; case DBSHARINGLinkAudienceDisallowedReasonUserAccountType: result = prime * result + [[self tagName] hash]; break; case DBSHARINGLinkAudienceDisallowedReasonPermissionDenied: result = prime * result + [[self tagName] hash]; break; case DBSHARINGLinkAudienceDisallowedReasonOther: 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 isEqualToLinkAudienceDisallowedReason:other]; } - (BOOL)isEqualToLinkAudienceDisallowedReason:(DBSHARINGLinkAudienceDisallowedReason *)aLinkAudienceDisallowedReason { if (self == aLinkAudienceDisallowedReason) { return YES; } if (self.tag != aLinkAudienceDisallowedReason.tag) { return NO; } switch (_tag) { 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; } @end #pragma mark - Serializer Object @implementation DBSHARINGLinkAudienceDisallowedReasonSerializer + (NSDictionary *)serialize:(DBSHARINGLinkAudienceDisallowedReason *)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 { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBSHARINGLinkAudienceDisallowedReason *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; 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 [[DBSHARINGLinkAudienceDisallowedReason alloc] initWithOther]; } else { 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 DBSHARINGLinkAudienceOption #pragma mark - Constructors - (instancetype)initWithAudience:(DBSHARINGLinkAudience *)audience allowed:(NSNumber *)allowed disallowedReason:(DBSHARINGLinkAudienceDisallowedReason *)disallowedReason { [DBStoneValidators nonnullValidator:nil](audience); [DBStoneValidators nonnullValidator:nil](allowed); self = [super init]; if (self) { _audience = audience; _allowed = allowed; _disallowedReason = disallowedReason; } return self; } - (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 [DBSHARINGLinkAudienceOptionSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGLinkAudienceOptionSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGLinkAudienceOptionSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToLinkAudienceOption:other]; } - (BOOL)isEqualToLinkAudienceOption:(DBSHARINGLinkAudienceOption *)aLinkAudienceOption { if (self == aLinkAudienceOption) { return YES; } if (![self.audience isEqual:aLinkAudienceOption.audience]) { return NO; } if (![self.allowed isEqual:aLinkAudienceOption.allowed]) { return NO; } if (self.disallowedReason) { if (![self.disallowedReason isEqual:aLinkAudienceOption.disallowedReason]) { return NO; } } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGLinkAudienceOptionSerializer + (NSDictionary *)serialize:(DBSHARINGLinkAudienceOption *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"audience"] = [DBSHARINGLinkAudienceSerializer serialize:valueObj.audience]; jsonDict[@"allowed"] = valueObj.allowed; if (valueObj.disallowedReason) { jsonDict[@"disallowed_reason"] = [DBSHARINGLinkAudienceDisallowedReasonSerializer serialize:valueObj.disallowedReason]; } return jsonDict; } + (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; return [[DBSHARINGLinkAudienceOption alloc] initWithAudience:audience allowed:allowed disallowedReason:disallowedReason]; } @end #import "DBSHARINGLinkExpiry.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGLinkExpiry @synthesize setExpiry = _setExpiry; #pragma mark - Constructors - (instancetype)initWithRemoveExpiry { self = [super init]; if (self) { _tag = DBSHARINGLinkExpiryRemoveExpiry; } return self; } - (instancetype)initWithSetExpiry:(NSDate *)setExpiry { self = [super init]; if (self) { _tag = DBSHARINGLinkExpirySetExpiry; _setExpiry = setExpiry; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBSHARINGLinkExpiryOther; } return self; } #pragma mark - Instance field accessors - (NSDate *)setExpiry { if (![self isSetExpiry]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBSHARINGLinkExpirySetExpiry, but was %@.", [self tagName]]; } return _setExpiry; } #pragma mark - Tag state methods - (BOOL)isRemoveExpiry { return _tag == DBSHARINGLinkExpiryRemoveExpiry; } - (BOOL)isSetExpiry { return _tag == DBSHARINGLinkExpirySetExpiry; } - (BOOL)isOther { return _tag == DBSHARINGLinkExpiryOther; } - (NSString *)tagName { switch (_tag) { case DBSHARINGLinkExpiryRemoveExpiry: return @"DBSHARINGLinkExpiryRemoveExpiry"; case DBSHARINGLinkExpirySetExpiry: return @"DBSHARINGLinkExpirySetExpiry"; case DBSHARINGLinkExpiryOther: return @"DBSHARINGLinkExpiryOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGLinkExpirySerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGLinkExpirySerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGLinkExpirySerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToLinkExpiry:other]; } - (BOOL)isEqualToLinkExpiry:(DBSHARINGLinkExpiry *)aLinkExpiry { if (self == aLinkExpiry) { return YES; } if (self.tag != aLinkExpiry.tag) { return NO; } switch (_tag) { case DBSHARINGLinkExpiryRemoveExpiry: return [[self tagName] isEqual:[aLinkExpiry tagName]]; case DBSHARINGLinkExpirySetExpiry: return [self.setExpiry isEqual:aLinkExpiry.setExpiry]; case DBSHARINGLinkExpiryOther: return [[self tagName] isEqual:[aLinkExpiry tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGLinkExpirySerializer + (NSDictionary *)serialize:(DBSHARINGLinkExpiry *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isRemoveExpiry]) { jsonDict[@".tag"] = @"remove_expiry"; } else if ([valueObj isSetExpiry]) { jsonDict[@"set_expiry"] = [DBNSDateSerializer serialize:valueObj.setExpiry dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; jsonDict[@".tag"] = @"set_expiry"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBSHARINGLinkExpiry *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"remove_expiry"]) { return [[DBSHARINGLinkExpiry alloc] initWithRemoveExpiry]; } else if ([tag isEqualToString:@"set_expiry"]) { NSDate *setExpiry = [DBNSDateSerializer deserialize:valueDict[@"set_expiry"] dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; return [[DBSHARINGLinkExpiry alloc] initWithSetExpiry:setExpiry]; } else if ([tag isEqualToString:@"other"]) { return [[DBSHARINGLinkExpiry alloc] initWithOther]; } else { return [[DBSHARINGLinkExpiry alloc] initWithOther]; } } @end #import "DBSHARINGLinkPassword.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGLinkPassword @synthesize setPassword = _setPassword; #pragma mark - Constructors - (instancetype)initWithRemovePassword { self = [super init]; if (self) { _tag = DBSHARINGLinkPasswordRemovePassword; } return self; } - (instancetype)initWithSetPassword:(NSString *)setPassword { self = [super init]; if (self) { _tag = DBSHARINGLinkPasswordSetPassword; _setPassword = setPassword; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBSHARINGLinkPasswordOther; } return self; } #pragma mark - Instance field accessors - (NSString *)setPassword { if (![self isSetPassword]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBSHARINGLinkPasswordSetPassword, but was %@.", [self tagName]]; } return _setPassword; } #pragma mark - Tag state methods - (BOOL)isRemovePassword { return _tag == DBSHARINGLinkPasswordRemovePassword; } - (BOOL)isSetPassword { return _tag == DBSHARINGLinkPasswordSetPassword; } - (BOOL)isOther { return _tag == DBSHARINGLinkPasswordOther; } - (NSString *)tagName { switch (_tag) { case DBSHARINGLinkPasswordRemovePassword: return @"DBSHARINGLinkPasswordRemovePassword"; case DBSHARINGLinkPasswordSetPassword: return @"DBSHARINGLinkPasswordSetPassword"; case DBSHARINGLinkPasswordOther: return @"DBSHARINGLinkPasswordOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGLinkPasswordSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGLinkPasswordSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGLinkPasswordSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToLinkPassword:other]; } - (BOOL)isEqualToLinkPassword:(DBSHARINGLinkPassword *)aLinkPassword { if (self == aLinkPassword) { return YES; } if (self.tag != aLinkPassword.tag) { return NO; } switch (_tag) { case DBSHARINGLinkPasswordRemovePassword: return [[self tagName] isEqual:[aLinkPassword tagName]]; case DBSHARINGLinkPasswordSetPassword: return [self.setPassword isEqual:aLinkPassword.setPassword]; case DBSHARINGLinkPasswordOther: return [[self tagName] isEqual:[aLinkPassword tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGLinkPasswordSerializer + (NSDictionary *)serialize:(DBSHARINGLinkPassword *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isRemovePassword]) { jsonDict[@".tag"] = @"remove_password"; } else if ([valueObj isSetPassword]) { jsonDict[@"set_password"] = valueObj.setPassword; jsonDict[@".tag"] = @"set_password"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBSHARINGLinkPassword *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"remove_password"]) { return [[DBSHARINGLinkPassword alloc] initWithRemovePassword]; } else if ([tag isEqualToString:@"set_password"]) { NSString *setPassword = valueDict[@"set_password"]; return [[DBSHARINGLinkPassword alloc] initWithSetPassword:setPassword]; } else if ([tag isEqualToString:@"other"]) { return [[DBSHARINGLinkPassword alloc] initWithOther]; } else { return [[DBSHARINGLinkPassword alloc] initWithOther]; } } @end #import "DBSHARINGLinkAction.h" #import "DBSHARINGLinkPermission.h" #import "DBSHARINGPermissionDeniedReason.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGLinkPermission #pragma mark - Constructors - (instancetype)initWithAction:(DBSHARINGLinkAction *)action allow:(NSNumber *)allow reason:(DBSHARINGPermissionDeniedReason *)reason { [DBStoneValidators nonnullValidator:nil](action); [DBStoneValidators nonnullValidator:nil](allow); self = [super init]; if (self) { _action = action; _allow = allow; _reason = reason; } return self; } - (instancetype)initWithAction:(DBSHARINGLinkAction *)action allow:(NSNumber *)allow { return [self initWithAction:action allow:allow reason:nil]; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGLinkPermissionSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGLinkPermissionSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGLinkPermissionSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (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]; } return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToLinkPermission:other]; } - (BOOL)isEqualToLinkPermission:(DBSHARINGLinkPermission *)aLinkPermission { if (self == aLinkPermission) { return YES; } if (![self.action isEqual:aLinkPermission.action]) { return NO; } if (![self.allow isEqual:aLinkPermission.allow]) { return NO; } if (self.reason) { if (![self.reason isEqual:aLinkPermission.reason]) { return NO; } } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGLinkPermissionSerializer + (NSDictionary *)serialize:(DBSHARINGLinkPermission *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"action"] = [DBSHARINGLinkActionSerializer serialize:valueObj.action]; jsonDict[@"allow"] = valueObj.allow; if (valueObj.reason) { jsonDict[@"reason"] = [DBSHARINGPermissionDeniedReasonSerializer serialize:valueObj.reason]; } return jsonDict; } + (DBSHARINGLinkPermission *)deserialize:(NSDictionary *)valueDict { DBSHARINGLinkAction *action = [DBSHARINGLinkActionSerializer deserialize:valueDict[@"action"]]; NSNumber *allow = valueDict[@"allow"]; DBSHARINGPermissionDeniedReason *reason = valueDict[@"reason"] ? [DBSHARINGPermissionDeniedReasonSerializer deserialize:valueDict[@"reason"]] : nil; return [[DBSHARINGLinkPermission alloc] initWithAction:action allow:allow reason:reason]; } @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" #pragma mark - API Object @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 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) { _resolvedVisibility = resolvedVisibility; _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 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 { return [DBSHARINGLinkPermissionsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGLinkPermissionsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGLinkPermissionsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; 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]; } if (self.requestedVisibility != nil) { result = prime * result + [self.requestedVisibility 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToLinkPermissions:other]; } - (BOOL)isEqualToLinkPermissions:(DBSHARINGLinkPermissions *)aLinkPermissions { if (self == aLinkPermissions) { return YES; } 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; } } if (self.requestedVisibility) { if (![self.requestedVisibility isEqual:aLinkPermissions.requestedVisibility]) { return NO; } } if (self.revokeFailureReason) { if (![self.revokeFailureReason isEqual:aLinkPermissions.revokeFailureReason]) { 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; } @end #pragma mark - Serializer Object @implementation DBSHARINGLinkPermissionsSerializer + (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]; } if (valueObj.requestedVisibility) { jsonDict[@"requested_visibility"] = [DBSHARINGRequestedVisibilitySerializer serialize:valueObj.requestedVisibility]; } if (valueObj.revokeFailureReason) { 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; } + (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"]] : nil; DBSHARINGRequestedVisibility *requestedVisibility = valueDict[@"requested_visibility"] ? [DBSHARINGRequestedVisibilitySerializer deserialize:valueDict[@"requested_visibility"]] : nil; DBSHARINGSharedLinkAccessFailureReason *revokeFailureReason = 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 effectiveAudience:effectiveAudience linkAccessLevel:linkAccessLevel audienceOptions:audienceOptions canSetPassword:canSetPassword canRemovePassword:canRemovePassword requirePassword:requirePassword canUseExtendedSharingControls:canUseExtendedSharingControls]; } @end #import "DBSHARINGAccessLevel.h" #import "DBSHARINGLinkAudience.h" #import "DBSHARINGLinkExpiry.h" #import "DBSHARINGLinkPassword.h" #import "DBSHARINGLinkSettings.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGLinkSettings #pragma mark - Constructors - (instancetype)initWithAccessLevel:(DBSHARINGAccessLevel *)accessLevel audience:(DBSHARINGLinkAudience *)audience expiry:(DBSHARINGLinkExpiry *)expiry password:(DBSHARINGLinkPassword *)password { self = [super init]; if (self) { _accessLevel = accessLevel; _audience = audience; _expiry = expiry; _password = password; } return self; } - (instancetype)initDefault { return [self initWithAccessLevel:nil audience:nil expiry:nil password:nil]; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGLinkSettingsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGLinkSettingsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGLinkSettingsSerializer serialize:self] description]; } #pragma mark - Copyable method - (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.accessLevel != nil) { result = prime * result + [self.accessLevel hash]; } if (self.audience != nil) { result = prime * result + [self.audience hash]; } if (self.expiry != nil) { result = prime * result + [self.expiry hash]; } if (self.password != nil) { result = prime * result + [self.password hash]; } return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToLinkSettings:other]; } - (BOOL)isEqualToLinkSettings:(DBSHARINGLinkSettings *)aLinkSettings { if (self == aLinkSettings) { return YES; } if (self.accessLevel) { if (![self.accessLevel isEqual:aLinkSettings.accessLevel]) { return NO; } } if (self.audience) { if (![self.audience isEqual:aLinkSettings.audience]) { return NO; } } if (self.expiry) { if (![self.expiry isEqual:aLinkSettings.expiry]) { return NO; } } if (self.password) { if (![self.password isEqual:aLinkSettings.password]) { return NO; } } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGLinkSettingsSerializer + (NSDictionary *)serialize:(DBSHARINGLinkSettings *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if (valueObj.accessLevel) { jsonDict[@"access_level"] = [DBSHARINGAccessLevelSerializer serialize:valueObj.accessLevel]; } if (valueObj.audience) { jsonDict[@"audience"] = [DBSHARINGLinkAudienceSerializer serialize:valueObj.audience]; } if (valueObj.expiry) { jsonDict[@"expiry"] = [DBSHARINGLinkExpirySerializer serialize:valueObj.expiry]; } if (valueObj.password) { jsonDict[@"password"] = [DBSHARINGLinkPasswordSerializer serialize:valueObj.password]; } return jsonDict; } + (DBSHARINGLinkSettings *)deserialize:(NSDictionary *)valueDict { DBSHARINGAccessLevel *accessLevel = valueDict[@"access_level"] ? [DBSHARINGAccessLevelSerializer deserialize:valueDict[@"access_level"]] : nil; DBSHARINGLinkAudience *audience = valueDict[@"audience"] ? [DBSHARINGLinkAudienceSerializer deserialize:valueDict[@"audience"]] : nil; DBSHARINGLinkExpiry *expiry = valueDict[@"expiry"] ? [DBSHARINGLinkExpirySerializer deserialize:valueDict[@"expiry"]] : nil; DBSHARINGLinkPassword *password = valueDict[@"password"] ? [DBSHARINGLinkPasswordSerializer deserialize:valueDict[@"password"]] : nil; return [[DBSHARINGLinkSettings alloc] initWithAccessLevel:accessLevel audience:audience expiry:expiry password:password]; } @end #import "DBSHARINGListFileMembersArg.h" #import "DBSHARINGMemberAction.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGListFileMembersArg #pragma mark - Constructors - (instancetype)initWithFile:(NSString *)file actions:(NSArray *)actions includeInherited:(NSNumber *)includeInherited limit:(NSNumber *)limit { [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); self = [super init]; if (self) { _file = file; _actions = actions; _includeInherited = includeInherited ?: @YES; _limit = limit ?: @(100); } return self; } - (instancetype)initWithFile:(NSString *)file { return [self initWithFile:file actions:nil includeInherited:nil limit:nil]; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGListFileMembersArgSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGListFileMembersArgSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGListFileMembersArgSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.file hash]; if (self.actions != nil) { result = prime * result + [self.actions hash]; } result = prime * result + [self.includeInherited 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 isEqualToListFileMembersArg:other]; } - (BOOL)isEqualToListFileMembersArg:(DBSHARINGListFileMembersArg *)aListFileMembersArg { if (self == aListFileMembersArg) { return YES; } if (![self.file isEqual:aListFileMembersArg.file]) { return NO; } if (self.actions) { if (![self.actions isEqual:aListFileMembersArg.actions]) { return NO; } } if (![self.includeInherited isEqual:aListFileMembersArg.includeInherited]) { return NO; } if (![self.limit isEqual:aListFileMembersArg.limit]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGListFileMembersArgSerializer + (NSDictionary *)serialize:(DBSHARINGListFileMembersArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"file"] = valueObj.file; if (valueObj.actions) { jsonDict[@"actions"] = [DBArraySerializer serialize:valueObj.actions withBlock:^id(id elem0) { return [DBSHARINGMemberActionSerializer serialize:elem0]; }]; } jsonDict[@"include_inherited"] = valueObj.includeInherited; jsonDict[@"limit"] = valueObj.limit; return jsonDict; } + (DBSHARINGListFileMembersArg *)deserialize:(NSDictionary *)valueDict { NSString *file = valueDict[@"file"]; NSArray *actions = valueDict[@"actions"] ? [DBArraySerializer deserialize:valueDict[@"actions"] withBlock:^id(id elem0) { return [DBSHARINGMemberActionSerializer deserialize:elem0]; }] : nil; NSNumber *includeInherited = valueDict[@"include_inherited"] ?: @YES; NSNumber *limit = valueDict[@"limit"] ?: @(100); return [[DBSHARINGListFileMembersArg alloc] initWithFile:file actions:actions includeInherited:includeInherited limit:limit]; } @end #import "DBSHARINGListFileMembersBatchArg.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGListFileMembersBatchArg #pragma mark - Constructors - (instancetype)initWithFiles:(NSArray *)files limit:(NSNumber *)limit { [DBStoneValidators nonnullValidator:[DBStoneValidators arrayValidator:nil maxItems:@(100) itemValidator:[DBStoneValidators nonnullValidator:[DBStoneValidators stringValidator:@(1) maxLength:nil pattern:@"((/" @"|id:).*|nspath:[0-9]+:.*)|ns:[0-9]+(/" @".*)?"]]]](files); self = [super init]; if (self) { _files = files; _limit = limit ?: @(10); } return self; } - (instancetype)initWithFiles:(NSArray *)files { return [self initWithFiles:files limit:nil]; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGListFileMembersBatchArgSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGListFileMembersBatchArgSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGListFileMembersBatchArgSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.files 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 isEqualToListFileMembersBatchArg:other]; } - (BOOL)isEqualToListFileMembersBatchArg:(DBSHARINGListFileMembersBatchArg *)aListFileMembersBatchArg { if (self == aListFileMembersBatchArg) { return YES; } if (![self.files isEqual:aListFileMembersBatchArg.files]) { return NO; } if (![self.limit isEqual:aListFileMembersBatchArg.limit]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGListFileMembersBatchArgSerializer + (NSDictionary *)serialize:(DBSHARINGListFileMembersBatchArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"files"] = [DBArraySerializer serialize:valueObj.files withBlock:^id(id elem0) { return elem0; }]; jsonDict[@"limit"] = valueObj.limit; return jsonDict; } + (DBSHARINGListFileMembersBatchArg *)deserialize:(NSDictionary *)valueDict { NSArray *files = [DBArraySerializer deserialize:valueDict[@"files"] withBlock:^id(id elem0) { return elem0; }]; NSNumber *limit = valueDict[@"limit"] ?: @(10); return [[DBSHARINGListFileMembersBatchArg alloc] initWithFiles:files limit:limit]; } @end #import "DBSHARINGListFileMembersBatchResult.h" #import "DBSHARINGListFileMembersIndividualResult.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGListFileMembersBatchResult #pragma mark - Constructors - (instancetype)initWithFile:(NSString *)file result:(DBSHARINGListFileMembersIndividualResult *)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) { _file = file; _result = result; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGListFileMembersBatchResultSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGListFileMembersBatchResultSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGListFileMembersBatchResultSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.file hash]; 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 isEqualToListFileMembersBatchResult:other]; } - (BOOL)isEqualToListFileMembersBatchResult:(DBSHARINGListFileMembersBatchResult *)aListFileMembersBatchResult { if (self == aListFileMembersBatchResult) { return YES; } if (![self.file isEqual:aListFileMembersBatchResult.file]) { return NO; } if (![self.result isEqual:aListFileMembersBatchResult.result]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGListFileMembersBatchResultSerializer + (NSDictionary *)serialize:(DBSHARINGListFileMembersBatchResult *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"file"] = valueObj.file; jsonDict[@"result"] = [DBSHARINGListFileMembersIndividualResultSerializer serialize:valueObj.result]; return jsonDict; } + (DBSHARINGListFileMembersBatchResult *)deserialize:(NSDictionary *)valueDict { NSString *file = valueDict[@"file"]; DBSHARINGListFileMembersIndividualResult *result = [DBSHARINGListFileMembersIndividualResultSerializer deserialize:valueDict[@"result"]]; return [[DBSHARINGListFileMembersBatchResult alloc] initWithFile:file result:result]; } @end #import "DBSHARINGListFileMembersContinueArg.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGListFileMembersContinueArg #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 [DBSHARINGListFileMembersContinueArgSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGListFileMembersContinueArgSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGListFileMembersContinueArgSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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 isEqualToListFileMembersContinueArg:other]; } - (BOOL)isEqualToListFileMembersContinueArg:(DBSHARINGListFileMembersContinueArg *)aListFileMembersContinueArg { if (self == aListFileMembersContinueArg) { return YES; } if (![self.cursor isEqual:aListFileMembersContinueArg.cursor]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGListFileMembersContinueArgSerializer + (NSDictionary *)serialize:(DBSHARINGListFileMembersContinueArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"cursor"] = valueObj.cursor; return jsonDict; } + (DBSHARINGListFileMembersContinueArg *)deserialize:(NSDictionary *)valueDict { NSString *cursor = valueDict[@"cursor"]; return [[DBSHARINGListFileMembersContinueArg alloc] initWithCursor:cursor]; } @end #import "DBSHARINGListFileMembersContinueError.h" #import "DBSHARINGSharingFileAccessError.h" #import "DBSHARINGSharingUserError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGListFileMembersContinueError @synthesize userError = _userError; @synthesize accessError = _accessError; #pragma mark - Constructors - (instancetype)initWithUserError:(DBSHARINGSharingUserError *)userError { self = [super init]; if (self) { _tag = DBSHARINGListFileMembersContinueErrorUserError; _userError = userError; } return self; } - (instancetype)initWithAccessError:(DBSHARINGSharingFileAccessError *)accessError { self = [super init]; if (self) { _tag = DBSHARINGListFileMembersContinueErrorAccessError; _accessError = accessError; } return self; } - (instancetype)initWithInvalidCursor { self = [super init]; if (self) { _tag = DBSHARINGListFileMembersContinueErrorInvalidCursor; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBSHARINGListFileMembersContinueErrorOther; } return self; } #pragma mark - Instance field accessors - (DBSHARINGSharingUserError *)userError { if (![self isUserError]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBSHARINGListFileMembersContinueErrorUserError, but was %@.", [self tagName]]; } return _userError; } - (DBSHARINGSharingFileAccessError *)accessError { if (![self isAccessError]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBSHARINGListFileMembersContinueErrorAccessError, but was %@.", [self tagName]]; } return _accessError; } #pragma mark - Tag state methods - (BOOL)isUserError { return _tag == DBSHARINGListFileMembersContinueErrorUserError; } - (BOOL)isAccessError { return _tag == DBSHARINGListFileMembersContinueErrorAccessError; } - (BOOL)isInvalidCursor { return _tag == DBSHARINGListFileMembersContinueErrorInvalidCursor; } - (BOOL)isOther { return _tag == DBSHARINGListFileMembersContinueErrorOther; } - (NSString *)tagName { switch (_tag) { case DBSHARINGListFileMembersContinueErrorUserError: return @"DBSHARINGListFileMembersContinueErrorUserError"; case DBSHARINGListFileMembersContinueErrorAccessError: return @"DBSHARINGListFileMembersContinueErrorAccessError"; case DBSHARINGListFileMembersContinueErrorInvalidCursor: return @"DBSHARINGListFileMembersContinueErrorInvalidCursor"; case DBSHARINGListFileMembersContinueErrorOther: return @"DBSHARINGListFileMembersContinueErrorOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGListFileMembersContinueErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGListFileMembersContinueErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGListFileMembersContinueErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToListFileMembersContinueError:other]; } - (BOOL)isEqualToListFileMembersContinueError:(DBSHARINGListFileMembersContinueError *)aListFileMembersContinueError { if (self == aListFileMembersContinueError) { return YES; } if (self.tag != aListFileMembersContinueError.tag) { return NO; } switch (_tag) { case DBSHARINGListFileMembersContinueErrorUserError: return [self.userError isEqual:aListFileMembersContinueError.userError]; case DBSHARINGListFileMembersContinueErrorAccessError: return [self.accessError isEqual:aListFileMembersContinueError.accessError]; case DBSHARINGListFileMembersContinueErrorInvalidCursor: return [[self tagName] isEqual:[aListFileMembersContinueError tagName]]; case DBSHARINGListFileMembersContinueErrorOther: return [[self tagName] isEqual:[aListFileMembersContinueError tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGListFileMembersContinueErrorSerializer + (NSDictionary *)serialize:(DBSHARINGListFileMembersContinueError *)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"; } else if ([valueObj isInvalidCursor]) { jsonDict[@".tag"] = @"invalid_cursor"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBSHARINGListFileMembersContinueError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"user_error"]) { DBSHARINGSharingUserError *userError = [DBSHARINGSharingUserErrorSerializer deserialize:valueDict[@"user_error"]]; return [[DBSHARINGListFileMembersContinueError alloc] initWithUserError:userError]; } else if ([tag isEqualToString:@"access_error"]) { DBSHARINGSharingFileAccessError *accessError = [DBSHARINGSharingFileAccessErrorSerializer deserialize:valueDict[@"access_error"]]; return [[DBSHARINGListFileMembersContinueError alloc] initWithAccessError:accessError]; } else if ([tag isEqualToString:@"invalid_cursor"]) { return [[DBSHARINGListFileMembersContinueError alloc] initWithInvalidCursor]; } else if ([tag isEqualToString:@"other"]) { return [[DBSHARINGListFileMembersContinueError alloc] initWithOther]; } else { return [[DBSHARINGListFileMembersContinueError alloc] initWithOther]; } } @end #import "DBSHARINGListFileMembersCountResult.h" #import "DBSHARINGSharedFileMembers.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGListFileMembersCountResult #pragma mark - Constructors - (instancetype)initWithMembers:(DBSHARINGSharedFileMembers *)members memberCount:(NSNumber *)memberCount { [DBStoneValidators nonnullValidator:nil](members); [DBStoneValidators nonnullValidator:nil](memberCount); self = [super init]; if (self) { _members = members; _memberCount = memberCount; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGListFileMembersCountResultSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGListFileMembersCountResultSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGListFileMembersCountResultSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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.memberCount hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToListFileMembersCountResult:other]; } - (BOOL)isEqualToListFileMembersCountResult:(DBSHARINGListFileMembersCountResult *)aListFileMembersCountResult { if (self == aListFileMembersCountResult) { return YES; } if (![self.members isEqual:aListFileMembersCountResult.members]) { return NO; } if (![self.memberCount isEqual:aListFileMembersCountResult.memberCount]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGListFileMembersCountResultSerializer + (NSDictionary *)serialize:(DBSHARINGListFileMembersCountResult *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"members"] = [DBSHARINGSharedFileMembersSerializer serialize:valueObj.members]; jsonDict[@"member_count"] = valueObj.memberCount; return jsonDict; } + (DBSHARINGListFileMembersCountResult *)deserialize:(NSDictionary *)valueDict { DBSHARINGSharedFileMembers *members = [DBSHARINGSharedFileMembersSerializer deserialize:valueDict[@"members"]]; NSNumber *memberCount = valueDict[@"member_count"]; return [[DBSHARINGListFileMembersCountResult alloc] initWithMembers:members memberCount:memberCount]; } @end #import "DBSHARINGListFileMembersError.h" #import "DBSHARINGSharingFileAccessError.h" #import "DBSHARINGSharingUserError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGListFileMembersError @synthesize userError = _userError; @synthesize accessError = _accessError; #pragma mark - Constructors - (instancetype)initWithUserError:(DBSHARINGSharingUserError *)userError { self = [super init]; if (self) { _tag = DBSHARINGListFileMembersErrorUserError; _userError = userError; } return self; } - (instancetype)initWithAccessError:(DBSHARINGSharingFileAccessError *)accessError { self = [super init]; if (self) { _tag = DBSHARINGListFileMembersErrorAccessError; _accessError = accessError; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBSHARINGListFileMembersErrorOther; } return self; } #pragma mark - Instance field accessors - (DBSHARINGSharingUserError *)userError { if (![self isUserError]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBSHARINGListFileMembersErrorUserError, but was %@.", [self tagName]]; } return _userError; } - (DBSHARINGSharingFileAccessError *)accessError { if (![self isAccessError]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBSHARINGListFileMembersErrorAccessError, but was %@.", [self tagName]]; } return _accessError; } #pragma mark - Tag state methods - (BOOL)isUserError { return _tag == DBSHARINGListFileMembersErrorUserError; } - (BOOL)isAccessError { return _tag == DBSHARINGListFileMembersErrorAccessError; } - (BOOL)isOther { return _tag == DBSHARINGListFileMembersErrorOther; } - (NSString *)tagName { switch (_tag) { case DBSHARINGListFileMembersErrorUserError: return @"DBSHARINGListFileMembersErrorUserError"; case DBSHARINGListFileMembersErrorAccessError: return @"DBSHARINGListFileMembersErrorAccessError"; case DBSHARINGListFileMembersErrorOther: return @"DBSHARINGListFileMembersErrorOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGListFileMembersErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGListFileMembersErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGListFileMembersErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToListFileMembersError:other]; } - (BOOL)isEqualToListFileMembersError:(DBSHARINGListFileMembersError *)aListFileMembersError { if (self == aListFileMembersError) { return YES; } if (self.tag != aListFileMembersError.tag) { return NO; } switch (_tag) { case DBSHARINGListFileMembersErrorUserError: return [self.userError isEqual:aListFileMembersError.userError]; case DBSHARINGListFileMembersErrorAccessError: return [self.accessError isEqual:aListFileMembersError.accessError]; case DBSHARINGListFileMembersErrorOther: return [[self tagName] isEqual:[aListFileMembersError tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGListFileMembersErrorSerializer + (NSDictionary *)serialize:(DBSHARINGListFileMembersError *)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"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBSHARINGListFileMembersError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"user_error"]) { DBSHARINGSharingUserError *userError = [DBSHARINGSharingUserErrorSerializer deserialize:valueDict[@"user_error"]]; return [[DBSHARINGListFileMembersError alloc] initWithUserError:userError]; } else if ([tag isEqualToString:@"access_error"]) { DBSHARINGSharingFileAccessError *accessError = [DBSHARINGSharingFileAccessErrorSerializer deserialize:valueDict[@"access_error"]]; return [[DBSHARINGListFileMembersError alloc] initWithAccessError:accessError]; } else if ([tag isEqualToString:@"other"]) { return [[DBSHARINGListFileMembersError alloc] initWithOther]; } else { return [[DBSHARINGListFileMembersError alloc] initWithOther]; } } @end #import "DBSHARINGListFileMembersCountResult.h" #import "DBSHARINGListFileMembersIndividualResult.h" #import "DBSHARINGSharingFileAccessError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGListFileMembersIndividualResult @synthesize result = _result; @synthesize accessError = _accessError; #pragma mark - Constructors - (instancetype)initWithResult:(DBSHARINGListFileMembersCountResult *)result { self = [super init]; if (self) { _tag = DBSHARINGListFileMembersIndividualResultResult; _result = result; } return self; } - (instancetype)initWithAccessError:(DBSHARINGSharingFileAccessError *)accessError { self = [super init]; if (self) { _tag = DBSHARINGListFileMembersIndividualResultAccessError; _accessError = accessError; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBSHARINGListFileMembersIndividualResultOther; } return self; } #pragma mark - Instance field accessors - (DBSHARINGListFileMembersCountResult *)result { if (![self isResult]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBSHARINGListFileMembersIndividualResultResult, but was %@.", [self tagName]]; } return _result; } - (DBSHARINGSharingFileAccessError *)accessError { if (![self isAccessError]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBSHARINGListFileMembersIndividualResultAccessError, but was %@.", [self tagName]]; } return _accessError; } #pragma mark - Tag state methods - (BOOL)isResult { return _tag == DBSHARINGListFileMembersIndividualResultResult; } - (BOOL)isAccessError { return _tag == DBSHARINGListFileMembersIndividualResultAccessError; } - (BOOL)isOther { return _tag == DBSHARINGListFileMembersIndividualResultOther; } - (NSString *)tagName { switch (_tag) { case DBSHARINGListFileMembersIndividualResultResult: return @"DBSHARINGListFileMembersIndividualResultResult"; case DBSHARINGListFileMembersIndividualResultAccessError: return @"DBSHARINGListFileMembersIndividualResultAccessError"; case DBSHARINGListFileMembersIndividualResultOther: return @"DBSHARINGListFileMembersIndividualResultOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGListFileMembersIndividualResultSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGListFileMembersIndividualResultSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGListFileMembersIndividualResultSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToListFileMembersIndividualResult:other]; } - (BOOL)isEqualToListFileMembersIndividualResult: (DBSHARINGListFileMembersIndividualResult *)aListFileMembersIndividualResult { if (self == aListFileMembersIndividualResult) { return YES; } if (self.tag != aListFileMembersIndividualResult.tag) { return NO; } switch (_tag) { case DBSHARINGListFileMembersIndividualResultResult: return [self.result isEqual:aListFileMembersIndividualResult.result]; case DBSHARINGListFileMembersIndividualResultAccessError: return [self.accessError isEqual:aListFileMembersIndividualResult.accessError]; case DBSHARINGListFileMembersIndividualResultOther: return [[self tagName] isEqual:[aListFileMembersIndividualResult tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGListFileMembersIndividualResultSerializer + (NSDictionary *)serialize:(DBSHARINGListFileMembersIndividualResult *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isResult]) { [jsonDict addEntriesFromDictionary:[DBSHARINGListFileMembersCountResultSerializer serialize:valueObj.result]]; jsonDict[@".tag"] = @"result"; } 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; } + (DBSHARINGListFileMembersIndividualResult *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"result"]) { DBSHARINGListFileMembersCountResult *result = [DBSHARINGListFileMembersCountResultSerializer deserialize:valueDict]; return [[DBSHARINGListFileMembersIndividualResult alloc] initWithResult:result]; } else if ([tag isEqualToString:@"access_error"]) { DBSHARINGSharingFileAccessError *accessError = [DBSHARINGSharingFileAccessErrorSerializer deserialize:valueDict[@"access_error"]]; return [[DBSHARINGListFileMembersIndividualResult alloc] initWithAccessError:accessError]; } else if ([tag isEqualToString:@"other"]) { return [[DBSHARINGListFileMembersIndividualResult alloc] initWithOther]; } else { return [[DBSHARINGListFileMembersIndividualResult alloc] initWithOther]; } } @end #import "DBSHARINGFileAction.h" #import "DBSHARINGListFilesArg.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGListFilesArg #pragma mark - Constructors - (instancetype)initWithLimit:(NSNumber *)limit actions:(NSArray *)actions { [DBStoneValidators nullableValidator:[DBStoneValidators arrayValidator:nil maxItems:nil itemValidator:[DBStoneValidators nonnullValidator:nil]]](actions); self = [super init]; if (self) { _limit = limit ?: @(100); _actions = actions; } return self; } - (instancetype)initDefault { return [self initWithLimit:nil actions:nil]; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGListFilesArgSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGListFilesArgSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGListFilesArgSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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.actions != nil) { result = prime * result + [self.actions hash]; } return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToListFilesArg:other]; } - (BOOL)isEqualToListFilesArg:(DBSHARINGListFilesArg *)aListFilesArg { if (self == aListFilesArg) { return YES; } if (![self.limit isEqual:aListFilesArg.limit]) { return NO; } if (self.actions) { if (![self.actions isEqual:aListFilesArg.actions]) { return NO; } } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGListFilesArgSerializer + (NSDictionary *)serialize:(DBSHARINGListFilesArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"limit"] = valueObj.limit; if (valueObj.actions) { jsonDict[@"actions"] = [DBArraySerializer serialize:valueObj.actions withBlock:^id(id elem0) { return [DBSHARINGFileActionSerializer serialize:elem0]; }]; } return jsonDict; } + (DBSHARINGListFilesArg *)deserialize:(NSDictionary *)valueDict { NSNumber *limit = valueDict[@"limit"] ?: @(100); NSArray *actions = valueDict[@"actions"] ? [DBArraySerializer deserialize:valueDict[@"actions"] withBlock:^id(id elem0) { return [DBSHARINGFileActionSerializer deserialize:elem0]; }] : nil; return [[DBSHARINGListFilesArg alloc] initWithLimit:limit actions:actions]; } @end #import "DBSHARINGListFilesContinueArg.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGListFilesContinueArg #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 [DBSHARINGListFilesContinueArgSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGListFilesContinueArgSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGListFilesContinueArgSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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 isEqualToListFilesContinueArg:other]; } - (BOOL)isEqualToListFilesContinueArg:(DBSHARINGListFilesContinueArg *)aListFilesContinueArg { if (self == aListFilesContinueArg) { return YES; } if (![self.cursor isEqual:aListFilesContinueArg.cursor]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGListFilesContinueArgSerializer + (NSDictionary *)serialize:(DBSHARINGListFilesContinueArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"cursor"] = valueObj.cursor; return jsonDict; } + (DBSHARINGListFilesContinueArg *)deserialize:(NSDictionary *)valueDict { NSString *cursor = valueDict[@"cursor"]; return [[DBSHARINGListFilesContinueArg alloc] initWithCursor:cursor]; } @end #import "DBSHARINGListFilesContinueError.h" #import "DBSHARINGSharingUserError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGListFilesContinueError @synthesize userError = _userError; #pragma mark - Constructors - (instancetype)initWithUserError:(DBSHARINGSharingUserError *)userError { self = [super init]; if (self) { _tag = DBSHARINGListFilesContinueErrorUserError; _userError = userError; } return self; } - (instancetype)initWithInvalidCursor { self = [super init]; if (self) { _tag = DBSHARINGListFilesContinueErrorInvalidCursor; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBSHARINGListFilesContinueErrorOther; } return self; } #pragma mark - Instance field accessors - (DBSHARINGSharingUserError *)userError { if (![self isUserError]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBSHARINGListFilesContinueErrorUserError, but was %@.", [self tagName]]; } return _userError; } #pragma mark - Tag state methods - (BOOL)isUserError { return _tag == DBSHARINGListFilesContinueErrorUserError; } - (BOOL)isInvalidCursor { return _tag == DBSHARINGListFilesContinueErrorInvalidCursor; } - (BOOL)isOther { return _tag == DBSHARINGListFilesContinueErrorOther; } - (NSString *)tagName { switch (_tag) { case DBSHARINGListFilesContinueErrorUserError: return @"DBSHARINGListFilesContinueErrorUserError"; case DBSHARINGListFilesContinueErrorInvalidCursor: return @"DBSHARINGListFilesContinueErrorInvalidCursor"; case DBSHARINGListFilesContinueErrorOther: return @"DBSHARINGListFilesContinueErrorOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGListFilesContinueErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGListFilesContinueErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGListFilesContinueErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToListFilesContinueError:other]; } - (BOOL)isEqualToListFilesContinueError:(DBSHARINGListFilesContinueError *)aListFilesContinueError { if (self == aListFilesContinueError) { return YES; } if (self.tag != aListFilesContinueError.tag) { return NO; } switch (_tag) { case DBSHARINGListFilesContinueErrorUserError: return [self.userError isEqual:aListFilesContinueError.userError]; case DBSHARINGListFilesContinueErrorInvalidCursor: return [[self tagName] isEqual:[aListFilesContinueError tagName]]; case DBSHARINGListFilesContinueErrorOther: return [[self tagName] isEqual:[aListFilesContinueError tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGListFilesContinueErrorSerializer + (NSDictionary *)serialize:(DBSHARINGListFilesContinueError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isUserError]) { jsonDict[@"user_error"] = [[DBSHARINGSharingUserErrorSerializer serialize:valueObj.userError] mutableCopy]; jsonDict[@".tag"] = @"user_error"; } else if ([valueObj isInvalidCursor]) { jsonDict[@".tag"] = @"invalid_cursor"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBSHARINGListFilesContinueError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"user_error"]) { DBSHARINGSharingUserError *userError = [DBSHARINGSharingUserErrorSerializer deserialize:valueDict[@"user_error"]]; return [[DBSHARINGListFilesContinueError alloc] initWithUserError:userError]; } else if ([tag isEqualToString:@"invalid_cursor"]) { return [[DBSHARINGListFilesContinueError alloc] initWithInvalidCursor]; } else if ([tag isEqualToString:@"other"]) { return [[DBSHARINGListFilesContinueError alloc] initWithOther]; } else { return [[DBSHARINGListFilesContinueError alloc] initWithOther]; } } @end #import "DBSHARINGListFilesResult.h" #import "DBSHARINGSharedFileMetadata.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGListFilesResult #pragma mark - Constructors - (instancetype)initWithEntries:(NSArray *)entries cursor:(NSString *)cursor { [DBStoneValidators nonnullValidator:[DBStoneValidators arrayValidator:nil maxItems:nil itemValidator:[DBStoneValidators nonnullValidator:nil]]](entries); self = [super init]; if (self) { _entries = entries; _cursor = cursor; } return self; } - (instancetype)initWithEntries:(NSArray *)entries { return [self initWithEntries:entries cursor:nil]; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGListFilesResultSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGListFilesResultSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGListFilesResultSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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]; if (self.cursor != nil) { 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 isEqualToListFilesResult:other]; } - (BOOL)isEqualToListFilesResult:(DBSHARINGListFilesResult *)aListFilesResult { if (self == aListFilesResult) { return YES; } if (![self.entries isEqual:aListFilesResult.entries]) { return NO; } if (self.cursor) { if (![self.cursor isEqual:aListFilesResult.cursor]) { return NO; } } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGListFilesResultSerializer + (NSDictionary *)serialize:(DBSHARINGListFilesResult *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"entries"] = [DBArraySerializer serialize:valueObj.entries withBlock:^id(id elem0) { return [DBSHARINGSharedFileMetadataSerializer serialize:elem0]; }]; if (valueObj.cursor) { jsonDict[@"cursor"] = valueObj.cursor; } return jsonDict; } + (DBSHARINGListFilesResult *)deserialize:(NSDictionary *)valueDict { NSArray *entries = [DBArraySerializer deserialize:valueDict[@"entries"] withBlock:^id(id elem0) { return [DBSHARINGSharedFileMetadataSerializer deserialize:elem0]; }]; NSString *cursor = valueDict[@"cursor"] ?: nil; return [[DBSHARINGListFilesResult alloc] initWithEntries:entries cursor:cursor]; } @end #import "DBSHARINGListFolderMembersCursorArg.h" #import "DBSHARINGMemberAction.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGListFolderMembersCursorArg #pragma mark - Constructors - (instancetype)initWithActions:(NSArray *)actions limit:(NSNumber *)limit { [DBStoneValidators nullableValidator:[DBStoneValidators arrayValidator:nil maxItems:nil itemValidator:[DBStoneValidators nonnullValidator:nil]]](actions); self = [super init]; if (self) { _actions = actions; _limit = limit ?: @(1000); } return self; } - (instancetype)initDefault { return [self initWithActions:nil limit:nil]; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGListFolderMembersCursorArgSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGListFolderMembersCursorArgSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGListFolderMembersCursorArgSerializer serialize:self] description]; } #pragma mark - Copyable method - (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.actions != nil) { result = prime * result + [self.actions 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 isEqualToListFolderMembersCursorArg:other]; } - (BOOL)isEqualToListFolderMembersCursorArg:(DBSHARINGListFolderMembersCursorArg *)aListFolderMembersCursorArg { if (self == aListFolderMembersCursorArg) { return YES; } if (self.actions) { if (![self.actions isEqual:aListFolderMembersCursorArg.actions]) { return NO; } } if (![self.limit isEqual:aListFolderMembersCursorArg.limit]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGListFolderMembersCursorArgSerializer + (NSDictionary *)serialize:(DBSHARINGListFolderMembersCursorArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if (valueObj.actions) { jsonDict[@"actions"] = [DBArraySerializer serialize:valueObj.actions withBlock:^id(id elem0) { return [DBSHARINGMemberActionSerializer serialize:elem0]; }]; } jsonDict[@"limit"] = valueObj.limit; return jsonDict; } + (DBSHARINGListFolderMembersCursorArg *)deserialize:(NSDictionary *)valueDict { NSArray *actions = valueDict[@"actions"] ? [DBArraySerializer deserialize:valueDict[@"actions"] withBlock:^id(id elem0) { return [DBSHARINGMemberActionSerializer deserialize:elem0]; }] : nil; NSNumber *limit = valueDict[@"limit"] ?: @(1000); return [[DBSHARINGListFolderMembersCursorArg alloc] initWithActions:actions limit:limit]; } @end #import "DBSHARINGListFolderMembersArgs.h" #import "DBSHARINGListFolderMembersCursorArg.h" #import "DBSHARINGMemberAction.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGListFolderMembersArgs #pragma mark - Constructors - (instancetype)initWithSharedFolderId:(NSString *)sharedFolderId actions:(NSArray *)actions limit:(NSNumber *)limit { [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); self = [super initWithActions:actions limit:limit]; if (self) { _sharedFolderId = sharedFolderId; } return self; } - (instancetype)initWithSharedFolderId:(NSString *)sharedFolderId { return [self initWithSharedFolderId:sharedFolderId actions:nil limit:nil]; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGListFolderMembersArgsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGListFolderMembersArgsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGListFolderMembersArgsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.sharedFolderId hash]; if (self.actions != nil) { result = prime * result + [self.actions 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 isEqualToListFolderMembersArgs:other]; } - (BOOL)isEqualToListFolderMembersArgs:(DBSHARINGListFolderMembersArgs *)aListFolderMembersArgs { if (self == aListFolderMembersArgs) { return YES; } if (![self.sharedFolderId isEqual:aListFolderMembersArgs.sharedFolderId]) { return NO; } if (self.actions) { if (![self.actions isEqual:aListFolderMembersArgs.actions]) { return NO; } } if (![self.limit isEqual:aListFolderMembersArgs.limit]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGListFolderMembersArgsSerializer + (NSDictionary *)serialize:(DBSHARINGListFolderMembersArgs *)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 [DBSHARINGMemberActionSerializer serialize:elem0]; }]; } jsonDict[@"limit"] = valueObj.limit; return jsonDict; } + (DBSHARINGListFolderMembersArgs *)deserialize:(NSDictionary *)valueDict { NSString *sharedFolderId = valueDict[@"shared_folder_id"]; NSArray *actions = valueDict[@"actions"] ? [DBArraySerializer deserialize:valueDict[@"actions"] withBlock:^id(id elem0) { return [DBSHARINGMemberActionSerializer deserialize:elem0]; }] : nil; NSNumber *limit = valueDict[@"limit"] ?: @(1000); return [[DBSHARINGListFolderMembersArgs alloc] initWithSharedFolderId:sharedFolderId actions:actions limit:limit]; } @end #import "DBSHARINGListFolderMembersContinueArg.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGListFolderMembersContinueArg #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 [DBSHARINGListFolderMembersContinueArgSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGListFolderMembersContinueArgSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGListFolderMembersContinueArgSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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 isEqualToListFolderMembersContinueArg:other]; } - (BOOL)isEqualToListFolderMembersContinueArg:(DBSHARINGListFolderMembersContinueArg *)aListFolderMembersContinueArg { if (self == aListFolderMembersContinueArg) { return YES; } if (![self.cursor isEqual:aListFolderMembersContinueArg.cursor]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGListFolderMembersContinueArgSerializer + (NSDictionary *)serialize:(DBSHARINGListFolderMembersContinueArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"cursor"] = valueObj.cursor; return jsonDict; } + (DBSHARINGListFolderMembersContinueArg *)deserialize:(NSDictionary *)valueDict { NSString *cursor = valueDict[@"cursor"]; return [[DBSHARINGListFolderMembersContinueArg alloc] initWithCursor:cursor]; } @end #import "DBSHARINGListFolderMembersContinueError.h" #import "DBSHARINGSharedFolderAccessError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGListFolderMembersContinueError @synthesize accessError = _accessError; #pragma mark - Constructors - (instancetype)initWithAccessError:(DBSHARINGSharedFolderAccessError *)accessError { self = [super init]; if (self) { _tag = DBSHARINGListFolderMembersContinueErrorAccessError; _accessError = accessError; } return self; } - (instancetype)initWithInvalidCursor { self = [super init]; if (self) { _tag = DBSHARINGListFolderMembersContinueErrorInvalidCursor; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBSHARINGListFolderMembersContinueErrorOther; } return self; } #pragma mark - Instance field accessors - (DBSHARINGSharedFolderAccessError *)accessError { if (![self isAccessError]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBSHARINGListFolderMembersContinueErrorAccessError, but was %@.", [self tagName]]; } return _accessError; } #pragma mark - Tag state methods - (BOOL)isAccessError { return _tag == DBSHARINGListFolderMembersContinueErrorAccessError; } - (BOOL)isInvalidCursor { return _tag == DBSHARINGListFolderMembersContinueErrorInvalidCursor; } - (BOOL)isOther { return _tag == DBSHARINGListFolderMembersContinueErrorOther; } - (NSString *)tagName { switch (_tag) { case DBSHARINGListFolderMembersContinueErrorAccessError: return @"DBSHARINGListFolderMembersContinueErrorAccessError"; case DBSHARINGListFolderMembersContinueErrorInvalidCursor: return @"DBSHARINGListFolderMembersContinueErrorInvalidCursor"; case DBSHARINGListFolderMembersContinueErrorOther: return @"DBSHARINGListFolderMembersContinueErrorOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGListFolderMembersContinueErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGListFolderMembersContinueErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGListFolderMembersContinueErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToListFolderMembersContinueError:other]; } - (BOOL)isEqualToListFolderMembersContinueError: (DBSHARINGListFolderMembersContinueError *)aListFolderMembersContinueError { if (self == aListFolderMembersContinueError) { return YES; } if (self.tag != aListFolderMembersContinueError.tag) { return NO; } switch (_tag) { case DBSHARINGListFolderMembersContinueErrorAccessError: return [self.accessError isEqual:aListFolderMembersContinueError.accessError]; case DBSHARINGListFolderMembersContinueErrorInvalidCursor: return [[self tagName] isEqual:[aListFolderMembersContinueError tagName]]; case DBSHARINGListFolderMembersContinueErrorOther: return [[self tagName] isEqual:[aListFolderMembersContinueError tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGListFolderMembersContinueErrorSerializer + (NSDictionary *)serialize:(DBSHARINGListFolderMembersContinueError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isAccessError]) { jsonDict[@"access_error"] = [[DBSHARINGSharedFolderAccessErrorSerializer serialize:valueObj.accessError] mutableCopy]; jsonDict[@".tag"] = @"access_error"; } else if ([valueObj isInvalidCursor]) { jsonDict[@".tag"] = @"invalid_cursor"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBSHARINGListFolderMembersContinueError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"access_error"]) { DBSHARINGSharedFolderAccessError *accessError = [DBSHARINGSharedFolderAccessErrorSerializer deserialize:valueDict[@"access_error"]]; return [[DBSHARINGListFolderMembersContinueError alloc] initWithAccessError:accessError]; } else if ([tag isEqualToString:@"invalid_cursor"]) { return [[DBSHARINGListFolderMembersContinueError alloc] initWithInvalidCursor]; } else if ([tag isEqualToString:@"other"]) { return [[DBSHARINGListFolderMembersContinueError alloc] initWithOther]; } else { return [[DBSHARINGListFolderMembersContinueError alloc] initWithOther]; } } @end #import "DBSHARINGFolderAction.h" #import "DBSHARINGListFoldersArgs.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGListFoldersArgs #pragma mark - Constructors - (instancetype)initWithLimit:(NSNumber *)limit actions:(NSArray *)actions { [DBStoneValidators nullableValidator:[DBStoneValidators arrayValidator:nil maxItems:nil itemValidator:[DBStoneValidators nonnullValidator:nil]]](actions); self = [super init]; if (self) { _limit = limit ?: @(1000); _actions = actions; } return self; } - (instancetype)initDefault { return [self initWithLimit:nil actions:nil]; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGListFoldersArgsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGListFoldersArgsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGListFoldersArgsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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.actions != nil) { result = prime * result + [self.actions hash]; } return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToListFoldersArgs:other]; } - (BOOL)isEqualToListFoldersArgs:(DBSHARINGListFoldersArgs *)aListFoldersArgs { if (self == aListFoldersArgs) { return YES; } if (![self.limit isEqual:aListFoldersArgs.limit]) { return NO; } if (self.actions) { if (![self.actions isEqual:aListFoldersArgs.actions]) { return NO; } } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGListFoldersArgsSerializer + (NSDictionary *)serialize:(DBSHARINGListFoldersArgs *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"limit"] = valueObj.limit; if (valueObj.actions) { jsonDict[@"actions"] = [DBArraySerializer serialize:valueObj.actions withBlock:^id(id elem0) { return [DBSHARINGFolderActionSerializer serialize:elem0]; }]; } return jsonDict; } + (DBSHARINGListFoldersArgs *)deserialize:(NSDictionary *)valueDict { NSNumber *limit = valueDict[@"limit"] ?: @(1000); NSArray *actions = valueDict[@"actions"] ? [DBArraySerializer deserialize:valueDict[@"actions"] withBlock:^id(id elem0) { return [DBSHARINGFolderActionSerializer deserialize:elem0]; }] : nil; return [[DBSHARINGListFoldersArgs alloc] initWithLimit:limit actions:actions]; } @end #import "DBSHARINGListFoldersContinueArg.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGListFoldersContinueArg #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 [DBSHARINGListFoldersContinueArgSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGListFoldersContinueArgSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGListFoldersContinueArgSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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 isEqualToListFoldersContinueArg:other]; } - (BOOL)isEqualToListFoldersContinueArg:(DBSHARINGListFoldersContinueArg *)aListFoldersContinueArg { if (self == aListFoldersContinueArg) { return YES; } if (![self.cursor isEqual:aListFoldersContinueArg.cursor]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGListFoldersContinueArgSerializer + (NSDictionary *)serialize:(DBSHARINGListFoldersContinueArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"cursor"] = valueObj.cursor; return jsonDict; } + (DBSHARINGListFoldersContinueArg *)deserialize:(NSDictionary *)valueDict { NSString *cursor = valueDict[@"cursor"]; return [[DBSHARINGListFoldersContinueArg alloc] initWithCursor:cursor]; } @end #import "DBSHARINGListFoldersContinueError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGListFoldersContinueError #pragma mark - Constructors - (instancetype)initWithInvalidCursor { self = [super init]; if (self) { _tag = DBSHARINGListFoldersContinueErrorInvalidCursor; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBSHARINGListFoldersContinueErrorOther; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isInvalidCursor { return _tag == DBSHARINGListFoldersContinueErrorInvalidCursor; } - (BOOL)isOther { return _tag == DBSHARINGListFoldersContinueErrorOther; } - (NSString *)tagName { switch (_tag) { case DBSHARINGListFoldersContinueErrorInvalidCursor: return @"DBSHARINGListFoldersContinueErrorInvalidCursor"; case DBSHARINGListFoldersContinueErrorOther: return @"DBSHARINGListFoldersContinueErrorOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGListFoldersContinueErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGListFoldersContinueErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGListFoldersContinueErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 DBSHARINGListFoldersContinueErrorInvalidCursor: result = prime * result + [[self tagName] hash]; break; case DBSHARINGListFoldersContinueErrorOther: 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 isEqualToListFoldersContinueError:other]; } - (BOOL)isEqualToListFoldersContinueError:(DBSHARINGListFoldersContinueError *)aListFoldersContinueError { if (self == aListFoldersContinueError) { return YES; } if (self.tag != aListFoldersContinueError.tag) { return NO; } switch (_tag) { case DBSHARINGListFoldersContinueErrorInvalidCursor: return [[self tagName] isEqual:[aListFoldersContinueError tagName]]; case DBSHARINGListFoldersContinueErrorOther: return [[self tagName] isEqual:[aListFoldersContinueError tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGListFoldersContinueErrorSerializer + (NSDictionary *)serialize:(DBSHARINGListFoldersContinueError *)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; } + (DBSHARINGListFoldersContinueError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"invalid_cursor"]) { return [[DBSHARINGListFoldersContinueError alloc] initWithInvalidCursor]; } else if ([tag isEqualToString:@"other"]) { return [[DBSHARINGListFoldersContinueError alloc] initWithOther]; } else { return [[DBSHARINGListFoldersContinueError alloc] initWithOther]; } } @end #import "DBSHARINGListFoldersResult.h" #import "DBSHARINGSharedFolderMetadata.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGListFoldersResult #pragma mark - Constructors - (instancetype)initWithEntries:(NSArray *)entries cursor:(NSString *)cursor { [DBStoneValidators nonnullValidator:[DBStoneValidators arrayValidator:nil maxItems:nil itemValidator:[DBStoneValidators nonnullValidator:nil]]](entries); self = [super init]; if (self) { _entries = entries; _cursor = cursor; } return self; } - (instancetype)initWithEntries:(NSArray *)entries { return [self initWithEntries:entries cursor:nil]; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGListFoldersResultSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGListFoldersResultSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGListFoldersResultSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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]; if (self.cursor != nil) { 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 isEqualToListFoldersResult:other]; } - (BOOL)isEqualToListFoldersResult:(DBSHARINGListFoldersResult *)aListFoldersResult { if (self == aListFoldersResult) { return YES; } if (![self.entries isEqual:aListFoldersResult.entries]) { return NO; } if (self.cursor) { if (![self.cursor isEqual:aListFoldersResult.cursor]) { return NO; } } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGListFoldersResultSerializer + (NSDictionary *)serialize:(DBSHARINGListFoldersResult *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"entries"] = [DBArraySerializer serialize:valueObj.entries withBlock:^id(id elem0) { return [DBSHARINGSharedFolderMetadataSerializer serialize:elem0]; }]; if (valueObj.cursor) { jsonDict[@"cursor"] = valueObj.cursor; } return jsonDict; } + (DBSHARINGListFoldersResult *)deserialize:(NSDictionary *)valueDict { NSArray *entries = [DBArraySerializer deserialize:valueDict[@"entries"] withBlock:^id(id elem0) { return [DBSHARINGSharedFolderMetadataSerializer deserialize:elem0]; }]; NSString *cursor = valueDict[@"cursor"] ?: nil; return [[DBSHARINGListFoldersResult alloc] initWithEntries:entries cursor:cursor]; } @end #import "DBSHARINGListSharedLinksArg.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGListSharedLinksArg #pragma mark - Constructors - (instancetype)initWithPath:(NSString *)path cursor:(NSString *)cursor directOnly:(NSNumber *)directOnly { [DBStoneValidators nullableValidator:[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; _cursor = cursor; _directOnly = directOnly; } return self; } - (instancetype)initDefault { return [self initWithPath:nil cursor:nil directOnly:nil]; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGListSharedLinksArgSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGListSharedLinksArgSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGListSharedLinksArgSerializer serialize:self] description]; } #pragma mark - Copyable method - (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]; } if (self.cursor != nil) { result = prime * result + [self.cursor hash]; } if (self.directOnly != nil) { result = prime * result + [self.directOnly hash]; } return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToListSharedLinksArg:other]; } - (BOOL)isEqualToListSharedLinksArg:(DBSHARINGListSharedLinksArg *)aListSharedLinksArg { if (self == aListSharedLinksArg) { return YES; } if (self.path) { if (![self.path isEqual:aListSharedLinksArg.path]) { return NO; } } if (self.cursor) { if (![self.cursor isEqual:aListSharedLinksArg.cursor]) { return NO; } } if (self.directOnly) { if (![self.directOnly isEqual:aListSharedLinksArg.directOnly]) { return NO; } } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGListSharedLinksArgSerializer + (NSDictionary *)serialize:(DBSHARINGListSharedLinksArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if (valueObj.path) { jsonDict[@"path"] = valueObj.path; } if (valueObj.cursor) { jsonDict[@"cursor"] = valueObj.cursor; } if (valueObj.directOnly) { jsonDict[@"direct_only"] = valueObj.directOnly; } return jsonDict; } + (DBSHARINGListSharedLinksArg *)deserialize:(NSDictionary *)valueDict { NSString *path = valueDict[@"path"] ?: nil; NSString *cursor = valueDict[@"cursor"] ?: nil; NSNumber *directOnly = valueDict[@"direct_only"] ?: nil; return [[DBSHARINGListSharedLinksArg alloc] initWithPath:path cursor:cursor directOnly:directOnly]; } @end #import "DBFILESLookupError.h" #import "DBSHARINGListSharedLinksError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGListSharedLinksError @synthesize path = _path; #pragma mark - Constructors - (instancetype)initWithPath:(DBFILESLookupError *)path { self = [super init]; if (self) { _tag = DBSHARINGListSharedLinksErrorPath; _path = path; } return self; } - (instancetype)initWithReset { self = [super init]; if (self) { _tag = DBSHARINGListSharedLinksErrorReset; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBSHARINGListSharedLinksErrorOther; } return self; } #pragma mark - Instance field accessors - (DBFILESLookupError *)path { if (![self isPath]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBSHARINGListSharedLinksErrorPath, but was %@.", [self tagName]]; } return _path; } #pragma mark - Tag state methods - (BOOL)isPath { return _tag == DBSHARINGListSharedLinksErrorPath; } - (BOOL)isReset { return _tag == DBSHARINGListSharedLinksErrorReset; } - (BOOL)isOther { return _tag == DBSHARINGListSharedLinksErrorOther; } - (NSString *)tagName { switch (_tag) { case DBSHARINGListSharedLinksErrorPath: return @"DBSHARINGListSharedLinksErrorPath"; case DBSHARINGListSharedLinksErrorReset: return @"DBSHARINGListSharedLinksErrorReset"; case DBSHARINGListSharedLinksErrorOther: return @"DBSHARINGListSharedLinksErrorOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGListSharedLinksErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGListSharedLinksErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGListSharedLinksErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToListSharedLinksError:other]; } - (BOOL)isEqualToListSharedLinksError:(DBSHARINGListSharedLinksError *)aListSharedLinksError { if (self == aListSharedLinksError) { return YES; } if (self.tag != aListSharedLinksError.tag) { return NO; } switch (_tag) { case DBSHARINGListSharedLinksErrorPath: return [self.path isEqual:aListSharedLinksError.path]; case DBSHARINGListSharedLinksErrorReset: return [[self tagName] isEqual:[aListSharedLinksError tagName]]; case DBSHARINGListSharedLinksErrorOther: return [[self tagName] isEqual:[aListSharedLinksError tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGListSharedLinksErrorSerializer + (NSDictionary *)serialize:(DBSHARINGListSharedLinksError *)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; } + (DBSHARINGListSharedLinksError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"path"]) { DBFILESLookupError *path = [DBFILESLookupErrorSerializer deserialize:valueDict[@"path"]]; return [[DBSHARINGListSharedLinksError alloc] initWithPath:path]; } else if ([tag isEqualToString:@"reset"]) { return [[DBSHARINGListSharedLinksError alloc] initWithReset]; } else if ([tag isEqualToString:@"other"]) { return [[DBSHARINGListSharedLinksError alloc] initWithOther]; } else { return [[DBSHARINGListSharedLinksError alloc] initWithOther]; } } @end #import "DBSHARINGListSharedLinksResult.h" #import "DBSHARINGSharedLinkMetadata.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGListSharedLinksResult #pragma mark - Constructors - (instancetype)initWithLinks:(NSArray *)links hasMore:(NSNumber *)hasMore cursor:(NSString *)cursor { [DBStoneValidators nonnullValidator:[DBStoneValidators arrayValidator:nil maxItems:nil itemValidator:[DBStoneValidators nonnullValidator:nil]]](links); [DBStoneValidators nonnullValidator:nil](hasMore); self = [super init]; if (self) { _links = links; _hasMore = hasMore; _cursor = cursor; } return self; } - (instancetype)initWithLinks:(NSArray *)links hasMore:(NSNumber *)hasMore { return [self initWithLinks:links hasMore:hasMore cursor:nil]; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGListSharedLinksResultSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGListSharedLinksResultSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGListSharedLinksResultSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.links hash]; result = prime * result + [self.hasMore hash]; if (self.cursor != nil) { 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 isEqualToListSharedLinksResult:other]; } - (BOOL)isEqualToListSharedLinksResult:(DBSHARINGListSharedLinksResult *)aListSharedLinksResult { if (self == aListSharedLinksResult) { return YES; } if (![self.links isEqual:aListSharedLinksResult.links]) { return NO; } if (![self.hasMore isEqual:aListSharedLinksResult.hasMore]) { return NO; } if (self.cursor) { if (![self.cursor isEqual:aListSharedLinksResult.cursor]) { return NO; } } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGListSharedLinksResultSerializer + (NSDictionary *)serialize:(DBSHARINGListSharedLinksResult *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"links"] = [DBArraySerializer serialize:valueObj.links withBlock:^id(id elem0) { return [DBSHARINGSharedLinkMetadataSerializer serialize:elem0]; }]; jsonDict[@"has_more"] = valueObj.hasMore; if (valueObj.cursor) { jsonDict[@"cursor"] = valueObj.cursor; } return jsonDict; } + (DBSHARINGListSharedLinksResult *)deserialize:(NSDictionary *)valueDict { NSArray *links = [DBArraySerializer deserialize:valueDict[@"links"] withBlock:^id(id elem0) { return [DBSHARINGSharedLinkMetadataSerializer deserialize:elem0]; }]; NSNumber *hasMore = valueDict[@"has_more"]; NSString *cursor = valueDict[@"cursor"] ?: nil; return [[DBSHARINGListSharedLinksResult alloc] initWithLinks:links hasMore:hasMore cursor:cursor]; } @end #import "DBSHARINGAccessLevel.h" #import "DBSHARINGMemberAccessLevelResult.h" #import "DBSHARINGParentFolderAccessInfo.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGMemberAccessLevelResult #pragma mark - Constructors - (instancetype)initWithAccessLevel:(DBSHARINGAccessLevel *)accessLevel warning:(NSString *)warning accessDetails:(NSArray *)accessDetails { [DBStoneValidators nullableValidator:[DBStoneValidators arrayValidator:nil maxItems:nil itemValidator:[DBStoneValidators nonnullValidator:nil]]](accessDetails); self = [super init]; if (self) { _accessLevel = accessLevel; _warning = warning; _accessDetails = accessDetails; } return self; } - (instancetype)initDefault { return [self initWithAccessLevel:nil warning:nil accessDetails:nil]; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGMemberAccessLevelResultSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGMemberAccessLevelResultSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGMemberAccessLevelResultSerializer serialize:self] description]; } #pragma mark - Copyable method - (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.accessLevel != nil) { result = prime * result + [self.accessLevel hash]; } if (self.warning != nil) { result = prime * result + [self.warning hash]; } if (self.accessDetails != nil) { result = prime * result + [self.accessDetails hash]; } return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToMemberAccessLevelResult:other]; } - (BOOL)isEqualToMemberAccessLevelResult:(DBSHARINGMemberAccessLevelResult *)aMemberAccessLevelResult { if (self == aMemberAccessLevelResult) { return YES; } if (self.accessLevel) { if (![self.accessLevel isEqual:aMemberAccessLevelResult.accessLevel]) { return NO; } } if (self.warning) { if (![self.warning isEqual:aMemberAccessLevelResult.warning]) { return NO; } } if (self.accessDetails) { if (![self.accessDetails isEqual:aMemberAccessLevelResult.accessDetails]) { return NO; } } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGMemberAccessLevelResultSerializer + (NSDictionary *)serialize:(DBSHARINGMemberAccessLevelResult *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if (valueObj.accessLevel) { jsonDict[@"access_level"] = [DBSHARINGAccessLevelSerializer serialize:valueObj.accessLevel]; } if (valueObj.warning) { jsonDict[@"warning"] = valueObj.warning; } if (valueObj.accessDetails) { jsonDict[@"access_details"] = [DBArraySerializer serialize:valueObj.accessDetails withBlock:^id(id elem0) { return [DBSHARINGParentFolderAccessInfoSerializer serialize:elem0]; }]; } return jsonDict; } + (DBSHARINGMemberAccessLevelResult *)deserialize:(NSDictionary *)valueDict { DBSHARINGAccessLevel *accessLevel = valueDict[@"access_level"] ? [DBSHARINGAccessLevelSerializer deserialize:valueDict[@"access_level"]] : nil; NSString *warning = valueDict[@"warning"] ?: nil; NSArray *accessDetails = valueDict[@"access_details"] ? [DBArraySerializer deserialize:valueDict[@"access_details"] withBlock:^id(id elem0) { return [DBSHARINGParentFolderAccessInfoSerializer deserialize:elem0]; }] : nil; return [[DBSHARINGMemberAccessLevelResult alloc] initWithAccessLevel:accessLevel warning:warning accessDetails:accessDetails]; } @end #import "DBSHARINGMemberAction.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGMemberAction #pragma mark - Constructors - (instancetype)initWithLeaveACopy { self = [super init]; if (self) { _tag = DBSHARINGMemberActionLeaveACopy; } return self; } - (instancetype)initWithMakeEditor { self = [super init]; if (self) { _tag = DBSHARINGMemberActionMakeEditor; } return self; } - (instancetype)initWithMakeOwner { self = [super init]; if (self) { _tag = DBSHARINGMemberActionMakeOwner; } return self; } - (instancetype)initWithMakeViewer { self = [super init]; if (self) { _tag = DBSHARINGMemberActionMakeViewer; } return self; } - (instancetype)initWithMakeViewerNoComment { self = [super init]; if (self) { _tag = DBSHARINGMemberActionMakeViewerNoComment; } return self; } - (instancetype)initWithRemove { self = [super init]; if (self) { _tag = DBSHARINGMemberActionRemove; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBSHARINGMemberActionOther; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isLeaveACopy { return _tag == DBSHARINGMemberActionLeaveACopy; } - (BOOL)isMakeEditor { return _tag == DBSHARINGMemberActionMakeEditor; } - (BOOL)isMakeOwner { return _tag == DBSHARINGMemberActionMakeOwner; } - (BOOL)isMakeViewer { return _tag == DBSHARINGMemberActionMakeViewer; } - (BOOL)isMakeViewerNoComment { return _tag == DBSHARINGMemberActionMakeViewerNoComment; } - (BOOL)isRemove { return _tag == DBSHARINGMemberActionRemove; } - (BOOL)isOther { return _tag == DBSHARINGMemberActionOther; } - (NSString *)tagName { switch (_tag) { case DBSHARINGMemberActionLeaveACopy: return @"DBSHARINGMemberActionLeaveACopy"; case DBSHARINGMemberActionMakeEditor: return @"DBSHARINGMemberActionMakeEditor"; case DBSHARINGMemberActionMakeOwner: return @"DBSHARINGMemberActionMakeOwner"; case DBSHARINGMemberActionMakeViewer: return @"DBSHARINGMemberActionMakeViewer"; case DBSHARINGMemberActionMakeViewerNoComment: return @"DBSHARINGMemberActionMakeViewerNoComment"; case DBSHARINGMemberActionRemove: return @"DBSHARINGMemberActionRemove"; case DBSHARINGMemberActionOther: return @"DBSHARINGMemberActionOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGMemberActionSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGMemberActionSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGMemberActionSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToMemberAction:other]; } - (BOOL)isEqualToMemberAction:(DBSHARINGMemberAction *)aMemberAction { if (self == aMemberAction) { return YES; } if (self.tag != aMemberAction.tag) { return NO; } switch (_tag) { case DBSHARINGMemberActionLeaveACopy: return [[self tagName] isEqual:[aMemberAction tagName]]; case DBSHARINGMemberActionMakeEditor: return [[self tagName] isEqual:[aMemberAction tagName]]; case DBSHARINGMemberActionMakeOwner: return [[self tagName] isEqual:[aMemberAction tagName]]; case DBSHARINGMemberActionMakeViewer: return [[self tagName] isEqual:[aMemberAction tagName]]; case DBSHARINGMemberActionMakeViewerNoComment: return [[self tagName] isEqual:[aMemberAction tagName]]; case DBSHARINGMemberActionRemove: return [[self tagName] isEqual:[aMemberAction tagName]]; case DBSHARINGMemberActionOther: return [[self tagName] isEqual:[aMemberAction tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGMemberActionSerializer + (NSDictionary *)serialize:(DBSHARINGMemberAction *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isLeaveACopy]) { jsonDict[@".tag"] = @"leave_a_copy"; } else if ([valueObj isMakeEditor]) { jsonDict[@".tag"] = @"make_editor"; } else if ([valueObj isMakeOwner]) { jsonDict[@".tag"] = @"make_owner"; } else if ([valueObj isMakeViewer]) { jsonDict[@".tag"] = @"make_viewer"; } else if ([valueObj isMakeViewerNoComment]) { jsonDict[@".tag"] = @"make_viewer_no_comment"; } else if ([valueObj isRemove]) { jsonDict[@".tag"] = @"remove"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBSHARINGMemberAction *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"leave_a_copy"]) { return [[DBSHARINGMemberAction alloc] initWithLeaveACopy]; } else if ([tag isEqualToString:@"make_editor"]) { return [[DBSHARINGMemberAction alloc] initWithMakeEditor]; } else if ([tag isEqualToString:@"make_owner"]) { return [[DBSHARINGMemberAction alloc] initWithMakeOwner]; } else if ([tag isEqualToString:@"make_viewer"]) { return [[DBSHARINGMemberAction alloc] initWithMakeViewer]; } else if ([tag isEqualToString:@"make_viewer_no_comment"]) { return [[DBSHARINGMemberAction alloc] initWithMakeViewerNoComment]; } else if ([tag isEqualToString:@"remove"]) { return [[DBSHARINGMemberAction alloc] initWithRemove]; } else if ([tag isEqualToString:@"other"]) { return [[DBSHARINGMemberAction alloc] initWithOther]; } else { return [[DBSHARINGMemberAction alloc] initWithOther]; } } @end #import "DBSHARINGMemberAction.h" #import "DBSHARINGMemberPermission.h" #import "DBSHARINGPermissionDeniedReason.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGMemberPermission #pragma mark - Constructors - (instancetype)initWithAction:(DBSHARINGMemberAction *)action allow:(NSNumber *)allow reason:(DBSHARINGPermissionDeniedReason *)reason { [DBStoneValidators nonnullValidator:nil](action); [DBStoneValidators nonnullValidator:nil](allow); self = [super init]; if (self) { _action = action; _allow = allow; _reason = reason; } return self; } - (instancetype)initWithAction:(DBSHARINGMemberAction *)action allow:(NSNumber *)allow { return [self initWithAction:action allow:allow reason:nil]; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGMemberPermissionSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGMemberPermissionSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGMemberPermissionSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (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]; } return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToMemberPermission:other]; } - (BOOL)isEqualToMemberPermission:(DBSHARINGMemberPermission *)aMemberPermission { if (self == aMemberPermission) { return YES; } if (![self.action isEqual:aMemberPermission.action]) { return NO; } if (![self.allow isEqual:aMemberPermission.allow]) { return NO; } if (self.reason) { if (![self.reason isEqual:aMemberPermission.reason]) { return NO; } } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGMemberPermissionSerializer + (NSDictionary *)serialize:(DBSHARINGMemberPermission *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"action"] = [DBSHARINGMemberActionSerializer serialize:valueObj.action]; jsonDict[@"allow"] = valueObj.allow; if (valueObj.reason) { jsonDict[@"reason"] = [DBSHARINGPermissionDeniedReasonSerializer serialize:valueObj.reason]; } return jsonDict; } + (DBSHARINGMemberPermission *)deserialize:(NSDictionary *)valueDict { DBSHARINGMemberAction *action = [DBSHARINGMemberActionSerializer deserialize:valueDict[@"action"]]; NSNumber *allow = valueDict[@"allow"]; DBSHARINGPermissionDeniedReason *reason = valueDict[@"reason"] ? [DBSHARINGPermissionDeniedReasonSerializer deserialize:valueDict[@"reason"]] : nil; return [[DBSHARINGMemberPermission alloc] initWithAction:action allow:allow reason:reason]; } @end #import "DBSHARINGMemberPolicy.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGMemberPolicy #pragma mark - Constructors - (instancetype)initWithTeam { self = [super init]; if (self) { _tag = DBSHARINGMemberPolicyTeam; } return self; } - (instancetype)initWithAnyone { self = [super init]; if (self) { _tag = DBSHARINGMemberPolicyAnyone; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBSHARINGMemberPolicyOther; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isTeam { return _tag == DBSHARINGMemberPolicyTeam; } - (BOOL)isAnyone { return _tag == DBSHARINGMemberPolicyAnyone; } - (BOOL)isOther { return _tag == DBSHARINGMemberPolicyOther; } - (NSString *)tagName { switch (_tag) { case DBSHARINGMemberPolicyTeam: return @"DBSHARINGMemberPolicyTeam"; case DBSHARINGMemberPolicyAnyone: return @"DBSHARINGMemberPolicyAnyone"; case DBSHARINGMemberPolicyOther: return @"DBSHARINGMemberPolicyOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGMemberPolicySerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGMemberPolicySerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGMemberPolicySerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToMemberPolicy:other]; } - (BOOL)isEqualToMemberPolicy:(DBSHARINGMemberPolicy *)aMemberPolicy { if (self == aMemberPolicy) { return YES; } if (self.tag != aMemberPolicy.tag) { return NO; } switch (_tag) { case DBSHARINGMemberPolicyTeam: return [[self tagName] isEqual:[aMemberPolicy tagName]]; case DBSHARINGMemberPolicyAnyone: return [[self tagName] isEqual:[aMemberPolicy tagName]]; case DBSHARINGMemberPolicyOther: return [[self tagName] isEqual:[aMemberPolicy tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGMemberPolicySerializer + (NSDictionary *)serialize:(DBSHARINGMemberPolicy *)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; } + (DBSHARINGMemberPolicy *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"team"]) { return [[DBSHARINGMemberPolicy alloc] initWithTeam]; } else if ([tag isEqualToString:@"anyone"]) { return [[DBSHARINGMemberPolicy alloc] initWithAnyone]; } else if ([tag isEqualToString:@"other"]) { return [[DBSHARINGMemberPolicy alloc] initWithOther]; } else { return [[DBSHARINGMemberPolicy alloc] initWithOther]; } } @end #import "DBSHARINGMemberSelector.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGMemberSelector @synthesize dropboxId = _dropboxId; @synthesize email = _email; #pragma mark - Constructors - (instancetype)initWithDropboxId:(NSString *)dropboxId { self = [super init]; if (self) { _tag = DBSHARINGMemberSelectorDropboxId; _dropboxId = dropboxId; } return self; } - (instancetype)initWithEmail:(NSString *)email { self = [super init]; if (self) { _tag = DBSHARINGMemberSelectorEmail; _email = email; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBSHARINGMemberSelectorOther; } return self; } #pragma mark - Instance field accessors - (NSString *)dropboxId { if (![self isDropboxId]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBSHARINGMemberSelectorDropboxId, but was %@.", [self tagName]]; } return _dropboxId; } - (NSString *)email { if (![self isEmail]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBSHARINGMemberSelectorEmail, but was %@.", [self tagName]]; } return _email; } #pragma mark - Tag state methods - (BOOL)isDropboxId { return _tag == DBSHARINGMemberSelectorDropboxId; } - (BOOL)isEmail { return _tag == DBSHARINGMemberSelectorEmail; } - (BOOL)isOther { return _tag == DBSHARINGMemberSelectorOther; } - (NSString *)tagName { switch (_tag) { case DBSHARINGMemberSelectorDropboxId: return @"DBSHARINGMemberSelectorDropboxId"; case DBSHARINGMemberSelectorEmail: return @"DBSHARINGMemberSelectorEmail"; case DBSHARINGMemberSelectorOther: return @"DBSHARINGMemberSelectorOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGMemberSelectorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGMemberSelectorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGMemberSelectorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToMemberSelector:other]; } - (BOOL)isEqualToMemberSelector:(DBSHARINGMemberSelector *)aMemberSelector { if (self == aMemberSelector) { return YES; } if (self.tag != aMemberSelector.tag) { return NO; } switch (_tag) { case DBSHARINGMemberSelectorDropboxId: return [self.dropboxId isEqual:aMemberSelector.dropboxId]; case DBSHARINGMemberSelectorEmail: return [self.email isEqual:aMemberSelector.email]; case DBSHARINGMemberSelectorOther: return [[self tagName] isEqual:[aMemberSelector tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGMemberSelectorSerializer + (NSDictionary *)serialize:(DBSHARINGMemberSelector *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isDropboxId]) { jsonDict[@"dropbox_id"] = valueObj.dropboxId; jsonDict[@".tag"] = @"dropbox_id"; } else if ([valueObj isEmail]) { jsonDict[@"email"] = valueObj.email; jsonDict[@".tag"] = @"email"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBSHARINGMemberSelector *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"dropbox_id"]) { NSString *dropboxId = valueDict[@"dropbox_id"]; return [[DBSHARINGMemberSelector alloc] initWithDropboxId:dropboxId]; } else if ([tag isEqualToString:@"email"]) { NSString *email = valueDict[@"email"]; return [[DBSHARINGMemberSelector alloc] initWithEmail:email]; } else if ([tag isEqualToString:@"other"]) { return [[DBSHARINGMemberSelector alloc] initWithOther]; } else { return [[DBSHARINGMemberSelector alloc] initWithOther]; } } @end #import "DBSHARINGModifySharedLinkSettingsArgs.h" #import "DBSHARINGSharedLinkSettings.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGModifySharedLinkSettingsArgs #pragma mark - Constructors - (instancetype)initWithUrl:(NSString *)url settings:(DBSHARINGSharedLinkSettings *)settings removeExpiration:(NSNumber *)removeExpiration { [DBStoneValidators nonnullValidator:nil](url); [DBStoneValidators nonnullValidator:nil](settings); self = [super init]; if (self) { _url = url; _settings = settings; _removeExpiration = removeExpiration ?: @NO; } return self; } - (instancetype)initWithUrl:(NSString *)url settings:(DBSHARINGSharedLinkSettings *)settings { return [self initWithUrl:url settings:settings removeExpiration:nil]; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGModifySharedLinkSettingsArgsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGModifySharedLinkSettingsArgsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGModifySharedLinkSettingsArgsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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.settings hash]; result = prime * result + [self.removeExpiration hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToModifySharedLinkSettingsArgs:other]; } - (BOOL)isEqualToModifySharedLinkSettingsArgs:(DBSHARINGModifySharedLinkSettingsArgs *)aModifySharedLinkSettingsArgs { if (self == aModifySharedLinkSettingsArgs) { return YES; } if (![self.url isEqual:aModifySharedLinkSettingsArgs.url]) { return NO; } if (![self.settings isEqual:aModifySharedLinkSettingsArgs.settings]) { return NO; } if (![self.removeExpiration isEqual:aModifySharedLinkSettingsArgs.removeExpiration]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGModifySharedLinkSettingsArgsSerializer + (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; } + (DBSHARINGModifySharedLinkSettingsArgs *)deserialize:(NSDictionary *)valueDict { NSString *url = valueDict[@"url"]; DBSHARINGSharedLinkSettings *settings = [DBSHARINGSharedLinkSettingsSerializer deserialize:valueDict[@"settings"]]; NSNumber *removeExpiration = valueDict[@"remove_expiration"] ?: @NO; return [[DBSHARINGModifySharedLinkSettingsArgs alloc] initWithUrl:url settings:settings removeExpiration:removeExpiration]; } @end #import "DBSHARINGModifySharedLinkSettingsError.h" #import "DBSHARINGSharedLinkError.h" #import "DBSHARINGSharedLinkSettingsError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGModifySharedLinkSettingsError @synthesize settingsError = _settingsError; #pragma mark - Constructors - (instancetype)initWithSharedLinkNotFound { self = [super init]; if (self) { _tag = DBSHARINGModifySharedLinkSettingsErrorSharedLinkNotFound; } return self; } - (instancetype)initWithSharedLinkAccessDenied { self = [super init]; if (self) { _tag = DBSHARINGModifySharedLinkSettingsErrorSharedLinkAccessDenied; } return self; } - (instancetype)initWithUnsupportedLinkType { self = [super init]; if (self) { _tag = DBSHARINGModifySharedLinkSettingsErrorUnsupportedLinkType; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBSHARINGModifySharedLinkSettingsErrorOther; } return self; } - (instancetype)initWithSettingsError:(DBSHARINGSharedLinkSettingsError *)settingsError { self = [super init]; if (self) { _tag = DBSHARINGModifySharedLinkSettingsErrorSettingsError; _settingsError = settingsError; } return self; } - (instancetype)initWithEmailNotVerified { self = [super init]; if (self) { _tag = DBSHARINGModifySharedLinkSettingsErrorEmailNotVerified; } return self; } #pragma mark - Instance field accessors - (DBSHARINGSharedLinkSettingsError *)settingsError { if (![self isSettingsError]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBSHARINGModifySharedLinkSettingsErrorSettingsError, but was %@.", [self tagName]]; } return _settingsError; } #pragma mark - Tag state methods - (BOOL)isSharedLinkNotFound { return _tag == DBSHARINGModifySharedLinkSettingsErrorSharedLinkNotFound; } - (BOOL)isSharedLinkAccessDenied { return _tag == DBSHARINGModifySharedLinkSettingsErrorSharedLinkAccessDenied; } - (BOOL)isUnsupportedLinkType { return _tag == DBSHARINGModifySharedLinkSettingsErrorUnsupportedLinkType; } - (BOOL)isOther { return _tag == DBSHARINGModifySharedLinkSettingsErrorOther; } - (BOOL)isSettingsError { return _tag == DBSHARINGModifySharedLinkSettingsErrorSettingsError; } - (BOOL)isEmailNotVerified { return _tag == DBSHARINGModifySharedLinkSettingsErrorEmailNotVerified; } - (NSString *)tagName { switch (_tag) { case DBSHARINGModifySharedLinkSettingsErrorSharedLinkNotFound: return @"DBSHARINGModifySharedLinkSettingsErrorSharedLinkNotFound"; case DBSHARINGModifySharedLinkSettingsErrorSharedLinkAccessDenied: return @"DBSHARINGModifySharedLinkSettingsErrorSharedLinkAccessDenied"; case DBSHARINGModifySharedLinkSettingsErrorUnsupportedLinkType: return @"DBSHARINGModifySharedLinkSettingsErrorUnsupportedLinkType"; case DBSHARINGModifySharedLinkSettingsErrorOther: return @"DBSHARINGModifySharedLinkSettingsErrorOther"; case DBSHARINGModifySharedLinkSettingsErrorSettingsError: return @"DBSHARINGModifySharedLinkSettingsErrorSettingsError"; case DBSHARINGModifySharedLinkSettingsErrorEmailNotVerified: return @"DBSHARINGModifySharedLinkSettingsErrorEmailNotVerified"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGModifySharedLinkSettingsErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGModifySharedLinkSettingsErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGModifySharedLinkSettingsErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToModifySharedLinkSettingsError:other]; } - (BOOL)isEqualToModifySharedLinkSettingsError: (DBSHARINGModifySharedLinkSettingsError *)aModifySharedLinkSettingsError { if (self == aModifySharedLinkSettingsError) { return YES; } if (self.tag != aModifySharedLinkSettingsError.tag) { return NO; } switch (_tag) { case DBSHARINGModifySharedLinkSettingsErrorSharedLinkNotFound: return [[self tagName] isEqual:[aModifySharedLinkSettingsError tagName]]; case DBSHARINGModifySharedLinkSettingsErrorSharedLinkAccessDenied: return [[self tagName] isEqual:[aModifySharedLinkSettingsError tagName]]; case DBSHARINGModifySharedLinkSettingsErrorUnsupportedLinkType: return [[self tagName] isEqual:[aModifySharedLinkSettingsError tagName]]; case DBSHARINGModifySharedLinkSettingsErrorOther: return [[self tagName] isEqual:[aModifySharedLinkSettingsError tagName]]; case DBSHARINGModifySharedLinkSettingsErrorSettingsError: return [self.settingsError isEqual:aModifySharedLinkSettingsError.settingsError]; case DBSHARINGModifySharedLinkSettingsErrorEmailNotVerified: return [[self tagName] isEqual:[aModifySharedLinkSettingsError tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGModifySharedLinkSettingsErrorSerializer + (NSDictionary *)serialize:(DBSHARINGModifySharedLinkSettingsError *)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 isSettingsError]) { jsonDict[@"settings_error"] = [[DBSHARINGSharedLinkSettingsErrorSerializer serialize:valueObj.settingsError] mutableCopy]; jsonDict[@".tag"] = @"settings_error"; } else if ([valueObj isEmailNotVerified]) { jsonDict[@".tag"] = @"email_not_verified"; } else { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBSHARINGModifySharedLinkSettingsError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"shared_link_not_found"]) { return [[DBSHARINGModifySharedLinkSettingsError alloc] initWithSharedLinkNotFound]; } else if ([tag isEqualToString:@"shared_link_access_denied"]) { return [[DBSHARINGModifySharedLinkSettingsError alloc] initWithSharedLinkAccessDenied]; } else if ([tag isEqualToString:@"unsupported_link_type"]) { return [[DBSHARINGModifySharedLinkSettingsError alloc] initWithUnsupportedLinkType]; } else if ([tag isEqualToString:@"other"]) { return [[DBSHARINGModifySharedLinkSettingsError alloc] initWithOther]; } else if ([tag isEqualToString:@"settings_error"]) { DBSHARINGSharedLinkSettingsError *settingsError = [DBSHARINGSharedLinkSettingsErrorSerializer deserialize:valueDict[@"settings_error"]]; return [[DBSHARINGModifySharedLinkSettingsError alloc] initWithSettingsError:settingsError]; } else if ([tag isEqualToString:@"email_not_verified"]) { return [[DBSHARINGModifySharedLinkSettingsError alloc] initWithEmailNotVerified]; } else { return [[DBSHARINGModifySharedLinkSettingsError alloc] initWithOther]; } } @end #import "DBSHARINGMountFolderArg.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGMountFolderArg #pragma mark - Constructors - (instancetype)initWithSharedFolderId:(NSString *)sharedFolderId { [DBStoneValidators nonnullValidator:[DBStoneValidators stringValidator:nil maxLength:nil pattern:@"[-_0-9a-zA-Z:]+"]](sharedFolderId); self = [super init]; if (self) { _sharedFolderId = sharedFolderId; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGMountFolderArgSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGMountFolderArgSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGMountFolderArgSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.sharedFolderId hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToMountFolderArg:other]; } - (BOOL)isEqualToMountFolderArg:(DBSHARINGMountFolderArg *)aMountFolderArg { if (self == aMountFolderArg) { return YES; } if (![self.sharedFolderId isEqual:aMountFolderArg.sharedFolderId]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGMountFolderArgSerializer + (NSDictionary *)serialize:(DBSHARINGMountFolderArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"shared_folder_id"] = valueObj.sharedFolderId; return jsonDict; } + (DBSHARINGMountFolderArg *)deserialize:(NSDictionary *)valueDict { NSString *sharedFolderId = valueDict[@"shared_folder_id"]; return [[DBSHARINGMountFolderArg alloc] initWithSharedFolderId:sharedFolderId]; } @end #import "DBSHARINGInsufficientQuotaAmounts.h" #import "DBSHARINGMountFolderError.h" #import "DBSHARINGSharedFolderAccessError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGMountFolderError @synthesize accessError = _accessError; @synthesize insufficientQuota = _insufficientQuota; #pragma mark - Constructors - (instancetype)initWithAccessError:(DBSHARINGSharedFolderAccessError *)accessError { self = [super init]; if (self) { _tag = DBSHARINGMountFolderErrorAccessError; _accessError = accessError; } return self; } - (instancetype)initWithInsideSharedFolder { self = [super init]; if (self) { _tag = DBSHARINGMountFolderErrorInsideSharedFolder; } return self; } - (instancetype)initWithInsufficientQuota:(DBSHARINGInsufficientQuotaAmounts *)insufficientQuota { self = [super init]; if (self) { _tag = DBSHARINGMountFolderErrorInsufficientQuota; _insufficientQuota = insufficientQuota; } return self; } - (instancetype)initWithAlreadyMounted { self = [super init]; if (self) { _tag = DBSHARINGMountFolderErrorAlreadyMounted; } return self; } - (instancetype)initWithNoPermission { self = [super init]; if (self) { _tag = DBSHARINGMountFolderErrorNoPermission; } return self; } - (instancetype)initWithNotMountable { self = [super init]; if (self) { _tag = DBSHARINGMountFolderErrorNotMountable; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBSHARINGMountFolderErrorOther; } return self; } #pragma mark - Instance field accessors - (DBSHARINGSharedFolderAccessError *)accessError { if (![self isAccessError]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBSHARINGMountFolderErrorAccessError, but was %@.", [self tagName]]; } return _accessError; } - (DBSHARINGInsufficientQuotaAmounts *)insufficientQuota { if (![self isInsufficientQuota]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBSHARINGMountFolderErrorInsufficientQuota, but was %@.", [self tagName]]; } return _insufficientQuota; } #pragma mark - Tag state methods - (BOOL)isAccessError { return _tag == DBSHARINGMountFolderErrorAccessError; } - (BOOL)isInsideSharedFolder { return _tag == DBSHARINGMountFolderErrorInsideSharedFolder; } - (BOOL)isInsufficientQuota { return _tag == DBSHARINGMountFolderErrorInsufficientQuota; } - (BOOL)isAlreadyMounted { return _tag == DBSHARINGMountFolderErrorAlreadyMounted; } - (BOOL)isNoPermission { return _tag == DBSHARINGMountFolderErrorNoPermission; } - (BOOL)isNotMountable { return _tag == DBSHARINGMountFolderErrorNotMountable; } - (BOOL)isOther { return _tag == DBSHARINGMountFolderErrorOther; } - (NSString *)tagName { switch (_tag) { case DBSHARINGMountFolderErrorAccessError: return @"DBSHARINGMountFolderErrorAccessError"; case DBSHARINGMountFolderErrorInsideSharedFolder: return @"DBSHARINGMountFolderErrorInsideSharedFolder"; case DBSHARINGMountFolderErrorInsufficientQuota: return @"DBSHARINGMountFolderErrorInsufficientQuota"; case DBSHARINGMountFolderErrorAlreadyMounted: return @"DBSHARINGMountFolderErrorAlreadyMounted"; case DBSHARINGMountFolderErrorNoPermission: return @"DBSHARINGMountFolderErrorNoPermission"; case DBSHARINGMountFolderErrorNotMountable: return @"DBSHARINGMountFolderErrorNotMountable"; case DBSHARINGMountFolderErrorOther: return @"DBSHARINGMountFolderErrorOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGMountFolderErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGMountFolderErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGMountFolderErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToMountFolderError:other]; } - (BOOL)isEqualToMountFolderError:(DBSHARINGMountFolderError *)aMountFolderError { if (self == aMountFolderError) { return YES; } if (self.tag != aMountFolderError.tag) { return NO; } switch (_tag) { case DBSHARINGMountFolderErrorAccessError: return [self.accessError isEqual:aMountFolderError.accessError]; case DBSHARINGMountFolderErrorInsideSharedFolder: return [[self tagName] isEqual:[aMountFolderError tagName]]; case DBSHARINGMountFolderErrorInsufficientQuota: return [self.insufficientQuota isEqual:aMountFolderError.insufficientQuota]; case DBSHARINGMountFolderErrorAlreadyMounted: return [[self tagName] isEqual:[aMountFolderError tagName]]; case DBSHARINGMountFolderErrorNoPermission: return [[self tagName] isEqual:[aMountFolderError tagName]]; case DBSHARINGMountFolderErrorNotMountable: return [[self tagName] isEqual:[aMountFolderError tagName]]; case DBSHARINGMountFolderErrorOther: return [[self tagName] isEqual:[aMountFolderError tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGMountFolderErrorSerializer + (NSDictionary *)serialize:(DBSHARINGMountFolderError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isAccessError]) { jsonDict[@"access_error"] = [[DBSHARINGSharedFolderAccessErrorSerializer serialize:valueObj.accessError] mutableCopy]; jsonDict[@".tag"] = @"access_error"; } else if ([valueObj isInsideSharedFolder]) { jsonDict[@".tag"] = @"inside_shared_folder"; } else if ([valueObj isInsufficientQuota]) { [jsonDict addEntriesFromDictionary:[DBSHARINGInsufficientQuotaAmountsSerializer serialize:valueObj.insufficientQuota]]; jsonDict[@".tag"] = @"insufficient_quota"; } else if ([valueObj isAlreadyMounted]) { jsonDict[@".tag"] = @"already_mounted"; } else if ([valueObj isNoPermission]) { jsonDict[@".tag"] = @"no_permission"; } else if ([valueObj isNotMountable]) { jsonDict[@".tag"] = @"not_mountable"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBSHARINGMountFolderError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"access_error"]) { DBSHARINGSharedFolderAccessError *accessError = [DBSHARINGSharedFolderAccessErrorSerializer deserialize:valueDict[@"access_error"]]; return [[DBSHARINGMountFolderError alloc] initWithAccessError:accessError]; } else if ([tag isEqualToString:@"inside_shared_folder"]) { return [[DBSHARINGMountFolderError alloc] initWithInsideSharedFolder]; } else if ([tag isEqualToString:@"insufficient_quota"]) { DBSHARINGInsufficientQuotaAmounts *insufficientQuota = [DBSHARINGInsufficientQuotaAmountsSerializer deserialize:valueDict]; return [[DBSHARINGMountFolderError alloc] initWithInsufficientQuota:insufficientQuota]; } else if ([tag isEqualToString:@"already_mounted"]) { return [[DBSHARINGMountFolderError alloc] initWithAlreadyMounted]; } else if ([tag isEqualToString:@"no_permission"]) { return [[DBSHARINGMountFolderError alloc] initWithNoPermission]; } else if ([tag isEqualToString:@"not_mountable"]) { return [[DBSHARINGMountFolderError alloc] initWithNotMountable]; } else if ([tag isEqualToString:@"other"]) { return [[DBSHARINGMountFolderError alloc] initWithOther]; } else { return [[DBSHARINGMountFolderError alloc] initWithOther]; } } @end #import "DBSHARINGMemberPermission.h" #import "DBSHARINGParentFolderAccessInfo.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGParentFolderAccessInfo #pragma mark - Constructors - (instancetype)initWithFolderName:(NSString *)folderName sharedFolderId:(NSString *)sharedFolderId permissions:(NSArray *)permissions path:(NSString *)path { [DBStoneValidators nonnullValidator:nil](folderName); [DBStoneValidators nonnullValidator:[DBStoneValidators stringValidator:nil maxLength:nil pattern:@"[-_0-9a-zA-Z:]+"]](sharedFolderId); [DBStoneValidators nonnullValidator:[DBStoneValidators arrayValidator:nil maxItems:nil itemValidator:[DBStoneValidators nonnullValidator:nil]]](permissions); [DBStoneValidators nonnullValidator:nil](path); self = [super init]; if (self) { _folderName = folderName; _sharedFolderId = sharedFolderId; _permissions = permissions; _path = path; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGParentFolderAccessInfoSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGParentFolderAccessInfoSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGParentFolderAccessInfoSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.folderName hash]; result = prime * result + [self.sharedFolderId hash]; result = prime * result + [self.permissions hash]; 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 isEqualToParentFolderAccessInfo:other]; } - (BOOL)isEqualToParentFolderAccessInfo:(DBSHARINGParentFolderAccessInfo *)aParentFolderAccessInfo { if (self == aParentFolderAccessInfo) { return YES; } if (![self.folderName isEqual:aParentFolderAccessInfo.folderName]) { return NO; } if (![self.sharedFolderId isEqual:aParentFolderAccessInfo.sharedFolderId]) { return NO; } if (![self.permissions isEqual:aParentFolderAccessInfo.permissions]) { return NO; } if (![self.path isEqual:aParentFolderAccessInfo.path]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGParentFolderAccessInfoSerializer + (NSDictionary *)serialize:(DBSHARINGParentFolderAccessInfo *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"folder_name"] = valueObj.folderName; jsonDict[@"shared_folder_id"] = valueObj.sharedFolderId; jsonDict[@"permissions"] = [DBArraySerializer serialize:valueObj.permissions withBlock:^id(id elem0) { return [DBSHARINGMemberPermissionSerializer serialize:elem0]; }]; jsonDict[@"path"] = valueObj.path; return jsonDict; } + (DBSHARINGParentFolderAccessInfo *)deserialize:(NSDictionary *)valueDict { NSString *folderName = valueDict[@"folder_name"]; NSString *sharedFolderId = valueDict[@"shared_folder_id"]; NSArray *permissions = [DBArraySerializer deserialize:valueDict[@"permissions"] withBlock:^id(id elem0) { return [DBSHARINGMemberPermissionSerializer deserialize:elem0]; }]; NSString *path = valueDict[@"path"]; return [[DBSHARINGParentFolderAccessInfo alloc] initWithFolderName:folderName sharedFolderId:sharedFolderId permissions:permissions path:path]; } @end #import "DBSHARINGLinkMetadata.h" #import "DBSHARINGPathLinkMetadata.h" #import "DBSHARINGVisibility.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGPathLinkMetadata #pragma mark - Constructors - (instancetype)initWithUrl:(NSString *)url visibility:(DBSHARINGVisibility *)visibility path:(NSString *)path expires:(NSDate *)expires { [DBStoneValidators nonnullValidator:nil](url); [DBStoneValidators nonnullValidator:nil](visibility); [DBStoneValidators nonnullValidator:nil](path); self = [super initWithUrl:url visibility:visibility expires:expires]; if (self) { _path = path; } return self; } - (instancetype)initWithUrl:(NSString *)url visibility:(DBSHARINGVisibility *)visibility path:(NSString *)path { return [self initWithUrl:url visibility:visibility path:path expires:nil]; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGPathLinkMetadataSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGPathLinkMetadataSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGPathLinkMetadataSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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.visibility hash]; result = prime * result + [self.path hash]; if (self.expires != nil) { 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 isEqualToPathLinkMetadata:other]; } - (BOOL)isEqualToPathLinkMetadata:(DBSHARINGPathLinkMetadata *)aPathLinkMetadata { if (self == aPathLinkMetadata) { return YES; } if (![self.url isEqual:aPathLinkMetadata.url]) { return NO; } if (![self.visibility isEqual:aPathLinkMetadata.visibility]) { return NO; } if (![self.path isEqual:aPathLinkMetadata.path]) { return NO; } if (self.expires) { if (![self.expires isEqual:aPathLinkMetadata.expires]) { return NO; } } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGPathLinkMetadataSerializer + (NSDictionary *)serialize:(DBSHARINGPathLinkMetadata *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"url"] = valueObj.url; jsonDict[@"visibility"] = [DBSHARINGVisibilitySerializer serialize:valueObj.visibility]; jsonDict[@"path"] = valueObj.path; if (valueObj.expires) { jsonDict[@"expires"] = [DBNSDateSerializer serialize:valueObj.expires dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; } return jsonDict; } + (DBSHARINGPathLinkMetadata *)deserialize:(NSDictionary *)valueDict { NSString *url = valueDict[@"url"]; DBSHARINGVisibility *visibility = [DBSHARINGVisibilitySerializer deserialize:valueDict[@"visibility"]]; NSString *path = valueDict[@"path"]; NSDate *expires = valueDict[@"expires"] ? [DBNSDateSerializer deserialize:valueDict[@"expires"] dateFormat:@"%Y-%m-%dT%H:%M:%SZ"] : nil; return [[DBSHARINGPathLinkMetadata alloc] initWithUrl:url visibility:visibility path:path expires:expires]; } @end #import "DBSHARINGPendingUploadMode.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGPendingUploadMode #pragma mark - Constructors - (instancetype)initWithFile { self = [super init]; if (self) { _tag = DBSHARINGPendingUploadModeFile; } return self; } - (instancetype)initWithFolder { self = [super init]; if (self) { _tag = DBSHARINGPendingUploadModeFolder; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isFile { return _tag == DBSHARINGPendingUploadModeFile; } - (BOOL)isFolder { return _tag == DBSHARINGPendingUploadModeFolder; } - (NSString *)tagName { switch (_tag) { case DBSHARINGPendingUploadModeFile: return @"DBSHARINGPendingUploadModeFile"; case DBSHARINGPendingUploadModeFolder: return @"DBSHARINGPendingUploadModeFolder"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGPendingUploadModeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGPendingUploadModeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGPendingUploadModeSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 DBSHARINGPendingUploadModeFile: result = prime * result + [[self tagName] hash]; break; case DBSHARINGPendingUploadModeFolder: 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 isEqualToPendingUploadMode:other]; } - (BOOL)isEqualToPendingUploadMode:(DBSHARINGPendingUploadMode *)aPendingUploadMode { if (self == aPendingUploadMode) { return YES; } if (self.tag != aPendingUploadMode.tag) { return NO; } switch (_tag) { case DBSHARINGPendingUploadModeFile: return [[self tagName] isEqual:[aPendingUploadMode tagName]]; case DBSHARINGPendingUploadModeFolder: return [[self tagName] isEqual:[aPendingUploadMode tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGPendingUploadModeSerializer + (NSDictionary *)serialize:(DBSHARINGPendingUploadMode *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isFile]) { jsonDict[@".tag"] = @"file"; } else if ([valueObj isFolder]) { jsonDict[@".tag"] = @"folder"; } else { @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Object not properly initialized. Tag has an unknown value." userInfo:nil]); } return jsonDict; } + (DBSHARINGPendingUploadMode *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"file"]) { return [[DBSHARINGPendingUploadMode alloc] initWithFile]; } else if ([tag isEqualToString:@"folder"]) { return [[DBSHARINGPendingUploadMode alloc] initWithFolder]; } else { @throw([NSException exceptionWithName:@"InvalidTag" reason:[NSString stringWithFormat:@"Tag has an invalid value: \"%@\".", valueDict[@".tag"]] userInfo:nil]); } } @end #import "DBSHARINGInsufficientPlan.h" #import "DBSHARINGPermissionDeniedReason.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGPermissionDeniedReason @synthesize insufficientPlan = _insufficientPlan; #pragma mark - Constructors - (instancetype)initWithUserNotSameTeamAsOwner { self = [super init]; if (self) { _tag = DBSHARINGPermissionDeniedReasonUserNotSameTeamAsOwner; } return self; } - (instancetype)initWithUserNotAllowedByOwner { self = [super init]; if (self) { _tag = DBSHARINGPermissionDeniedReasonUserNotAllowedByOwner; } return self; } - (instancetype)initWithTargetIsIndirectMember { self = [super init]; if (self) { _tag = DBSHARINGPermissionDeniedReasonTargetIsIndirectMember; } return self; } - (instancetype)initWithTargetIsOwner { self = [super init]; if (self) { _tag = DBSHARINGPermissionDeniedReasonTargetIsOwner; } return self; } - (instancetype)initWithTargetIsSelf { self = [super init]; if (self) { _tag = DBSHARINGPermissionDeniedReasonTargetIsSelf; } return self; } - (instancetype)initWithTargetNotActive { self = [super init]; if (self) { _tag = DBSHARINGPermissionDeniedReasonTargetNotActive; } return self; } - (instancetype)initWithFolderIsLimitedTeamFolder { self = [super init]; if (self) { _tag = DBSHARINGPermissionDeniedReasonFolderIsLimitedTeamFolder; } return self; } - (instancetype)initWithOwnerNotOnTeam { self = [super init]; if (self) { _tag = DBSHARINGPermissionDeniedReasonOwnerNotOnTeam; } return self; } - (instancetype)initWithPermissionDenied { self = [super init]; if (self) { _tag = DBSHARINGPermissionDeniedReasonPermissionDenied; } return self; } - (instancetype)initWithRestrictedByTeam { self = [super init]; if (self) { _tag = DBSHARINGPermissionDeniedReasonRestrictedByTeam; } return self; } - (instancetype)initWithUserAccountType { self = [super init]; if (self) { _tag = DBSHARINGPermissionDeniedReasonUserAccountType; } return self; } - (instancetype)initWithUserNotOnTeam { self = [super init]; if (self) { _tag = DBSHARINGPermissionDeniedReasonUserNotOnTeam; } return self; } - (instancetype)initWithFolderIsInsideSharedFolder { self = [super init]; if (self) { _tag = DBSHARINGPermissionDeniedReasonFolderIsInsideSharedFolder; } return self; } - (instancetype)initWithRestrictedByParentFolder { self = [super init]; if (self) { _tag = DBSHARINGPermissionDeniedReasonRestrictedByParentFolder; } return self; } - (instancetype)initWithInsufficientPlan:(DBSHARINGInsufficientPlan *)insufficientPlan { self = [super init]; if (self) { _tag = DBSHARINGPermissionDeniedReasonInsufficientPlan; _insufficientPlan = insufficientPlan; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBSHARINGPermissionDeniedReasonOther; } return self; } #pragma mark - Instance field accessors - (DBSHARINGInsufficientPlan *)insufficientPlan { if (![self isInsufficientPlan]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBSHARINGPermissionDeniedReasonInsufficientPlan, but was %@.", [self tagName]]; } return _insufficientPlan; } #pragma mark - Tag state methods - (BOOL)isUserNotSameTeamAsOwner { return _tag == DBSHARINGPermissionDeniedReasonUserNotSameTeamAsOwner; } - (BOOL)isUserNotAllowedByOwner { return _tag == DBSHARINGPermissionDeniedReasonUserNotAllowedByOwner; } - (BOOL)isTargetIsIndirectMember { return _tag == DBSHARINGPermissionDeniedReasonTargetIsIndirectMember; } - (BOOL)isTargetIsOwner { return _tag == DBSHARINGPermissionDeniedReasonTargetIsOwner; } - (BOOL)isTargetIsSelf { return _tag == DBSHARINGPermissionDeniedReasonTargetIsSelf; } - (BOOL)isTargetNotActive { return _tag == DBSHARINGPermissionDeniedReasonTargetNotActive; } - (BOOL)isFolderIsLimitedTeamFolder { return _tag == DBSHARINGPermissionDeniedReasonFolderIsLimitedTeamFolder; } - (BOOL)isOwnerNotOnTeam { return _tag == DBSHARINGPermissionDeniedReasonOwnerNotOnTeam; } - (BOOL)isPermissionDenied { return _tag == DBSHARINGPermissionDeniedReasonPermissionDenied; } - (BOOL)isRestrictedByTeam { return _tag == DBSHARINGPermissionDeniedReasonRestrictedByTeam; } - (BOOL)isUserAccountType { return _tag == DBSHARINGPermissionDeniedReasonUserAccountType; } - (BOOL)isUserNotOnTeam { return _tag == DBSHARINGPermissionDeniedReasonUserNotOnTeam; } - (BOOL)isFolderIsInsideSharedFolder { return _tag == DBSHARINGPermissionDeniedReasonFolderIsInsideSharedFolder; } - (BOOL)isRestrictedByParentFolder { return _tag == DBSHARINGPermissionDeniedReasonRestrictedByParentFolder; } - (BOOL)isInsufficientPlan { return _tag == DBSHARINGPermissionDeniedReasonInsufficientPlan; } - (BOOL)isOther { return _tag == DBSHARINGPermissionDeniedReasonOther; } - (NSString *)tagName { switch (_tag) { case DBSHARINGPermissionDeniedReasonUserNotSameTeamAsOwner: return @"DBSHARINGPermissionDeniedReasonUserNotSameTeamAsOwner"; case DBSHARINGPermissionDeniedReasonUserNotAllowedByOwner: return @"DBSHARINGPermissionDeniedReasonUserNotAllowedByOwner"; case DBSHARINGPermissionDeniedReasonTargetIsIndirectMember: return @"DBSHARINGPermissionDeniedReasonTargetIsIndirectMember"; case DBSHARINGPermissionDeniedReasonTargetIsOwner: return @"DBSHARINGPermissionDeniedReasonTargetIsOwner"; case DBSHARINGPermissionDeniedReasonTargetIsSelf: return @"DBSHARINGPermissionDeniedReasonTargetIsSelf"; case DBSHARINGPermissionDeniedReasonTargetNotActive: return @"DBSHARINGPermissionDeniedReasonTargetNotActive"; case DBSHARINGPermissionDeniedReasonFolderIsLimitedTeamFolder: return @"DBSHARINGPermissionDeniedReasonFolderIsLimitedTeamFolder"; case DBSHARINGPermissionDeniedReasonOwnerNotOnTeam: return @"DBSHARINGPermissionDeniedReasonOwnerNotOnTeam"; case DBSHARINGPermissionDeniedReasonPermissionDenied: return @"DBSHARINGPermissionDeniedReasonPermissionDenied"; case DBSHARINGPermissionDeniedReasonRestrictedByTeam: return @"DBSHARINGPermissionDeniedReasonRestrictedByTeam"; case DBSHARINGPermissionDeniedReasonUserAccountType: return @"DBSHARINGPermissionDeniedReasonUserAccountType"; case DBSHARINGPermissionDeniedReasonUserNotOnTeam: return @"DBSHARINGPermissionDeniedReasonUserNotOnTeam"; case DBSHARINGPermissionDeniedReasonFolderIsInsideSharedFolder: return @"DBSHARINGPermissionDeniedReasonFolderIsInsideSharedFolder"; case DBSHARINGPermissionDeniedReasonRestrictedByParentFolder: return @"DBSHARINGPermissionDeniedReasonRestrictedByParentFolder"; case DBSHARINGPermissionDeniedReasonInsufficientPlan: return @"DBSHARINGPermissionDeniedReasonInsufficientPlan"; case DBSHARINGPermissionDeniedReasonOther: return @"DBSHARINGPermissionDeniedReasonOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGPermissionDeniedReasonSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGPermissionDeniedReasonSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGPermissionDeniedReasonSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToPermissionDeniedReason:other]; } - (BOOL)isEqualToPermissionDeniedReason:(DBSHARINGPermissionDeniedReason *)aPermissionDeniedReason { if (self == aPermissionDeniedReason) { return YES; } if (self.tag != aPermissionDeniedReason.tag) { return NO; } switch (_tag) { case DBSHARINGPermissionDeniedReasonUserNotSameTeamAsOwner: return [[self tagName] isEqual:[aPermissionDeniedReason tagName]]; case DBSHARINGPermissionDeniedReasonUserNotAllowedByOwner: return [[self tagName] isEqual:[aPermissionDeniedReason tagName]]; case DBSHARINGPermissionDeniedReasonTargetIsIndirectMember: return [[self tagName] isEqual:[aPermissionDeniedReason tagName]]; case DBSHARINGPermissionDeniedReasonTargetIsOwner: return [[self tagName] isEqual:[aPermissionDeniedReason tagName]]; case DBSHARINGPermissionDeniedReasonTargetIsSelf: return [[self tagName] isEqual:[aPermissionDeniedReason tagName]]; case DBSHARINGPermissionDeniedReasonTargetNotActive: return [[self tagName] isEqual:[aPermissionDeniedReason tagName]]; case DBSHARINGPermissionDeniedReasonFolderIsLimitedTeamFolder: return [[self tagName] isEqual:[aPermissionDeniedReason tagName]]; case DBSHARINGPermissionDeniedReasonOwnerNotOnTeam: return [[self tagName] isEqual:[aPermissionDeniedReason tagName]]; case DBSHARINGPermissionDeniedReasonPermissionDenied: return [[self tagName] isEqual:[aPermissionDeniedReason tagName]]; case DBSHARINGPermissionDeniedReasonRestrictedByTeam: return [[self tagName] isEqual:[aPermissionDeniedReason tagName]]; case DBSHARINGPermissionDeniedReasonUserAccountType: return [[self tagName] isEqual:[aPermissionDeniedReason tagName]]; case DBSHARINGPermissionDeniedReasonUserNotOnTeam: return [[self tagName] isEqual:[aPermissionDeniedReason tagName]]; case DBSHARINGPermissionDeniedReasonFolderIsInsideSharedFolder: return [[self tagName] isEqual:[aPermissionDeniedReason tagName]]; case DBSHARINGPermissionDeniedReasonRestrictedByParentFolder: return [[self tagName] isEqual:[aPermissionDeniedReason tagName]]; case DBSHARINGPermissionDeniedReasonInsufficientPlan: return [self.insufficientPlan isEqual:aPermissionDeniedReason.insufficientPlan]; case DBSHARINGPermissionDeniedReasonOther: return [[self tagName] isEqual:[aPermissionDeniedReason tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGPermissionDeniedReasonSerializer + (NSDictionary *)serialize:(DBSHARINGPermissionDeniedReason *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isUserNotSameTeamAsOwner]) { jsonDict[@".tag"] = @"user_not_same_team_as_owner"; } else if ([valueObj isUserNotAllowedByOwner]) { jsonDict[@".tag"] = @"user_not_allowed_by_owner"; } else if ([valueObj isTargetIsIndirectMember]) { jsonDict[@".tag"] = @"target_is_indirect_member"; } else if ([valueObj isTargetIsOwner]) { jsonDict[@".tag"] = @"target_is_owner"; } else if ([valueObj isTargetIsSelf]) { jsonDict[@".tag"] = @"target_is_self"; } else if ([valueObj isTargetNotActive]) { jsonDict[@".tag"] = @"target_not_active"; } else if ([valueObj isFolderIsLimitedTeamFolder]) { jsonDict[@".tag"] = @"folder_is_limited_team_folder"; } else if ([valueObj isOwnerNotOnTeam]) { jsonDict[@".tag"] = @"owner_not_on_team"; } else if ([valueObj isPermissionDenied]) { jsonDict[@".tag"] = @"permission_denied"; } else if ([valueObj isRestrictedByTeam]) { jsonDict[@".tag"] = @"restricted_by_team"; } else if ([valueObj isUserAccountType]) { jsonDict[@".tag"] = @"user_account_type"; } else if ([valueObj isUserNotOnTeam]) { jsonDict[@".tag"] = @"user_not_on_team"; } else if ([valueObj isFolderIsInsideSharedFolder]) { jsonDict[@".tag"] = @"folder_is_inside_shared_folder"; } else if ([valueObj isRestrictedByParentFolder]) { jsonDict[@".tag"] = @"restricted_by_parent_folder"; } else if ([valueObj isInsufficientPlan]) { [jsonDict addEntriesFromDictionary:[DBSHARINGInsufficientPlanSerializer serialize:valueObj.insufficientPlan]]; jsonDict[@".tag"] = @"insufficient_plan"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBSHARINGPermissionDeniedReason *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"user_not_same_team_as_owner"]) { return [[DBSHARINGPermissionDeniedReason alloc] initWithUserNotSameTeamAsOwner]; } else if ([tag isEqualToString:@"user_not_allowed_by_owner"]) { return [[DBSHARINGPermissionDeniedReason alloc] initWithUserNotAllowedByOwner]; } else if ([tag isEqualToString:@"target_is_indirect_member"]) { return [[DBSHARINGPermissionDeniedReason alloc] initWithTargetIsIndirectMember]; } else if ([tag isEqualToString:@"target_is_owner"]) { return [[DBSHARINGPermissionDeniedReason alloc] initWithTargetIsOwner]; } else if ([tag isEqualToString:@"target_is_self"]) { return [[DBSHARINGPermissionDeniedReason alloc] initWithTargetIsSelf]; } else if ([tag isEqualToString:@"target_not_active"]) { return [[DBSHARINGPermissionDeniedReason alloc] initWithTargetNotActive]; } else if ([tag isEqualToString:@"folder_is_limited_team_folder"]) { return [[DBSHARINGPermissionDeniedReason alloc] initWithFolderIsLimitedTeamFolder]; } else if ([tag isEqualToString:@"owner_not_on_team"]) { return [[DBSHARINGPermissionDeniedReason alloc] initWithOwnerNotOnTeam]; } else if ([tag isEqualToString:@"permission_denied"]) { return [[DBSHARINGPermissionDeniedReason alloc] initWithPermissionDenied]; } else if ([tag isEqualToString:@"restricted_by_team"]) { return [[DBSHARINGPermissionDeniedReason alloc] initWithRestrictedByTeam]; } else if ([tag isEqualToString:@"user_account_type"]) { return [[DBSHARINGPermissionDeniedReason alloc] initWithUserAccountType]; } else if ([tag isEqualToString:@"user_not_on_team"]) { return [[DBSHARINGPermissionDeniedReason alloc] initWithUserNotOnTeam]; } else if ([tag isEqualToString:@"folder_is_inside_shared_folder"]) { return [[DBSHARINGPermissionDeniedReason alloc] initWithFolderIsInsideSharedFolder]; } else if ([tag isEqualToString:@"restricted_by_parent_folder"]) { return [[DBSHARINGPermissionDeniedReason alloc] initWithRestrictedByParentFolder]; } else if ([tag isEqualToString:@"insufficient_plan"]) { DBSHARINGInsufficientPlan *insufficientPlan = [DBSHARINGInsufficientPlanSerializer deserialize:valueDict]; return [[DBSHARINGPermissionDeniedReason alloc] initWithInsufficientPlan:insufficientPlan]; } else if ([tag isEqualToString:@"other"]) { return [[DBSHARINGPermissionDeniedReason alloc] initWithOther]; } else { return [[DBSHARINGPermissionDeniedReason alloc] initWithOther]; } } @end #import "DBSHARINGRelinquishFileMembershipArg.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGRelinquishFileMembershipArg #pragma mark - Constructors - (instancetype)initWithFile:(NSString *)file { [DBStoneValidators nonnullValidator:[DBStoneValidators stringValidator:@(1) maxLength:nil pattern:@"((/|id:).*|nspath:[0-9]+:.*)|ns:[0-9]+(/.*)?"]](file); self = [super init]; if (self) { _file = file; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGRelinquishFileMembershipArgSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGRelinquishFileMembershipArgSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGRelinquishFileMembershipArgSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.file hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToRelinquishFileMembershipArg:other]; } - (BOOL)isEqualToRelinquishFileMembershipArg:(DBSHARINGRelinquishFileMembershipArg *)aRelinquishFileMembershipArg { if (self == aRelinquishFileMembershipArg) { return YES; } if (![self.file isEqual:aRelinquishFileMembershipArg.file]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGRelinquishFileMembershipArgSerializer + (NSDictionary *)serialize:(DBSHARINGRelinquishFileMembershipArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"file"] = valueObj.file; return jsonDict; } + (DBSHARINGRelinquishFileMembershipArg *)deserialize:(NSDictionary *)valueDict { NSString *file = valueDict[@"file"]; return [[DBSHARINGRelinquishFileMembershipArg alloc] initWithFile:file]; } @end #import "DBSHARINGRelinquishFileMembershipError.h" #import "DBSHARINGSharingFileAccessError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGRelinquishFileMembershipError @synthesize accessError = _accessError; #pragma mark - Constructors - (instancetype)initWithAccessError:(DBSHARINGSharingFileAccessError *)accessError { self = [super init]; if (self) { _tag = DBSHARINGRelinquishFileMembershipErrorAccessError; _accessError = accessError; } return self; } - (instancetype)initWithGroupAccess { self = [super init]; if (self) { _tag = DBSHARINGRelinquishFileMembershipErrorGroupAccess; } return self; } - (instancetype)initWithNoPermission { self = [super init]; if (self) { _tag = DBSHARINGRelinquishFileMembershipErrorNoPermission; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBSHARINGRelinquishFileMembershipErrorOther; } return self; } #pragma mark - Instance field accessors - (DBSHARINGSharingFileAccessError *)accessError { if (![self isAccessError]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBSHARINGRelinquishFileMembershipErrorAccessError, but was %@.", [self tagName]]; } return _accessError; } #pragma mark - Tag state methods - (BOOL)isAccessError { return _tag == DBSHARINGRelinquishFileMembershipErrorAccessError; } - (BOOL)isGroupAccess { return _tag == DBSHARINGRelinquishFileMembershipErrorGroupAccess; } - (BOOL)isNoPermission { return _tag == DBSHARINGRelinquishFileMembershipErrorNoPermission; } - (BOOL)isOther { return _tag == DBSHARINGRelinquishFileMembershipErrorOther; } - (NSString *)tagName { switch (_tag) { case DBSHARINGRelinquishFileMembershipErrorAccessError: return @"DBSHARINGRelinquishFileMembershipErrorAccessError"; case DBSHARINGRelinquishFileMembershipErrorGroupAccess: return @"DBSHARINGRelinquishFileMembershipErrorGroupAccess"; case DBSHARINGRelinquishFileMembershipErrorNoPermission: return @"DBSHARINGRelinquishFileMembershipErrorNoPermission"; case DBSHARINGRelinquishFileMembershipErrorOther: return @"DBSHARINGRelinquishFileMembershipErrorOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGRelinquishFileMembershipErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGRelinquishFileMembershipErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGRelinquishFileMembershipErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToRelinquishFileMembershipError:other]; } - (BOOL)isEqualToRelinquishFileMembershipError: (DBSHARINGRelinquishFileMembershipError *)aRelinquishFileMembershipError { if (self == aRelinquishFileMembershipError) { return YES; } if (self.tag != aRelinquishFileMembershipError.tag) { return NO; } switch (_tag) { case DBSHARINGRelinquishFileMembershipErrorAccessError: return [self.accessError isEqual:aRelinquishFileMembershipError.accessError]; case DBSHARINGRelinquishFileMembershipErrorGroupAccess: return [[self tagName] isEqual:[aRelinquishFileMembershipError tagName]]; case DBSHARINGRelinquishFileMembershipErrorNoPermission: return [[self tagName] isEqual:[aRelinquishFileMembershipError tagName]]; case DBSHARINGRelinquishFileMembershipErrorOther: return [[self tagName] isEqual:[aRelinquishFileMembershipError tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGRelinquishFileMembershipErrorSerializer + (NSDictionary *)serialize:(DBSHARINGRelinquishFileMembershipError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isAccessError]) { jsonDict[@"access_error"] = [[DBSHARINGSharingFileAccessErrorSerializer serialize:valueObj.accessError] mutableCopy]; jsonDict[@".tag"] = @"access_error"; } else if ([valueObj isGroupAccess]) { jsonDict[@".tag"] = @"group_access"; } else if ([valueObj isNoPermission]) { jsonDict[@".tag"] = @"no_permission"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBSHARINGRelinquishFileMembershipError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"access_error"]) { DBSHARINGSharingFileAccessError *accessError = [DBSHARINGSharingFileAccessErrorSerializer deserialize:valueDict[@"access_error"]]; return [[DBSHARINGRelinquishFileMembershipError alloc] initWithAccessError:accessError]; } else if ([tag isEqualToString:@"group_access"]) { return [[DBSHARINGRelinquishFileMembershipError alloc] initWithGroupAccess]; } else if ([tag isEqualToString:@"no_permission"]) { return [[DBSHARINGRelinquishFileMembershipError alloc] initWithNoPermission]; } else if ([tag isEqualToString:@"other"]) { return [[DBSHARINGRelinquishFileMembershipError alloc] initWithOther]; } else { return [[DBSHARINGRelinquishFileMembershipError alloc] initWithOther]; } } @end #import "DBSHARINGRelinquishFolderMembershipArg.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGRelinquishFolderMembershipArg #pragma mark - Constructors - (instancetype)initWithSharedFolderId:(NSString *)sharedFolderId leaveACopy:(NSNumber *)leaveACopy { [DBStoneValidators nonnullValidator:[DBStoneValidators stringValidator:nil maxLength:nil pattern:@"[-_0-9a-zA-Z:]+"]](sharedFolderId); self = [super init]; if (self) { _sharedFolderId = sharedFolderId; _leaveACopy = leaveACopy ?: @NO; } return self; } - (instancetype)initWithSharedFolderId:(NSString *)sharedFolderId { return [self initWithSharedFolderId:sharedFolderId leaveACopy:nil]; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGRelinquishFolderMembershipArgSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGRelinquishFolderMembershipArgSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGRelinquishFolderMembershipArgSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.sharedFolderId hash]; result = prime * result + [self.leaveACopy hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToRelinquishFolderMembershipArg:other]; } - (BOOL)isEqualToRelinquishFolderMembershipArg: (DBSHARINGRelinquishFolderMembershipArg *)aRelinquishFolderMembershipArg { if (self == aRelinquishFolderMembershipArg) { return YES; } if (![self.sharedFolderId isEqual:aRelinquishFolderMembershipArg.sharedFolderId]) { return NO; } if (![self.leaveACopy isEqual:aRelinquishFolderMembershipArg.leaveACopy]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGRelinquishFolderMembershipArgSerializer + (NSDictionary *)serialize:(DBSHARINGRelinquishFolderMembershipArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"shared_folder_id"] = valueObj.sharedFolderId; jsonDict[@"leave_a_copy"] = valueObj.leaveACopy; return jsonDict; } + (DBSHARINGRelinquishFolderMembershipArg *)deserialize:(NSDictionary *)valueDict { NSString *sharedFolderId = valueDict[@"shared_folder_id"]; NSNumber *leaveACopy = valueDict[@"leave_a_copy"] ?: @NO; return [[DBSHARINGRelinquishFolderMembershipArg alloc] initWithSharedFolderId:sharedFolderId leaveACopy:leaveACopy]; } @end #import "DBSHARINGRelinquishFolderMembershipError.h" #import "DBSHARINGSharedFolderAccessError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGRelinquishFolderMembershipError @synthesize accessError = _accessError; #pragma mark - Constructors - (instancetype)initWithAccessError:(DBSHARINGSharedFolderAccessError *)accessError { self = [super init]; if (self) { _tag = DBSHARINGRelinquishFolderMembershipErrorAccessError; _accessError = accessError; } return self; } - (instancetype)initWithFolderOwner { self = [super init]; if (self) { _tag = DBSHARINGRelinquishFolderMembershipErrorFolderOwner; } return self; } - (instancetype)initWithMounted { self = [super init]; if (self) { _tag = DBSHARINGRelinquishFolderMembershipErrorMounted; } return self; } - (instancetype)initWithGroupAccess { self = [super init]; if (self) { _tag = DBSHARINGRelinquishFolderMembershipErrorGroupAccess; } return self; } - (instancetype)initWithTeamFolder { self = [super init]; if (self) { _tag = DBSHARINGRelinquishFolderMembershipErrorTeamFolder; } return self; } - (instancetype)initWithNoPermission { self = [super init]; if (self) { _tag = DBSHARINGRelinquishFolderMembershipErrorNoPermission; } return self; } - (instancetype)initWithNoExplicitAccess { self = [super init]; if (self) { _tag = DBSHARINGRelinquishFolderMembershipErrorNoExplicitAccess; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBSHARINGRelinquishFolderMembershipErrorOther; } return self; } #pragma mark - Instance field accessors - (DBSHARINGSharedFolderAccessError *)accessError { if (![self isAccessError]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBSHARINGRelinquishFolderMembershipErrorAccessError, but was %@.", [self tagName]]; } return _accessError; } #pragma mark - Tag state methods - (BOOL)isAccessError { return _tag == DBSHARINGRelinquishFolderMembershipErrorAccessError; } - (BOOL)isFolderOwner { return _tag == DBSHARINGRelinquishFolderMembershipErrorFolderOwner; } - (BOOL)isMounted { return _tag == DBSHARINGRelinquishFolderMembershipErrorMounted; } - (BOOL)isGroupAccess { return _tag == DBSHARINGRelinquishFolderMembershipErrorGroupAccess; } - (BOOL)isTeamFolder { return _tag == DBSHARINGRelinquishFolderMembershipErrorTeamFolder; } - (BOOL)isNoPermission { return _tag == DBSHARINGRelinquishFolderMembershipErrorNoPermission; } - (BOOL)isNoExplicitAccess { return _tag == DBSHARINGRelinquishFolderMembershipErrorNoExplicitAccess; } - (BOOL)isOther { return _tag == DBSHARINGRelinquishFolderMembershipErrorOther; } - (NSString *)tagName { switch (_tag) { case DBSHARINGRelinquishFolderMembershipErrorAccessError: return @"DBSHARINGRelinquishFolderMembershipErrorAccessError"; case DBSHARINGRelinquishFolderMembershipErrorFolderOwner: return @"DBSHARINGRelinquishFolderMembershipErrorFolderOwner"; case DBSHARINGRelinquishFolderMembershipErrorMounted: return @"DBSHARINGRelinquishFolderMembershipErrorMounted"; case DBSHARINGRelinquishFolderMembershipErrorGroupAccess: return @"DBSHARINGRelinquishFolderMembershipErrorGroupAccess"; case DBSHARINGRelinquishFolderMembershipErrorTeamFolder: return @"DBSHARINGRelinquishFolderMembershipErrorTeamFolder"; case DBSHARINGRelinquishFolderMembershipErrorNoPermission: return @"DBSHARINGRelinquishFolderMembershipErrorNoPermission"; case DBSHARINGRelinquishFolderMembershipErrorNoExplicitAccess: return @"DBSHARINGRelinquishFolderMembershipErrorNoExplicitAccess"; case DBSHARINGRelinquishFolderMembershipErrorOther: return @"DBSHARINGRelinquishFolderMembershipErrorOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGRelinquishFolderMembershipErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGRelinquishFolderMembershipErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGRelinquishFolderMembershipErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToRelinquishFolderMembershipError:other]; } - (BOOL)isEqualToRelinquishFolderMembershipError: (DBSHARINGRelinquishFolderMembershipError *)aRelinquishFolderMembershipError { if (self == aRelinquishFolderMembershipError) { return YES; } if (self.tag != aRelinquishFolderMembershipError.tag) { return NO; } switch (_tag) { case DBSHARINGRelinquishFolderMembershipErrorAccessError: return [self.accessError isEqual:aRelinquishFolderMembershipError.accessError]; case DBSHARINGRelinquishFolderMembershipErrorFolderOwner: return [[self tagName] isEqual:[aRelinquishFolderMembershipError tagName]]; case DBSHARINGRelinquishFolderMembershipErrorMounted: return [[self tagName] isEqual:[aRelinquishFolderMembershipError tagName]]; case DBSHARINGRelinquishFolderMembershipErrorGroupAccess: return [[self tagName] isEqual:[aRelinquishFolderMembershipError tagName]]; case DBSHARINGRelinquishFolderMembershipErrorTeamFolder: return [[self tagName] isEqual:[aRelinquishFolderMembershipError tagName]]; case DBSHARINGRelinquishFolderMembershipErrorNoPermission: return [[self tagName] isEqual:[aRelinquishFolderMembershipError tagName]]; case DBSHARINGRelinquishFolderMembershipErrorNoExplicitAccess: return [[self tagName] isEqual:[aRelinquishFolderMembershipError tagName]]; case DBSHARINGRelinquishFolderMembershipErrorOther: return [[self tagName] isEqual:[aRelinquishFolderMembershipError tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGRelinquishFolderMembershipErrorSerializer + (NSDictionary *)serialize:(DBSHARINGRelinquishFolderMembershipError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isAccessError]) { jsonDict[@"access_error"] = [[DBSHARINGSharedFolderAccessErrorSerializer serialize:valueObj.accessError] mutableCopy]; jsonDict[@".tag"] = @"access_error"; } else if ([valueObj isFolderOwner]) { jsonDict[@".tag"] = @"folder_owner"; } else if ([valueObj isMounted]) { jsonDict[@".tag"] = @"mounted"; } else if ([valueObj isGroupAccess]) { jsonDict[@".tag"] = @"group_access"; } else if ([valueObj isTeamFolder]) { jsonDict[@".tag"] = @"team_folder"; } else if ([valueObj isNoPermission]) { jsonDict[@".tag"] = @"no_permission"; } else if ([valueObj isNoExplicitAccess]) { jsonDict[@".tag"] = @"no_explicit_access"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBSHARINGRelinquishFolderMembershipError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"access_error"]) { DBSHARINGSharedFolderAccessError *accessError = [DBSHARINGSharedFolderAccessErrorSerializer deserialize:valueDict[@"access_error"]]; return [[DBSHARINGRelinquishFolderMembershipError alloc] initWithAccessError:accessError]; } else if ([tag isEqualToString:@"folder_owner"]) { return [[DBSHARINGRelinquishFolderMembershipError alloc] initWithFolderOwner]; } else if ([tag isEqualToString:@"mounted"]) { return [[DBSHARINGRelinquishFolderMembershipError alloc] initWithMounted]; } else if ([tag isEqualToString:@"group_access"]) { return [[DBSHARINGRelinquishFolderMembershipError alloc] initWithGroupAccess]; } else if ([tag isEqualToString:@"team_folder"]) { return [[DBSHARINGRelinquishFolderMembershipError alloc] initWithTeamFolder]; } else if ([tag isEqualToString:@"no_permission"]) { return [[DBSHARINGRelinquishFolderMembershipError alloc] initWithNoPermission]; } else if ([tag isEqualToString:@"no_explicit_access"]) { return [[DBSHARINGRelinquishFolderMembershipError alloc] initWithNoExplicitAccess]; } else if ([tag isEqualToString:@"other"]) { return [[DBSHARINGRelinquishFolderMembershipError alloc] initWithOther]; } else { return [[DBSHARINGRelinquishFolderMembershipError alloc] initWithOther]; } } @end #import "DBSHARINGMemberSelector.h" #import "DBSHARINGRemoveFileMemberArg.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGRemoveFileMemberArg #pragma mark - Constructors - (instancetype)initWithFile:(NSString *)file member:(DBSHARINGMemberSelector *)member { [DBStoneValidators nonnullValidator:[DBStoneValidators stringValidator:@(1) maxLength:nil pattern:@"((/|id:).*|nspath:[0-9]+:.*)|ns:[0-9]+(/.*)?"]](file); [DBStoneValidators nonnullValidator:nil](member); self = [super init]; if (self) { _file = file; _member = member; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGRemoveFileMemberArgSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGRemoveFileMemberArgSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGRemoveFileMemberArgSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.file hash]; result = prime * result + [self.member hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToRemoveFileMemberArg:other]; } - (BOOL)isEqualToRemoveFileMemberArg:(DBSHARINGRemoveFileMemberArg *)aRemoveFileMemberArg { if (self == aRemoveFileMemberArg) { return YES; } if (![self.file isEqual:aRemoveFileMemberArg.file]) { return NO; } if (![self.member isEqual:aRemoveFileMemberArg.member]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGRemoveFileMemberArgSerializer + (NSDictionary *)serialize:(DBSHARINGRemoveFileMemberArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"file"] = valueObj.file; jsonDict[@"member"] = [DBSHARINGMemberSelectorSerializer serialize:valueObj.member]; return jsonDict; } + (DBSHARINGRemoveFileMemberArg *)deserialize:(NSDictionary *)valueDict { NSString *file = valueDict[@"file"]; DBSHARINGMemberSelector *member = [DBSHARINGMemberSelectorSerializer deserialize:valueDict[@"member"]]; return [[DBSHARINGRemoveFileMemberArg alloc] initWithFile:file member:member]; } @end #import "DBSHARINGMemberAccessLevelResult.h" #import "DBSHARINGRemoveFileMemberError.h" #import "DBSHARINGSharingFileAccessError.h" #import "DBSHARINGSharingUserError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGRemoveFileMemberError @synthesize userError = _userError; @synthesize accessError = _accessError; @synthesize noExplicitAccess = _noExplicitAccess; #pragma mark - Constructors - (instancetype)initWithUserError:(DBSHARINGSharingUserError *)userError { self = [super init]; if (self) { _tag = DBSHARINGRemoveFileMemberErrorUserError; _userError = userError; } return self; } - (instancetype)initWithAccessError:(DBSHARINGSharingFileAccessError *)accessError { self = [super init]; if (self) { _tag = DBSHARINGRemoveFileMemberErrorAccessError; _accessError = accessError; } return self; } - (instancetype)initWithNoExplicitAccess:(DBSHARINGMemberAccessLevelResult *)noExplicitAccess { self = [super init]; if (self) { _tag = DBSHARINGRemoveFileMemberErrorNoExplicitAccess; _noExplicitAccess = noExplicitAccess; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBSHARINGRemoveFileMemberErrorOther; } return self; } #pragma mark - Instance field accessors - (DBSHARINGSharingUserError *)userError { if (![self isUserError]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBSHARINGRemoveFileMemberErrorUserError, but was %@.", [self tagName]]; } return _userError; } - (DBSHARINGSharingFileAccessError *)accessError { if (![self isAccessError]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBSHARINGRemoveFileMemberErrorAccessError, but was %@.", [self tagName]]; } return _accessError; } - (DBSHARINGMemberAccessLevelResult *)noExplicitAccess { if (![self isNoExplicitAccess]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBSHARINGRemoveFileMemberErrorNoExplicitAccess, but was %@.", [self tagName]]; } return _noExplicitAccess; } #pragma mark - Tag state methods - (BOOL)isUserError { return _tag == DBSHARINGRemoveFileMemberErrorUserError; } - (BOOL)isAccessError { return _tag == DBSHARINGRemoveFileMemberErrorAccessError; } - (BOOL)isNoExplicitAccess { return _tag == DBSHARINGRemoveFileMemberErrorNoExplicitAccess; } - (BOOL)isOther { return _tag == DBSHARINGRemoveFileMemberErrorOther; } - (NSString *)tagName { switch (_tag) { case DBSHARINGRemoveFileMemberErrorUserError: return @"DBSHARINGRemoveFileMemberErrorUserError"; case DBSHARINGRemoveFileMemberErrorAccessError: return @"DBSHARINGRemoveFileMemberErrorAccessError"; case DBSHARINGRemoveFileMemberErrorNoExplicitAccess: return @"DBSHARINGRemoveFileMemberErrorNoExplicitAccess"; case DBSHARINGRemoveFileMemberErrorOther: return @"DBSHARINGRemoveFileMemberErrorOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGRemoveFileMemberErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGRemoveFileMemberErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGRemoveFileMemberErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToRemoveFileMemberError:other]; } - (BOOL)isEqualToRemoveFileMemberError:(DBSHARINGRemoveFileMemberError *)aRemoveFileMemberError { if (self == aRemoveFileMemberError) { return YES; } if (self.tag != aRemoveFileMemberError.tag) { return NO; } switch (_tag) { case DBSHARINGRemoveFileMemberErrorUserError: return [self.userError isEqual:aRemoveFileMemberError.userError]; case DBSHARINGRemoveFileMemberErrorAccessError: return [self.accessError isEqual:aRemoveFileMemberError.accessError]; case DBSHARINGRemoveFileMemberErrorNoExplicitAccess: return [self.noExplicitAccess isEqual:aRemoveFileMemberError.noExplicitAccess]; case DBSHARINGRemoveFileMemberErrorOther: return [[self tagName] isEqual:[aRemoveFileMemberError tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGRemoveFileMemberErrorSerializer + (NSDictionary *)serialize:(DBSHARINGRemoveFileMemberError *)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"; } 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; } + (DBSHARINGRemoveFileMemberError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"user_error"]) { DBSHARINGSharingUserError *userError = [DBSHARINGSharingUserErrorSerializer deserialize:valueDict[@"user_error"]]; return [[DBSHARINGRemoveFileMemberError alloc] initWithUserError:userError]; } else if ([tag isEqualToString:@"access_error"]) { DBSHARINGSharingFileAccessError *accessError = [DBSHARINGSharingFileAccessErrorSerializer deserialize:valueDict[@"access_error"]]; return [[DBSHARINGRemoveFileMemberError alloc] initWithAccessError:accessError]; } else if ([tag isEqualToString:@"no_explicit_access"]) { DBSHARINGMemberAccessLevelResult *noExplicitAccess = [DBSHARINGMemberAccessLevelResultSerializer deserialize:valueDict]; return [[DBSHARINGRemoveFileMemberError alloc] initWithNoExplicitAccess:noExplicitAccess]; } else if ([tag isEqualToString:@"other"]) { return [[DBSHARINGRemoveFileMemberError alloc] initWithOther]; } else { return [[DBSHARINGRemoveFileMemberError alloc] initWithOther]; } } @end #import "DBSHARINGMemberSelector.h" #import "DBSHARINGRemoveFolderMemberArg.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGRemoveFolderMemberArg #pragma mark - Constructors - (instancetype)initWithSharedFolderId:(NSString *)sharedFolderId member:(DBSHARINGMemberSelector *)member leaveACopy:(NSNumber *)leaveACopy { [DBStoneValidators nonnullValidator:[DBStoneValidators stringValidator:nil maxLength:nil pattern:@"[-_0-9a-zA-Z:]+"]](sharedFolderId); [DBStoneValidators nonnullValidator:nil](member); [DBStoneValidators nonnullValidator:nil](leaveACopy); self = [super init]; if (self) { _sharedFolderId = sharedFolderId; _member = member; _leaveACopy = leaveACopy; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGRemoveFolderMemberArgSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGRemoveFolderMemberArgSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGRemoveFolderMemberArgSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.sharedFolderId hash]; result = prime * result + [self.member hash]; result = prime * result + [self.leaveACopy hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToRemoveFolderMemberArg:other]; } - (BOOL)isEqualToRemoveFolderMemberArg:(DBSHARINGRemoveFolderMemberArg *)aRemoveFolderMemberArg { if (self == aRemoveFolderMemberArg) { return YES; } if (![self.sharedFolderId isEqual:aRemoveFolderMemberArg.sharedFolderId]) { return NO; } if (![self.member isEqual:aRemoveFolderMemberArg.member]) { return NO; } if (![self.leaveACopy isEqual:aRemoveFolderMemberArg.leaveACopy]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGRemoveFolderMemberArgSerializer + (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; } + (DBSHARINGRemoveFolderMemberArg *)deserialize:(NSDictionary *)valueDict { NSString *sharedFolderId = valueDict[@"shared_folder_id"]; DBSHARINGMemberSelector *member = [DBSHARINGMemberSelectorSerializer deserialize:valueDict[@"member"]]; NSNumber *leaveACopy = valueDict[@"leave_a_copy"]; return [[DBSHARINGRemoveFolderMemberArg alloc] initWithSharedFolderId:sharedFolderId member:member leaveACopy:leaveACopy]; } @end #import "DBSHARINGRemoveFolderMemberError.h" #import "DBSHARINGSharedFolderAccessError.h" #import "DBSHARINGSharedFolderMemberError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGRemoveFolderMemberError @synthesize accessError = _accessError; @synthesize memberError = _memberError; #pragma mark - Constructors - (instancetype)initWithAccessError:(DBSHARINGSharedFolderAccessError *)accessError { self = [super init]; if (self) { _tag = DBSHARINGRemoveFolderMemberErrorAccessError; _accessError = accessError; } return self; } - (instancetype)initWithMemberError:(DBSHARINGSharedFolderMemberError *)memberError { self = [super init]; if (self) { _tag = DBSHARINGRemoveFolderMemberErrorMemberError; _memberError = memberError; } return self; } - (instancetype)initWithFolderOwner { self = [super init]; if (self) { _tag = DBSHARINGRemoveFolderMemberErrorFolderOwner; } return self; } - (instancetype)initWithGroupAccess { self = [super init]; if (self) { _tag = DBSHARINGRemoveFolderMemberErrorGroupAccess; } return self; } - (instancetype)initWithTeamFolder { self = [super init]; if (self) { _tag = DBSHARINGRemoveFolderMemberErrorTeamFolder; } return self; } - (instancetype)initWithNoPermission { self = [super init]; if (self) { _tag = DBSHARINGRemoveFolderMemberErrorNoPermission; } return self; } - (instancetype)initWithTooManyFiles { self = [super init]; if (self) { _tag = DBSHARINGRemoveFolderMemberErrorTooManyFiles; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBSHARINGRemoveFolderMemberErrorOther; } return self; } #pragma mark - Instance field accessors - (DBSHARINGSharedFolderAccessError *)accessError { if (![self isAccessError]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBSHARINGRemoveFolderMemberErrorAccessError, but was %@.", [self tagName]]; } return _accessError; } - (DBSHARINGSharedFolderMemberError *)memberError { if (![self isMemberError]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBSHARINGRemoveFolderMemberErrorMemberError, but was %@.", [self tagName]]; } return _memberError; } #pragma mark - Tag state methods - (BOOL)isAccessError { return _tag == DBSHARINGRemoveFolderMemberErrorAccessError; } - (BOOL)isMemberError { return _tag == DBSHARINGRemoveFolderMemberErrorMemberError; } - (BOOL)isFolderOwner { return _tag == DBSHARINGRemoveFolderMemberErrorFolderOwner; } - (BOOL)isGroupAccess { return _tag == DBSHARINGRemoveFolderMemberErrorGroupAccess; } - (BOOL)isTeamFolder { return _tag == DBSHARINGRemoveFolderMemberErrorTeamFolder; } - (BOOL)isNoPermission { return _tag == DBSHARINGRemoveFolderMemberErrorNoPermission; } - (BOOL)isTooManyFiles { return _tag == DBSHARINGRemoveFolderMemberErrorTooManyFiles; } - (BOOL)isOther { return _tag == DBSHARINGRemoveFolderMemberErrorOther; } - (NSString *)tagName { switch (_tag) { case DBSHARINGRemoveFolderMemberErrorAccessError: return @"DBSHARINGRemoveFolderMemberErrorAccessError"; case DBSHARINGRemoveFolderMemberErrorMemberError: return @"DBSHARINGRemoveFolderMemberErrorMemberError"; case DBSHARINGRemoveFolderMemberErrorFolderOwner: return @"DBSHARINGRemoveFolderMemberErrorFolderOwner"; case DBSHARINGRemoveFolderMemberErrorGroupAccess: return @"DBSHARINGRemoveFolderMemberErrorGroupAccess"; case DBSHARINGRemoveFolderMemberErrorTeamFolder: return @"DBSHARINGRemoveFolderMemberErrorTeamFolder"; case DBSHARINGRemoveFolderMemberErrorNoPermission: return @"DBSHARINGRemoveFolderMemberErrorNoPermission"; case DBSHARINGRemoveFolderMemberErrorTooManyFiles: return @"DBSHARINGRemoveFolderMemberErrorTooManyFiles"; case DBSHARINGRemoveFolderMemberErrorOther: return @"DBSHARINGRemoveFolderMemberErrorOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGRemoveFolderMemberErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGRemoveFolderMemberErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGRemoveFolderMemberErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToRemoveFolderMemberError:other]; } - (BOOL)isEqualToRemoveFolderMemberError:(DBSHARINGRemoveFolderMemberError *)aRemoveFolderMemberError { if (self == aRemoveFolderMemberError) { return YES; } if (self.tag != aRemoveFolderMemberError.tag) { return NO; } switch (_tag) { case DBSHARINGRemoveFolderMemberErrorAccessError: return [self.accessError isEqual:aRemoveFolderMemberError.accessError]; case DBSHARINGRemoveFolderMemberErrorMemberError: return [self.memberError isEqual:aRemoveFolderMemberError.memberError]; case DBSHARINGRemoveFolderMemberErrorFolderOwner: return [[self tagName] isEqual:[aRemoveFolderMemberError tagName]]; case DBSHARINGRemoveFolderMemberErrorGroupAccess: return [[self tagName] isEqual:[aRemoveFolderMemberError tagName]]; case DBSHARINGRemoveFolderMemberErrorTeamFolder: return [[self tagName] isEqual:[aRemoveFolderMemberError tagName]]; case DBSHARINGRemoveFolderMemberErrorNoPermission: return [[self tagName] isEqual:[aRemoveFolderMemberError tagName]]; case DBSHARINGRemoveFolderMemberErrorTooManyFiles: return [[self tagName] isEqual:[aRemoveFolderMemberError tagName]]; case DBSHARINGRemoveFolderMemberErrorOther: return [[self tagName] isEqual:[aRemoveFolderMemberError tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGRemoveFolderMemberErrorSerializer + (NSDictionary *)serialize:(DBSHARINGRemoveFolderMemberError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isAccessError]) { jsonDict[@"access_error"] = [[DBSHARINGSharedFolderAccessErrorSerializer serialize:valueObj.accessError] mutableCopy]; jsonDict[@".tag"] = @"access_error"; } else if ([valueObj isMemberError]) { jsonDict[@"member_error"] = [[DBSHARINGSharedFolderMemberErrorSerializer serialize:valueObj.memberError] mutableCopy]; jsonDict[@".tag"] = @"member_error"; } else if ([valueObj isFolderOwner]) { jsonDict[@".tag"] = @"folder_owner"; } else if ([valueObj isGroupAccess]) { jsonDict[@".tag"] = @"group_access"; } else if ([valueObj isTeamFolder]) { jsonDict[@".tag"] = @"team_folder"; } else if ([valueObj isNoPermission]) { jsonDict[@".tag"] = @"no_permission"; } else if ([valueObj isTooManyFiles]) { jsonDict[@".tag"] = @"too_many_files"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBSHARINGRemoveFolderMemberError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"access_error"]) { DBSHARINGSharedFolderAccessError *accessError = [DBSHARINGSharedFolderAccessErrorSerializer deserialize:valueDict[@"access_error"]]; return [[DBSHARINGRemoveFolderMemberError alloc] initWithAccessError:accessError]; } else if ([tag isEqualToString:@"member_error"]) { DBSHARINGSharedFolderMemberError *memberError = [DBSHARINGSharedFolderMemberErrorSerializer deserialize:valueDict[@"member_error"]]; return [[DBSHARINGRemoveFolderMemberError alloc] initWithMemberError:memberError]; } else if ([tag isEqualToString:@"folder_owner"]) { return [[DBSHARINGRemoveFolderMemberError alloc] initWithFolderOwner]; } else if ([tag isEqualToString:@"group_access"]) { return [[DBSHARINGRemoveFolderMemberError alloc] initWithGroupAccess]; } else if ([tag isEqualToString:@"team_folder"]) { return [[DBSHARINGRemoveFolderMemberError alloc] initWithTeamFolder]; } else if ([tag isEqualToString:@"no_permission"]) { return [[DBSHARINGRemoveFolderMemberError alloc] initWithNoPermission]; } else if ([tag isEqualToString:@"too_many_files"]) { return [[DBSHARINGRemoveFolderMemberError alloc] initWithTooManyFiles]; } else if ([tag isEqualToString:@"other"]) { return [[DBSHARINGRemoveFolderMemberError alloc] initWithOther]; } else { return [[DBSHARINGRemoveFolderMemberError alloc] initWithOther]; } } @end #import "DBASYNCPollResultBase.h" #import "DBSHARINGMemberAccessLevelResult.h" #import "DBSHARINGRemoveFolderMemberError.h" #import "DBSHARINGRemoveMemberJobStatus.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGRemoveMemberJobStatus @synthesize complete = _complete; @synthesize failed = _failed; #pragma mark - Constructors - (instancetype)initWithInProgress { self = [super init]; if (self) { _tag = DBSHARINGRemoveMemberJobStatusInProgress; } return self; } - (instancetype)initWithComplete:(DBSHARINGMemberAccessLevelResult *)complete { self = [super init]; if (self) { _tag = DBSHARINGRemoveMemberJobStatusComplete; _complete = complete; } return self; } - (instancetype)initWithFailed:(DBSHARINGRemoveFolderMemberError *)failed { self = [super init]; if (self) { _tag = DBSHARINGRemoveMemberJobStatusFailed; _failed = failed; } return self; } #pragma mark - Instance field accessors - (DBSHARINGMemberAccessLevelResult *)complete { if (![self isComplete]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBSHARINGRemoveMemberJobStatusComplete, but was %@.", [self tagName]]; } return _complete; } - (DBSHARINGRemoveFolderMemberError *)failed { if (![self isFailed]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBSHARINGRemoveMemberJobStatusFailed, but was %@.", [self tagName]]; } return _failed; } #pragma mark - Tag state methods - (BOOL)isInProgress { return _tag == DBSHARINGRemoveMemberJobStatusInProgress; } - (BOOL)isComplete { return _tag == DBSHARINGRemoveMemberJobStatusComplete; } - (BOOL)isFailed { return _tag == DBSHARINGRemoveMemberJobStatusFailed; } - (NSString *)tagName { switch (_tag) { case DBSHARINGRemoveMemberJobStatusInProgress: return @"DBSHARINGRemoveMemberJobStatusInProgress"; case DBSHARINGRemoveMemberJobStatusComplete: return @"DBSHARINGRemoveMemberJobStatusComplete"; case DBSHARINGRemoveMemberJobStatusFailed: return @"DBSHARINGRemoveMemberJobStatusFailed"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGRemoveMemberJobStatusSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGRemoveMemberJobStatusSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGRemoveMemberJobStatusSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 DBSHARINGRemoveMemberJobStatusInProgress: result = prime * result + [[self tagName] 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToRequestedLinkAccessLevel:other]; } - (BOOL)isEqualToRequestedLinkAccessLevel:(DBSHARINGRequestedLinkAccessLevel *)aRequestedLinkAccessLevel { if (self == aRequestedLinkAccessLevel) { return YES; } if (self.tag != aRequestedLinkAccessLevel.tag) { return NO; } switch (_tag) { 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; } @end #pragma mark - Serializer Object @implementation DBSHARINGRequestedLinkAccessLevelSerializer + (NSDictionary *)serialize:(DBSHARINGRequestedLinkAccessLevel *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; 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 { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBSHARINGRequestedLinkAccessLevel *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; 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 { return [[DBSHARINGRequestedLinkAccessLevel alloc] initWithOther]; } } @end #import "DBSHARINGRevokeSharedLinkArg.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGRevokeSharedLinkArg #pragma mark - Constructors - (instancetype)initWithUrl:(NSString *)url { [DBStoneValidators nonnullValidator:nil](url); self = [super init]; if (self) { _url = url; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGRevokeSharedLinkArgSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGRevokeSharedLinkArgSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGRevokeSharedLinkArgSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToRevokeSharedLinkArg:other]; } - (BOOL)isEqualToRevokeSharedLinkArg:(DBSHARINGRevokeSharedLinkArg *)aRevokeSharedLinkArg { if (self == aRevokeSharedLinkArg) { return YES; } if (![self.url isEqual:aRevokeSharedLinkArg.url]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGRevokeSharedLinkArgSerializer + (NSDictionary *)serialize:(DBSHARINGRevokeSharedLinkArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"url"] = valueObj.url; return jsonDict; } + (DBSHARINGRevokeSharedLinkArg *)deserialize:(NSDictionary *)valueDict { NSString *url = valueDict[@"url"]; return [[DBSHARINGRevokeSharedLinkArg alloc] initWithUrl:url]; } @end #import "DBSHARINGRevokeSharedLinkError.h" #import "DBSHARINGSharedLinkError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGRevokeSharedLinkError #pragma mark - Constructors - (instancetype)initWithSharedLinkNotFound { self = [super init]; if (self) { _tag = DBSHARINGRevokeSharedLinkErrorSharedLinkNotFound; } return self; } - (instancetype)initWithSharedLinkAccessDenied { self = [super init]; if (self) { _tag = DBSHARINGRevokeSharedLinkErrorSharedLinkAccessDenied; } return self; } - (instancetype)initWithUnsupportedLinkType { self = [super init]; if (self) { _tag = DBSHARINGRevokeSharedLinkErrorUnsupportedLinkType; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBSHARINGRevokeSharedLinkErrorOther; } return self; } - (instancetype)initWithSharedLinkMalformed { self = [super init]; if (self) { _tag = DBSHARINGRevokeSharedLinkErrorSharedLinkMalformed; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isSharedLinkNotFound { return _tag == DBSHARINGRevokeSharedLinkErrorSharedLinkNotFound; } - (BOOL)isSharedLinkAccessDenied { return _tag == DBSHARINGRevokeSharedLinkErrorSharedLinkAccessDenied; } - (BOOL)isUnsupportedLinkType { return _tag == DBSHARINGRevokeSharedLinkErrorUnsupportedLinkType; } - (BOOL)isOther { return _tag == DBSHARINGRevokeSharedLinkErrorOther; } - (BOOL)isSharedLinkMalformed { return _tag == DBSHARINGRevokeSharedLinkErrorSharedLinkMalformed; } - (NSString *)tagName { switch (_tag) { 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]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGRevokeSharedLinkErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGRevokeSharedLinkErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGRevokeSharedLinkErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 DBSHARINGRevokeSharedLinkErrorSharedLinkNotFound: result = prime * result + [[self tagName] hash]; break; case DBSHARINGRevokeSharedLinkErrorSharedLinkAccessDenied: result = prime * result + [[self tagName] hash]; break; case DBSHARINGRevokeSharedLinkErrorUnsupportedLinkType: result = prime * result + [[self tagName] hash]; break; case DBSHARINGRevokeSharedLinkErrorOther: result = prime * result + [[self tagName] hash]; break; case DBSHARINGRevokeSharedLinkErrorSharedLinkMalformed: 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 isEqualToRevokeSharedLinkError:other]; } - (BOOL)isEqualToRevokeSharedLinkError:(DBSHARINGRevokeSharedLinkError *)aRevokeSharedLinkError { if (self == aRevokeSharedLinkError) { return YES; } if (self.tag != aRevokeSharedLinkError.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]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGRevokeSharedLinkErrorSerializer + (NSDictionary *)serialize:(DBSHARINGRevokeSharedLinkError *)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 isSharedLinkMalformed]) { jsonDict[@".tag"] = @"shared_link_malformed"; } else { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBSHARINGRevokeSharedLinkError *)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]; } else if ([tag isEqualToString:@"other"]) { return [[DBSHARINGRevokeSharedLinkError alloc] initWithOther]; } else if ([tag isEqualToString:@"shared_link_malformed"]) { return [[DBSHARINGRevokeSharedLinkError alloc] initWithSharedLinkMalformed]; } else { return [[DBSHARINGRevokeSharedLinkError alloc] initWithOther]; } } @end #import "DBSHARINGAccessInheritance.h" #import "DBSHARINGSetAccessInheritanceArg.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGSetAccessInheritanceArg #pragma mark - Constructors - (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) { _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 [DBSHARINGSetAccessInheritanceArgSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGSetAccessInheritanceArgSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGSetAccessInheritanceArgSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.sharedFolderId hash]; result = prime * result + [self.accessInheritance hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToSetAccessInheritanceArg:other]; } - (BOOL)isEqualToSetAccessInheritanceArg:(DBSHARINGSetAccessInheritanceArg *)aSetAccessInheritanceArg { if (self == aSetAccessInheritanceArg) { return YES; } if (![self.sharedFolderId isEqual:aSetAccessInheritanceArg.sharedFolderId]) { return NO; } if (![self.accessInheritance isEqual:aSetAccessInheritanceArg.accessInheritance]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGSetAccessInheritanceArgSerializer + (NSDictionary *)serialize:(DBSHARINGSetAccessInheritanceArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"shared_folder_id"] = valueObj.sharedFolderId; jsonDict[@"access_inheritance"] = [DBSHARINGAccessInheritanceSerializer serialize:valueObj.accessInheritance]; return jsonDict; } + (DBSHARINGSetAccessInheritanceArg *)deserialize:(NSDictionary *)valueDict { NSString *sharedFolderId = valueDict[@"shared_folder_id"]; DBSHARINGAccessInheritance *accessInheritance = valueDict[@"access_inheritance"] ? [DBSHARINGAccessInheritanceSerializer deserialize:valueDict[@"access_inheritance"]] : [[DBSHARINGAccessInheritance alloc] initWithInherit]; return [[DBSHARINGSetAccessInheritanceArg alloc] initWithSharedFolderId:sharedFolderId accessInheritance:accessInheritance]; } @end #import "DBSHARINGSetAccessInheritanceError.h" #import "DBSHARINGSharedFolderAccessError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGSetAccessInheritanceError @synthesize accessError = _accessError; #pragma mark - Constructors - (instancetype)initWithAccessError:(DBSHARINGSharedFolderAccessError *)accessError { self = [super init]; if (self) { _tag = DBSHARINGSetAccessInheritanceErrorAccessError; _accessError = accessError; } return self; } - (instancetype)initWithNoPermission { self = [super init]; if (self) { _tag = DBSHARINGSetAccessInheritanceErrorNoPermission; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBSHARINGSetAccessInheritanceErrorOther; } return self; } #pragma mark - Instance field accessors - (DBSHARINGSharedFolderAccessError *)accessError { if (![self isAccessError]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBSHARINGSetAccessInheritanceErrorAccessError, but was %@.", [self tagName]]; } return _accessError; } #pragma mark - Tag state methods - (BOOL)isAccessError { return _tag == DBSHARINGSetAccessInheritanceErrorAccessError; } - (BOOL)isNoPermission { return _tag == DBSHARINGSetAccessInheritanceErrorNoPermission; } - (BOOL)isOther { return _tag == DBSHARINGSetAccessInheritanceErrorOther; } - (NSString *)tagName { switch (_tag) { case DBSHARINGSetAccessInheritanceErrorAccessError: return @"DBSHARINGSetAccessInheritanceErrorAccessError"; case DBSHARINGSetAccessInheritanceErrorNoPermission: return @"DBSHARINGSetAccessInheritanceErrorNoPermission"; case DBSHARINGSetAccessInheritanceErrorOther: return @"DBSHARINGSetAccessInheritanceErrorOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGSetAccessInheritanceErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGSetAccessInheritanceErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGSetAccessInheritanceErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 DBSHARINGSetAccessInheritanceErrorAccessError: result = prime * result + [self.accessError hash]; break; case DBSHARINGSetAccessInheritanceErrorNoPermission: result = prime * result + [[self tagName] hash]; break; case DBSHARINGSetAccessInheritanceErrorOther: 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 isEqualToSetAccessInheritanceError:other]; } - (BOOL)isEqualToSetAccessInheritanceError:(DBSHARINGSetAccessInheritanceError *)aSetAccessInheritanceError { if (self == aSetAccessInheritanceError) { return YES; } if (self.tag != aSetAccessInheritanceError.tag) { return NO; } switch (_tag) { 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; } @end #pragma mark - Serializer Object @implementation DBSHARINGSetAccessInheritanceErrorSerializer + (NSDictionary *)serialize:(DBSHARINGSetAccessInheritanceError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; 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 { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBSHARINGSetAccessInheritanceError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; 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 [[DBSHARINGSetAccessInheritanceError alloc] initWithOther]; } else { return [[DBSHARINGSetAccessInheritanceError alloc] initWithOther]; } } @end #import "DBSHARINGAccessInheritance.h" #import "DBSHARINGAclUpdatePolicy.h" #import "DBSHARINGMemberPolicy.h" #import "DBSHARINGShareFolderArgBase.h" #import "DBSHARINGSharedLinkPolicy.h" #import "DBSHARINGViewerInfoPolicy.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGShareFolderArgBase #pragma mark - Constructors - (instancetype)initWithPath:(NSString *)path aclUpdatePolicy:(DBSHARINGAclUpdatePolicy *)aclUpdatePolicy forceAsync:(NSNumber *)forceAsync memberPolicy:(DBSHARINGMemberPolicy *)memberPolicy sharedLinkPolicy:(DBSHARINGSharedLinkPolicy *)sharedLinkPolicy 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) { _aclUpdatePolicy = aclUpdatePolicy; _forceAsync = forceAsync ?: @NO; _memberPolicy = memberPolicy; _path = path; _sharedLinkPolicy = sharedLinkPolicy; _viewerInfoPolicy = viewerInfoPolicy; _accessInheritance = accessInheritance ?: [[DBSHARINGAccessInheritance alloc] initWithInherit]; } return self; } - (instancetype)initWithPath:(NSString *)path { return [self initWithPath:path aclUpdatePolicy:nil forceAsync:nil memberPolicy:nil sharedLinkPolicy:nil viewerInfoPolicy:nil accessInheritance:nil]; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGShareFolderArgBaseSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGShareFolderArgBaseSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGShareFolderArgBaseSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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.aclUpdatePolicy != nil) { result = prime * result + [self.aclUpdatePolicy hash]; } result = prime * result + [self.forceAsync hash]; if (self.memberPolicy != nil) { result = prime * result + [self.memberPolicy hash]; } if (self.sharedLinkPolicy != nil) { result = prime * result + [self.sharedLinkPolicy hash]; } if (self.viewerInfoPolicy != nil) { result = prime * result + [self.viewerInfoPolicy hash]; } result = prime * result + [self.accessInheritance hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToShareFolderArgBase:other]; } - (BOOL)isEqualToShareFolderArgBase:(DBSHARINGShareFolderArgBase *)aShareFolderArgBase { if (self == aShareFolderArgBase) { return YES; } if (![self.path isEqual:aShareFolderArgBase.path]) { return NO; } if (self.aclUpdatePolicy) { if (![self.aclUpdatePolicy isEqual:aShareFolderArgBase.aclUpdatePolicy]) { return NO; } } if (![self.forceAsync isEqual:aShareFolderArgBase.forceAsync]) { return NO; } if (self.memberPolicy) { if (![self.memberPolicy isEqual:aShareFolderArgBase.memberPolicy]) { return NO; } } if (self.sharedLinkPolicy) { if (![self.sharedLinkPolicy isEqual:aShareFolderArgBase.sharedLinkPolicy]) { return NO; } } if (self.viewerInfoPolicy) { if (![self.viewerInfoPolicy isEqual:aShareFolderArgBase.viewerInfoPolicy]) { return NO; } } if (![self.accessInheritance isEqual:aShareFolderArgBase.accessInheritance]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGShareFolderArgBaseSerializer + (NSDictionary *)serialize:(DBSHARINGShareFolderArgBase *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"path"] = valueObj.path; if (valueObj.aclUpdatePolicy) { jsonDict[@"acl_update_policy"] = [DBSHARINGAclUpdatePolicySerializer serialize:valueObj.aclUpdatePolicy]; } jsonDict[@"force_async"] = valueObj.forceAsync; if (valueObj.memberPolicy) { jsonDict[@"member_policy"] = [DBSHARINGMemberPolicySerializer serialize:valueObj.memberPolicy]; } if (valueObj.sharedLinkPolicy) { jsonDict[@"shared_link_policy"] = [DBSHARINGSharedLinkPolicySerializer serialize:valueObj.sharedLinkPolicy]; } if (valueObj.viewerInfoPolicy) { jsonDict[@"viewer_info_policy"] = [DBSHARINGViewerInfoPolicySerializer serialize:valueObj.viewerInfoPolicy]; } jsonDict[@"access_inheritance"] = [DBSHARINGAccessInheritanceSerializer serialize:valueObj.accessInheritance]; return jsonDict; } + (DBSHARINGShareFolderArgBase *)deserialize:(NSDictionary *)valueDict { NSString *path = valueDict[@"path"]; DBSHARINGAclUpdatePolicy *aclUpdatePolicy = valueDict[@"acl_update_policy"] ? [DBSHARINGAclUpdatePolicySerializer deserialize:valueDict[@"acl_update_policy"]] : nil; NSNumber *forceAsync = valueDict[@"force_async"] ?: @NO; DBSHARINGMemberPolicy *memberPolicy = valueDict[@"member_policy"] ? [DBSHARINGMemberPolicySerializer deserialize:valueDict[@"member_policy"]] : nil; DBSHARINGSharedLinkPolicy *sharedLinkPolicy = valueDict[@"shared_link_policy"] ? [DBSHARINGSharedLinkPolicySerializer deserialize:valueDict[@"shared_link_policy"]] : nil; DBSHARINGViewerInfoPolicy *viewerInfoPolicy = 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 accessInheritance:accessInheritance]; } @end #import "DBSHARINGAccessInheritance.h" #import "DBSHARINGAclUpdatePolicy.h" #import "DBSHARINGFolderAction.h" #import "DBSHARINGLinkSettings.h" #import "DBSHARINGMemberPolicy.h" #import "DBSHARINGShareFolderArg.h" #import "DBSHARINGShareFolderArgBase.h" #import "DBSHARINGSharedLinkPolicy.h" #import "DBSHARINGViewerInfoPolicy.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGShareFolderArg #pragma mark - Constructors - (instancetype)initWithPath:(NSString *)path aclUpdatePolicy:(DBSHARINGAclUpdatePolicy *)aclUpdatePolicy forceAsync:(NSNumber *)forceAsync 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]+(/.*)?)|(id:.*)"]](path); [DBStoneValidators nullableValidator:[DBStoneValidators arrayValidator:nil maxItems:nil itemValidator:[DBStoneValidators nonnullValidator:nil]]](actions); self = [super initWithPath:path aclUpdatePolicy:aclUpdatePolicy forceAsync:forceAsync memberPolicy:memberPolicy sharedLinkPolicy:sharedLinkPolicy viewerInfoPolicy:viewerInfoPolicy accessInheritance:accessInheritance]; if (self) { _actions = actions; _linkSettings = linkSettings; } return self; } - (instancetype)initWithPath:(NSString *)path { return [self initWithPath:path aclUpdatePolicy:nil forceAsync:nil memberPolicy:nil sharedLinkPolicy:nil viewerInfoPolicy:nil accessInheritance:nil actions:nil linkSettings:nil]; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGShareFolderArgSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGShareFolderArgSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGShareFolderArgSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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.aclUpdatePolicy != nil) { result = prime * result + [self.aclUpdatePolicy hash]; } result = prime * result + [self.forceAsync hash]; if (self.memberPolicy != nil) { result = prime * result + [self.memberPolicy hash]; } if (self.sharedLinkPolicy != nil) { result = prime * result + [self.sharedLinkPolicy 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]; } if (self.linkSettings != nil) { result = prime * result + [self.linkSettings hash]; } return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToShareFolderArg:other]; } - (BOOL)isEqualToShareFolderArg:(DBSHARINGShareFolderArg *)aShareFolderArg { if (self == aShareFolderArg) { return YES; } if (![self.path isEqual:aShareFolderArg.path]) { return NO; } if (self.aclUpdatePolicy) { if (![self.aclUpdatePolicy isEqual:aShareFolderArg.aclUpdatePolicy]) { return NO; } } if (![self.forceAsync isEqual:aShareFolderArg.forceAsync]) { return NO; } if (self.memberPolicy) { if (![self.memberPolicy isEqual:aShareFolderArg.memberPolicy]) { return NO; } } if (self.sharedLinkPolicy) { if (![self.sharedLinkPolicy isEqual:aShareFolderArg.sharedLinkPolicy]) { return NO; } } if (self.viewerInfoPolicy) { if (![self.viewerInfoPolicy isEqual:aShareFolderArg.viewerInfoPolicy]) { return NO; } } if (![self.accessInheritance isEqual:aShareFolderArg.accessInheritance]) { return NO; } if (self.actions) { if (![self.actions isEqual:aShareFolderArg.actions]) { return NO; } } if (self.linkSettings) { if (![self.linkSettings isEqual:aShareFolderArg.linkSettings]) { return NO; } } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGShareFolderArgSerializer + (NSDictionary *)serialize:(DBSHARINGShareFolderArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"path"] = valueObj.path; if (valueObj.aclUpdatePolicy) { jsonDict[@"acl_update_policy"] = [DBSHARINGAclUpdatePolicySerializer serialize:valueObj.aclUpdatePolicy]; } jsonDict[@"force_async"] = valueObj.forceAsync; if (valueObj.memberPolicy) { jsonDict[@"member_policy"] = [DBSHARINGMemberPolicySerializer serialize:valueObj.memberPolicy]; } if (valueObj.sharedLinkPolicy) { jsonDict[@"shared_link_policy"] = [DBSHARINGSharedLinkPolicySerializer serialize:valueObj.sharedLinkPolicy]; } 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) { return [DBSHARINGFolderActionSerializer serialize:elem0]; }]; } if (valueObj.linkSettings) { jsonDict[@"link_settings"] = [DBSHARINGLinkSettingsSerializer serialize:valueObj.linkSettings]; } return jsonDict; } + (DBSHARINGShareFolderArg *)deserialize:(NSDictionary *)valueDict { NSString *path = valueDict[@"path"]; DBSHARINGAclUpdatePolicy *aclUpdatePolicy = valueDict[@"acl_update_policy"] ? [DBSHARINGAclUpdatePolicySerializer deserialize:valueDict[@"acl_update_policy"]] : nil; NSNumber *forceAsync = valueDict[@"force_async"] ?: @NO; DBSHARINGMemberPolicy *memberPolicy = valueDict[@"member_policy"] ? [DBSHARINGMemberPolicySerializer deserialize:valueDict[@"member_policy"]] : nil; DBSHARINGSharedLinkPolicy *sharedLinkPolicy = valueDict[@"shared_link_policy"] ? [DBSHARINGSharedLinkPolicySerializer deserialize:valueDict[@"shared_link_policy"]] : nil; DBSHARINGViewerInfoPolicy *viewerInfoPolicy = 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) { return [DBSHARINGFolderActionSerializer deserialize:elem0]; }] : nil; DBSHARINGLinkSettings *linkSettings = valueDict[@"link_settings"] ? [DBSHARINGLinkSettingsSerializer deserialize:valueDict[@"link_settings"]] : nil; return [[DBSHARINGShareFolderArg alloc] initWithPath:path aclUpdatePolicy:aclUpdatePolicy forceAsync:forceAsync memberPolicy:memberPolicy sharedLinkPolicy:sharedLinkPolicy viewerInfoPolicy:viewerInfoPolicy accessInheritance:accessInheritance actions:actions linkSettings:linkSettings]; } @end #import "DBSHARINGShareFolderErrorBase.h" #import "DBSHARINGSharePathError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGShareFolderErrorBase @synthesize badPath = _badPath; #pragma mark - Constructors - (instancetype)initWithEmailUnverified { self = [super init]; if (self) { _tag = DBSHARINGShareFolderErrorBaseEmailUnverified; } return self; } - (instancetype)initWithBadPath:(DBSHARINGSharePathError *)badPath { self = [super init]; if (self) { _tag = DBSHARINGShareFolderErrorBaseBadPath; _badPath = badPath; } return self; } - (instancetype)initWithTeamPolicyDisallowsMemberPolicy { self = [super init]; if (self) { _tag = DBSHARINGShareFolderErrorBaseTeamPolicyDisallowsMemberPolicy; } return self; } - (instancetype)initWithDisallowedSharedLinkPolicy { self = [super init]; if (self) { _tag = DBSHARINGShareFolderErrorBaseDisallowedSharedLinkPolicy; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBSHARINGShareFolderErrorBaseOther; } return self; } #pragma mark - Instance field accessors - (DBSHARINGSharePathError *)badPath { if (![self isBadPath]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBSHARINGShareFolderErrorBaseBadPath, but was %@.", [self tagName]]; } return _badPath; } #pragma mark - Tag state methods - (BOOL)isEmailUnverified { return _tag == DBSHARINGShareFolderErrorBaseEmailUnverified; } - (BOOL)isBadPath { return _tag == DBSHARINGShareFolderErrorBaseBadPath; } - (BOOL)isTeamPolicyDisallowsMemberPolicy { return _tag == DBSHARINGShareFolderErrorBaseTeamPolicyDisallowsMemberPolicy; } - (BOOL)isDisallowedSharedLinkPolicy { return _tag == DBSHARINGShareFolderErrorBaseDisallowedSharedLinkPolicy; } - (BOOL)isOther { return _tag == DBSHARINGShareFolderErrorBaseOther; } - (NSString *)tagName { switch (_tag) { case DBSHARINGShareFolderErrorBaseEmailUnverified: return @"DBSHARINGShareFolderErrorBaseEmailUnverified"; case DBSHARINGShareFolderErrorBaseBadPath: return @"DBSHARINGShareFolderErrorBaseBadPath"; case DBSHARINGShareFolderErrorBaseTeamPolicyDisallowsMemberPolicy: return @"DBSHARINGShareFolderErrorBaseTeamPolicyDisallowsMemberPolicy"; case DBSHARINGShareFolderErrorBaseDisallowedSharedLinkPolicy: return @"DBSHARINGShareFolderErrorBaseDisallowedSharedLinkPolicy"; case DBSHARINGShareFolderErrorBaseOther: return @"DBSHARINGShareFolderErrorBaseOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGShareFolderErrorBaseSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGShareFolderErrorBaseSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGShareFolderErrorBaseSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToShareFolderErrorBase:other]; } - (BOOL)isEqualToShareFolderErrorBase:(DBSHARINGShareFolderErrorBase *)aShareFolderErrorBase { if (self == aShareFolderErrorBase) { return YES; } if (self.tag != aShareFolderErrorBase.tag) { return NO; } switch (_tag) { case DBSHARINGShareFolderErrorBaseEmailUnverified: return [[self tagName] isEqual:[aShareFolderErrorBase tagName]]; case DBSHARINGShareFolderErrorBaseBadPath: return [self.badPath isEqual:aShareFolderErrorBase.badPath]; case DBSHARINGShareFolderErrorBaseTeamPolicyDisallowsMemberPolicy: return [[self tagName] isEqual:[aShareFolderErrorBase tagName]]; case DBSHARINGShareFolderErrorBaseDisallowedSharedLinkPolicy: return [[self tagName] isEqual:[aShareFolderErrorBase tagName]]; case DBSHARINGShareFolderErrorBaseOther: return [[self tagName] isEqual:[aShareFolderErrorBase tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGShareFolderErrorBaseSerializer + (NSDictionary *)serialize:(DBSHARINGShareFolderErrorBase *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isEmailUnverified]) { jsonDict[@".tag"] = @"email_unverified"; } else if ([valueObj isBadPath]) { jsonDict[@"bad_path"] = [[DBSHARINGSharePathErrorSerializer serialize:valueObj.badPath] mutableCopy]; jsonDict[@".tag"] = @"bad_path"; } else if ([valueObj isTeamPolicyDisallowsMemberPolicy]) { jsonDict[@".tag"] = @"team_policy_disallows_member_policy"; } else if ([valueObj isDisallowedSharedLinkPolicy]) { jsonDict[@".tag"] = @"disallowed_shared_link_policy"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBSHARINGShareFolderErrorBase *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"email_unverified"]) { return [[DBSHARINGShareFolderErrorBase alloc] initWithEmailUnverified]; } else if ([tag isEqualToString:@"bad_path"]) { DBSHARINGSharePathError *badPath = [DBSHARINGSharePathErrorSerializer deserialize:valueDict[@"bad_path"]]; return [[DBSHARINGShareFolderErrorBase alloc] initWithBadPath:badPath]; } else if ([tag isEqualToString:@"team_policy_disallows_member_policy"]) { return [[DBSHARINGShareFolderErrorBase alloc] initWithTeamPolicyDisallowsMemberPolicy]; } else if ([tag isEqualToString:@"disallowed_shared_link_policy"]) { return [[DBSHARINGShareFolderErrorBase alloc] initWithDisallowedSharedLinkPolicy]; } else if ([tag isEqualToString:@"other"]) { return [[DBSHARINGShareFolderErrorBase alloc] initWithOther]; } else { return [[DBSHARINGShareFolderErrorBase alloc] initWithOther]; } } @end #import "DBSHARINGShareFolderError.h" #import "DBSHARINGShareFolderErrorBase.h" #import "DBSHARINGSharePathError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGShareFolderError @synthesize badPath = _badPath; #pragma mark - Constructors - (instancetype)initWithEmailUnverified { self = [super init]; if (self) { _tag = DBSHARINGShareFolderErrorEmailUnverified; } return self; } - (instancetype)initWithBadPath:(DBSHARINGSharePathError *)badPath { self = [super init]; if (self) { _tag = DBSHARINGShareFolderErrorBadPath; _badPath = badPath; } return self; } - (instancetype)initWithTeamPolicyDisallowsMemberPolicy { self = [super init]; if (self) { _tag = DBSHARINGShareFolderErrorTeamPolicyDisallowsMemberPolicy; } return self; } - (instancetype)initWithDisallowedSharedLinkPolicy { self = [super init]; if (self) { _tag = DBSHARINGShareFolderErrorDisallowedSharedLinkPolicy; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBSHARINGShareFolderErrorOther; } return self; } - (instancetype)initWithNoPermission { self = [super init]; if (self) { _tag = DBSHARINGShareFolderErrorNoPermission; } return self; } #pragma mark - Instance field accessors - (DBSHARINGSharePathError *)badPath { if (![self isBadPath]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBSHARINGShareFolderErrorBadPath, but was %@.", [self tagName]]; } return _badPath; } #pragma mark - Tag state methods - (BOOL)isEmailUnverified { return _tag == DBSHARINGShareFolderErrorEmailUnverified; } - (BOOL)isBadPath { return _tag == DBSHARINGShareFolderErrorBadPath; } - (BOOL)isTeamPolicyDisallowsMemberPolicy { return _tag == DBSHARINGShareFolderErrorTeamPolicyDisallowsMemberPolicy; } - (BOOL)isDisallowedSharedLinkPolicy { return _tag == DBSHARINGShareFolderErrorDisallowedSharedLinkPolicy; } - (BOOL)isOther { return _tag == DBSHARINGShareFolderErrorOther; } - (BOOL)isNoPermission { return _tag == DBSHARINGShareFolderErrorNoPermission; } - (NSString *)tagName { switch (_tag) { case DBSHARINGShareFolderErrorEmailUnverified: return @"DBSHARINGShareFolderErrorEmailUnverified"; case DBSHARINGShareFolderErrorBadPath: return @"DBSHARINGShareFolderErrorBadPath"; case DBSHARINGShareFolderErrorTeamPolicyDisallowsMemberPolicy: return @"DBSHARINGShareFolderErrorTeamPolicyDisallowsMemberPolicy"; case DBSHARINGShareFolderErrorDisallowedSharedLinkPolicy: return @"DBSHARINGShareFolderErrorDisallowedSharedLinkPolicy"; case DBSHARINGShareFolderErrorOther: return @"DBSHARINGShareFolderErrorOther"; case DBSHARINGShareFolderErrorNoPermission: return @"DBSHARINGShareFolderErrorNoPermission"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGShareFolderErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGShareFolderErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGShareFolderErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToShareFolderError:other]; } - (BOOL)isEqualToShareFolderError:(DBSHARINGShareFolderError *)aShareFolderError { if (self == aShareFolderError) { return YES; } if (self.tag != aShareFolderError.tag) { return NO; } switch (_tag) { case DBSHARINGShareFolderErrorEmailUnverified: return [[self tagName] isEqual:[aShareFolderError tagName]]; case DBSHARINGShareFolderErrorBadPath: return [self.badPath isEqual:aShareFolderError.badPath]; case DBSHARINGShareFolderErrorTeamPolicyDisallowsMemberPolicy: return [[self tagName] isEqual:[aShareFolderError tagName]]; case DBSHARINGShareFolderErrorDisallowedSharedLinkPolicy: return [[self tagName] isEqual:[aShareFolderError tagName]]; case DBSHARINGShareFolderErrorOther: return [[self tagName] isEqual:[aShareFolderError tagName]]; case DBSHARINGShareFolderErrorNoPermission: return [[self tagName] isEqual:[aShareFolderError tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGShareFolderErrorSerializer + (NSDictionary *)serialize:(DBSHARINGShareFolderError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isEmailUnverified]) { jsonDict[@".tag"] = @"email_unverified"; } else if ([valueObj isBadPath]) { jsonDict[@"bad_path"] = [[DBSHARINGSharePathErrorSerializer serialize:valueObj.badPath] mutableCopy]; jsonDict[@".tag"] = @"bad_path"; } else if ([valueObj isTeamPolicyDisallowsMemberPolicy]) { jsonDict[@".tag"] = @"team_policy_disallows_member_policy"; } else if ([valueObj isDisallowedSharedLinkPolicy]) { jsonDict[@".tag"] = @"disallowed_shared_link_policy"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else if ([valueObj isNoPermission]) { jsonDict[@".tag"] = @"no_permission"; } else { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBSHARINGShareFolderError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"email_unverified"]) { return [[DBSHARINGShareFolderError alloc] initWithEmailUnverified]; } else if ([tag isEqualToString:@"bad_path"]) { DBSHARINGSharePathError *badPath = [DBSHARINGSharePathErrorSerializer deserialize:valueDict[@"bad_path"]]; return [[DBSHARINGShareFolderError alloc] initWithBadPath:badPath]; } else if ([tag isEqualToString:@"team_policy_disallows_member_policy"]) { return [[DBSHARINGShareFolderError alloc] initWithTeamPolicyDisallowsMemberPolicy]; } else if ([tag isEqualToString:@"disallowed_shared_link_policy"]) { return [[DBSHARINGShareFolderError alloc] initWithDisallowedSharedLinkPolicy]; } else if ([tag isEqualToString:@"other"]) { return [[DBSHARINGShareFolderError alloc] initWithOther]; } else if ([tag isEqualToString:@"no_permission"]) { return [[DBSHARINGShareFolderError alloc] initWithNoPermission]; } else { return [[DBSHARINGShareFolderError alloc] initWithOther]; } } @end #import "DBASYNCPollResultBase.h" #import "DBSHARINGShareFolderError.h" #import "DBSHARINGShareFolderJobStatus.h" #import "DBSHARINGSharedFolderMetadata.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGShareFolderJobStatus @synthesize complete = _complete; @synthesize failed = _failed; #pragma mark - Constructors - (instancetype)initWithInProgress { self = [super init]; if (self) { _tag = DBSHARINGShareFolderJobStatusInProgress; } return self; } - (instancetype)initWithComplete:(DBSHARINGSharedFolderMetadata *)complete { self = [super init]; if (self) { _tag = DBSHARINGShareFolderJobStatusComplete; _complete = complete; } return self; } - (instancetype)initWithFailed:(DBSHARINGShareFolderError *)failed { self = [super init]; if (self) { _tag = DBSHARINGShareFolderJobStatusFailed; _failed = failed; } return self; } #pragma mark - Instance field accessors - (DBSHARINGSharedFolderMetadata *)complete { if (![self isComplete]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBSHARINGShareFolderJobStatusComplete, but was %@.", [self tagName]]; } return _complete; } - (DBSHARINGShareFolderError *)failed { if (![self isFailed]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBSHARINGShareFolderJobStatusFailed, but was %@.", [self tagName]]; } return _failed; } #pragma mark - Tag state methods - (BOOL)isInProgress { return _tag == DBSHARINGShareFolderJobStatusInProgress; } - (BOOL)isComplete { return _tag == DBSHARINGShareFolderJobStatusComplete; } - (BOOL)isFailed { return _tag == DBSHARINGShareFolderJobStatusFailed; } - (NSString *)tagName { switch (_tag) { case DBSHARINGShareFolderJobStatusInProgress: return @"DBSHARINGShareFolderJobStatusInProgress"; case DBSHARINGShareFolderJobStatusComplete: return @"DBSHARINGShareFolderJobStatusComplete"; case DBSHARINGShareFolderJobStatusFailed: return @"DBSHARINGShareFolderJobStatusFailed"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGShareFolderJobStatusSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGShareFolderJobStatusSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGShareFolderJobStatusSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToShareFolderJobStatus:other]; } - (BOOL)isEqualToShareFolderJobStatus:(DBSHARINGShareFolderJobStatus *)aShareFolderJobStatus { if (self == aShareFolderJobStatus) { return YES; } if (self.tag != aShareFolderJobStatus.tag) { return NO; } switch (_tag) { case DBSHARINGShareFolderJobStatusInProgress: return [[self tagName] isEqual:[aShareFolderJobStatus tagName]]; case DBSHARINGShareFolderJobStatusComplete: return [self.complete isEqual:aShareFolderJobStatus.complete]; case DBSHARINGShareFolderJobStatusFailed: return [self.failed isEqual:aShareFolderJobStatus.failed]; } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGShareFolderJobStatusSerializer + (NSDictionary *)serialize:(DBSHARINGShareFolderJobStatus *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isInProgress]) { jsonDict[@".tag"] = @"in_progress"; } else if ([valueObj isComplete]) { [jsonDict addEntriesFromDictionary:[DBSHARINGSharedFolderMetadataSerializer serialize:valueObj.complete]]; jsonDict[@".tag"] = @"complete"; } else if ([valueObj isFailed]) { jsonDict[@"failed"] = [[DBSHARINGShareFolderErrorSerializer 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; } + (DBSHARINGShareFolderJobStatus *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"in_progress"]) { return [[DBSHARINGShareFolderJobStatus alloc] initWithInProgress]; } else if ([tag isEqualToString:@"complete"]) { DBSHARINGSharedFolderMetadata *complete = [DBSHARINGSharedFolderMetadataSerializer deserialize:valueDict]; return [[DBSHARINGShareFolderJobStatus alloc] initWithComplete:complete]; } else if ([tag isEqualToString:@"failed"]) { DBSHARINGShareFolderError *failed = [DBSHARINGShareFolderErrorSerializer deserialize:valueDict[@"failed"]]; return [[DBSHARINGShareFolderJobStatus 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 "DBSHARINGShareFolderLaunch.h" #import "DBSHARINGSharedFolderMetadata.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGShareFolderLaunch @synthesize asyncJobId = _asyncJobId; @synthesize complete = _complete; #pragma mark - Constructors - (instancetype)initWithAsyncJobId:(NSString *)asyncJobId { self = [super init]; if (self) { _tag = DBSHARINGShareFolderLaunchAsyncJobId; _asyncJobId = asyncJobId; } return self; } - (instancetype)initWithComplete:(DBSHARINGSharedFolderMetadata *)complete { self = [super init]; if (self) { _tag = DBSHARINGShareFolderLaunchComplete; _complete = complete; } return self; } #pragma mark - Instance field accessors - (NSString *)asyncJobId { if (![self isAsyncJobId]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBSHARINGShareFolderLaunchAsyncJobId, but was %@.", [self tagName]]; } return _asyncJobId; } - (DBSHARINGSharedFolderMetadata *)complete { if (![self isComplete]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBSHARINGShareFolderLaunchComplete, but was %@.", [self tagName]]; } return _complete; } #pragma mark - Tag state methods - (BOOL)isAsyncJobId { return _tag == DBSHARINGShareFolderLaunchAsyncJobId; } - (BOOL)isComplete { return _tag == DBSHARINGShareFolderLaunchComplete; } - (NSString *)tagName { switch (_tag) { case DBSHARINGShareFolderLaunchAsyncJobId: return @"DBSHARINGShareFolderLaunchAsyncJobId"; case DBSHARINGShareFolderLaunchComplete: return @"DBSHARINGShareFolderLaunchComplete"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGShareFolderLaunchSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGShareFolderLaunchSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGShareFolderLaunchSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 DBSHARINGShareFolderLaunchAsyncJobId: result = prime * result + [self.asyncJobId hash]; break; case DBSHARINGShareFolderLaunchComplete: 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 isEqualToShareFolderLaunch:other]; } - (BOOL)isEqualToShareFolderLaunch:(DBSHARINGShareFolderLaunch *)aShareFolderLaunch { if (self == aShareFolderLaunch) { return YES; } if (self.tag != aShareFolderLaunch.tag) { return NO; } switch (_tag) { case DBSHARINGShareFolderLaunchAsyncJobId: return [self.asyncJobId isEqual:aShareFolderLaunch.asyncJobId]; case DBSHARINGShareFolderLaunchComplete: return [self.complete isEqual:aShareFolderLaunch.complete]; } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGShareFolderLaunchSerializer + (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 addEntriesFromDictionary:[DBSHARINGSharedFolderMetadataSerializer 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; } + (DBSHARINGShareFolderLaunch *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"async_job_id"]) { NSString *asyncJobId = valueDict[@"async_job_id"]; return [[DBSHARINGShareFolderLaunch alloc] initWithAsyncJobId:asyncJobId]; } else if ([tag isEqualToString:@"complete"]) { DBSHARINGSharedFolderMetadata *complete = [DBSHARINGSharedFolderMetadataSerializer deserialize:valueDict]; return [[DBSHARINGShareFolderLaunch alloc] initWithComplete:complete]; } else { @throw([NSException exceptionWithName:@"InvalidTag" reason:[NSString stringWithFormat:@"Tag has an invalid value: \"%@\".", valueDict[@".tag"]] userInfo:nil]); } } @end #import "DBSHARINGSharePathError.h" #import "DBSHARINGSharedFolderMetadata.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGSharePathError @synthesize alreadyShared = _alreadyShared; #pragma mark - Constructors - (instancetype)initWithIsFile { self = [super init]; if (self) { _tag = DBSHARINGSharePathErrorIsFile; } return self; } - (instancetype)initWithInsideSharedFolder { self = [super init]; if (self) { _tag = DBSHARINGSharePathErrorInsideSharedFolder; } return self; } - (instancetype)initWithContainsSharedFolder { self = [super init]; if (self) { _tag = DBSHARINGSharePathErrorContainsSharedFolder; } return self; } - (instancetype)initWithContainsAppFolder { self = [super init]; if (self) { _tag = DBSHARINGSharePathErrorContainsAppFolder; } return self; } - (instancetype)initWithContainsTeamFolder { self = [super init]; if (self) { _tag = DBSHARINGSharePathErrorContainsTeamFolder; } return self; } - (instancetype)initWithIsAppFolder { self = [super init]; if (self) { _tag = DBSHARINGSharePathErrorIsAppFolder; } return self; } - (instancetype)initWithInsideAppFolder { self = [super init]; if (self) { _tag = DBSHARINGSharePathErrorInsideAppFolder; } return self; } - (instancetype)initWithIsPublicFolder { self = [super init]; if (self) { _tag = DBSHARINGSharePathErrorIsPublicFolder; } return self; } - (instancetype)initWithInsidePublicFolder { self = [super init]; if (self) { _tag = DBSHARINGSharePathErrorInsidePublicFolder; } return self; } - (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 = DBSHARINGSharePathErrorInsideOsxPackage; } return self; } - (instancetype)initWithIsVault { self = [super init]; if (self) { _tag = DBSHARINGSharePathErrorIsVault; } return self; } - (instancetype)initWithIsVaultLocked { self = [super init]; if (self) { _tag = DBSHARINGSharePathErrorIsVaultLocked; } return self; } - (instancetype)initWithIsFamily { self = [super init]; if (self) { _tag = DBSHARINGSharePathErrorIsFamily; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBSHARINGSharePathErrorOther; } return self; } #pragma mark - Instance field accessors - (DBSHARINGSharedFolderMetadata *)alreadyShared { if (![self isAlreadyShared]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBSHARINGSharePathErrorAlreadyShared, but was %@.", [self tagName]]; } return _alreadyShared; } #pragma mark - Tag state methods - (BOOL)isIsFile { return _tag == DBSHARINGSharePathErrorIsFile; } - (BOOL)isInsideSharedFolder { return _tag == DBSHARINGSharePathErrorInsideSharedFolder; } - (BOOL)isContainsSharedFolder { return _tag == DBSHARINGSharePathErrorContainsSharedFolder; } - (BOOL)isContainsAppFolder { return _tag == DBSHARINGSharePathErrorContainsAppFolder; } - (BOOL)isContainsTeamFolder { return _tag == DBSHARINGSharePathErrorContainsTeamFolder; } - (BOOL)isIsAppFolder { return _tag == DBSHARINGSharePathErrorIsAppFolder; } - (BOOL)isInsideAppFolder { return _tag == DBSHARINGSharePathErrorInsideAppFolder; } - (BOOL)isIsPublicFolder { return _tag == DBSHARINGSharePathErrorIsPublicFolder; } - (BOOL)isInsidePublicFolder { return _tag == DBSHARINGSharePathErrorInsidePublicFolder; } - (BOOL)isAlreadyShared { return _tag == DBSHARINGSharePathErrorAlreadyShared; } - (BOOL)isInvalidPath { return _tag == DBSHARINGSharePathErrorInvalidPath; } - (BOOL)isIsOsxPackage { return _tag == DBSHARINGSharePathErrorIsOsxPackage; } - (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; } - (NSString *)tagName { switch (_tag) { case DBSHARINGSharePathErrorIsFile: return @"DBSHARINGSharePathErrorIsFile"; case DBSHARINGSharePathErrorInsideSharedFolder: return @"DBSHARINGSharePathErrorInsideSharedFolder"; case DBSHARINGSharePathErrorContainsSharedFolder: return @"DBSHARINGSharePathErrorContainsSharedFolder"; case DBSHARINGSharePathErrorContainsAppFolder: return @"DBSHARINGSharePathErrorContainsAppFolder"; case DBSHARINGSharePathErrorContainsTeamFolder: return @"DBSHARINGSharePathErrorContainsTeamFolder"; case DBSHARINGSharePathErrorIsAppFolder: return @"DBSHARINGSharePathErrorIsAppFolder"; case DBSHARINGSharePathErrorInsideAppFolder: return @"DBSHARINGSharePathErrorInsideAppFolder"; case DBSHARINGSharePathErrorIsPublicFolder: return @"DBSHARINGSharePathErrorIsPublicFolder"; case DBSHARINGSharePathErrorInsidePublicFolder: return @"DBSHARINGSharePathErrorInsidePublicFolder"; case DBSHARINGSharePathErrorAlreadyShared: return @"DBSHARINGSharePathErrorAlreadyShared"; case DBSHARINGSharePathErrorInvalidPath: return @"DBSHARINGSharePathErrorInvalidPath"; case DBSHARINGSharePathErrorIsOsxPackage: return @"DBSHARINGSharePathErrorIsOsxPackage"; case DBSHARINGSharePathErrorInsideOsxPackage: return @"DBSHARINGSharePathErrorInsideOsxPackage"; case DBSHARINGSharePathErrorIsVault: return @"DBSHARINGSharePathErrorIsVault"; case DBSHARINGSharePathErrorIsVaultLocked: return @"DBSHARINGSharePathErrorIsVaultLocked"; case DBSHARINGSharePathErrorIsFamily: return @"DBSHARINGSharePathErrorIsFamily"; case DBSHARINGSharePathErrorOther: return @"DBSHARINGSharePathErrorOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGSharePathErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGSharePathErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGSharePathErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToSharePathError:other]; } - (BOOL)isEqualToSharePathError:(DBSHARINGSharePathError *)aSharePathError { if (self == aSharePathError) { return YES; } if (self.tag != aSharePathError.tag) { return NO; } switch (_tag) { case DBSHARINGSharePathErrorIsFile: return [[self tagName] isEqual:[aSharePathError tagName]]; case DBSHARINGSharePathErrorInsideSharedFolder: return [[self tagName] isEqual:[aSharePathError tagName]]; case DBSHARINGSharePathErrorContainsSharedFolder: return [[self tagName] isEqual:[aSharePathError tagName]]; case DBSHARINGSharePathErrorContainsAppFolder: return [[self tagName] isEqual:[aSharePathError tagName]]; case DBSHARINGSharePathErrorContainsTeamFolder: return [[self tagName] isEqual:[aSharePathError tagName]]; case DBSHARINGSharePathErrorIsAppFolder: return [[self tagName] isEqual:[aSharePathError tagName]]; case DBSHARINGSharePathErrorInsideAppFolder: return [[self tagName] isEqual:[aSharePathError tagName]]; case DBSHARINGSharePathErrorIsPublicFolder: return [[self tagName] isEqual:[aSharePathError tagName]]; case DBSHARINGSharePathErrorInsidePublicFolder: return [[self tagName] isEqual:[aSharePathError tagName]]; case DBSHARINGSharePathErrorAlreadyShared: return [self.alreadyShared isEqual:aSharePathError.alreadyShared]; case DBSHARINGSharePathErrorInvalidPath: return [[self tagName] isEqual:[aSharePathError tagName]]; case DBSHARINGSharePathErrorIsOsxPackage: 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]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGSharePathErrorSerializer + (NSDictionary *)serialize:(DBSHARINGSharePathError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isIsFile]) { jsonDict[@".tag"] = @"is_file"; } else if ([valueObj isInsideSharedFolder]) { jsonDict[@".tag"] = @"inside_shared_folder"; } else if ([valueObj isContainsSharedFolder]) { jsonDict[@".tag"] = @"contains_shared_folder"; } else if ([valueObj isContainsAppFolder]) { jsonDict[@".tag"] = @"contains_app_folder"; } else if ([valueObj isContainsTeamFolder]) { jsonDict[@".tag"] = @"contains_team_folder"; } else if ([valueObj isIsAppFolder]) { jsonDict[@".tag"] = @"is_app_folder"; } else if ([valueObj isInsideAppFolder]) { jsonDict[@".tag"] = @"inside_app_folder"; } else if ([valueObj isIsPublicFolder]) { jsonDict[@".tag"] = @"is_public_folder"; } else if ([valueObj isInsidePublicFolder]) { jsonDict[@".tag"] = @"inside_public_folder"; } else if ([valueObj isAlreadyShared]) { [jsonDict addEntriesFromDictionary:[DBSHARINGSharedFolderMetadataSerializer serialize:valueObj.alreadyShared]]; jsonDict[@".tag"] = @"already_shared"; } else if ([valueObj isInvalidPath]) { jsonDict[@".tag"] = @"invalid_path"; } else if ([valueObj isIsOsxPackage]) { 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; } + (DBSHARINGSharePathError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"is_file"]) { return [[DBSHARINGSharePathError alloc] initWithIsFile]; } else if ([tag isEqualToString:@"inside_shared_folder"]) { return [[DBSHARINGSharePathError alloc] initWithInsideSharedFolder]; } else if ([tag isEqualToString:@"contains_shared_folder"]) { return [[DBSHARINGSharePathError alloc] initWithContainsSharedFolder]; } else if ([tag isEqualToString:@"contains_app_folder"]) { return [[DBSHARINGSharePathError alloc] initWithContainsAppFolder]; } else if ([tag isEqualToString:@"contains_team_folder"]) { return [[DBSHARINGSharePathError alloc] initWithContainsTeamFolder]; } else if ([tag isEqualToString:@"is_app_folder"]) { return [[DBSHARINGSharePathError alloc] initWithIsAppFolder]; } else if ([tag isEqualToString:@"inside_app_folder"]) { return [[DBSHARINGSharePathError alloc] initWithInsideAppFolder]; } else if ([tag isEqualToString:@"is_public_folder"]) { return [[DBSHARINGSharePathError alloc] initWithIsPublicFolder]; } else if ([tag isEqualToString:@"inside_public_folder"]) { return [[DBSHARINGSharePathError alloc] initWithInsidePublicFolder]; } else if ([tag isEqualToString:@"already_shared"]) { DBSHARINGSharedFolderMetadata *alreadyShared = [DBSHARINGSharedFolderMetadataSerializer deserialize:valueDict]; return [[DBSHARINGSharePathError alloc] initWithAlreadyShared:alreadyShared]; } else if ([tag isEqualToString:@"invalid_path"]) { return [[DBSHARINGSharePathError alloc] initWithInvalidPath]; } else if ([tag isEqualToString:@"is_osx_package"]) { 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 { return [[DBSHARINGSharePathError alloc] initWithOther]; } } @end #import "DBSHARINGAccessLevel.h" #import "DBSHARINGAudienceExceptions.h" #import "DBSHARINGAudienceRestrictingSharedFolder.h" #import "DBSHARINGLinkAudience.h" #import "DBSHARINGLinkPermission.h" #import "DBSHARINGSharedContentLinkMetadata.h" #import "DBSHARINGSharedContentLinkMetadataBase.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGSharedContentLinkMetadata #pragma mark - Constructors - (instancetype)initWithAudienceOptions:(NSArray *)audienceOptions currentAudience:(DBSHARINGLinkAudience *)currentAudience linkPermissions:(NSArray *)linkPermissions passwordProtected:(NSNumber *)passwordProtected url:(NSString *)url accessLevel:(DBSHARINGAccessLevel *)accessLevel audienceRestrictingSharedFolder:(DBSHARINGAudienceRestrictingSharedFolder *)audienceRestrictingSharedFolder expiry:(NSDate *)expiry audienceExceptions:(DBSHARINGAudienceExceptions *)audienceExceptions { [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); [DBStoneValidators nonnullValidator:nil](url); self = [super initWithAudienceOptions:audienceOptions currentAudience:currentAudience linkPermissions:linkPermissions passwordProtected:passwordProtected accessLevel:accessLevel audienceRestrictingSharedFolder:audienceRestrictingSharedFolder expiry:expiry]; if (self) { _audienceExceptions = audienceExceptions; _url = url; } return self; } - (instancetype)initWithAudienceOptions:(NSArray *)audienceOptions currentAudience:(DBSHARINGLinkAudience *)currentAudience linkPermissions:(NSArray *)linkPermissions passwordProtected:(NSNumber *)passwordProtected url:(NSString *)url { return [self initWithAudienceOptions:audienceOptions currentAudience:currentAudience linkPermissions:linkPermissions passwordProtected:passwordProtected url:url accessLevel:nil audienceRestrictingSharedFolder:nil expiry:nil audienceExceptions:nil]; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGSharedContentLinkMetadataSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGSharedContentLinkMetadataSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGSharedContentLinkMetadataSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (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]; result = prime * result + [self.url 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]; } if (self.audienceExceptions != nil) { result = prime * result + [self.audienceExceptions hash]; } return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToSharedContentLinkMetadata:other]; } - (BOOL)isEqualToSharedContentLinkMetadata:(DBSHARINGSharedContentLinkMetadata *)aSharedContentLinkMetadata { if (self == aSharedContentLinkMetadata) { return YES; } if (![self.audienceOptions isEqual:aSharedContentLinkMetadata.audienceOptions]) { return NO; } if (![self.currentAudience isEqual:aSharedContentLinkMetadata.currentAudience]) { return NO; } if (![self.linkPermissions isEqual:aSharedContentLinkMetadata.linkPermissions]) { return NO; } if (![self.passwordProtected isEqual:aSharedContentLinkMetadata.passwordProtected]) { return NO; } if (![self.url isEqual:aSharedContentLinkMetadata.url]) { return NO; } if (self.accessLevel) { if (![self.accessLevel isEqual:aSharedContentLinkMetadata.accessLevel]) { return NO; } } if (self.audienceRestrictingSharedFolder) { if (![self.audienceRestrictingSharedFolder isEqual:aSharedContentLinkMetadata.audienceRestrictingSharedFolder]) { return NO; } } if (self.expiry) { if (![self.expiry isEqual:aSharedContentLinkMetadata.expiry]) { return NO; } } if (self.audienceExceptions) { if (![self.audienceExceptions isEqual:aSharedContentLinkMetadata.audienceExceptions]) { return NO; } } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGSharedContentLinkMetadataSerializer + (NSDictionary *)serialize:(DBSHARINGSharedContentLinkMetadata *)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; jsonDict[@"url"] = valueObj.url; 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.audienceExceptions) { jsonDict[@"audience_exceptions"] = [DBSHARINGAudienceExceptionsSerializer serialize:valueObj.audienceExceptions]; } return jsonDict; } + (DBSHARINGSharedContentLinkMetadata *)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"]; NSString *url = valueDict[@"url"]; 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; DBSHARINGAudienceExceptions *audienceExceptions = valueDict[@"audience_exceptions"] ? [DBSHARINGAudienceExceptionsSerializer deserialize:valueDict[@"audience_exceptions"]] : nil; return [[DBSHARINGSharedContentLinkMetadata alloc] initWithAudienceOptions:audienceOptions currentAudience:currentAudience linkPermissions:linkPermissions passwordProtected:passwordProtected url:url accessLevel:accessLevel audienceRestrictingSharedFolder:audienceRestrictingSharedFolder expiry:expiry audienceExceptions:audienceExceptions]; } @end #import "DBSHARINGGroupMembershipInfo.h" #import "DBSHARINGInviteeMembershipInfo.h" #import "DBSHARINGSharedFileMembers.h" #import "DBSHARINGUserFileMembershipInfo.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGSharedFileMembers #pragma mark - Constructors - (instancetype)initWithUsers:(NSArray *)users groups:(NSArray *)groups invitees:(NSArray *)invitees cursor:(NSString *)cursor { [DBStoneValidators nonnullValidator:[DBStoneValidators arrayValidator:nil maxItems:nil itemValidator:[DBStoneValidators nonnullValidator:nil]]](users); [DBStoneValidators nonnullValidator:[DBStoneValidators arrayValidator:nil maxItems:nil itemValidator:[DBStoneValidators nonnullValidator:nil]]](groups); [DBStoneValidators nonnullValidator:[DBStoneValidators arrayValidator:nil maxItems:nil itemValidator:[DBStoneValidators nonnullValidator:nil]]](invitees); self = [super init]; if (self) { _users = users; _groups = groups; _invitees = invitees; _cursor = cursor; } return self; } - (instancetype)initWithUsers:(NSArray *)users groups:(NSArray *)groups invitees:(NSArray *)invitees { return [self initWithUsers:users groups:groups invitees:invitees cursor:nil]; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGSharedFileMembersSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGSharedFileMembersSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGSharedFileMembersSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.users hash]; result = prime * result + [self.groups hash]; result = prime * result + [self.invitees hash]; if (self.cursor != nil) { 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 isEqualToSharedFileMembers:other]; } - (BOOL)isEqualToSharedFileMembers:(DBSHARINGSharedFileMembers *)aSharedFileMembers { if (self == aSharedFileMembers) { return YES; } if (![self.users isEqual:aSharedFileMembers.users]) { return NO; } if (![self.groups isEqual:aSharedFileMembers.groups]) { return NO; } if (![self.invitees isEqual:aSharedFileMembers.invitees]) { return NO; } if (self.cursor) { if (![self.cursor isEqual:aSharedFileMembers.cursor]) { return NO; } } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGSharedFileMembersSerializer + (NSDictionary *)serialize:(DBSHARINGSharedFileMembers *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"users"] = [DBArraySerializer serialize:valueObj.users withBlock:^id(id elem0) { return [DBSHARINGUserFileMembershipInfoSerializer serialize:elem0]; }]; jsonDict[@"groups"] = [DBArraySerializer serialize:valueObj.groups withBlock:^id(id elem0) { return [DBSHARINGGroupMembershipInfoSerializer serialize:elem0]; }]; jsonDict[@"invitees"] = [DBArraySerializer serialize:valueObj.invitees withBlock:^id(id elem0) { return [DBSHARINGInviteeMembershipInfoSerializer serialize:elem0]; }]; if (valueObj.cursor) { jsonDict[@"cursor"] = valueObj.cursor; } return jsonDict; } + (DBSHARINGSharedFileMembers *)deserialize:(NSDictionary *)valueDict { NSArray *users = [DBArraySerializer deserialize:valueDict[@"users"] withBlock:^id(id elem0) { return [DBSHARINGUserFileMembershipInfoSerializer deserialize:elem0]; }]; NSArray *groups = [DBArraySerializer deserialize:valueDict[@"groups"] withBlock:^id(id elem0) { return [DBSHARINGGroupMembershipInfoSerializer deserialize:elem0]; }]; NSArray *invitees = [DBArraySerializer deserialize:valueDict[@"invitees"] withBlock:^id(id elem0) { return [DBSHARINGInviteeMembershipInfoSerializer deserialize:elem0]; }]; NSString *cursor = valueDict[@"cursor"] ?: nil; return [[DBSHARINGSharedFileMembers alloc] initWithUsers:users groups:groups invitees:invitees cursor:cursor]; } @end #import "DBSHARINGAccessLevel.h" #import "DBSHARINGExpectedSharedContentLinkMetadata.h" #import "DBSHARINGFilePermission.h" #import "DBSHARINGFolderPolicy.h" #import "DBSHARINGSharedContentLinkMetadata.h" #import "DBSHARINGSharedFileMetadata.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBUSERSTeam.h" #pragma mark - API Object @implementation DBSHARINGSharedFileMetadata #pragma mark - Constructors - (instancetype)initWithId_:(NSString *)id_ name:(NSString *)name policy:(DBSHARINGFolderPolicy *)policy previewUrl:(NSString *)previewUrl accessType:(DBSHARINGAccessLevel *)accessType expectedLinkMetadata:(DBSHARINGExpectedSharedContentLinkMetadata *)expectedLinkMetadata linkMetadata:(DBSHARINGSharedContentLinkMetadata *)linkMetadata ownerDisplayNames:(NSArray *)ownerDisplayNames ownerTeam:(DBUSERSTeam *)ownerTeam parentSharedFolderId:(NSString *)parentSharedFolderId pathDisplay:(NSString *)pathDisplay pathLower:(NSString *)pathLower permissions:(NSArray *)permissions timeInvited:(NSDate *)timeInvited { [DBStoneValidators nonnullValidator:[DBStoneValidators stringValidator:@(4) maxLength:nil pattern:@"id:.+"]](id_); [DBStoneValidators nonnullValidator:nil](name); [DBStoneValidators nonnullValidator:nil](policy); [DBStoneValidators nonnullValidator:nil](previewUrl); [DBStoneValidators nullableValidator:[DBStoneValidators arrayValidator:nil maxItems:nil itemValidator:[DBStoneValidators nonnullValidator:nil]]](ownerDisplayNames); [DBStoneValidators nullableValidator:[DBStoneValidators stringValidator:nil maxLength:nil pattern:@"[-_0-9a-zA-Z:]+"]]( parentSharedFolderId); [DBStoneValidators nullableValidator:[DBStoneValidators arrayValidator:nil maxItems:nil itemValidator:[DBStoneValidators nonnullValidator:nil]]](permissions); self = [super init]; if (self) { _accessType = accessType; _id_ = id_; _expectedLinkMetadata = expectedLinkMetadata; _linkMetadata = linkMetadata; _name = name; _ownerDisplayNames = ownerDisplayNames; _ownerTeam = ownerTeam; _parentSharedFolderId = parentSharedFolderId; _pathDisplay = pathDisplay; _pathLower = pathLower; _permissions = permissions; _policy = policy; _previewUrl = previewUrl; _timeInvited = timeInvited; } return self; } - (instancetype)initWithId_:(NSString *)id_ name:(NSString *)name policy:(DBSHARINGFolderPolicy *)policy previewUrl:(NSString *)previewUrl { return [self initWithId_:id_ name:name policy:policy previewUrl:previewUrl accessType:nil expectedLinkMetadata:nil linkMetadata:nil ownerDisplayNames:nil ownerTeam:nil parentSharedFolderId:nil pathDisplay:nil pathLower:nil permissions:nil timeInvited:nil]; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGSharedFileMetadataSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGSharedFileMetadataSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGSharedFileMetadataSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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.name hash]; result = prime * result + [self.policy hash]; result = prime * result + [self.previewUrl hash]; if (self.accessType != nil) { result = prime * result + [self.accessType hash]; } if (self.expectedLinkMetadata != nil) { result = prime * result + [self.expectedLinkMetadata hash]; } if (self.linkMetadata != nil) { result = prime * result + [self.linkMetadata hash]; } if (self.ownerDisplayNames != nil) { result = prime * result + [self.ownerDisplayNames hash]; } if (self.ownerTeam != nil) { result = prime * result + [self.ownerTeam 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.permissions != nil) { result = prime * result + [self.permissions hash]; } if (self.timeInvited != nil) { result = prime * result + [self.timeInvited hash]; } return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToSharedFileMetadata:other]; } - (BOOL)isEqualToSharedFileMetadata:(DBSHARINGSharedFileMetadata *)aSharedFileMetadata { if (self == aSharedFileMetadata) { return YES; } if (![self.id_ isEqual:aSharedFileMetadata.id_]) { return NO; } if (![self.name isEqual:aSharedFileMetadata.name]) { return NO; } if (![self.policy isEqual:aSharedFileMetadata.policy]) { return NO; } if (![self.previewUrl isEqual:aSharedFileMetadata.previewUrl]) { return NO; } if (self.accessType) { if (![self.accessType isEqual:aSharedFileMetadata.accessType]) { return NO; } } if (self.expectedLinkMetadata) { if (![self.expectedLinkMetadata isEqual:aSharedFileMetadata.expectedLinkMetadata]) { return NO; } } if (self.linkMetadata) { if (![self.linkMetadata isEqual:aSharedFileMetadata.linkMetadata]) { return NO; } } if (self.ownerDisplayNames) { if (![self.ownerDisplayNames isEqual:aSharedFileMetadata.ownerDisplayNames]) { return NO; } } if (self.ownerTeam) { if (![self.ownerTeam isEqual:aSharedFileMetadata.ownerTeam]) { return NO; } } if (self.parentSharedFolderId) { if (![self.parentSharedFolderId isEqual:aSharedFileMetadata.parentSharedFolderId]) { return NO; } } if (self.pathDisplay) { if (![self.pathDisplay isEqual:aSharedFileMetadata.pathDisplay]) { return NO; } } if (self.pathLower) { if (![self.pathLower isEqual:aSharedFileMetadata.pathLower]) { return NO; } } if (self.permissions) { if (![self.permissions isEqual:aSharedFileMetadata.permissions]) { return NO; } } if (self.timeInvited) { if (![self.timeInvited isEqual:aSharedFileMetadata.timeInvited]) { return NO; } } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGSharedFileMetadataSerializer + (NSDictionary *)serialize:(DBSHARINGSharedFileMetadata *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"id"] = valueObj.id_; jsonDict[@"name"] = valueObj.name; jsonDict[@"policy"] = [DBSHARINGFolderPolicySerializer serialize:valueObj.policy]; jsonDict[@"preview_url"] = valueObj.previewUrl; if (valueObj.accessType) { jsonDict[@"access_type"] = [DBSHARINGAccessLevelSerializer serialize:valueObj.accessType]; } if (valueObj.expectedLinkMetadata) { jsonDict[@"expected_link_metadata"] = [DBSHARINGExpectedSharedContentLinkMetadataSerializer serialize:valueObj.expectedLinkMetadata]; } if (valueObj.linkMetadata) { jsonDict[@"link_metadata"] = [DBSHARINGSharedContentLinkMetadataSerializer serialize:valueObj.linkMetadata]; } if (valueObj.ownerDisplayNames) { jsonDict[@"owner_display_names"] = [DBArraySerializer serialize:valueObj.ownerDisplayNames withBlock:^id(id elem0) { return elem0; }]; } if (valueObj.ownerTeam) { jsonDict[@"owner_team"] = [DBUSERSTeamSerializer serialize:valueObj.ownerTeam]; } 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.permissions) { jsonDict[@"permissions"] = [DBArraySerializer serialize:valueObj.permissions withBlock:^id(id elem0) { return [DBSHARINGFilePermissionSerializer serialize:elem0]; }]; } if (valueObj.timeInvited) { jsonDict[@"time_invited"] = [DBNSDateSerializer serialize:valueObj.timeInvited dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; } return jsonDict; } + (DBSHARINGSharedFileMetadata *)deserialize:(NSDictionary *)valueDict { NSString *id_ = valueDict[@"id"]; NSString *name = valueDict[@"name"]; DBSHARINGFolderPolicy *policy = [DBSHARINGFolderPolicySerializer deserialize:valueDict[@"policy"]]; NSString *previewUrl = valueDict[@"preview_url"]; DBSHARINGAccessLevel *accessType = valueDict[@"access_type"] ? [DBSHARINGAccessLevelSerializer deserialize:valueDict[@"access_type"]] : nil; DBSHARINGExpectedSharedContentLinkMetadata *expectedLinkMetadata = valueDict[@"expected_link_metadata"] ? [DBSHARINGExpectedSharedContentLinkMetadataSerializer deserialize:valueDict[@"expected_link_metadata"]] : nil; DBSHARINGSharedContentLinkMetadata *linkMetadata = valueDict[@"link_metadata"] ? [DBSHARINGSharedContentLinkMetadataSerializer deserialize:valueDict[@"link_metadata"]] : nil; NSArray *ownerDisplayNames = valueDict[@"owner_display_names"] ? [DBArraySerializer deserialize:valueDict[@"owner_display_names"] withBlock:^id(id elem0) { return elem0; }] : nil; 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; NSArray *permissions = valueDict[@"permissions"] ? [DBArraySerializer deserialize:valueDict[@"permissions"] withBlock:^id(id elem0) { return [DBSHARINGFilePermissionSerializer deserialize:elem0]; }] : nil; NSDate *timeInvited = valueDict[@"time_invited"] ? [DBNSDateSerializer deserialize:valueDict[@"time_invited"] dateFormat:@"%Y-%m-%dT%H:%M:%SZ"] : nil; return [[DBSHARINGSharedFileMetadata alloc] initWithId_:id_ name:name policy:policy previewUrl:previewUrl accessType:accessType expectedLinkMetadata:expectedLinkMetadata linkMetadata:linkMetadata ownerDisplayNames:ownerDisplayNames ownerTeam:ownerTeam parentSharedFolderId:parentSharedFolderId pathDisplay:pathDisplay pathLower:pathLower permissions:permissions timeInvited:timeInvited]; } @end #import "DBSHARINGSharedFolderAccessError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGSharedFolderAccessError #pragma mark - Constructors - (instancetype)initWithInvalidId { self = [super init]; if (self) { _tag = DBSHARINGSharedFolderAccessErrorInvalidId; } return self; } - (instancetype)initWithNotAMember { self = [super init]; if (self) { _tag = DBSHARINGSharedFolderAccessErrorNotAMember; } return self; } - (instancetype)initWithInvalidMember { self = [super init]; if (self) { _tag = DBSHARINGSharedFolderAccessErrorInvalidMember; } return self; } - (instancetype)initWithEmailUnverified { self = [super init]; if (self) { _tag = DBSHARINGSharedFolderAccessErrorEmailUnverified; } return self; } - (instancetype)initWithUnmounted { self = [super init]; if (self) { _tag = DBSHARINGSharedFolderAccessErrorUnmounted; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBSHARINGSharedFolderAccessErrorOther; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isInvalidId { return _tag == DBSHARINGSharedFolderAccessErrorInvalidId; } - (BOOL)isNotAMember { return _tag == DBSHARINGSharedFolderAccessErrorNotAMember; } - (BOOL)isInvalidMember { return _tag == DBSHARINGSharedFolderAccessErrorInvalidMember; } - (BOOL)isEmailUnverified { return _tag == DBSHARINGSharedFolderAccessErrorEmailUnverified; } - (BOOL)isUnmounted { return _tag == DBSHARINGSharedFolderAccessErrorUnmounted; } - (BOOL)isOther { return _tag == DBSHARINGSharedFolderAccessErrorOther; } - (NSString *)tagName { switch (_tag) { case DBSHARINGSharedFolderAccessErrorInvalidId: return @"DBSHARINGSharedFolderAccessErrorInvalidId"; case DBSHARINGSharedFolderAccessErrorNotAMember: return @"DBSHARINGSharedFolderAccessErrorNotAMember"; case DBSHARINGSharedFolderAccessErrorInvalidMember: return @"DBSHARINGSharedFolderAccessErrorInvalidMember"; case DBSHARINGSharedFolderAccessErrorEmailUnverified: return @"DBSHARINGSharedFolderAccessErrorEmailUnverified"; case DBSHARINGSharedFolderAccessErrorUnmounted: return @"DBSHARINGSharedFolderAccessErrorUnmounted"; case DBSHARINGSharedFolderAccessErrorOther: return @"DBSHARINGSharedFolderAccessErrorOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGSharedFolderAccessErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGSharedFolderAccessErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGSharedFolderAccessErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToSharedFolderAccessError:other]; } - (BOOL)isEqualToSharedFolderAccessError:(DBSHARINGSharedFolderAccessError *)aSharedFolderAccessError { if (self == aSharedFolderAccessError) { return YES; } if (self.tag != aSharedFolderAccessError.tag) { return NO; } switch (_tag) { case DBSHARINGSharedFolderAccessErrorInvalidId: 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: return [[self tagName] isEqual:[aSharedFolderAccessError tagName]]; case DBSHARINGSharedFolderAccessErrorOther: return [[self tagName] isEqual:[aSharedFolderAccessError tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGSharedFolderAccessErrorSerializer + (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]) { jsonDict[@".tag"] = @"unmounted"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (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"]) { return [[DBSHARINGSharedFolderAccessError alloc] initWithUnmounted]; } else if ([tag isEqualToString:@"other"]) { return [[DBSHARINGSharedFolderAccessError alloc] initWithOther]; } else { return [[DBSHARINGSharedFolderAccessError alloc] initWithOther]; } } @end #import "DBSHARINGMemberAccessLevelResult.h" #import "DBSHARINGSharedFolderMemberError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGSharedFolderMemberError @synthesize noExplicitAccess = _noExplicitAccess; #pragma mark - Constructors - (instancetype)initWithInvalidDropboxId { self = [super init]; if (self) { _tag = DBSHARINGSharedFolderMemberErrorInvalidDropboxId; } return self; } - (instancetype)initWithNotAMember { self = [super init]; if (self) { _tag = DBSHARINGSharedFolderMemberErrorNotAMember; } return self; } - (instancetype)initWithNoExplicitAccess:(DBSHARINGMemberAccessLevelResult *)noExplicitAccess { self = [super init]; if (self) { _tag = DBSHARINGSharedFolderMemberErrorNoExplicitAccess; _noExplicitAccess = noExplicitAccess; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBSHARINGSharedFolderMemberErrorOther; } return self; } #pragma mark - Instance field accessors - (DBSHARINGMemberAccessLevelResult *)noExplicitAccess { if (![self isNoExplicitAccess]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBSHARINGSharedFolderMemberErrorNoExplicitAccess, but was %@.", [self tagName]]; } return _noExplicitAccess; } #pragma mark - Tag state methods - (BOOL)isInvalidDropboxId { return _tag == DBSHARINGSharedFolderMemberErrorInvalidDropboxId; } - (BOOL)isNotAMember { return _tag == DBSHARINGSharedFolderMemberErrorNotAMember; } - (BOOL)isNoExplicitAccess { return _tag == DBSHARINGSharedFolderMemberErrorNoExplicitAccess; } - (BOOL)isOther { return _tag == DBSHARINGSharedFolderMemberErrorOther; } - (NSString *)tagName { switch (_tag) { case DBSHARINGSharedFolderMemberErrorInvalidDropboxId: return @"DBSHARINGSharedFolderMemberErrorInvalidDropboxId"; case DBSHARINGSharedFolderMemberErrorNotAMember: return @"DBSHARINGSharedFolderMemberErrorNotAMember"; case DBSHARINGSharedFolderMemberErrorNoExplicitAccess: return @"DBSHARINGSharedFolderMemberErrorNoExplicitAccess"; case DBSHARINGSharedFolderMemberErrorOther: return @"DBSHARINGSharedFolderMemberErrorOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGSharedFolderMemberErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGSharedFolderMemberErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGSharedFolderMemberErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToSharedFolderMemberError:other]; } - (BOOL)isEqualToSharedFolderMemberError:(DBSHARINGSharedFolderMemberError *)aSharedFolderMemberError { if (self == aSharedFolderMemberError) { return YES; } if (self.tag != aSharedFolderMemberError.tag) { return NO; } switch (_tag) { case DBSHARINGSharedFolderMemberErrorInvalidDropboxId: return [[self tagName] isEqual:[aSharedFolderMemberError tagName]]; case DBSHARINGSharedFolderMemberErrorNotAMember: return [[self tagName] isEqual:[aSharedFolderMemberError tagName]]; case DBSHARINGSharedFolderMemberErrorNoExplicitAccess: return [self.noExplicitAccess isEqual:aSharedFolderMemberError.noExplicitAccess]; case DBSHARINGSharedFolderMemberErrorOther: return [[self tagName] isEqual:[aSharedFolderMemberError tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGSharedFolderMemberErrorSerializer + (NSDictionary *)serialize:(DBSHARINGSharedFolderMemberError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isInvalidDropboxId]) { jsonDict[@".tag"] = @"invalid_dropbox_id"; } else if ([valueObj isNotAMember]) { jsonDict[@".tag"] = @"not_a_member"; } 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; } + (DBSHARINGSharedFolderMemberError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"invalid_dropbox_id"]) { return [[DBSHARINGSharedFolderMemberError alloc] initWithInvalidDropboxId]; } else if ([tag isEqualToString:@"not_a_member"]) { return [[DBSHARINGSharedFolderMemberError alloc] initWithNotAMember]; } else if ([tag isEqualToString:@"no_explicit_access"]) { DBSHARINGMemberAccessLevelResult *noExplicitAccess = [DBSHARINGMemberAccessLevelResultSerializer deserialize:valueDict]; return [[DBSHARINGSharedFolderMemberError alloc] initWithNoExplicitAccess:noExplicitAccess]; } else if ([tag isEqualToString:@"other"]) { return [[DBSHARINGSharedFolderMemberError alloc] initWithOther]; } else { return [[DBSHARINGSharedFolderMemberError alloc] initWithOther]; } } @end #import "DBSHARINGGroupMembershipInfo.h" #import "DBSHARINGInviteeMembershipInfo.h" #import "DBSHARINGSharedFolderMembers.h" #import "DBSHARINGUserMembershipInfo.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGSharedFolderMembers #pragma mark - Constructors - (instancetype)initWithUsers:(NSArray *)users groups:(NSArray *)groups invitees:(NSArray *)invitees cursor:(NSString *)cursor { [DBStoneValidators nonnullValidator:[DBStoneValidators arrayValidator:nil maxItems:nil itemValidator:[DBStoneValidators nonnullValidator:nil]]](users); [DBStoneValidators nonnullValidator:[DBStoneValidators arrayValidator:nil maxItems:nil itemValidator:[DBStoneValidators nonnullValidator:nil]]](groups); [DBStoneValidators nonnullValidator:[DBStoneValidators arrayValidator:nil maxItems:nil itemValidator:[DBStoneValidators nonnullValidator:nil]]](invitees); self = [super init]; if (self) { _users = users; _groups = groups; _invitees = invitees; _cursor = cursor; } return self; } - (instancetype)initWithUsers:(NSArray *)users groups:(NSArray *)groups invitees:(NSArray *)invitees { return [self initWithUsers:users groups:groups invitees:invitees cursor:nil]; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGSharedFolderMembersSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGSharedFolderMembersSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGSharedFolderMembersSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.users hash]; result = prime * result + [self.groups hash]; result = prime * result + [self.invitees hash]; if (self.cursor != nil) { 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 isEqualToSharedFolderMembers:other]; } - (BOOL)isEqualToSharedFolderMembers:(DBSHARINGSharedFolderMembers *)aSharedFolderMembers { if (self == aSharedFolderMembers) { return YES; } if (![self.users isEqual:aSharedFolderMembers.users]) { return NO; } if (![self.groups isEqual:aSharedFolderMembers.groups]) { return NO; } if (![self.invitees isEqual:aSharedFolderMembers.invitees]) { return NO; } if (self.cursor) { if (![self.cursor isEqual:aSharedFolderMembers.cursor]) { return NO; } } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGSharedFolderMembersSerializer + (NSDictionary *)serialize:(DBSHARINGSharedFolderMembers *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"users"] = [DBArraySerializer serialize:valueObj.users withBlock:^id(id elem0) { return [DBSHARINGUserMembershipInfoSerializer serialize:elem0]; }]; jsonDict[@"groups"] = [DBArraySerializer serialize:valueObj.groups withBlock:^id(id elem0) { return [DBSHARINGGroupMembershipInfoSerializer serialize:elem0]; }]; jsonDict[@"invitees"] = [DBArraySerializer serialize:valueObj.invitees withBlock:^id(id elem0) { return [DBSHARINGInviteeMembershipInfoSerializer serialize:elem0]; }]; if (valueObj.cursor) { jsonDict[@"cursor"] = valueObj.cursor; } return jsonDict; } + (DBSHARINGSharedFolderMembers *)deserialize:(NSDictionary *)valueDict { NSArray *users = [DBArraySerializer deserialize:valueDict[@"users"] withBlock:^id(id elem0) { return [DBSHARINGUserMembershipInfoSerializer deserialize:elem0]; }]; NSArray *groups = [DBArraySerializer deserialize:valueDict[@"groups"] withBlock:^id(id elem0) { return [DBSHARINGGroupMembershipInfoSerializer deserialize:elem0]; }]; NSArray *invitees = [DBArraySerializer deserialize:valueDict[@"invitees"] withBlock:^id(id elem0) { return [DBSHARINGInviteeMembershipInfoSerializer deserialize:elem0]; }]; NSString *cursor = valueDict[@"cursor"] ?: nil; return [[DBSHARINGSharedFolderMembers alloc] initWithUsers:users groups:groups invitees:invitees cursor:cursor]; } @end #import "DBSHARINGAccessLevel.h" #import "DBSHARINGSharedFolderMetadataBase.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBUSERSTeam.h" #pragma mark - API Object @implementation DBSHARINGSharedFolderMetadataBase #pragma mark - Constructors - (instancetype)initWithAccessType:(DBSHARINGAccessLevel *)accessType isInsideTeamFolder:(NSNumber *)isInsideTeamFolder isTeamFolder:(NSNumber *)isTeamFolder ownerDisplayNames:(NSArray *)ownerDisplayNames ownerTeam:(DBUSERSTeam *)ownerTeam parentSharedFolderId:(NSString *)parentSharedFolderId pathDisplay:(NSString *)pathDisplay pathLower:(NSString *)pathLower parentFolderName:(NSString *)parentFolderName { [DBStoneValidators nonnullValidator:nil](accessType); [DBStoneValidators nonnullValidator:nil](isInsideTeamFolder); [DBStoneValidators nonnullValidator:nil](isTeamFolder); [DBStoneValidators nullableValidator:[DBStoneValidators arrayValidator:nil maxItems:nil itemValidator:[DBStoneValidators nonnullValidator:nil]]](ownerDisplayNames); [DBStoneValidators nullableValidator:[DBStoneValidators stringValidator:nil maxLength:nil pattern:@"[-_0-9a-zA-Z:]+"]]( parentSharedFolderId); self = [super init]; if (self) { _accessType = accessType; _isInsideTeamFolder = isInsideTeamFolder; _isTeamFolder = isTeamFolder; _ownerDisplayNames = ownerDisplayNames; _ownerTeam = ownerTeam; _parentSharedFolderId = parentSharedFolderId; _pathDisplay = pathDisplay; _pathLower = pathLower; _parentFolderName = parentFolderName; } return self; } - (instancetype)initWithAccessType:(DBSHARINGAccessLevel *)accessType isInsideTeamFolder:(NSNumber *)isInsideTeamFolder isTeamFolder:(NSNumber *)isTeamFolder { return [self initWithAccessType:accessType isInsideTeamFolder:isInsideTeamFolder isTeamFolder:isTeamFolder ownerDisplayNames:nil ownerTeam:nil parentSharedFolderId:nil pathDisplay:nil pathLower:nil parentFolderName:nil]; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGSharedFolderMetadataBaseSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGSharedFolderMetadataBaseSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGSharedFolderMetadataBaseSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.accessType hash]; result = prime * result + [self.isInsideTeamFolder hash]; result = prime * result + [self.isTeamFolder hash]; if (self.ownerDisplayNames != nil) { result = prime * result + [self.ownerDisplayNames hash]; } if (self.ownerTeam != nil) { result = prime * result + [self.ownerTeam 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToSharedFolderMetadataBase:other]; } - (BOOL)isEqualToSharedFolderMetadataBase:(DBSHARINGSharedFolderMetadataBase *)aSharedFolderMetadataBase { if (self == aSharedFolderMetadataBase) { return YES; } if (![self.accessType isEqual:aSharedFolderMetadataBase.accessType]) { return NO; } if (![self.isInsideTeamFolder isEqual:aSharedFolderMetadataBase.isInsideTeamFolder]) { return NO; } if (![self.isTeamFolder isEqual:aSharedFolderMetadataBase.isTeamFolder]) { return NO; } if (self.ownerDisplayNames) { if (![self.ownerDisplayNames isEqual:aSharedFolderMetadataBase.ownerDisplayNames]) { return NO; } } if (self.ownerTeam) { if (![self.ownerTeam isEqual:aSharedFolderMetadataBase.ownerTeam]) { return NO; } } if (self.parentSharedFolderId) { if (![self.parentSharedFolderId isEqual:aSharedFolderMetadataBase.parentSharedFolderId]) { 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; } @end #pragma mark - Serializer Object @implementation DBSHARINGSharedFolderMetadataBaseSerializer + (NSDictionary *)serialize:(DBSHARINGSharedFolderMetadataBase *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"access_type"] = [DBSHARINGAccessLevelSerializer serialize:valueObj.accessType]; jsonDict[@"is_inside_team_folder"] = valueObj.isInsideTeamFolder; jsonDict[@"is_team_folder"] = valueObj.isTeamFolder; if (valueObj.ownerDisplayNames) { jsonDict[@"owner_display_names"] = [DBArraySerializer serialize:valueObj.ownerDisplayNames withBlock:^id(id elem0) { return elem0; }]; } if (valueObj.ownerTeam) { jsonDict[@"owner_team"] = [DBUSERSTeamSerializer serialize:valueObj.ownerTeam]; } 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; } + (DBSHARINGSharedFolderMetadataBase *)deserialize:(NSDictionary *)valueDict { DBSHARINGAccessLevel *accessType = [DBSHARINGAccessLevelSerializer deserialize:valueDict[@"access_type"]]; NSNumber *isInsideTeamFolder = valueDict[@"is_inside_team_folder"]; NSNumber *isTeamFolder = valueDict[@"is_team_folder"]; NSArray *ownerDisplayNames = valueDict[@"owner_display_names"] ? [DBArraySerializer deserialize:valueDict[@"owner_display_names"] withBlock:^id(id elem0) { return elem0; }] : nil; 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 isTeamFolder:isTeamFolder ownerDisplayNames:ownerDisplayNames ownerTeam:ownerTeam parentSharedFolderId:parentSharedFolderId pathDisplay:pathDisplay pathLower:pathLower parentFolderName:parentFolderName]; } @end #import "DBSHARINGAccessInheritance.h" #import "DBSHARINGAccessLevel.h" #import "DBSHARINGFolderPermission.h" #import "DBSHARINGFolderPolicy.h" #import "DBSHARINGSharedContentLinkMetadata.h" #import "DBSHARINGSharedFolderMetadata.h" #import "DBSHARINGSharedFolderMetadataBase.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBUSERSTeam.h" #pragma mark - API Object @implementation DBSHARINGSharedFolderMetadata #pragma mark - Constructors - (instancetype)initWithAccessType:(DBSHARINGAccessLevel *)accessType isInsideTeamFolder:(NSNumber *)isInsideTeamFolder isTeamFolder:(NSNumber *)isTeamFolder name:(NSString *)name policy:(DBSHARINGFolderPolicy *)policy previewUrl:(NSString *)previewUrl sharedFolderId:(NSString *)sharedFolderId timeInvited:(NSDate *)timeInvited ownerDisplayNames:(NSArray *)ownerDisplayNames ownerTeam:(DBUSERSTeam *)ownerTeam parentSharedFolderId:(NSString *)parentSharedFolderId pathDisplay:(NSString *)pathDisplay pathLower:(NSString *)pathLower parentFolderName:(NSString *)parentFolderName linkMetadata:(DBSHARINGSharedContentLinkMetadata *)linkMetadata permissions:(NSArray *)permissions accessInheritance:(DBSHARINGAccessInheritance *)accessInheritance { [DBStoneValidators nonnullValidator:nil](accessType); [DBStoneValidators nonnullValidator:nil](isInsideTeamFolder); [DBStoneValidators nonnullValidator:nil](isTeamFolder); [DBStoneValidators nonnullValidator:nil](name); [DBStoneValidators nonnullValidator:nil](policy); [DBStoneValidators nonnullValidator:nil](previewUrl); [DBStoneValidators nonnullValidator:[DBStoneValidators stringValidator:nil maxLength:nil pattern:@"[-_0-9a-zA-Z:]+"]](sharedFolderId); [DBStoneValidators nonnullValidator:nil](timeInvited); [DBStoneValidators nullableValidator:[DBStoneValidators arrayValidator:nil maxItems:nil itemValidator:[DBStoneValidators nonnullValidator:nil]]](ownerDisplayNames); [DBStoneValidators nullableValidator:[DBStoneValidators stringValidator:nil maxLength:nil pattern:@"[-_0-9a-zA-Z:]+"]]( parentSharedFolderId); [DBStoneValidators nullableValidator:[DBStoneValidators arrayValidator:nil maxItems:nil itemValidator:[DBStoneValidators nonnullValidator:nil]]](permissions); self = [super initWithAccessType:accessType isInsideTeamFolder:isInsideTeamFolder isTeamFolder:isTeamFolder ownerDisplayNames:ownerDisplayNames ownerTeam:ownerTeam parentSharedFolderId:parentSharedFolderId pathDisplay:pathDisplay pathLower:pathLower parentFolderName:parentFolderName]; if (self) { _linkMetadata = linkMetadata; _name = name; _permissions = permissions; _policy = policy; _previewUrl = previewUrl; _sharedFolderId = sharedFolderId; _timeInvited = timeInvited; _accessInheritance = accessInheritance ?: [[DBSHARINGAccessInheritance alloc] initWithInherit]; } return self; } - (instancetype)initWithAccessType:(DBSHARINGAccessLevel *)accessType isInsideTeamFolder:(NSNumber *)isInsideTeamFolder isTeamFolder:(NSNumber *)isTeamFolder name:(NSString *)name policy:(DBSHARINGFolderPolicy *)policy previewUrl:(NSString *)previewUrl sharedFolderId:(NSString *)sharedFolderId timeInvited:(NSDate *)timeInvited { return [self initWithAccessType:accessType isInsideTeamFolder:isInsideTeamFolder isTeamFolder:isTeamFolder name:name policy:policy previewUrl:previewUrl sharedFolderId:sharedFolderId timeInvited:timeInvited ownerDisplayNames:nil ownerTeam:nil parentSharedFolderId:nil pathDisplay:nil pathLower:nil parentFolderName:nil linkMetadata:nil permissions:nil accessInheritance:nil]; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGSharedFolderMetadataSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGSharedFolderMetadataSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGSharedFolderMetadataSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.accessType hash]; result = prime * result + [self.isInsideTeamFolder hash]; result = prime * result + [self.isTeamFolder hash]; result = prime * result + [self.name hash]; result = prime * result + [self.policy hash]; result = prime * result + [self.previewUrl hash]; result = prime * result + [self.sharedFolderId hash]; result = prime * result + [self.timeInvited hash]; if (self.ownerDisplayNames != nil) { result = prime * result + [self.ownerDisplayNames hash]; } if (self.ownerTeam != nil) { result = prime * result + [self.ownerTeam 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToSharedFolderMetadata:other]; } - (BOOL)isEqualToSharedFolderMetadata:(DBSHARINGSharedFolderMetadata *)aSharedFolderMetadata { if (self == aSharedFolderMetadata) { return YES; } if (![self.accessType isEqual:aSharedFolderMetadata.accessType]) { return NO; } if (![self.isInsideTeamFolder isEqual:aSharedFolderMetadata.isInsideTeamFolder]) { return NO; } if (![self.isTeamFolder isEqual:aSharedFolderMetadata.isTeamFolder]) { return NO; } if (![self.name isEqual:aSharedFolderMetadata.name]) { return NO; } if (![self.policy isEqual:aSharedFolderMetadata.policy]) { return NO; } if (![self.previewUrl isEqual:aSharedFolderMetadata.previewUrl]) { return NO; } if (![self.sharedFolderId isEqual:aSharedFolderMetadata.sharedFolderId]) { return NO; } if (![self.timeInvited isEqual:aSharedFolderMetadata.timeInvited]) { return NO; } if (self.ownerDisplayNames) { if (![self.ownerDisplayNames isEqual:aSharedFolderMetadata.ownerDisplayNames]) { return NO; } } if (self.ownerTeam) { if (![self.ownerTeam isEqual:aSharedFolderMetadata.ownerTeam]) { return NO; } } if (self.parentSharedFolderId) { if (![self.parentSharedFolderId isEqual:aSharedFolderMetadata.parentSharedFolderId]) { 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; } } if (self.permissions) { if (![self.permissions isEqual:aSharedFolderMetadata.permissions]) { return NO; } } if (![self.accessInheritance isEqual:aSharedFolderMetadata.accessInheritance]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGSharedFolderMetadataSerializer + (NSDictionary *)serialize:(DBSHARINGSharedFolderMetadata *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"access_type"] = [DBSHARINGAccessLevelSerializer serialize:valueObj.accessType]; jsonDict[@"is_inside_team_folder"] = valueObj.isInsideTeamFolder; jsonDict[@"is_team_folder"] = valueObj.isTeamFolder; jsonDict[@"name"] = valueObj.name; jsonDict[@"policy"] = [DBSHARINGFolderPolicySerializer serialize:valueObj.policy]; jsonDict[@"preview_url"] = valueObj.previewUrl; jsonDict[@"shared_folder_id"] = valueObj.sharedFolderId; jsonDict[@"time_invited"] = [DBNSDateSerializer serialize:valueObj.timeInvited dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; if (valueObj.ownerDisplayNames) { jsonDict[@"owner_display_names"] = [DBArraySerializer serialize:valueObj.ownerDisplayNames withBlock:^id(id elem0) { return elem0; }]; } if (valueObj.ownerTeam) { jsonDict[@"owner_team"] = [DBUSERSTeamSerializer serialize:valueObj.ownerTeam]; } 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]; } if (valueObj.permissions) { jsonDict[@"permissions"] = [DBArraySerializer serialize:valueObj.permissions withBlock:^id(id elem0) { return [DBSHARINGFolderPermissionSerializer serialize:elem0]; }]; } jsonDict[@"access_inheritance"] = [DBSHARINGAccessInheritanceSerializer serialize:valueObj.accessInheritance]; return jsonDict; } + (DBSHARINGSharedFolderMetadata *)deserialize:(NSDictionary *)valueDict { DBSHARINGAccessLevel *accessType = [DBSHARINGAccessLevelSerializer deserialize:valueDict[@"access_type"]]; NSNumber *isInsideTeamFolder = valueDict[@"is_inside_team_folder"]; NSNumber *isTeamFolder = valueDict[@"is_team_folder"]; NSString *name = valueDict[@"name"]; DBSHARINGFolderPolicy *policy = [DBSHARINGFolderPolicySerializer deserialize:valueDict[@"policy"]]; NSString *previewUrl = valueDict[@"preview_url"]; NSString *sharedFolderId = valueDict[@"shared_folder_id"]; NSDate *timeInvited = [DBNSDateSerializer deserialize:valueDict[@"time_invited"] dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; NSArray *ownerDisplayNames = valueDict[@"owner_display_names"] ? [DBArraySerializer deserialize:valueDict[@"owner_display_names"] withBlock:^id(id elem0) { return elem0; }] : nil; 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"]] : nil; NSArray *permissions = valueDict[@"permissions"] ? [DBArraySerializer deserialize:valueDict[@"permissions"] withBlock:^id(id elem0) { 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 isTeamFolder:isTeamFolder name:name policy:policy previewUrl:previewUrl sharedFolderId:sharedFolderId timeInvited:timeInvited ownerDisplayNames:ownerDisplayNames ownerTeam:ownerTeam parentSharedFolderId:parentSharedFolderId pathDisplay:pathDisplay pathLower:pathLower parentFolderName:parentFolderName linkMetadata:linkMetadata permissions:permissions accessInheritance:accessInheritance]; } @end #import "DBSHARINGSharedLinkAccessFailureReason.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGSharedLinkAccessFailureReason #pragma mark - Constructors - (instancetype)initWithLoginRequired { self = [super init]; if (self) { _tag = DBSHARINGSharedLinkAccessFailureReasonLoginRequired; } return self; } - (instancetype)initWithEmailVerifyRequired { self = [super init]; if (self) { _tag = DBSHARINGSharedLinkAccessFailureReasonEmailVerifyRequired; } return self; } - (instancetype)initWithPasswordRequired { self = [super init]; if (self) { _tag = DBSHARINGSharedLinkAccessFailureReasonPasswordRequired; } return self; } - (instancetype)initWithTeamOnly { self = [super init]; if (self) { _tag = DBSHARINGSharedLinkAccessFailureReasonTeamOnly; } return self; } - (instancetype)initWithOwnerOnly { self = [super init]; if (self) { _tag = DBSHARINGSharedLinkAccessFailureReasonOwnerOnly; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBSHARINGSharedLinkAccessFailureReasonOther; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isLoginRequired { return _tag == DBSHARINGSharedLinkAccessFailureReasonLoginRequired; } - (BOOL)isEmailVerifyRequired { return _tag == DBSHARINGSharedLinkAccessFailureReasonEmailVerifyRequired; } - (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; } #pragma mark - Instance field accessors - (DBSHARINGSharedLinkMetadata *)metadata { if (![self isMetadata]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBSHARINGSharedLinkAlreadyExistsMetadataMetadata, but was %@.", [self tagName]]; } return _metadata; } #pragma mark - Tag state methods - (BOOL)isMetadata { return _tag == DBSHARINGSharedLinkAlreadyExistsMetadataMetadata; } - (BOOL)isOther { return _tag == DBSHARINGSharedLinkAlreadyExistsMetadataOther; } - (NSString *)tagName { switch (_tag) { case DBSHARINGSharedLinkAlreadyExistsMetadataMetadata: return @"DBSHARINGSharedLinkAlreadyExistsMetadataMetadata"; case DBSHARINGSharedLinkAlreadyExistsMetadataOther: return @"DBSHARINGSharedLinkAlreadyExistsMetadataOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGSharedLinkAlreadyExistsMetadataSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGSharedLinkAlreadyExistsMetadataSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGSharedLinkAlreadyExistsMetadataSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 DBSHARINGSharedLinkAlreadyExistsMetadataMetadata: result = prime * result + [self.metadata hash]; break; case DBSHARINGSharedLinkAlreadyExistsMetadataOther: 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 isEqualToSharedLinkAlreadyExistsMetadata:other]; } - (BOOL)isEqualToSharedLinkAlreadyExistsMetadata: (DBSHARINGSharedLinkAlreadyExistsMetadata *)aSharedLinkAlreadyExistsMetadata { if (self == aSharedLinkAlreadyExistsMetadata) { return YES; } if (self.tag != aSharedLinkAlreadyExistsMetadata.tag) { return NO; } switch (_tag) { case DBSHARINGSharedLinkAlreadyExistsMetadataMetadata: return [self.metadata isEqual:aSharedLinkAlreadyExistsMetadata.metadata]; case DBSHARINGSharedLinkAlreadyExistsMetadataOther: return [[self tagName] isEqual:[aSharedLinkAlreadyExistsMetadata tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGSharedLinkAlreadyExistsMetadataSerializer + (NSDictionary *)serialize:(DBSHARINGSharedLinkAlreadyExistsMetadata *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; 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; } + (DBSHARINGSharedLinkAlreadyExistsMetadata *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"metadata"]) { DBSHARINGSharedLinkMetadata *metadata = [DBSHARINGSharedLinkMetadataSerializer deserialize:valueDict[@"metadata"]]; return [[DBSHARINGSharedLinkAlreadyExistsMetadata alloc] initWithMetadata:metadata]; } else if ([tag isEqualToString:@"other"]) { return [[DBSHARINGSharedLinkAlreadyExistsMetadata alloc] initWithOther]; } else { return [[DBSHARINGSharedLinkAlreadyExistsMetadata alloc] initWithOther]; } } @end #import "DBSHARINGSharedLinkPolicy.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGSharedLinkPolicy #pragma mark - Constructors - (instancetype)initWithAnyone { self = [super init]; if (self) { _tag = DBSHARINGSharedLinkPolicyAnyone; } return self; } - (instancetype)initWithTeam { self = [super init]; if (self) { _tag = DBSHARINGSharedLinkPolicyTeam; } return self; } - (instancetype)initWithMembers { self = [super init]; if (self) { _tag = DBSHARINGSharedLinkPolicyMembers; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBSHARINGSharedLinkPolicyOther; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isAnyone { return _tag == DBSHARINGSharedLinkPolicyAnyone; } - (BOOL)isTeam { return _tag == DBSHARINGSharedLinkPolicyTeam; } - (BOOL)isMembers { return _tag == DBSHARINGSharedLinkPolicyMembers; } - (BOOL)isOther { return _tag == DBSHARINGSharedLinkPolicyOther; } - (NSString *)tagName { switch (_tag) { case DBSHARINGSharedLinkPolicyAnyone: return @"DBSHARINGSharedLinkPolicyAnyone"; case DBSHARINGSharedLinkPolicyTeam: return @"DBSHARINGSharedLinkPolicyTeam"; case DBSHARINGSharedLinkPolicyMembers: return @"DBSHARINGSharedLinkPolicyMembers"; case DBSHARINGSharedLinkPolicyOther: return @"DBSHARINGSharedLinkPolicyOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGSharedLinkPolicySerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGSharedLinkPolicySerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGSharedLinkPolicySerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToSharedLinkPolicy:other]; } - (BOOL)isEqualToSharedLinkPolicy:(DBSHARINGSharedLinkPolicy *)aSharedLinkPolicy { if (self == aSharedLinkPolicy) { return YES; } if (self.tag != aSharedLinkPolicy.tag) { return NO; } switch (_tag) { case DBSHARINGSharedLinkPolicyAnyone: return [[self tagName] isEqual:[aSharedLinkPolicy tagName]]; case DBSHARINGSharedLinkPolicyTeam: return [[self tagName] isEqual:[aSharedLinkPolicy tagName]]; case DBSHARINGSharedLinkPolicyMembers: return [[self tagName] isEqual:[aSharedLinkPolicy tagName]]; case DBSHARINGSharedLinkPolicyOther: return [[self tagName] isEqual:[aSharedLinkPolicy tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGSharedLinkPolicySerializer + (NSDictionary *)serialize:(DBSHARINGSharedLinkPolicy *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isAnyone]) { jsonDict[@".tag"] = @"anyone"; } 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"; } return jsonDict; } + (DBSHARINGSharedLinkPolicy *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"anyone"]) { return [[DBSHARINGSharedLinkPolicy alloc] initWithAnyone]; } else if ([tag isEqualToString:@"team"]) { return [[DBSHARINGSharedLinkPolicy alloc] initWithTeam]; } else if ([tag isEqualToString:@"members"]) { return [[DBSHARINGSharedLinkPolicy alloc] initWithMembers]; } else if ([tag isEqualToString:@"other"]) { return [[DBSHARINGSharedLinkPolicy alloc] initWithOther]; } else { return [[DBSHARINGSharedLinkPolicy alloc] initWithOther]; } } @end #import "DBSHARINGLinkAudience.h" #import "DBSHARINGRequestedLinkAccessLevel.h" #import "DBSHARINGRequestedVisibility.h" #import "DBSHARINGSharedLinkSettings.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGSharedLinkSettings #pragma mark - Constructors - (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) { _requirePassword = requirePassword; _linkPassword = linkPassword; _expires = expires; _audience = audience; _access = access; _requestedVisibility = requestedVisibility; _allowDownload = allowDownload; } return self; } - (instancetype)initDefault { 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 { return [DBSHARINGSharedLinkSettingsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGSharedLinkSettingsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGSharedLinkSettingsSerializer serialize:self] description]; } #pragma mark - Copyable method - (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.requirePassword != nil) { result = prime * result + [self.requirePassword hash]; } if (self.linkPassword != nil) { result = prime * result + [self.linkPassword 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToSharedLinkSettings:other]; } - (BOOL)isEqualToSharedLinkSettings:(DBSHARINGSharedLinkSettings *)aSharedLinkSettings { if (self == aSharedLinkSettings) { return YES; } if (self.requirePassword) { if (![self.requirePassword isEqual:aSharedLinkSettings.requirePassword]) { return NO; } } if (self.linkPassword) { if (![self.linkPassword isEqual:aSharedLinkSettings.linkPassword]) { return NO; } } if (self.expires) { if (![self.expires isEqual:aSharedLinkSettings.expires]) { 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; } @end #pragma mark - Serializer Object @implementation DBSHARINGSharedLinkSettingsSerializer + (NSDictionary *)serialize:(DBSHARINGSharedLinkSettings *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if (valueObj.requirePassword) { jsonDict[@"require_password"] = valueObj.requirePassword; } if (valueObj.linkPassword) { jsonDict[@"link_password"] = valueObj.linkPassword; } 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; } + (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] initWithRequirePassword:requirePassword linkPassword:linkPassword expires:expires audience:audience access:access requestedVisibility:requestedVisibility allowDownload:allowDownload]; } @end #import "DBSHARINGSharedLinkSettingsError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGSharedLinkSettingsError #pragma mark - Constructors - (instancetype)initWithInvalidSettings { self = [super init]; if (self) { _tag = DBSHARINGSharedLinkSettingsErrorInvalidSettings; } return self; } - (instancetype)initWithNotAuthorized { self = [super init]; if (self) { _tag = DBSHARINGSharedLinkSettingsErrorNotAuthorized; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isInvalidSettings { return _tag == DBSHARINGSharedLinkSettingsErrorInvalidSettings; } - (BOOL)isNotAuthorized { return _tag == DBSHARINGSharedLinkSettingsErrorNotAuthorized; } - (NSString *)tagName { switch (_tag) { case DBSHARINGSharedLinkSettingsErrorInvalidSettings: return @"DBSHARINGSharedLinkSettingsErrorInvalidSettings"; case DBSHARINGSharedLinkSettingsErrorNotAuthorized: return @"DBSHARINGSharedLinkSettingsErrorNotAuthorized"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGSharedLinkSettingsErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGSharedLinkSettingsErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGSharedLinkSettingsErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 DBSHARINGSharedLinkSettingsErrorInvalidSettings: result = prime * result + [[self tagName] hash]; break; case DBSHARINGSharedLinkSettingsErrorNotAuthorized: 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 isEqualToSharedLinkSettingsError:other]; } - (BOOL)isEqualToSharedLinkSettingsError:(DBSHARINGSharedLinkSettingsError *)aSharedLinkSettingsError { if (self == aSharedLinkSettingsError) { return YES; } if (self.tag != aSharedLinkSettingsError.tag) { return NO; } switch (_tag) { case DBSHARINGSharedLinkSettingsErrorInvalidSettings: return [[self tagName] isEqual:[aSharedLinkSettingsError tagName]]; case DBSHARINGSharedLinkSettingsErrorNotAuthorized: return [[self tagName] isEqual:[aSharedLinkSettingsError tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGSharedLinkSettingsErrorSerializer + (NSDictionary *)serialize:(DBSHARINGSharedLinkSettingsError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isInvalidSettings]) { jsonDict[@".tag"] = @"invalid_settings"; } else if ([valueObj isNotAuthorized]) { jsonDict[@".tag"] = @"not_authorized"; } else { @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Object not properly initialized. Tag has an unknown value." userInfo:nil]); } return jsonDict; } + (DBSHARINGSharedLinkSettingsError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"invalid_settings"]) { return [[DBSHARINGSharedLinkSettingsError alloc] initWithInvalidSettings]; } else if ([tag isEqualToString:@"not_authorized"]) { return [[DBSHARINGSharedLinkSettingsError alloc] initWithNotAuthorized]; } else { @throw([NSException exceptionWithName:@"InvalidTag" reason:[NSString stringWithFormat:@"Tag has an invalid value: \"%@\".", valueDict[@".tag"]] userInfo:nil]); } } @end #import "DBSHARINGSharingFileAccessError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGSharingFileAccessError #pragma mark - Constructors - (instancetype)initWithNoPermission { self = [super init]; if (self) { _tag = DBSHARINGSharingFileAccessErrorNoPermission; } return self; } - (instancetype)initWithInvalidFile { self = [super init]; if (self) { _tag = DBSHARINGSharingFileAccessErrorInvalidFile; } return self; } - (instancetype)initWithIsFolder { self = [super init]; if (self) { _tag = DBSHARINGSharingFileAccessErrorIsFolder; } return self; } - (instancetype)initWithInsidePublicFolder { self = [super init]; if (self) { _tag = DBSHARINGSharingFileAccessErrorInsidePublicFolder; } return self; } - (instancetype)initWithInsideOsxPackage { self = [super init]; if (self) { _tag = DBSHARINGSharingFileAccessErrorInsideOsxPackage; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBSHARINGSharingFileAccessErrorOther; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isNoPermission { return _tag == DBSHARINGSharingFileAccessErrorNoPermission; } - (BOOL)isInvalidFile { return _tag == DBSHARINGSharingFileAccessErrorInvalidFile; } - (BOOL)isIsFolder { return _tag == DBSHARINGSharingFileAccessErrorIsFolder; } - (BOOL)isInsidePublicFolder { return _tag == DBSHARINGSharingFileAccessErrorInsidePublicFolder; } - (BOOL)isInsideOsxPackage { return _tag == DBSHARINGSharingFileAccessErrorInsideOsxPackage; } - (BOOL)isOther { return _tag == DBSHARINGSharingFileAccessErrorOther; } - (NSString *)tagName { switch (_tag) { case DBSHARINGSharingFileAccessErrorNoPermission: return @"DBSHARINGSharingFileAccessErrorNoPermission"; case DBSHARINGSharingFileAccessErrorInvalidFile: return @"DBSHARINGSharingFileAccessErrorInvalidFile"; case DBSHARINGSharingFileAccessErrorIsFolder: return @"DBSHARINGSharingFileAccessErrorIsFolder"; case DBSHARINGSharingFileAccessErrorInsidePublicFolder: return @"DBSHARINGSharingFileAccessErrorInsidePublicFolder"; case DBSHARINGSharingFileAccessErrorInsideOsxPackage: return @"DBSHARINGSharingFileAccessErrorInsideOsxPackage"; case DBSHARINGSharingFileAccessErrorOther: return @"DBSHARINGSharingFileAccessErrorOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGSharingFileAccessErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGSharingFileAccessErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGSharingFileAccessErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToSharingFileAccessError:other]; } - (BOOL)isEqualToSharingFileAccessError:(DBSHARINGSharingFileAccessError *)aSharingFileAccessError { if (self == aSharingFileAccessError) { return YES; } if (self.tag != aSharingFileAccessError.tag) { return NO; } switch (_tag) { case DBSHARINGSharingFileAccessErrorNoPermission: return [[self tagName] isEqual:[aSharingFileAccessError tagName]]; case DBSHARINGSharingFileAccessErrorInvalidFile: return [[self tagName] isEqual:[aSharingFileAccessError tagName]]; case DBSHARINGSharingFileAccessErrorIsFolder: return [[self tagName] isEqual:[aSharingFileAccessError tagName]]; case DBSHARINGSharingFileAccessErrorInsidePublicFolder: return [[self tagName] isEqual:[aSharingFileAccessError tagName]]; case DBSHARINGSharingFileAccessErrorInsideOsxPackage: return [[self tagName] isEqual:[aSharingFileAccessError tagName]]; case DBSHARINGSharingFileAccessErrorOther: return [[self tagName] isEqual:[aSharingFileAccessError tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGSharingFileAccessErrorSerializer + (NSDictionary *)serialize:(DBSHARINGSharingFileAccessError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isNoPermission]) { jsonDict[@".tag"] = @"no_permission"; } else if ([valueObj isInvalidFile]) { jsonDict[@".tag"] = @"invalid_file"; } else if ([valueObj isIsFolder]) { jsonDict[@".tag"] = @"is_folder"; } else if ([valueObj isInsidePublicFolder]) { jsonDict[@".tag"] = @"inside_public_folder"; } else if ([valueObj isInsideOsxPackage]) { jsonDict[@".tag"] = @"inside_osx_package"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBSHARINGSharingFileAccessError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"no_permission"]) { return [[DBSHARINGSharingFileAccessError alloc] initWithNoPermission]; } else if ([tag isEqualToString:@"invalid_file"]) { return [[DBSHARINGSharingFileAccessError alloc] initWithInvalidFile]; } else if ([tag isEqualToString:@"is_folder"]) { return [[DBSHARINGSharingFileAccessError alloc] initWithIsFolder]; } else if ([tag isEqualToString:@"inside_public_folder"]) { return [[DBSHARINGSharingFileAccessError alloc] initWithInsidePublicFolder]; } else if ([tag isEqualToString:@"inside_osx_package"]) { return [[DBSHARINGSharingFileAccessError alloc] initWithInsideOsxPackage]; } else if ([tag isEqualToString:@"other"]) { return [[DBSHARINGSharingFileAccessError alloc] initWithOther]; } else { return [[DBSHARINGSharingFileAccessError alloc] initWithOther]; } } @end #import "DBSHARINGSharingUserError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGSharingUserError #pragma mark - Constructors - (instancetype)initWithEmailUnverified { self = [super init]; if (self) { _tag = DBSHARINGSharingUserErrorEmailUnverified; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBSHARINGSharingUserErrorOther; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isEmailUnverified { return _tag == DBSHARINGSharingUserErrorEmailUnverified; } - (BOOL)isOther { return _tag == DBSHARINGSharingUserErrorOther; } - (NSString *)tagName { switch (_tag) { case DBSHARINGSharingUserErrorEmailUnverified: return @"DBSHARINGSharingUserErrorEmailUnverified"; case DBSHARINGSharingUserErrorOther: return @"DBSHARINGSharingUserErrorOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGSharingUserErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGSharingUserErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGSharingUserErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 DBSHARINGSharingUserErrorEmailUnverified: result = prime * result + [[self tagName] hash]; break; case DBSHARINGSharingUserErrorOther: 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 isEqualToSharingUserError:other]; } - (BOOL)isEqualToSharingUserError:(DBSHARINGSharingUserError *)aSharingUserError { if (self == aSharingUserError) { return YES; } if (self.tag != aSharingUserError.tag) { return NO; } switch (_tag) { case DBSHARINGSharingUserErrorEmailUnverified: return [[self tagName] isEqual:[aSharingUserError tagName]]; case DBSHARINGSharingUserErrorOther: return [[self tagName] isEqual:[aSharingUserError tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGSharingUserErrorSerializer + (NSDictionary *)serialize:(DBSHARINGSharingUserError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isEmailUnverified]) { jsonDict[@".tag"] = @"email_unverified"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBSHARINGSharingUserError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"email_unverified"]) { return [[DBSHARINGSharingUserError alloc] initWithEmailUnverified]; } else if ([tag isEqualToString:@"other"]) { return [[DBSHARINGSharingUserError alloc] initWithOther]; } else { return [[DBSHARINGSharingUserError alloc] initWithOther]; } } @end #import "DBSHARINGTeamMemberInfo.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBUSERSTeam.h" #pragma mark - API Object @implementation DBSHARINGTeamMemberInfo #pragma mark - Constructors - (instancetype)initWithTeamInfo:(DBUSERSTeam *)teamInfo displayName:(NSString *)displayName memberId:(NSString *)memberId { [DBStoneValidators nonnullValidator:nil](teamInfo); [DBStoneValidators nonnullValidator:nil](displayName); self = [super init]; if (self) { _teamInfo = teamInfo; _displayName = displayName; _memberId = memberId; } return self; } - (instancetype)initWithTeamInfo:(DBUSERSTeam *)teamInfo displayName:(NSString *)displayName { return [self initWithTeamInfo:teamInfo displayName:displayName memberId:nil]; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGTeamMemberInfoSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGTeamMemberInfoSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGTeamMemberInfoSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.teamInfo hash]; result = prime * result + [self.displayName hash]; if (self.memberId != nil) { result = prime * result + [self.memberId hash]; } return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToTeamMemberInfo:other]; } - (BOOL)isEqualToTeamMemberInfo:(DBSHARINGTeamMemberInfo *)aTeamMemberInfo { if (self == aTeamMemberInfo) { return YES; } if (![self.teamInfo isEqual:aTeamMemberInfo.teamInfo]) { return NO; } if (![self.displayName isEqual:aTeamMemberInfo.displayName]) { return NO; } if (self.memberId) { if (![self.memberId isEqual:aTeamMemberInfo.memberId]) { return NO; } } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGTeamMemberInfoSerializer + (NSDictionary *)serialize:(DBSHARINGTeamMemberInfo *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"team_info"] = [DBUSERSTeamSerializer serialize:valueObj.teamInfo]; jsonDict[@"display_name"] = valueObj.displayName; if (valueObj.memberId) { jsonDict[@"member_id"] = valueObj.memberId; } return jsonDict; } + (DBSHARINGTeamMemberInfo *)deserialize:(NSDictionary *)valueDict { DBUSERSTeam *teamInfo = [DBUSERSTeamSerializer deserialize:valueDict[@"team_info"]]; NSString *displayName = valueDict[@"display_name"]; NSString *memberId = valueDict[@"member_id"] ?: nil; return [[DBSHARINGTeamMemberInfo alloc] initWithTeamInfo:teamInfo displayName:displayName memberId:memberId]; } @end #import "DBSHARINGTransferFolderArg.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGTransferFolderArg #pragma mark - Constructors - (instancetype)initWithSharedFolderId:(NSString *)sharedFolderId toDropboxId:(NSString *)toDropboxId { [DBStoneValidators nonnullValidator:[DBStoneValidators stringValidator:nil maxLength:nil pattern:@"[-_0-9a-zA-Z:]+"]](sharedFolderId); [DBStoneValidators nonnullValidator:[DBStoneValidators stringValidator:@(1) maxLength:nil pattern:nil]](toDropboxId); self = [super init]; if (self) { _sharedFolderId = sharedFolderId; _toDropboxId = toDropboxId; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGTransferFolderArgSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGTransferFolderArgSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGTransferFolderArgSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.sharedFolderId hash]; result = prime * result + [self.toDropboxId hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToTransferFolderArg:other]; } - (BOOL)isEqualToTransferFolderArg:(DBSHARINGTransferFolderArg *)aTransferFolderArg { if (self == aTransferFolderArg) { return YES; } if (![self.sharedFolderId isEqual:aTransferFolderArg.sharedFolderId]) { return NO; } if (![self.toDropboxId isEqual:aTransferFolderArg.toDropboxId]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGTransferFolderArgSerializer + (NSDictionary *)serialize:(DBSHARINGTransferFolderArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"shared_folder_id"] = valueObj.sharedFolderId; jsonDict[@"to_dropbox_id"] = valueObj.toDropboxId; return jsonDict; } + (DBSHARINGTransferFolderArg *)deserialize:(NSDictionary *)valueDict { NSString *sharedFolderId = valueDict[@"shared_folder_id"]; NSString *toDropboxId = valueDict[@"to_dropbox_id"]; return [[DBSHARINGTransferFolderArg alloc] initWithSharedFolderId:sharedFolderId toDropboxId:toDropboxId]; } @end #import "DBSHARINGSharedFolderAccessError.h" #import "DBSHARINGTransferFolderError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGTransferFolderError @synthesize accessError = _accessError; #pragma mark - Constructors - (instancetype)initWithAccessError:(DBSHARINGSharedFolderAccessError *)accessError { self = [super init]; if (self) { _tag = DBSHARINGTransferFolderErrorAccessError; _accessError = accessError; } return self; } - (instancetype)initWithInvalidDropboxId { self = [super init]; if (self) { _tag = DBSHARINGTransferFolderErrorInvalidDropboxId; } return self; } - (instancetype)initWithDNewOwnerNotAMember { self = [super init]; if (self) { _tag = DBSHARINGTransferFolderErrorDNewOwnerNotAMember; } return self; } - (instancetype)initWithDNewOwnerUnmounted { self = [super init]; if (self) { _tag = DBSHARINGTransferFolderErrorDNewOwnerUnmounted; } return self; } - (instancetype)initWithDNewOwnerEmailUnverified { self = [super init]; if (self) { _tag = DBSHARINGTransferFolderErrorDNewOwnerEmailUnverified; } return self; } - (instancetype)initWithTeamFolder { self = [super init]; if (self) { _tag = DBSHARINGTransferFolderErrorTeamFolder; } return self; } - (instancetype)initWithNoPermission { self = [super init]; if (self) { _tag = DBSHARINGTransferFolderErrorNoPermission; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBSHARINGTransferFolderErrorOther; } return self; } #pragma mark - Instance field accessors - (DBSHARINGSharedFolderAccessError *)accessError { if (![self isAccessError]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBSHARINGTransferFolderErrorAccessError, but was %@.", [self tagName]]; } return _accessError; } #pragma mark - Tag state methods - (BOOL)isAccessError { return _tag == DBSHARINGTransferFolderErrorAccessError; } - (BOOL)isInvalidDropboxId { return _tag == DBSHARINGTransferFolderErrorInvalidDropboxId; } - (BOOL)isDNewOwnerNotAMember { return _tag == DBSHARINGTransferFolderErrorDNewOwnerNotAMember; } - (BOOL)isDNewOwnerUnmounted { return _tag == DBSHARINGTransferFolderErrorDNewOwnerUnmounted; } - (BOOL)isDNewOwnerEmailUnverified { return _tag == DBSHARINGTransferFolderErrorDNewOwnerEmailUnverified; } - (BOOL)isTeamFolder { return _tag == DBSHARINGTransferFolderErrorTeamFolder; } - (BOOL)isNoPermission { return _tag == DBSHARINGTransferFolderErrorNoPermission; } - (BOOL)isOther { return _tag == DBSHARINGTransferFolderErrorOther; } - (NSString *)tagName { switch (_tag) { case DBSHARINGTransferFolderErrorAccessError: return @"DBSHARINGTransferFolderErrorAccessError"; case DBSHARINGTransferFolderErrorInvalidDropboxId: return @"DBSHARINGTransferFolderErrorInvalidDropboxId"; case DBSHARINGTransferFolderErrorDNewOwnerNotAMember: return @"DBSHARINGTransferFolderErrorDNewOwnerNotAMember"; case DBSHARINGTransferFolderErrorDNewOwnerUnmounted: return @"DBSHARINGTransferFolderErrorDNewOwnerUnmounted"; case DBSHARINGTransferFolderErrorDNewOwnerEmailUnverified: return @"DBSHARINGTransferFolderErrorDNewOwnerEmailUnverified"; case DBSHARINGTransferFolderErrorTeamFolder: return @"DBSHARINGTransferFolderErrorTeamFolder"; case DBSHARINGTransferFolderErrorNoPermission: return @"DBSHARINGTransferFolderErrorNoPermission"; case DBSHARINGTransferFolderErrorOther: return @"DBSHARINGTransferFolderErrorOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGTransferFolderErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGTransferFolderErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGTransferFolderErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToTransferFolderError:other]; } - (BOOL)isEqualToTransferFolderError:(DBSHARINGTransferFolderError *)aTransferFolderError { if (self == aTransferFolderError) { return YES; } if (self.tag != aTransferFolderError.tag) { return NO; } switch (_tag) { case DBSHARINGTransferFolderErrorAccessError: return [self.accessError isEqual:aTransferFolderError.accessError]; case DBSHARINGTransferFolderErrorInvalidDropboxId: return [[self tagName] isEqual:[aTransferFolderError tagName]]; case DBSHARINGTransferFolderErrorDNewOwnerNotAMember: return [[self tagName] isEqual:[aTransferFolderError tagName]]; case DBSHARINGTransferFolderErrorDNewOwnerUnmounted: return [[self tagName] isEqual:[aTransferFolderError tagName]]; case DBSHARINGTransferFolderErrorDNewOwnerEmailUnverified: return [[self tagName] isEqual:[aTransferFolderError tagName]]; case DBSHARINGTransferFolderErrorTeamFolder: return [[self tagName] isEqual:[aTransferFolderError tagName]]; case DBSHARINGTransferFolderErrorNoPermission: return [[self tagName] isEqual:[aTransferFolderError tagName]]; case DBSHARINGTransferFolderErrorOther: return [[self tagName] isEqual:[aTransferFolderError tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGTransferFolderErrorSerializer + (NSDictionary *)serialize:(DBSHARINGTransferFolderError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isAccessError]) { jsonDict[@"access_error"] = [[DBSHARINGSharedFolderAccessErrorSerializer serialize:valueObj.accessError] mutableCopy]; jsonDict[@".tag"] = @"access_error"; } else if ([valueObj isInvalidDropboxId]) { jsonDict[@".tag"] = @"invalid_dropbox_id"; } else if ([valueObj isDNewOwnerNotAMember]) { jsonDict[@".tag"] = @"new_owner_not_a_member"; } else if ([valueObj isDNewOwnerUnmounted]) { jsonDict[@".tag"] = @"new_owner_unmounted"; } else if ([valueObj isDNewOwnerEmailUnverified]) { jsonDict[@".tag"] = @"new_owner_email_unverified"; } else if ([valueObj isTeamFolder]) { jsonDict[@".tag"] = @"team_folder"; } else if ([valueObj isNoPermission]) { jsonDict[@".tag"] = @"no_permission"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBSHARINGTransferFolderError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"access_error"]) { DBSHARINGSharedFolderAccessError *accessError = [DBSHARINGSharedFolderAccessErrorSerializer deserialize:valueDict[@"access_error"]]; return [[DBSHARINGTransferFolderError alloc] initWithAccessError:accessError]; } else if ([tag isEqualToString:@"invalid_dropbox_id"]) { return [[DBSHARINGTransferFolderError alloc] initWithInvalidDropboxId]; } else if ([tag isEqualToString:@"new_owner_not_a_member"]) { return [[DBSHARINGTransferFolderError alloc] initWithDNewOwnerNotAMember]; } else if ([tag isEqualToString:@"new_owner_unmounted"]) { return [[DBSHARINGTransferFolderError alloc] initWithDNewOwnerUnmounted]; } else if ([tag isEqualToString:@"new_owner_email_unverified"]) { return [[DBSHARINGTransferFolderError alloc] initWithDNewOwnerEmailUnverified]; } else if ([tag isEqualToString:@"team_folder"]) { return [[DBSHARINGTransferFolderError alloc] initWithTeamFolder]; } else if ([tag isEqualToString:@"no_permission"]) { return [[DBSHARINGTransferFolderError alloc] initWithNoPermission]; } else if ([tag isEqualToString:@"other"]) { return [[DBSHARINGTransferFolderError alloc] initWithOther]; } else { return [[DBSHARINGTransferFolderError alloc] initWithOther]; } } @end #import "DBSHARINGUnmountFolderArg.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGUnmountFolderArg #pragma mark - Constructors - (instancetype)initWithSharedFolderId:(NSString *)sharedFolderId { [DBStoneValidators nonnullValidator:[DBStoneValidators stringValidator:nil maxLength:nil pattern:@"[-_0-9a-zA-Z:]+"]](sharedFolderId); self = [super init]; if (self) { _sharedFolderId = sharedFolderId; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGUnmountFolderArgSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGUnmountFolderArgSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGUnmountFolderArgSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.sharedFolderId hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToUnmountFolderArg:other]; } - (BOOL)isEqualToUnmountFolderArg:(DBSHARINGUnmountFolderArg *)anUnmountFolderArg { if (self == anUnmountFolderArg) { return YES; } if (![self.sharedFolderId isEqual:anUnmountFolderArg.sharedFolderId]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGUnmountFolderArgSerializer + (NSDictionary *)serialize:(DBSHARINGUnmountFolderArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"shared_folder_id"] = valueObj.sharedFolderId; return jsonDict; } + (DBSHARINGUnmountFolderArg *)deserialize:(NSDictionary *)valueDict { NSString *sharedFolderId = valueDict[@"shared_folder_id"]; return [[DBSHARINGUnmountFolderArg alloc] initWithSharedFolderId:sharedFolderId]; } @end #import "DBSHARINGSharedFolderAccessError.h" #import "DBSHARINGUnmountFolderError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGUnmountFolderError @synthesize accessError = _accessError; #pragma mark - Constructors - (instancetype)initWithAccessError:(DBSHARINGSharedFolderAccessError *)accessError { self = [super init]; if (self) { _tag = DBSHARINGUnmountFolderErrorAccessError; _accessError = accessError; } return self; } - (instancetype)initWithNoPermission { self = [super init]; if (self) { _tag = DBSHARINGUnmountFolderErrorNoPermission; } return self; } - (instancetype)initWithNotUnmountable { self = [super init]; if (self) { _tag = DBSHARINGUnmountFolderErrorNotUnmountable; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBSHARINGUnmountFolderErrorOther; } return self; } #pragma mark - Instance field accessors - (DBSHARINGSharedFolderAccessError *)accessError { if (![self isAccessError]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBSHARINGUnmountFolderErrorAccessError, but was %@.", [self tagName]]; } return _accessError; } #pragma mark - Tag state methods - (BOOL)isAccessError { return _tag == DBSHARINGUnmountFolderErrorAccessError; } - (BOOL)isNoPermission { return _tag == DBSHARINGUnmountFolderErrorNoPermission; } - (BOOL)isNotUnmountable { return _tag == DBSHARINGUnmountFolderErrorNotUnmountable; } - (BOOL)isOther { return _tag == DBSHARINGUnmountFolderErrorOther; } - (NSString *)tagName { switch (_tag) { case DBSHARINGUnmountFolderErrorAccessError: return @"DBSHARINGUnmountFolderErrorAccessError"; case DBSHARINGUnmountFolderErrorNoPermission: return @"DBSHARINGUnmountFolderErrorNoPermission"; case DBSHARINGUnmountFolderErrorNotUnmountable: return @"DBSHARINGUnmountFolderErrorNotUnmountable"; case DBSHARINGUnmountFolderErrorOther: return @"DBSHARINGUnmountFolderErrorOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGUnmountFolderErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGUnmountFolderErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGUnmountFolderErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToUnmountFolderError:other]; } - (BOOL)isEqualToUnmountFolderError:(DBSHARINGUnmountFolderError *)anUnmountFolderError { if (self == anUnmountFolderError) { return YES; } if (self.tag != anUnmountFolderError.tag) { return NO; } switch (_tag) { case DBSHARINGUnmountFolderErrorAccessError: return [self.accessError isEqual:anUnmountFolderError.accessError]; case DBSHARINGUnmountFolderErrorNoPermission: return [[self tagName] isEqual:[anUnmountFolderError tagName]]; case DBSHARINGUnmountFolderErrorNotUnmountable: return [[self tagName] isEqual:[anUnmountFolderError tagName]]; case DBSHARINGUnmountFolderErrorOther: return [[self tagName] isEqual:[anUnmountFolderError tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGUnmountFolderErrorSerializer + (NSDictionary *)serialize:(DBSHARINGUnmountFolderError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; 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 isNotUnmountable]) { jsonDict[@".tag"] = @"not_unmountable"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBSHARINGUnmountFolderError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"access_error"]) { DBSHARINGSharedFolderAccessError *accessError = [DBSHARINGSharedFolderAccessErrorSerializer deserialize:valueDict[@"access_error"]]; return [[DBSHARINGUnmountFolderError alloc] initWithAccessError:accessError]; } else if ([tag isEqualToString:@"no_permission"]) { return [[DBSHARINGUnmountFolderError alloc] initWithNoPermission]; } else if ([tag isEqualToString:@"not_unmountable"]) { return [[DBSHARINGUnmountFolderError alloc] initWithNotUnmountable]; } else if ([tag isEqualToString:@"other"]) { return [[DBSHARINGUnmountFolderError alloc] initWithOther]; } else { return [[DBSHARINGUnmountFolderError alloc] initWithOther]; } } @end #import "DBSHARINGUnshareFileArg.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGUnshareFileArg #pragma mark - Constructors - (instancetype)initWithFile:(NSString *)file { [DBStoneValidators nonnullValidator:[DBStoneValidators stringValidator:@(1) maxLength:nil pattern:@"((/|id:).*|nspath:[0-9]+:.*)|ns:[0-9]+(/.*)?"]](file); self = [super init]; if (self) { _file = file; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGUnshareFileArgSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGUnshareFileArgSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGUnshareFileArgSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.file hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToUnshareFileArg:other]; } - (BOOL)isEqualToUnshareFileArg:(DBSHARINGUnshareFileArg *)anUnshareFileArg { if (self == anUnshareFileArg) { return YES; } if (![self.file isEqual:anUnshareFileArg.file]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGUnshareFileArgSerializer + (NSDictionary *)serialize:(DBSHARINGUnshareFileArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"file"] = valueObj.file; return jsonDict; } + (DBSHARINGUnshareFileArg *)deserialize:(NSDictionary *)valueDict { NSString *file = valueDict[@"file"]; return [[DBSHARINGUnshareFileArg alloc] initWithFile:file]; } @end #import "DBSHARINGSharingFileAccessError.h" #import "DBSHARINGSharingUserError.h" #import "DBSHARINGUnshareFileError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGUnshareFileError @synthesize userError = _userError; @synthesize accessError = _accessError; #pragma mark - Constructors - (instancetype)initWithUserError:(DBSHARINGSharingUserError *)userError { self = [super init]; if (self) { _tag = DBSHARINGUnshareFileErrorUserError; _userError = userError; } return self; } - (instancetype)initWithAccessError:(DBSHARINGSharingFileAccessError *)accessError { self = [super init]; if (self) { _tag = DBSHARINGUnshareFileErrorAccessError; _accessError = accessError; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBSHARINGUnshareFileErrorOther; } return self; } #pragma mark - Instance field accessors - (DBSHARINGSharingUserError *)userError { if (![self isUserError]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBSHARINGUnshareFileErrorUserError, but was %@.", [self tagName]]; } return _userError; } - (DBSHARINGSharingFileAccessError *)accessError { if (![self isAccessError]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBSHARINGUnshareFileErrorAccessError, but was %@.", [self tagName]]; } return _accessError; } #pragma mark - Tag state methods - (BOOL)isUserError { return _tag == DBSHARINGUnshareFileErrorUserError; } - (BOOL)isAccessError { return _tag == DBSHARINGUnshareFileErrorAccessError; } - (BOOL)isOther { return _tag == DBSHARINGUnshareFileErrorOther; } - (NSString *)tagName { switch (_tag) { case DBSHARINGUnshareFileErrorUserError: return @"DBSHARINGUnshareFileErrorUserError"; case DBSHARINGUnshareFileErrorAccessError: return @"DBSHARINGUnshareFileErrorAccessError"; case DBSHARINGUnshareFileErrorOther: return @"DBSHARINGUnshareFileErrorOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGUnshareFileErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGUnshareFileErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGUnshareFileErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToUnshareFileError:other]; } - (BOOL)isEqualToUnshareFileError:(DBSHARINGUnshareFileError *)anUnshareFileError { if (self == anUnshareFileError) { return YES; } if (self.tag != anUnshareFileError.tag) { return NO; } switch (_tag) { case DBSHARINGUnshareFileErrorUserError: return [self.userError isEqual:anUnshareFileError.userError]; case DBSHARINGUnshareFileErrorAccessError: return [self.accessError isEqual:anUnshareFileError.accessError]; case DBSHARINGUnshareFileErrorOther: return [[self tagName] isEqual:[anUnshareFileError tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGUnshareFileErrorSerializer + (NSDictionary *)serialize:(DBSHARINGUnshareFileError *)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"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBSHARINGUnshareFileError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"user_error"]) { DBSHARINGSharingUserError *userError = [DBSHARINGSharingUserErrorSerializer deserialize:valueDict[@"user_error"]]; return [[DBSHARINGUnshareFileError alloc] initWithUserError:userError]; } else if ([tag isEqualToString:@"access_error"]) { DBSHARINGSharingFileAccessError *accessError = [DBSHARINGSharingFileAccessErrorSerializer deserialize:valueDict[@"access_error"]]; return [[DBSHARINGUnshareFileError alloc] initWithAccessError:accessError]; } else if ([tag isEqualToString:@"other"]) { return [[DBSHARINGUnshareFileError alloc] initWithOther]; } else { return [[DBSHARINGUnshareFileError alloc] initWithOther]; } } @end #import "DBSHARINGUnshareFolderArg.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGUnshareFolderArg #pragma mark - Constructors - (instancetype)initWithSharedFolderId:(NSString *)sharedFolderId leaveACopy:(NSNumber *)leaveACopy { [DBStoneValidators nonnullValidator:[DBStoneValidators stringValidator:nil maxLength:nil pattern:@"[-_0-9a-zA-Z:]+"]](sharedFolderId); self = [super init]; if (self) { _sharedFolderId = sharedFolderId; _leaveACopy = leaveACopy ?: @NO; } return self; } - (instancetype)initWithSharedFolderId:(NSString *)sharedFolderId { return [self initWithSharedFolderId:sharedFolderId leaveACopy:nil]; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGUnshareFolderArgSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGUnshareFolderArgSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGUnshareFolderArgSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.sharedFolderId hash]; result = prime * result + [self.leaveACopy hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToUnshareFolderArg:other]; } - (BOOL)isEqualToUnshareFolderArg:(DBSHARINGUnshareFolderArg *)anUnshareFolderArg { if (self == anUnshareFolderArg) { return YES; } if (![self.sharedFolderId isEqual:anUnshareFolderArg.sharedFolderId]) { return NO; } if (![self.leaveACopy isEqual:anUnshareFolderArg.leaveACopy]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGUnshareFolderArgSerializer + (NSDictionary *)serialize:(DBSHARINGUnshareFolderArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"shared_folder_id"] = valueObj.sharedFolderId; jsonDict[@"leave_a_copy"] = valueObj.leaveACopy; return jsonDict; } + (DBSHARINGUnshareFolderArg *)deserialize:(NSDictionary *)valueDict { NSString *sharedFolderId = valueDict[@"shared_folder_id"]; NSNumber *leaveACopy = valueDict[@"leave_a_copy"] ?: @NO; return [[DBSHARINGUnshareFolderArg alloc] initWithSharedFolderId:sharedFolderId leaveACopy:leaveACopy]; } @end #import "DBSHARINGSharedFolderAccessError.h" #import "DBSHARINGUnshareFolderError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGUnshareFolderError @synthesize accessError = _accessError; #pragma mark - Constructors - (instancetype)initWithAccessError:(DBSHARINGSharedFolderAccessError *)accessError { self = [super init]; if (self) { _tag = DBSHARINGUnshareFolderErrorAccessError; _accessError = accessError; } return self; } - (instancetype)initWithTeamFolder { self = [super init]; if (self) { _tag = DBSHARINGUnshareFolderErrorTeamFolder; } return self; } - (instancetype)initWithNoPermission { self = [super init]; if (self) { _tag = DBSHARINGUnshareFolderErrorNoPermission; } return self; } - (instancetype)initWithTooManyFiles { self = [super init]; if (self) { _tag = DBSHARINGUnshareFolderErrorTooManyFiles; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBSHARINGUnshareFolderErrorOther; } return self; } #pragma mark - Instance field accessors - (DBSHARINGSharedFolderAccessError *)accessError { if (![self isAccessError]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBSHARINGUnshareFolderErrorAccessError, but was %@.", [self tagName]]; } return _accessError; } #pragma mark - Tag state methods - (BOOL)isAccessError { return _tag == DBSHARINGUnshareFolderErrorAccessError; } - (BOOL)isTeamFolder { return _tag == DBSHARINGUnshareFolderErrorTeamFolder; } - (BOOL)isNoPermission { return _tag == DBSHARINGUnshareFolderErrorNoPermission; } - (BOOL)isTooManyFiles { return _tag == DBSHARINGUnshareFolderErrorTooManyFiles; } - (BOOL)isOther { return _tag == DBSHARINGUnshareFolderErrorOther; } - (NSString *)tagName { switch (_tag) { case DBSHARINGUnshareFolderErrorAccessError: return @"DBSHARINGUnshareFolderErrorAccessError"; case DBSHARINGUnshareFolderErrorTeamFolder: return @"DBSHARINGUnshareFolderErrorTeamFolder"; case DBSHARINGUnshareFolderErrorNoPermission: return @"DBSHARINGUnshareFolderErrorNoPermission"; case DBSHARINGUnshareFolderErrorTooManyFiles: return @"DBSHARINGUnshareFolderErrorTooManyFiles"; case DBSHARINGUnshareFolderErrorOther: return @"DBSHARINGUnshareFolderErrorOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGUnshareFolderErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGUnshareFolderErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGUnshareFolderErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToUnshareFolderError:other]; } - (BOOL)isEqualToUnshareFolderError:(DBSHARINGUnshareFolderError *)anUnshareFolderError { if (self == anUnshareFolderError) { return YES; } if (self.tag != anUnshareFolderError.tag) { return NO; } switch (_tag) { case DBSHARINGUnshareFolderErrorAccessError: return [self.accessError isEqual:anUnshareFolderError.accessError]; case DBSHARINGUnshareFolderErrorTeamFolder: return [[self tagName] isEqual:[anUnshareFolderError tagName]]; case DBSHARINGUnshareFolderErrorNoPermission: return [[self tagName] isEqual:[anUnshareFolderError tagName]]; case DBSHARINGUnshareFolderErrorTooManyFiles: return [[self tagName] isEqual:[anUnshareFolderError tagName]]; case DBSHARINGUnshareFolderErrorOther: return [[self tagName] isEqual:[anUnshareFolderError tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGUnshareFolderErrorSerializer + (NSDictionary *)serialize:(DBSHARINGUnshareFolderError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isAccessError]) { jsonDict[@"access_error"] = [[DBSHARINGSharedFolderAccessErrorSerializer serialize:valueObj.accessError] mutableCopy]; jsonDict[@".tag"] = @"access_error"; } else if ([valueObj isTeamFolder]) { jsonDict[@".tag"] = @"team_folder"; } else if ([valueObj isNoPermission]) { jsonDict[@".tag"] = @"no_permission"; } else if ([valueObj isTooManyFiles]) { jsonDict[@".tag"] = @"too_many_files"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBSHARINGUnshareFolderError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"access_error"]) { DBSHARINGSharedFolderAccessError *accessError = [DBSHARINGSharedFolderAccessErrorSerializer deserialize:valueDict[@"access_error"]]; return [[DBSHARINGUnshareFolderError alloc] initWithAccessError:accessError]; } else if ([tag isEqualToString:@"team_folder"]) { return [[DBSHARINGUnshareFolderError alloc] initWithTeamFolder]; } else if ([tag isEqualToString:@"no_permission"]) { return [[DBSHARINGUnshareFolderError alloc] initWithNoPermission]; } else if ([tag isEqualToString:@"too_many_files"]) { return [[DBSHARINGUnshareFolderError alloc] initWithTooManyFiles]; } else if ([tag isEqualToString:@"other"]) { return [[DBSHARINGUnshareFolderError alloc] initWithOther]; } else { return [[DBSHARINGUnshareFolderError alloc] initWithOther]; } } @end #import "DBSHARINGAccessLevel.h" #import "DBSHARINGMemberSelector.h" #import "DBSHARINGUpdateFileMemberArgs.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGUpdateFileMemberArgs #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); self = [super init]; if (self) { _file = file; _member = member; _accessLevel = accessLevel; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGUpdateFileMemberArgsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGUpdateFileMemberArgsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGUpdateFileMemberArgsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (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]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToUpdateFileMemberArgs:other]; } - (BOOL)isEqualToUpdateFileMemberArgs:(DBSHARINGUpdateFileMemberArgs *)anUpdateFileMemberArgs { if (self == anUpdateFileMemberArgs) { return YES; } if (![self.file isEqual:anUpdateFileMemberArgs.file]) { return NO; } if (![self.member isEqual:anUpdateFileMemberArgs.member]) { return NO; } if (![self.accessLevel isEqual:anUpdateFileMemberArgs.accessLevel]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGUpdateFileMemberArgsSerializer + (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; } + (DBSHARINGUpdateFileMemberArgs *)deserialize:(NSDictionary *)valueDict { NSString *file = valueDict[@"file"]; DBSHARINGMemberSelector *member = [DBSHARINGMemberSelectorSerializer deserialize:valueDict[@"member"]]; DBSHARINGAccessLevel *accessLevel = [DBSHARINGAccessLevelSerializer deserialize:valueDict[@"access_level"]]; return [[DBSHARINGUpdateFileMemberArgs alloc] initWithFile:file member:member accessLevel:accessLevel]; } @end #import "DBSHARINGAccessLevel.h" #import "DBSHARINGMemberSelector.h" #import "DBSHARINGUpdateFolderMemberArg.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGUpdateFolderMemberArg #pragma mark - Constructors - (instancetype)initWithSharedFolderId:(NSString *)sharedFolderId member:(DBSHARINGMemberSelector *)member accessLevel:(DBSHARINGAccessLevel *)accessLevel { [DBStoneValidators nonnullValidator:[DBStoneValidators stringValidator:nil maxLength:nil pattern:@"[-_0-9a-zA-Z:]+"]](sharedFolderId); [DBStoneValidators nonnullValidator:nil](member); [DBStoneValidators nonnullValidator:nil](accessLevel); self = [super init]; if (self) { _sharedFolderId = sharedFolderId; _member = member; _accessLevel = accessLevel; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGUpdateFolderMemberArgSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGUpdateFolderMemberArgSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGUpdateFolderMemberArgSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.sharedFolderId hash]; result = prime * result + [self.member hash]; result = prime * result + [self.accessLevel hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToUpdateFolderMemberArg:other]; } - (BOOL)isEqualToUpdateFolderMemberArg:(DBSHARINGUpdateFolderMemberArg *)anUpdateFolderMemberArg { if (self == anUpdateFolderMemberArg) { return YES; } if (![self.sharedFolderId isEqual:anUpdateFolderMemberArg.sharedFolderId]) { return NO; } if (![self.member isEqual:anUpdateFolderMemberArg.member]) { return NO; } if (![self.accessLevel isEqual:anUpdateFolderMemberArg.accessLevel]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGUpdateFolderMemberArgSerializer + (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; } + (DBSHARINGUpdateFolderMemberArg *)deserialize:(NSDictionary *)valueDict { NSString *sharedFolderId = valueDict[@"shared_folder_id"]; DBSHARINGMemberSelector *member = [DBSHARINGMemberSelectorSerializer deserialize:valueDict[@"member"]]; DBSHARINGAccessLevel *accessLevel = [DBSHARINGAccessLevelSerializer deserialize:valueDict[@"access_level"]]; return [[DBSHARINGUpdateFolderMemberArg alloc] initWithSharedFolderId:sharedFolderId member:member accessLevel:accessLevel]; } @end #import "DBSHARINGAddFolderMemberError.h" #import "DBSHARINGSharedFolderAccessError.h" #import "DBSHARINGSharedFolderMemberError.h" #import "DBSHARINGUpdateFolderMemberError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGUpdateFolderMemberError @synthesize accessError = _accessError; @synthesize memberError = _memberError; @synthesize noExplicitAccess = _noExplicitAccess; #pragma mark - Constructors - (instancetype)initWithAccessError:(DBSHARINGSharedFolderAccessError *)accessError { self = [super init]; if (self) { _tag = DBSHARINGUpdateFolderMemberErrorAccessError; _accessError = accessError; } return self; } - (instancetype)initWithMemberError:(DBSHARINGSharedFolderMemberError *)memberError { self = [super init]; if (self) { _tag = DBSHARINGUpdateFolderMemberErrorMemberError; _memberError = memberError; } return self; } - (instancetype)initWithNoExplicitAccess:(DBSHARINGAddFolderMemberError *)noExplicitAccess { self = [super init]; if (self) { _tag = DBSHARINGUpdateFolderMemberErrorNoExplicitAccess; _noExplicitAccess = noExplicitAccess; } return self; } - (instancetype)initWithInsufficientPlan { self = [super init]; if (self) { _tag = DBSHARINGUpdateFolderMemberErrorInsufficientPlan; } return self; } - (instancetype)initWithNoPermission { self = [super init]; if (self) { _tag = DBSHARINGUpdateFolderMemberErrorNoPermission; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBSHARINGUpdateFolderMemberErrorOther; } return self; } #pragma mark - Instance field accessors - (DBSHARINGSharedFolderAccessError *)accessError { if (![self isAccessError]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBSHARINGUpdateFolderMemberErrorAccessError, but was %@.", [self tagName]]; } return _accessError; } - (DBSHARINGSharedFolderMemberError *)memberError { if (![self isMemberError]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBSHARINGUpdateFolderMemberErrorMemberError, but was %@.", [self tagName]]; } return _memberError; } - (DBSHARINGAddFolderMemberError *)noExplicitAccess { if (![self isNoExplicitAccess]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBSHARINGUpdateFolderMemberErrorNoExplicitAccess, but was %@.", [self tagName]]; } return _noExplicitAccess; } #pragma mark - Tag state methods - (BOOL)isAccessError { return _tag == DBSHARINGUpdateFolderMemberErrorAccessError; } - (BOOL)isMemberError { return _tag == DBSHARINGUpdateFolderMemberErrorMemberError; } - (BOOL)isNoExplicitAccess { return _tag == DBSHARINGUpdateFolderMemberErrorNoExplicitAccess; } - (BOOL)isInsufficientPlan { return _tag == DBSHARINGUpdateFolderMemberErrorInsufficientPlan; } - (BOOL)isNoPermission { return _tag == DBSHARINGUpdateFolderMemberErrorNoPermission; } - (BOOL)isOther { return _tag == DBSHARINGUpdateFolderMemberErrorOther; } - (NSString *)tagName { switch (_tag) { case DBSHARINGUpdateFolderMemberErrorAccessError: return @"DBSHARINGUpdateFolderMemberErrorAccessError"; case DBSHARINGUpdateFolderMemberErrorMemberError: return @"DBSHARINGUpdateFolderMemberErrorMemberError"; case DBSHARINGUpdateFolderMemberErrorNoExplicitAccess: return @"DBSHARINGUpdateFolderMemberErrorNoExplicitAccess"; case DBSHARINGUpdateFolderMemberErrorInsufficientPlan: return @"DBSHARINGUpdateFolderMemberErrorInsufficientPlan"; case DBSHARINGUpdateFolderMemberErrorNoPermission: return @"DBSHARINGUpdateFolderMemberErrorNoPermission"; case DBSHARINGUpdateFolderMemberErrorOther: return @"DBSHARINGUpdateFolderMemberErrorOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGUpdateFolderMemberErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGUpdateFolderMemberErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGUpdateFolderMemberErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToUpdateFolderMemberError:other]; } - (BOOL)isEqualToUpdateFolderMemberError:(DBSHARINGUpdateFolderMemberError *)anUpdateFolderMemberError { if (self == anUpdateFolderMemberError) { return YES; } if (self.tag != anUpdateFolderMemberError.tag) { return NO; } switch (_tag) { case DBSHARINGUpdateFolderMemberErrorAccessError: return [self.accessError isEqual:anUpdateFolderMemberError.accessError]; case DBSHARINGUpdateFolderMemberErrorMemberError: return [self.memberError isEqual:anUpdateFolderMemberError.memberError]; case DBSHARINGUpdateFolderMemberErrorNoExplicitAccess: return [self.noExplicitAccess isEqual:anUpdateFolderMemberError.noExplicitAccess]; case DBSHARINGUpdateFolderMemberErrorInsufficientPlan: return [[self tagName] isEqual:[anUpdateFolderMemberError tagName]]; case DBSHARINGUpdateFolderMemberErrorNoPermission: return [[self tagName] isEqual:[anUpdateFolderMemberError tagName]]; case DBSHARINGUpdateFolderMemberErrorOther: return [[self tagName] isEqual:[anUpdateFolderMemberError tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGUpdateFolderMemberErrorSerializer + (NSDictionary *)serialize:(DBSHARINGUpdateFolderMemberError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isAccessError]) { jsonDict[@"access_error"] = [[DBSHARINGSharedFolderAccessErrorSerializer serialize:valueObj.accessError] mutableCopy]; jsonDict[@".tag"] = @"access_error"; } else if ([valueObj isMemberError]) { jsonDict[@"member_error"] = [[DBSHARINGSharedFolderMemberErrorSerializer serialize:valueObj.memberError] mutableCopy]; jsonDict[@".tag"] = @"member_error"; } else if ([valueObj isNoExplicitAccess]) { jsonDict[@"no_explicit_access"] = [[DBSHARINGAddFolderMemberErrorSerializer serialize:valueObj.noExplicitAccess] mutableCopy]; jsonDict[@".tag"] = @"no_explicit_access"; } else if ([valueObj isInsufficientPlan]) { jsonDict[@".tag"] = @"insufficient_plan"; } else if ([valueObj isNoPermission]) { jsonDict[@".tag"] = @"no_permission"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBSHARINGUpdateFolderMemberError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"access_error"]) { DBSHARINGSharedFolderAccessError *accessError = [DBSHARINGSharedFolderAccessErrorSerializer deserialize:valueDict[@"access_error"]]; return [[DBSHARINGUpdateFolderMemberError alloc] initWithAccessError:accessError]; } else if ([tag isEqualToString:@"member_error"]) { DBSHARINGSharedFolderMemberError *memberError = [DBSHARINGSharedFolderMemberErrorSerializer deserialize:valueDict[@"member_error"]]; return [[DBSHARINGUpdateFolderMemberError alloc] initWithMemberError:memberError]; } else if ([tag isEqualToString:@"no_explicit_access"]) { DBSHARINGAddFolderMemberError *noExplicitAccess = [DBSHARINGAddFolderMemberErrorSerializer deserialize:valueDict[@"no_explicit_access"]]; return [[DBSHARINGUpdateFolderMemberError alloc] initWithNoExplicitAccess:noExplicitAccess]; } else if ([tag isEqualToString:@"insufficient_plan"]) { return [[DBSHARINGUpdateFolderMemberError alloc] initWithInsufficientPlan]; } else if ([tag isEqualToString:@"no_permission"]) { return [[DBSHARINGUpdateFolderMemberError alloc] initWithNoPermission]; } else if ([tag isEqualToString:@"other"]) { return [[DBSHARINGUpdateFolderMemberError alloc] initWithOther]; } else { return [[DBSHARINGUpdateFolderMemberError alloc] initWithOther]; } } @end #import "DBSHARINGAclUpdatePolicy.h" #import "DBSHARINGFolderAction.h" #import "DBSHARINGLinkSettings.h" #import "DBSHARINGMemberPolicy.h" #import "DBSHARINGSharedLinkPolicy.h" #import "DBSHARINGUpdateFolderPolicyArg.h" #import "DBSHARINGViewerInfoPolicy.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGUpdateFolderPolicyArg #pragma mark - Constructors - (instancetype)initWithSharedFolderId:(NSString *)sharedFolderId memberPolicy:(DBSHARINGMemberPolicy *)memberPolicy aclUpdatePolicy:(DBSHARINGAclUpdatePolicy *)aclUpdatePolicy viewerInfoPolicy:(DBSHARINGViewerInfoPolicy *)viewerInfoPolicy sharedLinkPolicy:(DBSHARINGSharedLinkPolicy *)sharedLinkPolicy linkSettings:(DBSHARINGLinkSettings *)linkSettings 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); self = [super init]; if (self) { _sharedFolderId = sharedFolderId; _memberPolicy = memberPolicy; _aclUpdatePolicy = aclUpdatePolicy; _viewerInfoPolicy = viewerInfoPolicy; _sharedLinkPolicy = sharedLinkPolicy; _linkSettings = linkSettings; _actions = actions; } return self; } - (instancetype)initWithSharedFolderId:(NSString *)sharedFolderId { return [self initWithSharedFolderId:sharedFolderId memberPolicy:nil aclUpdatePolicy:nil viewerInfoPolicy:nil sharedLinkPolicy:nil linkSettings:nil actions:nil]; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGUpdateFolderPolicyArgSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGUpdateFolderPolicyArgSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGUpdateFolderPolicyArgSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.sharedFolderId hash]; if (self.memberPolicy != nil) { result = prime * result + [self.memberPolicy hash]; } if (self.aclUpdatePolicy != nil) { result = prime * result + [self.aclUpdatePolicy hash]; } if (self.viewerInfoPolicy != nil) { result = prime * result + [self.viewerInfoPolicy hash]; } if (self.sharedLinkPolicy != nil) { result = prime * result + [self.sharedLinkPolicy hash]; } if (self.linkSettings != nil) { result = prime * result + [self.linkSettings hash]; } if (self.actions != nil) { result = prime * result + [self.actions hash]; } return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToUpdateFolderPolicyArg:other]; } - (BOOL)isEqualToUpdateFolderPolicyArg:(DBSHARINGUpdateFolderPolicyArg *)anUpdateFolderPolicyArg { if (self == anUpdateFolderPolicyArg) { return YES; } if (![self.sharedFolderId isEqual:anUpdateFolderPolicyArg.sharedFolderId]) { return NO; } if (self.memberPolicy) { if (![self.memberPolicy isEqual:anUpdateFolderPolicyArg.memberPolicy]) { return NO; } } if (self.aclUpdatePolicy) { if (![self.aclUpdatePolicy isEqual:anUpdateFolderPolicyArg.aclUpdatePolicy]) { return NO; } } if (self.viewerInfoPolicy) { if (![self.viewerInfoPolicy isEqual:anUpdateFolderPolicyArg.viewerInfoPolicy]) { return NO; } } if (self.sharedLinkPolicy) { if (![self.sharedLinkPolicy isEqual:anUpdateFolderPolicyArg.sharedLinkPolicy]) { return NO; } } if (self.linkSettings) { if (![self.linkSettings isEqual:anUpdateFolderPolicyArg.linkSettings]) { return NO; } } if (self.actions) { if (![self.actions isEqual:anUpdateFolderPolicyArg.actions]) { return NO; } } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGUpdateFolderPolicyArgSerializer + (NSDictionary *)serialize:(DBSHARINGUpdateFolderPolicyArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"shared_folder_id"] = valueObj.sharedFolderId; if (valueObj.memberPolicy) { jsonDict[@"member_policy"] = [DBSHARINGMemberPolicySerializer serialize:valueObj.memberPolicy]; } if (valueObj.aclUpdatePolicy) { jsonDict[@"acl_update_policy"] = [DBSHARINGAclUpdatePolicySerializer serialize:valueObj.aclUpdatePolicy]; } if (valueObj.viewerInfoPolicy) { jsonDict[@"viewer_info_policy"] = [DBSHARINGViewerInfoPolicySerializer serialize:valueObj.viewerInfoPolicy]; } if (valueObj.sharedLinkPolicy) { jsonDict[@"shared_link_policy"] = [DBSHARINGSharedLinkPolicySerializer serialize:valueObj.sharedLinkPolicy]; } if (valueObj.linkSettings) { jsonDict[@"link_settings"] = [DBSHARINGLinkSettingsSerializer serialize:valueObj.linkSettings]; } if (valueObj.actions) { jsonDict[@"actions"] = [DBArraySerializer serialize:valueObj.actions withBlock:^id(id elem0) { return [DBSHARINGFolderActionSerializer serialize:elem0]; }]; } return jsonDict; } + (DBSHARINGUpdateFolderPolicyArg *)deserialize:(NSDictionary *)valueDict { NSString *sharedFolderId = valueDict[@"shared_folder_id"]; DBSHARINGMemberPolicy *memberPolicy = valueDict[@"member_policy"] ? [DBSHARINGMemberPolicySerializer deserialize:valueDict[@"member_policy"]] : nil; DBSHARINGAclUpdatePolicy *aclUpdatePolicy = valueDict[@"acl_update_policy"] ? [DBSHARINGAclUpdatePolicySerializer deserialize:valueDict[@"acl_update_policy"]] : nil; DBSHARINGViewerInfoPolicy *viewerInfoPolicy = valueDict[@"viewer_info_policy"] ? [DBSHARINGViewerInfoPolicySerializer deserialize:valueDict[@"viewer_info_policy"]] : nil; DBSHARINGSharedLinkPolicy *sharedLinkPolicy = valueDict[@"shared_link_policy"] ? [DBSHARINGSharedLinkPolicySerializer deserialize:valueDict[@"shared_link_policy"]] : nil; DBSHARINGLinkSettings *linkSettings = valueDict[@"link_settings"] ? [DBSHARINGLinkSettingsSerializer deserialize:valueDict[@"link_settings"]] : nil; NSArray *actions = valueDict[@"actions"] ? [DBArraySerializer deserialize:valueDict[@"actions"] withBlock:^id(id elem0) { return [DBSHARINGFolderActionSerializer deserialize:elem0]; }] : nil; return [[DBSHARINGUpdateFolderPolicyArg alloc] initWithSharedFolderId:sharedFolderId memberPolicy:memberPolicy aclUpdatePolicy:aclUpdatePolicy viewerInfoPolicy:viewerInfoPolicy sharedLinkPolicy:sharedLinkPolicy linkSettings:linkSettings actions:actions]; } @end #import "DBSHARINGSharedFolderAccessError.h" #import "DBSHARINGUpdateFolderPolicyError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGUpdateFolderPolicyError @synthesize accessError = _accessError; #pragma mark - Constructors - (instancetype)initWithAccessError:(DBSHARINGSharedFolderAccessError *)accessError { self = [super init]; if (self) { _tag = DBSHARINGUpdateFolderPolicyErrorAccessError; _accessError = accessError; } return self; } - (instancetype)initWithNotOnTeam { self = [super init]; if (self) { _tag = DBSHARINGUpdateFolderPolicyErrorNotOnTeam; } return self; } - (instancetype)initWithTeamPolicyDisallowsMemberPolicy { self = [super init]; if (self) { _tag = DBSHARINGUpdateFolderPolicyErrorTeamPolicyDisallowsMemberPolicy; } return self; } - (instancetype)initWithDisallowedSharedLinkPolicy { self = [super init]; if (self) { _tag = DBSHARINGUpdateFolderPolicyErrorDisallowedSharedLinkPolicy; } return self; } - (instancetype)initWithNoPermission { self = [super init]; if (self) { _tag = DBSHARINGUpdateFolderPolicyErrorNoPermission; } return self; } - (instancetype)initWithTeamFolder { self = [super init]; if (self) { _tag = DBSHARINGUpdateFolderPolicyErrorTeamFolder; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBSHARINGUpdateFolderPolicyErrorOther; } return self; } #pragma mark - Instance field accessors - (DBSHARINGSharedFolderAccessError *)accessError { if (![self isAccessError]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBSHARINGUpdateFolderPolicyErrorAccessError, but was %@.", [self tagName]]; } return _accessError; } #pragma mark - Tag state methods - (BOOL)isAccessError { return _tag == DBSHARINGUpdateFolderPolicyErrorAccessError; } - (BOOL)isNotOnTeam { return _tag == DBSHARINGUpdateFolderPolicyErrorNotOnTeam; } - (BOOL)isTeamPolicyDisallowsMemberPolicy { return _tag == DBSHARINGUpdateFolderPolicyErrorTeamPolicyDisallowsMemberPolicy; } - (BOOL)isDisallowedSharedLinkPolicy { return _tag == DBSHARINGUpdateFolderPolicyErrorDisallowedSharedLinkPolicy; } - (BOOL)isNoPermission { return _tag == DBSHARINGUpdateFolderPolicyErrorNoPermission; } - (BOOL)isTeamFolder { return _tag == DBSHARINGUpdateFolderPolicyErrorTeamFolder; } - (BOOL)isOther { return _tag == DBSHARINGUpdateFolderPolicyErrorOther; } - (NSString *)tagName { switch (_tag) { case DBSHARINGUpdateFolderPolicyErrorAccessError: return @"DBSHARINGUpdateFolderPolicyErrorAccessError"; case DBSHARINGUpdateFolderPolicyErrorNotOnTeam: return @"DBSHARINGUpdateFolderPolicyErrorNotOnTeam"; case DBSHARINGUpdateFolderPolicyErrorTeamPolicyDisallowsMemberPolicy: return @"DBSHARINGUpdateFolderPolicyErrorTeamPolicyDisallowsMemberPolicy"; case DBSHARINGUpdateFolderPolicyErrorDisallowedSharedLinkPolicy: return @"DBSHARINGUpdateFolderPolicyErrorDisallowedSharedLinkPolicy"; case DBSHARINGUpdateFolderPolicyErrorNoPermission: return @"DBSHARINGUpdateFolderPolicyErrorNoPermission"; case DBSHARINGUpdateFolderPolicyErrorTeamFolder: return @"DBSHARINGUpdateFolderPolicyErrorTeamFolder"; case DBSHARINGUpdateFolderPolicyErrorOther: return @"DBSHARINGUpdateFolderPolicyErrorOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGUpdateFolderPolicyErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGUpdateFolderPolicyErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGUpdateFolderPolicyErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToUpdateFolderPolicyError:other]; } - (BOOL)isEqualToUpdateFolderPolicyError:(DBSHARINGUpdateFolderPolicyError *)anUpdateFolderPolicyError { if (self == anUpdateFolderPolicyError) { return YES; } if (self.tag != anUpdateFolderPolicyError.tag) { return NO; } switch (_tag) { case DBSHARINGUpdateFolderPolicyErrorAccessError: return [self.accessError isEqual:anUpdateFolderPolicyError.accessError]; case DBSHARINGUpdateFolderPolicyErrorNotOnTeam: return [[self tagName] isEqual:[anUpdateFolderPolicyError tagName]]; case DBSHARINGUpdateFolderPolicyErrorTeamPolicyDisallowsMemberPolicy: return [[self tagName] isEqual:[anUpdateFolderPolicyError tagName]]; case DBSHARINGUpdateFolderPolicyErrorDisallowedSharedLinkPolicy: return [[self tagName] isEqual:[anUpdateFolderPolicyError tagName]]; case DBSHARINGUpdateFolderPolicyErrorNoPermission: return [[self tagName] isEqual:[anUpdateFolderPolicyError tagName]]; case DBSHARINGUpdateFolderPolicyErrorTeamFolder: return [[self tagName] isEqual:[anUpdateFolderPolicyError tagName]]; case DBSHARINGUpdateFolderPolicyErrorOther: return [[self tagName] isEqual:[anUpdateFolderPolicyError tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGUpdateFolderPolicyErrorSerializer + (NSDictionary *)serialize:(DBSHARINGUpdateFolderPolicyError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isAccessError]) { jsonDict[@"access_error"] = [[DBSHARINGSharedFolderAccessErrorSerializer serialize:valueObj.accessError] mutableCopy]; jsonDict[@".tag"] = @"access_error"; } else if ([valueObj isNotOnTeam]) { jsonDict[@".tag"] = @"not_on_team"; } else if ([valueObj isTeamPolicyDisallowsMemberPolicy]) { jsonDict[@".tag"] = @"team_policy_disallows_member_policy"; } else if ([valueObj isDisallowedSharedLinkPolicy]) { jsonDict[@".tag"] = @"disallowed_shared_link_policy"; } else if ([valueObj isNoPermission]) { jsonDict[@".tag"] = @"no_permission"; } else if ([valueObj isTeamFolder]) { jsonDict[@".tag"] = @"team_folder"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBSHARINGUpdateFolderPolicyError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"access_error"]) { DBSHARINGSharedFolderAccessError *accessError = [DBSHARINGSharedFolderAccessErrorSerializer deserialize:valueDict[@"access_error"]]; return [[DBSHARINGUpdateFolderPolicyError alloc] initWithAccessError:accessError]; } else if ([tag isEqualToString:@"not_on_team"]) { return [[DBSHARINGUpdateFolderPolicyError alloc] initWithNotOnTeam]; } else if ([tag isEqualToString:@"team_policy_disallows_member_policy"]) { return [[DBSHARINGUpdateFolderPolicyError alloc] initWithTeamPolicyDisallowsMemberPolicy]; } else if ([tag isEqualToString:@"disallowed_shared_link_policy"]) { return [[DBSHARINGUpdateFolderPolicyError alloc] initWithDisallowedSharedLinkPolicy]; } else if ([tag isEqualToString:@"no_permission"]) { return [[DBSHARINGUpdateFolderPolicyError alloc] initWithNoPermission]; } else if ([tag isEqualToString:@"team_folder"]) { return [[DBSHARINGUpdateFolderPolicyError alloc] initWithTeamFolder]; } else if ([tag isEqualToString:@"other"]) { return [[DBSHARINGUpdateFolderPolicyError alloc] initWithOther]; } else { return [[DBSHARINGUpdateFolderPolicyError alloc] initWithOther]; } } @end #import "DBSHARINGAccessLevel.h" #import "DBSHARINGMemberPermission.h" #import "DBSHARINGMembershipInfo.h" #import "DBSHARINGUserInfo.h" #import "DBSHARINGUserMembershipInfo.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGUserMembershipInfo #pragma mark - Constructors - (instancetype)initWithAccessType:(DBSHARINGAccessLevel *)accessType user:(DBSHARINGUserInfo *)user permissions:(NSArray *)permissions initials:(NSString *)initials isInherited:(NSNumber *)isInherited { [DBStoneValidators nonnullValidator:nil](accessType); [DBStoneValidators nonnullValidator:nil](user); [DBStoneValidators nullableValidator:[DBStoneValidators arrayValidator:nil maxItems:nil itemValidator:[DBStoneValidators nonnullValidator:nil]]](permissions); self = [super initWithAccessType:accessType permissions:permissions initials:initials isInherited:isInherited]; if (self) { _user = user; } return self; } - (instancetype)initWithAccessType:(DBSHARINGAccessLevel *)accessType user:(DBSHARINGUserInfo *)user { return [self initWithAccessType:accessType user:user permissions:nil initials:nil isInherited:nil]; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGUserMembershipInfoSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGUserMembershipInfoSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGUserMembershipInfoSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.accessType hash]; result = prime * result + [self.user 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToUserMembershipInfo:other]; } - (BOOL)isEqualToUserMembershipInfo:(DBSHARINGUserMembershipInfo *)anUserMembershipInfo { if (self == anUserMembershipInfo) { return YES; } if (![self.accessType isEqual:anUserMembershipInfo.accessType]) { return NO; } if (![self.user isEqual:anUserMembershipInfo.user]) { return NO; } if (self.permissions) { if (![self.permissions isEqual:anUserMembershipInfo.permissions]) { return NO; } } if (self.initials) { if (![self.initials isEqual:anUserMembershipInfo.initials]) { return NO; } } if (![self.isInherited isEqual:anUserMembershipInfo.isInherited]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGUserMembershipInfoSerializer + (NSDictionary *)serialize:(DBSHARINGUserMembershipInfo *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"access_type"] = [DBSHARINGAccessLevelSerializer serialize:valueObj.accessType]; jsonDict[@"user"] = [DBSHARINGUserInfoSerializer serialize:valueObj.user]; 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; } + (DBSHARINGUserMembershipInfo *)deserialize:(NSDictionary *)valueDict { DBSHARINGAccessLevel *accessType = [DBSHARINGAccessLevelSerializer deserialize:valueDict[@"access_type"]]; DBSHARINGUserInfo *user = [DBSHARINGUserInfoSerializer deserialize:valueDict[@"user"]]; 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 [[DBSHARINGUserMembershipInfo alloc] initWithAccessType:accessType user:user permissions:permissions initials:initials isInherited:isInherited]; } @end #import "DBSEENSTATEPlatformType.h" #import "DBSHARINGAccessLevel.h" #import "DBSHARINGMemberPermission.h" #import "DBSHARINGUserFileMembershipInfo.h" #import "DBSHARINGUserInfo.h" #import "DBSHARINGUserMembershipInfo.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGUserFileMembershipInfo #pragma mark - Constructors - (instancetype)initWithAccessType:(DBSHARINGAccessLevel *)accessType user:(DBSHARINGUserInfo *)user permissions:(NSArray *)permissions initials:(NSString *)initials isInherited:(NSNumber *)isInherited timeLastSeen:(NSDate *)timeLastSeen platformType:(DBSEENSTATEPlatformType *)platformType { [DBStoneValidators nonnullValidator:nil](accessType); [DBStoneValidators nonnullValidator:nil](user); [DBStoneValidators nullableValidator:[DBStoneValidators arrayValidator:nil maxItems:nil itemValidator:[DBStoneValidators nonnullValidator:nil]]](permissions); self = [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 platformType:nil]; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGUserFileMembershipInfoSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGUserFileMembershipInfoSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGUserFileMembershipInfoSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.accessType hash]; result = prime * result + [self.user 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.timeLastSeen != nil) { result = prime * result + [self.timeLastSeen hash]; } if (self.platformType != nil) { result = prime * result + [self.platformType hash]; } return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToUserFileMembershipInfo:other]; } - (BOOL)isEqualToUserFileMembershipInfo:(DBSHARINGUserFileMembershipInfo *)anUserFileMembershipInfo { if (self == anUserFileMembershipInfo) { return YES; } if (![self.accessType isEqual:anUserFileMembershipInfo.accessType]) { return NO; } if (![self.user isEqual:anUserFileMembershipInfo.user]) { return NO; } if (self.permissions) { if (![self.permissions isEqual:anUserFileMembershipInfo.permissions]) { return NO; } } if (self.initials) { if (![self.initials isEqual:anUserFileMembershipInfo.initials]) { return NO; } } if (![self.isInherited isEqual:anUserFileMembershipInfo.isInherited]) { return NO; } if (self.timeLastSeen) { if (![self.timeLastSeen isEqual:anUserFileMembershipInfo.timeLastSeen]) { return NO; } } if (self.platformType) { if (![self.platformType isEqual:anUserFileMembershipInfo.platformType]) { return NO; } } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGUserFileMembershipInfoSerializer + (NSDictionary *)serialize:(DBSHARINGUserFileMembershipInfo *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"access_type"] = [DBSHARINGAccessLevelSerializer serialize:valueObj.accessType]; jsonDict[@"user"] = [DBSHARINGUserInfoSerializer serialize:valueObj.user]; 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.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; } + (DBSHARINGUserFileMembershipInfo *)deserialize:(NSDictionary *)valueDict { DBSHARINGAccessLevel *accessType = [DBSHARINGAccessLevelSerializer deserialize:valueDict[@"access_type"]]; DBSHARINGUserInfo *user = [DBSHARINGUserInfoSerializer deserialize:valueDict[@"user"]]; 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; 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 platformType:platformType]; } @end #import "DBSHARINGUserInfo.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @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 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 { return [DBSHARINGUserInfoSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGUserInfoSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGUserInfoSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; 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]; } return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToUserInfo:other]; } - (BOOL)isEqualToUserInfo:(DBSHARINGUserInfo *)anUserInfo { if (self == anUserInfo) { return YES; } 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; } if (self.teamMemberId) { if (![self.teamMemberId isEqual:anUserInfo.teamMemberId]) { return NO; } } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGUserInfoSerializer + (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; } + (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 email:email displayName:displayName sameTeam:sameTeam teamMemberId:teamMemberId]; } @end #import "DBSHARINGViewerInfoPolicy.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGViewerInfoPolicy #pragma mark - Constructors - (instancetype)initWithEnabled { self = [super init]; if (self) { _tag = DBSHARINGViewerInfoPolicyEnabled; } return self; } - (instancetype)initWithDisabled { self = [super init]; if (self) { _tag = DBSHARINGViewerInfoPolicyDisabled; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBSHARINGViewerInfoPolicyOther; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isEnabled { return _tag == DBSHARINGViewerInfoPolicyEnabled; } - (BOOL)isDisabled { return _tag == DBSHARINGViewerInfoPolicyDisabled; } - (BOOL)isOther { return _tag == DBSHARINGViewerInfoPolicyOther; } - (NSString *)tagName { switch (_tag) { case DBSHARINGViewerInfoPolicyEnabled: return @"DBSHARINGViewerInfoPolicyEnabled"; case DBSHARINGViewerInfoPolicyDisabled: return @"DBSHARINGViewerInfoPolicyDisabled"; case DBSHARINGViewerInfoPolicyOther: return @"DBSHARINGViewerInfoPolicyOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGViewerInfoPolicySerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGViewerInfoPolicySerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGViewerInfoPolicySerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToViewerInfoPolicy:other]; } - (BOOL)isEqualToViewerInfoPolicy:(DBSHARINGViewerInfoPolicy *)aViewerInfoPolicy { if (self == aViewerInfoPolicy) { return YES; } if (self.tag != aViewerInfoPolicy.tag) { return NO; } switch (_tag) { case DBSHARINGViewerInfoPolicyEnabled: return [[self tagName] isEqual:[aViewerInfoPolicy tagName]]; case DBSHARINGViewerInfoPolicyDisabled: return [[self tagName] isEqual:[aViewerInfoPolicy tagName]]; case DBSHARINGViewerInfoPolicyOther: return [[self tagName] isEqual:[aViewerInfoPolicy tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGViewerInfoPolicySerializer + (NSDictionary *)serialize:(DBSHARINGViewerInfoPolicy *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isEnabled]) { jsonDict[@".tag"] = @"enabled"; } else if ([valueObj isDisabled]) { jsonDict[@".tag"] = @"disabled"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBSHARINGViewerInfoPolicy *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"enabled"]) { return [[DBSHARINGViewerInfoPolicy alloc] initWithEnabled]; } else if ([tag isEqualToString:@"disabled"]) { return [[DBSHARINGViewerInfoPolicy alloc] initWithDisabled]; } else if ([tag isEqualToString:@"other"]) { return [[DBSHARINGViewerInfoPolicy alloc] initWithOther]; } else { return [[DBSHARINGViewerInfoPolicy alloc] initWithOther]; } } @end #import "DBSHARINGVisibility.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object @implementation DBSHARINGVisibility #pragma mark - Constructors - (instancetype)initWithPublic { self = [super init]; if (self) { _tag = DBSHARINGVisibilityPublic; } return self; } - (instancetype)initWithTeamOnly { self = [super init]; if (self) { _tag = DBSHARINGVisibilityTeamOnly; } return self; } - (instancetype)initWithPassword { self = [super init]; if (self) { _tag = DBSHARINGVisibilityPassword; } return self; } - (instancetype)initWithTeamAndPassword { self = [super init]; if (self) { _tag = DBSHARINGVisibilityTeamAndPassword; } return self; } - (instancetype)initWithSharedFolderOnly { self = [super init]; if (self) { _tag = DBSHARINGVisibilitySharedFolderOnly; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBSHARINGVisibilityOther; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isPublic { return _tag == DBSHARINGVisibilityPublic; } - (BOOL)isTeamOnly { return _tag == DBSHARINGVisibilityTeamOnly; } - (BOOL)isPassword { return _tag == DBSHARINGVisibilityPassword; } - (BOOL)isTeamAndPassword { return _tag == DBSHARINGVisibilityTeamAndPassword; } - (BOOL)isSharedFolderOnly { return _tag == DBSHARINGVisibilitySharedFolderOnly; } - (BOOL)isOther { return _tag == DBSHARINGVisibilityOther; } - (NSString *)tagName { switch (_tag) { case DBSHARINGVisibilityPublic: return @"DBSHARINGVisibilityPublic"; case DBSHARINGVisibilityTeamOnly: return @"DBSHARINGVisibilityTeamOnly"; case DBSHARINGVisibilityPassword: return @"DBSHARINGVisibilityPassword"; case DBSHARINGVisibilityTeamAndPassword: return @"DBSHARINGVisibilityTeamAndPassword"; case DBSHARINGVisibilitySharedFolderOnly: return @"DBSHARINGVisibilitySharedFolderOnly"; case DBSHARINGVisibilityOther: return @"DBSHARINGVisibilityOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGVisibilitySerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBSHARINGVisibilitySerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBSHARINGVisibilitySerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToVisibility:other]; } - (BOOL)isEqualToVisibility:(DBSHARINGVisibility *)aVisibility { if (self == aVisibility) { return YES; } if (self.tag != aVisibility.tag) { return NO; } switch (_tag) { case DBSHARINGVisibilityPublic: return [[self tagName] isEqual:[aVisibility tagName]]; case DBSHARINGVisibilityTeamOnly: return [[self tagName] isEqual:[aVisibility tagName]]; case DBSHARINGVisibilityPassword: return [[self tagName] isEqual:[aVisibility tagName]]; case DBSHARINGVisibilityTeamAndPassword: return [[self tagName] isEqual:[aVisibility tagName]]; case DBSHARINGVisibilitySharedFolderOnly: return [[self tagName] isEqual:[aVisibility tagName]]; case DBSHARINGVisibilityOther: return [[self tagName] isEqual:[aVisibility tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBSHARINGVisibilitySerializer + (NSDictionary *)serialize:(DBSHARINGVisibility *)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"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBSHARINGVisibility *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"public"]) { return [[DBSHARINGVisibility alloc] initWithPublic]; } else if ([tag isEqualToString:@"team_only"]) { return [[DBSHARINGVisibility alloc] initWithTeamOnly]; } else if ([tag isEqualToString:@"password"]) { return [[DBSHARINGVisibility alloc] initWithPassword]; } else if ([tag isEqualToString:@"team_and_password"]) { return [[DBSHARINGVisibility alloc] initWithTeamAndPassword]; } else if ([tag isEqualToString:@"shared_folder_only"]) { return [[DBSHARINGVisibility alloc] initWithSharedFolderOnly]; } else if ([tag isEqualToString:@"other"]) { return [[DBSHARINGVisibility alloc] initWithOther]; } else { return [[DBSHARINGVisibility alloc] initWithOther]; } } @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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGAccessInheritance.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGAccessLevel.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGAccessLevel; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `AccessLevel` union. /// /// Defines the access levels for collaborators. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGAccessLevel : NSObject #pragma mark - Instance fields /// The `DBSHARINGAccessLevelTag` enum type represents the possible tag states /// with which the `DBSHARINGAccessLevel` union can exist. 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 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 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, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBSHARINGAccessLevelTag tag; #pragma mark - Constructors /// /// Initializes union class with tag state of "owner". /// /// Description of the "owner" tag state: 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`. /// /// @return An initialized instance. /// - (instancetype)initWithOwner; /// /// Initializes union class with tag state of "editor". /// /// Description of the "editor" tag state: The collaborator can both view and /// edit the shared folder. /// /// @return An initialized instance. /// - (instancetype)initWithEditor; /// /// Initializes union class with tag state of "viewer". /// /// Description of the "viewer" tag state: The collaborator can only view the /// shared folder. /// /// @return An initialized instance. /// - (instancetype)initWithViewer; /// /// Initializes union class with tag state of "viewer_no_comment". /// /// Description of the "viewer_no_comment" tag state: The collaborator can only /// view the shared folder and does not have any access to comments. /// /// @return An initialized instance. /// - (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". /// /// @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 "editor". /// /// @return Whether the union's current tag state has value "editor". /// - (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 /// "viewer_no_comment". /// /// @return Whether the union's current tag state has value "viewer_no_comment". /// - (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". /// /// @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 `DBSHARINGAccessLevel` union. /// @interface DBSHARINGAccessLevelSerializer : NSObject /// /// Serializes `DBSHARINGAccessLevel` instances. /// /// @param instance An instance of the `DBSHARINGAccessLevel` API object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGAccessLevel` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGAccessLevel *)instance; /// /// Deserializes `DBSHARINGAccessLevel` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGAccessLevel` API object. /// /// @return An instantiation of the `DBSHARINGAccessLevel` object. /// + (DBSHARINGAccessLevel *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGAclUpdatePolicy.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGAclUpdatePolicy; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `AclUpdatePolicy` union. /// /// Who can change a shared folder's access control list (ACL). In other words, /// who can add, remove, or change the privileges of members. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGAclUpdatePolicy : NSObject #pragma mark - Instance fields /// The `DBSHARINGAclUpdatePolicyTag` enum type represents the possible tag /// states with which the `DBSHARINGAclUpdatePolicy` union can exist. 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, /// (no description). DBSHARINGAclUpdatePolicyOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBSHARINGAclUpdatePolicyTag tag; #pragma mark - Constructors /// /// Initializes union class with tag state of "owner". /// /// Description of the "owner" tag state: Only the owner can update the ACL. /// /// @return An initialized instance. /// - (instancetype)initWithOwner; /// /// Initializes union class with tag state of "editors". /// /// Description of the "editors" tag state: Any editor can update the ACL. This /// may be further restricted to editors on the same team. /// /// @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 `DBSHARINGAclUpdatePolicy` union. /// @interface DBSHARINGAclUpdatePolicySerializer : NSObject /// /// Serializes `DBSHARINGAclUpdatePolicy` instances. /// /// @param instance An instance of the `DBSHARINGAclUpdatePolicy` API object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGAclUpdatePolicy` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGAclUpdatePolicy *)instance; /// /// Deserializes `DBSHARINGAclUpdatePolicy` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGAclUpdatePolicy` API object. /// /// @return An instantiation of the `DBSHARINGAclUpdatePolicy` object. /// + (DBSHARINGAclUpdatePolicy *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGAddFileMemberArgs.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGAccessLevel; @class DBSHARINGAddFileMemberArgs; @class DBSHARINGMemberSelector; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `AddFileMemberArgs` struct. /// /// Arguments for `addFileMember`. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGAddFileMemberArgs : NSObject #pragma mark - Instance fields /// File to which to add members. @property (nonatomic, readonly, copy) NSString *file; /// 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. @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 email and device notifications /// of their invitation. @property (nonatomic, readonly) NSNumber *quiet; /// AccessLevel union object, describing what access level we want to give new /// members. @property (nonatomic, readonly) DBSHARINGAccessLevel *accessLevel; /// If the custom message should be added as a comment on the file. @property (nonatomic, readonly) NSNumber *addMessageAsComment; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @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 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 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. /// /// @return An initialized instance. /// - (instancetype)initWithFile:(NSString *)file members:(NSArray *)members customMessage:(nullable NSString *)customMessage quiet:(nullable NSNumber *)quiet accessLevel:(nullable DBSHARINGAccessLevel *)accessLevel addMessageAsComment:(nullable NSNumber *)addMessageAsComment; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @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 directly added to the membership if that /// email is the user's main account email. /// /// @return An initialized instance. /// - (instancetype)initWithFile:(NSString *)file members:(NSArray *)members; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `AddFileMemberArgs` struct. /// @interface DBSHARINGAddFileMemberArgsSerializer : NSObject /// /// Serializes `DBSHARINGAddFileMemberArgs` instances. /// /// @param instance An instance of the `DBSHARINGAddFileMemberArgs` API object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGAddFileMemberArgs` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGAddFileMemberArgs *)instance; /// /// Deserializes `DBSHARINGAddFileMemberArgs` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGAddFileMemberArgs` API object. /// /// @return An instantiation of the `DBSHARINGAddFileMemberArgs` object. /// + (DBSHARINGAddFileMemberArgs *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGAddFileMemberError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGAddFileMemberError; @class DBSHARINGSharingFileAccessError; @class DBSHARINGSharingUserError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `AddFileMemberError` union. /// /// Errors for `addFileMember`. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGAddFileMemberError : NSObject #pragma mark - Instance fields /// The `DBSHARINGAddFileMemberErrorTag` enum type represents the possible tag /// states with which the `DBSHARINGAddFileMemberError` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBSHARINGAddFileMemberErrorTag){ /// (no description). DBSHARINGAddFileMemberErrorUserError, /// (no description). DBSHARINGAddFileMemberErrorAccessError, /// The user has reached the rate limit for invitations. DBSHARINGAddFileMemberErrorRateLimit, /// The custom message did not pass comment permissions checks. DBSHARINGAddFileMemberErrorInvalidComment, /// (no description). DBSHARINGAddFileMemberErrorOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBSHARINGAddFileMemberErrorTag tag; /// (no description). @note Ensure the `isUserError` method returns true before /// accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) DBSHARINGSharingUserError *userError; /// (no description). @note Ensure the `isAccessError` method returns true /// before accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) DBSHARINGSharingFileAccessError *accessError; #pragma mark - Constructors /// /// Initializes union class with tag state of "user_error". /// /// @param userError (no description). /// /// @return An initialized instance. /// - (instancetype)initWithUserError:(DBSHARINGSharingUserError *)userError; /// /// Initializes union class with tag state of "access_error". /// /// @param accessError (no description). /// /// @return An initialized instance. /// - (instancetype)initWithAccessError:(DBSHARINGSharingFileAccessError *)accessError; /// /// Initializes union class with tag state of "rate_limit". /// /// Description of the "rate_limit" tag state: The user has reached the rate /// limit for invitations. /// /// @return An initialized instance. /// - (instancetype)initWithRateLimit; /// /// Initializes union class with tag state of "invalid_comment". /// /// Description of the "invalid_comment" tag state: The custom message did not /// pass comment permissions checks. /// /// @return An initialized instance. /// - (instancetype)initWithInvalidComment; /// /// 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_error". /// /// @note Call this method and ensure it returns true before accessing the /// `userError` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value "user_error". /// - (BOOL)isUserError; /// /// 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 "rate_limit". /// /// @return Whether the union's current tag state has value "rate_limit". /// - (BOOL)isRateLimit; /// /// Retrieves whether the union's current tag state has value "invalid_comment". /// /// @return Whether the union's current tag state has value "invalid_comment". /// - (BOOL)isInvalidComment; /// /// 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 `DBSHARINGAddFileMemberError` union. /// @interface DBSHARINGAddFileMemberErrorSerializer : NSObject /// /// Serializes `DBSHARINGAddFileMemberError` instances. /// /// @param instance An instance of the `DBSHARINGAddFileMemberError` API object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGAddFileMemberError` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGAddFileMemberError *)instance; /// /// Deserializes `DBSHARINGAddFileMemberError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGAddFileMemberError` API object. /// /// @return An instantiation of the `DBSHARINGAddFileMemberError` object. /// + (DBSHARINGAddFileMemberError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGAddFolderMemberArg.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGAddFolderMemberArg; @class DBSHARINGAddMember; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `AddFolderMemberArg` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGAddFolderMemberArg : NSObject #pragma mark - Instance fields /// The ID for the shared folder. @property (nonatomic, readonly, copy) NSString *sharedFolderId; /// The intended list of members to add. Added members will receive invites to /// join the shared folder. @property (nonatomic, readonly) NSArray *members; /// Whether added members should be notified via email and device notifications /// of their invite. @property (nonatomic, readonly) NSNumber *quiet; /// Optional message to display to added members in their invitation. @property (nonatomic, readonly, copy, nullable) NSString *customMessage; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @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. /// @param quiet Whether added members should be notified via email and device /// notifications of their invite. /// @param customMessage Optional message to display to added members in their /// invitation. /// /// @return An initialized instance. /// - (instancetype)initWithSharedFolderId:(NSString *)sharedFolderId members:(NSArray *)members quiet:(nullable NSNumber *)quiet customMessage:(nullable NSString *)customMessage; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @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. /// /// @return An initialized instance. /// - (instancetype)initWithSharedFolderId:(NSString *)sharedFolderId members:(NSArray *)members; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `AddFolderMemberArg` struct. /// @interface DBSHARINGAddFolderMemberArgSerializer : NSObject /// /// Serializes `DBSHARINGAddFolderMemberArg` instances. /// /// @param instance An instance of the `DBSHARINGAddFolderMemberArg` API object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGAddFolderMemberArg` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGAddFolderMemberArg *)instance; /// /// Deserializes `DBSHARINGAddFolderMemberArg` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGAddFolderMemberArg` API object. /// /// @return An instantiation of the `DBSHARINGAddFolderMemberArg` object. /// + (DBSHARINGAddFolderMemberArg *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGAddFolderMemberError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGAddFolderMemberError; @class DBSHARINGAddMemberSelectorError; @class DBSHARINGSharedFolderAccessError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `AddFolderMemberError` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGAddFolderMemberError : NSObject #pragma mark - Instance fields /// The `DBSHARINGAddFolderMemberErrorTag` enum type represents the possible tag /// states with which the `DBSHARINGAddFolderMemberError` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBSHARINGAddFolderMemberErrorTag){ /// Unable to access shared folder. DBSHARINGAddFolderMemberErrorAccessError, /// 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, /// The current user has been banned. DBSHARINGAddFolderMemberErrorBannedMember, /// `members` in `DBSHARINGAddFolderMemberArg` contains a bad invitation /// recipient. DBSHARINGAddFolderMemberErrorBadMember, /// Your team policy does not allow sharing outside of the team. DBSHARINGAddFolderMemberErrorCantShareOutsideTeam, /// The value is the member limit that was reached. DBSHARINGAddFolderMemberErrorTooManyMembers, /// The value is the pending invite limit that was reached. DBSHARINGAddFolderMemberErrorTooManyPendingInvites, /// The current user has hit the limit of invites they can send per day. Try /// again in 24 hours. DBSHARINGAddFolderMemberErrorRateLimit, /// The current user is trying to share with too many people at once. DBSHARINGAddFolderMemberErrorTooManyInvitees, /// 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, /// This action cannot be performed on a team shared folder. DBSHARINGAddFolderMemberErrorTeamFolder, /// 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, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBSHARINGAddFolderMemberErrorTag 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; /// `members` in `DBSHARINGAddFolderMemberArg` contains a bad invitation /// recipient. @note Ensure the `isBadMember` method returns true before /// accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) DBSHARINGAddMemberSelectorError *badMember; /// The value is the member limit that was reached. @note Ensure the /// `isTooManyMembers` method returns true before accessing, otherwise a runtime /// exception will be raised. @property (nonatomic, readonly) NSNumber *tooManyMembers; /// The value is the pending invite limit that was reached. @note Ensure the /// `isTooManyPendingInvites` method returns true before accessing, otherwise a /// runtime exception will be raised. @property (nonatomic, readonly) NSNumber *tooManyPendingInvites; #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 "email_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". /// /// Description of the "bad_member" tag state: `members` in /// `DBSHARINGAddFolderMemberArg` contains a bad invitation recipient. /// /// @param badMember `members` in `DBSHARINGAddFolderMemberArg` contains a bad /// invitation recipient. /// /// @return An initialized instance. /// - (instancetype)initWithBadMember:(DBSHARINGAddMemberSelectorError *)badMember; /// /// Initializes union class with tag state of "cant_share_outside_team". /// /// Description of the "cant_share_outside_team" tag state: Your team policy /// does not allow sharing outside of the team. /// /// @return An initialized instance. /// - (instancetype)initWithCantShareOutsideTeam; /// /// Initializes union class with tag state of "too_many_members". /// /// Description of the "too_many_members" tag state: The value is the member /// limit that was reached. /// /// @param tooManyMembers The value is the member limit that was reached. /// /// @return An initialized instance. /// - (instancetype)initWithTooManyMembers:(NSNumber *)tooManyMembers; /// /// Initializes union class with tag state of "too_many_pending_invites". /// /// Description of the "too_many_pending_invites" tag state: The value is the /// pending invite limit that was reached. /// /// @param tooManyPendingInvites The value is the pending invite limit that was /// reached. /// /// @return An initialized instance. /// - (instancetype)initWithTooManyPendingInvites:(NSNumber *)tooManyPendingInvites; /// /// Initializes union class with tag state of "rate_limit". /// /// Description of the "rate_limit" tag state: The current user has hit the /// limit of invites they can send per day. Try again in 24 hours. /// /// @return An initialized instance. /// - (instancetype)initWithRateLimit; /// /// Initializes union class with tag state of "too_many_invitees". /// /// Description of the "too_many_invitees" tag state: The current user is trying /// to share with too many people at once. /// /// @return An initialized instance. /// - (instancetype)initWithTooManyInvitees; /// /// Initializes union class with tag state of "insufficient_plan". /// /// Description of the "insufficient_plan" tag state: 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. /// /// @return An initialized instance. /// - (instancetype)initWithInsufficientPlan; /// /// Initializes union class with tag state of "team_folder". /// /// Description of the "team_folder" tag state: This action cannot be performed /// on a team shared folder. /// /// @return An initialized instance. /// - (instancetype)initWithTeamFolder; /// /// 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 "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". /// /// @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 /// "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 "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". /// /// @note Call this method and ensure it returns true before accessing the /// `badMember` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value "bad_member". /// - (BOOL)isBadMember; /// /// Retrieves whether the union's current tag state has value /// "cant_share_outside_team". /// /// @return Whether the union's current tag state has value /// "cant_share_outside_team". /// - (BOOL)isCantShareOutsideTeam; /// /// Retrieves whether the union's current tag state has value /// "too_many_members". /// /// @note Call this method and ensure it returns true before accessing the /// `tooManyMembers` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value "too_many_members". /// - (BOOL)isTooManyMembers; /// /// Retrieves whether the union's current tag state has value /// "too_many_pending_invites". /// /// @note Call this method and ensure it returns true before accessing the /// `tooManyPendingInvites` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "too_many_pending_invites". /// - (BOOL)isTooManyPendingInvites; /// /// Retrieves whether the union's current tag state has value "rate_limit". /// /// @return Whether the union's current tag state has value "rate_limit". /// - (BOOL)isRateLimit; /// /// Retrieves whether the union's current tag state has value /// "too_many_invitees". /// /// @return Whether the union's current tag state has value "too_many_invitees". /// - (BOOL)isTooManyInvitees; /// /// Retrieves whether the union's current tag state has value /// "insufficient_plan". /// /// @return Whether the union's current tag state has value "insufficient_plan". /// - (BOOL)isInsufficientPlan; /// /// Retrieves whether the union's current tag state has value "team_folder". /// /// @return Whether the union's current tag state has value "team_folder". /// - (BOOL)isTeamFolder; /// /// 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 /// "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". /// /// @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 `DBSHARINGAddFolderMemberError` union. /// @interface DBSHARINGAddFolderMemberErrorSerializer : NSObject /// /// Serializes `DBSHARINGAddFolderMemberError` instances. /// /// @param instance An instance of the `DBSHARINGAddFolderMemberError` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGAddFolderMemberError` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGAddFolderMemberError *)instance; /// /// Deserializes `DBSHARINGAddFolderMemberError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGAddFolderMemberError` API object. /// /// @return An instantiation of the `DBSHARINGAddFolderMemberError` object. /// + (DBSHARINGAddFolderMemberError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGAddMember.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGAccessLevel; @class DBSHARINGAddMember; @class DBSHARINGMemberSelector; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `AddMember` struct. /// /// The member and type of access the member should have when added to 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 DBSHARINGAddMember : NSObject #pragma mark - Instance fields /// The member to add to the shared folder. @property (nonatomic, readonly) DBSHARINGMemberSelector *member; /// The access level to grant member to the shared folder. `owner` in /// `DBSHARINGAccessLevel` is disallowed. @property (nonatomic, readonly) DBSHARINGAccessLevel *accessLevel; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param member The member to add to the shared folder. /// @param accessLevel The access level to grant member to the shared folder. /// `owner` in `DBSHARINGAccessLevel` is disallowed. /// /// @return An initialized instance. /// - (instancetype)initWithMember:(DBSHARINGMemberSelector *)member accessLevel:(nullable DBSHARINGAccessLevel *)accessLevel; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param member The member to add to the shared folder. /// /// @return An initialized instance. /// - (instancetype)initWithMember:(DBSHARINGMemberSelector *)member; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `AddMember` struct. /// @interface DBSHARINGAddMemberSerializer : NSObject /// /// Serializes `DBSHARINGAddMember` instances. /// /// @param instance An instance of the `DBSHARINGAddMember` API object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGAddMember` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGAddMember *)instance; /// /// Deserializes `DBSHARINGAddMember` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGAddMember` API object. /// /// @return An instantiation of the `DBSHARINGAddMember` object. /// + (DBSHARINGAddMember *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGAddMemberSelectorError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGAddMemberSelectorError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `AddMemberSelectorError` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGAddMemberSelectorError : NSObject #pragma mark - Instance fields /// The `DBSHARINGAddMemberSelectorErrorTag` enum type represents the possible /// tag states with which the `DBSHARINGAddMemberSelectorError` union can exist. 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 e-email address that is malformed. DBSHARINGAddMemberSelectorErrorInvalidEmail, /// 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, /// Sharing to a group that is not on the current user's team. DBSHARINGAddMemberSelectorErrorGroupNotOnTeam, /// (no description). DBSHARINGAddMemberSelectorErrorOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBSHARINGAddMemberSelectorErrorTag tag; /// The value is the ID that could not be identified. @note Ensure the /// `isInvalidDropboxId` method returns true before accessing, otherwise a /// runtime exception will be raised. @property (nonatomic, readonly, copy) NSString *invalidDropboxId; /// The value is the e-email address that is malformed. @note Ensure the /// `isInvalidEmail` method returns true before accessing, otherwise a runtime /// exception will be raised. @property (nonatomic, readonly, copy) NSString *invalidEmail; /// 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; #pragma mark - Constructors /// /// Initializes union class with tag state of "automatic_group". /// /// Description of the "automatic_group" tag state: Automatically created groups /// can only be added to team folders. /// /// @return An initialized instance. /// - (instancetype)initWithAutomaticGroup; /// /// Initializes union class with tag state of "invalid_dropbox_id". /// /// Description of the "invalid_dropbox_id" tag state: The value is the ID that /// could not be identified. /// /// @param invalidDropboxId The value is the ID that could not be identified. /// /// @return An initialized instance. /// - (instancetype)initWithInvalidDropboxId:(NSString *)invalidDropboxId; /// /// Initializes union class with tag state of "invalid_email". /// /// Description of the "invalid_email" tag state: The value is the e-email /// address that is malformed. /// /// @param invalidEmail The value is the e-email address that is malformed. /// /// @return An initialized instance. /// - (instancetype)initWithInvalidEmail:(NSString *)invalidEmail; /// /// 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 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 email address. Invite unverified users by email address instead /// of by their Dropbox ID. /// /// @return An initialized instance. /// - (instancetype)initWithUnverifiedDropboxId:(NSString *)unverifiedDropboxId; /// /// Initializes union class with tag state of "group_deleted". /// /// Description of the "group_deleted" tag state: At least one of the specified /// groups in `members` in `DBSHARINGAddFolderMemberArg` is deleted. /// /// @return An initialized instance. /// - (instancetype)initWithGroupDeleted; /// /// Initializes union class with tag state of "group_not_on_team". /// /// Description of the "group_not_on_team" tag state: Sharing to a group that is /// not on the current user's team. /// /// @return An initialized instance. /// - (instancetype)initWithGroupNotOnTeam; /// /// 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_group". /// /// @return Whether the union's current tag state has value "automatic_group". /// - (BOOL)isAutomaticGroup; /// /// Retrieves whether the union's current tag state has value /// "invalid_dropbox_id". /// /// @note Call this method and ensure it returns true before accessing the /// `invalidDropboxId` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value /// "invalid_dropbox_id". /// - (BOOL)isInvalidDropboxId; /// /// Retrieves whether the union's current tag state has value "invalid_email". /// /// @note Call this method and ensure it returns true before accessing the /// `invalidEmail` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value "invalid_email". /// - (BOOL)isInvalidEmail; /// /// Retrieves whether the union's current tag state has value /// "unverified_dropbox_id". /// /// @note Call this method and ensure it returns true before accessing the /// `unverifiedDropboxId` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "unverified_dropbox_id". /// - (BOOL)isUnverifiedDropboxId; /// /// Retrieves whether the union's current tag state has value "group_deleted". /// /// @return Whether the union's current tag state has value "group_deleted". /// - (BOOL)isGroupDeleted; /// /// Retrieves whether the union's current tag state has value /// "group_not_on_team". /// /// @return Whether the union's current tag state has value "group_not_on_team". /// - (BOOL)isGroupNotOnTeam; /// /// 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 `DBSHARINGAddMemberSelectorError` union. /// @interface DBSHARINGAddMemberSelectorErrorSerializer : NSObject /// /// Serializes `DBSHARINGAddMemberSelectorError` instances. /// /// @param instance An instance of the `DBSHARINGAddMemberSelectorError` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGAddMemberSelectorError` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGAddMemberSelectorError *)instance; /// /// Deserializes `DBSHARINGAddMemberSelectorError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGAddMemberSelectorError` API object. /// /// @return An instantiation of the `DBSHARINGAddMemberSelectorError` object. /// + (DBSHARINGAddMemberSelectorError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGAlphaResolvedVisibility.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGAudienceExceptionContentInfo.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGAudienceExceptionContentInfo; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `AudienceExceptionContentInfo` struct. /// /// Information about the content that has a link audience different than that /// of this folder. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGAudienceExceptionContentInfo : NSObject #pragma mark - Instance fields /// The name of the content, which is either a file or a folder. @property (nonatomic, readonly, copy) NSString *name; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param name The name of the content, which is either a file or a folder. /// /// @return An initialized instance. /// - (instancetype)initWithName:(NSString *)name; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `AudienceExceptionContentInfo` struct. /// @interface DBSHARINGAudienceExceptionContentInfoSerializer : NSObject /// /// Serializes `DBSHARINGAudienceExceptionContentInfo` instances. /// /// @param instance An instance of the `DBSHARINGAudienceExceptionContentInfo` /// API object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGAudienceExceptionContentInfo` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGAudienceExceptionContentInfo *)instance; /// /// Deserializes `DBSHARINGAudienceExceptionContentInfo` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGAudienceExceptionContentInfo` API object. /// /// @return An instantiation of the `DBSHARINGAudienceExceptionContentInfo` /// object. /// + (DBSHARINGAudienceExceptionContentInfo *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGAudienceExceptions.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGAudienceExceptionContentInfo; @class DBSHARINGAudienceExceptions; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `AudienceExceptions` struct. /// /// The total count and truncated list of information of content inside this /// folder that has a different audience than the link on this folder. This is /// only returned for folders. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGAudienceExceptions : NSObject #pragma mark - Instance fields /// (no description). @property (nonatomic, readonly) NSNumber *count; /// A truncated list of some of the content that is an exception. The length of /// this list could be smaller than the count since it is only a sample but will /// not be empty as long as count is not 0. @property (nonatomic, readonly) NSArray *exceptions; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param count (no description). /// @param exceptions A truncated list of some of the content that is an /// exception. The length of this list could be smaller than the count since it /// is only a sample but will not be empty as long as count is not 0. /// /// @return An initialized instance. /// - (instancetype)initWithCount:(NSNumber *)count exceptions:(NSArray *)exceptions; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `AudienceExceptions` struct. /// @interface DBSHARINGAudienceExceptionsSerializer : NSObject /// /// Serializes `DBSHARINGAudienceExceptions` instances. /// /// @param instance An instance of the `DBSHARINGAudienceExceptions` API object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGAudienceExceptions` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGAudienceExceptions *)instance; /// /// Deserializes `DBSHARINGAudienceExceptions` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGAudienceExceptions` API object. /// /// @return An instantiation of the `DBSHARINGAudienceExceptions` object. /// + (DBSHARINGAudienceExceptions *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGAudienceRestrictingSharedFolder.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGAudienceRestrictingSharedFolder; @class DBSHARINGLinkAudience; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `AudienceRestrictingSharedFolder` struct. /// /// Information about the shared folder that prevents the link audience for this /// link from being more restrictive. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGAudienceRestrictingSharedFolder : NSObject #pragma mark - Instance fields /// The ID of the shared folder. @property (nonatomic, readonly, copy) NSString *sharedFolderId; /// The name of the shared folder. @property (nonatomic, readonly, copy) NSString *name; /// The link audience of the shared folder. @property (nonatomic, readonly) DBSHARINGLinkAudience *audience; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param sharedFolderId The ID of the shared folder. /// @param name The name of the shared folder. /// @param audience The link audience of the shared folder. /// /// @return An initialized instance. /// - (instancetype)initWithSharedFolderId:(NSString *)sharedFolderId name:(NSString *)name audience:(DBSHARINGLinkAudience *)audience; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `AudienceRestrictingSharedFolder` struct. /// @interface DBSHARINGAudienceRestrictingSharedFolderSerializer : NSObject /// /// Serializes `DBSHARINGAudienceRestrictingSharedFolder` instances. /// /// @param instance An instance of the /// `DBSHARINGAudienceRestrictingSharedFolder` API object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGAudienceRestrictingSharedFolder` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGAudienceRestrictingSharedFolder *)instance; /// /// Deserializes `DBSHARINGAudienceRestrictingSharedFolder` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGAudienceRestrictingSharedFolder` API object. /// /// @return An instantiation of the `DBSHARINGAudienceRestrictingSharedFolder` /// object. /// + (DBSHARINGAudienceRestrictingSharedFolder *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGCollectionLinkMetadata.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSHARINGLinkMetadata.h" #import "DBSerializableProtocol.h" @class DBSHARINGCollectionLinkMetadata; @class DBSHARINGVisibility; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `CollectionLinkMetadata` struct. /// /// Metadata for a collection-based 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 DBSHARINGCollectionLinkMetadata : DBSHARINGLinkMetadata #pragma mark - Instance fields #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param url URL of the shared link. /// @param visibility Who can access the link. /// @param expires Expiration time, if set. By default the link won't expire. /// /// @return An initialized instance. /// - (instancetype)initWithUrl:(NSString *)url visibility:(DBSHARINGVisibility *)visibility expires:(nullable NSDate *)expires; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param url URL of the shared link. /// @param visibility Who can access the link. /// /// @return An initialized instance. /// - (instancetype)initWithUrl:(NSString *)url visibility:(DBSHARINGVisibility *)visibility; @end #pragma mark - Serializer Object /// /// The serialization class for the `CollectionLinkMetadata` struct. /// @interface DBSHARINGCollectionLinkMetadataSerializer : NSObject /// /// Serializes `DBSHARINGCollectionLinkMetadata` instances. /// /// @param instance An instance of the `DBSHARINGCollectionLinkMetadata` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGCollectionLinkMetadata` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGCollectionLinkMetadata *)instance; /// /// Deserializes `DBSHARINGCollectionLinkMetadata` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGCollectionLinkMetadata` API object. /// /// @return An instantiation of the `DBSHARINGCollectionLinkMetadata` object. /// + (DBSHARINGCollectionLinkMetadata *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGCreateSharedLinkArg.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGCreateSharedLinkArg; @class DBSHARINGPendingUploadMode; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `CreateSharedLinkArg` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGCreateSharedLinkArg : NSObject #pragma mark - Instance fields /// The path to share. @property (nonatomic, readonly, copy) NSString *path; /// (no description). @property (nonatomic, readonly) NSNumber *shortUrl; /// 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. @property (nonatomic, readonly, nullable) DBSHARINGPendingUploadMode *pendingUpload; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param path The path to share. /// @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 /// folder. /// /// @return An initialized instance. /// - (instancetype)initWithPath:(NSString *)path shortUrl:(nullable NSNumber *)shortUrl pendingUpload:(nullable DBSHARINGPendingUploadMode *)pendingUpload; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param path The path to share. /// /// @return An initialized instance. /// - (instancetype)initWithPath:(NSString *)path; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `CreateSharedLinkArg` struct. /// @interface DBSHARINGCreateSharedLinkArgSerializer : NSObject /// /// Serializes `DBSHARINGCreateSharedLinkArg` instances. /// /// @param instance An instance of the `DBSHARINGCreateSharedLinkArg` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGCreateSharedLinkArg` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGCreateSharedLinkArg *)instance; /// /// Deserializes `DBSHARINGCreateSharedLinkArg` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGCreateSharedLinkArg` API object. /// /// @return An instantiation of the `DBSHARINGCreateSharedLinkArg` object. /// + (DBSHARINGCreateSharedLinkArg *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGCreateSharedLinkError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILESLookupError; @class DBSHARINGCreateSharedLinkError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `CreateSharedLinkError` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGCreateSharedLinkError : NSObject #pragma mark - Instance fields /// The `DBSHARINGCreateSharedLinkErrorTag` enum type represents the possible /// tag states with which the `DBSHARINGCreateSharedLinkError` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBSHARINGCreateSharedLinkErrorTag){ /// (no description). DBSHARINGCreateSharedLinkErrorPath, /// (no description). DBSHARINGCreateSharedLinkErrorOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBSHARINGCreateSharedLinkErrorTag 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 `DBSHARINGCreateSharedLinkError` union. /// @interface DBSHARINGCreateSharedLinkErrorSerializer : NSObject /// /// Serializes `DBSHARINGCreateSharedLinkError` instances. /// /// @param instance An instance of the `DBSHARINGCreateSharedLinkError` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGCreateSharedLinkError` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGCreateSharedLinkError *)instance; /// /// Deserializes `DBSHARINGCreateSharedLinkError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGCreateSharedLinkError` API object. /// /// @return An instantiation of the `DBSHARINGCreateSharedLinkError` object. /// + (DBSHARINGCreateSharedLinkError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGCreateSharedLinkWithSettingsArg.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGCreateSharedLinkWithSettingsArg; @class DBSHARINGSharedLinkSettings; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `CreateSharedLinkWithSettingsArg` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGCreateSharedLinkWithSettingsArg : NSObject #pragma mark - Instance fields /// The path to be shared by the shared link. @property (nonatomic, readonly, copy) NSString *path; /// The requested settings for the newly created shared link. @property (nonatomic, readonly, nullable) DBSHARINGSharedLinkSettings *settings; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param path The path to be shared by the shared link. /// @param settings The requested settings for the newly created shared link. /// /// @return An initialized instance. /// - (instancetype)initWithPath:(NSString *)path settings:(nullable DBSHARINGSharedLinkSettings *)settings; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param path The path to be shared by the shared link. /// /// @return An initialized instance. /// - (instancetype)initWithPath:(NSString *)path; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `CreateSharedLinkWithSettingsArg` struct. /// @interface DBSHARINGCreateSharedLinkWithSettingsArgSerializer : NSObject /// /// Serializes `DBSHARINGCreateSharedLinkWithSettingsArg` instances. /// /// @param instance An instance of the /// `DBSHARINGCreateSharedLinkWithSettingsArg` API object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGCreateSharedLinkWithSettingsArg` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGCreateSharedLinkWithSettingsArg *)instance; /// /// Deserializes `DBSHARINGCreateSharedLinkWithSettingsArg` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGCreateSharedLinkWithSettingsArg` API object. /// /// @return An instantiation of the `DBSHARINGCreateSharedLinkWithSettingsArg` /// object. /// + (DBSHARINGCreateSharedLinkWithSettingsArg *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGCreateSharedLinkWithSettingsError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILESLookupError; @class DBSHARINGCreateSharedLinkWithSettingsError; @class DBSHARINGSharedLinkAlreadyExistsMetadata; @class DBSHARINGSharedLinkSettingsError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `CreateSharedLinkWithSettingsError` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGCreateSharedLinkWithSettingsError : NSObject #pragma mark - Instance fields /// The `DBSHARINGCreateSharedLinkWithSettingsErrorTag` enum type represents the /// possible tag states with which the /// `DBSHARINGCreateSharedLinkWithSettingsError` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBSHARINGCreateSharedLinkWithSettingsErrorTag){ /// (no description). DBSHARINGCreateSharedLinkWithSettingsErrorPath, /// 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, or use the provided metadata if it is returned. DBSHARINGCreateSharedLinkWithSettingsErrorSharedLinkAlreadyExists, /// There is an error with the given settings. DBSHARINGCreateSharedLinkWithSettingsErrorSettingsError, /// 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, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBSHARINGCreateSharedLinkWithSettingsErrorTag tag; /// (no description). @note Ensure the `isPath` method returns true before /// 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. @property (nonatomic, readonly) DBSHARINGSharedLinkSettingsError *settingsError; #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 "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 "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, 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: (nullable DBSHARINGSharedLinkAlreadyExistsMetadata *)sharedLinkAlreadyExists; /// /// Initializes union class with tag state of "settings_error". /// /// Description of the "settings_error" tag state: There is an error with the /// given settings. /// /// @param settingsError There is an error with the given settings. /// /// @return An initialized instance. /// - (instancetype)initWithSettingsError:(DBSHARINGSharedLinkSettingsError *)settingsError; /// /// Initializes union class with tag state of "access_denied". /// /// 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. /// - (instancetype)initWithAccessDenied; - (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 /// "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 /// "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". /// - (BOOL)isSharedLinkAlreadyExists; /// /// Retrieves whether the union's current tag state has value "settings_error". /// /// @note Call this method and ensure it returns true before accessing the /// `settingsError` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value "settings_error". /// - (BOOL)isSettingsError; /// /// 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 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 `DBSHARINGCreateSharedLinkWithSettingsError` /// union. /// @interface DBSHARINGCreateSharedLinkWithSettingsErrorSerializer : NSObject /// /// Serializes `DBSHARINGCreateSharedLinkWithSettingsError` instances. /// /// @param instance An instance of the /// `DBSHARINGCreateSharedLinkWithSettingsError` API object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGCreateSharedLinkWithSettingsError` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGCreateSharedLinkWithSettingsError *)instance; /// /// Deserializes `DBSHARINGCreateSharedLinkWithSettingsError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGCreateSharedLinkWithSettingsError` API object. /// /// @return An instantiation of the `DBSHARINGCreateSharedLinkWithSettingsError` /// object. /// + (DBSHARINGCreateSharedLinkWithSettingsError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGExpectedSharedContentLinkMetadata.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSHARINGSharedContentLinkMetadataBase.h" #import "DBSerializableProtocol.h" @class DBSHARINGAccessLevel; @class DBSHARINGAudienceRestrictingSharedFolder; @class DBSHARINGExpectedSharedContentLinkMetadata; @class DBSHARINGLinkAudience; @class DBSHARINGLinkPermission; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `ExpectedSharedContentLinkMetadata` struct. /// /// The expected metadata of a shared link for a file or folder when a link is /// first created for the content. Absent if the link already exists. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGExpectedSharedContentLinkMetadata : DBSHARINGSharedContentLinkMetadataBase #pragma mark - Instance fields #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param audienceOptions The audience options that are available for the /// content. Some audience options may be unavailable. For example, team_only /// may be unavailable if the content is not owned by a user on a team. The /// 'default' audience option is always available if the user can modify link /// settings. /// @param currentAudience The current audience of the link. /// @param linkPermissions A list of permissions for actions you can perform on /// the link. /// @param passwordProtected Whether the link is protected by a password. /// @param accessLevel The access level on the link for this file. /// @param audienceRestrictingSharedFolder The shared folder that prevents the /// link audience for this link from being more restrictive. /// @param expiry Whether the link has an expiry set on it. A link with an /// expiry will have its audience changed to members when the expiry is /// reached. /// /// @return An initialized instance. /// - (instancetype)initWithAudienceOptions:(NSArray *)audienceOptions currentAudience:(DBSHARINGLinkAudience *)currentAudience linkPermissions:(NSArray *)linkPermissions passwordProtected:(NSNumber *)passwordProtected accessLevel:(nullable DBSHARINGAccessLevel *)accessLevel audienceRestrictingSharedFolder: (nullable DBSHARINGAudienceRestrictingSharedFolder *)audienceRestrictingSharedFolder expiry:(nullable NSDate *)expiry; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param audienceOptions The audience options that are available for the /// content. Some audience options may be unavailable. For example, team_only /// may be unavailable if the content is not owned by a user on a team. The /// 'default' audience option is always available if the user can modify link /// settings. /// @param currentAudience The current audience of the link. /// @param linkPermissions A list of permissions for actions you can perform on /// the link. /// @param passwordProtected Whether the link is protected by a password. /// /// @return An initialized instance. /// - (instancetype)initWithAudienceOptions:(NSArray *)audienceOptions currentAudience:(DBSHARINGLinkAudience *)currentAudience linkPermissions:(NSArray *)linkPermissions passwordProtected:(NSNumber *)passwordProtected; @end #pragma mark - Serializer Object /// /// The serialization class for the `ExpectedSharedContentLinkMetadata` struct. /// @interface DBSHARINGExpectedSharedContentLinkMetadataSerializer : NSObject /// /// Serializes `DBSHARINGExpectedSharedContentLinkMetadata` instances. /// /// @param instance An instance of the /// `DBSHARINGExpectedSharedContentLinkMetadata` API object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGExpectedSharedContentLinkMetadata` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGExpectedSharedContentLinkMetadata *)instance; /// /// Deserializes `DBSHARINGExpectedSharedContentLinkMetadata` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGExpectedSharedContentLinkMetadata` API object. /// /// @return An instantiation of the `DBSHARINGExpectedSharedContentLinkMetadata` /// object. /// + (DBSHARINGExpectedSharedContentLinkMetadata *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGFileAction.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGFileAction; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `FileAction` union. /// /// Sharing actions that may be taken on files. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGFileAction : NSObject #pragma mark - Instance fields /// The `DBSHARINGFileActionTag` enum type represents the possible tag states /// with which the `DBSHARINGFileAction` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBSHARINGFileActionTag){ /// Disable viewer information on the file. DBSHARINGFileActionDisableViewerInfo, /// Change or edit contents of the file. DBSHARINGFileActionEditContents, /// Enable viewer information on the file. DBSHARINGFileActionEnableViewerInfo, /// Add a member with view permissions. DBSHARINGFileActionInviteViewer, /// Add a member with view permissions but no comment permissions. DBSHARINGFileActionInviteViewerNoComment, /// Add a member with edit permissions. DBSHARINGFileActionInviteEditor, /// Stop sharing this file. DBSHARINGFileActionUnshare, /// Relinquish one's own membership to the file. DBSHARINGFileActionRelinquishMembership, /// Use create_view_link and create_edit_link instead. DBSHARINGFileActionShareLink, /// 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, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBSHARINGFileActionTag tag; #pragma mark - Constructors /// /// Initializes union class with tag state of "disable_viewer_info". /// /// Description of the "disable_viewer_info" tag state: Disable viewer /// information on the file. /// /// @return An initialized instance. /// - (instancetype)initWithDisableViewerInfo; /// /// Initializes union class with tag state of "edit_contents". /// /// Description of the "edit_contents" tag state: Change or edit contents of the /// file. /// /// @return An initialized instance. /// - (instancetype)initWithEditContents; /// /// Initializes union class with tag state of "enable_viewer_info". /// /// Description of the "enable_viewer_info" tag state: Enable viewer information /// on the file. /// /// @return An initialized instance. /// - (instancetype)initWithEnableViewerInfo; /// /// Initializes union class with tag state of "invite_viewer". /// /// Description of the "invite_viewer" tag state: Add a member with view /// permissions. /// /// @return An initialized instance. /// - (instancetype)initWithInviteViewer; /// /// Initializes union class with tag state of "invite_viewer_no_comment". /// /// Description of the "invite_viewer_no_comment" tag state: Add a member with /// view permissions but no comment permissions. /// /// @return An initialized instance. /// - (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". /// /// Description of the "unshare" tag state: Stop sharing this file. /// /// @return An initialized instance. /// - (instancetype)initWithUnshare; /// /// Initializes union class with tag state of "relinquish_membership". /// /// Description of the "relinquish_membership" tag state: Relinquish one's own /// membership to the file. /// /// @return An initialized instance. /// - (instancetype)initWithRelinquishMembership; /// /// Initializes union class with tag state of "share_link". /// /// Description of the "share_link" tag state: Use create_view_link and /// create_edit_link instead. /// /// @return An initialized instance. /// - (instancetype)initWithShareLink; /// /// Initializes union class with tag state of "create_link". /// /// 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". /// /// @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 /// "disable_viewer_info". /// /// @return Whether the union's current tag state has value /// "disable_viewer_info". /// - (BOOL)isDisableViewerInfo; /// /// Retrieves whether the union's current tag state has value "edit_contents". /// /// @return Whether the union's current tag state has value "edit_contents". /// - (BOOL)isEditContents; /// /// Retrieves whether the union's current tag state has value /// "enable_viewer_info". /// /// @return Whether the union's current tag state has value /// "enable_viewer_info". /// - (BOOL)isEnableViewerInfo; /// /// Retrieves whether the union's current tag state has value "invite_viewer". /// /// @return Whether the union's current tag state has value "invite_viewer". /// - (BOOL)isInviteViewer; /// /// Retrieves whether the union's current tag state has value /// "invite_viewer_no_comment". /// /// @return Whether the union's current tag state has value /// "invite_viewer_no_comment". /// - (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". /// /// @return Whether the union's current tag state has value "unshare". /// - (BOOL)isUnshare; /// /// Retrieves whether the union's current tag state has value /// "relinquish_membership". /// /// @return Whether the union's current tag state has value /// "relinquish_membership". /// - (BOOL)isRelinquishMembership; /// /// Retrieves whether the union's current tag state has value "share_link". /// /// @return Whether the union's current tag state has value "share_link". /// - (BOOL)isShareLink; /// /// Retrieves whether the union's current tag state has value "create_link". /// /// @return Whether the union's current tag state has value "create_link". /// - (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". /// /// @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 `DBSHARINGFileAction` union. /// @interface DBSHARINGFileActionSerializer : NSObject /// /// Serializes `DBSHARINGFileAction` instances. /// /// @param instance An instance of the `DBSHARINGFileAction` API object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGFileAction` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGFileAction *)instance; /// /// Deserializes `DBSHARINGFileAction` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGFileAction` API object. /// /// @return An instantiation of the `DBSHARINGFileAction` object. /// + (DBSHARINGFileAction *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGFileErrorResult.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGFileErrorResult; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `FileErrorResult` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGFileErrorResult : NSObject #pragma mark - Instance fields /// The `DBSHARINGFileErrorResultTag` enum type represents the possible tag /// states with which the `DBSHARINGFileErrorResult` union can exist. 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 access file specified by file.Id. DBSHARINGFileErrorResultPermissionDeniedError, /// (no description). DBSHARINGFileErrorResultOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBSHARINGFileErrorResultTag tag; /// File specified by id was not found. @note Ensure the `isFileNotFoundError` /// method returns true before accessing, otherwise a runtime exception will be /// raised. @property (nonatomic, readonly, copy) NSString *fileNotFoundError; /// User does not have permission to take the specified action on the file. /// @note Ensure the `isInvalidFileActionError` method returns true before /// accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly, copy) NSString *invalidFileActionError; /// User does not have permission to access file specified by file.Id. @note /// Ensure the `isPermissionDeniedError` method returns true before accessing, /// otherwise a runtime exception will be raised. @property (nonatomic, readonly, copy) NSString *permissionDeniedError; #pragma mark - Constructors /// /// Initializes union class with tag state of "file_not_found_error". /// /// Description of the "file_not_found_error" tag state: File specified by id /// was not found. /// /// @param fileNotFoundError File specified by id was not found. /// /// @return An initialized instance. /// - (instancetype)initWithFileNotFoundError:(NSString *)fileNotFoundError; /// /// Initializes union class with tag state of "invalid_file_action_error". /// /// Description of the "invalid_file_action_error" tag state: User does not have /// permission to take the specified action on the file. /// /// @param invalidFileActionError User does not have permission to take the /// specified action on the file. /// /// @return An initialized instance. /// - (instancetype)initWithInvalidFileActionError:(NSString *)invalidFileActionError; /// /// Initializes union class with tag state of "permission_denied_error". /// /// Description of the "permission_denied_error" tag state: User does not have /// permission to access file specified by file.Id. /// /// @param permissionDeniedError User does not have permission to access file /// specified by file.Id. /// /// @return An initialized instance. /// - (instancetype)initWithPermissionDeniedError:(NSString *)permissionDeniedError; /// /// 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_not_found_error". /// /// @note Call this method and ensure it returns true before accessing the /// `fileNotFoundError` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value /// "file_not_found_error". /// - (BOOL)isFileNotFoundError; /// /// Retrieves whether the union's current tag state has value /// "invalid_file_action_error". /// /// @note Call this method and ensure it returns true before accessing the /// `invalidFileActionError` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "invalid_file_action_error". /// - (BOOL)isInvalidFileActionError; /// /// Retrieves whether the union's current tag state has value /// "permission_denied_error". /// /// @note Call this method and ensure it returns true before accessing the /// `permissionDeniedError` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "permission_denied_error". /// - (BOOL)isPermissionDeniedError; /// /// 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 `DBSHARINGFileErrorResult` union. /// @interface DBSHARINGFileErrorResultSerializer : NSObject /// /// Serializes `DBSHARINGFileErrorResult` instances. /// /// @param instance An instance of the `DBSHARINGFileErrorResult` API object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGFileErrorResult` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGFileErrorResult *)instance; /// /// Deserializes `DBSHARINGFileErrorResult` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGFileErrorResult` API object. /// /// @return An instantiation of the `DBSHARINGFileErrorResult` object. /// + (DBSHARINGFileErrorResult *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGFileLinkMetadata.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSHARINGSharedLinkMetadata.h" #import "DBSerializableProtocol.h" @class DBSHARINGFileLinkMetadata; @class DBSHARINGLinkPermissions; @class DBSHARINGTeamMemberInfo; @class DBUSERSTeam; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `FileLinkMetadata` struct. /// /// The metadata of a file 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 DBSHARINGFileLinkMetadata : DBSHARINGSharedLinkMetadata #pragma mark - Instance fields /// The modification time set by the desktop client when the file was added to /// Dropbox. Since this time is not verified (the Dropbox server stores whatever /// the desktop client sends up), this should only be used for display purposes /// (such as sorting) and not, for example, to determine if a file has changed /// or not. @property (nonatomic, readonly) NSDate *clientModified; /// The last time the file was modified on Dropbox. @property (nonatomic, readonly) NSDate *serverModified; /// 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; /// The file size in bytes. @property (nonatomic, readonly) NSNumber *size; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param url URL of the shared link. /// @param name The linked file name (including extension). This never contains /// a slash. /// @param linkPermissions The link's access permissions. /// @param clientModified The modification time set by the desktop client when /// the file was added to Dropbox. Since this time is not verified (the Dropbox /// server stores whatever the desktop client sends up), this should only be /// used for display purposes (such as sorting) and not, for example, to /// determine if a file has changed or not. /// @param serverModified The last time the file was modified on Dropbox. /// @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 size The file size in bytes. /// @param id_ A unique identifier for the linked file. /// @param expires Expiration time, if set. By default the link won't expire. /// @param pathLower The lowercased 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. /// @param teamMemberInfo The team membership information of the link's owner. /// This field will only be present if the link's owner is a team member. /// @param contentOwnerTeamInfo The team information of the content's owner. /// This field will only be present if the content's owner is a team member and /// the content's owner team is different from the link's owner team. /// /// @return An initialized instance. /// - (instancetype)initWithUrl:(NSString *)url name:(NSString *)name linkPermissions:(DBSHARINGLinkPermissions *)linkPermissions clientModified:(NSDate *)clientModified serverModified:(NSDate *)serverModified rev:(NSString *)rev size:(NSNumber *)size id_:(nullable NSString *)id_ expires:(nullable NSDate *)expires pathLower:(nullable NSString *)pathLower teamMemberInfo:(nullable DBSHARINGTeamMemberInfo *)teamMemberInfo contentOwnerTeamInfo:(nullable DBUSERSTeam *)contentOwnerTeamInfo; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param url URL of the shared link. /// @param name The linked file name (including extension). This never contains /// a slash. /// @param linkPermissions The link's access permissions. /// @param clientModified The modification time set by the desktop client when /// the file was added to Dropbox. Since this time is not verified (the Dropbox /// server stores whatever the desktop client sends up), this should only be /// used for display purposes (such as sorting) and not, for example, to /// determine if a file has changed or not. /// @param serverModified The last time the file was modified on Dropbox. /// @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 size The file size in bytes. /// /// @return An initialized instance. /// - (instancetype)initWithUrl:(NSString *)url name:(NSString *)name linkPermissions:(DBSHARINGLinkPermissions *)linkPermissions clientModified:(NSDate *)clientModified serverModified:(NSDate *)serverModified rev:(NSString *)rev size:(NSNumber *)size; @end #pragma mark - Serializer Object /// /// The serialization class for the `FileLinkMetadata` struct. /// @interface DBSHARINGFileLinkMetadataSerializer : NSObject /// /// Serializes `DBSHARINGFileLinkMetadata` instances. /// /// @param instance An instance of the `DBSHARINGFileLinkMetadata` API object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGFileLinkMetadata` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGFileLinkMetadata *)instance; /// /// Deserializes `DBSHARINGFileLinkMetadata` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGFileLinkMetadata` API object. /// /// @return An instantiation of the `DBSHARINGFileLinkMetadata` object. /// + (DBSHARINGFileLinkMetadata *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGFileMemberActionError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGFileMemberActionError; @class DBSHARINGMemberAccessLevelResult; @class DBSHARINGSharingFileAccessError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `FileMemberActionError` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGFileMemberActionError : NSObject #pragma mark - Instance fields /// The `DBSHARINGFileMemberActionErrorTag` enum type represents the possible /// tag states with which the `DBSHARINGFileMemberActionError` union can exist. 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, /// 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, /// (no description). DBSHARINGFileMemberActionErrorOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBSHARINGFileMemberActionErrorTag tag; /// Specified file was invalid or user does not have access. @note Ensure the /// `isAccessError` method returns true before accessing, otherwise a runtime /// exception will be raised. @property (nonatomic, readonly) DBSHARINGSharingFileAccessError *accessError; /// 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. @note Ensure the `isNoExplicitAccess` /// method returns true before accessing, otherwise a runtime exception will be /// raised. @property (nonatomic, readonly) DBSHARINGMemberAccessLevelResult *noExplicitAccess; #pragma mark - Constructors /// /// Initializes union class with tag state of "invalid_member". /// /// Description of the "invalid_member" tag state: Specified member was not /// found. /// /// @return An initialized instance. /// - (instancetype)initWithInvalidMember; /// /// Initializes union class with tag state of "no_permission". /// /// Description of the "no_permission" tag state: User does not have permission /// to perform this action on this member. /// /// @return An initialized instance. /// - (instancetype)initWithNoPermission; /// /// Initializes union class with tag state of "access_error". /// /// Description of the "access_error" tag state: Specified file was invalid or /// user does not have access. /// /// @param accessError Specified file was invalid or user does not have access. /// /// @return An initialized instance. /// - (instancetype)initWithAccessError:(DBSHARINGSharingFileAccessError *)accessError; /// /// Initializes union class with tag state of "no_explicit_access". /// /// Description of the "no_explicit_access" tag state: 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. /// /// @param noExplicitAccess 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. /// /// @return An initialized instance. /// - (instancetype)initWithNoExplicitAccess:(DBSHARINGMemberAccessLevelResult *)noExplicitAccess; /// /// 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_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 "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 "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_explicit_access". /// /// @note Call this method and ensure it returns true before accessing the /// `noExplicitAccess` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value /// "no_explicit_access". /// - (BOOL)isNoExplicitAccess; /// /// 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 `DBSHARINGFileMemberActionError` union. /// @interface DBSHARINGFileMemberActionErrorSerializer : NSObject /// /// Serializes `DBSHARINGFileMemberActionError` instances. /// /// @param instance An instance of the `DBSHARINGFileMemberActionError` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGFileMemberActionError` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGFileMemberActionError *)instance; /// /// Deserializes `DBSHARINGFileMemberActionError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGFileMemberActionError` API object. /// /// @return An instantiation of the `DBSHARINGFileMemberActionError` object. /// + (DBSHARINGFileMemberActionError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGFileMemberActionIndividualResult.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGAccessLevel; @class DBSHARINGFileMemberActionError; @class DBSHARINGFileMemberActionIndividualResult; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `FileMemberActionIndividualResult` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGFileMemberActionIndividualResult : NSObject #pragma mark - Instance fields /// The `DBSHARINGFileMemberActionIndividualResultTag` enum type represents the /// possible tag states with which the /// `DBSHARINGFileMemberActionIndividualResult` union can exist. 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, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBSHARINGFileMemberActionIndividualResultTag tag; /// 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` /// method returns true before accessing, otherwise a runtime exception will be /// raised. @property (nonatomic, readonly) DBSHARINGFileMemberActionError *memberError; #pragma mark - Constructors /// /// Initializes union class with tag state of "success". /// /// 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 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. /// - (instancetype)initWithSuccess:(nullable DBSHARINGAccessLevel *)success; /// /// Initializes union class with tag state of "member_error". /// /// Description of the "member_error" tag state: User was not able to perform /// this action. /// /// @param memberError User was not able to perform this action. /// /// @return An initialized instance. /// - (instancetype)initWithMemberError:(DBSHARINGFileMemberActionError *)memberError; - (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 "member_error". /// /// @note Call this method and ensure it returns true before accessing the /// `memberError` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value "member_error". /// - (BOOL)isMemberError; /// /// 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 `DBSHARINGFileMemberActionIndividualResult` /// union. /// @interface DBSHARINGFileMemberActionIndividualResultSerializer : NSObject /// /// Serializes `DBSHARINGFileMemberActionIndividualResult` instances. /// /// @param instance An instance of the /// `DBSHARINGFileMemberActionIndividualResult` API object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGFileMemberActionIndividualResult` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGFileMemberActionIndividualResult *)instance; /// /// Deserializes `DBSHARINGFileMemberActionIndividualResult` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGFileMemberActionIndividualResult` API object. /// /// @return An instantiation of the `DBSHARINGFileMemberActionIndividualResult` /// object. /// + (DBSHARINGFileMemberActionIndividualResult *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGFileMemberActionResult.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGFileMemberActionIndividualResult; @class DBSHARINGFileMemberActionResult; @class DBSHARINGMemberSelector; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `FileMemberActionResult` struct. /// /// 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 /// objects. /// @interface DBSHARINGFileMemberActionResult : NSObject #pragma mark - Instance fields /// One of specified input members. @property (nonatomic, readonly) DBSHARINGMemberSelector *member; /// 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 /// /// Full constructor for the struct (exposes all instance variables). /// /// @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. /// - (instancetype)initWithMember:(DBSHARINGMemberSelector *)member result:(DBSHARINGFileMemberActionIndividualResult *)result; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `FileMemberActionResult` struct. /// @interface DBSHARINGFileMemberActionResultSerializer : NSObject /// /// Serializes `DBSHARINGFileMemberActionResult` instances. /// /// @param instance An instance of the `DBSHARINGFileMemberActionResult` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGFileMemberActionResult` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGFileMemberActionResult *)instance; /// /// Deserializes `DBSHARINGFileMemberActionResult` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGFileMemberActionResult` API object. /// /// @return An instantiation of the `DBSHARINGFileMemberActionResult` object. /// + (DBSHARINGFileMemberActionResult *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGFileMemberRemoveActionResult.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGFileMemberActionError; @class DBSHARINGFileMemberRemoveActionResult; @class DBSHARINGMemberAccessLevelResult; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `FileMemberRemoveActionResult` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGFileMemberRemoveActionResult : NSObject #pragma mark - Instance fields /// The `DBSHARINGFileMemberRemoveActionResultTag` enum type represents the /// possible tag states with which the `DBSHARINGFileMemberRemoveActionResult` /// union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBSHARINGFileMemberRemoveActionResultTag){ /// Member was successfully removed from this file. DBSHARINGFileMemberRemoveActionResultSuccess, /// User was not able to remove this member. DBSHARINGFileMemberRemoveActionResultMemberError, /// (no description). DBSHARINGFileMemberRemoveActionResultOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBSHARINGFileMemberRemoveActionResultTag tag; /// Member was successfully removed from this file. @note Ensure the `isSuccess` /// method returns true before accessing, otherwise a runtime exception will be /// raised. @property (nonatomic, readonly) DBSHARINGMemberAccessLevelResult *success; /// User was not able to remove this member. @note Ensure the `isMemberError` /// method returns true before accessing, otherwise a runtime exception will be /// raised. @property (nonatomic, readonly) DBSHARINGFileMemberActionError *memberError; #pragma mark - Constructors /// /// Initializes union class with tag state of "success". /// /// Description of the "success" tag state: Member was successfully removed from /// this file. /// /// @param success Member was successfully removed from this file. /// /// @return An initialized instance. /// - (instancetype)initWithSuccess:(DBSHARINGMemberAccessLevelResult *)success; /// /// Initializes union class with tag state of "member_error". /// /// Description of the "member_error" tag state: User was not able to remove /// this member. /// /// @param memberError User was not able to remove this member. /// /// @return An initialized instance. /// - (instancetype)initWithMemberError:(DBSHARINGFileMemberActionError *)memberError; /// /// 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 "member_error". /// /// @note Call this method and ensure it returns true before accessing the /// `memberError` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value "member_error". /// - (BOOL)isMemberError; /// /// 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 `DBSHARINGFileMemberRemoveActionResult` /// union. /// @interface DBSHARINGFileMemberRemoveActionResultSerializer : NSObject /// /// Serializes `DBSHARINGFileMemberRemoveActionResult` instances. /// /// @param instance An instance of the `DBSHARINGFileMemberRemoveActionResult` /// API object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGFileMemberRemoveActionResult` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGFileMemberRemoveActionResult *)instance; /// /// Deserializes `DBSHARINGFileMemberRemoveActionResult` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGFileMemberRemoveActionResult` API object. /// /// @return An instantiation of the `DBSHARINGFileMemberRemoveActionResult` /// object. /// + (DBSHARINGFileMemberRemoveActionResult *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGFilePermission.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGFileAction; @class DBSHARINGFilePermission; @class DBSHARINGPermissionDeniedReason; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `FilePermission` struct. /// /// Whether the user is allowed to take the sharing action on the file. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGFilePermission : NSObject #pragma mark - Instance fields /// The action that the user may wish to take on the file. @property (nonatomic, readonly) DBSHARINGFileAction *action; /// True if the user is allowed to take the action. @property (nonatomic, readonly) NSNumber *allow; /// The reason why the user is denied the permission. Not present if the action /// is allowed. @property (nonatomic, readonly, nullable) DBSHARINGPermissionDeniedReason *reason; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param action The action that the user may wish to take on the file. /// @param allow True if the user is allowed to take the action. /// @param reason The reason why the user is denied the permission. Not present /// if the action is allowed. /// /// @return An initialized instance. /// - (instancetype)initWithAction:(DBSHARINGFileAction *)action allow:(NSNumber *)allow reason:(nullable DBSHARINGPermissionDeniedReason *)reason; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param action The action that the user may wish to take on the file. /// @param allow True if the user is allowed to take the action. /// /// @return An initialized instance. /// - (instancetype)initWithAction:(DBSHARINGFileAction *)action allow:(NSNumber *)allow; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `FilePermission` struct. /// @interface DBSHARINGFilePermissionSerializer : NSObject /// /// Serializes `DBSHARINGFilePermission` instances. /// /// @param instance An instance of the `DBSHARINGFilePermission` API object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGFilePermission` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGFilePermission *)instance; /// /// Deserializes `DBSHARINGFilePermission` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGFilePermission` API object. /// /// @return An instantiation of the `DBSHARINGFilePermission` object. /// + (DBSHARINGFilePermission *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGFolderAction.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGFolderAction; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `FolderAction` union. /// /// Actions that may be taken on shared folders. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGFolderAction : NSObject #pragma mark - Instance fields /// The `DBSHARINGFolderActionTag` enum type represents the possible tag states /// with which the `DBSHARINGFolderAction` union can exist. 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, /// Change or edit contents of the folder. DBSHARINGFolderActionEditContents, /// 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 permission. DBSHARINGFolderActionInviteViewer, /// 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, /// Unmount the folder. DBSHARINGFolderActionUnmount, /// Stop sharing this folder. DBSHARINGFolderActionUnshare, /// Keep a copy of the contents upon leaving or being kicked from the /// folder. DBSHARINGFolderActionLeaveACopy, /// Use create_link instead. DBSHARINGFolderActionShareLink, /// Create a shared link for folder. DBSHARINGFolderActionCreateLink, /// Set whether the folder inherits permissions from its parent. DBSHARINGFolderActionSetAccessInheritance, /// (no description). DBSHARINGFolderActionOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBSHARINGFolderActionTag tag; #pragma mark - Constructors /// /// Initializes union class with tag state of "change_options". /// /// Description of the "change_options" tag state: Change folder options, such /// as who can be invited to join the folder. /// /// @return An initialized instance. /// - (instancetype)initWithChangeOptions; /// /// Initializes union class with tag state of "disable_viewer_info". /// /// Description of the "disable_viewer_info" tag state: Disable viewer /// information for this folder. /// /// @return An initialized instance. /// - (instancetype)initWithDisableViewerInfo; /// /// Initializes union class with tag state of "edit_contents". /// /// Description of the "edit_contents" tag state: Change or edit contents of the /// folder. /// /// @return An initialized instance. /// - (instancetype)initWithEditContents; /// /// Initializes union class with tag state of "enable_viewer_info". /// /// Description of the "enable_viewer_info" tag state: Enable viewer information /// on the folder. /// /// @return An initialized instance. /// - (instancetype)initWithEnableViewerInfo; /// /// Initializes union class with tag state of "invite_editor". /// /// Description of the "invite_editor" tag state: Invite a user or group to join /// the folder with read and write permission. /// /// @return An initialized instance. /// - (instancetype)initWithInviteEditor; /// /// Initializes union class with tag state of "invite_viewer". /// /// Description of the "invite_viewer" tag state: Invite a user or group to join /// the folder with read permission. /// /// @return An initialized instance. /// - (instancetype)initWithInviteViewer; /// /// Initializes union class with tag state of "invite_viewer_no_comment". /// /// Description of the "invite_viewer_no_comment" tag state: Invite a user or /// group to join the folder with read permission but no comment permissions. /// /// @return An initialized instance. /// - (instancetype)initWithInviteViewerNoComment; /// /// Initializes union class with tag state of "relinquish_membership". /// /// Description of the "relinquish_membership" tag state: Relinquish one's own /// membership in the folder. /// /// @return An initialized instance. /// - (instancetype)initWithRelinquishMembership; /// /// Initializes union class with tag state of "unmount". /// /// Description of the "unmount" tag state: Unmount the folder. /// /// @return An initialized instance. /// - (instancetype)initWithUnmount; /// /// Initializes union class with tag state of "unshare". /// /// Description of the "unshare" tag state: Stop sharing this folder. /// /// @return An initialized instance. /// - (instancetype)initWithUnshare; /// /// Initializes union class with tag state of "leave_a_copy". /// /// Description of the "leave_a_copy" tag state: Keep a copy of the contents /// upon leaving or being kicked from the folder. /// /// @return An initialized instance. /// - (instancetype)initWithLeaveACopy; /// /// Initializes union class with tag state of "share_link". /// /// Description of the "share_link" tag state: Use create_link instead. /// /// @return An initialized instance. /// - (instancetype)initWithShareLink; /// /// Initializes union class with tag state of "create_link". /// /// Description of the "create_link" tag state: Create a shared link for folder. /// /// @return An initialized instance. /// - (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". /// /// @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 "change_options". /// /// @return Whether the union's current tag state has value "change_options". /// - (BOOL)isChangeOptions; /// /// Retrieves whether the union's current tag state has value /// "disable_viewer_info". /// /// @return Whether the union's current tag state has value /// "disable_viewer_info". /// - (BOOL)isDisableViewerInfo; /// /// Retrieves whether the union's current tag state has value "edit_contents". /// /// @return Whether the union's current tag state has value "edit_contents". /// - (BOOL)isEditContents; /// /// Retrieves whether the union's current tag state has value /// "enable_viewer_info". /// /// @return Whether the union's current tag state has value /// "enable_viewer_info". /// - (BOOL)isEnableViewerInfo; /// /// 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 "invite_viewer". /// /// @return Whether the union's current tag state has value "invite_viewer". /// - (BOOL)isInviteViewer; /// /// Retrieves whether the union's current tag state has value /// "invite_viewer_no_comment". /// /// @return Whether the union's current tag state has value /// "invite_viewer_no_comment". /// - (BOOL)isInviteViewerNoComment; /// /// Retrieves whether the union's current tag state has value /// "relinquish_membership". /// /// @return Whether the union's current tag state has value /// "relinquish_membership". /// - (BOOL)isRelinquishMembership; /// /// Retrieves whether the union's current tag state has value "unmount". /// /// @return Whether the union's current tag state has value "unmount". /// - (BOOL)isUnmount; /// /// Retrieves whether the union's current tag state has value "unshare". /// /// @return Whether the union's current tag state has value "unshare". /// - (BOOL)isUnshare; /// /// Retrieves whether the union's current tag state has value "leave_a_copy". /// /// @return Whether the union's current tag state has value "leave_a_copy". /// - (BOOL)isLeaveACopy; /// /// Retrieves whether the union's current tag state has value "share_link". /// /// @return Whether the union's current tag state has value "share_link". /// - (BOOL)isShareLink; /// /// Retrieves whether the union's current tag state has value "create_link". /// /// @return Whether the union's current tag state has value "create_link". /// - (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". /// /// @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 `DBSHARINGFolderAction` union. /// @interface DBSHARINGFolderActionSerializer : NSObject /// /// Serializes `DBSHARINGFolderAction` instances. /// /// @param instance An instance of the `DBSHARINGFolderAction` API object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGFolderAction` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGFolderAction *)instance; /// /// Deserializes `DBSHARINGFolderAction` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGFolderAction` API object. /// /// @return An instantiation of the `DBSHARINGFolderAction` object. /// + (DBSHARINGFolderAction *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGFolderLinkMetadata.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSHARINGSharedLinkMetadata.h" #import "DBSerializableProtocol.h" @class DBSHARINGFolderLinkMetadata; @class DBSHARINGLinkPermissions; @class DBSHARINGTeamMemberInfo; @class DBUSERSTeam; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `FolderLinkMetadata` struct. /// /// The metadata of a folder 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 DBSHARINGFolderLinkMetadata : DBSHARINGSharedLinkMetadata #pragma mark - Instance fields #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param url URL of the shared link. /// @param name The linked file name (including extension). This never contains /// a slash. /// @param linkPermissions The link's access permissions. /// @param id_ A unique identifier for the linked file. /// @param expires Expiration time, if set. By default the link won't expire. /// @param pathLower The lowercased 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. /// @param teamMemberInfo The team membership information of the link's owner. /// This field will only be present if the link's owner is a team member. /// @param contentOwnerTeamInfo The team information of the content's owner. /// This field will only be present if the content's owner is a team member and /// the content's owner team is different from the link's owner team. /// /// @return An initialized instance. /// - (instancetype)initWithUrl:(NSString *)url name:(NSString *)name linkPermissions:(DBSHARINGLinkPermissions *)linkPermissions id_:(nullable NSString *)id_ expires:(nullable NSDate *)expires pathLower:(nullable NSString *)pathLower teamMemberInfo:(nullable DBSHARINGTeamMemberInfo *)teamMemberInfo contentOwnerTeamInfo:(nullable DBUSERSTeam *)contentOwnerTeamInfo; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param url URL of the shared link. /// @param name The linked file name (including extension). This never contains /// a slash. /// @param linkPermissions The link's access permissions. /// /// @return An initialized instance. /// - (instancetype)initWithUrl:(NSString *)url name:(NSString *)name linkPermissions:(DBSHARINGLinkPermissions *)linkPermissions; @end #pragma mark - Serializer Object /// /// The serialization class for the `FolderLinkMetadata` struct. /// @interface DBSHARINGFolderLinkMetadataSerializer : NSObject /// /// Serializes `DBSHARINGFolderLinkMetadata` instances. /// /// @param instance An instance of the `DBSHARINGFolderLinkMetadata` API object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGFolderLinkMetadata` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGFolderLinkMetadata *)instance; /// /// Deserializes `DBSHARINGFolderLinkMetadata` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGFolderLinkMetadata` API object. /// /// @return An instantiation of the `DBSHARINGFolderLinkMetadata` object. /// + (DBSHARINGFolderLinkMetadata *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGFolderPermission.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGFolderAction; @class DBSHARINGFolderPermission; @class DBSHARINGPermissionDeniedReason; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `FolderPermission` struct. /// /// Whether the user is allowed to take the action on 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 DBSHARINGFolderPermission : NSObject #pragma mark - Instance fields /// The action that the user may wish to take on the folder. @property (nonatomic, readonly) DBSHARINGFolderAction *action; /// True if the user is allowed to take the action. @property (nonatomic, readonly) NSNumber *allow; /// The reason why the user is denied the permission. Not present if the action /// is allowed, or if no reason is available. @property (nonatomic, readonly, nullable) DBSHARINGPermissionDeniedReason *reason; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param action The action that the user may wish to take on the folder. /// @param allow True if the user is allowed to take the action. /// @param reason The reason why the user is denied the permission. Not present /// if the action is allowed, or if no reason is available. /// /// @return An initialized instance. /// - (instancetype)initWithAction:(DBSHARINGFolderAction *)action allow:(NSNumber *)allow reason:(nullable DBSHARINGPermissionDeniedReason *)reason; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param action The action that the user may wish to take on the folder. /// @param allow True if the user is allowed to take the action. /// /// @return An initialized instance. /// - (instancetype)initWithAction:(DBSHARINGFolderAction *)action allow:(NSNumber *)allow; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `FolderPermission` struct. /// @interface DBSHARINGFolderPermissionSerializer : NSObject /// /// Serializes `DBSHARINGFolderPermission` instances. /// /// @param instance An instance of the `DBSHARINGFolderPermission` API object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGFolderPermission` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGFolderPermission *)instance; /// /// Deserializes `DBSHARINGFolderPermission` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGFolderPermission` API object. /// /// @return An instantiation of the `DBSHARINGFolderPermission` object. /// + (DBSHARINGFolderPermission *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGFolderPolicy.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGAclUpdatePolicy; @class DBSHARINGFolderPolicy; @class DBSHARINGMemberPolicy; @class DBSHARINGSharedLinkPolicy; @class DBSHARINGViewerInfoPolicy; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `FolderPolicy` struct. /// /// A set of policies governing membership and privileges for 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 DBSHARINGFolderPolicy : NSObject #pragma mark - Instance fields /// Who can be a member of this shared folder, as set on the folder itself. The /// effective policy may differ from this value if the team-wide policy is more /// restrictive. Present only if the folder is owned by a team. @property (nonatomic, readonly, nullable) DBSHARINGMemberPolicy *memberPolicy; /// Who can be a member of this shared folder, taking into account both the /// folder and the team-wide policy. This value may differ from that of /// member_policy if the team-wide policy is more restrictive than the folder /// policy. Present only if the folder is owned by a team. @property (nonatomic, readonly, nullable) DBSHARINGMemberPolicy *resolvedMemberPolicy; /// Who can add and remove members from this shared folder. @property (nonatomic, readonly) DBSHARINGAclUpdatePolicy *aclUpdatePolicy; /// Who links can be shared with. @property (nonatomic, readonly) DBSHARINGSharedLinkPolicy *sharedLinkPolicy; /// Who can enable/disable viewer info for this shared folder. @property (nonatomic, readonly, nullable) DBSHARINGViewerInfoPolicy *viewerInfoPolicy; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param aclUpdatePolicy Who can add and remove members from this shared /// folder. /// @param sharedLinkPolicy Who links can be shared with. /// @param memberPolicy Who can be a member of this shared folder, as set on the /// folder itself. The effective policy may differ from this value if the /// team-wide policy is more restrictive. Present only if the folder is owned by /// a team. /// @param resolvedMemberPolicy Who can be a member of this shared folder, /// taking into account both the folder and the team-wide policy. This value may /// differ from that of member_policy if the team-wide policy is more /// restrictive than the folder policy. Present only if the folder is owned by a /// team. /// @param viewerInfoPolicy Who can enable/disable viewer info for this shared /// folder. /// /// @return An initialized instance. /// - (instancetype)initWithAclUpdatePolicy:(DBSHARINGAclUpdatePolicy *)aclUpdatePolicy sharedLinkPolicy:(DBSHARINGSharedLinkPolicy *)sharedLinkPolicy memberPolicy:(nullable DBSHARINGMemberPolicy *)memberPolicy resolvedMemberPolicy:(nullable DBSHARINGMemberPolicy *)resolvedMemberPolicy viewerInfoPolicy:(nullable DBSHARINGViewerInfoPolicy *)viewerInfoPolicy; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param aclUpdatePolicy Who can add and remove members from this shared /// folder. /// @param sharedLinkPolicy Who links can be shared with. /// /// @return An initialized instance. /// - (instancetype)initWithAclUpdatePolicy:(DBSHARINGAclUpdatePolicy *)aclUpdatePolicy sharedLinkPolicy:(DBSHARINGSharedLinkPolicy *)sharedLinkPolicy; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `FolderPolicy` struct. /// @interface DBSHARINGFolderPolicySerializer : NSObject /// /// Serializes `DBSHARINGFolderPolicy` instances. /// /// @param instance An instance of the `DBSHARINGFolderPolicy` API object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGFolderPolicy` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGFolderPolicy *)instance; /// /// Deserializes `DBSHARINGFolderPolicy` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGFolderPolicy` API object. /// /// @return An instantiation of the `DBSHARINGFolderPolicy` object. /// + (DBSHARINGFolderPolicy *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGGetFileMetadataArg.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGFileAction; @class DBSHARINGGetFileMetadataArg; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `GetFileMetadataArg` struct. /// /// Arguments of `getFileMetadata`. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGGetFileMetadataArg : NSObject #pragma mark - Instance fields /// The file to query. @property (nonatomic, readonly, copy) NSString *file; /// A list of `FileAction`s corresponding to `FilePermission`s that should /// appear in the response's `permissions` in `DBSHARINGSharedFileMetadata` /// field describing the actions the authenticated user can perform on the /// file. @property (nonatomic, readonly, nullable) NSArray *actions; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param file The file to query. /// @param actions A list of `FileAction`s corresponding to `FilePermission`s /// that should appear in the response's `permissions` in /// `DBSHARINGSharedFileMetadata` field describing the actions the /// authenticated user can perform on the file. /// /// @return An initialized instance. /// - (instancetype)initWithFile:(NSString *)file actions:(nullable NSArray *)actions; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param file The file to query. /// /// @return An initialized instance. /// - (instancetype)initWithFile:(NSString *)file; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `GetFileMetadataArg` struct. /// @interface DBSHARINGGetFileMetadataArgSerializer : NSObject /// /// Serializes `DBSHARINGGetFileMetadataArg` instances. /// /// @param instance An instance of the `DBSHARINGGetFileMetadataArg` API object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGGetFileMetadataArg` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGGetFileMetadataArg *)instance; /// /// Deserializes `DBSHARINGGetFileMetadataArg` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGGetFileMetadataArg` API object. /// /// @return An instantiation of the `DBSHARINGGetFileMetadataArg` object. /// + (DBSHARINGGetFileMetadataArg *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGGetFileMetadataBatchArg.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGFileAction; @class DBSHARINGGetFileMetadataBatchArg; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `GetFileMetadataBatchArg` struct. /// /// Arguments of `getFileMetadataBatch`. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGGetFileMetadataBatchArg : NSObject #pragma mark - Instance fields /// The files to query. @property (nonatomic, readonly) NSArray *files; /// A list of `FileAction`s corresponding to `FilePermission`s that should /// appear in the response's `permissions` in `DBSHARINGSharedFileMetadata` /// field describing the actions the authenticated user can perform on the /// file. @property (nonatomic, readonly, nullable) NSArray *actions; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param files The files to query. /// @param actions A list of `FileAction`s corresponding to `FilePermission`s /// that should appear in the response's `permissions` in /// `DBSHARINGSharedFileMetadata` field describing the actions the /// authenticated user can perform on the file. /// /// @return An initialized instance. /// - (instancetype)initWithFiles:(NSArray *)files actions:(nullable NSArray *)actions; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param files The files to query. /// /// @return An initialized instance. /// - (instancetype)initWithFiles:(NSArray *)files; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `GetFileMetadataBatchArg` struct. /// @interface DBSHARINGGetFileMetadataBatchArgSerializer : NSObject /// /// Serializes `DBSHARINGGetFileMetadataBatchArg` instances. /// /// @param instance An instance of the `DBSHARINGGetFileMetadataBatchArg` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGGetFileMetadataBatchArg` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGGetFileMetadataBatchArg *)instance; /// /// Deserializes `DBSHARINGGetFileMetadataBatchArg` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGGetFileMetadataBatchArg` API object. /// /// @return An instantiation of the `DBSHARINGGetFileMetadataBatchArg` object. /// + (DBSHARINGGetFileMetadataBatchArg *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGGetFileMetadataBatchResult.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGGetFileMetadataBatchResult; @class DBSHARINGGetFileMetadataIndividualResult; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `GetFileMetadataBatchResult` struct. /// /// Per file results of `getFileMetadataBatch`. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGGetFileMetadataBatchResult : NSObject #pragma mark - Instance fields /// This is the input file identifier corresponding to one of `files` in /// `DBSHARINGGetFileMetadataBatchArg`. @property (nonatomic, readonly, copy) NSString *file; /// The result for this particular file. @property (nonatomic, readonly) DBSHARINGGetFileMetadataIndividualResult *result; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param file This is the input file identifier corresponding to one of /// `files` in `DBSHARINGGetFileMetadataBatchArg`. /// @param result The result for this particular file. /// /// @return An initialized instance. /// - (instancetype)initWithFile:(NSString *)file result:(DBSHARINGGetFileMetadataIndividualResult *)result; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `GetFileMetadataBatchResult` struct. /// @interface DBSHARINGGetFileMetadataBatchResultSerializer : NSObject /// /// Serializes `DBSHARINGGetFileMetadataBatchResult` instances. /// /// @param instance An instance of the `DBSHARINGGetFileMetadataBatchResult` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGGetFileMetadataBatchResult` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGGetFileMetadataBatchResult *)instance; /// /// Deserializes `DBSHARINGGetFileMetadataBatchResult` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGGetFileMetadataBatchResult` API object. /// /// @return An instantiation of the `DBSHARINGGetFileMetadataBatchResult` /// object. /// + (DBSHARINGGetFileMetadataBatchResult *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGGetFileMetadataError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGGetFileMetadataError; @class DBSHARINGSharingFileAccessError; @class DBSHARINGSharingUserError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `GetFileMetadataError` union. /// /// Error result for `getFileMetadata`. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGGetFileMetadataError : NSObject #pragma mark - Instance fields /// The `DBSHARINGGetFileMetadataErrorTag` enum type represents the possible tag /// states with which the `DBSHARINGGetFileMetadataError` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBSHARINGGetFileMetadataErrorTag){ /// (no description). DBSHARINGGetFileMetadataErrorUserError, /// (no description). DBSHARINGGetFileMetadataErrorAccessError, /// (no description). DBSHARINGGetFileMetadataErrorOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBSHARINGGetFileMetadataErrorTag tag; /// (no description). @note Ensure the `isUserError` method returns true before /// accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) DBSHARINGSharingUserError *userError; /// (no description). @note Ensure the `isAccessError` method returns true /// before accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) DBSHARINGSharingFileAccessError *accessError; #pragma mark - Constructors /// /// Initializes union class with tag state of "user_error". /// /// @param userError (no description). /// /// @return An initialized instance. /// - (instancetype)initWithUserError:(DBSHARINGSharingUserError *)userError; /// /// Initializes union class with tag state of "access_error". /// /// @param accessError (no description). /// /// @return An initialized instance. /// - (instancetype)initWithAccessError:(DBSHARINGSharingFileAccessError *)accessError; /// /// 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_error". /// /// @note Call this method and ensure it returns true before accessing the /// `userError` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value "user_error". /// - (BOOL)isUserError; /// /// 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 "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 `DBSHARINGGetFileMetadataError` union. /// @interface DBSHARINGGetFileMetadataErrorSerializer : NSObject /// /// Serializes `DBSHARINGGetFileMetadataError` instances. /// /// @param instance An instance of the `DBSHARINGGetFileMetadataError` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGGetFileMetadataError` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGGetFileMetadataError *)instance; /// /// Deserializes `DBSHARINGGetFileMetadataError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGGetFileMetadataError` API object. /// /// @return An instantiation of the `DBSHARINGGetFileMetadataError` object. /// + (DBSHARINGGetFileMetadataError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGGetFileMetadataIndividualResult.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGGetFileMetadataIndividualResult; @class DBSHARINGSharedFileMetadata; @class DBSHARINGSharingFileAccessError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `GetFileMetadataIndividualResult` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGGetFileMetadataIndividualResult : NSObject #pragma mark - Instance fields /// The `DBSHARINGGetFileMetadataIndividualResultTag` enum type represents the /// possible tag states with which the /// `DBSHARINGGetFileMetadataIndividualResult` union can exist. 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, /// (no description). DBSHARINGGetFileMetadataIndividualResultOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBSHARINGGetFileMetadataIndividualResultTag tag; /// The result for this file if it was successful. @note Ensure the `isMetadata` /// method returns true before accessing, otherwise a runtime exception will be /// raised. @property (nonatomic, readonly) DBSHARINGSharedFileMetadata *metadata; /// The result for this file if it was an error. @note Ensure the /// `isAccessError` method returns true before accessing, otherwise a runtime /// exception will be raised. @property (nonatomic, readonly) DBSHARINGSharingFileAccessError *accessError; #pragma mark - Constructors /// /// Initializes union class with tag state of "metadata". /// /// Description of the "metadata" tag state: The result for this file if it was /// successful. /// /// @param metadata The result for this file if it was successful. /// /// @return An initialized instance. /// - (instancetype)initWithMetadata:(DBSHARINGSharedFileMetadata *)metadata; /// /// Initializes union class with tag state of "access_error". /// /// Description of the "access_error" tag state: The result for this file if it /// was an error. /// /// @param accessError The result for this file if it was an error. /// /// @return An initialized instance. /// - (instancetype)initWithAccessError:(DBSHARINGSharingFileAccessError *)accessError; /// /// 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 "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 "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 `DBSHARINGGetFileMetadataIndividualResult` /// union. /// @interface DBSHARINGGetFileMetadataIndividualResultSerializer : NSObject /// /// Serializes `DBSHARINGGetFileMetadataIndividualResult` instances. /// /// @param instance An instance of the /// `DBSHARINGGetFileMetadataIndividualResult` API object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGGetFileMetadataIndividualResult` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGGetFileMetadataIndividualResult *)instance; /// /// Deserializes `DBSHARINGGetFileMetadataIndividualResult` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGGetFileMetadataIndividualResult` API object. /// /// @return An instantiation of the `DBSHARINGGetFileMetadataIndividualResult` /// object. /// + (DBSHARINGGetFileMetadataIndividualResult *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGGetMetadataArgs.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGFolderAction; @class DBSHARINGGetMetadataArgs; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `GetMetadataArgs` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGGetMetadataArgs : NSObject #pragma mark - Instance fields /// The ID for the shared folder. @property (nonatomic, readonly, copy) NSString *sharedFolderId; /// 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 the /// folder. @property (nonatomic, readonly, nullable) NSArray *actions; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @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 `permissions` in /// `DBSHARINGSharedFolderMetadata` field describing the actions the /// authenticated user can perform on the folder. /// /// @return An initialized instance. /// - (instancetype)initWithSharedFolderId:(NSString *)sharedFolderId actions:(nullable NSArray *)actions; /// /// 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 `GetMetadataArgs` struct. /// @interface DBSHARINGGetMetadataArgsSerializer : NSObject /// /// Serializes `DBSHARINGGetMetadataArgs` instances. /// /// @param instance An instance of the `DBSHARINGGetMetadataArgs` API object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGGetMetadataArgs` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGGetMetadataArgs *)instance; /// /// Deserializes `DBSHARINGGetMetadataArgs` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGGetMetadataArgs` API object. /// /// @return An instantiation of the `DBSHARINGGetMetadataArgs` object. /// + (DBSHARINGGetMetadataArgs *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGGetSharedLinkFileError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGGetSharedLinkFileError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `GetSharedLinkFileError` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGGetSharedLinkFileError : NSObject #pragma mark - Instance fields /// The `DBSHARINGGetSharedLinkFileErrorTag` enum type represents the possible /// tag states with which the `DBSHARINGGetSharedLinkFileError` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBSHARINGGetSharedLinkFileErrorTag){ /// The shared link wasn't found. DBSHARINGGetSharedLinkFileErrorSharedLinkNotFound, /// The caller is not allowed to access this shared link. DBSHARINGGetSharedLinkFileErrorSharedLinkAccessDenied, /// This type of link is not supported; use `files` instead. DBSHARINGGetSharedLinkFileErrorUnsupportedLinkType, /// (no description). DBSHARINGGetSharedLinkFileErrorOther, /// Directories cannot be retrieved by this endpoint. DBSHARINGGetSharedLinkFileErrorSharedLinkIsDirectory, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBSHARINGGetSharedLinkFileErrorTag tag; #pragma mark - Constructors /// /// Initializes union class with tag state of "shared_link_not_found". /// /// Description of the "shared_link_not_found" tag state: The shared link wasn't /// found. /// /// @return An initialized instance. /// - (instancetype)initWithSharedLinkNotFound; /// /// Initializes union class with tag state of "shared_link_access_denied". /// /// Description of the "shared_link_access_denied" tag state: The caller is not /// allowed to access this shared link. /// /// @return An initialized instance. /// - (instancetype)initWithSharedLinkAccessDenied; /// /// 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; use `files` instead. /// /// @return An initialized instance. /// - (instancetype)initWithUnsupportedLinkType; /// /// Initializes union class with tag state of "other". /// /// @return An initialized instance. /// - (instancetype)initWithOther; /// /// Initializes union class with tag state of "shared_link_is_directory". /// /// Description of the "shared_link_is_directory" tag state: Directories cannot /// be retrieved by this endpoint. /// /// @return An initialized instance. /// - (instancetype)initWithSharedLinkIsDirectory; - (instancetype)init NS_UNAVAILABLE; #pragma mark - Tag state methods /// /// Retrieves whether the union's current tag state has value /// "shared_link_not_found". /// /// @return Whether the union's current tag state has value /// "shared_link_not_found". /// - (BOOL)isSharedLinkNotFound; /// /// Retrieves whether the union's current tag state has value /// "shared_link_access_denied". /// /// @return Whether the union's current tag state has value /// "shared_link_access_denied". /// - (BOOL)isSharedLinkAccessDenied; /// /// Retrieves whether the union's current tag state has value /// "unsupported_link_type". /// /// @return Whether the union's current tag state has value /// "unsupported_link_type". /// - (BOOL)isUnsupportedLinkType; /// /// 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 /// "shared_link_is_directory". /// /// @return Whether the union's current tag state has value /// "shared_link_is_directory". /// - (BOOL)isSharedLinkIsDirectory; /// /// 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 `DBSHARINGGetSharedLinkFileError` union. /// @interface DBSHARINGGetSharedLinkFileErrorSerializer : NSObject /// /// Serializes `DBSHARINGGetSharedLinkFileError` instances. /// /// @param instance An instance of the `DBSHARINGGetSharedLinkFileError` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGGetSharedLinkFileError` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGGetSharedLinkFileError *)instance; /// /// Deserializes `DBSHARINGGetSharedLinkFileError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGGetSharedLinkFileError` API object. /// /// @return An instantiation of the `DBSHARINGGetSharedLinkFileError` object. /// + (DBSHARINGGetSharedLinkFileError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGGetSharedLinkMetadataArg.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGGetSharedLinkMetadataArg; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `GetSharedLinkMetadataArg` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGGetSharedLinkMetadataArg : NSObject #pragma mark - Instance fields /// URL of the shared link. @property (nonatomic, readonly, copy) NSString *url; /// 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. @property (nonatomic, readonly, copy, nullable) NSString *path; /// If the shared link has a password, this parameter can be used. @property (nonatomic, readonly, copy, nullable) NSString *linkPassword; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @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 An initialized instance. /// - (instancetype)initWithUrl:(NSString *)url path:(nullable NSString *)path linkPassword:(nullable NSString *)linkPassword; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param url URL of the shared link. /// /// @return An initialized instance. /// - (instancetype)initWithUrl:(NSString *)url; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `GetSharedLinkMetadataArg` struct. /// @interface DBSHARINGGetSharedLinkMetadataArgSerializer : NSObject /// /// Serializes `DBSHARINGGetSharedLinkMetadataArg` instances. /// /// @param instance An instance of the `DBSHARINGGetSharedLinkMetadataArg` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGGetSharedLinkMetadataArg` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGGetSharedLinkMetadataArg *)instance; /// /// Deserializes `DBSHARINGGetSharedLinkMetadataArg` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGGetSharedLinkMetadataArg` API object. /// /// @return An instantiation of the `DBSHARINGGetSharedLinkMetadataArg` object. /// + (DBSHARINGGetSharedLinkMetadataArg *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGGetSharedLinksArg.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGGetSharedLinksArg; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `GetSharedLinksArg` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGGetSharedLinksArg : NSObject #pragma mark - Instance fields /// See `getSharedLinks` description. @property (nonatomic, readonly, copy, nullable) NSString *path; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param path See `getSharedLinks` description. /// /// @return An initialized instance. /// - (instancetype)initWithPath:(nullable NSString *)path; /// /// 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 `GetSharedLinksArg` struct. /// @interface DBSHARINGGetSharedLinksArgSerializer : NSObject /// /// Serializes `DBSHARINGGetSharedLinksArg` instances. /// /// @param instance An instance of the `DBSHARINGGetSharedLinksArg` API object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGGetSharedLinksArg` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGGetSharedLinksArg *)instance; /// /// Deserializes `DBSHARINGGetSharedLinksArg` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGGetSharedLinksArg` API object. /// /// @return An instantiation of the `DBSHARINGGetSharedLinksArg` object. /// + (DBSHARINGGetSharedLinksArg *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGGetSharedLinksError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGGetSharedLinksError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `GetSharedLinksError` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGGetSharedLinksError : NSObject #pragma mark - Instance fields /// The `DBSHARINGGetSharedLinksErrorTag` enum type represents the possible tag /// states with which the `DBSHARINGGetSharedLinksError` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBSHARINGGetSharedLinksErrorTag){ /// (no description). DBSHARINGGetSharedLinksErrorPath, /// (no description). DBSHARINGGetSharedLinksErrorOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBSHARINGGetSharedLinksErrorTag tag; /// (no description). @note Ensure the `isPath` method returns true before /// accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly, copy, nullable) NSString *path; #pragma mark - Constructors /// /// Initializes union class with tag state of "path". /// /// @param path (no description). /// /// @return An initialized instance. /// - (instancetype)initWithPath:(nullable NSString *)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 `DBSHARINGGetSharedLinksError` union. /// @interface DBSHARINGGetSharedLinksErrorSerializer : NSObject /// /// Serializes `DBSHARINGGetSharedLinksError` instances. /// /// @param instance An instance of the `DBSHARINGGetSharedLinksError` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGGetSharedLinksError` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGGetSharedLinksError *)instance; /// /// Deserializes `DBSHARINGGetSharedLinksError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGGetSharedLinksError` API object. /// /// @return An instantiation of the `DBSHARINGGetSharedLinksError` object. /// + (DBSHARINGGetSharedLinksError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGGetSharedLinksResult.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGGetSharedLinksResult; @class DBSHARINGLinkMetadata; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `GetSharedLinksResult` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGGetSharedLinksResult : NSObject #pragma mark - Instance fields /// Shared links applicable to the path argument. @property (nonatomic, readonly) NSArray *links; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param links Shared links applicable to the path argument. /// /// @return An initialized instance. /// - (instancetype)initWithLinks:(NSArray *)links; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `GetSharedLinksResult` struct. /// @interface DBSHARINGGetSharedLinksResultSerializer : NSObject /// /// Serializes `DBSHARINGGetSharedLinksResult` instances. /// /// @param instance An instance of the `DBSHARINGGetSharedLinksResult` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGGetSharedLinksResult` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGGetSharedLinksResult *)instance; /// /// Deserializes `DBSHARINGGetSharedLinksResult` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGGetSharedLinksResult` API object. /// /// @return An instantiation of the `DBSHARINGGetSharedLinksResult` object. /// + (DBSHARINGGetSharedLinksResult *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGGroupInfo.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" #import "DBTEAMCOMMONGroupSummary.h" @class DBSHARINGGroupInfo; @class DBTEAMCOMMONGroupManagementType; @class DBTEAMCOMMONGroupType; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `GroupInfo` struct. /// /// The information about a group. Groups is a way to manage a list of users /// who need same access permission to 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 DBSHARINGGroupInfo : DBTEAMCOMMONGroupSummary #pragma mark - Instance fields /// The type of group. @property (nonatomic, readonly) DBTEAMCOMMONGroupType *groupType; /// If the current user is a member of the group. @property (nonatomic, readonly) NSNumber *isMember; /// If the current user is an owner of the group. @property (nonatomic, readonly) NSNumber *isOwner; /// If the group is owned by the current user's team. @property (nonatomic, readonly) NSNumber *sameTeam; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param groupName (no description). /// @param groupId (no description). /// @param groupManagementType Who is allowed to manage the group. /// @param groupType The type of group. /// @param isMember If the current user is a member of the group. /// @param isOwner If the current user is an owner of the group. /// @param sameTeam If the group is owned by the current user's team. /// @param groupExternalId External ID of group. This is an arbitrary ID that an /// admin can attach to a group. /// @param memberCount The number of members in the group. /// /// @return An initialized instance. /// - (instancetype)initWithGroupName:(NSString *)groupName groupId:(NSString *)groupId groupManagementType:(DBTEAMCOMMONGroupManagementType *)groupManagementType groupType:(DBTEAMCOMMONGroupType *)groupType isMember:(NSNumber *)isMember isOwner:(NSNumber *)isOwner sameTeam:(NSNumber *)sameTeam groupExternalId:(nullable NSString *)groupExternalId memberCount:(nullable NSNumber *)memberCount; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param groupName (no description). /// @param groupId (no description). /// @param groupManagementType Who is allowed to manage the group. /// @param groupType The type of group. /// @param isMember If the current user is a member of the group. /// @param isOwner If the current user is an owner of the group. /// @param sameTeam If the group is owned by the current user's team. /// /// @return An initialized instance. /// - (instancetype)initWithGroupName:(NSString *)groupName groupId:(NSString *)groupId groupManagementType:(DBTEAMCOMMONGroupManagementType *)groupManagementType groupType:(DBTEAMCOMMONGroupType *)groupType isMember:(NSNumber *)isMember isOwner:(NSNumber *)isOwner sameTeam:(NSNumber *)sameTeam; @end #pragma mark - Serializer Object /// /// The serialization class for the `GroupInfo` struct. /// @interface DBSHARINGGroupInfoSerializer : NSObject /// /// Serializes `DBSHARINGGroupInfo` instances. /// /// @param instance An instance of the `DBSHARINGGroupInfo` API object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGGroupInfo` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGGroupInfo *)instance; /// /// Deserializes `DBSHARINGGroupInfo` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGGroupInfo` API object. /// /// @return An instantiation of the `DBSHARINGGroupInfo` object. /// + (DBSHARINGGroupInfo *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGGroupMembershipInfo.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSHARINGMembershipInfo.h" #import "DBSerializableProtocol.h" @class DBSHARINGAccessLevel; @class DBSHARINGGroupInfo; @class DBSHARINGGroupMembershipInfo; @class DBSHARINGMemberPermission; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `GroupMembershipInfo` struct. /// /// The information about a group member of the shared content. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGGroupMembershipInfo : DBSHARINGMembershipInfo #pragma mark - Instance fields /// The information about the membership group. @property (nonatomic, readonly) DBSHARINGGroupInfo *group; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @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 Never set. /// @param isInherited True if the member has access from a parent folder. /// /// @return An initialized instance. /// - (instancetype)initWithAccessType:(DBSHARINGAccessLevel *)accessType group:(DBSHARINGGroupInfo *)group permissions:(nullable NSArray *)permissions initials:(nullable NSString *)initials isInherited:(nullable NSNumber *)isInherited; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @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. /// - (instancetype)initWithAccessType:(DBSHARINGAccessLevel *)accessType group:(DBSHARINGGroupInfo *)group; @end #pragma mark - Serializer Object /// /// The serialization class for the `GroupMembershipInfo` struct. /// @interface DBSHARINGGroupMembershipInfoSerializer : NSObject /// /// Serializes `DBSHARINGGroupMembershipInfo` instances. /// /// @param instance An instance of the `DBSHARINGGroupMembershipInfo` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGGroupMembershipInfo` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGGroupMembershipInfo *)instance; /// /// Deserializes `DBSHARINGGroupMembershipInfo` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGGroupMembershipInfo` API object. /// /// @return An instantiation of the `DBSHARINGGroupMembershipInfo` object. /// + (DBSHARINGGroupMembershipInfo *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGInsufficientPlan.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGInsufficientPlan; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `InsufficientPlan` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGInsufficientPlan : NSObject #pragma mark - Instance fields /// A message to tell the user to upgrade in order to support expected action. @property (nonatomic, readonly, copy) NSString *message; /// A URL to send the user to in order to obtain the account type they need, /// e.g. upgrading. Absent if there is no action the user can take to upgrade. @property (nonatomic, readonly, copy, nullable) NSString *upsellUrl; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param message A message to tell the user to upgrade in order to support /// expected action. /// @param upsellUrl A URL to send the user to in order to obtain the account /// type they need, e.g. upgrading. Absent if there is no action the user can /// take to upgrade. /// /// @return An initialized instance. /// - (instancetype)initWithMessage:(NSString *)message upsellUrl:(nullable NSString *)upsellUrl; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param message A message to tell the user to upgrade in order to support /// expected action. /// /// @return An initialized instance. /// - (instancetype)initWithMessage:(NSString *)message; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `InsufficientPlan` struct. /// @interface DBSHARINGInsufficientPlanSerializer : NSObject /// /// Serializes `DBSHARINGInsufficientPlan` instances. /// /// @param instance An instance of the `DBSHARINGInsufficientPlan` API object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGInsufficientPlan` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGInsufficientPlan *)instance; /// /// Deserializes `DBSHARINGInsufficientPlan` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGInsufficientPlan` API object. /// /// @return An instantiation of the `DBSHARINGInsufficientPlan` object. /// + (DBSHARINGInsufficientPlan *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGInsufficientQuotaAmounts.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGInsufficientQuotaAmounts; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `InsufficientQuotaAmounts` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGInsufficientQuotaAmounts : NSObject #pragma mark - Instance fields /// The amount of space needed to add the item (the size of the item). @property (nonatomic, readonly) NSNumber *spaceNeeded; /// The amount of extra space needed to add the item. @property (nonatomic, readonly) NSNumber *spaceShortage; /// The amount of space left in the user's Dropbox, less than space_needed. @property (nonatomic, readonly) NSNumber *spaceLeft; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param spaceNeeded The amount of space needed to add the item (the size of /// the item). /// @param spaceShortage The amount of extra space needed to add the item. /// @param spaceLeft The amount of space left in the user's Dropbox, less than /// space_needed. /// /// @return An initialized instance. /// - (instancetype)initWithSpaceNeeded:(NSNumber *)spaceNeeded spaceShortage:(NSNumber *)spaceShortage spaceLeft:(NSNumber *)spaceLeft; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `InsufficientQuotaAmounts` struct. /// @interface DBSHARINGInsufficientQuotaAmountsSerializer : NSObject /// /// Serializes `DBSHARINGInsufficientQuotaAmounts` instances. /// /// @param instance An instance of the `DBSHARINGInsufficientQuotaAmounts` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGInsufficientQuotaAmounts` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGInsufficientQuotaAmounts *)instance; /// /// Deserializes `DBSHARINGInsufficientQuotaAmounts` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGInsufficientQuotaAmounts` API object. /// /// @return An instantiation of the `DBSHARINGInsufficientQuotaAmounts` object. /// + (DBSHARINGInsufficientQuotaAmounts *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGInviteeInfo.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGInviteeInfo; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `InviteeInfo` union. /// /// Information about the recipient of a shared content invitation. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGInviteeInfo : NSObject #pragma mark - Instance fields /// The `DBSHARINGInviteeInfoTag` enum type represents the possible tag states /// with which the `DBSHARINGInviteeInfo` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBSHARINGInviteeInfoTag){ /// Email address of invited user. DBSHARINGInviteeInfoEmail, /// (no description). DBSHARINGInviteeInfoOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBSHARINGInviteeInfoTag tag; /// 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; #pragma mark - Constructors /// /// Initializes union class with tag state of "email". /// /// Description of the "email" tag state: Email address of invited user. /// /// @param email Email address of invited user. /// /// @return An initialized instance. /// - (instancetype)initWithEmail:(NSString *)email; /// /// 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". /// /// @note Call this method and ensure it returns true before accessing the /// `email` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value "email". /// - (BOOL)isEmail; /// /// 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 `DBSHARINGInviteeInfo` union. /// @interface DBSHARINGInviteeInfoSerializer : NSObject /// /// Serializes `DBSHARINGInviteeInfo` instances. /// /// @param instance An instance of the `DBSHARINGInviteeInfo` API object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGInviteeInfo` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGInviteeInfo *)instance; /// /// Deserializes `DBSHARINGInviteeInfo` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGInviteeInfo` API object. /// /// @return An instantiation of the `DBSHARINGInviteeInfo` object. /// + (DBSHARINGInviteeInfo *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGInviteeMembershipInfo.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSHARINGMembershipInfo.h" #import "DBSerializableProtocol.h" @class DBSHARINGAccessLevel; @class DBSHARINGInviteeInfo; @class DBSHARINGInviteeMembershipInfo; @class DBSHARINGMemberPermission; @class DBSHARINGUserInfo; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `InviteeMembershipInfo` struct. /// /// Information about an invited member of a shared content. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGInviteeMembershipInfo : DBSHARINGMembershipInfo #pragma mark - Instance fields /// Recipient of the invitation. @property (nonatomic, readonly) DBSHARINGInviteeInfo *invitee; /// The user this invitation is tied to, if available. @property (nonatomic, readonly, nullable) DBSHARINGUserInfo *user; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @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 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. /// /// @return An initialized instance. /// - (instancetype)initWithAccessType:(DBSHARINGAccessLevel *)accessType invitee:(DBSHARINGInviteeInfo *)invitee permissions:(nullable NSArray *)permissions initials:(nullable NSString *)initials isInherited:(nullable NSNumber *)isInherited user:(nullable DBSHARINGUserInfo *)user; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @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. /// - (instancetype)initWithAccessType:(DBSHARINGAccessLevel *)accessType invitee:(DBSHARINGInviteeInfo *)invitee; @end #pragma mark - Serializer Object /// /// The serialization class for the `InviteeMembershipInfo` struct. /// @interface DBSHARINGInviteeMembershipInfoSerializer : NSObject /// /// Serializes `DBSHARINGInviteeMembershipInfo` instances. /// /// @param instance An instance of the `DBSHARINGInviteeMembershipInfo` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGInviteeMembershipInfo` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGInviteeMembershipInfo *)instance; /// /// Deserializes `DBSHARINGInviteeMembershipInfo` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGInviteeMembershipInfo` API object. /// /// @return An instantiation of the `DBSHARINGInviteeMembershipInfo` object. /// + (DBSHARINGInviteeMembershipInfo *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGJobError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGJobError; @class DBSHARINGRelinquishFolderMembershipError; @class DBSHARINGRemoveFolderMemberError; @class DBSHARINGUnshareFolderError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `JobError` union. /// /// Error occurred while performing an asynchronous job from `unshareFolder` or /// `removeFolderMember`. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGJobError : NSObject #pragma mark - Instance fields /// The `DBSHARINGJobErrorTag` enum type represents the possible tag states with /// which the `DBSHARINGJobError` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBSHARINGJobErrorTag){ /// Error occurred while performing `unshareFolder` action. DBSHARINGJobErrorUnshareFolderError, /// Error occurred while performing `removeFolderMember` action. DBSHARINGJobErrorRemoveFolderMemberError, /// Error occurred while performing `relinquishFolderMembership` action. DBSHARINGJobErrorRelinquishFolderMembershipError, /// (no description). DBSHARINGJobErrorOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBSHARINGJobErrorTag tag; /// Error occurred while performing `unshareFolder` action. @note Ensure the /// `isUnshareFolderError` method returns true before accessing, otherwise a /// runtime exception will be raised. @property (nonatomic, readonly) DBSHARINGUnshareFolderError *unshareFolderError; /// Error occurred while performing `removeFolderMember` action. @note Ensure /// the `isRemoveFolderMemberError` method returns true before accessing, /// otherwise a runtime exception will be raised. @property (nonatomic, readonly) DBSHARINGRemoveFolderMemberError *removeFolderMemberError; /// Error occurred while performing `relinquishFolderMembership` action. @note /// Ensure the `isRelinquishFolderMembershipError` method returns true before /// accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) DBSHARINGRelinquishFolderMembershipError *relinquishFolderMembershipError; #pragma mark - Constructors /// /// Initializes union class with tag state of "unshare_folder_error". /// /// Description of the "unshare_folder_error" tag state: Error occurred while /// performing `unshareFolder` action. /// /// @param unshareFolderError Error occurred while performing `unshareFolder` /// action. /// /// @return An initialized instance. /// - (instancetype)initWithUnshareFolderError:(DBSHARINGUnshareFolderError *)unshareFolderError; /// /// Initializes union class with tag state of "remove_folder_member_error". /// /// Description of the "remove_folder_member_error" tag state: Error occurred /// while performing `removeFolderMember` action. /// /// @param removeFolderMemberError Error occurred while performing /// `removeFolderMember` action. /// /// @return An initialized instance. /// - (instancetype)initWithRemoveFolderMemberError:(DBSHARINGRemoveFolderMemberError *)removeFolderMemberError; /// /// Initializes union class with tag state of /// "relinquish_folder_membership_error". /// /// Description of the "relinquish_folder_membership_error" tag state: Error /// occurred while performing `relinquishFolderMembership` action. /// /// @param relinquishFolderMembershipError Error occurred while performing /// `relinquishFolderMembership` action. /// /// @return An initialized instance. /// - (instancetype)initWithRelinquishFolderMembershipError: (DBSHARINGRelinquishFolderMembershipError *)relinquishFolderMembershipError; /// /// 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 /// "unshare_folder_error". /// /// @note Call this method and ensure it returns true before accessing the /// `unshareFolderError` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value /// "unshare_folder_error". /// - (BOOL)isUnshareFolderError; /// /// Retrieves whether the union's current tag state has value /// "remove_folder_member_error". /// /// @note Call this method and ensure it returns true before accessing the /// `removeFolderMemberError` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "remove_folder_member_error". /// - (BOOL)isRemoveFolderMemberError; /// /// Retrieves whether the union's current tag state has value /// "relinquish_folder_membership_error". /// /// @note Call this method and ensure it returns true before accessing the /// `relinquishFolderMembershipError` property, otherwise a runtime exception /// will be thrown. /// /// @return Whether the union's current tag state has value /// "relinquish_folder_membership_error". /// - (BOOL)isRelinquishFolderMembershipError; /// /// 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 `DBSHARINGJobError` union. /// @interface DBSHARINGJobErrorSerializer : NSObject /// /// Serializes `DBSHARINGJobError` instances. /// /// @param instance An instance of the `DBSHARINGJobError` API object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGJobError` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGJobError *)instance; /// /// Deserializes `DBSHARINGJobError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGJobError` API object. /// /// @return An instantiation of the `DBSHARINGJobError` object. /// + (DBSHARINGJobError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGJobStatus.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGJobError; @class DBSHARINGJobStatus; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `JobStatus` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGJobStatus : NSObject #pragma mark - Instance fields /// The `DBSHARINGJobStatusTag` enum type represents the possible tag states /// with which the `DBSHARINGJobStatus` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBSHARINGJobStatusTag){ /// The asynchronous job is still in progress. DBSHARINGJobStatusInProgress, /// The asynchronous job has finished. DBSHARINGJobStatusComplete, /// The asynchronous job returned an error. DBSHARINGJobStatusFailed, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBSHARINGJobStatusTag tag; /// The asynchronous job returned an error. @note Ensure the `isFailed` method /// returns true before accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) DBSHARINGJobError *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. /// /// @return An initialized instance. /// - (instancetype)initWithComplete; /// /// Initializes union class with tag state of "failed". /// /// Description of the "failed" tag state: The asynchronous job returned an /// error. /// /// @param failed The asynchronous job returned an error. /// /// @return An initialized instance. /// - (instancetype)initWithFailed:(DBSHARINGJobError *)failed; - (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". /// /// @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 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 `DBSHARINGJobStatus` union. /// @interface DBSHARINGJobStatusSerializer : NSObject /// /// Serializes `DBSHARINGJobStatus` instances. /// /// @param instance An instance of the `DBSHARINGJobStatus` API object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGJobStatus` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGJobStatus *)instance; /// /// Deserializes `DBSHARINGJobStatus` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGJobStatus` API object. /// /// @return An instantiation of the `DBSHARINGJobStatus` object. /// + (DBSHARINGJobStatus *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGLinkAccessLevel.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGLinkAction.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGLinkAction; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `LinkAction` union. /// /// Actions that can be performed on 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 DBSHARINGLinkAction : NSObject #pragma mark - Instance fields /// The `DBSHARINGLinkActionTag` enum type represents the possible tag states /// with which the `DBSHARINGLinkAction` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBSHARINGLinkActionTag){ /// Change the access level of the link. DBSHARINGLinkActionChangeAccessLevel, /// Change the audience of the link. DBSHARINGLinkActionChangeAudience, /// Remove the expiry date of the link. DBSHARINGLinkActionRemoveExpiry, /// Remove the password of the link. DBSHARINGLinkActionRemovePassword, /// Create or modify the expiry date of the link. DBSHARINGLinkActionSetExpiry, /// Create or modify the password of the link. DBSHARINGLinkActionSetPassword, /// (no description). DBSHARINGLinkActionOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBSHARINGLinkActionTag tag; #pragma mark - Constructors /// /// Initializes union class with tag state of "change_access_level". /// /// Description of the "change_access_level" tag state: Change the access level /// of the link. /// /// @return An initialized instance. /// - (instancetype)initWithChangeAccessLevel; /// /// Initializes union class with tag state of "change_audience". /// /// Description of the "change_audience" tag state: Change the audience of the /// link. /// /// @return An initialized instance. /// - (instancetype)initWithChangeAudience; /// /// Initializes union class with tag state of "remove_expiry". /// /// Description of the "remove_expiry" tag state: Remove the expiry date of the /// link. /// /// @return An initialized instance. /// - (instancetype)initWithRemoveExpiry; /// /// Initializes union class with tag state of "remove_password". /// /// Description of the "remove_password" tag state: Remove the password of the /// link. /// /// @return An initialized instance. /// - (instancetype)initWithRemovePassword; /// /// Initializes union class with tag state of "set_expiry". /// /// Description of the "set_expiry" tag state: Create or modify the expiry date /// of the link. /// /// @return An initialized instance. /// - (instancetype)initWithSetExpiry; /// /// Initializes union class with tag state of "set_password". /// /// Description of the "set_password" tag state: Create or modify the password /// of the link. /// /// @return An initialized instance. /// - (instancetype)initWithSetPassword; /// /// 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 /// "change_access_level". /// /// @return Whether the union's current tag state has value /// "change_access_level". /// - (BOOL)isChangeAccessLevel; /// /// Retrieves whether the union's current tag state has value "change_audience". /// /// @return Whether the union's current tag state has value "change_audience". /// - (BOOL)isChangeAudience; /// /// Retrieves whether the union's current tag state has value "remove_expiry". /// /// @return Whether the union's current tag state has value "remove_expiry". /// - (BOOL)isRemoveExpiry; /// /// Retrieves whether the union's current tag state has value "remove_password". /// /// @return Whether the union's current tag state has value "remove_password". /// - (BOOL)isRemovePassword; /// /// Retrieves whether the union's current tag state has value "set_expiry". /// /// @return Whether the union's current tag state has value "set_expiry". /// - (BOOL)isSetExpiry; /// /// Retrieves whether the union's current tag state has value "set_password". /// /// @return Whether the union's current tag state has value "set_password". /// - (BOOL)isSetPassword; /// /// 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 `DBSHARINGLinkAction` union. /// @interface DBSHARINGLinkActionSerializer : NSObject /// /// Serializes `DBSHARINGLinkAction` instances. /// /// @param instance An instance of the `DBSHARINGLinkAction` API object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGLinkAction` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGLinkAction *)instance; /// /// Deserializes `DBSHARINGLinkAction` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGLinkAction` API object. /// /// @return An instantiation of the `DBSHARINGLinkAction` object. /// + (DBSHARINGLinkAction *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGLinkAudience.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGLinkAudience; 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 DBSHARINGLinkAudience : NSObject #pragma mark - Instance fields /// The `DBSHARINGLinkAudienceTag` enum type represents the possible tag states /// with which the `DBSHARINGLinkAudience` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBSHARINGLinkAudienceTag){ /// Link is accessible by anyone. DBSHARINGLinkAudiencePublic, /// Link is accessible only by team members. DBSHARINGLinkAudienceTeam, /// 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, /// 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, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBSHARINGLinkAudienceTag tag; #pragma mark - Constructors /// /// Initializes union class with tag state of "public". /// /// Description of the "public" tag state: Link is accessible by anyone. /// /// @return An initialized instance. /// - (instancetype)initWithPublic; /// /// Initializes union class with tag state of "team". /// /// Description of the "team" tag state: Link is accessible only by team /// members. /// /// @return An initialized instance. /// - (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". /// /// Description of the "members" tag state: Link is accessible only by members /// of the content. /// /// @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 "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". /// /// @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 `DBSHARINGLinkAudience` union. /// @interface DBSHARINGLinkAudienceSerializer : NSObject /// /// Serializes `DBSHARINGLinkAudience` instances. /// /// @param instance An instance of the `DBSHARINGLinkAudience` API object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGLinkAudience` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGLinkAudience *)instance; /// /// Deserializes `DBSHARINGLinkAudience` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGLinkAudience` API object. /// /// @return An instantiation of the `DBSHARINGLinkAudience` object. /// + (DBSHARINGLinkAudience *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGLinkAudienceDisallowedReason.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGLinkAudienceOption.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGLinkExpiry.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGLinkExpiry; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `LinkExpiry` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGLinkExpiry : NSObject #pragma mark - Instance fields /// The `DBSHARINGLinkExpiryTag` enum type represents the possible tag states /// with which the `DBSHARINGLinkExpiry` union can exist. 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, /// (no description). DBSHARINGLinkExpiryOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBSHARINGLinkExpiryTag tag; /// Set a new expiry or change an existing expiry. @note Ensure the /// `isSetExpiry` method returns true before accessing, otherwise a runtime /// exception will be raised. @property (nonatomic, readonly) NSDate *setExpiry; #pragma mark - Constructors /// /// Initializes union class with tag state of "remove_expiry". /// /// Description of the "remove_expiry" tag state: Remove the currently set /// expiry for the link. /// /// @return An initialized instance. /// - (instancetype)initWithRemoveExpiry; /// /// Initializes union class with tag state of "set_expiry". /// /// Description of the "set_expiry" tag state: Set a new expiry or change an /// existing expiry. /// /// @param setExpiry Set a new expiry or change an existing expiry. /// /// @return An initialized instance. /// - (instancetype)initWithSetExpiry:(NSDate *)setExpiry; /// /// 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_expiry". /// /// @return Whether the union's current tag state has value "remove_expiry". /// - (BOOL)isRemoveExpiry; /// /// Retrieves whether the union's current tag state has value "set_expiry". /// /// @note Call this method and ensure it returns true before accessing the /// `setExpiry` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value "set_expiry". /// - (BOOL)isSetExpiry; /// /// 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 `DBSHARINGLinkExpiry` union. /// @interface DBSHARINGLinkExpirySerializer : NSObject /// /// Serializes `DBSHARINGLinkExpiry` instances. /// /// @param instance An instance of the `DBSHARINGLinkExpiry` API object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGLinkExpiry` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGLinkExpiry *)instance; /// /// Deserializes `DBSHARINGLinkExpiry` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGLinkExpiry` API object. /// /// @return An instantiation of the `DBSHARINGLinkExpiry` object. /// + (DBSHARINGLinkExpiry *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGLinkMetadata.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGLinkMetadata; @class DBSHARINGVisibility; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `LinkMetadata` struct. /// /// Metadata for a shared link. This can be either a PathLinkMetadata or /// CollectionLinkMetadata. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGLinkMetadata : NSObject #pragma mark - Instance fields /// URL of the shared link. @property (nonatomic, readonly, copy) NSString *url; /// Who can access the link. @property (nonatomic, readonly) DBSHARINGVisibility *visibility; /// Expiration time, if set. By default the link won't expire. @property (nonatomic, readonly, nullable) NSDate *expires; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param url URL of the shared link. /// @param visibility Who can access the link. /// @param expires Expiration time, if set. By default the link won't expire. /// /// @return An initialized instance. /// - (instancetype)initWithUrl:(NSString *)url visibility:(DBSHARINGVisibility *)visibility expires:(nullable NSDate *)expires; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param url URL of the shared link. /// @param visibility Who can access the link. /// /// @return An initialized instance. /// - (instancetype)initWithUrl:(NSString *)url visibility:(DBSHARINGVisibility *)visibility; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `LinkMetadata` struct. /// @interface DBSHARINGLinkMetadataSerializer : NSObject /// /// Serializes `DBSHARINGLinkMetadata` instances. /// /// @param instance An instance of the `DBSHARINGLinkMetadata` API object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGLinkMetadata` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGLinkMetadata *)instance; /// /// Deserializes `DBSHARINGLinkMetadata` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGLinkMetadata` API object. /// /// @return An instantiation of the `DBSHARINGLinkMetadata` object. /// + (DBSHARINGLinkMetadata *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGLinkPassword.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGLinkPassword; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `LinkPassword` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGLinkPassword : NSObject #pragma mark - Instance fields /// The `DBSHARINGLinkPasswordTag` enum type represents the possible tag states /// with which the `DBSHARINGLinkPassword` union can exist. 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, /// (no description). DBSHARINGLinkPasswordOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBSHARINGLinkPasswordTag tag; /// Set a new password or change an existing password. @note Ensure the /// `isSetPassword` method returns true before accessing, otherwise a runtime /// exception will be raised. @property (nonatomic, readonly, copy) NSString *setPassword; #pragma mark - Constructors /// /// Initializes union class with tag state of "remove_password". /// /// Description of the "remove_password" tag state: Remove the currently set /// password for the link. /// /// @return An initialized instance. /// - (instancetype)initWithRemovePassword; /// /// Initializes union class with tag state of "set_password". /// /// Description of the "set_password" tag state: Set a new password or change an /// existing password. /// /// @param setPassword Set a new password or change an existing password. /// /// @return An initialized instance. /// - (instancetype)initWithSetPassword:(NSString *)setPassword; /// /// 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_password". /// /// @return Whether the union's current tag state has value "remove_password". /// - (BOOL)isRemovePassword; /// /// Retrieves whether the union's current tag state has value "set_password". /// /// @note Call this method and ensure it returns true before accessing the /// `setPassword` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value "set_password". /// - (BOOL)isSetPassword; /// /// 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 `DBSHARINGLinkPassword` union. /// @interface DBSHARINGLinkPasswordSerializer : NSObject /// /// Serializes `DBSHARINGLinkPassword` instances. /// /// @param instance An instance of the `DBSHARINGLinkPassword` API object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGLinkPassword` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGLinkPassword *)instance; /// /// Deserializes `DBSHARINGLinkPassword` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGLinkPassword` API object. /// /// @return An instantiation of the `DBSHARINGLinkPassword` object. /// + (DBSHARINGLinkPassword *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGLinkPermission.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGLinkAction; @class DBSHARINGLinkPermission; @class DBSHARINGPermissionDeniedReason; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `LinkPermission` struct. /// /// Permissions for actions that can be performed on 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 DBSHARINGLinkPermission : NSObject #pragma mark - Instance fields /// (no description). @property (nonatomic, readonly) DBSHARINGLinkAction *action; /// (no description). @property (nonatomic, readonly) NSNumber *allow; /// (no description). @property (nonatomic, readonly, nullable) DBSHARINGPermissionDeniedReason *reason; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param action (no description). /// @param allow (no description). /// @param reason (no description). /// /// @return An initialized instance. /// - (instancetype)initWithAction:(DBSHARINGLinkAction *)action allow:(NSNumber *)allow reason:(nullable DBSHARINGPermissionDeniedReason *)reason; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param action (no description). /// @param allow (no description). /// /// @return An initialized instance. /// - (instancetype)initWithAction:(DBSHARINGLinkAction *)action allow:(NSNumber *)allow; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `LinkPermission` struct. /// @interface DBSHARINGLinkPermissionSerializer : NSObject /// /// Serializes `DBSHARINGLinkPermission` instances. /// /// @param instance An instance of the `DBSHARINGLinkPermission` API object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGLinkPermission` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGLinkPermission *)instance; /// /// Deserializes `DBSHARINGLinkPermission` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGLinkPermission` API object. /// /// @return An instantiation of the `DBSHARINGLinkPermission` object. /// + (DBSHARINGLinkPermission *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGLinkPermissions.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGLinkAccessLevel; @class DBSHARINGLinkAudience; @class DBSHARINGLinkAudienceOption; @class DBSHARINGLinkPermissions; @class DBSHARINGRequestedVisibility; @class DBSHARINGResolvedVisibility; @class DBSHARINGSharedLinkAccessFailureReason; @class DBSHARINGVisibilityPolicy; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `LinkPermissions` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGLinkPermissions : NSObject #pragma mark - Instance fields /// 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). 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 and resolved_visibility is returned instead of /// effective_audience. @property (nonatomic, readonly, nullable) DBSHARINGRequestedVisibility *requestedVisibility; /// Whether the caller can revoke the shared link. @property (nonatomic, readonly) NSNumber *canRevoke; /// The failure reason for revoking the link. This field will only be present if /// 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). 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 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 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 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; @end #pragma mark - Serializer Object /// /// The serialization class for the `LinkPermissions` struct. /// @interface DBSHARINGLinkPermissionsSerializer : NSObject /// /// Serializes `DBSHARINGLinkPermissions` instances. /// /// @param instance An instance of the `DBSHARINGLinkPermissions` API object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGLinkPermissions` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGLinkPermissions *)instance; /// /// Deserializes `DBSHARINGLinkPermissions` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGLinkPermissions` API object. /// /// @return An instantiation of the `DBSHARINGLinkPermissions` object. /// + (DBSHARINGLinkPermissions *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGLinkSettings.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGAccessLevel; @class DBSHARINGLinkAudience; @class DBSHARINGLinkExpiry; @class DBSHARINGLinkPassword; @class DBSHARINGLinkSettings; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `LinkSettings` struct. /// /// Settings that apply 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 DBSHARINGLinkSettings : NSObject #pragma mark - Instance fields /// The access level on the link for this file. Currently, it only accepts /// 'viewer' and 'viewer_no_comment'. @property (nonatomic, readonly, nullable) DBSHARINGAccessLevel *accessLevel; /// The type of audience on the link for this file. @property (nonatomic, readonly, nullable) DBSHARINGLinkAudience *audience; /// An expiry timestamp to set on a link. @property (nonatomic, readonly, nullable) DBSHARINGLinkExpiry *expiry; /// The password for the link. @property (nonatomic, readonly, nullable) DBSHARINGLinkPassword *password; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param accessLevel The access level on the link for this file. Currently, it /// only accepts 'viewer' and 'viewer_no_comment'. /// @param audience The type of audience on the link for this file. /// @param expiry An expiry timestamp to set on a link. /// @param password The password for the link. /// /// @return An initialized instance. /// - (instancetype)initWithAccessLevel:(nullable DBSHARINGAccessLevel *)accessLevel audience:(nullable DBSHARINGLinkAudience *)audience expiry:(nullable DBSHARINGLinkExpiry *)expiry password:(nullable DBSHARINGLinkPassword *)password; /// /// 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 `LinkSettings` struct. /// @interface DBSHARINGLinkSettingsSerializer : NSObject /// /// Serializes `DBSHARINGLinkSettings` instances. /// /// @param instance An instance of the `DBSHARINGLinkSettings` API object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGLinkSettings` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGLinkSettings *)instance; /// /// Deserializes `DBSHARINGLinkSettings` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGLinkSettings` API object. /// /// @return An instantiation of the `DBSHARINGLinkSettings` object. /// + (DBSHARINGLinkSettings *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGListFileMembersArg.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGListFileMembersArg; @class DBSHARINGMemberAction; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `ListFileMembersArg` struct. /// /// Arguments for `listFileMembers`. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGListFileMembersArg : NSObject #pragma mark - Instance fields /// The file for which you want to see members. @property (nonatomic, readonly, copy) NSString *file; /// The actions for which to return permissions on a member. @property (nonatomic, readonly, nullable) NSArray *actions; /// Whether to include members who only have access from a parent shared folder. @property (nonatomic, readonly) NSNumber *includeInherited; /// Number of members to return max per query. Defaults to 100 if no limit is /// specified. @property (nonatomic, readonly) NSNumber *limit; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param file The file for which you want to see members. /// @param actions The actions for which to return permissions on a member. /// @param includeInherited Whether to include members who only have access from /// a parent shared folder. /// @param limit Number of members to return max per query. Defaults to 100 if /// no limit is specified. /// /// @return An initialized instance. /// - (instancetype)initWithFile:(NSString *)file actions:(nullable NSArray *)actions includeInherited:(nullable NSNumber *)includeInherited limit:(nullable NSNumber *)limit; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param file The file for which you want to see members. /// /// @return An initialized instance. /// - (instancetype)initWithFile:(NSString *)file; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `ListFileMembersArg` struct. /// @interface DBSHARINGListFileMembersArgSerializer : NSObject /// /// Serializes `DBSHARINGListFileMembersArg` instances. /// /// @param instance An instance of the `DBSHARINGListFileMembersArg` API object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGListFileMembersArg` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGListFileMembersArg *)instance; /// /// Deserializes `DBSHARINGListFileMembersArg` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGListFileMembersArg` API object. /// /// @return An instantiation of the `DBSHARINGListFileMembersArg` object. /// + (DBSHARINGListFileMembersArg *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGListFileMembersBatchArg.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGListFileMembersBatchArg; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `ListFileMembersBatchArg` struct. /// /// Arguments for `listFileMembersBatch`. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGListFileMembersBatchArg : NSObject #pragma mark - Instance fields /// Files for which to return members. @property (nonatomic, readonly) NSArray *files; /// Number of members to return max per query. Defaults to 10 if no limit is /// specified. @property (nonatomic, readonly) NSNumber *limit; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param files Files for which to return members. /// @param limit Number of members to return max per query. Defaults to 10 if no /// limit is specified. /// /// @return An initialized instance. /// - (instancetype)initWithFiles:(NSArray *)files limit:(nullable NSNumber *)limit; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param files Files for which to return members. /// /// @return An initialized instance. /// - (instancetype)initWithFiles:(NSArray *)files; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `ListFileMembersBatchArg` struct. /// @interface DBSHARINGListFileMembersBatchArgSerializer : NSObject /// /// Serializes `DBSHARINGListFileMembersBatchArg` instances. /// /// @param instance An instance of the `DBSHARINGListFileMembersBatchArg` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGListFileMembersBatchArg` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGListFileMembersBatchArg *)instance; /// /// Deserializes `DBSHARINGListFileMembersBatchArg` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGListFileMembersBatchArg` API object. /// /// @return An instantiation of the `DBSHARINGListFileMembersBatchArg` object. /// + (DBSHARINGListFileMembersBatchArg *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGListFileMembersBatchResult.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGListFileMembersBatchResult; @class DBSHARINGListFileMembersIndividualResult; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `ListFileMembersBatchResult` struct. /// /// Per-file result for `listFileMembersBatch`. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGListFileMembersBatchResult : NSObject #pragma mark - Instance fields /// This is the input file identifier, whether an ID or a path. @property (nonatomic, readonly, copy) NSString *file; /// The result for this particular file. @property (nonatomic, readonly) DBSHARINGListFileMembersIndividualResult *result; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param file This is the input file identifier, whether an ID or a path. /// @param result The result for this particular file. /// /// @return An initialized instance. /// - (instancetype)initWithFile:(NSString *)file result:(DBSHARINGListFileMembersIndividualResult *)result; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `ListFileMembersBatchResult` struct. /// @interface DBSHARINGListFileMembersBatchResultSerializer : NSObject /// /// Serializes `DBSHARINGListFileMembersBatchResult` instances. /// /// @param instance An instance of the `DBSHARINGListFileMembersBatchResult` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGListFileMembersBatchResult` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGListFileMembersBatchResult *)instance; /// /// Deserializes `DBSHARINGListFileMembersBatchResult` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGListFileMembersBatchResult` API object. /// /// @return An instantiation of the `DBSHARINGListFileMembersBatchResult` /// object. /// + (DBSHARINGListFileMembersBatchResult *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGListFileMembersContinueArg.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGListFileMembersContinueArg; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `ListFileMembersContinueArg` struct. /// /// Arguments for `listFileMembersContinue`. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGListFileMembersContinueArg : NSObject #pragma mark - Instance fields /// The cursor returned by your last call to `listFileMembers`, /// `listFileMembersContinue`, or `listFileMembersBatch`. @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 `listFileMembers`, /// `listFileMembersContinue`, or `listFileMembersBatch`. /// /// @return An initialized instance. /// - (instancetype)initWithCursor:(NSString *)cursor; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `ListFileMembersContinueArg` struct. /// @interface DBSHARINGListFileMembersContinueArgSerializer : NSObject /// /// Serializes `DBSHARINGListFileMembersContinueArg` instances. /// /// @param instance An instance of the `DBSHARINGListFileMembersContinueArg` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGListFileMembersContinueArg` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGListFileMembersContinueArg *)instance; /// /// Deserializes `DBSHARINGListFileMembersContinueArg` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGListFileMembersContinueArg` API object. /// /// @return An instantiation of the `DBSHARINGListFileMembersContinueArg` /// object. /// + (DBSHARINGListFileMembersContinueArg *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGListFileMembersContinueError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGListFileMembersContinueError; @class DBSHARINGSharingFileAccessError; @class DBSHARINGSharingUserError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `ListFileMembersContinueError` union. /// /// Error for `listFileMembersContinue`. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGListFileMembersContinueError : NSObject #pragma mark - Instance fields /// The `DBSHARINGListFileMembersContinueErrorTag` enum type represents the /// possible tag states with which the `DBSHARINGListFileMembersContinueError` /// union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBSHARINGListFileMembersContinueErrorTag){ /// (no description). DBSHARINGListFileMembersContinueErrorUserError, /// (no description). DBSHARINGListFileMembersContinueErrorAccessError, /// `cursor` in `DBSHARINGListFileMembersContinueArg` is invalid. DBSHARINGListFileMembersContinueErrorInvalidCursor, /// (no description). DBSHARINGListFileMembersContinueErrorOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBSHARINGListFileMembersContinueErrorTag tag; /// (no description). @note Ensure the `isUserError` method returns true before /// accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) DBSHARINGSharingUserError *userError; /// (no description). @note Ensure the `isAccessError` method returns true /// before accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) DBSHARINGSharingFileAccessError *accessError; #pragma mark - Constructors /// /// Initializes union class with tag state of "user_error". /// /// @param userError (no description). /// /// @return An initialized instance. /// - (instancetype)initWithUserError:(DBSHARINGSharingUserError *)userError; /// /// Initializes union class with tag state of "access_error". /// /// @param accessError (no description). /// /// @return An initialized instance. /// - (instancetype)initWithAccessError:(DBSHARINGSharingFileAccessError *)accessError; /// /// Initializes union class with tag state of "invalid_cursor". /// /// Description of the "invalid_cursor" tag state: `cursor` in /// `DBSHARINGListFileMembersContinueArg` is invalid. /// /// @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 "user_error". /// /// @note Call this method and ensure it returns true before accessing the /// `userError` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value "user_error". /// - (BOOL)isUserError; /// /// 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 "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 `DBSHARINGListFileMembersContinueError` /// union. /// @interface DBSHARINGListFileMembersContinueErrorSerializer : NSObject /// /// Serializes `DBSHARINGListFileMembersContinueError` instances. /// /// @param instance An instance of the `DBSHARINGListFileMembersContinueError` /// API object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGListFileMembersContinueError` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGListFileMembersContinueError *)instance; /// /// Deserializes `DBSHARINGListFileMembersContinueError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGListFileMembersContinueError` API object. /// /// @return An instantiation of the `DBSHARINGListFileMembersContinueError` /// object. /// + (DBSHARINGListFileMembersContinueError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGListFileMembersCountResult.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGListFileMembersCountResult; @class DBSHARINGSharedFileMembers; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `ListFileMembersCountResult` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGListFileMembersCountResult : NSObject #pragma mark - Instance fields /// A list of members on this file. @property (nonatomic, readonly) DBSHARINGSharedFileMembers *members; /// The number of members on this file. This does not include inherited members. @property (nonatomic, readonly) NSNumber *memberCount; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param members A list of members on this file. /// @param memberCount The number of members on this file. This does not include /// inherited members. /// /// @return An initialized instance. /// - (instancetype)initWithMembers:(DBSHARINGSharedFileMembers *)members memberCount:(NSNumber *)memberCount; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `ListFileMembersCountResult` struct. /// @interface DBSHARINGListFileMembersCountResultSerializer : NSObject /// /// Serializes `DBSHARINGListFileMembersCountResult` instances. /// /// @param instance An instance of the `DBSHARINGListFileMembersCountResult` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGListFileMembersCountResult` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGListFileMembersCountResult *)instance; /// /// Deserializes `DBSHARINGListFileMembersCountResult` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGListFileMembersCountResult` API object. /// /// @return An instantiation of the `DBSHARINGListFileMembersCountResult` /// object. /// + (DBSHARINGListFileMembersCountResult *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGListFileMembersError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGListFileMembersError; @class DBSHARINGSharingFileAccessError; @class DBSHARINGSharingUserError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `ListFileMembersError` union. /// /// Error for `listFileMembers`. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGListFileMembersError : NSObject #pragma mark - Instance fields /// The `DBSHARINGListFileMembersErrorTag` enum type represents the possible tag /// states with which the `DBSHARINGListFileMembersError` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBSHARINGListFileMembersErrorTag){ /// (no description). DBSHARINGListFileMembersErrorUserError, /// (no description). DBSHARINGListFileMembersErrorAccessError, /// (no description). DBSHARINGListFileMembersErrorOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBSHARINGListFileMembersErrorTag tag; /// (no description). @note Ensure the `isUserError` method returns true before /// accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) DBSHARINGSharingUserError *userError; /// (no description). @note Ensure the `isAccessError` method returns true /// before accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) DBSHARINGSharingFileAccessError *accessError; #pragma mark - Constructors /// /// Initializes union class with tag state of "user_error". /// /// @param userError (no description). /// /// @return An initialized instance. /// - (instancetype)initWithUserError:(DBSHARINGSharingUserError *)userError; /// /// Initializes union class with tag state of "access_error". /// /// @param accessError (no description). /// /// @return An initialized instance. /// - (instancetype)initWithAccessError:(DBSHARINGSharingFileAccessError *)accessError; /// /// 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_error". /// /// @note Call this method and ensure it returns true before accessing the /// `userError` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value "user_error". /// - (BOOL)isUserError; /// /// 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 "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 `DBSHARINGListFileMembersError` union. /// @interface DBSHARINGListFileMembersErrorSerializer : NSObject /// /// Serializes `DBSHARINGListFileMembersError` instances. /// /// @param instance An instance of the `DBSHARINGListFileMembersError` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGListFileMembersError` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGListFileMembersError *)instance; /// /// Deserializes `DBSHARINGListFileMembersError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGListFileMembersError` API object. /// /// @return An instantiation of the `DBSHARINGListFileMembersError` object. /// + (DBSHARINGListFileMembersError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGListFileMembersIndividualResult.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGListFileMembersCountResult; @class DBSHARINGListFileMembersIndividualResult; @class DBSHARINGSharingFileAccessError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `ListFileMembersIndividualResult` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGListFileMembersIndividualResult : NSObject #pragma mark - Instance fields /// The `DBSHARINGListFileMembersIndividualResultTag` enum type represents the /// possible tag states with which the /// `DBSHARINGListFileMembersIndividualResult` union can exist. 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, /// (no description). DBSHARINGListFileMembersIndividualResultOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBSHARINGListFileMembersIndividualResultTag tag; /// The results of the query for this file if it was successful. @note Ensure /// the `isResult` method returns true before accessing, otherwise a runtime /// exception will be raised. @property (nonatomic, readonly) DBSHARINGListFileMembersCountResult *result; /// The result of the query for this file if it was an error. @note Ensure the /// `isAccessError` method returns true before accessing, otherwise a runtime /// exception will be raised. @property (nonatomic, readonly) DBSHARINGSharingFileAccessError *accessError; #pragma mark - Constructors /// /// Initializes union class with tag state of "result". /// /// Description of the "result" tag state: The results of the query for this /// file if it was successful. /// /// @param result The results of the query for this file if it was successful. /// /// @return An initialized instance. /// - (instancetype)initWithResult:(DBSHARINGListFileMembersCountResult *)result; /// /// Initializes union class with tag state of "access_error". /// /// Description of the "access_error" tag state: The result of the query for /// this file if it was an error. /// /// @param accessError The result of the query for this file if it was an error. /// /// @return An initialized instance. /// - (instancetype)initWithAccessError:(DBSHARINGSharingFileAccessError *)accessError; /// /// 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 "result". /// /// @note Call this method and ensure it returns true before accessing the /// `result` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value "result". /// - (BOOL)isResult; /// /// 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 "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 `DBSHARINGListFileMembersIndividualResult` /// union. /// @interface DBSHARINGListFileMembersIndividualResultSerializer : NSObject /// /// Serializes `DBSHARINGListFileMembersIndividualResult` instances. /// /// @param instance An instance of the /// `DBSHARINGListFileMembersIndividualResult` API object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGListFileMembersIndividualResult` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGListFileMembersIndividualResult *)instance; /// /// Deserializes `DBSHARINGListFileMembersIndividualResult` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGListFileMembersIndividualResult` API object. /// /// @return An instantiation of the `DBSHARINGListFileMembersIndividualResult` /// object. /// + (DBSHARINGListFileMembersIndividualResult *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGListFilesArg.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGFileAction; @class DBSHARINGListFilesArg; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `ListFilesArg` struct. /// /// Arguments for `listReceivedFiles`. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGListFilesArg : NSObject #pragma mark - Instance fields /// Number of files to return max per query. Defaults to 100 if no limit is /// specified. @property (nonatomic, readonly) NSNumber *limit; /// A list of `FileAction`s corresponding to `FilePermission`s that should /// appear in the response's `permissions` in `DBSHARINGSharedFileMetadata` /// field describing the actions the authenticated user can perform on the /// file. @property (nonatomic, readonly, nullable) NSArray *actions; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param limit Number of files to return max per query. Defaults to 100 if no /// limit is specified. /// @param actions A list of `FileAction`s corresponding to `FilePermission`s /// that should appear in the response's `permissions` in /// `DBSHARINGSharedFileMetadata` field describing the actions the /// authenticated user can perform on the file. /// /// @return An initialized instance. /// - (instancetype)initWithLimit:(nullable NSNumber *)limit actions:(nullable NSArray *)actions; /// /// 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 `ListFilesArg` struct. /// @interface DBSHARINGListFilesArgSerializer : NSObject /// /// Serializes `DBSHARINGListFilesArg` instances. /// /// @param instance An instance of the `DBSHARINGListFilesArg` API object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGListFilesArg` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGListFilesArg *)instance; /// /// Deserializes `DBSHARINGListFilesArg` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGListFilesArg` API object. /// /// @return An instantiation of the `DBSHARINGListFilesArg` object. /// + (DBSHARINGListFilesArg *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGListFilesContinueArg.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGListFilesContinueArg; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `ListFilesContinueArg` struct. /// /// Arguments for `listReceivedFilesContinue`. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGListFilesContinueArg : NSObject #pragma mark - Instance fields /// Cursor in `cursor` in `DBSHARINGListFilesResult`. @property (nonatomic, readonly, copy) NSString *cursor; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param cursor Cursor in `cursor` in `DBSHARINGListFilesResult`. /// /// @return An initialized instance. /// - (instancetype)initWithCursor:(NSString *)cursor; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `ListFilesContinueArg` struct. /// @interface DBSHARINGListFilesContinueArgSerializer : NSObject /// /// Serializes `DBSHARINGListFilesContinueArg` instances. /// /// @param instance An instance of the `DBSHARINGListFilesContinueArg` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGListFilesContinueArg` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGListFilesContinueArg *)instance; /// /// Deserializes `DBSHARINGListFilesContinueArg` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGListFilesContinueArg` API object. /// /// @return An instantiation of the `DBSHARINGListFilesContinueArg` object. /// + (DBSHARINGListFilesContinueArg *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGListFilesContinueError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGListFilesContinueError; @class DBSHARINGSharingUserError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `ListFilesContinueError` union. /// /// Error results for `listReceivedFilesContinue`. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGListFilesContinueError : NSObject #pragma mark - Instance fields /// The `DBSHARINGListFilesContinueErrorTag` enum type represents the possible /// tag states with which the `DBSHARINGListFilesContinueError` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBSHARINGListFilesContinueErrorTag){ /// User account had a problem. DBSHARINGListFilesContinueErrorUserError, /// `cursor` in `DBSHARINGListFilesContinueArg` is invalid. DBSHARINGListFilesContinueErrorInvalidCursor, /// (no description). DBSHARINGListFilesContinueErrorOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBSHARINGListFilesContinueErrorTag tag; /// User account had a problem. @note Ensure the `isUserError` method returns /// true before accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) DBSHARINGSharingUserError *userError; #pragma mark - Constructors /// /// Initializes union class with tag state of "user_error". /// /// Description of the "user_error" tag state: User account had a problem. /// /// @param userError User account had a problem. /// /// @return An initialized instance. /// - (instancetype)initWithUserError:(DBSHARINGSharingUserError *)userError; /// /// Initializes union class with tag state of "invalid_cursor". /// /// Description of the "invalid_cursor" tag state: `cursor` in /// `DBSHARINGListFilesContinueArg` is invalid. /// /// @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 "user_error". /// /// @note Call this method and ensure it returns true before accessing the /// `userError` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value "user_error". /// - (BOOL)isUserError; /// /// 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 `DBSHARINGListFilesContinueError` union. /// @interface DBSHARINGListFilesContinueErrorSerializer : NSObject /// /// Serializes `DBSHARINGListFilesContinueError` instances. /// /// @param instance An instance of the `DBSHARINGListFilesContinueError` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGListFilesContinueError` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGListFilesContinueError *)instance; /// /// Deserializes `DBSHARINGListFilesContinueError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGListFilesContinueError` API object. /// /// @return An instantiation of the `DBSHARINGListFilesContinueError` object. /// + (DBSHARINGListFilesContinueError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGListFilesResult.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGListFilesResult; @class DBSHARINGSharedFileMetadata; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `ListFilesResult` struct. /// /// Success results for `listReceivedFiles`. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGListFilesResult : NSObject #pragma mark - Instance fields /// Information about the files shared with current user. @property (nonatomic, readonly) NSArray *entries; /// Cursor used to obtain additional shared files. @property (nonatomic, readonly, copy, nullable) NSString *cursor; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param entries Information about the files shared with current user. /// @param cursor Cursor used to obtain additional shared files. /// /// @return An initialized instance. /// - (instancetype)initWithEntries:(NSArray *)entries cursor:(nullable NSString *)cursor; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param entries Information about the files shared with current user. /// /// @return An initialized instance. /// - (instancetype)initWithEntries:(NSArray *)entries; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `ListFilesResult` struct. /// @interface DBSHARINGListFilesResultSerializer : NSObject /// /// Serializes `DBSHARINGListFilesResult` instances. /// /// @param instance An instance of the `DBSHARINGListFilesResult` API object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGListFilesResult` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGListFilesResult *)instance; /// /// Deserializes `DBSHARINGListFilesResult` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGListFilesResult` API object. /// /// @return An instantiation of the `DBSHARINGListFilesResult` object. /// + (DBSHARINGListFilesResult *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGListFolderMembersArgs.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSHARINGListFolderMembersCursorArg.h" #import "DBSerializableProtocol.h" @class DBSHARINGListFolderMembersArgs; @class DBSHARINGMemberAction; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `ListFolderMembersArgs` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGListFolderMembersArgs : DBSHARINGListFolderMembersCursorArg #pragma mark - Instance fields /// 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 actions This is a list indicating whether each returned member will /// include a boolean value `allow` in `DBSHARINGMemberPermission` that /// describes whether the current user can perform the MemberAction on the /// member. /// @param limit The maximum number of results that include members, groups and /// invitees to return per request. /// /// @return An initialized instance. /// - (instancetype)initWithSharedFolderId:(NSString *)sharedFolderId actions:(nullable NSArray *)actions limit:(nullable NSNumber *)limit; /// /// 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; @end #pragma mark - Serializer Object /// /// The serialization class for the `ListFolderMembersArgs` struct. /// @interface DBSHARINGListFolderMembersArgsSerializer : NSObject /// /// Serializes `DBSHARINGListFolderMembersArgs` instances. /// /// @param instance An instance of the `DBSHARINGListFolderMembersArgs` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGListFolderMembersArgs` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGListFolderMembersArgs *)instance; /// /// Deserializes `DBSHARINGListFolderMembersArgs` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGListFolderMembersArgs` API object. /// /// @return An instantiation of the `DBSHARINGListFolderMembersArgs` object. /// + (DBSHARINGListFolderMembersArgs *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGListFolderMembersContinueArg.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGListFolderMembersContinueArg; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `ListFolderMembersContinueArg` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGListFolderMembersContinueArg : NSObject #pragma mark - Instance fields /// The cursor returned by your last call to `listFolderMembers` or /// `listFolderMembersContinue`. @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 `listFolderMembers` /// or `listFolderMembersContinue`. /// /// @return An initialized instance. /// - (instancetype)initWithCursor:(NSString *)cursor; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `ListFolderMembersContinueArg` struct. /// @interface DBSHARINGListFolderMembersContinueArgSerializer : NSObject /// /// Serializes `DBSHARINGListFolderMembersContinueArg` instances. /// /// @param instance An instance of the `DBSHARINGListFolderMembersContinueArg` /// API object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGListFolderMembersContinueArg` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGListFolderMembersContinueArg *)instance; /// /// Deserializes `DBSHARINGListFolderMembersContinueArg` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGListFolderMembersContinueArg` API object. /// /// @return An instantiation of the `DBSHARINGListFolderMembersContinueArg` /// object. /// + (DBSHARINGListFolderMembersContinueArg *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGListFolderMembersContinueError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGListFolderMembersContinueError; @class DBSHARINGSharedFolderAccessError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `ListFolderMembersContinueError` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGListFolderMembersContinueError : NSObject #pragma mark - Instance fields /// The `DBSHARINGListFolderMembersContinueErrorTag` enum type represents the /// possible tag states with which the `DBSHARINGListFolderMembersContinueError` /// union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBSHARINGListFolderMembersContinueErrorTag){ /// (no description). DBSHARINGListFolderMembersContinueErrorAccessError, /// `cursor` in `DBSHARINGListFolderMembersContinueArg` is invalid. DBSHARINGListFolderMembersContinueErrorInvalidCursor, /// (no description). DBSHARINGListFolderMembersContinueErrorOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBSHARINGListFolderMembersContinueErrorTag tag; /// (no description). @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". /// /// @param accessError (no description). /// /// @return An initialized instance. /// - (instancetype)initWithAccessError:(DBSHARINGSharedFolderAccessError *)accessError; /// /// Initializes union class with tag state of "invalid_cursor". /// /// Description of the "invalid_cursor" tag state: `cursor` in /// `DBSHARINGListFolderMembersContinueArg` is invalid. /// /// @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 "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 "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 `DBSHARINGListFolderMembersContinueError` /// union. /// @interface DBSHARINGListFolderMembersContinueErrorSerializer : NSObject /// /// Serializes `DBSHARINGListFolderMembersContinueError` instances. /// /// @param instance An instance of the `DBSHARINGListFolderMembersContinueError` /// API object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGListFolderMembersContinueError` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGListFolderMembersContinueError *)instance; /// /// Deserializes `DBSHARINGListFolderMembersContinueError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGListFolderMembersContinueError` API object. /// /// @return An instantiation of the `DBSHARINGListFolderMembersContinueError` /// object. /// + (DBSHARINGListFolderMembersContinueError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGListFolderMembersCursorArg.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGListFolderMembersCursorArg; @class DBSHARINGMemberAction; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `ListFolderMembersCursorArg` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGListFolderMembersCursorArg : NSObject #pragma mark - Instance fields /// This is a list indicating whether each returned member will include a /// boolean value `allow` in `DBSHARINGMemberPermission` that describes whether /// the current user can perform the MemberAction on the member. @property (nonatomic, readonly, nullable) NSArray *actions; /// The maximum number of results that include members, groups and invitees to /// return per request. @property (nonatomic, readonly) NSNumber *limit; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param actions This is a list indicating whether each returned member will /// include a boolean value `allow` in `DBSHARINGMemberPermission` that /// describes whether the current user can perform the MemberAction on the /// member. /// @param limit The maximum number of results that include members, groups and /// invitees to return per request. /// /// @return An initialized instance. /// - (instancetype)initWithActions:(nullable NSArray *)actions limit:(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 `ListFolderMembersCursorArg` struct. /// @interface DBSHARINGListFolderMembersCursorArgSerializer : NSObject /// /// Serializes `DBSHARINGListFolderMembersCursorArg` instances. /// /// @param instance An instance of the `DBSHARINGListFolderMembersCursorArg` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGListFolderMembersCursorArg` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGListFolderMembersCursorArg *)instance; /// /// Deserializes `DBSHARINGListFolderMembersCursorArg` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGListFolderMembersCursorArg` API object. /// /// @return An instantiation of the `DBSHARINGListFolderMembersCursorArg` /// object. /// + (DBSHARINGListFolderMembersCursorArg *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGListFoldersArgs.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGFolderAction; @class DBSHARINGListFoldersArgs; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `ListFoldersArgs` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGListFoldersArgs : NSObject #pragma mark - Instance fields /// The maximum number of results to return per request. @property (nonatomic, readonly) NSNumber *limit; /// 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 the /// folder. @property (nonatomic, readonly, nullable) NSArray *actions; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @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 `permissions` in /// `DBSHARINGSharedFolderMetadata` field describing the actions the /// authenticated user can perform on the folder. /// /// @return An initialized instance. /// - (instancetype)initWithLimit:(nullable NSNumber *)limit actions:(nullable NSArray *)actions; /// /// 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 `ListFoldersArgs` struct. /// @interface DBSHARINGListFoldersArgsSerializer : NSObject /// /// Serializes `DBSHARINGListFoldersArgs` instances. /// /// @param instance An instance of the `DBSHARINGListFoldersArgs` API object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGListFoldersArgs` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGListFoldersArgs *)instance; /// /// Deserializes `DBSHARINGListFoldersArgs` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGListFoldersArgs` API object. /// /// @return An instantiation of the `DBSHARINGListFoldersArgs` object. /// + (DBSHARINGListFoldersArgs *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGListFoldersContinueArg.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGListFoldersContinueArg; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `ListFoldersContinueArg` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGListFoldersContinueArg : 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 `ListFoldersContinueArg` struct. /// @interface DBSHARINGListFoldersContinueArgSerializer : NSObject /// /// Serializes `DBSHARINGListFoldersContinueArg` instances. /// /// @param instance An instance of the `DBSHARINGListFoldersContinueArg` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGListFoldersContinueArg` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGListFoldersContinueArg *)instance; /// /// Deserializes `DBSHARINGListFoldersContinueArg` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGListFoldersContinueArg` API object. /// /// @return An instantiation of the `DBSHARINGListFoldersContinueArg` object. /// + (DBSHARINGListFoldersContinueArg *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGListFoldersContinueError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGListFoldersContinueError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `ListFoldersContinueError` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGListFoldersContinueError : NSObject #pragma mark - Instance fields /// The `DBSHARINGListFoldersContinueErrorTag` enum type represents the possible /// tag states with which the `DBSHARINGListFoldersContinueError` union can /// exist. typedef NS_CLOSED_ENUM(NSInteger, DBSHARINGListFoldersContinueErrorTag){ /// `cursor` in `DBSHARINGListFoldersContinueArg` is invalid. DBSHARINGListFoldersContinueErrorInvalidCursor, /// (no description). DBSHARINGListFoldersContinueErrorOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBSHARINGListFoldersContinueErrorTag tag; #pragma mark - Constructors /// /// Initializes union class with tag state of "invalid_cursor". /// /// Description of the "invalid_cursor" tag state: `cursor` in /// `DBSHARINGListFoldersContinueArg` is invalid. /// /// @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 `DBSHARINGListFoldersContinueError` union. /// @interface DBSHARINGListFoldersContinueErrorSerializer : NSObject /// /// Serializes `DBSHARINGListFoldersContinueError` instances. /// /// @param instance An instance of the `DBSHARINGListFoldersContinueError` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGListFoldersContinueError` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGListFoldersContinueError *)instance; /// /// Deserializes `DBSHARINGListFoldersContinueError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGListFoldersContinueError` API object. /// /// @return An instantiation of the `DBSHARINGListFoldersContinueError` object. /// + (DBSHARINGListFoldersContinueError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGListFoldersResult.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGListFoldersResult; @class DBSHARINGSharedFolderMetadata; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `ListFoldersResult` struct. /// /// Result for `listFolders` or `listMountableFolders`, depending on which /// endpoint was requested. Unmounted shared folders can be identified by the /// absence of `pathLower` in `DBSHARINGSharedFolderMetadata`. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGListFoldersResult : NSObject #pragma mark - Instance fields /// List of all shared folders the authenticated user has access to. @property (nonatomic, readonly) NSArray *entries; /// Present if there are additional shared folders that have not been returned /// yet. Pass the cursor into the corresponding continue endpoint (either /// `listFoldersContinue` or `listMountableFoldersContinue`) to list additional /// folders. @property (nonatomic, readonly, copy, nullable) NSString *cursor; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param entries List of all shared folders the authenticated user has access /// to. /// @param cursor Present if there are additional shared folders that have not /// been returned yet. Pass the cursor into the corresponding continue endpoint /// (either `listFoldersContinue` or `listMountableFoldersContinue`) to list /// additional folders. /// /// @return An initialized instance. /// - (instancetype)initWithEntries:(NSArray *)entries cursor:(nullable NSString *)cursor; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param entries List of all shared folders the authenticated user has access /// to. /// /// @return An initialized instance. /// - (instancetype)initWithEntries:(NSArray *)entries; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `ListFoldersResult` struct. /// @interface DBSHARINGListFoldersResultSerializer : NSObject /// /// Serializes `DBSHARINGListFoldersResult` instances. /// /// @param instance An instance of the `DBSHARINGListFoldersResult` API object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGListFoldersResult` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGListFoldersResult *)instance; /// /// Deserializes `DBSHARINGListFoldersResult` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGListFoldersResult` API object. /// /// @return An instantiation of the `DBSHARINGListFoldersResult` object. /// + (DBSHARINGListFoldersResult *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGListSharedLinksArg.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGListSharedLinksArg; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `ListSharedLinksArg` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGListSharedLinksArg : NSObject #pragma mark - Instance fields /// See `listSharedLinks` description. @property (nonatomic, readonly, copy, nullable) NSString *path; /// The cursor returned by your last call to `listSharedLinks`. @property (nonatomic, readonly, copy, nullable) NSString *cursor; /// See `listSharedLinks` description. @property (nonatomic, readonly, nullable) NSNumber *directOnly; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param path See `listSharedLinks` description. /// @param cursor The cursor returned by your last call to `listSharedLinks`. /// @param directOnly See `listSharedLinks` description. /// /// @return An initialized instance. /// - (instancetype)initWithPath:(nullable NSString *)path cursor:(nullable NSString *)cursor directOnly:(nullable NSNumber *)directOnly; /// /// 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 `ListSharedLinksArg` struct. /// @interface DBSHARINGListSharedLinksArgSerializer : NSObject /// /// Serializes `DBSHARINGListSharedLinksArg` instances. /// /// @param instance An instance of the `DBSHARINGListSharedLinksArg` API object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGListSharedLinksArg` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGListSharedLinksArg *)instance; /// /// Deserializes `DBSHARINGListSharedLinksArg` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGListSharedLinksArg` API object. /// /// @return An instantiation of the `DBSHARINGListSharedLinksArg` object. /// + (DBSHARINGListSharedLinksArg *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGListSharedLinksError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILESLookupError; @class DBSHARINGListSharedLinksError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `ListSharedLinksError` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGListSharedLinksError : NSObject #pragma mark - Instance fields /// The `DBSHARINGListSharedLinksErrorTag` enum type represents the possible tag /// states with which the `DBSHARINGListSharedLinksError` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBSHARINGListSharedLinksErrorTag){ /// (no description). DBSHARINGListSharedLinksErrorPath, /// Indicates that the cursor has been invalidated. Call `listSharedLinks` /// to obtain a new cursor. DBSHARINGListSharedLinksErrorReset, /// (no description). DBSHARINGListSharedLinksErrorOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBSHARINGListSharedLinksErrorTag 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 "reset". /// /// Description of the "reset" tag state: Indicates that the cursor has been /// invalidated. Call `listSharedLinks` 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 "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 "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 `DBSHARINGListSharedLinksError` union. /// @interface DBSHARINGListSharedLinksErrorSerializer : NSObject /// /// Serializes `DBSHARINGListSharedLinksError` instances. /// /// @param instance An instance of the `DBSHARINGListSharedLinksError` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGListSharedLinksError` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGListSharedLinksError *)instance; /// /// Deserializes `DBSHARINGListSharedLinksError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGListSharedLinksError` API object. /// /// @return An instantiation of the `DBSHARINGListSharedLinksError` object. /// + (DBSHARINGListSharedLinksError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGListSharedLinksResult.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGListSharedLinksResult; @class DBSHARINGSharedLinkMetadata; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `ListSharedLinksResult` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGListSharedLinksResult : NSObject #pragma mark - Instance fields /// Shared links applicable to the path argument. @property (nonatomic, readonly) NSArray *links; /// Is true if there are additional shared links that have not been returned /// yet. Pass the cursor into `listSharedLinks` to retrieve them. @property (nonatomic, readonly) NSNumber *hasMore; /// Pass the cursor into `listSharedLinks` to obtain the additional links. /// Cursor is returned only if no path is given. @property (nonatomic, readonly, copy, nullable) NSString *cursor; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param links Shared links applicable to the path argument. /// @param hasMore Is true if there are additional shared links that have not /// been returned yet. Pass the cursor into `listSharedLinks` to retrieve them. /// @param cursor Pass the cursor into `listSharedLinks` to obtain the /// additional links. Cursor is returned only if no path is given. /// /// @return An initialized instance. /// - (instancetype)initWithLinks:(NSArray *)links hasMore:(NSNumber *)hasMore cursor:(nullable NSString *)cursor; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param links Shared links applicable to the path argument. /// @param hasMore Is true if there are additional shared links that have not /// been returned yet. Pass the cursor into `listSharedLinks` to retrieve them. /// /// @return An initialized instance. /// - (instancetype)initWithLinks:(NSArray *)links hasMore:(NSNumber *)hasMore; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `ListSharedLinksResult` struct. /// @interface DBSHARINGListSharedLinksResultSerializer : NSObject /// /// Serializes `DBSHARINGListSharedLinksResult` instances. /// /// @param instance An instance of the `DBSHARINGListSharedLinksResult` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGListSharedLinksResult` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGListSharedLinksResult *)instance; /// /// Deserializes `DBSHARINGListSharedLinksResult` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGListSharedLinksResult` API object. /// /// @return An instantiation of the `DBSHARINGListSharedLinksResult` object. /// + (DBSHARINGListSharedLinksResult *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGMemberAccessLevelResult.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGAccessLevel; @class DBSHARINGMemberAccessLevelResult; @class DBSHARINGParentFolderAccessInfo; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `MemberAccessLevelResult` struct. /// /// Contains information about a member's access level to content after an /// operation. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGMemberAccessLevelResult : NSObject #pragma mark - Instance fields /// The member still has this level of access to the content through a parent /// folder. @property (nonatomic, readonly, nullable) DBSHARINGAccessLevel *accessLevel; /// A localized string with additional information about why the user has this /// access level to the content. @property (nonatomic, readonly, copy, nullable) NSString *warning; /// The parent folders that a member has access to. The field is present if the /// user has access to the first parent folder where the member gains access. @property (nonatomic, readonly, nullable) NSArray *accessDetails; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param accessLevel The member still has this level of access to the content /// through a parent folder. /// @param warning A localized string with additional information about why the /// user has this access level to the content. /// @param accessDetails The parent folders that a member has access to. The /// field is present if the user has access to the first parent folder where the /// member gains access. /// /// @return An initialized instance. /// - (instancetype)initWithAccessLevel:(nullable DBSHARINGAccessLevel *)accessLevel warning:(nullable NSString *)warning accessDetails:(nullable NSArray *)accessDetails; /// /// 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 `MemberAccessLevelResult` struct. /// @interface DBSHARINGMemberAccessLevelResultSerializer : NSObject /// /// Serializes `DBSHARINGMemberAccessLevelResult` instances. /// /// @param instance An instance of the `DBSHARINGMemberAccessLevelResult` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGMemberAccessLevelResult` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGMemberAccessLevelResult *)instance; /// /// Deserializes `DBSHARINGMemberAccessLevelResult` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGMemberAccessLevelResult` API object. /// /// @return An instantiation of the `DBSHARINGMemberAccessLevelResult` object. /// + (DBSHARINGMemberAccessLevelResult *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGMemberAction.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGMemberAction; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `MemberAction` union. /// /// Actions that may be taken on members 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 DBSHARINGMemberAction : NSObject #pragma mark - Instance fields /// The `DBSHARINGMemberActionTag` enum type represents the possible tag states /// with which the `DBSHARINGMemberAction` union can exist. 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 owner of the folder. DBSHARINGMemberActionMakeOwner, /// Make the member a viewer of the folder. DBSHARINGMemberActionMakeViewer, /// Make the member a viewer of the folder without commenting permissions. DBSHARINGMemberActionMakeViewerNoComment, /// Remove the member from the folder. DBSHARINGMemberActionRemove, /// (no description). DBSHARINGMemberActionOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBSHARINGMemberActionTag tag; #pragma mark - Constructors /// /// Initializes union class with tag state of "leave_a_copy". /// /// Description of the "leave_a_copy" tag state: Allow the member to keep a copy /// of the folder when removing. /// /// @return An initialized instance. /// - (instancetype)initWithLeaveACopy; /// /// Initializes union class with tag state of "make_editor". /// /// Description of the "make_editor" tag state: Make the member an editor of the /// folder. /// /// @return An initialized instance. /// - (instancetype)initWithMakeEditor; /// /// Initializes union class with tag state of "make_owner". /// /// Description of the "make_owner" tag state: Make the member an owner of the /// folder. /// /// @return An initialized instance. /// - (instancetype)initWithMakeOwner; /// /// Initializes union class with tag state of "make_viewer". /// /// Description of the "make_viewer" tag state: Make the member a viewer of the /// folder. /// /// @return An initialized instance. /// - (instancetype)initWithMakeViewer; /// /// Initializes union class with tag state of "make_viewer_no_comment". /// /// Description of the "make_viewer_no_comment" tag state: Make the member a /// viewer of the folder without commenting permissions. /// /// @return An initialized instance. /// - (instancetype)initWithMakeViewerNoComment; /// /// Initializes union class with tag state of "remove". /// /// Description of the "remove" tag state: Remove the member from the folder. /// /// @return An initialized instance. /// - (instancetype)initWithRemove; /// /// 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 "leave_a_copy". /// /// @return Whether the union's current tag state has value "leave_a_copy". /// - (BOOL)isLeaveACopy; /// /// Retrieves whether the union's current tag state has value "make_editor". /// /// @return Whether the union's current tag state has value "make_editor". /// - (BOOL)isMakeEditor; /// /// Retrieves whether the union's current tag state has value "make_owner". /// /// @return Whether the union's current tag state has value "make_owner". /// - (BOOL)isMakeOwner; /// /// Retrieves whether the union's current tag state has value "make_viewer". /// /// @return Whether the union's current tag state has value "make_viewer". /// - (BOOL)isMakeViewer; /// /// Retrieves whether the union's current tag state has value /// "make_viewer_no_comment". /// /// @return Whether the union's current tag state has value /// "make_viewer_no_comment". /// - (BOOL)isMakeViewerNoComment; /// /// Retrieves whether the union's current tag state has value "remove". /// /// @return Whether the union's current tag state has value "remove". /// - (BOOL)isRemove; /// /// 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 `DBSHARINGMemberAction` union. /// @interface DBSHARINGMemberActionSerializer : NSObject /// /// Serializes `DBSHARINGMemberAction` instances. /// /// @param instance An instance of the `DBSHARINGMemberAction` API object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGMemberAction` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGMemberAction *)instance; /// /// Deserializes `DBSHARINGMemberAction` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGMemberAction` API object. /// /// @return An instantiation of the `DBSHARINGMemberAction` object. /// + (DBSHARINGMemberAction *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGMemberPermission.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGMemberAction; @class DBSHARINGMemberPermission; @class DBSHARINGPermissionDeniedReason; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `MemberPermission` struct. /// /// Whether the user is allowed to take the action on the associated member. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGMemberPermission : NSObject #pragma mark - Instance fields /// The action that the user may wish to take on the member. @property (nonatomic, readonly) DBSHARINGMemberAction *action; /// True if the user is allowed to take the action. @property (nonatomic, readonly) NSNumber *allow; /// The reason why the user is denied the permission. Not present if the action /// is allowed. @property (nonatomic, readonly, nullable) DBSHARINGPermissionDeniedReason *reason; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param action The action that the user may wish to take on the member. /// @param allow True if the user is allowed to take the action. /// @param reason The reason why the user is denied the permission. Not present /// if the action is allowed. /// /// @return An initialized instance. /// - (instancetype)initWithAction:(DBSHARINGMemberAction *)action allow:(NSNumber *)allow reason:(nullable DBSHARINGPermissionDeniedReason *)reason; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param action The action that the user may wish to take on the member. /// @param allow True if the user is allowed to take the action. /// /// @return An initialized instance. /// - (instancetype)initWithAction:(DBSHARINGMemberAction *)action allow:(NSNumber *)allow; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `MemberPermission` struct. /// @interface DBSHARINGMemberPermissionSerializer : NSObject /// /// Serializes `DBSHARINGMemberPermission` instances. /// /// @param instance An instance of the `DBSHARINGMemberPermission` API object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGMemberPermission` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGMemberPermission *)instance; /// /// Deserializes `DBSHARINGMemberPermission` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGMemberPermission` API object. /// /// @return An instantiation of the `DBSHARINGMemberPermission` object. /// + (DBSHARINGMemberPermission *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGMemberPolicy.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGMemberPolicy; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `MemberPolicy` union. /// /// Policy governing who can be a member of a shared folder. Only applicable to /// folders owned by a user on a team. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGMemberPolicy : NSObject #pragma mark - Instance fields /// The `DBSHARINGMemberPolicyTag` enum type represents the possible tag states /// with which the `DBSHARINGMemberPolicy` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBSHARINGMemberPolicyTag){ /// Only a teammate can become a member. DBSHARINGMemberPolicyTeam, /// Anyone can become a member. DBSHARINGMemberPolicyAnyone, /// (no description). DBSHARINGMemberPolicyOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBSHARINGMemberPolicyTag tag; #pragma mark - Constructors /// /// Initializes union class with tag state of "team". /// /// Description of the "team" tag state: Only a teammate can become a member. /// /// @return An initialized instance. /// - (instancetype)initWithTeam; /// /// Initializes union class with tag state of "anyone". /// /// Description of the "anyone" tag state: Anyone can become a member. /// /// @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". /// /// @return Whether the union's current tag state has value "team". /// - (BOOL)isTeam; /// /// 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 `DBSHARINGMemberPolicy` union. /// @interface DBSHARINGMemberPolicySerializer : NSObject /// /// Serializes `DBSHARINGMemberPolicy` instances. /// /// @param instance An instance of the `DBSHARINGMemberPolicy` API object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGMemberPolicy` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGMemberPolicy *)instance; /// /// Deserializes `DBSHARINGMemberPolicy` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGMemberPolicy` API object. /// /// @return An instantiation of the `DBSHARINGMemberPolicy` object. /// + (DBSHARINGMemberPolicy *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGMemberSelector.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGMemberSelector; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `MemberSelector` union. /// /// Includes different ways to identify 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 DBSHARINGMemberSelector : NSObject #pragma mark - Instance fields /// The `DBSHARINGMemberSelectorTag` enum type represents the possible tag /// states with which the `DBSHARINGMemberSelector` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBSHARINGMemberSelectorTag){ /// Dropbox account, team member, or group ID of member. DBSHARINGMemberSelectorDropboxId, /// Email address of member. DBSHARINGMemberSelectorEmail, /// (no description). DBSHARINGMemberSelectorOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBSHARINGMemberSelectorTag tag; /// Dropbox account, team member, or group ID of member. @note Ensure the /// `isDropboxId` method returns true before accessing, otherwise a runtime /// exception will be raised. @property (nonatomic, readonly, copy) NSString *dropboxId; /// 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; #pragma mark - Constructors /// /// Initializes union class with tag state of "dropbox_id". /// /// Description of the "dropbox_id" tag state: Dropbox account, team member, or /// group ID of member. /// /// @param dropboxId Dropbox account, team member, or group ID of member. /// /// @return An initialized instance. /// - (instancetype)initWithDropboxId:(NSString *)dropboxId; /// /// Initializes union class with tag state of "email". /// /// Description of the "email" tag state: Email address of member. /// /// @param email Email address of member. /// /// @return An initialized instance. /// - (instancetype)initWithEmail:(NSString *)email; /// /// 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 "dropbox_id". /// /// @note Call this method and ensure it returns true before accessing the /// `dropboxId` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value "dropbox_id". /// - (BOOL)isDropboxId; /// /// Retrieves whether the union's current tag state has value "email". /// /// @note Call this method and ensure it returns true before accessing the /// `email` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value "email". /// - (BOOL)isEmail; /// /// 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 `DBSHARINGMemberSelector` union. /// @interface DBSHARINGMemberSelectorSerializer : NSObject /// /// Serializes `DBSHARINGMemberSelector` instances. /// /// @param instance An instance of the `DBSHARINGMemberSelector` API object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGMemberSelector` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGMemberSelector *)instance; /// /// Deserializes `DBSHARINGMemberSelector` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGMemberSelector` API object. /// /// @return An instantiation of the `DBSHARINGMemberSelector` object. /// + (DBSHARINGMemberSelector *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGMembershipInfo.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGAccessLevel; @class DBSHARINGMemberPermission; @class DBSHARINGMembershipInfo; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `MembershipInfo` struct. /// /// The information about a member of the shared content. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGMembershipInfo : NSObject #pragma mark - Instance fields /// 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; /// Never set. @property (nonatomic, readonly, copy, nullable) NSString *initials; /// True if the member has access from a parent folder. @property (nonatomic, readonly) NSNumber *isInherited; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @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 Never set. /// @param isInherited True if the member has access from a parent folder. /// /// @return An initialized instance. /// - (instancetype)initWithAccessType:(DBSHARINGAccessLevel *)accessType permissions:(nullable NSArray *)permissions initials:(nullable NSString *)initials isInherited:(nullable NSNumber *)isInherited; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @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. /// - (instancetype)initWithAccessType:(DBSHARINGAccessLevel *)accessType; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `MembershipInfo` struct. /// @interface DBSHARINGMembershipInfoSerializer : NSObject /// /// Serializes `DBSHARINGMembershipInfo` instances. /// /// @param instance An instance of the `DBSHARINGMembershipInfo` API object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGMembershipInfo` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGMembershipInfo *)instance; /// /// Deserializes `DBSHARINGMembershipInfo` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGMembershipInfo` API object. /// /// @return An instantiation of the `DBSHARINGMembershipInfo` object. /// + (DBSHARINGMembershipInfo *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGModifySharedLinkSettingsArgs.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGModifySharedLinkSettingsArgs; @class DBSHARINGSharedLinkSettings; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `ModifySharedLinkSettingsArgs` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGModifySharedLinkSettingsArgs : NSObject #pragma mark - Instance fields /// URL of the shared link to change its settings. @property (nonatomic, readonly, copy) NSString *url; /// Set of settings for the shared link. @property (nonatomic, readonly) DBSHARINGSharedLinkSettings *settings; /// If set to true, removes the expiration of the shared link. @property (nonatomic, readonly) NSNumber *removeExpiration; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param url URL of the shared link to change its settings. /// @param settings Set of settings for the shared link. /// @param removeExpiration If set to true, removes the expiration of the shared /// link. /// /// @return An initialized instance. /// - (instancetype)initWithUrl:(NSString *)url settings:(DBSHARINGSharedLinkSettings *)settings removeExpiration:(nullable NSNumber *)removeExpiration; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param url URL of the shared link to change its settings. /// @param settings Set of settings for the shared link. /// /// @return An initialized instance. /// - (instancetype)initWithUrl:(NSString *)url settings:(DBSHARINGSharedLinkSettings *)settings; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `ModifySharedLinkSettingsArgs` struct. /// @interface DBSHARINGModifySharedLinkSettingsArgsSerializer : NSObject /// /// Serializes `DBSHARINGModifySharedLinkSettingsArgs` instances. /// /// @param instance An instance of the `DBSHARINGModifySharedLinkSettingsArgs` /// API object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGModifySharedLinkSettingsArgs` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGModifySharedLinkSettingsArgs *)instance; /// /// Deserializes `DBSHARINGModifySharedLinkSettingsArgs` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGModifySharedLinkSettingsArgs` API object. /// /// @return An instantiation of the `DBSHARINGModifySharedLinkSettingsArgs` /// object. /// + (DBSHARINGModifySharedLinkSettingsArgs *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGModifySharedLinkSettingsError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGModifySharedLinkSettingsError; @class DBSHARINGSharedLinkSettingsError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `ModifySharedLinkSettingsError` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGModifySharedLinkSettingsError : NSObject #pragma mark - Instance fields /// The `DBSHARINGModifySharedLinkSettingsErrorTag` enum type represents the /// possible tag states with which the `DBSHARINGModifySharedLinkSettingsError` /// union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBSHARINGModifySharedLinkSettingsErrorTag){ /// The shared link wasn't found. DBSHARINGModifySharedLinkSettingsErrorSharedLinkNotFound, /// The caller is not allowed to access this shared link. DBSHARINGModifySharedLinkSettingsErrorSharedLinkAccessDenied, /// This type of link is not supported; use `files` instead. DBSHARINGModifySharedLinkSettingsErrorUnsupportedLinkType, /// (no description). DBSHARINGModifySharedLinkSettingsErrorOther, /// There is an error with the given settings. DBSHARINGModifySharedLinkSettingsErrorSettingsError, /// 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, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBSHARINGModifySharedLinkSettingsErrorTag tag; /// There is an error with the given settings. @note Ensure the /// `isSettingsError` method returns true before accessing, otherwise a runtime /// exception will be raised. @property (nonatomic, readonly) DBSHARINGSharedLinkSettingsError *settingsError; #pragma mark - Constructors /// /// Initializes union class with tag state of "shared_link_not_found". /// /// Description of the "shared_link_not_found" tag state: The shared link wasn't /// found. /// /// @return An initialized instance. /// - (instancetype)initWithSharedLinkNotFound; /// /// Initializes union class with tag state of "shared_link_access_denied". /// /// Description of the "shared_link_access_denied" tag state: The caller is not /// allowed to access this shared link. /// /// @return An initialized instance. /// - (instancetype)initWithSharedLinkAccessDenied; /// /// 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; use `files` instead. /// /// @return An initialized instance. /// - (instancetype)initWithUnsupportedLinkType; /// /// Initializes union class with tag state of "other". /// /// @return An initialized instance. /// - (instancetype)initWithOther; /// /// Initializes union class with tag state of "settings_error". /// /// Description of the "settings_error" tag state: There is an error with the /// given settings. /// /// @param settingsError There is an error with the given settings. /// /// @return An initialized instance. /// - (instancetype)initWithSettingsError:(DBSHARINGSharedLinkSettingsError *)settingsError; /// /// 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; - (instancetype)init NS_UNAVAILABLE; #pragma mark - Tag state methods /// /// Retrieves whether the union's current tag state has value /// "shared_link_not_found". /// /// @return Whether the union's current tag state has value /// "shared_link_not_found". /// - (BOOL)isSharedLinkNotFound; /// /// Retrieves whether the union's current tag state has value /// "shared_link_access_denied". /// /// @return Whether the union's current tag state has value /// "shared_link_access_denied". /// - (BOOL)isSharedLinkAccessDenied; /// /// Retrieves whether the union's current tag state has value /// "unsupported_link_type". /// /// @return Whether the union's current tag state has value /// "unsupported_link_type". /// - (BOOL)isUnsupportedLinkType; /// /// 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 "settings_error". /// /// @note Call this method and ensure it returns true before accessing the /// `settingsError` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value "settings_error". /// - (BOOL)isSettingsError; /// /// 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 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 `DBSHARINGModifySharedLinkSettingsError` /// union. /// @interface DBSHARINGModifySharedLinkSettingsErrorSerializer : NSObject /// /// Serializes `DBSHARINGModifySharedLinkSettingsError` instances. /// /// @param instance An instance of the `DBSHARINGModifySharedLinkSettingsError` /// API object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGModifySharedLinkSettingsError` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGModifySharedLinkSettingsError *)instance; /// /// Deserializes `DBSHARINGModifySharedLinkSettingsError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGModifySharedLinkSettingsError` API object. /// /// @return An instantiation of the `DBSHARINGModifySharedLinkSettingsError` /// object. /// + (DBSHARINGModifySharedLinkSettingsError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGMountFolderArg.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGMountFolderArg; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `MountFolderArg` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGMountFolderArg : NSObject #pragma mark - Instance fields /// The ID of the shared folder to mount. @property (nonatomic, readonly, copy) NSString *sharedFolderId; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param sharedFolderId The ID of the shared folder to mount. /// /// @return An initialized instance. /// - (instancetype)initWithSharedFolderId:(NSString *)sharedFolderId; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `MountFolderArg` struct. /// @interface DBSHARINGMountFolderArgSerializer : NSObject /// /// Serializes `DBSHARINGMountFolderArg` instances. /// /// @param instance An instance of the `DBSHARINGMountFolderArg` API object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGMountFolderArg` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGMountFolderArg *)instance; /// /// Deserializes `DBSHARINGMountFolderArg` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGMountFolderArg` API object. /// /// @return An instantiation of the `DBSHARINGMountFolderArg` object. /// + (DBSHARINGMountFolderArg *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGMountFolderError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGInsufficientQuotaAmounts; @class DBSHARINGMountFolderError; @class DBSHARINGSharedFolderAccessError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `MountFolderError` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGMountFolderError : NSObject #pragma mark - Instance fields /// The `DBSHARINGMountFolderErrorTag` enum type represents the possible tag /// states with which the `DBSHARINGMountFolderError` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBSHARINGMountFolderErrorTag){ /// (no description). DBSHARINGMountFolderErrorAccessError, /// 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 shared folder is already mounted. DBSHARINGMountFolderErrorAlreadyMounted, /// 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, /// (no description). DBSHARINGMountFolderErrorOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBSHARINGMountFolderErrorTag tag; /// (no description). @note Ensure the `isAccessError` method returns true /// before accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) DBSHARINGSharedFolderAccessError *accessError; /// The current user does not have enough space to mount the shared folder. /// @note Ensure the `isInsufficientQuota` method returns true before accessing, /// otherwise a runtime exception will be raised. @property (nonatomic, readonly) DBSHARINGInsufficientQuotaAmounts *insufficientQuota; #pragma mark - Constructors /// /// Initializes union class with tag state of "access_error". /// /// @param accessError (no description). /// /// @return An initialized instance. /// - (instancetype)initWithAccessError:(DBSHARINGSharedFolderAccessError *)accessError; /// /// Initializes union class with tag state of "inside_shared_folder". /// /// Description of the "inside_shared_folder" tag state: Mounting would cause a /// shared folder to be inside another, which is disallowed. /// /// @return An initialized instance. /// - (instancetype)initWithInsideSharedFolder; /// /// Initializes union class with tag state of "insufficient_quota". /// /// Description of the "insufficient_quota" tag state: The current user does not /// have enough space to mount the shared folder. /// /// @param insufficientQuota The current user does not have enough space to /// mount the shared folder. /// /// @return An initialized instance. /// - (instancetype)initWithInsufficientQuota:(DBSHARINGInsufficientQuotaAmounts *)insufficientQuota; /// /// Initializes union class with tag state of "already_mounted". /// /// Description of the "already_mounted" tag state: The shared folder is already /// mounted. /// /// @return An initialized instance. /// - (instancetype)initWithAlreadyMounted; /// /// 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 "not_mountable". /// /// Description of the "not_mountable" tag state: 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. /// /// @return An initialized instance. /// - (instancetype)initWithNotMountable; /// /// 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 /// "inside_shared_folder". /// /// @return Whether the union's current tag state has value /// "inside_shared_folder". /// - (BOOL)isInsideSharedFolder; /// /// Retrieves whether the union's current tag state has value /// "insufficient_quota". /// /// @note Call this method and ensure it returns true before accessing the /// `insufficientQuota` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value /// "insufficient_quota". /// - (BOOL)isInsufficientQuota; /// /// Retrieves whether the union's current tag state has value "already_mounted". /// /// @return Whether the union's current tag state has value "already_mounted". /// - (BOOL)isAlreadyMounted; /// /// 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 "not_mountable". /// /// @return Whether the union's current tag state has value "not_mountable". /// - (BOOL)isNotMountable; /// /// 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 `DBSHARINGMountFolderError` union. /// @interface DBSHARINGMountFolderErrorSerializer : NSObject /// /// Serializes `DBSHARINGMountFolderError` instances. /// /// @param instance An instance of the `DBSHARINGMountFolderError` API object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGMountFolderError` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGMountFolderError *)instance; /// /// Deserializes `DBSHARINGMountFolderError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGMountFolderError` API object. /// /// @return An instantiation of the `DBSHARINGMountFolderError` object. /// + (DBSHARINGMountFolderError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGParentFolderAccessInfo.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGMemberPermission; @class DBSHARINGParentFolderAccessInfo; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `ParentFolderAccessInfo` struct. /// /// Contains information about a parent folder that a member has access to. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGParentFolderAccessInfo : NSObject #pragma mark - Instance fields /// Display name for the folder. @property (nonatomic, readonly, copy) NSString *folderName; /// The identifier of the parent shared folder. @property (nonatomic, readonly, copy) NSString *sharedFolderId; /// The user's permissions for the parent shared folder. @property (nonatomic, readonly) NSArray *permissions; /// The full path to the parent shared folder relative to the acting user's /// root. @property (nonatomic, readonly, copy) NSString *path; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param folderName Display name for the folder. /// @param sharedFolderId The identifier of the parent shared folder. /// @param permissions The user's permissions for the parent shared folder. /// @param path The full path to the parent shared folder relative to the acting /// user's root. /// /// @return An initialized instance. /// - (instancetype)initWithFolderName:(NSString *)folderName sharedFolderId:(NSString *)sharedFolderId permissions:(NSArray *)permissions path:(NSString *)path; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `ParentFolderAccessInfo` struct. /// @interface DBSHARINGParentFolderAccessInfoSerializer : NSObject /// /// Serializes `DBSHARINGParentFolderAccessInfo` instances. /// /// @param instance An instance of the `DBSHARINGParentFolderAccessInfo` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGParentFolderAccessInfo` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGParentFolderAccessInfo *)instance; /// /// Deserializes `DBSHARINGParentFolderAccessInfo` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGParentFolderAccessInfo` API object. /// /// @return An instantiation of the `DBSHARINGParentFolderAccessInfo` object. /// + (DBSHARINGParentFolderAccessInfo *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGPathLinkMetadata.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSHARINGLinkMetadata.h" #import "DBSerializableProtocol.h" @class DBSHARINGPathLinkMetadata; @class DBSHARINGVisibility; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `PathLinkMetadata` struct. /// /// Metadata for a path-based 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 DBSHARINGPathLinkMetadata : DBSHARINGLinkMetadata #pragma mark - Instance fields /// Path in user's Dropbox. @property (nonatomic, readonly, copy) NSString *path; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param url URL of the shared link. /// @param visibility Who can access the link. /// @param path Path in user's Dropbox. /// @param expires Expiration time, if set. By default the link won't expire. /// /// @return An initialized instance. /// - (instancetype)initWithUrl:(NSString *)url visibility:(DBSHARINGVisibility *)visibility path:(NSString *)path expires:(nullable NSDate *)expires; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param url URL of the shared link. /// @param visibility Who can access the link. /// @param path Path in user's Dropbox. /// /// @return An initialized instance. /// - (instancetype)initWithUrl:(NSString *)url visibility:(DBSHARINGVisibility *)visibility path:(NSString *)path; @end #pragma mark - Serializer Object /// /// The serialization class for the `PathLinkMetadata` struct. /// @interface DBSHARINGPathLinkMetadataSerializer : NSObject /// /// Serializes `DBSHARINGPathLinkMetadata` instances. /// /// @param instance An instance of the `DBSHARINGPathLinkMetadata` API object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGPathLinkMetadata` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGPathLinkMetadata *)instance; /// /// Deserializes `DBSHARINGPathLinkMetadata` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGPathLinkMetadata` API object. /// /// @return An instantiation of the `DBSHARINGPathLinkMetadata` object. /// + (DBSHARINGPathLinkMetadata *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGPendingUploadMode.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGPendingUploadMode; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `PendingUploadMode` union. /// /// Flag to indicate pending upload default (for linking to not-yet-existing /// paths). /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGPendingUploadMode : NSObject #pragma mark - Instance fields /// The `DBSHARINGPendingUploadModeTag` enum type represents the possible tag /// states with which the `DBSHARINGPendingUploadMode` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBSHARINGPendingUploadModeTag){ /// Assume pending uploads are files. DBSHARINGPendingUploadModeFile, /// Assume pending uploads are folders. DBSHARINGPendingUploadModeFolder, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBSHARINGPendingUploadModeTag tag; #pragma mark - Constructors /// /// Initializes union class with tag state of "file". /// /// Description of the "file" tag state: Assume pending uploads are files. /// /// @return An initialized instance. /// - (instancetype)initWithFile; /// /// Initializes union class with tag state of "folder". /// /// Description of the "folder" tag state: Assume pending uploads are folders. /// /// @return An initialized instance. /// - (instancetype)initWithFolder; - (instancetype)init NS_UNAVAILABLE; #pragma mark - Tag state methods /// /// Retrieves whether the union's current tag state has value "file". /// /// @return Whether the union's current tag state has value "file". /// - (BOOL)isFile; /// /// 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 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 `DBSHARINGPendingUploadMode` union. /// @interface DBSHARINGPendingUploadModeSerializer : NSObject /// /// Serializes `DBSHARINGPendingUploadMode` instances. /// /// @param instance An instance of the `DBSHARINGPendingUploadMode` API object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGPendingUploadMode` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGPendingUploadMode *)instance; /// /// Deserializes `DBSHARINGPendingUploadMode` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGPendingUploadMode` API object. /// /// @return An instantiation of the `DBSHARINGPendingUploadMode` object. /// + (DBSHARINGPendingUploadMode *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGPermissionDeniedReason.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGInsufficientPlan; @class DBSHARINGPermissionDeniedReason; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `PermissionDeniedReason` union. /// /// Possible reasons the user is denied a permission. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGPermissionDeniedReason : NSObject #pragma mark - Instance fields /// The `DBSHARINGPermissionDeniedReasonTag` enum type represents the possible /// tag states with which the `DBSHARINGPermissionDeniedReason` union can exist. 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, /// 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 user itself. DBSHARINGPermissionDeniedReasonTargetIsSelf, /// Target is not an active member of the team. DBSHARINGPermissionDeniedReasonTargetNotActive, /// 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 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 account type does not support this action. DBSHARINGPermissionDeniedReasonUserAccountType, /// The user needs to be on a Dropbox team to perform this action. DBSHARINGPermissionDeniedReasonUserNotOnTeam, /// Folder is inside of another shared folder. DBSHARINGPermissionDeniedReasonFolderIsInsideSharedFolder, /// Policy cannot be changed due to restrictions from parent folder. DBSHARINGPermissionDeniedReasonRestrictedByParentFolder, /// (no description). DBSHARINGPermissionDeniedReasonInsufficientPlan, /// (no description). DBSHARINGPermissionDeniedReasonOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBSHARINGPermissionDeniedReasonTag tag; /// (no description). @note Ensure the `isInsufficientPlan` method returns true /// before accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) DBSHARINGInsufficientPlan *insufficientPlan; #pragma mark - Constructors /// /// Initializes union class with tag state of "user_not_same_team_as_owner". /// /// Description of the "user_not_same_team_as_owner" tag state: User is not on /// the same team as the folder owner. /// /// @return An initialized instance. /// - (instancetype)initWithUserNotSameTeamAsOwner; /// /// Initializes union class with tag state of "user_not_allowed_by_owner". /// /// Description of the "user_not_allowed_by_owner" tag state: User is prohibited /// by the owner from taking the action. /// /// @return An initialized instance. /// - (instancetype)initWithUserNotAllowedByOwner; /// /// Initializes union class with tag state of "target_is_indirect_member". /// /// Description of the "target_is_indirect_member" tag state: Target is /// indirectly a member of the folder, for example by being part of a group. /// /// @return An initialized instance. /// - (instancetype)initWithTargetIsIndirectMember; /// /// Initializes union class with tag state of "target_is_owner". /// /// Description of the "target_is_owner" tag state: Target is the owner of the /// folder. /// /// @return An initialized instance. /// - (instancetype)initWithTargetIsOwner; /// /// Initializes union class with tag state of "target_is_self". /// /// Description of the "target_is_self" tag state: Target is the user itself. /// /// @return An initialized instance. /// - (instancetype)initWithTargetIsSelf; /// /// Initializes union class with tag state of "target_not_active". /// /// Description of the "target_not_active" tag state: Target is not an active /// member of the team. /// /// @return An initialized instance. /// - (instancetype)initWithTargetNotActive; /// /// Initializes union class with tag state of "folder_is_limited_team_folder". /// /// Description of the "folder_is_limited_team_folder" tag state: Folder is team /// folder for a limited team. /// /// @return An initialized instance. /// - (instancetype)initWithFolderIsLimitedTeamFolder; /// /// Initializes union class with tag state of "owner_not_on_team". /// /// Description of the "owner_not_on_team" tag state: The content owner needs to /// be on a Dropbox team to perform this action. /// /// @return An initialized instance. /// - (instancetype)initWithOwnerNotOnTeam; /// /// Initializes union class with tag state of "permission_denied". /// /// Description of the "permission_denied" tag state: The user does not have /// permission to perform this action on the link. /// /// @return An initialized instance. /// - (instancetype)initWithPermissionDenied; /// /// Initializes union class with tag state of "restricted_by_team". /// /// Description of the "restricted_by_team" tag state: The user's team policy /// prevents performing this action on the link. /// /// @return An initialized instance. /// - (instancetype)initWithRestrictedByTeam; /// /// Initializes union class with tag state of "user_account_type". /// /// Description of the "user_account_type" tag state: The user's account type /// does not support this action. /// /// @return An initialized instance. /// - (instancetype)initWithUserAccountType; /// /// 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 /// Dropbox team to perform this action. /// /// @return An initialized instance. /// - (instancetype)initWithUserNotOnTeam; /// /// Initializes union class with tag state of "folder_is_inside_shared_folder". /// /// Description of the "folder_is_inside_shared_folder" tag state: Folder is /// inside of another shared folder. /// /// @return An initialized instance. /// - (instancetype)initWithFolderIsInsideSharedFolder; /// /// Initializes union class with tag state of "restricted_by_parent_folder". /// /// Description of the "restricted_by_parent_folder" tag state: Policy cannot be /// changed due to restrictions from parent folder. /// /// @return An initialized instance. /// - (instancetype)initWithRestrictedByParentFolder; /// /// Initializes union class with tag state of "insufficient_plan". /// /// @param insufficientPlan (no description). /// /// @return An initialized instance. /// - (instancetype)initWithInsufficientPlan:(DBSHARINGInsufficientPlan *)insufficientPlan; /// /// 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_same_team_as_owner". /// /// @return Whether the union's current tag state has value /// "user_not_same_team_as_owner". /// - (BOOL)isUserNotSameTeamAsOwner; /// /// Retrieves whether the union's current tag state has value /// "user_not_allowed_by_owner". /// /// @return Whether the union's current tag state has value /// "user_not_allowed_by_owner". /// - (BOOL)isUserNotAllowedByOwner; /// /// Retrieves whether the union's current tag state has value /// "target_is_indirect_member". /// /// @return Whether the union's current tag state has value /// "target_is_indirect_member". /// - (BOOL)isTargetIsIndirectMember; /// /// Retrieves whether the union's current tag state has value "target_is_owner". /// /// @return Whether the union's current tag state has value "target_is_owner". /// - (BOOL)isTargetIsOwner; /// /// Retrieves whether the union's current tag state has value "target_is_self". /// /// @return Whether the union's current tag state has value "target_is_self". /// - (BOOL)isTargetIsSelf; /// /// Retrieves whether the union's current tag state has value /// "target_not_active". /// /// @return Whether the union's current tag state has value "target_not_active". /// - (BOOL)isTargetNotActive; /// /// Retrieves whether the union's current tag state has value /// "folder_is_limited_team_folder". /// /// @return Whether the union's current tag state has value /// "folder_is_limited_team_folder". /// - (BOOL)isFolderIsLimitedTeamFolder; /// /// Retrieves whether the union's current tag state has value /// "owner_not_on_team". /// /// @return Whether the union's current tag state has value "owner_not_on_team". /// - (BOOL)isOwnerNotOnTeam; /// /// 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 /// "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_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 /// "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 /// "folder_is_inside_shared_folder". /// /// @return Whether the union's current tag state has value /// "folder_is_inside_shared_folder". /// - (BOOL)isFolderIsInsideSharedFolder; /// /// Retrieves whether the union's current tag state has value /// "restricted_by_parent_folder". /// /// @return Whether the union's current tag state has value /// "restricted_by_parent_folder". /// - (BOOL)isRestrictedByParentFolder; /// /// Retrieves whether the union's current tag state has value /// "insufficient_plan". /// /// @note Call this method and ensure it returns true before accessing the /// `insufficientPlan` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value "insufficient_plan". /// - (BOOL)isInsufficientPlan; /// /// 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 `DBSHARINGPermissionDeniedReason` union. /// @interface DBSHARINGPermissionDeniedReasonSerializer : NSObject /// /// Serializes `DBSHARINGPermissionDeniedReason` instances. /// /// @param instance An instance of the `DBSHARINGPermissionDeniedReason` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGPermissionDeniedReason` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGPermissionDeniedReason *)instance; /// /// Deserializes `DBSHARINGPermissionDeniedReason` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGPermissionDeniedReason` API object. /// /// @return An instantiation of the `DBSHARINGPermissionDeniedReason` object. /// + (DBSHARINGPermissionDeniedReason *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGRelinquishFileMembershipArg.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGRelinquishFileMembershipArg; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `RelinquishFileMembershipArg` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGRelinquishFileMembershipArg : NSObject #pragma mark - Instance fields /// The path or id for the file. @property (nonatomic, readonly, copy) NSString *file; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param file The path or id for the file. /// /// @return An initialized instance. /// - (instancetype)initWithFile:(NSString *)file; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `RelinquishFileMembershipArg` struct. /// @interface DBSHARINGRelinquishFileMembershipArgSerializer : NSObject /// /// Serializes `DBSHARINGRelinquishFileMembershipArg` instances. /// /// @param instance An instance of the `DBSHARINGRelinquishFileMembershipArg` /// API object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGRelinquishFileMembershipArg` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGRelinquishFileMembershipArg *)instance; /// /// Deserializes `DBSHARINGRelinquishFileMembershipArg` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGRelinquishFileMembershipArg` API object. /// /// @return An instantiation of the `DBSHARINGRelinquishFileMembershipArg` /// object. /// + (DBSHARINGRelinquishFileMembershipArg *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGRelinquishFileMembershipError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGRelinquishFileMembershipError; @class DBSHARINGSharingFileAccessError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `RelinquishFileMembershipError` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGRelinquishFileMembershipError : NSObject #pragma mark - Instance fields /// The `DBSHARINGRelinquishFileMembershipErrorTag` enum type represents the /// possible tag states with which the `DBSHARINGRelinquishFileMembershipError` /// union can exist. 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 does not have permission to perform this action. DBSHARINGRelinquishFileMembershipErrorNoPermission, /// (no description). DBSHARINGRelinquishFileMembershipErrorOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBSHARINGRelinquishFileMembershipErrorTag tag; /// (no description). @note Ensure the `isAccessError` method returns true /// before accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) DBSHARINGSharingFileAccessError *accessError; #pragma mark - Constructors /// /// Initializes union class with tag state of "access_error". /// /// @param accessError (no description). /// /// @return An initialized instance. /// - (instancetype)initWithAccessError:(DBSHARINGSharingFileAccessError *)accessError; /// /// Initializes union class with tag state of "group_access". /// /// Description of the "group_access" tag state: The current user has access to /// the shared file via a group. You can't relinquish membership to a file /// shared via groups. /// /// @return An initialized instance. /// - (instancetype)initWithGroupAccess; /// /// 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 "group_access". /// /// @return Whether the union's current tag state has value "group_access". /// - (BOOL)isGroupAccess; /// /// 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 `DBSHARINGRelinquishFileMembershipError` /// union. /// @interface DBSHARINGRelinquishFileMembershipErrorSerializer : NSObject /// /// Serializes `DBSHARINGRelinquishFileMembershipError` instances. /// /// @param instance An instance of the `DBSHARINGRelinquishFileMembershipError` /// API object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGRelinquishFileMembershipError` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGRelinquishFileMembershipError *)instance; /// /// Deserializes `DBSHARINGRelinquishFileMembershipError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGRelinquishFileMembershipError` API object. /// /// @return An instantiation of the `DBSHARINGRelinquishFileMembershipError` /// object. /// + (DBSHARINGRelinquishFileMembershipError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGRelinquishFolderMembershipArg.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGRelinquishFolderMembershipArg; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `RelinquishFolderMembershipArg` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGRelinquishFolderMembershipArg : NSObject #pragma mark - Instance fields /// The ID for the shared folder. @property (nonatomic, readonly, copy) NSString *sharedFolderId; /// 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 /// /// Full constructor for the struct (exposes all instance variables). /// /// @param sharedFolderId The ID for the shared folder. /// @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 An initialized instance. /// - (instancetype)initWithSharedFolderId:(NSString *)sharedFolderId leaveACopy:(nullable NSNumber *)leaveACopy; /// /// 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 `RelinquishFolderMembershipArg` struct. /// @interface DBSHARINGRelinquishFolderMembershipArgSerializer : NSObject /// /// Serializes `DBSHARINGRelinquishFolderMembershipArg` instances. /// /// @param instance An instance of the `DBSHARINGRelinquishFolderMembershipArg` /// API object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGRelinquishFolderMembershipArg` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGRelinquishFolderMembershipArg *)instance; /// /// Deserializes `DBSHARINGRelinquishFolderMembershipArg` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGRelinquishFolderMembershipArg` API object. /// /// @return An instantiation of the `DBSHARINGRelinquishFolderMembershipArg` /// object. /// + (DBSHARINGRelinquishFolderMembershipArg *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGRelinquishFolderMembershipError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGRelinquishFolderMembershipError; @class DBSHARINGSharedFolderAccessError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `RelinquishFolderMembershipError` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGRelinquishFolderMembershipError : NSObject #pragma mark - Instance fields /// The `DBSHARINGRelinquishFolderMembershipErrorTag` enum type represents the /// possible tag states with which the /// `DBSHARINGRelinquishFolderMembershipError` union can exist. 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 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, /// 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 only has inherited access to the shared folder. You /// can't relinquish inherited membership to folders. DBSHARINGRelinquishFolderMembershipErrorNoExplicitAccess, /// (no description). DBSHARINGRelinquishFolderMembershipErrorOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBSHARINGRelinquishFolderMembershipErrorTag tag; /// (no description). @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". /// /// @param accessError (no description). /// /// @return An initialized instance. /// - (instancetype)initWithAccessError:(DBSHARINGSharedFolderAccessError *)accessError; /// /// Initializes union class with tag state of "folder_owner". /// /// Description of the "folder_owner" tag state: The current user is the owner /// of the shared folder. Owners cannot relinquish membership to their own /// folders. Try unsharing or transferring ownership first. /// /// @return An initialized instance. /// - (instancetype)initWithFolderOwner; /// /// Initializes union class with tag state of "mounted". /// /// Description of the "mounted" tag state: The shared folder is currently /// mounted. Unmount the shared folder before relinquishing membership. /// /// @return An initialized instance. /// - (instancetype)initWithMounted; /// /// Initializes union class with tag state of "group_access". /// /// Description of the "group_access" tag state: The current user has access to /// the shared folder via a group. You can't relinquish membership to folders /// shared via groups. /// /// @return An initialized instance. /// - (instancetype)initWithGroupAccess; /// /// Initializes union class with tag state of "team_folder". /// /// Description of the "team_folder" tag state: This action cannot be performed /// on a team shared folder. /// /// @return An initialized instance. /// - (instancetype)initWithTeamFolder; /// /// 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 "no_explicit_access". /// /// Description of the "no_explicit_access" tag state: The current user only has /// inherited access to the shared folder. You can't relinquish inherited /// membership to folders. /// /// @return An initialized instance. /// - (instancetype)initWithNoExplicitAccess; /// /// 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 "folder_owner". /// /// @return Whether the union's current tag state has value "folder_owner". /// - (BOOL)isFolderOwner; /// /// Retrieves whether the union's current tag state has value "mounted". /// /// @return Whether the union's current tag state has value "mounted". /// - (BOOL)isMounted; /// /// Retrieves whether the union's current tag state has value "group_access". /// /// @return Whether the union's current tag state has value "group_access". /// - (BOOL)isGroupAccess; /// /// Retrieves whether the union's current tag state has value "team_folder". /// /// @return Whether the union's current tag state has value "team_folder". /// - (BOOL)isTeamFolder; /// /// 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 /// "no_explicit_access". /// /// @return Whether the union's current tag state has value /// "no_explicit_access". /// - (BOOL)isNoExplicitAccess; /// /// 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 `DBSHARINGRelinquishFolderMembershipError` /// union. /// @interface DBSHARINGRelinquishFolderMembershipErrorSerializer : NSObject /// /// Serializes `DBSHARINGRelinquishFolderMembershipError` instances. /// /// @param instance An instance of the /// `DBSHARINGRelinquishFolderMembershipError` API object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGRelinquishFolderMembershipError` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGRelinquishFolderMembershipError *)instance; /// /// Deserializes `DBSHARINGRelinquishFolderMembershipError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGRelinquishFolderMembershipError` API object. /// /// @return An instantiation of the `DBSHARINGRelinquishFolderMembershipError` /// object. /// + (DBSHARINGRelinquishFolderMembershipError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGRemoveFileMemberArg.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGMemberSelector; @class DBSHARINGRemoveFileMemberArg; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `RemoveFileMemberArg` struct. /// /// Arguments for `removeFileMember2`. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGRemoveFileMemberArg : NSObject #pragma mark - Instance fields /// File from which to remove members. @property (nonatomic, readonly, copy) NSString *file; /// Member to remove from this file. Note that even if an email is specified, it /// may result in the removal of a user (not an invitee) if the user's main /// account corresponds to that email address. @property (nonatomic, readonly) DBSHARINGMemberSelector *member; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param file File from which to remove members. /// @param member Member to remove from this file. Note that even if an email is /// specified, it may result in the removal of a user (not an invitee) if the /// user's main account corresponds to that email address. /// /// @return An initialized instance. /// - (instancetype)initWithFile:(NSString *)file member:(DBSHARINGMemberSelector *)member; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `RemoveFileMemberArg` struct. /// @interface DBSHARINGRemoveFileMemberArgSerializer : NSObject /// /// Serializes `DBSHARINGRemoveFileMemberArg` instances. /// /// @param instance An instance of the `DBSHARINGRemoveFileMemberArg` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGRemoveFileMemberArg` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGRemoveFileMemberArg *)instance; /// /// Deserializes `DBSHARINGRemoveFileMemberArg` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGRemoveFileMemberArg` API object. /// /// @return An instantiation of the `DBSHARINGRemoveFileMemberArg` object. /// + (DBSHARINGRemoveFileMemberArg *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGRemoveFileMemberError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGMemberAccessLevelResult; @class DBSHARINGRemoveFileMemberError; @class DBSHARINGSharingFileAccessError; @class DBSHARINGSharingUserError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `RemoveFileMemberError` union. /// /// Errors for `removeFileMember2`. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGRemoveFileMemberError : NSObject #pragma mark - Instance fields /// The `DBSHARINGRemoveFileMemberErrorTag` enum type represents the possible /// tag states with which the `DBSHARINGRemoveFileMemberError` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBSHARINGRemoveFileMemberErrorTag){ /// (no description). DBSHARINGRemoveFileMemberErrorUserError, /// (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, /// (no description). DBSHARINGRemoveFileMemberErrorOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBSHARINGRemoveFileMemberErrorTag tag; /// (no description). @note Ensure the `isUserError` method returns true before /// accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) DBSHARINGSharingUserError *userError; /// (no description). @note Ensure the `isAccessError` method returns true /// before accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) DBSHARINGSharingFileAccessError *accessError; /// 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. @note Ensure the `isNoExplicitAccess` method /// returns true before accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) DBSHARINGMemberAccessLevelResult *noExplicitAccess; #pragma mark - Constructors /// /// Initializes union class with tag state of "user_error". /// /// @param userError (no description). /// /// @return An initialized instance. /// - (instancetype)initWithUserError:(DBSHARINGSharingUserError *)userError; /// /// Initializes union class with tag state of "access_error". /// /// @param accessError (no description). /// /// @return An initialized instance. /// - (instancetype)initWithAccessError:(DBSHARINGSharingFileAccessError *)accessError; /// /// Initializes union class with tag state of "no_explicit_access". /// /// Description of the "no_explicit_access" tag state: 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. /// /// @param noExplicitAccess 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. /// /// @return An initialized instance. /// - (instancetype)initWithNoExplicitAccess:(DBSHARINGMemberAccessLevelResult *)noExplicitAccess; /// /// 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_error". /// /// @note Call this method and ensure it returns true before accessing the /// `userError` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value "user_error". /// - (BOOL)isUserError; /// /// 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_explicit_access". /// /// @note Call this method and ensure it returns true before accessing the /// `noExplicitAccess` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value /// "no_explicit_access". /// - (BOOL)isNoExplicitAccess; /// /// 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 `DBSHARINGRemoveFileMemberError` union. /// @interface DBSHARINGRemoveFileMemberErrorSerializer : NSObject /// /// Serializes `DBSHARINGRemoveFileMemberError` instances. /// /// @param instance An instance of the `DBSHARINGRemoveFileMemberError` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGRemoveFileMemberError` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGRemoveFileMemberError *)instance; /// /// Deserializes `DBSHARINGRemoveFileMemberError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGRemoveFileMemberError` API object. /// /// @return An instantiation of the `DBSHARINGRemoveFileMemberError` object. /// + (DBSHARINGRemoveFileMemberError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGRemoveFolderMemberArg.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGMemberSelector; @class DBSHARINGRemoveFolderMemberArg; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `RemoveFolderMemberArg` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGRemoveFolderMemberArg : NSObject #pragma mark - Instance fields /// The ID for the shared folder. @property (nonatomic, readonly, copy) NSString *sharedFolderId; /// The member to remove from the folder. @property (nonatomic, readonly) DBSHARINGMemberSelector *member; /// 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. 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 /// /// Full constructor for the struct (exposes all instance variables). /// /// @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. 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. /// - (instancetype)initWithSharedFolderId:(NSString *)sharedFolderId member:(DBSHARINGMemberSelector *)member leaveACopy:(NSNumber *)leaveACopy; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `RemoveFolderMemberArg` struct. /// @interface DBSHARINGRemoveFolderMemberArgSerializer : NSObject /// /// Serializes `DBSHARINGRemoveFolderMemberArg` instances. /// /// @param instance An instance of the `DBSHARINGRemoveFolderMemberArg` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGRemoveFolderMemberArg` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGRemoveFolderMemberArg *)instance; /// /// Deserializes `DBSHARINGRemoveFolderMemberArg` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGRemoveFolderMemberArg` API object. /// /// @return An instantiation of the `DBSHARINGRemoveFolderMemberArg` object. /// + (DBSHARINGRemoveFolderMemberArg *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGRemoveFolderMemberError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGRemoveFolderMemberError; @class DBSHARINGSharedFolderAccessError; @class DBSHARINGSharedFolderMemberError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `RemoveFolderMemberError` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGRemoveFolderMemberError : NSObject #pragma mark - Instance fields /// The `DBSHARINGRemoveFolderMemberErrorTag` enum type represents the possible /// tag states with which the `DBSHARINGRemoveFolderMemberError` union can /// exist. typedef NS_CLOSED_ENUM(NSInteger, DBSHARINGRemoveFolderMemberErrorTag){ /// (no description). DBSHARINGRemoveFolderMemberErrorAccessError, /// (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 has access to the shared folder via a group. DBSHARINGRemoveFolderMemberErrorGroupAccess, /// This action cannot be performed on a team shared folder. DBSHARINGRemoveFolderMemberErrorTeamFolder, /// 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, /// (no description). DBSHARINGRemoveFolderMemberErrorOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBSHARINGRemoveFolderMemberErrorTag tag; /// (no description). @note Ensure the `isAccessError` method returns true /// before accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) DBSHARINGSharedFolderAccessError *accessError; /// (no description). @note Ensure the `isMemberError` method returns true /// before accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) DBSHARINGSharedFolderMemberError *memberError; #pragma mark - Constructors /// /// Initializes union class with tag state of "access_error". /// /// @param accessError (no description). /// /// @return An initialized instance. /// - (instancetype)initWithAccessError:(DBSHARINGSharedFolderAccessError *)accessError; /// /// Initializes union class with tag state of "member_error". /// /// @param memberError (no description). /// /// @return An initialized instance. /// - (instancetype)initWithMemberError:(DBSHARINGSharedFolderMemberError *)memberError; /// /// Initializes union class with tag state of "folder_owner". /// /// Description of the "folder_owner" tag state: The target user is the owner of /// the shared folder. You can't remove this user until ownership has been /// transferred to another member. /// /// @return An initialized instance. /// - (instancetype)initWithFolderOwner; /// /// Initializes union class with tag state of "group_access". /// /// Description of the "group_access" tag state: The target user has access to /// the shared folder via a group. /// /// @return An initialized instance. /// - (instancetype)initWithGroupAccess; /// /// Initializes union class with tag state of "team_folder". /// /// Description of the "team_folder" tag state: This action cannot be performed /// on a team shared folder. /// /// @return An initialized instance. /// - (instancetype)initWithTeamFolder; /// /// 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 "too_many_files". /// /// Description of the "too_many_files" tag state: This shared folder has too /// many files for leaving a copy. You can still remove this user without /// leaving a copy. /// /// @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 "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 "member_error". /// /// @note Call this method and ensure it returns true before accessing the /// `memberError` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value "member_error". /// - (BOOL)isMemberError; /// /// Retrieves whether the union's current tag state has value "folder_owner". /// /// @return Whether the union's current tag state has value "folder_owner". /// - (BOOL)isFolderOwner; /// /// Retrieves whether the union's current tag state has value "group_access". /// /// @return Whether the union's current tag state has value "group_access". /// - (BOOL)isGroupAccess; /// /// Retrieves whether the union's current tag state has value "team_folder". /// /// @return Whether the union's current tag state has value "team_folder". /// - (BOOL)isTeamFolder; /// /// 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 "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 `DBSHARINGRemoveFolderMemberError` union. /// @interface DBSHARINGRemoveFolderMemberErrorSerializer : NSObject /// /// Serializes `DBSHARINGRemoveFolderMemberError` instances. /// /// @param instance An instance of the `DBSHARINGRemoveFolderMemberError` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGRemoveFolderMemberError` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGRemoveFolderMemberError *)instance; /// /// Deserializes `DBSHARINGRemoveFolderMemberError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGRemoveFolderMemberError` API object. /// /// @return An instantiation of the `DBSHARINGRemoveFolderMemberError` object. /// + (DBSHARINGRemoveFolderMemberError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGRemoveMemberJobStatus.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGMemberAccessLevelResult; @class DBSHARINGRemoveFolderMemberError; @class DBSHARINGRemoveMemberJobStatus; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `RemoveMemberJobStatus` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGRemoveMemberJobStatus : NSObject #pragma mark - Instance fields /// The `DBSHARINGRemoveMemberJobStatusTag` enum type represents the possible /// tag states with which the `DBSHARINGRemoveMemberJobStatus` union can exist. 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, /// (no description). DBSHARINGRemoveMemberJobStatusFailed, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBSHARINGRemoveMemberJobStatusTag tag; /// Removing the folder member has finished. The value is information about /// whether the member has another form of access. @note Ensure the `isComplete` /// method returns true before accessing, otherwise a runtime exception will be /// raised. @property (nonatomic, readonly) DBSHARINGMemberAccessLevelResult *complete; /// (no description). @note Ensure the `isFailed` method returns true before /// accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) DBSHARINGRemoveFolderMemberError *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: Removing the folder member has /// finished. The value is information about whether the member has another form /// of access. /// /// @param complete Removing the folder member has finished. The value is /// information about whether the member has another form of access. /// /// @return An initialized instance. /// - (instancetype)initWithComplete:(DBSHARINGMemberAccessLevelResult *)complete; /// /// Initializes union class with tag state of "failed". /// /// @param failed (no description). /// /// @return An initialized instance. /// - (instancetype)initWithFailed:(DBSHARINGRemoveFolderMemberError *)failed; - (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 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 `DBSHARINGRemoveMemberJobStatus` union. /// @interface DBSHARINGRemoveMemberJobStatusSerializer : NSObject /// /// Serializes `DBSHARINGRemoveMemberJobStatus` instances. /// /// @param instance An instance of the `DBSHARINGRemoveMemberJobStatus` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGRemoveMemberJobStatus` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGRemoveMemberJobStatus *)instance; /// /// Deserializes `DBSHARINGRemoveMemberJobStatus` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGRemoveMemberJobStatus` API object. /// /// @return An instantiation of the `DBSHARINGRemoveMemberJobStatus` object. /// + (DBSHARINGRemoveMemberJobStatus *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGRequestedLinkAccessLevel.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGRequestedVisibility.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGRequestedVisibility; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `RequestedVisibility` union. /// /// The access permission that can be requested by the caller for the shared /// link. Note that the final resolved visibility of the shared link takes into /// account other aspects, such as team and shared folder settings. Check the /// ResolvedVisibility for more info on the possible resolved visibility values /// of 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 DBSHARINGRequestedVisibility : NSObject #pragma mark - Instance fields /// The `DBSHARINGRequestedVisibilityTag` enum type represents the possible tag /// states with which the `DBSHARINGRequestedVisibility` union can exist. 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, /// A link-specific password is required to access the link. Login is not /// required. DBSHARINGRequestedVisibilityPassword, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBSHARINGRequestedVisibilityTag 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; - (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 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 `DBSHARINGRequestedVisibility` union. /// @interface DBSHARINGRequestedVisibilitySerializer : NSObject /// /// Serializes `DBSHARINGRequestedVisibility` instances. /// /// @param instance An instance of the `DBSHARINGRequestedVisibility` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGRequestedVisibility` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGRequestedVisibility *)instance; /// /// Deserializes `DBSHARINGRequestedVisibility` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGRequestedVisibility` API object. /// /// @return An instantiation of the `DBSHARINGRequestedVisibility` object. /// + (DBSHARINGRequestedVisibility *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGResolvedVisibility.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGResolvedVisibility; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `ResolvedVisibility` union. /// /// The actual access permissions values of shared links after taking into /// account user preferences and the team and shared folder settings. Check the /// RequestedVisibility for more info on the possible visibility values that can /// be set by the shared link's owner. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGResolvedVisibility : NSObject #pragma mark - Instance fields /// The `DBSHARINGResolvedVisibilityTag` enum type represents the possible tag /// states with which the `DBSHARINGResolvedVisibility` union can exist. 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, /// 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 shared folder containing the linked file can access /// the link. Login is required. DBSHARINGResolvedVisibilitySharedFolderOnly, /// 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, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBSHARINGResolvedVisibilityTag 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 `DBSHARINGResolvedVisibility` union. /// @interface DBSHARINGResolvedVisibilitySerializer : NSObject /// /// Serializes `DBSHARINGResolvedVisibility` instances. /// /// @param instance An instance of the `DBSHARINGResolvedVisibility` API object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGResolvedVisibility` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGResolvedVisibility *)instance; /// /// Deserializes `DBSHARINGResolvedVisibility` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGResolvedVisibility` API object. /// /// @return An instantiation of the `DBSHARINGResolvedVisibility` object. /// + (DBSHARINGResolvedVisibility *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGRevokeSharedLinkArg.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGRevokeSharedLinkArg; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `RevokeSharedLinkArg` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGRevokeSharedLinkArg : NSObject #pragma mark - Instance fields /// URL of the shared link. @property (nonatomic, readonly, copy) NSString *url; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param url URL of the shared link. /// /// @return An initialized instance. /// - (instancetype)initWithUrl:(NSString *)url; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `RevokeSharedLinkArg` struct. /// @interface DBSHARINGRevokeSharedLinkArgSerializer : NSObject /// /// Serializes `DBSHARINGRevokeSharedLinkArg` instances. /// /// @param instance An instance of the `DBSHARINGRevokeSharedLinkArg` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGRevokeSharedLinkArg` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGRevokeSharedLinkArg *)instance; /// /// Deserializes `DBSHARINGRevokeSharedLinkArg` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGRevokeSharedLinkArg` API object. /// /// @return An instantiation of the `DBSHARINGRevokeSharedLinkArg` object. /// + (DBSHARINGRevokeSharedLinkArg *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGRevokeSharedLinkError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGRevokeSharedLinkError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `RevokeSharedLinkError` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGRevokeSharedLinkError : NSObject #pragma mark - Instance fields /// The `DBSHARINGRevokeSharedLinkErrorTag` enum type represents the possible /// tag states with which the `DBSHARINGRevokeSharedLinkError` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBSHARINGRevokeSharedLinkErrorTag){ /// The shared link wasn't found. DBSHARINGRevokeSharedLinkErrorSharedLinkNotFound, /// The caller is not allowed to access this shared link. DBSHARINGRevokeSharedLinkErrorSharedLinkAccessDenied, /// This type of link is not supported; use `files` instead. DBSHARINGRevokeSharedLinkErrorUnsupportedLinkType, /// (no description). DBSHARINGRevokeSharedLinkErrorOther, /// Shared link is malformed. DBSHARINGRevokeSharedLinkErrorSharedLinkMalformed, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBSHARINGRevokeSharedLinkErrorTag tag; #pragma mark - Constructors /// /// Initializes union class with tag state of "shared_link_not_found". /// /// Description of the "shared_link_not_found" tag state: The shared link wasn't /// found. /// /// @return An initialized instance. /// - (instancetype)initWithSharedLinkNotFound; /// /// Initializes union class with tag state of "shared_link_access_denied". /// /// Description of the "shared_link_access_denied" tag state: The caller is not /// allowed to access this shared link. /// /// @return An initialized instance. /// - (instancetype)initWithSharedLinkAccessDenied; /// /// 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; use `files` instead. /// /// @return An initialized instance. /// - (instancetype)initWithUnsupportedLinkType; /// /// Initializes union class with tag state of "other". /// /// @return An initialized instance. /// - (instancetype)initWithOther; /// /// Initializes union class with tag state of "shared_link_malformed". /// /// Description of the "shared_link_malformed" tag state: Shared link is /// malformed. /// /// @return An initialized instance. /// - (instancetype)initWithSharedLinkMalformed; - (instancetype)init NS_UNAVAILABLE; #pragma mark - Tag state methods /// /// Retrieves whether the union's current tag state has value /// "shared_link_not_found". /// /// @return Whether the union's current tag state has value /// "shared_link_not_found". /// - (BOOL)isSharedLinkNotFound; /// /// Retrieves whether the union's current tag state has value /// "shared_link_access_denied". /// /// @return Whether the union's current tag state has value /// "shared_link_access_denied". /// - (BOOL)isSharedLinkAccessDenied; /// /// Retrieves whether the union's current tag state has value /// "unsupported_link_type". /// /// @return Whether the union's current tag state has value /// "unsupported_link_type". /// - (BOOL)isUnsupportedLinkType; /// /// 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 /// "shared_link_malformed". /// /// @return Whether the union's current tag state has value /// "shared_link_malformed". /// - (BOOL)isSharedLinkMalformed; /// /// 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 `DBSHARINGRevokeSharedLinkError` union. /// @interface DBSHARINGRevokeSharedLinkErrorSerializer : NSObject /// /// Serializes `DBSHARINGRevokeSharedLinkError` instances. /// /// @param instance An instance of the `DBSHARINGRevokeSharedLinkError` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGRevokeSharedLinkError` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGRevokeSharedLinkError *)instance; /// /// Deserializes `DBSHARINGRevokeSharedLinkError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGRevokeSharedLinkError` API object. /// /// @return An instantiation of the `DBSHARINGRevokeSharedLinkError` object. /// + (DBSHARINGRevokeSharedLinkError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGSetAccessInheritanceArg.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGSetAccessInheritanceError.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGShareFolderArg.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSHARINGShareFolderArgBase.h" #import "DBSerializableProtocol.h" @class DBSHARINGAccessInheritance; @class DBSHARINGAclUpdatePolicy; @class DBSHARINGFolderAction; @class DBSHARINGLinkSettings; @class DBSHARINGMemberPolicy; @class DBSHARINGShareFolderArg; @class DBSHARINGSharedLinkPolicy; @class DBSHARINGViewerInfoPolicy; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `ShareFolderArg` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGShareFolderArg : DBSHARINGShareFolderArgBase #pragma mark - Instance fields /// 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 the /// folder. @property (nonatomic, readonly, nullable) NSArray *actions; /// Settings on the link for this folder. @property (nonatomic, readonly, nullable) DBSHARINGLinkSettings *linkSettings; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @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 /// applicable if the current user is on a team. /// @param sharedLinkPolicy The policy to apply to shared links created for /// content inside this shared folder. The current user must be on a team to /// 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 /// authenticated user can perform on the folder. /// @param linkSettings Settings on the link for this folder. /// /// @return An initialized instance. /// - (instancetype)initWithPath:(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; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @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. /// - (instancetype)initWithPath:(NSString *)path; @end #pragma mark - Serializer Object /// /// The serialization class for the `ShareFolderArg` struct. /// @interface DBSHARINGShareFolderArgSerializer : NSObject /// /// Serializes `DBSHARINGShareFolderArg` instances. /// /// @param instance An instance of the `DBSHARINGShareFolderArg` API object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGShareFolderArg` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGShareFolderArg *)instance; /// /// Deserializes `DBSHARINGShareFolderArg` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGShareFolderArg` API object. /// /// @return An instantiation of the `DBSHARINGShareFolderArg` object. /// + (DBSHARINGShareFolderArg *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGShareFolderArgBase.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGAccessInheritance; @class DBSHARINGAclUpdatePolicy; @class DBSHARINGMemberPolicy; @class DBSHARINGShareFolderArgBase; @class DBSHARINGSharedLinkPolicy; @class DBSHARINGViewerInfoPolicy; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `ShareFolderArgBase` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGShareFolderArgBase : NSObject #pragma mark - Instance fields /// Who can add and remove members of this shared folder. @property (nonatomic, readonly, nullable) DBSHARINGAclUpdatePolicy *aclUpdatePolicy; /// Whether to force the share to happen asynchronously. @property (nonatomic, readonly) NSNumber *forceAsync; /// Who can be a member of this shared folder. Only applicable if the current /// user is on a team. @property (nonatomic, readonly, nullable) DBSHARINGMemberPolicy *memberPolicy; /// 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 /// folder. The current user must be on a team to set this policy to `members` /// in `DBSHARINGSharedLinkPolicy`. @property (nonatomic, readonly, nullable) DBSHARINGSharedLinkPolicy *sharedLinkPolicy; /// 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 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 /// applicable if the current user is on a team. /// @param sharedLinkPolicy The policy to apply to shared links created for /// content inside this shared folder. The current user must be on a team to /// 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. /// - (instancetype)initWithPath:(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; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @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. /// - (instancetype)initWithPath:(NSString *)path; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `ShareFolderArgBase` struct. /// @interface DBSHARINGShareFolderArgBaseSerializer : NSObject /// /// Serializes `DBSHARINGShareFolderArgBase` instances. /// /// @param instance An instance of the `DBSHARINGShareFolderArgBase` API object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGShareFolderArgBase` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGShareFolderArgBase *)instance; /// /// Deserializes `DBSHARINGShareFolderArgBase` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGShareFolderArgBase` API object. /// /// @return An instantiation of the `DBSHARINGShareFolderArgBase` object. /// + (DBSHARINGShareFolderArgBase *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGShareFolderError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGShareFolderError; @class DBSHARINGSharePathError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `ShareFolderError` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGShareFolderError : NSObject #pragma mark - Instance fields /// The `DBSHARINGShareFolderErrorTag` enum type represents the possible tag /// states with which the `DBSHARINGShareFolderError` union can exist. 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, /// 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, /// (no description). DBSHARINGShareFolderErrorOther, /// The current user does not have permission to perform this action. DBSHARINGShareFolderErrorNoPermission, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBSHARINGShareFolderErrorTag tag; /// `path` in `DBSHARINGShareFolderArg` is invalid. @note Ensure the `isBadPath` /// method returns true before accessing, otherwise a runtime exception will be /// raised. @property (nonatomic, readonly) DBSHARINGSharePathError *badPath; #pragma mark - Constructors /// /// Initializes union class with tag state of "email_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 "bad_path". /// /// Description of the "bad_path" tag state: `path` in `DBSHARINGShareFolderArg` /// is invalid. /// /// @param badPath `path` in `DBSHARINGShareFolderArg` is invalid. /// /// @return An initialized instance. /// - (instancetype)initWithBadPath:(DBSHARINGSharePathError *)badPath; /// /// Initializes union class with tag state of /// "team_policy_disallows_member_policy". /// /// Description of the "team_policy_disallows_member_policy" tag state: Team /// policy is more restrictive than `memberPolicy` in `DBSHARINGShareFolderArg`. /// /// @return An initialized instance. /// - (instancetype)initWithTeamPolicyDisallowsMemberPolicy; /// /// Initializes union class with tag state of "disallowed_shared_link_policy". /// /// Description of the "disallowed_shared_link_policy" tag state: The current /// user's account is not allowed to select the specified `sharedLinkPolicy` in /// `DBSHARINGShareFolderArg`. /// /// @return An initialized instance. /// - (instancetype)initWithDisallowedSharedLinkPolicy; /// /// Initializes union class with tag state of "other". /// /// @return An initialized instance. /// - (instancetype)initWithOther; /// /// 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; - (instancetype)init NS_UNAVAILABLE; #pragma mark - Tag state methods /// /// 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 "bad_path". /// /// @note Call this method and ensure it returns true before accessing the /// `badPath` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value "bad_path". /// - (BOOL)isBadPath; /// /// Retrieves whether the union's current tag state has value /// "team_policy_disallows_member_policy". /// /// @return Whether the union's current tag state has value /// "team_policy_disallows_member_policy". /// - (BOOL)isTeamPolicyDisallowsMemberPolicy; /// /// Retrieves whether the union's current tag state has value /// "disallowed_shared_link_policy". /// /// @return Whether the union's current tag state has value /// "disallowed_shared_link_policy". /// - (BOOL)isDisallowedSharedLinkPolicy; /// /// 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 "no_permission". /// /// @return Whether the union's current tag state has value "no_permission". /// - (BOOL)isNoPermission; /// /// 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 `DBSHARINGShareFolderError` union. /// @interface DBSHARINGShareFolderErrorSerializer : NSObject /// /// Serializes `DBSHARINGShareFolderError` instances. /// /// @param instance An instance of the `DBSHARINGShareFolderError` API object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGShareFolderError` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGShareFolderError *)instance; /// /// Deserializes `DBSHARINGShareFolderError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGShareFolderError` API object. /// /// @return An instantiation of the `DBSHARINGShareFolderError` object. /// + (DBSHARINGShareFolderError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGShareFolderErrorBase.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGShareFolderErrorBase; @class DBSHARINGSharePathError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `ShareFolderErrorBase` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGShareFolderErrorBase : NSObject #pragma mark - Instance fields /// The `DBSHARINGShareFolderErrorBaseTag` enum type represents the possible tag /// states with which the `DBSHARINGShareFolderErrorBase` union can exist. 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, /// 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, /// (no description). DBSHARINGShareFolderErrorBaseOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBSHARINGShareFolderErrorBaseTag tag; /// `path` in `DBSHARINGShareFolderArg` is invalid. @note Ensure the `isBadPath` /// method returns true before accessing, otherwise a runtime exception will be /// raised. @property (nonatomic, readonly) DBSHARINGSharePathError *badPath; #pragma mark - Constructors /// /// Initializes union class with tag state of "email_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 "bad_path". /// /// Description of the "bad_path" tag state: `path` in `DBSHARINGShareFolderArg` /// is invalid. /// /// @param badPath `path` in `DBSHARINGShareFolderArg` is invalid. /// /// @return An initialized instance. /// - (instancetype)initWithBadPath:(DBSHARINGSharePathError *)badPath; /// /// Initializes union class with tag state of /// "team_policy_disallows_member_policy". /// /// Description of the "team_policy_disallows_member_policy" tag state: Team /// policy is more restrictive than `memberPolicy` in `DBSHARINGShareFolderArg`. /// /// @return An initialized instance. /// - (instancetype)initWithTeamPolicyDisallowsMemberPolicy; /// /// Initializes union class with tag state of "disallowed_shared_link_policy". /// /// Description of the "disallowed_shared_link_policy" tag state: The current /// user's account is not allowed to select the specified `sharedLinkPolicy` in /// `DBSHARINGShareFolderArg`. /// /// @return An initialized instance. /// - (instancetype)initWithDisallowedSharedLinkPolicy; /// /// 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_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 "bad_path". /// /// @note Call this method and ensure it returns true before accessing the /// `badPath` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value "bad_path". /// - (BOOL)isBadPath; /// /// Retrieves whether the union's current tag state has value /// "team_policy_disallows_member_policy". /// /// @return Whether the union's current tag state has value /// "team_policy_disallows_member_policy". /// - (BOOL)isTeamPolicyDisallowsMemberPolicy; /// /// Retrieves whether the union's current tag state has value /// "disallowed_shared_link_policy". /// /// @return Whether the union's current tag state has value /// "disallowed_shared_link_policy". /// - (BOOL)isDisallowedSharedLinkPolicy; /// /// 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 `DBSHARINGShareFolderErrorBase` union. /// @interface DBSHARINGShareFolderErrorBaseSerializer : NSObject /// /// Serializes `DBSHARINGShareFolderErrorBase` instances. /// /// @param instance An instance of the `DBSHARINGShareFolderErrorBase` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGShareFolderErrorBase` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGShareFolderErrorBase *)instance; /// /// Deserializes `DBSHARINGShareFolderErrorBase` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGShareFolderErrorBase` API object. /// /// @return An instantiation of the `DBSHARINGShareFolderErrorBase` object. /// + (DBSHARINGShareFolderErrorBase *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGShareFolderJobStatus.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGShareFolderError; @class DBSHARINGShareFolderJobStatus; @class DBSHARINGSharedFolderMetadata; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `ShareFolderJobStatus` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGShareFolderJobStatus : NSObject #pragma mark - Instance fields /// The `DBSHARINGShareFolderJobStatusTag` enum type represents the possible tag /// states with which the `DBSHARINGShareFolderJobStatus` union can exist. 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, /// (no description). DBSHARINGShareFolderJobStatusFailed, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBSHARINGShareFolderJobStatusTag tag; /// The share job has finished. The value is the metadata for the folder. @note /// Ensure the `isComplete` method returns true before accessing, otherwise a /// runtime exception will be raised. @property (nonatomic, readonly) DBSHARINGSharedFolderMetadata *complete; /// (no description). @note Ensure the `isFailed` method returns true before /// accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) DBSHARINGShareFolderError *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 share job has finished. The /// value is the metadata for the folder. /// /// @param complete The share job has finished. The value is the metadata for /// the folder. /// /// @return An initialized instance. /// - (instancetype)initWithComplete:(DBSHARINGSharedFolderMetadata *)complete; /// /// Initializes union class with tag state of "failed". /// /// @param failed (no description). /// /// @return An initialized instance. /// - (instancetype)initWithFailed:(DBSHARINGShareFolderError *)failed; - (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 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 `DBSHARINGShareFolderJobStatus` union. /// @interface DBSHARINGShareFolderJobStatusSerializer : NSObject /// /// Serializes `DBSHARINGShareFolderJobStatus` instances. /// /// @param instance An instance of the `DBSHARINGShareFolderJobStatus` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGShareFolderJobStatus` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGShareFolderJobStatus *)instance; /// /// Deserializes `DBSHARINGShareFolderJobStatus` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGShareFolderJobStatus` API object. /// /// @return An instantiation of the `DBSHARINGShareFolderJobStatus` object. /// + (DBSHARINGShareFolderJobStatus *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGShareFolderLaunch.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGShareFolderLaunch; @class DBSHARINGSharedFolderMetadata; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `ShareFolderLaunch` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGShareFolderLaunch : NSObject #pragma mark - Instance fields /// The `DBSHARINGShareFolderLaunchTag` enum type represents the possible tag /// states with which the `DBSHARINGShareFolderLaunch` union can exist. 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, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBSHARINGShareFolderLaunchTag 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) DBSHARINGSharedFolderMetadata *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:(DBSHARINGSharedFolderMetadata *)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 `DBSHARINGShareFolderLaunch` union. /// @interface DBSHARINGShareFolderLaunchSerializer : NSObject /// /// Serializes `DBSHARINGShareFolderLaunch` instances. /// /// @param instance An instance of the `DBSHARINGShareFolderLaunch` API object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGShareFolderLaunch` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGShareFolderLaunch *)instance; /// /// Deserializes `DBSHARINGShareFolderLaunch` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGShareFolderLaunch` API object. /// /// @return An instantiation of the `DBSHARINGShareFolderLaunch` object. /// + (DBSHARINGShareFolderLaunch *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGSharePathError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGSharePathError; @class DBSHARINGSharedFolderMetadata; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `SharePathError` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGSharePathError : NSObject #pragma mark - Instance fields /// The `DBSHARINGSharePathErrorTag` enum type represents the possible tag /// states with which the `DBSHARINGSharePathError` union can exist. 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 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 team folders. DBSHARINGSharePathErrorContainsTeamFolder, /// We do not support sharing an app folder. DBSHARINGSharePathErrorIsAppFolder, /// 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 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, /// Path is not valid. DBSHARINGSharePathErrorInvalidPath, /// 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 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, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBSHARINGSharePathErrorTag tag; /// Folder is already shared. Contains metadata about the existing shared /// folder. @note Ensure the `isAlreadyShared` method returns true before /// accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) DBSHARINGSharedFolderMetadata *alreadyShared; #pragma mark - Constructors /// /// Initializes union class with tag state of "is_file". /// /// Description of the "is_file" tag state: A file is at the specified path. /// /// @return An initialized instance. /// - (instancetype)initWithIsFile; /// /// Initializes union class with tag state of "inside_shared_folder". /// /// Description of the "inside_shared_folder" tag state: We do not support /// sharing a folder inside a shared folder. /// /// @return An initialized instance. /// - (instancetype)initWithInsideSharedFolder; /// /// Initializes union class with tag state of "contains_shared_folder". /// /// Description of the "contains_shared_folder" tag state: We do not support /// shared folders that contain shared folders. /// /// @return An initialized instance. /// - (instancetype)initWithContainsSharedFolder; /// /// Initializes union class with tag state of "contains_app_folder". /// /// Description of the "contains_app_folder" tag state: We do not support shared /// folders that contain app folders. /// /// @return An initialized instance. /// - (instancetype)initWithContainsAppFolder; /// /// Initializes union class with tag state of "contains_team_folder". /// /// Description of the "contains_team_folder" tag state: We do not support /// shared folders that contain team folders. /// /// @return An initialized instance. /// - (instancetype)initWithContainsTeamFolder; /// /// Initializes union class with tag state of "is_app_folder". /// /// Description of the "is_app_folder" tag state: We do not support sharing an /// app folder. /// /// @return An initialized instance. /// - (instancetype)initWithIsAppFolder; /// /// Initializes union class with tag state of "inside_app_folder". /// /// Description of the "inside_app_folder" tag state: We do not support sharing /// a folder inside an app folder. /// /// @return An initialized instance. /// - (instancetype)initWithInsideAppFolder; /// /// Initializes union class with tag state of "is_public_folder". /// /// Description of the "is_public_folder" tag state: A public folder can't be /// shared this way. Use a public link instead. /// /// @return An initialized instance. /// - (instancetype)initWithIsPublicFolder; /// /// Initializes union class with tag state of "inside_public_folder". /// /// Description of the "inside_public_folder" tag state: A folder inside a /// public folder can't be shared this way. Use a public link instead. /// /// @return An initialized instance. /// - (instancetype)initWithInsidePublicFolder; /// /// Initializes union class with tag state of "already_shared". /// /// Description of the "already_shared" tag state: Folder is already shared. /// Contains metadata about the existing shared folder. /// /// @param alreadyShared Folder is already shared. Contains metadata about the /// existing shared folder. /// /// @return An initialized instance. /// - (instancetype)initWithAlreadyShared:(DBSHARINGSharedFolderMetadata *)alreadyShared; /// /// Initializes union class with tag state of "invalid_path". /// /// Description of the "invalid_path" tag state: Path is not valid. /// /// @return An initialized instance. /// - (instancetype)initWithInvalidPath; /// /// Initializes union class with tag state of "is_osx_package". /// /// Description of the "is_osx_package" tag state: We do not support sharing a /// Mac OS X package. /// /// @return An initialized instance. /// - (instancetype)initWithIsOsxPackage; /// /// Initializes union class with tag state of "inside_osx_package". /// /// Description of the "inside_osx_package" tag state: We do not support sharing /// a folder inside a Mac OS X package. /// /// @return An initialized instance. /// - (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". /// /// @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_file". /// /// @return Whether the union's current tag state has value "is_file". /// - (BOOL)isIsFile; /// /// Retrieves whether the union's current tag state has value /// "inside_shared_folder". /// /// @return Whether the union's current tag state has value /// "inside_shared_folder". /// - (BOOL)isInsideSharedFolder; /// /// Retrieves whether the union's current tag state has value /// "contains_shared_folder". /// /// @return Whether the union's current tag state has value /// "contains_shared_folder". /// - (BOOL)isContainsSharedFolder; /// /// Retrieves whether the union's current tag state has value /// "contains_app_folder". /// /// @return Whether the union's current tag state has value /// "contains_app_folder". /// - (BOOL)isContainsAppFolder; /// /// Retrieves whether the union's current tag state has value /// "contains_team_folder". /// /// @return Whether the union's current tag state has value /// "contains_team_folder". /// - (BOOL)isContainsTeamFolder; /// /// Retrieves whether the union's current tag state has value "is_app_folder". /// /// @return Whether the union's current tag state has value "is_app_folder". /// - (BOOL)isIsAppFolder; /// /// Retrieves whether the union's current tag state has value /// "inside_app_folder". /// /// @return Whether the union's current tag state has value "inside_app_folder". /// - (BOOL)isInsideAppFolder; /// /// Retrieves whether the union's current tag state has value /// "is_public_folder". /// /// @return Whether the union's current tag state has value "is_public_folder". /// - (BOOL)isIsPublicFolder; /// /// Retrieves whether the union's current tag state has value /// "inside_public_folder". /// /// @return Whether the union's current tag state has value /// "inside_public_folder". /// - (BOOL)isInsidePublicFolder; /// /// Retrieves whether the union's current tag state has value "already_shared". /// /// @note Call this method and ensure it returns true before accessing the /// `alreadyShared` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value "already_shared". /// - (BOOL)isAlreadyShared; /// /// 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 "is_osx_package". /// /// @return Whether the union's current tag state has value "is_osx_package". /// - (BOOL)isIsOsxPackage; /// /// Retrieves whether the union's current tag state has value /// "inside_osx_package". /// /// @return Whether the union's current tag state has value /// "inside_osx_package". /// - (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". /// /// @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 `DBSHARINGSharePathError` union. /// @interface DBSHARINGSharePathErrorSerializer : NSObject /// /// Serializes `DBSHARINGSharePathError` instances. /// /// @param instance An instance of the `DBSHARINGSharePathError` API object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGSharePathError` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGSharePathError *)instance; /// /// Deserializes `DBSHARINGSharePathError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGSharePathError` API object. /// /// @return An instantiation of the `DBSHARINGSharePathError` object. /// + (DBSHARINGSharePathError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGSharedContentLinkMetadata.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSHARINGSharedContentLinkMetadataBase.h" #import "DBSerializableProtocol.h" @class DBSHARINGAccessLevel; @class DBSHARINGAudienceExceptions; @class DBSHARINGAudienceRestrictingSharedFolder; @class DBSHARINGLinkAudience; @class DBSHARINGLinkPermission; @class DBSHARINGSharedContentLinkMetadata; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `SharedContentLinkMetadata` struct. /// /// Metadata of a shared link for a file or folder. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGSharedContentLinkMetadata : DBSHARINGSharedContentLinkMetadataBase #pragma mark - Instance fields /// The content inside this folder with link audience different than this /// folder's. This is only returned when an endpoint that returns metadata for a /// single shared folder is called, e.g. /get_folder_metadata. @property (nonatomic, readonly, nullable) DBSHARINGAudienceExceptions *audienceExceptions; /// The URL of the link. @property (nonatomic, readonly, copy) NSString *url; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param audienceOptions The audience options that are available for the /// content. Some audience options may be unavailable. For example, team_only /// may be unavailable if the content is not owned by a user on a team. The /// 'default' audience option is always available if the user can modify link /// settings. /// @param currentAudience The current audience of the link. /// @param linkPermissions A list of permissions for actions you can perform on /// the link. /// @param passwordProtected Whether the link is protected by a password. /// @param url The URL of the link. /// @param accessLevel The access level on the link for this file. /// @param audienceRestrictingSharedFolder The shared folder that prevents the /// link audience for this link from being more restrictive. /// @param expiry Whether the link has an expiry set on it. A link with an /// expiry will have its audience changed to members when the expiry is /// reached. /// @param audienceExceptions The content inside this folder with link audience /// different than this folder's. This is only returned when an endpoint that /// returns metadata for a single shared folder is called, e.g. /// /get_folder_metadata. /// /// @return An initialized instance. /// - (instancetype)initWithAudienceOptions:(NSArray *)audienceOptions currentAudience:(DBSHARINGLinkAudience *)currentAudience linkPermissions:(NSArray *)linkPermissions passwordProtected:(NSNumber *)passwordProtected url:(NSString *)url accessLevel:(nullable DBSHARINGAccessLevel *)accessLevel audienceRestrictingSharedFolder: (nullable DBSHARINGAudienceRestrictingSharedFolder *)audienceRestrictingSharedFolder expiry:(nullable NSDate *)expiry audienceExceptions:(nullable DBSHARINGAudienceExceptions *)audienceExceptions; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param audienceOptions The audience options that are available for the /// content. Some audience options may be unavailable. For example, team_only /// may be unavailable if the content is not owned by a user on a team. The /// 'default' audience option is always available if the user can modify link /// settings. /// @param currentAudience The current audience of the link. /// @param linkPermissions A list of permissions for actions you can perform on /// the link. /// @param passwordProtected Whether the link is protected by a password. /// @param url The URL of the link. /// /// @return An initialized instance. /// - (instancetype)initWithAudienceOptions:(NSArray *)audienceOptions currentAudience:(DBSHARINGLinkAudience *)currentAudience linkPermissions:(NSArray *)linkPermissions passwordProtected:(NSNumber *)passwordProtected url:(NSString *)url; @end #pragma mark - Serializer Object /// /// The serialization class for the `SharedContentLinkMetadata` struct. /// @interface DBSHARINGSharedContentLinkMetadataSerializer : NSObject /// /// Serializes `DBSHARINGSharedContentLinkMetadata` instances. /// /// @param instance An instance of the `DBSHARINGSharedContentLinkMetadata` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGSharedContentLinkMetadata` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGSharedContentLinkMetadata *)instance; /// /// Deserializes `DBSHARINGSharedContentLinkMetadata` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGSharedContentLinkMetadata` API object. /// /// @return An instantiation of the `DBSHARINGSharedContentLinkMetadata` object. /// + (DBSHARINGSharedContentLinkMetadata *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGSharedContentLinkMetadataBase.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGAccessLevel; @class DBSHARINGAudienceRestrictingSharedFolder; @class DBSHARINGLinkAudience; @class DBSHARINGLinkPermission; @class DBSHARINGSharedContentLinkMetadataBase; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `SharedContentLinkMetadataBase` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGSharedContentLinkMetadataBase : NSObject #pragma mark - Instance fields /// The access level on the link for this file. @property (nonatomic, readonly, nullable) DBSHARINGAccessLevel *accessLevel; /// The audience options that are available for the content. Some audience /// options may be unavailable. For example, team_only may be unavailable if the /// content is not owned by a user on a team. The 'default' audience option is /// always available if the user can modify link settings. @property (nonatomic, readonly) NSArray *audienceOptions; /// The shared folder that prevents the link audience for this link from being /// more restrictive. @property (nonatomic, readonly, nullable) DBSHARINGAudienceRestrictingSharedFolder *audienceRestrictingSharedFolder; /// The current audience of the link. @property (nonatomic, readonly) DBSHARINGLinkAudience *currentAudience; /// Whether the link has an expiry set on it. A link with an expiry will have /// its audience changed to members when the expiry is reached. @property (nonatomic, readonly, nullable) NSDate *expiry; /// A list of permissions for actions you can perform on the link. @property (nonatomic, readonly) NSArray *linkPermissions; /// Whether the link is protected by a password. @property (nonatomic, readonly) NSNumber *passwordProtected; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param audienceOptions The audience options that are available for the /// content. Some audience options may be unavailable. For example, team_only /// may be unavailable if the content is not owned by a user on a team. The /// 'default' audience option is always available if the user can modify link /// settings. /// @param currentAudience The current audience of the link. /// @param linkPermissions A list of permissions for actions you can perform on /// the link. /// @param passwordProtected Whether the link is protected by a password. /// @param accessLevel The access level on the link for this file. /// @param audienceRestrictingSharedFolder The shared folder that prevents the /// link audience for this link from being more restrictive. /// @param expiry Whether the link has an expiry set on it. A link with an /// expiry will have its audience changed to members when the expiry is /// reached. /// /// @return An initialized instance. /// - (instancetype)initWithAudienceOptions:(NSArray *)audienceOptions currentAudience:(DBSHARINGLinkAudience *)currentAudience linkPermissions:(NSArray *)linkPermissions passwordProtected:(NSNumber *)passwordProtected accessLevel:(nullable DBSHARINGAccessLevel *)accessLevel audienceRestrictingSharedFolder: (nullable DBSHARINGAudienceRestrictingSharedFolder *)audienceRestrictingSharedFolder expiry:(nullable NSDate *)expiry; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param audienceOptions The audience options that are available for the /// content. Some audience options may be unavailable. For example, team_only /// may be unavailable if the content is not owned by a user on a team. The /// 'default' audience option is always available if the user can modify link /// settings. /// @param currentAudience The current audience of the link. /// @param linkPermissions A list of permissions for actions you can perform on /// the link. /// @param passwordProtected Whether the link is protected by a password. /// /// @return An initialized instance. /// - (instancetype)initWithAudienceOptions:(NSArray *)audienceOptions currentAudience:(DBSHARINGLinkAudience *)currentAudience linkPermissions:(NSArray *)linkPermissions passwordProtected:(NSNumber *)passwordProtected; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `SharedContentLinkMetadataBase` struct. /// @interface DBSHARINGSharedContentLinkMetadataBaseSerializer : NSObject /// /// Serializes `DBSHARINGSharedContentLinkMetadataBase` instances. /// /// @param instance An instance of the `DBSHARINGSharedContentLinkMetadataBase` /// API object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGSharedContentLinkMetadataBase` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGSharedContentLinkMetadataBase *)instance; /// /// Deserializes `DBSHARINGSharedContentLinkMetadataBase` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGSharedContentLinkMetadataBase` API object. /// /// @return An instantiation of the `DBSHARINGSharedContentLinkMetadataBase` /// object. /// + (DBSHARINGSharedContentLinkMetadataBase *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGSharedFileMembers.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGGroupMembershipInfo; @class DBSHARINGInviteeMembershipInfo; @class DBSHARINGSharedFileMembers; @class DBSHARINGUserFileMembershipInfo; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `SharedFileMembers` struct. /// /// Shared file user, group, and invitee membership. Used for the results of /// `listFileMembers` and `listFileMembersContinue`, and used as part of the /// results for `listFileMembersBatch`. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGSharedFileMembers : NSObject #pragma mark - Instance fields /// The list of user members of the shared file. @property (nonatomic, readonly) NSArray *users; /// The list of group members of the shared file. @property (nonatomic, readonly) NSArray *groups; /// The list of invited members of a file, but have not logged in and claimed /// this. @property (nonatomic, readonly) NSArray *invitees; /// Present if there are additional shared file members that have not been /// returned yet. Pass the cursor into `listFileMembersContinue` to list /// additional members. @property (nonatomic, readonly, copy, nullable) NSString *cursor; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param users The list of user members of the shared file. /// @param groups The list of group members of the shared file. /// @param invitees The list of invited members of a file, but have not logged /// in and claimed this. /// @param cursor Present if there are additional shared file members that have /// not been returned yet. Pass the cursor into `listFileMembersContinue` to /// list additional members. /// /// @return An initialized instance. /// - (instancetype)initWithUsers:(NSArray *)users groups:(NSArray *)groups invitees:(NSArray *)invitees cursor:(nullable NSString *)cursor; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param users The list of user members of the shared file. /// @param groups The list of group members of the shared file. /// @param invitees The list of invited members of a file, but have not logged /// in and claimed this. /// /// @return An initialized instance. /// - (instancetype)initWithUsers:(NSArray *)users groups:(NSArray *)groups invitees:(NSArray *)invitees; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `SharedFileMembers` struct. /// @interface DBSHARINGSharedFileMembersSerializer : NSObject /// /// Serializes `DBSHARINGSharedFileMembers` instances. /// /// @param instance An instance of the `DBSHARINGSharedFileMembers` API object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGSharedFileMembers` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGSharedFileMembers *)instance; /// /// Deserializes `DBSHARINGSharedFileMembers` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGSharedFileMembers` API object. /// /// @return An instantiation of the `DBSHARINGSharedFileMembers` object. /// + (DBSHARINGSharedFileMembers *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGSharedFileMetadata.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGAccessLevel; @class DBSHARINGExpectedSharedContentLinkMetadata; @class DBSHARINGFilePermission; @class DBSHARINGFolderPolicy; @class DBSHARINGSharedContentLinkMetadata; @class DBSHARINGSharedFileMetadata; @class DBUSERSTeam; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `SharedFileMetadata` struct. /// /// Properties of the shared file. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGSharedFileMetadata : NSObject #pragma mark - Instance fields /// The current user's access level for this shared file. @property (nonatomic, readonly, nullable) DBSHARINGAccessLevel *accessType; /// The ID of the file. @property (nonatomic, readonly, copy) NSString *id_; /// The expected metadata of the link associated for the file when it is first /// shared. Absent if the link already exists. This is for an unreleased feature /// so it may not be returned yet. @property (nonatomic, readonly, nullable) DBSHARINGExpectedSharedContentLinkMetadata *expectedLinkMetadata; /// The metadata of the link associated for the file. This is for an unreleased /// feature so it may not be returned yet. @property (nonatomic, readonly, nullable) DBSHARINGSharedContentLinkMetadata *linkMetadata; /// The name of this file. @property (nonatomic, readonly, copy) NSString *name; /// The display names of the users that own the file. If the file is part of a /// team folder, the display names of the team admins are also included. Absent /// if the owner display names cannot be fetched. @property (nonatomic, readonly, nullable) NSArray *ownerDisplayNames; /// The team that owns the file. This field is not present if the file is not /// owned by a team. @property (nonatomic, readonly, nullable) DBUSERSTeam *ownerTeam; /// The ID of the parent shared folder. This field is present only if the file /// is contained within a shared folder. @property (nonatomic, readonly, copy, nullable) NSString *parentSharedFolderId; /// The cased path to be used for display purposes only. In rare instances the /// casing will not correctly match the user's filesystem, but this behavior /// will match the path provided in the Core API v1. Absent for unmounted files. @property (nonatomic, readonly, copy, nullable) NSString *pathDisplay; /// The lower-case full path of this file. Absent for unmounted files. @property (nonatomic, readonly, copy, nullable) NSString *pathLower; /// The sharing permissions that requesting user has on this file. This /// corresponds to the entries given in `actions` in /// `DBSHARINGGetFileMetadataBatchArg` or `actions` in /// `DBSHARINGGetFileMetadataArg`. @property (nonatomic, readonly, nullable) NSArray *permissions; /// Policies governing this shared file. @property (nonatomic, readonly) DBSHARINGFolderPolicy *policy; /// URL for displaying a web preview of the shared file. @property (nonatomic, readonly, copy) NSString *previewUrl; /// Timestamp indicating when the current user was invited to this shared file. /// If the user was not invited to the shared file, the timestamp will indicate /// when the user was invited to the parent shared folder. This value may be /// absent. @property (nonatomic, readonly, nullable) NSDate *timeInvited; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param id_ The ID of the file. /// @param name The name of this file. /// @param policy Policies governing this shared file. /// @param previewUrl URL for displaying a web preview of the shared file. /// @param accessType The current user's access level for this shared file. /// @param expectedLinkMetadata The expected metadata of the link associated for /// the file when it is first shared. Absent if the link already exists. This is /// for an unreleased feature so it may not be returned yet. /// @param linkMetadata The metadata of the link associated for the file. This /// is for an unreleased feature so it may not be returned yet. /// @param ownerDisplayNames The display names of the users that own the file. /// If the file is part of a team folder, the display names of the team admins /// are also included. Absent if the owner display names cannot be fetched. /// @param ownerTeam The team that owns the file. This field is not present if /// the file is not owned by a team. /// @param parentSharedFolderId The ID of the parent shared folder. This field /// is present only if the file is contained within a shared folder. /// @param pathDisplay The cased path to be used for display purposes only. In /// rare instances the casing will not correctly match the user's filesystem, /// but this behavior will match the path provided in the Core API v1. Absent /// for unmounted files. /// @param pathLower The lower-case full path of this file. Absent for unmounted /// files. /// @param permissions The sharing permissions that requesting user has on this /// file. This corresponds to the entries given in `actions` in /// `DBSHARINGGetFileMetadataBatchArg` or `actions` in /// `DBSHARINGGetFileMetadataArg`. /// @param timeInvited Timestamp indicating when the current user was invited to /// this shared file. If the user was not invited to the shared file, the /// timestamp will indicate when the user was invited to the parent shared /// folder. This value may be absent. /// /// @return An initialized instance. /// - (instancetype)initWithId_:(NSString *)id_ name:(NSString *)name policy:(DBSHARINGFolderPolicy *)policy previewUrl:(NSString *)previewUrl accessType:(nullable DBSHARINGAccessLevel *)accessType expectedLinkMetadata:(nullable DBSHARINGExpectedSharedContentLinkMetadata *)expectedLinkMetadata linkMetadata:(nullable DBSHARINGSharedContentLinkMetadata *)linkMetadata ownerDisplayNames:(nullable NSArray *)ownerDisplayNames ownerTeam:(nullable DBUSERSTeam *)ownerTeam parentSharedFolderId:(nullable NSString *)parentSharedFolderId pathDisplay:(nullable NSString *)pathDisplay pathLower:(nullable NSString *)pathLower permissions:(nullable NSArray *)permissions timeInvited:(nullable NSDate *)timeInvited; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param id_ The ID of the file. /// @param name The name of this file. /// @param policy Policies governing this shared file. /// @param previewUrl URL for displaying a web preview of the shared file. /// /// @return An initialized instance. /// - (instancetype)initWithId_:(NSString *)id_ name:(NSString *)name policy:(DBSHARINGFolderPolicy *)policy previewUrl:(NSString *)previewUrl; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `SharedFileMetadata` struct. /// @interface DBSHARINGSharedFileMetadataSerializer : NSObject /// /// Serializes `DBSHARINGSharedFileMetadata` instances. /// /// @param instance An instance of the `DBSHARINGSharedFileMetadata` API object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGSharedFileMetadata` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGSharedFileMetadata *)instance; /// /// Deserializes `DBSHARINGSharedFileMetadata` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGSharedFileMetadata` API object. /// /// @return An instantiation of the `DBSHARINGSharedFileMetadata` object. /// + (DBSHARINGSharedFileMetadata *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGSharedFolderAccessError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGSharedFolderAccessError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `SharedFolderAccessError` union. /// /// There is an error accessing 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 DBSHARINGSharedFolderAccessError : NSObject #pragma mark - Instance fields /// The `DBSHARINGSharedFolderAccessErrorTag` enum type represents the possible /// tag states with which the `DBSHARINGSharedFolderAccessError` union can /// exist. 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 does not exist or their account is disabled. DBSHARINGSharedFolderAccessErrorInvalidMember, /// Never set. DBSHARINGSharedFolderAccessErrorEmailUnverified, /// The shared folder is unmounted. DBSHARINGSharedFolderAccessErrorUnmounted, /// (no description). DBSHARINGSharedFolderAccessErrorOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBSHARINGSharedFolderAccessErrorTag tag; #pragma mark - Constructors /// /// Initializes union class with tag state of "invalid_id". /// /// Description of the "invalid_id" tag state: This shared folder ID is invalid. /// /// @return An initialized instance. /// - (instancetype)initWithInvalidId; /// /// Initializes union class with tag state of "not_a_member". /// /// Description of the "not_a_member" tag state: The user is not a member of the /// shared folder thus cannot access it. /// /// @return An initialized instance. /// - (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: Never set. /// /// @return An initialized instance. /// - (instancetype)initWithEmailUnverified; /// /// Initializes union class with tag state of "unmounted". /// /// Description of the "unmounted" tag state: The shared folder is unmounted. /// /// @return An initialized instance. /// - (instancetype)initWithUnmounted; /// /// 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_id". /// /// @return Whether the union's current tag state has value "invalid_id". /// - (BOOL)isInvalidId; /// /// Retrieves whether the union's current tag state has value "not_a_member". /// /// @return Whether the union's current tag state has value "not_a_member". /// - (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". /// /// @return Whether the union's current tag state has value "email_unverified". /// - (BOOL)isEmailUnverified; /// /// Retrieves whether the union's current tag state has value "unmounted". /// /// @return Whether the union's current tag state has value "unmounted". /// - (BOOL)isUnmounted; /// /// 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 `DBSHARINGSharedFolderAccessError` union. /// @interface DBSHARINGSharedFolderAccessErrorSerializer : NSObject /// /// Serializes `DBSHARINGSharedFolderAccessError` instances. /// /// @param instance An instance of the `DBSHARINGSharedFolderAccessError` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGSharedFolderAccessError` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGSharedFolderAccessError *)instance; /// /// Deserializes `DBSHARINGSharedFolderAccessError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGSharedFolderAccessError` API object. /// /// @return An instantiation of the `DBSHARINGSharedFolderAccessError` object. /// + (DBSHARINGSharedFolderAccessError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGSharedFolderMemberError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGMemberAccessLevelResult; @class DBSHARINGSharedFolderMemberError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `SharedFolderMemberError` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGSharedFolderMemberError : NSObject #pragma mark - Instance fields /// The `DBSHARINGSharedFolderMemberErrorTag` enum type represents the possible /// tag states with which the `DBSHARINGSharedFolderMemberError` union can /// exist. 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 member only has inherited access to the shared folder. DBSHARINGSharedFolderMemberErrorNoExplicitAccess, /// (no description). DBSHARINGSharedFolderMemberErrorOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBSHARINGSharedFolderMemberErrorTag tag; /// The target member only has inherited access to the shared folder. @note /// Ensure the `isNoExplicitAccess` method returns true before accessing, /// otherwise a runtime exception will be raised. @property (nonatomic, readonly) DBSHARINGMemberAccessLevelResult *noExplicitAccess; #pragma mark - Constructors /// /// Initializes union class with tag state of "invalid_dropbox_id". /// /// Description of the "invalid_dropbox_id" tag state: The target dropbox_id is /// invalid. /// /// @return An initialized instance. /// - (instancetype)initWithInvalidDropboxId; /// /// Initializes union class with tag state of "not_a_member". /// /// Description of the "not_a_member" tag state: The target dropbox_id is not a /// member of the shared folder. /// /// @return An initialized instance. /// - (instancetype)initWithNotAMember; /// /// Initializes union class with tag state of "no_explicit_access". /// /// Description of the "no_explicit_access" tag state: The target member only /// has inherited access to the shared folder. /// /// @param noExplicitAccess The target member only has inherited access to the /// shared folder. /// /// @return An initialized instance. /// - (instancetype)initWithNoExplicitAccess:(DBSHARINGMemberAccessLevelResult *)noExplicitAccess; /// /// 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_dropbox_id". /// /// @return Whether the union's current tag state has value /// "invalid_dropbox_id". /// - (BOOL)isInvalidDropboxId; /// /// Retrieves whether the union's current tag state has value "not_a_member". /// /// @return Whether the union's current tag state has value "not_a_member". /// - (BOOL)isNotAMember; /// /// Retrieves whether the union's current tag state has value /// "no_explicit_access". /// /// @note Call this method and ensure it returns true before accessing the /// `noExplicitAccess` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value /// "no_explicit_access". /// - (BOOL)isNoExplicitAccess; /// /// 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 `DBSHARINGSharedFolderMemberError` union. /// @interface DBSHARINGSharedFolderMemberErrorSerializer : NSObject /// /// Serializes `DBSHARINGSharedFolderMemberError` instances. /// /// @param instance An instance of the `DBSHARINGSharedFolderMemberError` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGSharedFolderMemberError` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGSharedFolderMemberError *)instance; /// /// Deserializes `DBSHARINGSharedFolderMemberError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGSharedFolderMemberError` API object. /// /// @return An instantiation of the `DBSHARINGSharedFolderMemberError` object. /// + (DBSHARINGSharedFolderMemberError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGSharedFolderMembers.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGGroupMembershipInfo; @class DBSHARINGInviteeMembershipInfo; @class DBSHARINGSharedFolderMembers; @class DBSHARINGUserMembershipInfo; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `SharedFolderMembers` struct. /// /// Shared folder user and group membership. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGSharedFolderMembers : NSObject #pragma mark - Instance fields /// The list of user members of the shared folder. @property (nonatomic, readonly) NSArray *users; /// The list of group members of the shared folder. @property (nonatomic, readonly) NSArray *groups; /// The list of invitees to the shared folder. @property (nonatomic, readonly) NSArray *invitees; /// Present if there are additional shared folder members that have not been /// returned yet. Pass the cursor into `listFolderMembersContinue` to list /// additional members. @property (nonatomic, readonly, copy, nullable) NSString *cursor; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param users The list of user members of the shared folder. /// @param groups The list of group members of the shared folder. /// @param invitees The list of invitees to the shared folder. /// @param cursor Present if there are additional shared folder members that /// have not been returned yet. Pass the cursor into `listFolderMembersContinue` /// to list additional members. /// /// @return An initialized instance. /// - (instancetype)initWithUsers:(NSArray *)users groups:(NSArray *)groups invitees:(NSArray *)invitees cursor:(nullable NSString *)cursor; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param users The list of user members of the shared folder. /// @param groups The list of group members of the shared folder. /// @param invitees The list of invitees to the shared folder. /// /// @return An initialized instance. /// - (instancetype)initWithUsers:(NSArray *)users groups:(NSArray *)groups invitees:(NSArray *)invitees; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `SharedFolderMembers` struct. /// @interface DBSHARINGSharedFolderMembersSerializer : NSObject /// /// Serializes `DBSHARINGSharedFolderMembers` instances. /// /// @param instance An instance of the `DBSHARINGSharedFolderMembers` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGSharedFolderMembers` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGSharedFolderMembers *)instance; /// /// Deserializes `DBSHARINGSharedFolderMembers` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGSharedFolderMembers` API object. /// /// @return An instantiation of the `DBSHARINGSharedFolderMembers` object. /// + (DBSHARINGSharedFolderMembers *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGSharedFolderMetadata.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSHARINGSharedFolderMetadataBase.h" #import "DBSerializableProtocol.h" @class DBSHARINGAccessInheritance; @class DBSHARINGAccessLevel; @class DBSHARINGFolderPermission; @class DBSHARINGFolderPolicy; @class DBSHARINGSharedContentLinkMetadata; @class DBSHARINGSharedFolderMetadata; @class DBUSERSTeam; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `SharedFolderMetadata` struct. /// /// The metadata which includes basic information about 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 DBSHARINGSharedFolderMetadata : DBSHARINGSharedFolderMetadataBase #pragma mark - Instance fields /// 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. @property (nonatomic, readonly, nullable) DBSHARINGSharedContentLinkMetadata *linkMetadata; /// The name of the this shared folder. @property (nonatomic, readonly, copy) NSString *name; /// Actions the current user may perform on the folder and its contents. The set /// of permissions corresponds to the FolderActions in the request. @property (nonatomic, readonly, nullable) NSArray *permissions; /// Policies governing this shared folder. @property (nonatomic, readonly) DBSHARINGFolderPolicy *policy; /// URL for displaying a web preview of the shared folder. @property (nonatomic, readonly, copy) NSString *previewUrl; /// The ID of the shared folder. @property (nonatomic, readonly, copy) NSString *sharedFolderId; /// Timestamp indicating when the current user was invited to this shared /// folder. @property (nonatomic, readonly) NSDate *timeInvited; /// Whether the folder inherits its members from its parent. @property (nonatomic, readonly) DBSHARINGAccessInheritance *accessInheritance; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param accessType The current user's access level for this shared folder. /// @param isInsideTeamFolder Whether this folder is inside of a team folder. /// @param isTeamFolder Whether this folder is a team folder /// https://www.dropbox.com/en/help/986. /// @param name The name of the this shared folder. /// @param policy Policies governing this shared folder. /// @param previewUrl URL for displaying a web preview of the shared folder. /// @param sharedFolderId The ID of the shared folder. /// @param timeInvited Timestamp indicating when the current user was invited to /// this shared folder. /// @param ownerDisplayNames The display names of the users that own the folder. /// If the folder is part of a team folder, the display names of the team admins /// are also included. Absent if the owner display names cannot be fetched. /// @param ownerTeam The team that owns the folder. This field is not present if /// 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. /// - (instancetype)initWithAccessType:(DBSHARINGAccessLevel *)accessType isInsideTeamFolder:(NSNumber *)isInsideTeamFolder isTeamFolder:(NSNumber *)isTeamFolder name:(NSString *)name policy:(DBSHARINGFolderPolicy *)policy previewUrl:(NSString *)previewUrl sharedFolderId:(NSString *)sharedFolderId timeInvited:(NSDate *)timeInvited 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 accessInheritance:(nullable DBSHARINGAccessInheritance *)accessInheritance; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param accessType The current user's access level for this shared folder. /// @param isInsideTeamFolder Whether this folder is inside of a team folder. /// @param isTeamFolder Whether this folder is a team folder /// https://www.dropbox.com/en/help/986. /// @param name The name of the this shared folder. /// @param policy Policies governing this shared folder. /// @param previewUrl URL for displaying a web preview of the shared folder. /// @param sharedFolderId The ID of the shared folder. /// @param timeInvited Timestamp indicating when the current user was invited to /// this shared folder. /// /// @return An initialized instance. /// - (instancetype)initWithAccessType:(DBSHARINGAccessLevel *)accessType isInsideTeamFolder:(NSNumber *)isInsideTeamFolder isTeamFolder:(NSNumber *)isTeamFolder name:(NSString *)name policy:(DBSHARINGFolderPolicy *)policy previewUrl:(NSString *)previewUrl sharedFolderId:(NSString *)sharedFolderId timeInvited:(NSDate *)timeInvited; @end #pragma mark - Serializer Object /// /// The serialization class for the `SharedFolderMetadata` struct. /// @interface DBSHARINGSharedFolderMetadataSerializer : NSObject /// /// Serializes `DBSHARINGSharedFolderMetadata` instances. /// /// @param instance An instance of the `DBSHARINGSharedFolderMetadata` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGSharedFolderMetadata` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGSharedFolderMetadata *)instance; /// /// Deserializes `DBSHARINGSharedFolderMetadata` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGSharedFolderMetadata` API object. /// /// @return An instantiation of the `DBSHARINGSharedFolderMetadata` object. /// + (DBSHARINGSharedFolderMetadata *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGSharedFolderMetadataBase.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGAccessLevel; @class DBSHARINGSharedFolderMetadataBase; @class DBUSERSTeam; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `SharedFolderMetadataBase` struct. /// /// Properties 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 DBSHARINGSharedFolderMetadataBase : NSObject #pragma mark - Instance fields /// The current user's access level for this shared folder. @property (nonatomic, readonly) DBSHARINGAccessLevel *accessType; /// Whether this folder is inside of a team folder. @property (nonatomic, readonly) NSNumber *isInsideTeamFolder; /// Whether this folder is a team folder https://www.dropbox.com/en/help/986. @property (nonatomic, readonly) NSNumber *isTeamFolder; /// The display names of the users that own the folder. If the folder is part of /// a team folder, the display names of the team admins are also included. /// Absent if the owner display names cannot be fetched. @property (nonatomic, readonly, nullable) NSArray *ownerDisplayNames; /// The team that owns the folder. This field is not present if the folder is /// not owned by a team. @property (nonatomic, readonly, nullable) DBUSERSTeam *ownerTeam; /// The ID of the parent shared folder. This field is present only if the folder /// 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 /// /// Full constructor for the struct (exposes all instance variables). /// /// @param accessType The current user's access level for this shared folder. /// @param isInsideTeamFolder Whether this folder is inside of a team folder. /// @param isTeamFolder Whether this folder is a team folder /// https://www.dropbox.com/en/help/986. /// @param ownerDisplayNames The display names of the users that own the folder. /// If the folder is part of a team folder, the display names of the team admins /// are also included. Absent if the owner display names cannot be fetched. /// @param ownerTeam The team that owns the folder. This field is not present if /// 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. /// - (instancetype)initWithAccessType:(DBSHARINGAccessLevel *)accessType isInsideTeamFolder:(NSNumber *)isInsideTeamFolder isTeamFolder:(NSNumber *)isTeamFolder ownerDisplayNames:(nullable NSArray *)ownerDisplayNames ownerTeam:(nullable DBUSERSTeam *)ownerTeam parentSharedFolderId:(nullable NSString *)parentSharedFolderId pathDisplay:(nullable NSString *)pathDisplay pathLower:(nullable NSString *)pathLower parentFolderName:(nullable NSString *)parentFolderName; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param accessType The current user's access level for this shared folder. /// @param isInsideTeamFolder Whether this folder is inside of a team folder. /// @param isTeamFolder Whether this folder is a team folder /// https://www.dropbox.com/en/help/986. /// /// @return An initialized instance. /// - (instancetype)initWithAccessType:(DBSHARINGAccessLevel *)accessType isInsideTeamFolder:(NSNumber *)isInsideTeamFolder isTeamFolder:(NSNumber *)isTeamFolder; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `SharedFolderMetadataBase` struct. /// @interface DBSHARINGSharedFolderMetadataBaseSerializer : NSObject /// /// Serializes `DBSHARINGSharedFolderMetadataBase` instances. /// /// @param instance An instance of the `DBSHARINGSharedFolderMetadataBase` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGSharedFolderMetadataBase` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGSharedFolderMetadataBase *)instance; /// /// Deserializes `DBSHARINGSharedFolderMetadataBase` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGSharedFolderMetadataBase` API object. /// /// @return An instantiation of the `DBSHARINGSharedFolderMetadataBase` object. /// + (DBSHARINGSharedFolderMetadataBase *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGSharedLinkAccessFailureReason.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGSharedLinkAccessFailureReason; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `SharedLinkAccessFailureReason` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGSharedLinkAccessFailureReason : NSObject #pragma mark - Instance fields /// The `DBSHARINGSharedLinkAccessFailureReasonTag` enum type represents the /// possible tag states with which the `DBSHARINGSharedLinkAccessFailureReason` /// union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBSHARINGSharedLinkAccessFailureReasonTag){ /// User is not logged in. DBSHARINGSharedLinkAccessFailureReasonLoginRequired, /// 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, /// Access is allowed for team members only. DBSHARINGSharedLinkAccessFailureReasonTeamOnly, /// Access is allowed for the shared link's owner only. DBSHARINGSharedLinkAccessFailureReasonOwnerOnly, /// (no description). DBSHARINGSharedLinkAccessFailureReasonOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBSHARINGSharedLinkAccessFailureReasonTag tag; #pragma mark - Constructors /// /// Initializes union class with tag state of "login_required". /// /// Description of the "login_required" tag state: User is not logged in. /// /// @return An initialized instance. /// - (instancetype)initWithLoginRequired; /// /// Initializes union class with tag state of "email_verify_required". /// /// 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. /// - (instancetype)initWithEmailVerifyRequired; /// /// Initializes union class with tag state of "password_required". /// /// Description of the "password_required" tag state: The link is password /// protected. /// /// @return An initialized instance. /// - (instancetype)initWithPasswordRequired; /// /// Initializes union class with tag state of "team_only". /// /// Description of the "team_only" tag state: Access is allowed for team members /// only. /// /// @return An initialized instance. /// - (instancetype)initWithTeamOnly; /// /// Initializes union class with tag state of "owner_only". /// /// Description of the "owner_only" tag state: Access is allowed for the shared /// link's owner only. /// /// @return An initialized instance. /// - (instancetype)initWithOwnerOnly; /// /// 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 "login_required". /// /// @return Whether the union's current tag state has value "login_required". /// - (BOOL)isLoginRequired; /// /// Retrieves whether the union's current tag state has value /// "email_verify_required". /// /// @return Whether the union's current tag state has value /// "email_verify_required". /// - (BOOL)isEmailVerifyRequired; /// /// Retrieves whether the union's current tag state has value /// "password_required". /// /// @return Whether the union's current tag state has value "password_required". /// - (BOOL)isPasswordRequired; /// /// 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 "owner_only". /// /// @return Whether the union's current tag state has value "owner_only". /// - (BOOL)isOwnerOnly; /// /// 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 `DBSHARINGSharedLinkAccessFailureReason` /// union. /// @interface DBSHARINGSharedLinkAccessFailureReasonSerializer : NSObject /// /// Serializes `DBSHARINGSharedLinkAccessFailureReason` instances. /// /// @param instance An instance of the `DBSHARINGSharedLinkAccessFailureReason` /// API object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGSharedLinkAccessFailureReason` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGSharedLinkAccessFailureReason *)instance; /// /// Deserializes `DBSHARINGSharedLinkAccessFailureReason` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGSharedLinkAccessFailureReason` API object. /// /// @return An instantiation of the `DBSHARINGSharedLinkAccessFailureReason` /// object. /// + (DBSHARINGSharedLinkAccessFailureReason *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGSharedLinkAlreadyExistsMetadata.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGSharedLinkError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGSharedLinkError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `SharedLinkError` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGSharedLinkError : NSObject #pragma mark - Instance fields /// The `DBSHARINGSharedLinkErrorTag` enum type represents the possible tag /// states with which the `DBSHARINGSharedLinkError` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBSHARINGSharedLinkErrorTag){ /// The shared link wasn't found. DBSHARINGSharedLinkErrorSharedLinkNotFound, /// The caller is not allowed to access this shared link. DBSHARINGSharedLinkErrorSharedLinkAccessDenied, /// This type of link is not supported; use `files` instead. DBSHARINGSharedLinkErrorUnsupportedLinkType, /// (no description). DBSHARINGSharedLinkErrorOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBSHARINGSharedLinkErrorTag tag; #pragma mark - Constructors /// /// Initializes union class with tag state of "shared_link_not_found". /// /// Description of the "shared_link_not_found" tag state: The shared link wasn't /// found. /// /// @return An initialized instance. /// - (instancetype)initWithSharedLinkNotFound; /// /// Initializes union class with tag state of "shared_link_access_denied". /// /// Description of the "shared_link_access_denied" tag state: The caller is not /// allowed to access this shared link. /// /// @return An initialized instance. /// - (instancetype)initWithSharedLinkAccessDenied; /// /// 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; use `files` instead. /// /// @return An initialized instance. /// - (instancetype)initWithUnsupportedLinkType; /// /// 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 /// "shared_link_not_found". /// /// @return Whether the union's current tag state has value /// "shared_link_not_found". /// - (BOOL)isSharedLinkNotFound; /// /// Retrieves whether the union's current tag state has value /// "shared_link_access_denied". /// /// @return Whether the union's current tag state has value /// "shared_link_access_denied". /// - (BOOL)isSharedLinkAccessDenied; /// /// Retrieves whether the union's current tag state has value /// "unsupported_link_type". /// /// @return Whether the union's current tag state has value /// "unsupported_link_type". /// - (BOOL)isUnsupportedLinkType; /// /// 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 `DBSHARINGSharedLinkError` union. /// @interface DBSHARINGSharedLinkErrorSerializer : NSObject /// /// Serializes `DBSHARINGSharedLinkError` instances. /// /// @param instance An instance of the `DBSHARINGSharedLinkError` API object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGSharedLinkError` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGSharedLinkError *)instance; /// /// Deserializes `DBSHARINGSharedLinkError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGSharedLinkError` API object. /// /// @return An instantiation of the `DBSHARINGSharedLinkError` object. /// + (DBSHARINGSharedLinkError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGSharedLinkMetadata.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGLinkPermissions; @class DBSHARINGSharedLinkMetadata; @class DBSHARINGTeamMemberInfo; @class DBUSERSTeam; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `SharedLinkMetadata` struct. /// /// The metadata of 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 DBSHARINGSharedLinkMetadata : NSObject #pragma mark - Instance fields /// URL of the shared link. @property (nonatomic, readonly, copy) NSString *url; /// A unique identifier for the linked file. @property (nonatomic, readonly, copy, nullable) NSString *id_; /// The linked file name (including extension). This never contains a slash. @property (nonatomic, readonly, copy) NSString *name; /// Expiration time, if set. By default the link won't expire. @property (nonatomic, readonly, nullable) NSDate *expires; /// The lowercased 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 *pathLower; /// The link's access permissions. @property (nonatomic, readonly) DBSHARINGLinkPermissions *linkPermissions; /// The team membership information of the link's owner. This field will only /// be present if the link's owner is a team member. @property (nonatomic, readonly, nullable) DBSHARINGTeamMemberInfo *teamMemberInfo; /// The team information of the content's owner. This field will only be present /// if the content's owner is a team member and the content's owner team is /// different from the link's owner team. @property (nonatomic, readonly, nullable) DBUSERSTeam *contentOwnerTeamInfo; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param url URL of the shared link. /// @param name The linked file name (including extension). This never contains /// a slash. /// @param linkPermissions The link's access permissions. /// @param id_ A unique identifier for the linked file. /// @param expires Expiration time, if set. By default the link won't expire. /// @param pathLower The lowercased 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. /// @param teamMemberInfo The team membership information of the link's owner. /// This field will only be present if the link's owner is a team member. /// @param contentOwnerTeamInfo The team information of the content's owner. /// This field will only be present if the content's owner is a team member and /// the content's owner team is different from the link's owner team. /// /// @return An initialized instance. /// - (instancetype)initWithUrl:(NSString *)url name:(NSString *)name linkPermissions:(DBSHARINGLinkPermissions *)linkPermissions id_:(nullable NSString *)id_ expires:(nullable NSDate *)expires pathLower:(nullable NSString *)pathLower teamMemberInfo:(nullable DBSHARINGTeamMemberInfo *)teamMemberInfo contentOwnerTeamInfo:(nullable DBUSERSTeam *)contentOwnerTeamInfo; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param url URL of the shared link. /// @param name The linked file name (including extension). This never contains /// a slash. /// @param linkPermissions The link's access permissions. /// /// @return An initialized instance. /// - (instancetype)initWithUrl:(NSString *)url name:(NSString *)name linkPermissions:(DBSHARINGLinkPermissions *)linkPermissions; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `SharedLinkMetadata` struct. /// @interface DBSHARINGSharedLinkMetadataSerializer : NSObject /// /// Serializes `DBSHARINGSharedLinkMetadata` instances. /// /// @param instance An instance of the `DBSHARINGSharedLinkMetadata` API object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGSharedLinkMetadata` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGSharedLinkMetadata *)instance; /// /// Deserializes `DBSHARINGSharedLinkMetadata` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGSharedLinkMetadata` API object. /// /// @return An instantiation of the `DBSHARINGSharedLinkMetadata` object. /// + (DBSHARINGSharedLinkMetadata *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGSharedLinkPolicy.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGSharedLinkPolicy; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `SharedLinkPolicy` union. /// /// Who can view shared links in this folder. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGSharedLinkPolicy : NSObject #pragma mark - Instance fields /// The `DBSHARINGSharedLinkPolicyTag` enum type represents the possible tag /// states with which the `DBSHARINGSharedLinkPolicy` union can exist. 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 only be shared among members of the shared folder. DBSHARINGSharedLinkPolicyMembers, /// (no description). DBSHARINGSharedLinkPolicyOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBSHARINGSharedLinkPolicyTag tag; #pragma mark - Constructors /// /// Initializes union class with tag state of "anyone". /// /// Description of the "anyone" tag state: Links can be shared with anyone. /// /// @return An initialized instance. /// - (instancetype)initWithAnyone; /// /// Initializes union class with tag state of "team". /// /// Description of the "team" tag state: Links can be shared with anyone on the /// same team as the owner. /// /// @return An initialized instance. /// - (instancetype)initWithTeam; /// /// Initializes union class with tag state of "members". /// /// Description of the "members" tag state: Links can only be shared among /// members of the shared folder. /// /// @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 "anyone". /// /// @return Whether the union's current tag state has value "anyone". /// - (BOOL)isAnyone; /// /// 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 `DBSHARINGSharedLinkPolicy` union. /// @interface DBSHARINGSharedLinkPolicySerializer : NSObject /// /// Serializes `DBSHARINGSharedLinkPolicy` instances. /// /// @param instance An instance of the `DBSHARINGSharedLinkPolicy` API object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGSharedLinkPolicy` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGSharedLinkPolicy *)instance; /// /// Deserializes `DBSHARINGSharedLinkPolicy` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGSharedLinkPolicy` API object. /// /// @return An instantiation of the `DBSHARINGSharedLinkPolicy` object. /// + (DBSHARINGSharedLinkPolicy *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGSharedLinkSettings.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGLinkAudience; @class DBSHARINGRequestedLinkAccessLevel; @class DBSHARINGRequestedVisibility; @class DBSHARINGSharedLinkSettings; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `SharedLinkSettings` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGSharedLinkSettings : NSObject #pragma mark - Instance fields /// Boolean flag to enable or disable password protection. @property (nonatomic, readonly, nullable) NSNumber *requirePassword; /// 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 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)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 /// no default value). /// /// /// @return An initialized instance. /// - (instancetype)initDefault; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `SharedLinkSettings` struct. /// @interface DBSHARINGSharedLinkSettingsSerializer : NSObject /// /// Serializes `DBSHARINGSharedLinkSettings` instances. /// /// @param instance An instance of the `DBSHARINGSharedLinkSettings` API object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGSharedLinkSettings` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGSharedLinkSettings *)instance; /// /// Deserializes `DBSHARINGSharedLinkSettings` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGSharedLinkSettings` API object. /// /// @return An instantiation of the `DBSHARINGSharedLinkSettings` object. /// + (DBSHARINGSharedLinkSettings *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGSharedLinkSettingsError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGSharedLinkSettingsError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `SharedLinkSettingsError` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGSharedLinkSettingsError : NSObject #pragma mark - Instance fields /// The `DBSHARINGSharedLinkSettingsErrorTag` enum type represents the possible /// tag states with which the `DBSHARINGSharedLinkSettingsError` union can /// exist. 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, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBSHARINGSharedLinkSettingsErrorTag tag; #pragma mark - Constructors /// /// Initializes union class with tag state of "invalid_settings". /// /// Description of the "invalid_settings" tag state: 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.). /// /// @return An initialized instance. /// - (instancetype)initWithInvalidSettings; /// /// Initializes union class with tag state of "not_authorized". /// /// Description of the "not_authorized" tag state: 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`. /// /// @return An initialized instance. /// - (instancetype)initWithNotAuthorized; - (instancetype)init NS_UNAVAILABLE; #pragma mark - Tag state methods /// /// Retrieves whether the union's current tag state has value /// "invalid_settings". /// /// @return Whether the union's current tag state has value "invalid_settings". /// - (BOOL)isInvalidSettings; /// /// Retrieves whether the union's current tag state has value "not_authorized". /// /// @return Whether the union's current tag state has value "not_authorized". /// - (BOOL)isNotAuthorized; /// /// 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 `DBSHARINGSharedLinkSettingsError` union. /// @interface DBSHARINGSharedLinkSettingsErrorSerializer : NSObject /// /// Serializes `DBSHARINGSharedLinkSettingsError` instances. /// /// @param instance An instance of the `DBSHARINGSharedLinkSettingsError` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGSharedLinkSettingsError` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGSharedLinkSettingsError *)instance; /// /// Deserializes `DBSHARINGSharedLinkSettingsError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGSharedLinkSettingsError` API object. /// /// @return An instantiation of the `DBSHARINGSharedLinkSettingsError` object. /// + (DBSHARINGSharedLinkSettingsError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGSharingFileAccessError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGSharingFileAccessError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `SharingFileAccessError` union. /// /// User could not access this file. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGSharingFileAccessError : NSObject #pragma mark - Instance fields /// The `DBSHARINGSharingFileAccessErrorTag` enum type represents the possible /// tag states with which the `DBSHARINGSharingFileAccessError` union can exist. 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, /// 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 Mac OS X package can't be shared this way. Use a shared link instead. DBSHARINGSharingFileAccessErrorInsideOsxPackage, /// (no description). DBSHARINGSharingFileAccessErrorOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBSHARINGSharingFileAccessErrorTag tag; #pragma mark - Constructors /// /// Initializes union class with tag state of "no_permission". /// /// Description of the "no_permission" tag state: Current user does not have /// sufficient privileges to perform the desired action. /// /// @return An initialized instance. /// - (instancetype)initWithNoPermission; /// /// Initializes union class with tag state of "invalid_file". /// /// Description of the "invalid_file" tag state: File specified was not found. /// /// @return An initialized instance. /// - (instancetype)initWithInvalidFile; /// /// Initializes union class with tag state of "is_folder". /// /// Description of the "is_folder" tag state: A folder can't be shared this way. /// Use folder sharing or a shared link instead. /// /// @return An initialized instance. /// - (instancetype)initWithIsFolder; /// /// Initializes union class with tag state of "inside_public_folder". /// /// Description of the "inside_public_folder" tag state: A file inside a public /// folder can't be shared this way. Use a public link instead. /// /// @return An initialized instance. /// - (instancetype)initWithInsidePublicFolder; /// /// Initializes union class with tag state of "inside_osx_package". /// /// Description of the "inside_osx_package" tag state: A Mac OS X package can't /// be shared this way. Use a shared link instead. /// /// @return An initialized instance. /// - (instancetype)initWithInsideOsxPackage; /// /// 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_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 "invalid_file". /// /// @return Whether the union's current tag state has value "invalid_file". /// - (BOOL)isInvalidFile; /// /// Retrieves whether the union's current tag state has value "is_folder". /// /// @return Whether the union's current tag state has value "is_folder". /// - (BOOL)isIsFolder; /// /// Retrieves whether the union's current tag state has value /// "inside_public_folder". /// /// @return Whether the union's current tag state has value /// "inside_public_folder". /// - (BOOL)isInsidePublicFolder; /// /// Retrieves whether the union's current tag state has value /// "inside_osx_package". /// /// @return Whether the union's current tag state has value /// "inside_osx_package". /// - (BOOL)isInsideOsxPackage; /// /// 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 `DBSHARINGSharingFileAccessError` union. /// @interface DBSHARINGSharingFileAccessErrorSerializer : NSObject /// /// Serializes `DBSHARINGSharingFileAccessError` instances. /// /// @param instance An instance of the `DBSHARINGSharingFileAccessError` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGSharingFileAccessError` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGSharingFileAccessError *)instance; /// /// Deserializes `DBSHARINGSharingFileAccessError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGSharingFileAccessError` API object. /// /// @return An instantiation of the `DBSHARINGSharingFileAccessError` object. /// + (DBSHARINGSharingFileAccessError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGSharingUserError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGSharingUserError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `SharingUserError` union. /// /// User account had a problem preventing this action. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGSharingUserError : NSObject #pragma mark - Instance fields /// The `DBSHARINGSharingUserErrorTag` enum type represents the possible tag /// states with which the `DBSHARINGSharingUserError` union can exist. 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, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBSHARINGSharingUserErrorTag tag; #pragma mark - Constructors /// /// Initializes union class with tag state of "email_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 "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_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 "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 `DBSHARINGSharingUserError` union. /// @interface DBSHARINGSharingUserErrorSerializer : NSObject /// /// Serializes `DBSHARINGSharingUserError` instances. /// /// @param instance An instance of the `DBSHARINGSharingUserError` API object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGSharingUserError` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGSharingUserError *)instance; /// /// Deserializes `DBSHARINGSharingUserError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGSharingUserError` API object. /// /// @return An instantiation of the `DBSHARINGSharingUserError` object. /// + (DBSHARINGSharingUserError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGTeamMemberInfo.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGTeamMemberInfo; @class DBUSERSTeam; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `TeamMemberInfo` 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 DBSHARINGTeamMemberInfo : NSObject #pragma mark - Instance fields /// Information about the member's team. @property (nonatomic, readonly) DBUSERSTeam *teamInfo; /// The display name of the user. @property (nonatomic, readonly, copy) NSString *displayName; /// ID of user as a member of a team. This field will only be present if the /// member is in the same team as current user. @property (nonatomic, readonly, copy, nullable) NSString *memberId; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param teamInfo Information about the member's team. /// @param displayName The display name of the user. /// @param memberId ID of user as a member of a team. This field will only be /// present if the member is in the same team as current user. /// /// @return An initialized instance. /// - (instancetype)initWithTeamInfo:(DBUSERSTeam *)teamInfo displayName:(NSString *)displayName memberId:(nullable NSString *)memberId; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param teamInfo Information about the member's team. /// @param displayName The display name of the user. /// /// @return An initialized instance. /// - (instancetype)initWithTeamInfo:(DBUSERSTeam *)teamInfo displayName:(NSString *)displayName; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `TeamMemberInfo` struct. /// @interface DBSHARINGTeamMemberInfoSerializer : NSObject /// /// Serializes `DBSHARINGTeamMemberInfo` instances. /// /// @param instance An instance of the `DBSHARINGTeamMemberInfo` API object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGTeamMemberInfo` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGTeamMemberInfo *)instance; /// /// Deserializes `DBSHARINGTeamMemberInfo` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGTeamMemberInfo` API object. /// /// @return An instantiation of the `DBSHARINGTeamMemberInfo` object. /// + (DBSHARINGTeamMemberInfo *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGTransferFolderArg.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGTransferFolderArg; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `TransferFolderArg` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGTransferFolderArg : NSObject #pragma mark - Instance fields /// The ID for the shared folder. @property (nonatomic, readonly, copy) NSString *sharedFolderId; /// A account or team member ID to transfer ownership to. @property (nonatomic, readonly, copy) NSString *toDropboxId; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param sharedFolderId The ID for the shared folder. /// @param toDropboxId A account or team member ID to transfer ownership to. /// /// @return An initialized instance. /// - (instancetype)initWithSharedFolderId:(NSString *)sharedFolderId toDropboxId:(NSString *)toDropboxId; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `TransferFolderArg` struct. /// @interface DBSHARINGTransferFolderArgSerializer : NSObject /// /// Serializes `DBSHARINGTransferFolderArg` instances. /// /// @param instance An instance of the `DBSHARINGTransferFolderArg` API object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGTransferFolderArg` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGTransferFolderArg *)instance; /// /// Deserializes `DBSHARINGTransferFolderArg` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGTransferFolderArg` API object. /// /// @return An instantiation of the `DBSHARINGTransferFolderArg` object. /// + (DBSHARINGTransferFolderArg *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGTransferFolderError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGSharedFolderAccessError; @class DBSHARINGTransferFolderError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `TransferFolderError` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGTransferFolderError : NSObject #pragma mark - Instance fields /// The `DBSHARINGTransferFolderErrorTag` enum type represents the possible tag /// states with which the `DBSHARINGTransferFolderError` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBSHARINGTransferFolderErrorTag){ /// (no description). DBSHARINGTransferFolderErrorAccessError, /// `toDropboxId` in `DBSHARINGTransferFolderArg` is invalid. DBSHARINGTransferFolderErrorInvalidDropboxId, /// 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'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, /// The current user does not have permission to perform this action. DBSHARINGTransferFolderErrorNoPermission, /// (no description). DBSHARINGTransferFolderErrorOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBSHARINGTransferFolderErrorTag tag; /// (no description). @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". /// /// @param accessError (no description). /// /// @return An initialized instance. /// - (instancetype)initWithAccessError:(DBSHARINGSharedFolderAccessError *)accessError; /// /// Initializes union class with tag state of "invalid_dropbox_id". /// /// Description of the "invalid_dropbox_id" tag state: `toDropboxId` in /// `DBSHARINGTransferFolderArg` is invalid. /// /// @return An initialized instance. /// - (instancetype)initWithInvalidDropboxId; /// /// Initializes union class with tag state of "new_owner_not_a_member". /// /// Description of the "new_owner_not_a_member" tag state: The new designated /// owner is not currently a member of the shared folder. /// /// @return An initialized instance. /// - (instancetype)initWithDNewOwnerNotAMember; /// /// Initializes union class with tag state of "new_owner_unmounted". /// /// Description of the "new_owner_unmounted" tag state: The new designated owner /// has not added the folder to their Dropbox. /// /// @return An initialized instance. /// - (instancetype)initWithDNewOwnerUnmounted; /// /// 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 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)initWithDNewOwnerEmailUnverified; /// /// Initializes union class with tag state of "team_folder". /// /// Description of the "team_folder" tag state: This action cannot be performed /// on a team shared folder. /// /// @return An initialized instance. /// - (instancetype)initWithTeamFolder; /// /// 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 /// "invalid_dropbox_id". /// /// @return Whether the union's current tag state has value /// "invalid_dropbox_id". /// - (BOOL)isInvalidDropboxId; /// /// Retrieves whether the union's current tag state has value /// "new_owner_not_a_member". /// /// @return Whether the union's current tag state has value /// "new_owner_not_a_member". /// - (BOOL)isDNewOwnerNotAMember; /// /// Retrieves whether the union's current tag state has value /// "new_owner_unmounted". /// /// @return Whether the union's current tag state has value /// "new_owner_unmounted". /// - (BOOL)isDNewOwnerUnmounted; /// /// Retrieves whether the union's current tag state has value /// "new_owner_email_unverified". /// /// @return Whether the union's current tag state has value /// "new_owner_email_unverified". /// - (BOOL)isDNewOwnerEmailUnverified; /// /// Retrieves whether the union's current tag state has value "team_folder". /// /// @return Whether the union's current tag state has value "team_folder". /// - (BOOL)isTeamFolder; /// /// 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 `DBSHARINGTransferFolderError` union. /// @interface DBSHARINGTransferFolderErrorSerializer : NSObject /// /// Serializes `DBSHARINGTransferFolderError` instances. /// /// @param instance An instance of the `DBSHARINGTransferFolderError` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGTransferFolderError` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGTransferFolderError *)instance; /// /// Deserializes `DBSHARINGTransferFolderError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGTransferFolderError` API object. /// /// @return An instantiation of the `DBSHARINGTransferFolderError` object. /// + (DBSHARINGTransferFolderError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGUnmountFolderArg.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGUnmountFolderArg; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `UnmountFolderArg` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGUnmountFolderArg : NSObject #pragma mark - Instance fields /// 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. /// /// @return An initialized instance. /// - (instancetype)initWithSharedFolderId:(NSString *)sharedFolderId; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `UnmountFolderArg` struct. /// @interface DBSHARINGUnmountFolderArgSerializer : NSObject /// /// Serializes `DBSHARINGUnmountFolderArg` instances. /// /// @param instance An instance of the `DBSHARINGUnmountFolderArg` API object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGUnmountFolderArg` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGUnmountFolderArg *)instance; /// /// Deserializes `DBSHARINGUnmountFolderArg` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGUnmountFolderArg` API object. /// /// @return An instantiation of the `DBSHARINGUnmountFolderArg` object. /// + (DBSHARINGUnmountFolderArg *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGUnmountFolderError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGSharedFolderAccessError; @class DBSHARINGUnmountFolderError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `UnmountFolderError` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGUnmountFolderError : NSObject #pragma mark - Instance fields /// The `DBSHARINGUnmountFolderErrorTag` enum type represents the possible tag /// states with which the `DBSHARINGUnmountFolderError` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBSHARINGUnmountFolderErrorTag){ /// (no description). DBSHARINGUnmountFolderErrorAccessError, /// 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, /// (no description). DBSHARINGUnmountFolderErrorOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBSHARINGUnmountFolderErrorTag tag; /// (no description). @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". /// /// @param accessError (no description). /// /// @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 "not_unmountable". /// /// Description of the "not_unmountable" tag state: 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. /// /// @return An initialized instance. /// - (instancetype)initWithNotUnmountable; /// /// 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 "not_unmountable". /// /// @return Whether the union's current tag state has value "not_unmountable". /// - (BOOL)isNotUnmountable; /// /// 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 `DBSHARINGUnmountFolderError` union. /// @interface DBSHARINGUnmountFolderErrorSerializer : NSObject /// /// Serializes `DBSHARINGUnmountFolderError` instances. /// /// @param instance An instance of the `DBSHARINGUnmountFolderError` API object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGUnmountFolderError` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGUnmountFolderError *)instance; /// /// Deserializes `DBSHARINGUnmountFolderError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGUnmountFolderError` API object. /// /// @return An instantiation of the `DBSHARINGUnmountFolderError` object. /// + (DBSHARINGUnmountFolderError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGUnshareFileArg.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGUnshareFileArg; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `UnshareFileArg` struct. /// /// Arguments for `unshareFile`. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGUnshareFileArg : NSObject #pragma mark - Instance fields /// The file to unshare. @property (nonatomic, readonly, copy) NSString *file; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param file The file to unshare. /// /// @return An initialized instance. /// - (instancetype)initWithFile:(NSString *)file; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `UnshareFileArg` struct. /// @interface DBSHARINGUnshareFileArgSerializer : NSObject /// /// Serializes `DBSHARINGUnshareFileArg` instances. /// /// @param instance An instance of the `DBSHARINGUnshareFileArg` API object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGUnshareFileArg` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGUnshareFileArg *)instance; /// /// Deserializes `DBSHARINGUnshareFileArg` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGUnshareFileArg` API object. /// /// @return An instantiation of the `DBSHARINGUnshareFileArg` object. /// + (DBSHARINGUnshareFileArg *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGUnshareFileError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGSharingFileAccessError; @class DBSHARINGSharingUserError; @class DBSHARINGUnshareFileError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `UnshareFileError` union. /// /// Error result for `unshareFile`. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGUnshareFileError : NSObject #pragma mark - Instance fields /// The `DBSHARINGUnshareFileErrorTag` enum type represents the possible tag /// states with which the `DBSHARINGUnshareFileError` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBSHARINGUnshareFileErrorTag){ /// (no description). DBSHARINGUnshareFileErrorUserError, /// (no description). DBSHARINGUnshareFileErrorAccessError, /// (no description). DBSHARINGUnshareFileErrorOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBSHARINGUnshareFileErrorTag tag; /// (no description). @note Ensure the `isUserError` method returns true before /// accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) DBSHARINGSharingUserError *userError; /// (no description). @note Ensure the `isAccessError` method returns true /// before accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) DBSHARINGSharingFileAccessError *accessError; #pragma mark - Constructors /// /// Initializes union class with tag state of "user_error". /// /// @param userError (no description). /// /// @return An initialized instance. /// - (instancetype)initWithUserError:(DBSHARINGSharingUserError *)userError; /// /// Initializes union class with tag state of "access_error". /// /// @param accessError (no description). /// /// @return An initialized instance. /// - (instancetype)initWithAccessError:(DBSHARINGSharingFileAccessError *)accessError; /// /// 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_error". /// /// @note Call this method and ensure it returns true before accessing the /// `userError` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value "user_error". /// - (BOOL)isUserError; /// /// 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 "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 `DBSHARINGUnshareFileError` union. /// @interface DBSHARINGUnshareFileErrorSerializer : NSObject /// /// Serializes `DBSHARINGUnshareFileError` instances. /// /// @param instance An instance of the `DBSHARINGUnshareFileError` API object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGUnshareFileError` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGUnshareFileError *)instance; /// /// Deserializes `DBSHARINGUnshareFileError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGUnshareFileError` API object. /// /// @return An instantiation of the `DBSHARINGUnshareFileError` object. /// + (DBSHARINGUnshareFileError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGUnshareFolderArg.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGUnshareFolderArg; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `UnshareFolderArg` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGUnshareFolderArg : NSObject #pragma mark - Instance fields /// The ID for the shared folder. @property (nonatomic, readonly, copy) NSString *sharedFolderId; /// If true, members of this shared folder will get a copy of this folder after /// it's unshared. Otherwise, it will be removed from their Dropbox. The current /// user, who is an owner, will always retain their copy. @property (nonatomic, readonly) NSNumber *leaveACopy; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @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. Otherwise, it will be removed from their /// Dropbox. The current user, who is an owner, will always retain their copy. /// /// @return An initialized instance. /// - (instancetype)initWithSharedFolderId:(NSString *)sharedFolderId leaveACopy:(nullable NSNumber *)leaveACopy; /// /// 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 `UnshareFolderArg` struct. /// @interface DBSHARINGUnshareFolderArgSerializer : NSObject /// /// Serializes `DBSHARINGUnshareFolderArg` instances. /// /// @param instance An instance of the `DBSHARINGUnshareFolderArg` API object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGUnshareFolderArg` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGUnshareFolderArg *)instance; /// /// Deserializes `DBSHARINGUnshareFolderArg` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGUnshareFolderArg` API object. /// /// @return An instantiation of the `DBSHARINGUnshareFolderArg` object. /// + (DBSHARINGUnshareFolderArg *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGUnshareFolderError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGSharedFolderAccessError; @class DBSHARINGUnshareFolderError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `UnshareFolderError` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGUnshareFolderError : NSObject #pragma mark - Instance fields /// The `DBSHARINGUnshareFolderErrorTag` enum type represents the possible tag /// states with which the `DBSHARINGUnshareFolderError` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBSHARINGUnshareFolderErrorTag){ /// (no description). DBSHARINGUnshareFolderErrorAccessError, /// This action cannot be performed on a team shared folder. DBSHARINGUnshareFolderErrorTeamFolder, /// The current user does not have permission to perform this action. DBSHARINGUnshareFolderErrorNoPermission, /// This shared folder has too many files to be unshared. DBSHARINGUnshareFolderErrorTooManyFiles, /// (no description). DBSHARINGUnshareFolderErrorOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBSHARINGUnshareFolderErrorTag tag; /// (no description). @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". /// /// @param accessError (no description). /// /// @return An initialized instance. /// - (instancetype)initWithAccessError:(DBSHARINGSharedFolderAccessError *)accessError; /// /// Initializes union class with tag state of "team_folder". /// /// Description of the "team_folder" tag state: This action cannot be performed /// on a team shared folder. /// /// @return An initialized instance. /// - (instancetype)initWithTeamFolder; /// /// 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 "too_many_files". /// /// Description of the "too_many_files" tag state: This shared folder has too /// many files to be unshared. /// /// @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 "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 "team_folder". /// /// @return Whether the union's current tag state has value "team_folder". /// - (BOOL)isTeamFolder; /// /// 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 "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 `DBSHARINGUnshareFolderError` union. /// @interface DBSHARINGUnshareFolderErrorSerializer : NSObject /// /// Serializes `DBSHARINGUnshareFolderError` instances. /// /// @param instance An instance of the `DBSHARINGUnshareFolderError` API object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGUnshareFolderError` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGUnshareFolderError *)instance; /// /// Deserializes `DBSHARINGUnshareFolderError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGUnshareFolderError` API object. /// /// @return An instantiation of the `DBSHARINGUnshareFolderError` object. /// + (DBSHARINGUnshareFolderError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGUpdateFileMemberArgs.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGAccessLevel; @class DBSHARINGMemberSelector; @class DBSHARINGUpdateFileMemberArgs; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `UpdateFileMemberArgs` struct. /// /// Arguments for `updateFileMember`. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @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 /// /// 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 `UpdateFileMemberArgs` struct. /// @interface DBSHARINGUpdateFileMemberArgsSerializer : NSObject /// /// Serializes `DBSHARINGUpdateFileMemberArgs` instances. /// /// @param instance An instance of the `DBSHARINGUpdateFileMemberArgs` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGUpdateFileMemberArgs` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGUpdateFileMemberArgs *)instance; /// /// Deserializes `DBSHARINGUpdateFileMemberArgs` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGUpdateFileMemberArgs` API object. /// /// @return An instantiation of the `DBSHARINGUpdateFileMemberArgs` object. /// + (DBSHARINGUpdateFileMemberArgs *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGUpdateFolderMemberArg.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGAccessLevel; @class DBSHARINGMemberSelector; @class DBSHARINGUpdateFolderMemberArg; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `UpdateFolderMemberArg` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGUpdateFolderMemberArg : NSObject #pragma mark - Instance fields /// The ID for the shared folder. @property (nonatomic, readonly, copy) NSString *sharedFolderId; /// The member of the shared folder to update. Only the `dropboxId` in /// `DBSHARINGMemberSelector` may be set at this time. @property (nonatomic, readonly) DBSHARINGMemberSelector *member; /// The new access level for member. `owner` in `DBSHARINGAccessLevel` is /// disallowed. @property (nonatomic, readonly) DBSHARINGAccessLevel *accessLevel; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @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 set at this time. /// @param accessLevel The new access level for member. `owner` in /// `DBSHARINGAccessLevel` is disallowed. /// /// @return An initialized instance. /// - (instancetype)initWithSharedFolderId:(NSString *)sharedFolderId member:(DBSHARINGMemberSelector *)member accessLevel:(DBSHARINGAccessLevel *)accessLevel; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `UpdateFolderMemberArg` struct. /// @interface DBSHARINGUpdateFolderMemberArgSerializer : NSObject /// /// Serializes `DBSHARINGUpdateFolderMemberArg` instances. /// /// @param instance An instance of the `DBSHARINGUpdateFolderMemberArg` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGUpdateFolderMemberArg` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGUpdateFolderMemberArg *)instance; /// /// Deserializes `DBSHARINGUpdateFolderMemberArg` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGUpdateFolderMemberArg` API object. /// /// @return An instantiation of the `DBSHARINGUpdateFolderMemberArg` object. /// + (DBSHARINGUpdateFolderMemberArg *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGUpdateFolderMemberError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGAddFolderMemberError; @class DBSHARINGSharedFolderAccessError; @class DBSHARINGSharedFolderMemberError; @class DBSHARINGUpdateFolderMemberError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `UpdateFolderMemberError` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGUpdateFolderMemberError : NSObject #pragma mark - Instance fields /// The `DBSHARINGUpdateFolderMemberErrorTag` enum type represents the possible /// tag states with which the `DBSHARINGUpdateFolderMemberError` union can /// exist. typedef NS_CLOSED_ENUM(NSInteger, DBSHARINGUpdateFolderMemberErrorTag){ /// (no description). DBSHARINGUpdateFolderMemberErrorAccessError, /// (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, /// 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, /// (no description). DBSHARINGUpdateFolderMemberErrorOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBSHARINGUpdateFolderMemberErrorTag tag; /// (no description). @note Ensure the `isAccessError` method returns true /// before accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) DBSHARINGSharedFolderAccessError *accessError; /// (no description). @note Ensure the `isMemberError` method returns true /// before accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) DBSHARINGSharedFolderMemberError *memberError; /// If updating the access type required the member to be added to the shared /// folder and there was an error when adding the member. @note Ensure the /// `isNoExplicitAccess` method returns true before accessing, otherwise a /// runtime exception will be raised. @property (nonatomic, readonly) DBSHARINGAddFolderMemberError *noExplicitAccess; #pragma mark - Constructors /// /// Initializes union class with tag state of "access_error". /// /// @param accessError (no description). /// /// @return An initialized instance. /// - (instancetype)initWithAccessError:(DBSHARINGSharedFolderAccessError *)accessError; /// /// Initializes union class with tag state of "member_error". /// /// @param memberError (no description). /// /// @return An initialized instance. /// - (instancetype)initWithMemberError:(DBSHARINGSharedFolderMemberError *)memberError; /// /// Initializes union class with tag state of "no_explicit_access". /// /// Description of the "no_explicit_access" tag state: If updating the access /// type required the member to be added to the shared folder and there was an /// error when adding the member. /// /// @param noExplicitAccess If updating the access type required the member to /// be added to the shared folder and there was an error when adding the member. /// /// @return An initialized instance. /// - (instancetype)initWithNoExplicitAccess:(DBSHARINGAddFolderMemberError *)noExplicitAccess; /// /// Initializes union class with tag state of "insufficient_plan". /// /// Description of the "insufficient_plan" tag state: 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. /// /// @return An initialized instance. /// - (instancetype)initWithInsufficientPlan; /// /// 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 "member_error". /// /// @note Call this method and ensure it returns true before accessing the /// `memberError` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value "member_error". /// - (BOOL)isMemberError; /// /// Retrieves whether the union's current tag state has value /// "no_explicit_access". /// /// @note Call this method and ensure it returns true before accessing the /// `noExplicitAccess` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value /// "no_explicit_access". /// - (BOOL)isNoExplicitAccess; /// /// Retrieves whether the union's current tag state has value /// "insufficient_plan". /// /// @return Whether the union's current tag state has value "insufficient_plan". /// - (BOOL)isInsufficientPlan; /// /// 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 `DBSHARINGUpdateFolderMemberError` union. /// @interface DBSHARINGUpdateFolderMemberErrorSerializer : NSObject /// /// Serializes `DBSHARINGUpdateFolderMemberError` instances. /// /// @param instance An instance of the `DBSHARINGUpdateFolderMemberError` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGUpdateFolderMemberError` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGUpdateFolderMemberError *)instance; /// /// Deserializes `DBSHARINGUpdateFolderMemberError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGUpdateFolderMemberError` API object. /// /// @return An instantiation of the `DBSHARINGUpdateFolderMemberError` object. /// + (DBSHARINGUpdateFolderMemberError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGUpdateFolderPolicyArg.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGAclUpdatePolicy; @class DBSHARINGFolderAction; @class DBSHARINGLinkSettings; @class DBSHARINGMemberPolicy; @class DBSHARINGSharedLinkPolicy; @class DBSHARINGUpdateFolderPolicyArg; @class DBSHARINGViewerInfoPolicy; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `UpdateFolderPolicyArg` struct. /// /// If any of the policies are unset, then they retain their current setting. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGUpdateFolderPolicyArg : NSObject #pragma mark - Instance fields /// The ID for the shared folder. @property (nonatomic, readonly, copy) NSString *sharedFolderId; /// Who can be a member of this shared folder. Only applicable if the current /// user is on a team. @property (nonatomic, readonly, nullable) DBSHARINGMemberPolicy *memberPolicy; /// Who can add and remove members of this shared folder. @property (nonatomic, readonly, nullable) DBSHARINGAclUpdatePolicy *aclUpdatePolicy; /// Who can enable/disable viewer info for this shared folder. @property (nonatomic, readonly, nullable) DBSHARINGViewerInfoPolicy *viewerInfoPolicy; /// The policy to apply to shared links created for content inside this shared /// folder. The current user must be on a team to set this policy to `members` /// in `DBSHARINGSharedLinkPolicy`. @property (nonatomic, readonly, nullable) DBSHARINGSharedLinkPolicy *sharedLinkPolicy; /// Settings on the link for this folder. @property (nonatomic, readonly, nullable) DBSHARINGLinkSettings *linkSettings; /// 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 the /// folder. @property (nonatomic, readonly, nullable) NSArray *actions; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @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. /// @param aclUpdatePolicy Who can add and remove members of this shared folder. /// @param viewerInfoPolicy Who can enable/disable viewer info for this shared /// folder. /// @param sharedLinkPolicy The policy to apply to shared links created for /// content inside this shared folder. The current user must be on a team to set /// this policy to `members` in `DBSHARINGSharedLinkPolicy`. /// @param linkSettings Settings on the link for this 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 the folder. /// /// @return An initialized instance. /// - (instancetype)initWithSharedFolderId:(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; /// /// 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 `UpdateFolderPolicyArg` struct. /// @interface DBSHARINGUpdateFolderPolicyArgSerializer : NSObject /// /// Serializes `DBSHARINGUpdateFolderPolicyArg` instances. /// /// @param instance An instance of the `DBSHARINGUpdateFolderPolicyArg` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGUpdateFolderPolicyArg` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGUpdateFolderPolicyArg *)instance; /// /// Deserializes `DBSHARINGUpdateFolderPolicyArg` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGUpdateFolderPolicyArg` API object. /// /// @return An instantiation of the `DBSHARINGUpdateFolderPolicyArg` object. /// + (DBSHARINGUpdateFolderPolicyArg *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGUpdateFolderPolicyError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGSharedFolderAccessError; @class DBSHARINGUpdateFolderPolicyError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `UpdateFolderPolicyError` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGUpdateFolderPolicyError : NSObject #pragma mark - Instance fields /// The `DBSHARINGUpdateFolderPolicyErrorTag` enum type represents the possible /// tag states with which the `DBSHARINGUpdateFolderPolicyError` union can /// exist. typedef NS_CLOSED_ENUM(NSInteger, DBSHARINGUpdateFolderPolicyErrorTag){ /// (no description). DBSHARINGUpdateFolderPolicyErrorAccessError, /// `memberPolicy` in `DBSHARINGUpdateFolderPolicyArg` was set even though /// user is not on a team. DBSHARINGUpdateFolderPolicyErrorNotOnTeam, /// 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 user does not have permission to perform this action. DBSHARINGUpdateFolderPolicyErrorNoPermission, /// This action cannot be performed on a team shared folder. DBSHARINGUpdateFolderPolicyErrorTeamFolder, /// (no description). DBSHARINGUpdateFolderPolicyErrorOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBSHARINGUpdateFolderPolicyErrorTag tag; /// (no description). @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". /// /// @param accessError (no description). /// /// @return An initialized instance. /// - (instancetype)initWithAccessError:(DBSHARINGSharedFolderAccessError *)accessError; /// /// Initializes union class with tag state of "not_on_team". /// /// Description of the "not_on_team" tag state: `memberPolicy` in /// `DBSHARINGUpdateFolderPolicyArg` was set even though user is not on a team. /// /// @return An initialized instance. /// - (instancetype)initWithNotOnTeam; /// /// Initializes union class with tag state of /// "team_policy_disallows_member_policy". /// /// Description of the "team_policy_disallows_member_policy" tag state: Team /// policy is more restrictive than `memberPolicy` in `DBSHARINGShareFolderArg`. /// /// @return An initialized instance. /// - (instancetype)initWithTeamPolicyDisallowsMemberPolicy; /// /// Initializes union class with tag state of "disallowed_shared_link_policy". /// /// Description of the "disallowed_shared_link_policy" tag state: The current /// account is not allowed to select the specified `sharedLinkPolicy` in /// `DBSHARINGShareFolderArg`. /// /// @return An initialized instance. /// - (instancetype)initWithDisallowedSharedLinkPolicy; /// /// 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 "team_folder". /// /// Description of the "team_folder" tag state: This action cannot be performed /// on a team shared folder. /// /// @return An initialized instance. /// - (instancetype)initWithTeamFolder; /// /// 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 "not_on_team". /// /// @return Whether the union's current tag state has value "not_on_team". /// - (BOOL)isNotOnTeam; /// /// Retrieves whether the union's current tag state has value /// "team_policy_disallows_member_policy". /// /// @return Whether the union's current tag state has value /// "team_policy_disallows_member_policy". /// - (BOOL)isTeamPolicyDisallowsMemberPolicy; /// /// Retrieves whether the union's current tag state has value /// "disallowed_shared_link_policy". /// /// @return Whether the union's current tag state has value /// "disallowed_shared_link_policy". /// - (BOOL)isDisallowedSharedLinkPolicy; /// /// 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 "team_folder". /// /// @return Whether the union's current tag state has value "team_folder". /// - (BOOL)isTeamFolder; /// /// 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 `DBSHARINGUpdateFolderPolicyError` union. /// @interface DBSHARINGUpdateFolderPolicyErrorSerializer : NSObject /// /// Serializes `DBSHARINGUpdateFolderPolicyError` instances. /// /// @param instance An instance of the `DBSHARINGUpdateFolderPolicyError` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGUpdateFolderPolicyError` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGUpdateFolderPolicyError *)instance; /// /// Deserializes `DBSHARINGUpdateFolderPolicyError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGUpdateFolderPolicyError` API object. /// /// @return An instantiation of the `DBSHARINGUpdateFolderPolicyError` object. /// + (DBSHARINGUpdateFolderPolicyError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGUserFileMembershipInfo.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSHARINGUserMembershipInfo.h" #import "DBSerializableProtocol.h" @class DBSEENSTATEPlatformType; @class DBSHARINGAccessLevel; @class DBSHARINGMemberPermission; @class DBSHARINGUserFileMembershipInfo; @class DBSHARINGUserInfo; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `UserFileMembershipInfo` struct. /// /// The information about a user member of the shared content with an appended /// last seen timestamp. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGUserFileMembershipInfo : DBSHARINGUserMembershipInfo #pragma mark - Instance fields /// 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. 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 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. 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. /// - (instancetype)initWithAccessType:(DBSHARINGAccessLevel *)accessType user:(DBSHARINGUserInfo *)user permissions:(nullable NSArray *)permissions initials:(nullable NSString *)initials isInherited:(nullable NSNumber *)isInherited 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. 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. /// - (instancetype)initWithAccessType:(DBSHARINGAccessLevel *)accessType user:(DBSHARINGUserInfo *)user; @end #pragma mark - Serializer Object /// /// The serialization class for the `UserFileMembershipInfo` struct. /// @interface DBSHARINGUserFileMembershipInfoSerializer : NSObject /// /// Serializes `DBSHARINGUserFileMembershipInfo` instances. /// /// @param instance An instance of the `DBSHARINGUserFileMembershipInfo` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGUserFileMembershipInfo` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGUserFileMembershipInfo *)instance; /// /// Deserializes `DBSHARINGUserFileMembershipInfo` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGUserFileMembershipInfo` API object. /// /// @return An instantiation of the `DBSHARINGUserFileMembershipInfo` object. /// + (DBSHARINGUserFileMembershipInfo *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGUserInfo.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGUserInfo; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `UserInfo` struct. /// /// Basic information about a user. Use `usersAccount` and `usersAccountBatch` /// to obtain more detailed information. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGUserInfo : NSObject #pragma mark - Instance fields /// 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; /// The team member ID of the shared folder member. Only present if sameTeam is /// true. @property (nonatomic, readonly, copy, nullable) NSString *teamMemberId; #pragma mark - Constructors /// /// 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. /// /// @return An initialized instance. /// - (instancetype)initWithAccountId:(NSString *)accountId email:(NSString *)email displayName:(NSString *)displayName sameTeam:(NSNumber *)sameTeam teamMemberId:(nullable NSString *)teamMemberId; /// /// Convenience constructor (exposes only non-nullable instance variables with /// 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 email:(NSString *)email displayName:(NSString *)displayName sameTeam:(NSNumber *)sameTeam; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `UserInfo` struct. /// @interface DBSHARINGUserInfoSerializer : NSObject /// /// Serializes `DBSHARINGUserInfo` instances. /// /// @param instance An instance of the `DBSHARINGUserInfo` API object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGUserInfo` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGUserInfo *)instance; /// /// Deserializes `DBSHARINGUserInfo` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGUserInfo` API object. /// /// @return An instantiation of the `DBSHARINGUserInfo` object. /// + (DBSHARINGUserInfo *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGUserMembershipInfo.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSHARINGMembershipInfo.h" #import "DBSerializableProtocol.h" @class DBSHARINGAccessLevel; @class DBSHARINGMemberPermission; @class DBSHARINGUserInfo; @class DBSHARINGUserMembershipInfo; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `UserMembershipInfo` struct. /// /// The information about a user member of the shared content. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGUserMembershipInfo : DBSHARINGMembershipInfo #pragma mark - Instance fields /// The account information for the membership user. @property (nonatomic, readonly) DBSHARINGUserInfo *user; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @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 Never set. /// @param isInherited True if the member has access from a parent folder. /// /// @return An initialized instance. /// - (instancetype)initWithAccessType:(DBSHARINGAccessLevel *)accessType user:(DBSHARINGUserInfo *)user permissions:(nullable NSArray *)permissions initials:(nullable NSString *)initials isInherited:(nullable NSNumber *)isInherited; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @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. /// - (instancetype)initWithAccessType:(DBSHARINGAccessLevel *)accessType user:(DBSHARINGUserInfo *)user; @end #pragma mark - Serializer Object /// /// The serialization class for the `UserMembershipInfo` struct. /// @interface DBSHARINGUserMembershipInfoSerializer : NSObject /// /// Serializes `DBSHARINGUserMembershipInfo` instances. /// /// @param instance An instance of the `DBSHARINGUserMembershipInfo` API object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGUserMembershipInfo` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGUserMembershipInfo *)instance; /// /// Deserializes `DBSHARINGUserMembershipInfo` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGUserMembershipInfo` API object. /// /// @return An instantiation of the `DBSHARINGUserMembershipInfo` object. /// + (DBSHARINGUserMembershipInfo *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGViewerInfoPolicy.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGViewerInfoPolicy; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `ViewerInfoPolicy` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGViewerInfoPolicy : NSObject #pragma mark - Instance fields /// The `DBSHARINGViewerInfoPolicyTag` enum type represents the possible tag /// states with which the `DBSHARINGViewerInfoPolicy` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBSHARINGViewerInfoPolicyTag){ /// Viewer information is available on this file. DBSHARINGViewerInfoPolicyEnabled, /// Viewer information is disabled on this file. DBSHARINGViewerInfoPolicyDisabled, /// (no description). DBSHARINGViewerInfoPolicyOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBSHARINGViewerInfoPolicyTag tag; #pragma mark - Constructors /// /// Initializes union class with tag state of "enabled". /// /// Description of the "enabled" tag state: Viewer information is available on /// this file. /// /// @return An initialized instance. /// - (instancetype)initWithEnabled; /// /// Initializes union class with tag state of "disabled". /// /// Description of the "disabled" tag state: Viewer information is disabled on /// this file. /// /// @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 "enabled". /// /// @return Whether the union's current tag state has value "enabled". /// - (BOOL)isEnabled; /// /// 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 `DBSHARINGViewerInfoPolicy` union. /// @interface DBSHARINGViewerInfoPolicySerializer : NSObject /// /// Serializes `DBSHARINGViewerInfoPolicy` instances. /// /// @param instance An instance of the `DBSHARINGViewerInfoPolicy` API object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGViewerInfoPolicy` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGViewerInfoPolicy *)instance; /// /// Deserializes `DBSHARINGViewerInfoPolicy` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGViewerInfoPolicy` API object. /// /// @return An instantiation of the `DBSHARINGViewerInfoPolicy` object. /// + (DBSHARINGViewerInfoPolicy *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGVisibility.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGVisibility; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `Visibility` union. /// /// Who can access a shared link. The most open visibility is public. The /// default depends on many aspects, such as team and user preferences and /// shared folder settings. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBSHARINGVisibility : NSObject #pragma mark - Instance fields /// The `DBSHARINGVisibilityTag` enum type represents the possible tag states /// with which the `DBSHARINGVisibility` union can exist. 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, /// 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 shared folder containing the linked file can access /// the link. Login is required. DBSHARINGVisibilitySharedFolderOnly, /// (no description). DBSHARINGVisibilityOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBSHARINGVisibilityTag 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. /// /// @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 "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 "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 `DBSHARINGVisibility` union. /// @interface DBSHARINGVisibilitySerializer : NSObject /// /// Serializes `DBSHARINGVisibility` instances. /// /// @param instance An instance of the `DBSHARINGVisibility` API object. /// /// @return A json-compatible dictionary representation of the /// `DBSHARINGVisibility` API object. /// + (nullable NSDictionary *)serialize:(DBSHARINGVisibility *)instance; /// /// Deserializes `DBSHARINGVisibility` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBSHARINGVisibility` API object. /// /// @return An instantiation of the `DBSHARINGVisibility` object. /// + (DBSHARINGVisibility *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGVisibilityPolicy.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGVisibilityPolicyDisallowedReason.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/DBTeamObjects.m ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// /// Arguments, results, and errors for the `Team` namespace. #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMDeviceSession.h" #pragma mark - API Object @implementation DBTEAMDeviceSession #pragma mark - Constructors - (instancetype)initWithSessionId:(NSString *)sessionId ipAddress:(NSString *)ipAddress country:(NSString *)country created:(NSDate *)created updated:(NSDate *)updated { [DBStoneValidators nonnullValidator:nil](sessionId); self = [super init]; if (self) { _sessionId = sessionId; _ipAddress = ipAddress; _country = country; _created = created; _updated = updated; } return self; } - (instancetype)initWithSessionId:(NSString *)sessionId { return [self initWithSessionId:sessionId ipAddress:nil country:nil created:nil updated:nil]; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMDeviceSessionSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMDeviceSessionSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMDeviceSessionSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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]; 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]; } return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToDeviceSession:other]; } - (BOOL)isEqualToDeviceSession:(DBTEAMDeviceSession *)aDeviceSession { if (self == aDeviceSession) { return YES; } if (![self.sessionId isEqual:aDeviceSession.sessionId]) { return NO; } if (self.ipAddress) { if (![self.ipAddress isEqual:aDeviceSession.ipAddress]) { return NO; } } if (self.country) { if (![self.country isEqual:aDeviceSession.country]) { return NO; } } if (self.created) { if (![self.created isEqual:aDeviceSession.created]) { return NO; } } if (self.updated) { if (![self.updated isEqual:aDeviceSession.updated]) { return NO; } } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMDeviceSessionSerializer + (NSDictionary *)serialize:(DBTEAMDeviceSession *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"session_id"] = valueObj.sessionId; 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"]; } return jsonDict; } + (DBTEAMDeviceSession *)deserialize:(NSDictionary *)valueDict { NSString *sessionId = valueDict[@"session_id"]; 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; return [[DBTEAMDeviceSession alloc] initWithSessionId:sessionId ipAddress:ipAddress country:country created:created updated:updated]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMActiveWebSession.h" #import "DBTEAMDeviceSession.h" #pragma mark - API Object @implementation DBTEAMActiveWebSession #pragma mark - Constructors - (instancetype)initWithSessionId:(NSString *)sessionId userAgent:(NSString *)userAgent os:(NSString *)os browser:(NSString *)browser ipAddress:(NSString *)ipAddress country:(NSString *)country created:(NSDate *)created updated:(NSDate *)updated expires:(NSDate *)expires { [DBStoneValidators nonnullValidator:nil](sessionId); [DBStoneValidators nonnullValidator:nil](userAgent); [DBStoneValidators nonnullValidator:nil](os); [DBStoneValidators nonnullValidator:nil](browser); self = [super initWithSessionId:sessionId ipAddress:ipAddress country:country created:created updated:updated]; if (self) { _userAgent = userAgent; _os = os; _browser = browser; _expires = expires; } return self; } - (instancetype)initWithSessionId:(NSString *)sessionId userAgent:(NSString *)userAgent os:(NSString *)os browser:(NSString *)browser { return [self initWithSessionId:sessionId userAgent:userAgent os:os browser:browser ipAddress:nil country:nil created:nil updated:nil expires:nil]; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMActiveWebSessionSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMActiveWebSessionSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMActiveWebSessionSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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.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.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.expires != nil) { 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 isEqualToActiveWebSession:other]; } - (BOOL)isEqualToActiveWebSession:(DBTEAMActiveWebSession *)anActiveWebSession { if (self == anActiveWebSession) { return YES; } if (![self.sessionId isEqual:anActiveWebSession.sessionId]) { return NO; } if (![self.userAgent isEqual:anActiveWebSession.userAgent]) { return NO; } if (![self.os isEqual:anActiveWebSession.os]) { return NO; } if (![self.browser isEqual:anActiveWebSession.browser]) { return NO; } if (self.ipAddress) { if (![self.ipAddress isEqual:anActiveWebSession.ipAddress]) { return NO; } } if (self.country) { if (![self.country isEqual:anActiveWebSession.country]) { return NO; } } if (self.created) { if (![self.created isEqual:anActiveWebSession.created]) { return NO; } } if (self.updated) { if (![self.updated isEqual:anActiveWebSession.updated]) { return NO; } } if (self.expires) { if (![self.expires isEqual:anActiveWebSession.expires]) { return NO; } } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMActiveWebSessionSerializer + (NSDictionary *)serialize:(DBTEAMActiveWebSession *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"session_id"] = valueObj.sessionId; jsonDict[@"user_agent"] = valueObj.userAgent; jsonDict[@"os"] = valueObj.os; jsonDict[@"browser"] = valueObj.browser; 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.expires) { jsonDict[@"expires"] = [DBNSDateSerializer serialize:valueObj.expires dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; } return jsonDict; } + (DBTEAMActiveWebSession *)deserialize:(NSDictionary *)valueDict { NSString *sessionId = valueDict[@"session_id"]; NSString *userAgent = valueDict[@"user_agent"]; NSString *os = valueDict[@"os"]; NSString *browser = valueDict[@"browser"]; 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; NSDate *expires = valueDict[@"expires"] ? [DBNSDateSerializer deserialize:valueDict[@"expires"] dateFormat:@"%Y-%m-%dT%H:%M:%SZ"] : nil; return [[DBTEAMActiveWebSession alloc] initWithSessionId:sessionId userAgent:userAgent os:os browser:browser ipAddress:ipAddress country:country created:created updated:updated expires:expires]; } @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" #pragma mark - API Object @implementation DBTEAMAdminTier #pragma mark - Constructors - (instancetype)initWithTeamAdmin { self = [super init]; if (self) { _tag = DBTEAMAdminTierTeamAdmin; } return self; } - (instancetype)initWithUserManagementAdmin { self = [super init]; if (self) { _tag = DBTEAMAdminTierUserManagementAdmin; } return self; } - (instancetype)initWithSupportAdmin { self = [super init]; if (self) { _tag = DBTEAMAdminTierSupportAdmin; } return self; } - (instancetype)initWithMemberOnly { self = [super init]; if (self) { _tag = DBTEAMAdminTierMemberOnly; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isTeamAdmin { return _tag == DBTEAMAdminTierTeamAdmin; } - (BOOL)isUserManagementAdmin { return _tag == DBTEAMAdminTierUserManagementAdmin; } - (BOOL)isSupportAdmin { return _tag == DBTEAMAdminTierSupportAdmin; } - (BOOL)isMemberOnly { return _tag == DBTEAMAdminTierMemberOnly; } - (NSString *)tagName { switch (_tag) { case DBTEAMAdminTierTeamAdmin: return @"DBTEAMAdminTierTeamAdmin"; case DBTEAMAdminTierUserManagementAdmin: return @"DBTEAMAdminTierUserManagementAdmin"; case DBTEAMAdminTierSupportAdmin: return @"DBTEAMAdminTierSupportAdmin"; case DBTEAMAdminTierMemberOnly: return @"DBTEAMAdminTierMemberOnly"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMAdminTierSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMAdminTierSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMAdminTierSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToAdminTier:other]; } - (BOOL)isEqualToAdminTier:(DBTEAMAdminTier *)anAdminTier { if (self == anAdminTier) { return YES; } if (self.tag != anAdminTier.tag) { return NO; } switch (_tag) { case DBTEAMAdminTierTeamAdmin: return [[self tagName] isEqual:[anAdminTier tagName]]; case DBTEAMAdminTierUserManagementAdmin: return [[self tagName] isEqual:[anAdminTier tagName]]; case DBTEAMAdminTierSupportAdmin: return [[self tagName] isEqual:[anAdminTier tagName]]; case DBTEAMAdminTierMemberOnly: return [[self tagName] isEqual:[anAdminTier tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMAdminTierSerializer + (NSDictionary *)serialize:(DBTEAMAdminTier *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isTeamAdmin]) { jsonDict[@".tag"] = @"team_admin"; } else if ([valueObj isUserManagementAdmin]) { jsonDict[@".tag"] = @"user_management_admin"; } else if ([valueObj isSupportAdmin]) { jsonDict[@".tag"] = @"support_admin"; } else if ([valueObj isMemberOnly]) { jsonDict[@".tag"] = @"member_only"; } else { @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Object not properly initialized. Tag has an unknown value." userInfo:nil]); } return jsonDict; } + (DBTEAMAdminTier *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"team_admin"]) { return [[DBTEAMAdminTier alloc] initWithTeamAdmin]; } else if ([tag isEqualToString:@"user_management_admin"]) { return [[DBTEAMAdminTier alloc] initWithUserManagementAdmin]; } else if ([tag isEqualToString:@"support_admin"]) { return [[DBTEAMAdminTier alloc] initWithSupportAdmin]; } else if ([tag isEqualToString:@"member_only"]) { return [[DBTEAMAdminTier alloc] initWithMemberOnly]; } 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 "DBTEAMApiApp.h" #pragma mark - API Object @implementation DBTEAMApiApp #pragma mark - Constructors - (instancetype)initWithAppId:(NSString *)appId appName:(NSString *)appName isAppFolder:(NSNumber *)isAppFolder publisher:(NSString *)publisher publisherUrl:(NSString *)publisherUrl linked:(NSDate *)linked { [DBStoneValidators nonnullValidator:nil](appId); [DBStoneValidators nonnullValidator:nil](appName); [DBStoneValidators nonnullValidator:nil](isAppFolder); self = [super init]; if (self) { _appId = appId; _appName = appName; _publisher = publisher; _publisherUrl = publisherUrl; _linked = linked; _isAppFolder = isAppFolder; } return self; } - (instancetype)initWithAppId:(NSString *)appId appName:(NSString *)appName isAppFolder:(NSNumber *)isAppFolder { return [self initWithAppId:appId appName:appName isAppFolder:isAppFolder publisher:nil publisherUrl:nil linked:nil]; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMApiAppSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMApiAppSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMApiAppSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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.appName hash]; result = prime * result + [self.isAppFolder hash]; if (self.publisher != nil) { result = prime * result + [self.publisher hash]; } if (self.publisherUrl != nil) { result = prime * result + [self.publisherUrl hash]; } if (self.linked != nil) { result = prime * result + [self.linked hash]; } return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToApiApp:other]; } - (BOOL)isEqualToApiApp:(DBTEAMApiApp *)anApiApp { if (self == anApiApp) { return YES; } if (![self.appId isEqual:anApiApp.appId]) { return NO; } if (![self.appName isEqual:anApiApp.appName]) { return NO; } if (![self.isAppFolder isEqual:anApiApp.isAppFolder]) { return NO; } if (self.publisher) { if (![self.publisher isEqual:anApiApp.publisher]) { return NO; } } if (self.publisherUrl) { if (![self.publisherUrl isEqual:anApiApp.publisherUrl]) { return NO; } } if (self.linked) { if (![self.linked isEqual:anApiApp.linked]) { return NO; } } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMApiAppSerializer + (NSDictionary *)serialize:(DBTEAMApiApp *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"app_id"] = valueObj.appId; jsonDict[@"app_name"] = valueObj.appName; jsonDict[@"is_app_folder"] = valueObj.isAppFolder; if (valueObj.publisher) { jsonDict[@"publisher"] = valueObj.publisher; } if (valueObj.publisherUrl) { jsonDict[@"publisher_url"] = valueObj.publisherUrl; } if (valueObj.linked) { jsonDict[@"linked"] = [DBNSDateSerializer serialize:valueObj.linked dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; } return jsonDict; } + (DBTEAMApiApp *)deserialize:(NSDictionary *)valueDict { NSString *appId = valueDict[@"app_id"]; NSString *appName = valueDict[@"app_name"]; NSNumber *isAppFolder = valueDict[@"is_app_folder"]; NSString *publisher = valueDict[@"publisher"] ?: nil; NSString *publisherUrl = valueDict[@"publisher_url"] ?: nil; NSDate *linked = valueDict[@"linked"] ? [DBNSDateSerializer deserialize:valueDict[@"linked"] dateFormat:@"%Y-%m-%dT%H:%M:%SZ"] : nil; return [[DBTEAMApiApp alloc] initWithAppId:appId appName:appName isAppFolder:isAppFolder publisher:publisher publisherUrl:publisherUrl linked:linked]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMBaseDfbReport.h" #pragma mark - API Object @implementation DBTEAMBaseDfbReport #pragma mark - Constructors - (instancetype)initWithStartDate:(NSString *)startDate { [DBStoneValidators nonnullValidator:nil](startDate); self = [super init]; if (self) { _startDate = startDate; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMBaseDfbReportSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMBaseDfbReportSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMBaseDfbReportSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToBaseDfbReport:other]; } - (BOOL)isEqualToBaseDfbReport:(DBTEAMBaseDfbReport *)aBaseDfbReport { if (self == aBaseDfbReport) { return YES; } if (![self.startDate isEqual:aBaseDfbReport.startDate]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMBaseDfbReportSerializer + (NSDictionary *)serialize:(DBTEAMBaseDfbReport *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"start_date"] = valueObj.startDate; return jsonDict; } + (DBTEAMBaseDfbReport *)deserialize:(NSDictionary *)valueDict { NSString *startDate = valueDict[@"start_date"]; return [[DBTEAMBaseDfbReport alloc] initWithStartDate:startDate]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMBaseTeamFolderError.h" #import "DBTEAMTeamFolderAccessError.h" #import "DBTEAMTeamFolderInvalidStatusError.h" #import "DBTEAMTeamFolderTeamSharedDropboxError.h" #pragma mark - API Object @implementation DBTEAMBaseTeamFolderError @synthesize accessError = _accessError; @synthesize statusError = _statusError; @synthesize teamSharedDropboxError = _teamSharedDropboxError; #pragma mark - Constructors - (instancetype)initWithAccessError:(DBTEAMTeamFolderAccessError *)accessError { self = [super init]; if (self) { _tag = DBTEAMBaseTeamFolderErrorAccessError; _accessError = accessError; } return self; } - (instancetype)initWithStatusError:(DBTEAMTeamFolderInvalidStatusError *)statusError { self = [super init]; if (self) { _tag = DBTEAMBaseTeamFolderErrorStatusError; _statusError = statusError; } return self; } - (instancetype)initWithTeamSharedDropboxError:(DBTEAMTeamFolderTeamSharedDropboxError *)teamSharedDropboxError { self = [super init]; if (self) { _tag = DBTEAMBaseTeamFolderErrorTeamSharedDropboxError; _teamSharedDropboxError = teamSharedDropboxError; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBTEAMBaseTeamFolderErrorOther; } return self; } #pragma mark - Instance field accessors - (DBTEAMTeamFolderAccessError *)accessError { if (![self isAccessError]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMBaseTeamFolderErrorAccessError, but was %@.", [self tagName]]; } return _accessError; } - (DBTEAMTeamFolderInvalidStatusError *)statusError { if (![self isStatusError]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMBaseTeamFolderErrorStatusError, but was %@.", [self tagName]]; } return _statusError; } - (DBTEAMTeamFolderTeamSharedDropboxError *)teamSharedDropboxError { if (![self isTeamSharedDropboxError]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMBaseTeamFolderErrorTeamSharedDropboxError, but was %@.", [self tagName]]; } return _teamSharedDropboxError; } #pragma mark - Tag state methods - (BOOL)isAccessError { return _tag == DBTEAMBaseTeamFolderErrorAccessError; } - (BOOL)isStatusError { return _tag == DBTEAMBaseTeamFolderErrorStatusError; } - (BOOL)isTeamSharedDropboxError { return _tag == DBTEAMBaseTeamFolderErrorTeamSharedDropboxError; } - (BOOL)isOther { return _tag == DBTEAMBaseTeamFolderErrorOther; } - (NSString *)tagName { switch (_tag) { case DBTEAMBaseTeamFolderErrorAccessError: return @"DBTEAMBaseTeamFolderErrorAccessError"; case DBTEAMBaseTeamFolderErrorStatusError: return @"DBTEAMBaseTeamFolderErrorStatusError"; case DBTEAMBaseTeamFolderErrorTeamSharedDropboxError: return @"DBTEAMBaseTeamFolderErrorTeamSharedDropboxError"; case DBTEAMBaseTeamFolderErrorOther: return @"DBTEAMBaseTeamFolderErrorOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMBaseTeamFolderErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMBaseTeamFolderErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMBaseTeamFolderErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToBaseTeamFolderError:other]; } - (BOOL)isEqualToBaseTeamFolderError:(DBTEAMBaseTeamFolderError *)aBaseTeamFolderError { if (self == aBaseTeamFolderError) { return YES; } if (self.tag != aBaseTeamFolderError.tag) { return NO; } switch (_tag) { case DBTEAMBaseTeamFolderErrorAccessError: return [self.accessError isEqual:aBaseTeamFolderError.accessError]; case DBTEAMBaseTeamFolderErrorStatusError: return [self.statusError isEqual:aBaseTeamFolderError.statusError]; case DBTEAMBaseTeamFolderErrorTeamSharedDropboxError: return [self.teamSharedDropboxError isEqual:aBaseTeamFolderError.teamSharedDropboxError]; case DBTEAMBaseTeamFolderErrorOther: return [[self tagName] isEqual:[aBaseTeamFolderError tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMBaseTeamFolderErrorSerializer + (NSDictionary *)serialize:(DBTEAMBaseTeamFolderError *)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"; } return jsonDict; } + (DBTEAMBaseTeamFolderError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"access_error"]) { DBTEAMTeamFolderAccessError *accessError = [DBTEAMTeamFolderAccessErrorSerializer deserialize:valueDict[@"access_error"]]; return [[DBTEAMBaseTeamFolderError alloc] initWithAccessError:accessError]; } else if ([tag isEqualToString:@"status_error"]) { DBTEAMTeamFolderInvalidStatusError *statusError = [DBTEAMTeamFolderInvalidStatusErrorSerializer deserialize:valueDict[@"status_error"]]; return [[DBTEAMBaseTeamFolderError alloc] initWithStatusError:statusError]; } else if ([tag isEqualToString:@"team_shared_dropbox_error"]) { DBTEAMTeamFolderTeamSharedDropboxError *teamSharedDropboxError = [DBTEAMTeamFolderTeamSharedDropboxErrorSerializer deserialize:valueDict[@"team_shared_dropbox_error"]]; return [[DBTEAMBaseTeamFolderError alloc] initWithTeamSharedDropboxError:teamSharedDropboxError]; } else if ([tag isEqualToString:@"other"]) { return [[DBTEAMBaseTeamFolderError alloc] initWithOther]; } else { return [[DBTEAMBaseTeamFolderError alloc] initWithOther]; } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMCustomQuotaError.h" #pragma mark - API Object @implementation DBTEAMCustomQuotaError #pragma mark - Constructors - (instancetype)initWithTooManyUsers { self = [super init]; if (self) { _tag = DBTEAMCustomQuotaErrorTooManyUsers; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBTEAMCustomQuotaErrorOther; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isTooManyUsers { return _tag == DBTEAMCustomQuotaErrorTooManyUsers; } - (BOOL)isOther { return _tag == DBTEAMCustomQuotaErrorOther; } - (NSString *)tagName { switch (_tag) { case DBTEAMCustomQuotaErrorTooManyUsers: return @"DBTEAMCustomQuotaErrorTooManyUsers"; case DBTEAMCustomQuotaErrorOther: return @"DBTEAMCustomQuotaErrorOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMCustomQuotaErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMCustomQuotaErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMCustomQuotaErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 DBTEAMCustomQuotaErrorTooManyUsers: result = prime * result + [[self tagName] hash]; break; case DBTEAMCustomQuotaErrorOther: 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 isEqualToCustomQuotaError:other]; } - (BOOL)isEqualToCustomQuotaError:(DBTEAMCustomQuotaError *)aCustomQuotaError { if (self == aCustomQuotaError) { return YES; } if (self.tag != aCustomQuotaError.tag) { return NO; } switch (_tag) { case DBTEAMCustomQuotaErrorTooManyUsers: return [[self tagName] isEqual:[aCustomQuotaError tagName]]; case DBTEAMCustomQuotaErrorOther: return [[self tagName] isEqual:[aCustomQuotaError tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMCustomQuotaErrorSerializer + (NSDictionary *)serialize:(DBTEAMCustomQuotaError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isTooManyUsers]) { jsonDict[@".tag"] = @"too_many_users"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBTEAMCustomQuotaError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"too_many_users"]) { return [[DBTEAMCustomQuotaError alloc] initWithTooManyUsers]; } else if ([tag isEqualToString:@"other"]) { return [[DBTEAMCustomQuotaError alloc] initWithOther]; } else { return [[DBTEAMCustomQuotaError alloc] initWithOther]; } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMCustomQuotaResult.h" #import "DBTEAMUserCustomQuotaResult.h" #import "DBTEAMUserSelectorArg.h" #pragma mark - API Object @implementation DBTEAMCustomQuotaResult @synthesize success = _success; @synthesize invalidUser = _invalidUser; #pragma mark - Constructors - (instancetype)initWithSuccess:(DBTEAMUserCustomQuotaResult *)success { self = [super init]; if (self) { _tag = DBTEAMCustomQuotaResultSuccess; _success = success; } return self; } - (instancetype)initWithInvalidUser:(DBTEAMUserSelectorArg *)invalidUser { self = [super init]; if (self) { _tag = DBTEAMCustomQuotaResultInvalidUser; _invalidUser = invalidUser; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBTEAMCustomQuotaResultOther; } return self; } #pragma mark - Instance field accessors - (DBTEAMUserCustomQuotaResult *)success { if (![self isSuccess]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMCustomQuotaResultSuccess, but was %@.", [self tagName]]; } return _success; } - (DBTEAMUserSelectorArg *)invalidUser { if (![self isInvalidUser]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMCustomQuotaResultInvalidUser, but was %@.", [self tagName]]; } return _invalidUser; } #pragma mark - Tag state methods - (BOOL)isSuccess { return _tag == DBTEAMCustomQuotaResultSuccess; } - (BOOL)isInvalidUser { return _tag == DBTEAMCustomQuotaResultInvalidUser; } - (BOOL)isOther { return _tag == DBTEAMCustomQuotaResultOther; } - (NSString *)tagName { switch (_tag) { case DBTEAMCustomQuotaResultSuccess: return @"DBTEAMCustomQuotaResultSuccess"; case DBTEAMCustomQuotaResultInvalidUser: return @"DBTEAMCustomQuotaResultInvalidUser"; case DBTEAMCustomQuotaResultOther: return @"DBTEAMCustomQuotaResultOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMCustomQuotaResultSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMCustomQuotaResultSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMCustomQuotaResultSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToCustomQuotaResult:other]; } - (BOOL)isEqualToCustomQuotaResult:(DBTEAMCustomQuotaResult *)aCustomQuotaResult { if (self == aCustomQuotaResult) { return YES; } if (self.tag != aCustomQuotaResult.tag) { return NO; } switch (_tag) { case DBTEAMCustomQuotaResultSuccess: return [self.success isEqual:aCustomQuotaResult.success]; case DBTEAMCustomQuotaResultInvalidUser: return [self.invalidUser isEqual:aCustomQuotaResult.invalidUser]; case DBTEAMCustomQuotaResultOther: return [[self tagName] isEqual:[aCustomQuotaResult tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMCustomQuotaResultSerializer + (NSDictionary *)serialize:(DBTEAMCustomQuotaResult *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isSuccess]) { [jsonDict addEntriesFromDictionary:[DBTEAMUserCustomQuotaResultSerializer 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; } + (DBTEAMCustomQuotaResult *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"success"]) { DBTEAMUserCustomQuotaResult *success = [DBTEAMUserCustomQuotaResultSerializer deserialize:valueDict]; return [[DBTEAMCustomQuotaResult alloc] initWithSuccess:success]; } else if ([tag isEqualToString:@"invalid_user"]) { DBTEAMUserSelectorArg *invalidUser = [DBTEAMUserSelectorArgSerializer deserialize:valueDict[@"invalid_user"]]; return [[DBTEAMCustomQuotaResult alloc] initWithInvalidUser:invalidUser]; } else if ([tag isEqualToString:@"other"]) { return [[DBTEAMCustomQuotaResult alloc] initWithOther]; } else { return [[DBTEAMCustomQuotaResult alloc] initWithOther]; } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMCustomQuotaUsersArg.h" #import "DBTEAMUserSelectorArg.h" #pragma mark - API Object @implementation DBTEAMCustomQuotaUsersArg #pragma mark - Constructors - (instancetype)initWithUsers:(NSArray *)users { [DBStoneValidators nonnullValidator:[DBStoneValidators arrayValidator:nil maxItems:nil itemValidator:[DBStoneValidators nonnullValidator:nil]]](users); self = [super init]; if (self) { _users = users; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMCustomQuotaUsersArgSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMCustomQuotaUsersArgSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMCustomQuotaUsersArgSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.users hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToCustomQuotaUsersArg:other]; } - (BOOL)isEqualToCustomQuotaUsersArg:(DBTEAMCustomQuotaUsersArg *)aCustomQuotaUsersArg { if (self == aCustomQuotaUsersArg) { return YES; } if (![self.users isEqual:aCustomQuotaUsersArg.users]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMCustomQuotaUsersArgSerializer + (NSDictionary *)serialize:(DBTEAMCustomQuotaUsersArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"users"] = [DBArraySerializer serialize:valueObj.users withBlock:^id(id elem0) { return [DBTEAMUserSelectorArgSerializer serialize:elem0]; }]; return jsonDict; } + (DBTEAMCustomQuotaUsersArg *)deserialize:(NSDictionary *)valueDict { NSArray *users = [DBArraySerializer deserialize:valueDict[@"users"] withBlock:^id(id elem0) { return [DBTEAMUserSelectorArgSerializer deserialize:elem0]; }]; return [[DBTEAMCustomQuotaUsersArg alloc] initWithUsers:users]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMDateRange.h" #pragma mark - API Object @implementation DBTEAMDateRange #pragma mark - Constructors - (instancetype)initWithStartDate:(NSDate *)startDate endDate:(NSDate *)endDate { self = [super init]; if (self) { _startDate = startDate; _endDate = endDate; } return self; } - (instancetype)initDefault { return [self initWithStartDate:nil endDate:nil]; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMDateRangeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMDateRangeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMDateRangeSerializer serialize:self] description]; } #pragma mark - Copyable method - (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.startDate != nil) { 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 isEqualToDateRange:other]; } - (BOOL)isEqualToDateRange:(DBTEAMDateRange *)aDateRange { if (self == aDateRange) { return YES; } if (self.startDate) { if (![self.startDate isEqual:aDateRange.startDate]) { return NO; } } if (self.endDate) { if (![self.endDate isEqual:aDateRange.endDate]) { return NO; } } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMDateRangeSerializer + (NSDictionary *)serialize:(DBTEAMDateRange *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if (valueObj.startDate) { jsonDict[@"start_date"] = [DBNSDateSerializer serialize:valueObj.startDate dateFormat:@"%Y-%m-%d"]; } if (valueObj.endDate) { jsonDict[@"end_date"] = [DBNSDateSerializer serialize:valueObj.endDate dateFormat:@"%Y-%m-%d"]; } return jsonDict; } + (DBTEAMDateRange *)deserialize:(NSDictionary *)valueDict { NSDate *startDate = valueDict[@"start_date"] ? [DBNSDateSerializer deserialize:valueDict[@"start_date"] dateFormat:@"%Y-%m-%d"] : nil; NSDate *endDate = valueDict[@"end_date"] ? [DBNSDateSerializer deserialize:valueDict[@"end_date"] dateFormat:@"%Y-%m-%d"] : nil; return [[DBTEAMDateRange alloc] initWithStartDate:startDate endDate:endDate]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMDateRangeError.h" #pragma mark - API Object @implementation DBTEAMDateRangeError #pragma mark - Constructors - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBTEAMDateRangeErrorOther; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isOther { return _tag == DBTEAMDateRangeErrorOther; } - (NSString *)tagName { switch (_tag) { case DBTEAMDateRangeErrorOther: return @"DBTEAMDateRangeErrorOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMDateRangeErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMDateRangeErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMDateRangeErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 DBTEAMDateRangeErrorOther: 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 isEqualToDateRangeError:other]; } - (BOOL)isEqualToDateRangeError:(DBTEAMDateRangeError *)aDateRangeError { if (self == aDateRangeError) { return YES; } if (self.tag != aDateRangeError.tag) { return NO; } switch (_tag) { case DBTEAMDateRangeErrorOther: return [[self tagName] isEqual:[aDateRangeError tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMDateRangeErrorSerializer + (NSDictionary *)serialize:(DBTEAMDateRangeError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBTEAMDateRangeError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"other"]) { return [[DBTEAMDateRangeError alloc] initWithOther]; } else { return [[DBTEAMDateRangeError alloc] initWithOther]; } } @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" #import "DBTEAMDesktopPlatform.h" #import "DBTEAMDeviceSession.h" #pragma mark - API Object @implementation DBTEAMDesktopClientSession #pragma mark - Constructors - (instancetype)initWithSessionId:(NSString *)sessionId hostName:(NSString *)hostName clientType:(DBTEAMDesktopPlatform *)clientType clientVersion:(NSString *)clientVersion platform:(NSString *)platform isDeleteOnUnlinkSupported:(NSNumber *)isDeleteOnUnlinkSupported ipAddress:(NSString *)ipAddress country:(NSString *)country created:(NSDate *)created updated:(NSDate *)updated { [DBStoneValidators nonnullValidator:nil](sessionId); [DBStoneValidators nonnullValidator:nil](hostName); [DBStoneValidators nonnullValidator:nil](clientType); [DBStoneValidators nonnullValidator:nil](clientVersion); [DBStoneValidators nonnullValidator:nil](platform); [DBStoneValidators nonnullValidator:nil](isDeleteOnUnlinkSupported); self = [super initWithSessionId:sessionId ipAddress:ipAddress country:country created:created updated:updated]; if (self) { _hostName = hostName; _clientType = clientType; _clientVersion = clientVersion; _platform = platform; _isDeleteOnUnlinkSupported = isDeleteOnUnlinkSupported; } return self; } - (instancetype)initWithSessionId:(NSString *)sessionId hostName:(NSString *)hostName clientType:(DBTEAMDesktopPlatform *)clientType clientVersion:(NSString *)clientVersion platform:(NSString *)platform isDeleteOnUnlinkSupported:(NSNumber *)isDeleteOnUnlinkSupported { return [self initWithSessionId:sessionId hostName:hostName clientType:clientType clientVersion:clientVersion platform:platform isDeleteOnUnlinkSupported:isDeleteOnUnlinkSupported ipAddress:nil country:nil created:nil updated:nil]; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMDesktopClientSessionSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMDesktopClientSessionSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMDesktopClientSessionSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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.hostName hash]; result = prime * result + [self.clientType hash]; result = prime * result + [self.clientVersion 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.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]; } return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToDesktopClientSession:other]; } - (BOOL)isEqualToDesktopClientSession:(DBTEAMDesktopClientSession *)aDesktopClientSession { if (self == aDesktopClientSession) { return YES; } if (![self.sessionId isEqual:aDesktopClientSession.sessionId]) { return NO; } if (![self.hostName isEqual:aDesktopClientSession.hostName]) { return NO; } if (![self.clientType isEqual:aDesktopClientSession.clientType]) { return NO; } if (![self.clientVersion isEqual:aDesktopClientSession.clientVersion]) { return NO; } if (![self.platform isEqual:aDesktopClientSession.platform]) { return NO; } if (![self.isDeleteOnUnlinkSupported isEqual:aDesktopClientSession.isDeleteOnUnlinkSupported]) { return NO; } if (self.ipAddress) { if (![self.ipAddress isEqual:aDesktopClientSession.ipAddress]) { return NO; } } if (self.country) { if (![self.country isEqual:aDesktopClientSession.country]) { return NO; } } if (self.created) { if (![self.created isEqual:aDesktopClientSession.created]) { return NO; } } if (self.updated) { if (![self.updated isEqual:aDesktopClientSession.updated]) { return NO; } } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMDesktopClientSessionSerializer + (NSDictionary *)serialize:(DBTEAMDesktopClientSession *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"session_id"] = valueObj.sessionId; jsonDict[@"host_name"] = valueObj.hostName; jsonDict[@"client_type"] = [DBTEAMDesktopPlatformSerializer serialize:valueObj.clientType]; jsonDict[@"client_version"] = valueObj.clientVersion; jsonDict[@"platform"] = valueObj.platform; jsonDict[@"is_delete_on_unlink_supported"] = valueObj.isDeleteOnUnlinkSupported; 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"]; } return jsonDict; } + (DBTEAMDesktopClientSession *)deserialize:(NSDictionary *)valueDict { NSString *sessionId = valueDict[@"session_id"]; NSString *hostName = valueDict[@"host_name"]; DBTEAMDesktopPlatform *clientType = [DBTEAMDesktopPlatformSerializer deserialize:valueDict[@"client_type"]]; NSString *clientVersion = valueDict[@"client_version"]; NSString *platform = valueDict[@"platform"]; NSNumber *isDeleteOnUnlinkSupported = valueDict[@"is_delete_on_unlink_supported"]; 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; return [[DBTEAMDesktopClientSession alloc] initWithSessionId:sessionId hostName:hostName clientType:clientType clientVersion:clientVersion platform:platform isDeleteOnUnlinkSupported:isDeleteOnUnlinkSupported ipAddress:ipAddress country:country created:created updated:updated]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMDesktopPlatform.h" #pragma mark - API Object @implementation DBTEAMDesktopPlatform #pragma mark - Constructors - (instancetype)initWithWindows { self = [super init]; if (self) { _tag = DBTEAMDesktopPlatformWindows; } return self; } - (instancetype)initWithMac { self = [super init]; if (self) { _tag = DBTEAMDesktopPlatformMac; } return self; } - (instancetype)initWithLinux { self = [super init]; if (self) { _tag = DBTEAMDesktopPlatformLinux; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBTEAMDesktopPlatformOther; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isWindows { return _tag == DBTEAMDesktopPlatformWindows; } - (BOOL)isMac { return _tag == DBTEAMDesktopPlatformMac; } - (BOOL)isLinux { return _tag == DBTEAMDesktopPlatformLinux; } - (BOOL)isOther { return _tag == DBTEAMDesktopPlatformOther; } - (NSString *)tagName { switch (_tag) { case DBTEAMDesktopPlatformWindows: return @"DBTEAMDesktopPlatformWindows"; case DBTEAMDesktopPlatformMac: return @"DBTEAMDesktopPlatformMac"; case DBTEAMDesktopPlatformLinux: return @"DBTEAMDesktopPlatformLinux"; case DBTEAMDesktopPlatformOther: return @"DBTEAMDesktopPlatformOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMDesktopPlatformSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMDesktopPlatformSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMDesktopPlatformSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToDesktopPlatform:other]; } - (BOOL)isEqualToDesktopPlatform:(DBTEAMDesktopPlatform *)aDesktopPlatform { if (self == aDesktopPlatform) { return YES; } if (self.tag != aDesktopPlatform.tag) { return NO; } switch (_tag) { case DBTEAMDesktopPlatformWindows: return [[self tagName] isEqual:[aDesktopPlatform tagName]]; case DBTEAMDesktopPlatformMac: return [[self tagName] isEqual:[aDesktopPlatform tagName]]; case DBTEAMDesktopPlatformLinux: return [[self tagName] isEqual:[aDesktopPlatform tagName]]; case DBTEAMDesktopPlatformOther: return [[self tagName] isEqual:[aDesktopPlatform tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMDesktopPlatformSerializer + (NSDictionary *)serialize:(DBTEAMDesktopPlatform *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isWindows]) { jsonDict[@".tag"] = @"windows"; } else if ([valueObj isMac]) { jsonDict[@".tag"] = @"mac"; } else if ([valueObj isLinux]) { jsonDict[@".tag"] = @"linux"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBTEAMDesktopPlatform *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"windows"]) { return [[DBTEAMDesktopPlatform alloc] initWithWindows]; } else if ([tag isEqualToString:@"mac"]) { return [[DBTEAMDesktopPlatform alloc] initWithMac]; } else if ([tag isEqualToString:@"linux"]) { return [[DBTEAMDesktopPlatform alloc] initWithLinux]; } else if ([tag isEqualToString:@"other"]) { return [[DBTEAMDesktopPlatform alloc] initWithOther]; } else { return [[DBTEAMDesktopPlatform alloc] initWithOther]; } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMDeviceSessionArg.h" #pragma mark - API Object @implementation DBTEAMDeviceSessionArg #pragma mark - Constructors - (instancetype)initWithSessionId:(NSString *)sessionId teamMemberId:(NSString *)teamMemberId { [DBStoneValidators nonnullValidator:nil](sessionId); [DBStoneValidators nonnullValidator:nil](teamMemberId); self = [super init]; if (self) { _sessionId = sessionId; _teamMemberId = teamMemberId; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMDeviceSessionArgSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMDeviceSessionArgSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMDeviceSessionArgSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToDeviceSessionArg:other]; } - (BOOL)isEqualToDeviceSessionArg:(DBTEAMDeviceSessionArg *)aDeviceSessionArg { if (self == aDeviceSessionArg) { return YES; } if (![self.sessionId isEqual:aDeviceSessionArg.sessionId]) { return NO; } if (![self.teamMemberId isEqual:aDeviceSessionArg.teamMemberId]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMDeviceSessionArgSerializer + (NSDictionary *)serialize:(DBTEAMDeviceSessionArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"session_id"] = valueObj.sessionId; jsonDict[@"team_member_id"] = valueObj.teamMemberId; return jsonDict; } + (DBTEAMDeviceSessionArg *)deserialize:(NSDictionary *)valueDict { NSString *sessionId = valueDict[@"session_id"]; NSString *teamMemberId = valueDict[@"team_member_id"]; return [[DBTEAMDeviceSessionArg alloc] initWithSessionId:sessionId teamMemberId:teamMemberId]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMDevicesActive.h" #pragma mark - API Object @implementation DBTEAMDevicesActive #pragma mark - Constructors - (instancetype)initWithWindows:(NSArray *)windows macos:(NSArray *)macos linux:(NSArray *)linux ios:(NSArray *)ios android:(NSArray *)android other:(NSArray *)other total:(NSArray *)total { [DBStoneValidators nonnullValidator:[DBStoneValidators arrayValidator:nil maxItems:nil itemValidator:nil]](windows); [DBStoneValidators nonnullValidator:[DBStoneValidators arrayValidator:nil maxItems:nil itemValidator:nil]](macos); [DBStoneValidators nonnullValidator:[DBStoneValidators arrayValidator:nil maxItems:nil itemValidator:nil]](linux); [DBStoneValidators nonnullValidator:[DBStoneValidators arrayValidator:nil maxItems:nil itemValidator:nil]](ios); [DBStoneValidators nonnullValidator:[DBStoneValidators arrayValidator:nil maxItems:nil itemValidator:nil]](android); [DBStoneValidators nonnullValidator:[DBStoneValidators arrayValidator:nil maxItems:nil itemValidator:nil]](other); [DBStoneValidators nonnullValidator:[DBStoneValidators arrayValidator:nil maxItems:nil itemValidator:nil]](total); self = [super init]; if (self) { _windows = windows; _macos = macos; _linux = linux; _ios = ios; _android = android; _other = other; _total = total; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMDevicesActiveSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMDevicesActiveSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMDevicesActiveSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.windows hash]; result = prime * result + [self.macos hash]; result = prime * result + [self.linux hash]; result = prime * result + [self.ios hash]; result = prime * result + [self.android hash]; result = prime * result + [self.other hash]; result = prime * result + [self.total hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToDevicesActive:other]; } - (BOOL)isEqualToDevicesActive:(DBTEAMDevicesActive *)aDevicesActive { if (self == aDevicesActive) { return YES; } if (![self.windows isEqual:aDevicesActive.windows]) { return NO; } if (![self.macos isEqual:aDevicesActive.macos]) { return NO; } if (![self.linux isEqual:aDevicesActive.linux]) { return NO; } if (![self.ios isEqual:aDevicesActive.ios]) { return NO; } if (![self.android isEqual:aDevicesActive.android]) { return NO; } if (![self.other isEqual:aDevicesActive.other]) { return NO; } if (![self.total isEqual:aDevicesActive.total]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMDevicesActiveSerializer + (NSDictionary *)serialize:(DBTEAMDevicesActive *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"windows"] = [DBArraySerializer serialize:valueObj.windows withBlock:^id(id elem0) { return elem0; }]; jsonDict[@"macos"] = [DBArraySerializer serialize:valueObj.macos withBlock:^id(id elem0) { return elem0; }]; jsonDict[@"linux"] = [DBArraySerializer serialize:valueObj.linux withBlock:^id(id elem0) { return elem0; }]; jsonDict[@"ios"] = [DBArraySerializer serialize:valueObj.ios withBlock:^id(id elem0) { return elem0; }]; jsonDict[@"android"] = [DBArraySerializer serialize:valueObj.android withBlock:^id(id elem0) { return elem0; }]; jsonDict[@"other"] = [DBArraySerializer serialize:valueObj.other withBlock:^id(id elem0) { return elem0; }]; jsonDict[@"total"] = [DBArraySerializer serialize:valueObj.total withBlock:^id(id elem0) { return elem0; }]; return jsonDict; } + (DBTEAMDevicesActive *)deserialize:(NSDictionary *)valueDict { NSArray *windows = [DBArraySerializer deserialize:valueDict[@"windows"] withBlock:^id(id elem0) { return elem0; }]; NSArray *macos = [DBArraySerializer deserialize:valueDict[@"macos"] withBlock:^id(id elem0) { return elem0; }]; NSArray *linux = [DBArraySerializer deserialize:valueDict[@"linux"] withBlock:^id(id elem0) { return elem0; }]; NSArray *ios = [DBArraySerializer deserialize:valueDict[@"ios"] withBlock:^id(id elem0) { return elem0; }]; NSArray *android = [DBArraySerializer deserialize:valueDict[@"android"] withBlock:^id(id elem0) { return elem0; }]; NSArray *other = [DBArraySerializer deserialize:valueDict[@"other"] withBlock:^id(id elem0) { return elem0; }]; NSArray *total = [DBArraySerializer deserialize:valueDict[@"total"] withBlock:^id(id elem0) { return elem0; }]; return [[DBTEAMDevicesActive alloc] initWithWindows:windows macos:macos linux:linux ios:ios android:android other:other total:total]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMExcludedUsersListArg.h" #pragma mark - API Object @implementation DBTEAMExcludedUsersListArg #pragma mark - Constructors - (instancetype)initWithLimit:(NSNumber *)limit { self = [super init]; if (self) { _limit = limit ?: @(1000); } return self; } - (instancetype)initDefault { return [self initWithLimit:nil]; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMExcludedUsersListArgSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMExcludedUsersListArgSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMExcludedUsersListArgSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToExcludedUsersListArg:other]; } - (BOOL)isEqualToExcludedUsersListArg:(DBTEAMExcludedUsersListArg *)anExcludedUsersListArg { if (self == anExcludedUsersListArg) { return YES; } if (![self.limit isEqual:anExcludedUsersListArg.limit]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMExcludedUsersListArgSerializer + (NSDictionary *)serialize:(DBTEAMExcludedUsersListArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"limit"] = valueObj.limit; return jsonDict; } + (DBTEAMExcludedUsersListArg *)deserialize:(NSDictionary *)valueDict { NSNumber *limit = valueDict[@"limit"] ?: @(1000); return [[DBTEAMExcludedUsersListArg alloc] initWithLimit:limit]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMExcludedUsersListContinueArg.h" #pragma mark - API Object @implementation DBTEAMExcludedUsersListContinueArg #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 [DBTEAMExcludedUsersListContinueArgSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMExcludedUsersListContinueArgSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMExcludedUsersListContinueArgSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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 isEqualToExcludedUsersListContinueArg:other]; } - (BOOL)isEqualToExcludedUsersListContinueArg:(DBTEAMExcludedUsersListContinueArg *)anExcludedUsersListContinueArg { if (self == anExcludedUsersListContinueArg) { return YES; } if (![self.cursor isEqual:anExcludedUsersListContinueArg.cursor]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMExcludedUsersListContinueArgSerializer + (NSDictionary *)serialize:(DBTEAMExcludedUsersListContinueArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"cursor"] = valueObj.cursor; return jsonDict; } + (DBTEAMExcludedUsersListContinueArg *)deserialize:(NSDictionary *)valueDict { NSString *cursor = valueDict[@"cursor"]; return [[DBTEAMExcludedUsersListContinueArg alloc] initWithCursor:cursor]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMExcludedUsersListContinueError.h" #pragma mark - API Object @implementation DBTEAMExcludedUsersListContinueError #pragma mark - Constructors - (instancetype)initWithInvalidCursor { self = [super init]; if (self) { _tag = DBTEAMExcludedUsersListContinueErrorInvalidCursor; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBTEAMExcludedUsersListContinueErrorOther; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isInvalidCursor { return _tag == DBTEAMExcludedUsersListContinueErrorInvalidCursor; } - (BOOL)isOther { return _tag == DBTEAMExcludedUsersListContinueErrorOther; } - (NSString *)tagName { switch (_tag) { case DBTEAMExcludedUsersListContinueErrorInvalidCursor: return @"DBTEAMExcludedUsersListContinueErrorInvalidCursor"; case DBTEAMExcludedUsersListContinueErrorOther: return @"DBTEAMExcludedUsersListContinueErrorOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMExcludedUsersListContinueErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMExcludedUsersListContinueErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMExcludedUsersListContinueErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 DBTEAMExcludedUsersListContinueErrorInvalidCursor: result = prime * result + [[self tagName] hash]; break; case DBTEAMExcludedUsersListContinueErrorOther: 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 isEqualToExcludedUsersListContinueError:other]; } - (BOOL)isEqualToExcludedUsersListContinueError: (DBTEAMExcludedUsersListContinueError *)anExcludedUsersListContinueError { if (self == anExcludedUsersListContinueError) { return YES; } if (self.tag != anExcludedUsersListContinueError.tag) { return NO; } switch (_tag) { case DBTEAMExcludedUsersListContinueErrorInvalidCursor: return [[self tagName] isEqual:[anExcludedUsersListContinueError tagName]]; case DBTEAMExcludedUsersListContinueErrorOther: return [[self tagName] isEqual:[anExcludedUsersListContinueError tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMExcludedUsersListContinueErrorSerializer + (NSDictionary *)serialize:(DBTEAMExcludedUsersListContinueError *)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; } + (DBTEAMExcludedUsersListContinueError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"invalid_cursor"]) { return [[DBTEAMExcludedUsersListContinueError alloc] initWithInvalidCursor]; } else if ([tag isEqualToString:@"other"]) { return [[DBTEAMExcludedUsersListContinueError alloc] initWithOther]; } else { return [[DBTEAMExcludedUsersListContinueError alloc] initWithOther]; } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMExcludedUsersListError.h" #pragma mark - API Object @implementation DBTEAMExcludedUsersListError #pragma mark - Constructors - (instancetype)initWithListError { self = [super init]; if (self) { _tag = DBTEAMExcludedUsersListErrorListError; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBTEAMExcludedUsersListErrorOther; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isListError { return _tag == DBTEAMExcludedUsersListErrorListError; } - (BOOL)isOther { return _tag == DBTEAMExcludedUsersListErrorOther; } - (NSString *)tagName { switch (_tag) { case DBTEAMExcludedUsersListErrorListError: return @"DBTEAMExcludedUsersListErrorListError"; case DBTEAMExcludedUsersListErrorOther: return @"DBTEAMExcludedUsersListErrorOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMExcludedUsersListErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMExcludedUsersListErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMExcludedUsersListErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 DBTEAMExcludedUsersListErrorListError: result = prime * result + [[self tagName] hash]; break; case DBTEAMExcludedUsersListErrorOther: 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 isEqualToExcludedUsersListError:other]; } - (BOOL)isEqualToExcludedUsersListError:(DBTEAMExcludedUsersListError *)anExcludedUsersListError { if (self == anExcludedUsersListError) { return YES; } if (self.tag != anExcludedUsersListError.tag) { return NO; } switch (_tag) { case DBTEAMExcludedUsersListErrorListError: return [[self tagName] isEqual:[anExcludedUsersListError tagName]]; case DBTEAMExcludedUsersListErrorOther: return [[self tagName] isEqual:[anExcludedUsersListError tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMExcludedUsersListErrorSerializer + (NSDictionary *)serialize:(DBTEAMExcludedUsersListError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isListError]) { jsonDict[@".tag"] = @"list_error"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBTEAMExcludedUsersListError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"list_error"]) { return [[DBTEAMExcludedUsersListError alloc] initWithListError]; } else if ([tag isEqualToString:@"other"]) { return [[DBTEAMExcludedUsersListError alloc] initWithOther]; } else { return [[DBTEAMExcludedUsersListError alloc] initWithOther]; } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMExcludedUsersListResult.h" #import "DBTEAMMemberProfile.h" #pragma mark - API Object @implementation DBTEAMExcludedUsersListResult #pragma mark - Constructors - (instancetype)initWithUsers:(NSArray *)users hasMore:(NSNumber *)hasMore cursor:(NSString *)cursor { [DBStoneValidators nonnullValidator:[DBStoneValidators arrayValidator:nil maxItems:nil itemValidator:[DBStoneValidators nonnullValidator:nil]]](users); [DBStoneValidators nonnullValidator:nil](hasMore); self = [super init]; if (self) { _users = users; _cursor = cursor; _hasMore = hasMore; } return self; } - (instancetype)initWithUsers:(NSArray *)users hasMore:(NSNumber *)hasMore { return [self initWithUsers:users hasMore:hasMore cursor:nil]; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMExcludedUsersListResultSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMExcludedUsersListResultSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMExcludedUsersListResultSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.users hash]; result = prime * result + [self.hasMore hash]; if (self.cursor != nil) { 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 isEqualToExcludedUsersListResult:other]; } - (BOOL)isEqualToExcludedUsersListResult:(DBTEAMExcludedUsersListResult *)anExcludedUsersListResult { if (self == anExcludedUsersListResult) { return YES; } if (![self.users isEqual:anExcludedUsersListResult.users]) { return NO; } if (![self.hasMore isEqual:anExcludedUsersListResult.hasMore]) { return NO; } if (self.cursor) { if (![self.cursor isEqual:anExcludedUsersListResult.cursor]) { return NO; } } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMExcludedUsersListResultSerializer + (NSDictionary *)serialize:(DBTEAMExcludedUsersListResult *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"users"] = [DBArraySerializer serialize:valueObj.users withBlock:^id(id elem0) { return [DBTEAMMemberProfileSerializer serialize:elem0]; }]; jsonDict[@"has_more"] = valueObj.hasMore; if (valueObj.cursor) { jsonDict[@"cursor"] = valueObj.cursor; } return jsonDict; } + (DBTEAMExcludedUsersListResult *)deserialize:(NSDictionary *)valueDict { NSArray *users = [DBArraySerializer deserialize:valueDict[@"users"] withBlock:^id(id elem0) { return [DBTEAMMemberProfileSerializer deserialize:elem0]; }]; NSNumber *hasMore = valueDict[@"has_more"]; NSString *cursor = valueDict[@"cursor"] ?: nil; return [[DBTEAMExcludedUsersListResult alloc] initWithUsers:users hasMore:hasMore cursor:cursor]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMExcludedUsersUpdateArg.h" #import "DBTEAMUserSelectorArg.h" #pragma mark - API Object @implementation DBTEAMExcludedUsersUpdateArg #pragma mark - Constructors - (instancetype)initWithUsers:(NSArray *)users { [DBStoneValidators nullableValidator:[DBStoneValidators arrayValidator:nil maxItems:nil itemValidator:[DBStoneValidators nonnullValidator:nil]]](users); self = [super init]; if (self) { _users = users; } return self; } - (instancetype)initDefault { return [self initWithUsers:nil]; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMExcludedUsersUpdateArgSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMExcludedUsersUpdateArgSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMExcludedUsersUpdateArgSerializer serialize:self] description]; } #pragma mark - Copyable method - (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.users != nil) { result = prime * result + [self.users hash]; } return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToExcludedUsersUpdateArg:other]; } - (BOOL)isEqualToExcludedUsersUpdateArg:(DBTEAMExcludedUsersUpdateArg *)anExcludedUsersUpdateArg { if (self == anExcludedUsersUpdateArg) { return YES; } if (self.users) { if (![self.users isEqual:anExcludedUsersUpdateArg.users]) { return NO; } } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMExcludedUsersUpdateArgSerializer + (NSDictionary *)serialize:(DBTEAMExcludedUsersUpdateArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if (valueObj.users) { jsonDict[@"users"] = [DBArraySerializer serialize:valueObj.users withBlock:^id(id elem0) { return [DBTEAMUserSelectorArgSerializer serialize:elem0]; }]; } return jsonDict; } + (DBTEAMExcludedUsersUpdateArg *)deserialize:(NSDictionary *)valueDict { NSArray *users = valueDict[@"users"] ? [DBArraySerializer deserialize:valueDict[@"users"] withBlock:^id(id elem0) { return [DBTEAMUserSelectorArgSerializer deserialize:elem0]; }] : nil; return [[DBTEAMExcludedUsersUpdateArg alloc] initWithUsers:users]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMExcludedUsersUpdateError.h" #pragma mark - API Object @implementation DBTEAMExcludedUsersUpdateError #pragma mark - Constructors - (instancetype)initWithUsersNotInTeam { self = [super init]; if (self) { _tag = DBTEAMExcludedUsersUpdateErrorUsersNotInTeam; } return self; } - (instancetype)initWithTooManyUsers { self = [super init]; if (self) { _tag = DBTEAMExcludedUsersUpdateErrorTooManyUsers; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBTEAMExcludedUsersUpdateErrorOther; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isUsersNotInTeam { return _tag == DBTEAMExcludedUsersUpdateErrorUsersNotInTeam; } - (BOOL)isTooManyUsers { return _tag == DBTEAMExcludedUsersUpdateErrorTooManyUsers; } - (BOOL)isOther { return _tag == DBTEAMExcludedUsersUpdateErrorOther; } - (NSString *)tagName { switch (_tag) { case DBTEAMExcludedUsersUpdateErrorUsersNotInTeam: return @"DBTEAMExcludedUsersUpdateErrorUsersNotInTeam"; case DBTEAMExcludedUsersUpdateErrorTooManyUsers: return @"DBTEAMExcludedUsersUpdateErrorTooManyUsers"; case DBTEAMExcludedUsersUpdateErrorOther: return @"DBTEAMExcludedUsersUpdateErrorOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMExcludedUsersUpdateErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMExcludedUsersUpdateErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMExcludedUsersUpdateErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToExcludedUsersUpdateError:other]; } - (BOOL)isEqualToExcludedUsersUpdateError:(DBTEAMExcludedUsersUpdateError *)anExcludedUsersUpdateError { if (self == anExcludedUsersUpdateError) { return YES; } if (self.tag != anExcludedUsersUpdateError.tag) { return NO; } switch (_tag) { case DBTEAMExcludedUsersUpdateErrorUsersNotInTeam: return [[self tagName] isEqual:[anExcludedUsersUpdateError tagName]]; case DBTEAMExcludedUsersUpdateErrorTooManyUsers: return [[self tagName] isEqual:[anExcludedUsersUpdateError tagName]]; case DBTEAMExcludedUsersUpdateErrorOther: return [[self tagName] isEqual:[anExcludedUsersUpdateError tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMExcludedUsersUpdateErrorSerializer + (NSDictionary *)serialize:(DBTEAMExcludedUsersUpdateError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isUsersNotInTeam]) { jsonDict[@".tag"] = @"users_not_in_team"; } else if ([valueObj isTooManyUsers]) { jsonDict[@".tag"] = @"too_many_users"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBTEAMExcludedUsersUpdateError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"users_not_in_team"]) { return [[DBTEAMExcludedUsersUpdateError alloc] initWithUsersNotInTeam]; } else if ([tag isEqualToString:@"too_many_users"]) { return [[DBTEAMExcludedUsersUpdateError alloc] initWithTooManyUsers]; } else if ([tag isEqualToString:@"other"]) { return [[DBTEAMExcludedUsersUpdateError alloc] initWithOther]; } else { return [[DBTEAMExcludedUsersUpdateError alloc] initWithOther]; } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMExcludedUsersUpdateResult.h" #import "DBTEAMExcludedUsersUpdateStatus.h" #pragma mark - API Object @implementation DBTEAMExcludedUsersUpdateResult #pragma mark - Constructors - (instancetype)initWithStatus:(DBTEAMExcludedUsersUpdateStatus *)status { [DBStoneValidators nonnullValidator:nil](status); self = [super init]; if (self) { _status = status; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMExcludedUsersUpdateResultSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMExcludedUsersUpdateResultSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMExcludedUsersUpdateResultSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToExcludedUsersUpdateResult:other]; } - (BOOL)isEqualToExcludedUsersUpdateResult:(DBTEAMExcludedUsersUpdateResult *)anExcludedUsersUpdateResult { if (self == anExcludedUsersUpdateResult) { return YES; } if (![self.status isEqual:anExcludedUsersUpdateResult.status]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMExcludedUsersUpdateResultSerializer + (NSDictionary *)serialize:(DBTEAMExcludedUsersUpdateResult *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"status"] = [DBTEAMExcludedUsersUpdateStatusSerializer serialize:valueObj.status]; return jsonDict; } + (DBTEAMExcludedUsersUpdateResult *)deserialize:(NSDictionary *)valueDict { DBTEAMExcludedUsersUpdateStatus *status = [DBTEAMExcludedUsersUpdateStatusSerializer deserialize:valueDict[@"status"]]; return [[DBTEAMExcludedUsersUpdateResult alloc] initWithStatus:status]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMExcludedUsersUpdateStatus.h" #pragma mark - API Object @implementation DBTEAMExcludedUsersUpdateStatus #pragma mark - Constructors - (instancetype)initWithSuccess { self = [super init]; if (self) { _tag = DBTEAMExcludedUsersUpdateStatusSuccess; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBTEAMExcludedUsersUpdateStatusOther; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isSuccess { return _tag == DBTEAMExcludedUsersUpdateStatusSuccess; } - (BOOL)isOther { return _tag == DBTEAMExcludedUsersUpdateStatusOther; } - (NSString *)tagName { switch (_tag) { case DBTEAMExcludedUsersUpdateStatusSuccess: return @"DBTEAMExcludedUsersUpdateStatusSuccess"; case DBTEAMExcludedUsersUpdateStatusOther: return @"DBTEAMExcludedUsersUpdateStatusOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMExcludedUsersUpdateStatusSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMExcludedUsersUpdateStatusSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMExcludedUsersUpdateStatusSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 DBTEAMExcludedUsersUpdateStatusSuccess: result = prime * result + [[self tagName] hash]; break; case DBTEAMExcludedUsersUpdateStatusOther: 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 isEqualToExcludedUsersUpdateStatus:other]; } - (BOOL)isEqualToExcludedUsersUpdateStatus:(DBTEAMExcludedUsersUpdateStatus *)anExcludedUsersUpdateStatus { if (self == anExcludedUsersUpdateStatus) { return YES; } if (self.tag != anExcludedUsersUpdateStatus.tag) { return NO; } switch (_tag) { case DBTEAMExcludedUsersUpdateStatusSuccess: return [[self tagName] isEqual:[anExcludedUsersUpdateStatus tagName]]; case DBTEAMExcludedUsersUpdateStatusOther: return [[self tagName] isEqual:[anExcludedUsersUpdateStatus tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMExcludedUsersUpdateStatusSerializer + (NSDictionary *)serialize:(DBTEAMExcludedUsersUpdateStatus *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isSuccess]) { jsonDict[@".tag"] = @"success"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBTEAMExcludedUsersUpdateStatus *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"success"]) { return [[DBTEAMExcludedUsersUpdateStatus alloc] initWithSuccess]; } else if ([tag isEqualToString:@"other"]) { return [[DBTEAMExcludedUsersUpdateStatus alloc] initWithOther]; } else { return [[DBTEAMExcludedUsersUpdateStatus alloc] initWithOther]; } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMFeature.h" #pragma mark - API Object @implementation DBTEAMFeature #pragma mark - Constructors - (instancetype)initWithUploadApiRateLimit { self = [super init]; if (self) { _tag = DBTEAMFeatureUploadApiRateLimit; } return self; } - (instancetype)initWithHasTeamSharedDropbox { self = [super init]; if (self) { _tag = DBTEAMFeatureHasTeamSharedDropbox; } return self; } - (instancetype)initWithHasTeamFileEvents { self = [super init]; if (self) { _tag = DBTEAMFeatureHasTeamFileEvents; } return self; } - (instancetype)initWithHasTeamSelectiveSync { self = [super init]; if (self) { _tag = DBTEAMFeatureHasTeamSelectiveSync; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBTEAMFeatureOther; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isUploadApiRateLimit { return _tag == DBTEAMFeatureUploadApiRateLimit; } - (BOOL)isHasTeamSharedDropbox { return _tag == DBTEAMFeatureHasTeamSharedDropbox; } - (BOOL)isHasTeamFileEvents { return _tag == DBTEAMFeatureHasTeamFileEvents; } - (BOOL)isHasTeamSelectiveSync { return _tag == DBTEAMFeatureHasTeamSelectiveSync; } - (BOOL)isOther { return _tag == DBTEAMFeatureOther; } - (NSString *)tagName { switch (_tag) { case DBTEAMFeatureUploadApiRateLimit: return @"DBTEAMFeatureUploadApiRateLimit"; case DBTEAMFeatureHasTeamSharedDropbox: return @"DBTEAMFeatureHasTeamSharedDropbox"; case DBTEAMFeatureHasTeamFileEvents: return @"DBTEAMFeatureHasTeamFileEvents"; case DBTEAMFeatureHasTeamSelectiveSync: return @"DBTEAMFeatureHasTeamSelectiveSync"; case DBTEAMFeatureOther: return @"DBTEAMFeatureOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMFeatureSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMFeatureSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMFeatureSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToFeature:other]; } - (BOOL)isEqualToFeature:(DBTEAMFeature *)aFeature { if (self == aFeature) { return YES; } if (self.tag != aFeature.tag) { return NO; } switch (_tag) { case DBTEAMFeatureUploadApiRateLimit: return [[self tagName] isEqual:[aFeature tagName]]; case DBTEAMFeatureHasTeamSharedDropbox: 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]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMFeatureSerializer + (NSDictionary *)serialize:(DBTEAMFeature *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isUploadApiRateLimit]) { jsonDict[@".tag"] = @"upload_api_rate_limit"; } else if ([valueObj isHasTeamSharedDropbox]) { 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; } + (DBTEAMFeature *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"upload_api_rate_limit"]) { return [[DBTEAMFeature alloc] initWithUploadApiRateLimit]; } else if ([tag isEqualToString:@"has_team_shared_dropbox"]) { 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 { return [[DBTEAMFeature alloc] initWithOther]; } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMFeatureValue.h" #import "DBTEAMHasTeamFileEventsValue.h" #import "DBTEAMHasTeamSelectiveSyncValue.h" #import "DBTEAMHasTeamSharedDropboxValue.h" #import "DBTEAMUploadApiRateLimitValue.h" #pragma mark - API Object @implementation DBTEAMFeatureValue @synthesize uploadApiRateLimit = _uploadApiRateLimit; @synthesize hasTeamSharedDropbox = _hasTeamSharedDropbox; @synthesize hasTeamFileEvents = _hasTeamFileEvents; @synthesize hasTeamSelectiveSync = _hasTeamSelectiveSync; #pragma mark - Constructors - (instancetype)initWithUploadApiRateLimit:(DBTEAMUploadApiRateLimitValue *)uploadApiRateLimit { self = [super init]; if (self) { _tag = DBTEAMFeatureValueUploadApiRateLimit; _uploadApiRateLimit = uploadApiRateLimit; } return self; } - (instancetype)initWithHasTeamSharedDropbox:(DBTEAMHasTeamSharedDropboxValue *)hasTeamSharedDropbox { self = [super init]; if (self) { _tag = DBTEAMFeatureValueHasTeamSharedDropbox; _hasTeamSharedDropbox = hasTeamSharedDropbox; } return self; } - (instancetype)initWithHasTeamFileEvents:(DBTEAMHasTeamFileEventsValue *)hasTeamFileEvents { self = [super init]; if (self) { _tag = DBTEAMFeatureValueHasTeamFileEvents; _hasTeamFileEvents = hasTeamFileEvents; } return self; } - (instancetype)initWithHasTeamSelectiveSync:(DBTEAMHasTeamSelectiveSyncValue *)hasTeamSelectiveSync { self = [super init]; if (self) { _tag = DBTEAMFeatureValueHasTeamSelectiveSync; _hasTeamSelectiveSync = hasTeamSelectiveSync; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBTEAMFeatureValueOther; } return self; } #pragma mark - Instance field accessors - (DBTEAMUploadApiRateLimitValue *)uploadApiRateLimit { if (![self isUploadApiRateLimit]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMFeatureValueUploadApiRateLimit, but was %@.", [self tagName]]; } return _uploadApiRateLimit; } - (DBTEAMHasTeamSharedDropboxValue *)hasTeamSharedDropbox { if (![self isHasTeamSharedDropbox]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMFeatureValueHasTeamSharedDropbox, but was %@.", [self tagName]]; } return _hasTeamSharedDropbox; } - (DBTEAMHasTeamFileEventsValue *)hasTeamFileEvents { if (![self isHasTeamFileEvents]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMFeatureValueHasTeamFileEvents, but was %@.", [self tagName]]; } 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 { return _tag == DBTEAMFeatureValueUploadApiRateLimit; } - (BOOL)isHasTeamSharedDropbox { return _tag == DBTEAMFeatureValueHasTeamSharedDropbox; } - (BOOL)isHasTeamFileEvents { return _tag == DBTEAMFeatureValueHasTeamFileEvents; } - (BOOL)isHasTeamSelectiveSync { return _tag == DBTEAMFeatureValueHasTeamSelectiveSync; } - (BOOL)isOther { return _tag == DBTEAMFeatureValueOther; } - (NSString *)tagName { switch (_tag) { case DBTEAMFeatureValueUploadApiRateLimit: return @"DBTEAMFeatureValueUploadApiRateLimit"; case DBTEAMFeatureValueHasTeamSharedDropbox: return @"DBTEAMFeatureValueHasTeamSharedDropbox"; case DBTEAMFeatureValueHasTeamFileEvents: return @"DBTEAMFeatureValueHasTeamFileEvents"; case DBTEAMFeatureValueHasTeamSelectiveSync: return @"DBTEAMFeatureValueHasTeamSelectiveSync"; case DBTEAMFeatureValueOther: return @"DBTEAMFeatureValueOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMFeatureValueSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMFeatureValueSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMFeatureValueSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToFeatureValue:other]; } - (BOOL)isEqualToFeatureValue:(DBTEAMFeatureValue *)aFeatureValue { if (self == aFeatureValue) { return YES; } if (self.tag != aFeatureValue.tag) { return NO; } switch (_tag) { case DBTEAMFeatureValueUploadApiRateLimit: return [self.uploadApiRateLimit isEqual:aFeatureValue.uploadApiRateLimit]; case DBTEAMFeatureValueHasTeamSharedDropbox: 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]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMFeatureValueSerializer + (NSDictionary *)serialize:(DBTEAMFeatureValue *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isUploadApiRateLimit]) { jsonDict[@"upload_api_rate_limit"] = [[DBTEAMUploadApiRateLimitValueSerializer serialize:valueObj.uploadApiRateLimit] mutableCopy]; jsonDict[@".tag"] = @"upload_api_rate_limit"; } else if ([valueObj isHasTeamSharedDropbox]) { jsonDict[@"has_team_shared_dropbox"] = [[DBTEAMHasTeamSharedDropboxValueSerializer serialize:valueObj.hasTeamSharedDropbox] mutableCopy]; jsonDict[@".tag"] = @"has_team_shared_dropbox"; } else if ([valueObj isHasTeamFileEvents]) { 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; } + (DBTEAMFeatureValue *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"upload_api_rate_limit"]) { DBTEAMUploadApiRateLimitValue *uploadApiRateLimit = [DBTEAMUploadApiRateLimitValueSerializer deserialize:valueDict[@"upload_api_rate_limit"]]; return [[DBTEAMFeatureValue alloc] initWithUploadApiRateLimit:uploadApiRateLimit]; } else if ([tag isEqualToString:@"has_team_shared_dropbox"]) { DBTEAMHasTeamSharedDropboxValue *hasTeamSharedDropbox = [DBTEAMHasTeamSharedDropboxValueSerializer deserialize:valueDict[@"has_team_shared_dropbox"]]; return [[DBTEAMFeatureValue alloc] initWithHasTeamSharedDropbox:hasTeamSharedDropbox]; } else if ([tag isEqualToString:@"has_team_file_events"]) { 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 { return [[DBTEAMFeatureValue alloc] initWithOther]; } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMFeature.h" #import "DBTEAMFeaturesGetValuesBatchArg.h" #pragma mark - API Object @implementation DBTEAMFeaturesGetValuesBatchArg #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 [DBTEAMFeaturesGetValuesBatchArgSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMFeaturesGetValuesBatchArgSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMFeaturesGetValuesBatchArgSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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 isEqualToFeaturesGetValuesBatchArg:other]; } - (BOOL)isEqualToFeaturesGetValuesBatchArg:(DBTEAMFeaturesGetValuesBatchArg *)aFeaturesGetValuesBatchArg { if (self == aFeaturesGetValuesBatchArg) { return YES; } if (![self.features isEqual:aFeaturesGetValuesBatchArg.features]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMFeaturesGetValuesBatchArgSerializer + (NSDictionary *)serialize:(DBTEAMFeaturesGetValuesBatchArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"features"] = [DBArraySerializer serialize:valueObj.features withBlock:^id(id elem0) { return [DBTEAMFeatureSerializer serialize:elem0]; }]; return jsonDict; } + (DBTEAMFeaturesGetValuesBatchArg *)deserialize:(NSDictionary *)valueDict { NSArray *features = [DBArraySerializer deserialize:valueDict[@"features"] withBlock:^id(id elem0) { return [DBTEAMFeatureSerializer deserialize:elem0]; }]; return [[DBTEAMFeaturesGetValuesBatchArg alloc] initWithFeatures:features]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMFeaturesGetValuesBatchError.h" #pragma mark - API Object @implementation DBTEAMFeaturesGetValuesBatchError #pragma mark - Constructors - (instancetype)initWithEmptyFeaturesList { self = [super init]; if (self) { _tag = DBTEAMFeaturesGetValuesBatchErrorEmptyFeaturesList; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBTEAMFeaturesGetValuesBatchErrorOther; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isEmptyFeaturesList { return _tag == DBTEAMFeaturesGetValuesBatchErrorEmptyFeaturesList; } - (BOOL)isOther { return _tag == DBTEAMFeaturesGetValuesBatchErrorOther; } - (NSString *)tagName { switch (_tag) { case DBTEAMFeaturesGetValuesBatchErrorEmptyFeaturesList: return @"DBTEAMFeaturesGetValuesBatchErrorEmptyFeaturesList"; case DBTEAMFeaturesGetValuesBatchErrorOther: return @"DBTEAMFeaturesGetValuesBatchErrorOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMFeaturesGetValuesBatchErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMFeaturesGetValuesBatchErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMFeaturesGetValuesBatchErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 DBTEAMFeaturesGetValuesBatchErrorEmptyFeaturesList: result = prime * result + [[self tagName] hash]; break; case DBTEAMFeaturesGetValuesBatchErrorOther: 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 isEqualToFeaturesGetValuesBatchError:other]; } - (BOOL)isEqualToFeaturesGetValuesBatchError:(DBTEAMFeaturesGetValuesBatchError *)aFeaturesGetValuesBatchError { if (self == aFeaturesGetValuesBatchError) { return YES; } if (self.tag != aFeaturesGetValuesBatchError.tag) { return NO; } switch (_tag) { case DBTEAMFeaturesGetValuesBatchErrorEmptyFeaturesList: return [[self tagName] isEqual:[aFeaturesGetValuesBatchError tagName]]; case DBTEAMFeaturesGetValuesBatchErrorOther: return [[self tagName] isEqual:[aFeaturesGetValuesBatchError tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMFeaturesGetValuesBatchErrorSerializer + (NSDictionary *)serialize:(DBTEAMFeaturesGetValuesBatchError *)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; } + (DBTEAMFeaturesGetValuesBatchError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"empty_features_list"]) { return [[DBTEAMFeaturesGetValuesBatchError alloc] initWithEmptyFeaturesList]; } else if ([tag isEqualToString:@"other"]) { return [[DBTEAMFeaturesGetValuesBatchError alloc] initWithOther]; } else { return [[DBTEAMFeaturesGetValuesBatchError alloc] initWithOther]; } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMFeatureValue.h" #import "DBTEAMFeaturesGetValuesBatchResult.h" #pragma mark - API Object @implementation DBTEAMFeaturesGetValuesBatchResult #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 [DBTEAMFeaturesGetValuesBatchResultSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMFeaturesGetValuesBatchResultSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMFeaturesGetValuesBatchResultSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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 isEqualToFeaturesGetValuesBatchResult:other]; } - (BOOL)isEqualToFeaturesGetValuesBatchResult:(DBTEAMFeaturesGetValuesBatchResult *)aFeaturesGetValuesBatchResult { if (self == aFeaturesGetValuesBatchResult) { return YES; } if (![self.values isEqual:aFeaturesGetValuesBatchResult.values]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMFeaturesGetValuesBatchResultSerializer + (NSDictionary *)serialize:(DBTEAMFeaturesGetValuesBatchResult *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"values"] = [DBArraySerializer serialize:valueObj.values withBlock:^id(id elem0) { return [DBTEAMFeatureValueSerializer serialize:elem0]; }]; return jsonDict; } + (DBTEAMFeaturesGetValuesBatchResult *)deserialize:(NSDictionary *)valueDict { NSArray *values = [DBArraySerializer deserialize:valueDict[@"values"] withBlock:^id(id elem0) { return [DBTEAMFeatureValueSerializer deserialize:elem0]; }]; return [[DBTEAMFeaturesGetValuesBatchResult alloc] initWithValues:values]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMBaseDfbReport.h" #import "DBTEAMGetActivityReport.h" #pragma mark - API Object @implementation DBTEAMGetActivityReport #pragma mark - Constructors - (instancetype)initWithStartDate:(NSString *)startDate adds:(NSArray *)adds edits:(NSArray *)edits deletes:(NSArray *)deletes activeUsers28Day:(NSArray *)activeUsers28Day activeUsers7Day:(NSArray *)activeUsers7Day activeUsers1Day:(NSArray *)activeUsers1Day activeSharedFolders28Day:(NSArray *)activeSharedFolders28Day activeSharedFolders7Day:(NSArray *)activeSharedFolders7Day activeSharedFolders1Day:(NSArray *)activeSharedFolders1Day sharedLinksCreated:(NSArray *)sharedLinksCreated sharedLinksViewedByTeam:(NSArray *)sharedLinksViewedByTeam sharedLinksViewedByOutsideUser:(NSArray *)sharedLinksViewedByOutsideUser sharedLinksViewedByNotLoggedIn:(NSArray *)sharedLinksViewedByNotLoggedIn sharedLinksViewedTotal:(NSArray *)sharedLinksViewedTotal { [DBStoneValidators nonnullValidator:nil](startDate); [DBStoneValidators nonnullValidator:[DBStoneValidators arrayValidator:nil maxItems:nil itemValidator:nil]](adds); [DBStoneValidators nonnullValidator:[DBStoneValidators arrayValidator:nil maxItems:nil itemValidator:nil]](edits); [DBStoneValidators nonnullValidator:[DBStoneValidators arrayValidator:nil maxItems:nil itemValidator:nil]](deletes); [DBStoneValidators nonnullValidator:[DBStoneValidators arrayValidator:nil maxItems:nil itemValidator:nil]](activeUsers28Day); [DBStoneValidators nonnullValidator:[DBStoneValidators arrayValidator:nil maxItems:nil itemValidator:nil]](activeUsers7Day); [DBStoneValidators nonnullValidator:[DBStoneValidators arrayValidator:nil maxItems:nil itemValidator:nil]](activeUsers1Day); [DBStoneValidators nonnullValidator:[DBStoneValidators arrayValidator:nil maxItems:nil itemValidator:nil]](activeSharedFolders28Day); [DBStoneValidators nonnullValidator:[DBStoneValidators arrayValidator:nil maxItems:nil itemValidator:nil]](activeSharedFolders7Day); [DBStoneValidators nonnullValidator:[DBStoneValidators arrayValidator:nil maxItems:nil itemValidator:nil]](activeSharedFolders1Day); [DBStoneValidators nonnullValidator:[DBStoneValidators arrayValidator:nil maxItems:nil itemValidator:nil]](sharedLinksCreated); [DBStoneValidators nonnullValidator:[DBStoneValidators arrayValidator:nil maxItems:nil itemValidator:nil]](sharedLinksViewedByTeam); [DBStoneValidators nonnullValidator:[DBStoneValidators arrayValidator:nil maxItems:nil itemValidator:nil]]( sharedLinksViewedByOutsideUser); [DBStoneValidators nonnullValidator:[DBStoneValidators arrayValidator:nil maxItems:nil itemValidator:nil]]( sharedLinksViewedByNotLoggedIn); [DBStoneValidators nonnullValidator:[DBStoneValidators arrayValidator:nil maxItems:nil itemValidator:nil]](sharedLinksViewedTotal); self = [super initWithStartDate:startDate]; if (self) { _adds = adds; _edits = edits; _deletes = deletes; _activeUsers28Day = activeUsers28Day; _activeUsers7Day = activeUsers7Day; _activeUsers1Day = activeUsers1Day; _activeSharedFolders28Day = activeSharedFolders28Day; _activeSharedFolders7Day = activeSharedFolders7Day; _activeSharedFolders1Day = activeSharedFolders1Day; _sharedLinksCreated = sharedLinksCreated; _sharedLinksViewedByTeam = sharedLinksViewedByTeam; _sharedLinksViewedByOutsideUser = sharedLinksViewedByOutsideUser; _sharedLinksViewedByNotLoggedIn = sharedLinksViewedByNotLoggedIn; _sharedLinksViewedTotal = sharedLinksViewedTotal; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMGetActivityReportSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMGetActivityReportSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMGetActivityReportSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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.adds hash]; result = prime * result + [self.edits hash]; result = prime * result + [self.deletes hash]; result = prime * result + [self.activeUsers28Day hash]; result = prime * result + [self.activeUsers7Day hash]; result = prime * result + [self.activeUsers1Day hash]; result = prime * result + [self.activeSharedFolders28Day hash]; result = prime * result + [self.activeSharedFolders7Day hash]; result = prime * result + [self.activeSharedFolders1Day hash]; result = prime * result + [self.sharedLinksCreated hash]; result = prime * result + [self.sharedLinksViewedByTeam hash]; result = prime * result + [self.sharedLinksViewedByOutsideUser hash]; result = prime * result + [self.sharedLinksViewedByNotLoggedIn hash]; result = prime * result + [self.sharedLinksViewedTotal hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToGetActivityReport:other]; } - (BOOL)isEqualToGetActivityReport:(DBTEAMGetActivityReport *)aGetActivityReport { if (self == aGetActivityReport) { return YES; } if (![self.startDate isEqual:aGetActivityReport.startDate]) { return NO; } if (![self.adds isEqual:aGetActivityReport.adds]) { return NO; } if (![self.edits isEqual:aGetActivityReport.edits]) { return NO; } if (![self.deletes isEqual:aGetActivityReport.deletes]) { return NO; } if (![self.activeUsers28Day isEqual:aGetActivityReport.activeUsers28Day]) { return NO; } if (![self.activeUsers7Day isEqual:aGetActivityReport.activeUsers7Day]) { return NO; } if (![self.activeUsers1Day isEqual:aGetActivityReport.activeUsers1Day]) { return NO; } if (![self.activeSharedFolders28Day isEqual:aGetActivityReport.activeSharedFolders28Day]) { return NO; } if (![self.activeSharedFolders7Day isEqual:aGetActivityReport.activeSharedFolders7Day]) { return NO; } if (![self.activeSharedFolders1Day isEqual:aGetActivityReport.activeSharedFolders1Day]) { return NO; } if (![self.sharedLinksCreated isEqual:aGetActivityReport.sharedLinksCreated]) { return NO; } if (![self.sharedLinksViewedByTeam isEqual:aGetActivityReport.sharedLinksViewedByTeam]) { return NO; } if (![self.sharedLinksViewedByOutsideUser isEqual:aGetActivityReport.sharedLinksViewedByOutsideUser]) { return NO; } if (![self.sharedLinksViewedByNotLoggedIn isEqual:aGetActivityReport.sharedLinksViewedByNotLoggedIn]) { return NO; } if (![self.sharedLinksViewedTotal isEqual:aGetActivityReport.sharedLinksViewedTotal]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMGetActivityReportSerializer + (NSDictionary *)serialize:(DBTEAMGetActivityReport *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"start_date"] = valueObj.startDate; jsonDict[@"adds"] = [DBArraySerializer serialize:valueObj.adds withBlock:^id(id elem0) { return elem0; }]; jsonDict[@"edits"] = [DBArraySerializer serialize:valueObj.edits withBlock:^id(id elem0) { return elem0; }]; jsonDict[@"deletes"] = [DBArraySerializer serialize:valueObj.deletes withBlock:^id(id elem0) { return elem0; }]; jsonDict[@"active_users_28_day"] = [DBArraySerializer serialize:valueObj.activeUsers28Day withBlock:^id(id elem0) { return elem0; }]; jsonDict[@"active_users_7_day"] = [DBArraySerializer serialize:valueObj.activeUsers7Day withBlock:^id(id elem0) { return elem0; }]; jsonDict[@"active_users_1_day"] = [DBArraySerializer serialize:valueObj.activeUsers1Day withBlock:^id(id elem0) { return elem0; }]; jsonDict[@"active_shared_folders_28_day"] = [DBArraySerializer serialize:valueObj.activeSharedFolders28Day withBlock:^id(id elem0) { return elem0; }]; jsonDict[@"active_shared_folders_7_day"] = [DBArraySerializer serialize:valueObj.activeSharedFolders7Day withBlock:^id(id elem0) { return elem0; }]; jsonDict[@"active_shared_folders_1_day"] = [DBArraySerializer serialize:valueObj.activeSharedFolders1Day withBlock:^id(id elem0) { return elem0; }]; jsonDict[@"shared_links_created"] = [DBArraySerializer serialize:valueObj.sharedLinksCreated withBlock:^id(id elem0) { return elem0; }]; jsonDict[@"shared_links_viewed_by_team"] = [DBArraySerializer serialize:valueObj.sharedLinksViewedByTeam withBlock:^id(id elem0) { return elem0; }]; jsonDict[@"shared_links_viewed_by_outside_user"] = [DBArraySerializer serialize:valueObj.sharedLinksViewedByOutsideUser withBlock:^id(id elem0) { return elem0; }]; jsonDict[@"shared_links_viewed_by_not_logged_in"] = [DBArraySerializer serialize:valueObj.sharedLinksViewedByNotLoggedIn withBlock:^id(id elem0) { return elem0; }]; jsonDict[@"shared_links_viewed_total"] = [DBArraySerializer serialize:valueObj.sharedLinksViewedTotal withBlock:^id(id elem0) { return elem0; }]; return jsonDict; } + (DBTEAMGetActivityReport *)deserialize:(NSDictionary *)valueDict { NSString *startDate = valueDict[@"start_date"]; NSArray *adds = [DBArraySerializer deserialize:valueDict[@"adds"] withBlock:^id(id elem0) { return elem0; }]; NSArray *edits = [DBArraySerializer deserialize:valueDict[@"edits"] withBlock:^id(id elem0) { return elem0; }]; NSArray *deletes = [DBArraySerializer deserialize:valueDict[@"deletes"] withBlock:^id(id elem0) { return elem0; }]; NSArray *activeUsers28Day = [DBArraySerializer deserialize:valueDict[@"active_users_28_day"] withBlock:^id(id elem0) { return elem0; }]; NSArray *activeUsers7Day = [DBArraySerializer deserialize:valueDict[@"active_users_7_day"] withBlock:^id(id elem0) { return elem0; }]; NSArray *activeUsers1Day = [DBArraySerializer deserialize:valueDict[@"active_users_1_day"] withBlock:^id(id elem0) { return elem0; }]; NSArray *activeSharedFolders28Day = [DBArraySerializer deserialize:valueDict[@"active_shared_folders_28_day"] withBlock:^id(id elem0) { return elem0; }]; NSArray *activeSharedFolders7Day = [DBArraySerializer deserialize:valueDict[@"active_shared_folders_7_day"] withBlock:^id(id elem0) { return elem0; }]; NSArray *activeSharedFolders1Day = [DBArraySerializer deserialize:valueDict[@"active_shared_folders_1_day"] withBlock:^id(id elem0) { return elem0; }]; NSArray *sharedLinksCreated = [DBArraySerializer deserialize:valueDict[@"shared_links_created"] withBlock:^id(id elem0) { return elem0; }]; NSArray *sharedLinksViewedByTeam = [DBArraySerializer deserialize:valueDict[@"shared_links_viewed_by_team"] withBlock:^id(id elem0) { return elem0; }]; NSArray *sharedLinksViewedByOutsideUser = [DBArraySerializer deserialize:valueDict[@"shared_links_viewed_by_outside_user"] withBlock:^id(id elem0) { return elem0; }]; NSArray *sharedLinksViewedByNotLoggedIn = [DBArraySerializer deserialize:valueDict[@"shared_links_viewed_by_not_logged_in"] withBlock:^id(id elem0) { return elem0; }]; NSArray *sharedLinksViewedTotal = [DBArraySerializer deserialize:valueDict[@"shared_links_viewed_total"] withBlock:^id(id elem0) { return elem0; }]; return [[DBTEAMGetActivityReport alloc] initWithStartDate:startDate adds:adds edits:edits deletes:deletes activeUsers28Day:activeUsers28Day activeUsers7Day:activeUsers7Day activeUsers1Day:activeUsers1Day activeSharedFolders28Day:activeSharedFolders28Day activeSharedFolders7Day:activeSharedFolders7Day activeSharedFolders1Day:activeSharedFolders1Day sharedLinksCreated:sharedLinksCreated sharedLinksViewedByTeam:sharedLinksViewedByTeam sharedLinksViewedByOutsideUser:sharedLinksViewedByOutsideUser sharedLinksViewedByNotLoggedIn:sharedLinksViewedByNotLoggedIn sharedLinksViewedTotal:sharedLinksViewedTotal]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMBaseDfbReport.h" #import "DBTEAMDevicesActive.h" #import "DBTEAMGetDevicesReport.h" #pragma mark - API Object @implementation DBTEAMGetDevicesReport #pragma mark - Constructors - (instancetype)initWithStartDate:(NSString *)startDate active1Day:(DBTEAMDevicesActive *)active1Day active7Day:(DBTEAMDevicesActive *)active7Day active28Day:(DBTEAMDevicesActive *)active28Day { [DBStoneValidators nonnullValidator:nil](startDate); [DBStoneValidators nonnullValidator:nil](active1Day); [DBStoneValidators nonnullValidator:nil](active7Day); [DBStoneValidators nonnullValidator:nil](active28Day); self = [super initWithStartDate:startDate]; if (self) { _active1Day = active1Day; _active7Day = active7Day; _active28Day = active28Day; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMGetDevicesReportSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMGetDevicesReportSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMGetDevicesReportSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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.active1Day hash]; result = prime * result + [self.active7Day hash]; result = prime * result + [self.active28Day hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToGetDevicesReport:other]; } - (BOOL)isEqualToGetDevicesReport:(DBTEAMGetDevicesReport *)aGetDevicesReport { if (self == aGetDevicesReport) { return YES; } if (![self.startDate isEqual:aGetDevicesReport.startDate]) { return NO; } if (![self.active1Day isEqual:aGetDevicesReport.active1Day]) { return NO; } if (![self.active7Day isEqual:aGetDevicesReport.active7Day]) { return NO; } if (![self.active28Day isEqual:aGetDevicesReport.active28Day]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMGetDevicesReportSerializer + (NSDictionary *)serialize:(DBTEAMGetDevicesReport *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"start_date"] = valueObj.startDate; jsonDict[@"active_1_day"] = [DBTEAMDevicesActiveSerializer serialize:valueObj.active1Day]; jsonDict[@"active_7_day"] = [DBTEAMDevicesActiveSerializer serialize:valueObj.active7Day]; jsonDict[@"active_28_day"] = [DBTEAMDevicesActiveSerializer serialize:valueObj.active28Day]; return jsonDict; } + (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"]]; DBTEAMDevicesActive *active28Day = [DBTEAMDevicesActiveSerializer deserialize:valueDict[@"active_28_day"]]; return [[DBTEAMGetDevicesReport alloc] initWithStartDate:startDate active1Day:active1Day active7Day:active7Day active28Day:active28Day]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMBaseDfbReport.h" #import "DBTEAMGetMembershipReport.h" #pragma mark - API Object @implementation DBTEAMGetMembershipReport #pragma mark - Constructors - (instancetype)initWithStartDate:(NSString *)startDate teamSize:(NSArray *)teamSize pendingInvites:(NSArray *)pendingInvites membersJoined:(NSArray *)membersJoined suspendedMembers:(NSArray *)suspendedMembers licenses:(NSArray *)licenses { [DBStoneValidators nonnullValidator:nil](startDate); [DBStoneValidators nonnullValidator:[DBStoneValidators arrayValidator:nil maxItems:nil itemValidator:nil]](teamSize); [DBStoneValidators nonnullValidator:[DBStoneValidators arrayValidator:nil maxItems:nil itemValidator:nil]](pendingInvites); [DBStoneValidators nonnullValidator:[DBStoneValidators arrayValidator:nil maxItems:nil itemValidator:nil]](membersJoined); [DBStoneValidators nonnullValidator:[DBStoneValidators arrayValidator:nil maxItems:nil itemValidator:nil]](suspendedMembers); [DBStoneValidators nonnullValidator:[DBStoneValidators arrayValidator:nil maxItems:nil itemValidator:nil]](licenses); self = [super initWithStartDate:startDate]; if (self) { _teamSize = teamSize; _pendingInvites = pendingInvites; _membersJoined = membersJoined; _suspendedMembers = suspendedMembers; _licenses = licenses; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMGetMembershipReportSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMGetMembershipReportSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMGetMembershipReportSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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.teamSize hash]; result = prime * result + [self.pendingInvites hash]; result = prime * result + [self.membersJoined hash]; result = prime * result + [self.suspendedMembers hash]; result = prime * result + [self.licenses hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToGetMembershipReport:other]; } - (BOOL)isEqualToGetMembershipReport:(DBTEAMGetMembershipReport *)aGetMembershipReport { if (self == aGetMembershipReport) { return YES; } if (![self.startDate isEqual:aGetMembershipReport.startDate]) { return NO; } if (![self.teamSize isEqual:aGetMembershipReport.teamSize]) { return NO; } if (![self.pendingInvites isEqual:aGetMembershipReport.pendingInvites]) { return NO; } if (![self.membersJoined isEqual:aGetMembershipReport.membersJoined]) { return NO; } if (![self.suspendedMembers isEqual:aGetMembershipReport.suspendedMembers]) { return NO; } if (![self.licenses isEqual:aGetMembershipReport.licenses]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMGetMembershipReportSerializer + (NSDictionary *)serialize:(DBTEAMGetMembershipReport *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"start_date"] = valueObj.startDate; jsonDict[@"team_size"] = [DBArraySerializer serialize:valueObj.teamSize withBlock:^id(id elem0) { return elem0; }]; jsonDict[@"pending_invites"] = [DBArraySerializer serialize:valueObj.pendingInvites withBlock:^id(id elem0) { return elem0; }]; jsonDict[@"members_joined"] = [DBArraySerializer serialize:valueObj.membersJoined withBlock:^id(id elem0) { return elem0; }]; jsonDict[@"suspended_members"] = [DBArraySerializer serialize:valueObj.suspendedMembers withBlock:^id(id elem0) { return elem0; }]; jsonDict[@"licenses"] = [DBArraySerializer serialize:valueObj.licenses withBlock:^id(id elem0) { return elem0; }]; return jsonDict; } + (DBTEAMGetMembershipReport *)deserialize:(NSDictionary *)valueDict { NSString *startDate = valueDict[@"start_date"]; NSArray *teamSize = [DBArraySerializer deserialize:valueDict[@"team_size"] withBlock:^id(id elem0) { return elem0; }]; NSArray *pendingInvites = [DBArraySerializer deserialize:valueDict[@"pending_invites"] withBlock:^id(id elem0) { return elem0; }]; NSArray *membersJoined = [DBArraySerializer deserialize:valueDict[@"members_joined"] withBlock:^id(id elem0) { return elem0; }]; NSArray *suspendedMembers = [DBArraySerializer deserialize:valueDict[@"suspended_members"] withBlock:^id(id elem0) { return elem0; }]; NSArray *licenses = [DBArraySerializer deserialize:valueDict[@"licenses"] withBlock:^id(id elem0) { return elem0; }]; return [[DBTEAMGetMembershipReport alloc] initWithStartDate:startDate teamSize:teamSize pendingInvites:pendingInvites membersJoined:membersJoined suspendedMembers:suspendedMembers licenses:licenses]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMBaseDfbReport.h" #import "DBTEAMGetStorageReport.h" #import "DBTEAMStorageBucket.h" #pragma mark - API Object @implementation DBTEAMGetStorageReport #pragma mark - Constructors - (instancetype)initWithStartDate:(NSString *)startDate totalUsage:(NSArray *)totalUsage sharedUsage:(NSArray *)sharedUsage unsharedUsage:(NSArray *)unsharedUsage sharedFolders:(NSArray *)sharedFolders memberStorageMap:(NSArray *> *)memberStorageMap { [DBStoneValidators nonnullValidator:nil](startDate); [DBStoneValidators nonnullValidator:[DBStoneValidators arrayValidator:nil maxItems:nil itemValidator:nil]](totalUsage); [DBStoneValidators nonnullValidator:[DBStoneValidators arrayValidator:nil maxItems:nil itemValidator:nil]](sharedUsage); [DBStoneValidators nonnullValidator:[DBStoneValidators arrayValidator:nil maxItems:nil itemValidator:nil]](unsharedUsage); [DBStoneValidators nonnullValidator:[DBStoneValidators arrayValidator:nil maxItems:nil itemValidator:nil]](sharedFolders); [DBStoneValidators nonnullValidator:[DBStoneValidators arrayValidator:nil maxItems:nil itemValidator:[DBStoneValidators nonnullValidator:[DBStoneValidators arrayValidator:nil maxItems:nil itemValidator:[DBStoneValidators nonnullValidator:nil]]]]]( memberStorageMap); self = [super initWithStartDate:startDate]; if (self) { _totalUsage = totalUsage; _sharedUsage = sharedUsage; _unsharedUsage = unsharedUsage; _sharedFolders = sharedFolders; _memberStorageMap = memberStorageMap; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMGetStorageReportSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMGetStorageReportSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMGetStorageReportSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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.totalUsage hash]; result = prime * result + [self.sharedUsage hash]; result = prime * result + [self.unsharedUsage hash]; result = prime * result + [self.sharedFolders hash]; result = prime * result + [self.memberStorageMap hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToGetStorageReport:other]; } - (BOOL)isEqualToGetStorageReport:(DBTEAMGetStorageReport *)aGetStorageReport { if (self == aGetStorageReport) { return YES; } if (![self.startDate isEqual:aGetStorageReport.startDate]) { return NO; } if (![self.totalUsage isEqual:aGetStorageReport.totalUsage]) { return NO; } if (![self.sharedUsage isEqual:aGetStorageReport.sharedUsage]) { return NO; } if (![self.unsharedUsage isEqual:aGetStorageReport.unsharedUsage]) { return NO; } if (![self.sharedFolders isEqual:aGetStorageReport.sharedFolders]) { return NO; } if (![self.memberStorageMap isEqual:aGetStorageReport.memberStorageMap]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMGetStorageReportSerializer + (NSDictionary *)serialize:(DBTEAMGetStorageReport *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"start_date"] = valueObj.startDate; jsonDict[@"total_usage"] = [DBArraySerializer serialize:valueObj.totalUsage withBlock:^id(id elem0) { return elem0; }]; jsonDict[@"shared_usage"] = [DBArraySerializer serialize:valueObj.sharedUsage withBlock:^id(id elem0) { return elem0; }]; jsonDict[@"unshared_usage"] = [DBArraySerializer serialize:valueObj.unsharedUsage withBlock:^id(id elem0) { return elem0; }]; jsonDict[@"shared_folders"] = [DBArraySerializer serialize:valueObj.sharedFolders withBlock:^id(id elem0) { return elem0; }]; jsonDict[@"member_storage_map"] = [DBArraySerializer serialize:valueObj.memberStorageMap withBlock:^id(id elem0) { return [DBArraySerializer serialize:elem0 withBlock:^id(id elem1) { return [DBTEAMStorageBucketSerializer serialize:elem1]; }]; }]; return jsonDict; } + (DBTEAMGetStorageReport *)deserialize:(NSDictionary *)valueDict { NSString *startDate = valueDict[@"start_date"]; NSArray *totalUsage = [DBArraySerializer deserialize:valueDict[@"total_usage"] withBlock:^id(id elem0) { return elem0; }]; NSArray *sharedUsage = [DBArraySerializer deserialize:valueDict[@"shared_usage"] withBlock:^id(id elem0) { return elem0; }]; NSArray *unsharedUsage = [DBArraySerializer deserialize:valueDict[@"unshared_usage"] withBlock:^id(id elem0) { return elem0; }]; NSArray *sharedFolders = [DBArraySerializer deserialize:valueDict[@"shared_folders"] withBlock:^id(id elem0) { return elem0; }]; NSArray *> *memberStorageMap = [DBArraySerializer deserialize:valueDict[@"member_storage_map"] withBlock:^id(id elem0) { return [DBArraySerializer deserialize:elem0 withBlock:^id(id elem1) { return [DBTEAMStorageBucketSerializer deserialize:elem1]; }]; }]; return [[DBTEAMGetStorageReport alloc] initWithStartDate:startDate totalUsage:totalUsage sharedUsage:sharedUsage unsharedUsage:unsharedUsage sharedFolders:sharedFolders memberStorageMap:memberStorageMap]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMGroupAccessType.h" #pragma mark - API Object @implementation DBTEAMGroupAccessType #pragma mark - Constructors - (instancetype)initWithMember { self = [super init]; if (self) { _tag = DBTEAMGroupAccessTypeMember; } return self; } - (instancetype)initWithOwner { self = [super init]; if (self) { _tag = DBTEAMGroupAccessTypeOwner; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isMember { return _tag == DBTEAMGroupAccessTypeMember; } - (BOOL)isOwner { return _tag == DBTEAMGroupAccessTypeOwner; } - (NSString *)tagName { switch (_tag) { case DBTEAMGroupAccessTypeMember: return @"DBTEAMGroupAccessTypeMember"; case DBTEAMGroupAccessTypeOwner: return @"DBTEAMGroupAccessTypeOwner"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMGroupAccessTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMGroupAccessTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMGroupAccessTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 DBTEAMGroupAccessTypeMember: result = prime * result + [[self tagName] hash]; break; case DBTEAMGroupAccessTypeOwner: 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 isEqualToGroupAccessType:other]; } - (BOOL)isEqualToGroupAccessType:(DBTEAMGroupAccessType *)aGroupAccessType { if (self == aGroupAccessType) { return YES; } if (self.tag != aGroupAccessType.tag) { return NO; } switch (_tag) { case DBTEAMGroupAccessTypeMember: return [[self tagName] isEqual:[aGroupAccessType tagName]]; case DBTEAMGroupAccessTypeOwner: return [[self tagName] isEqual:[aGroupAccessType tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMGroupAccessTypeSerializer + (NSDictionary *)serialize:(DBTEAMGroupAccessType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isMember]) { jsonDict[@".tag"] = @"member"; } else if ([valueObj isOwner]) { jsonDict[@".tag"] = @"owner"; } else { @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Object not properly initialized. Tag has an unknown value." userInfo:nil]); } return jsonDict; } + (DBTEAMGroupAccessType *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"member"]) { return [[DBTEAMGroupAccessType alloc] initWithMember]; } else if ([tag isEqualToString:@"owner"]) { return [[DBTEAMGroupAccessType alloc] initWithOwner]; } 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 "DBTEAMCOMMONGroupManagementType.h" #import "DBTEAMGroupCreateArg.h" #pragma mark - API Object @implementation DBTEAMGroupCreateArg #pragma mark - Constructors - (instancetype)initWithGroupName:(NSString *)groupName addCreatorAsOwner:(NSNumber *)addCreatorAsOwner groupExternalId:(NSString *)groupExternalId groupManagementType:(DBTEAMCOMMONGroupManagementType *)groupManagementType { [DBStoneValidators nonnullValidator:nil](groupName); self = [super init]; if (self) { _groupName = groupName; _addCreatorAsOwner = addCreatorAsOwner ?: @NO; _groupExternalId = groupExternalId; _groupManagementType = groupManagementType; } return self; } - (instancetype)initWithGroupName:(NSString *)groupName { return [self initWithGroupName:groupName addCreatorAsOwner:nil groupExternalId:nil groupManagementType:nil]; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMGroupCreateArgSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMGroupCreateArgSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMGroupCreateArgSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; 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]; } if (self.groupManagementType != nil) { result = prime * result + [self.groupManagementType hash]; } return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToGroupCreateArg:other]; } - (BOOL)isEqualToGroupCreateArg:(DBTEAMGroupCreateArg *)aGroupCreateArg { if (self == aGroupCreateArg) { return YES; } 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; } } if (self.groupManagementType) { if (![self.groupManagementType isEqual:aGroupCreateArg.groupManagementType]) { return NO; } } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMGroupCreateArgSerializer + (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; } if (valueObj.groupManagementType) { jsonDict[@"group_management_type"] = [DBTEAMCOMMONGroupManagementTypeSerializer serialize:valueObj.groupManagementType]; } return jsonDict; } + (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"] ? [DBTEAMCOMMONGroupManagementTypeSerializer deserialize:valueDict[@"group_management_type"]] : nil; return [[DBTEAMGroupCreateArg alloc] initWithGroupName:groupName addCreatorAsOwner:addCreatorAsOwner groupExternalId:groupExternalId groupManagementType:groupManagementType]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMGroupCreateError.h" #pragma mark - API Object @implementation DBTEAMGroupCreateError #pragma mark - Constructors - (instancetype)initWithGroupNameAlreadyUsed { self = [super init]; if (self) { _tag = DBTEAMGroupCreateErrorGroupNameAlreadyUsed; } return self; } - (instancetype)initWithGroupNameInvalid { self = [super init]; if (self) { _tag = DBTEAMGroupCreateErrorGroupNameInvalid; } return self; } - (instancetype)initWithExternalIdAlreadyInUse { self = [super init]; if (self) { _tag = DBTEAMGroupCreateErrorExternalIdAlreadyInUse; } return self; } - (instancetype)initWithSystemManagedGroupDisallowed { self = [super init]; if (self) { _tag = DBTEAMGroupCreateErrorSystemManagedGroupDisallowed; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBTEAMGroupCreateErrorOther; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isGroupNameAlreadyUsed { return _tag == DBTEAMGroupCreateErrorGroupNameAlreadyUsed; } - (BOOL)isGroupNameInvalid { return _tag == DBTEAMGroupCreateErrorGroupNameInvalid; } - (BOOL)isExternalIdAlreadyInUse { return _tag == DBTEAMGroupCreateErrorExternalIdAlreadyInUse; } - (BOOL)isSystemManagedGroupDisallowed { return _tag == DBTEAMGroupCreateErrorSystemManagedGroupDisallowed; } - (BOOL)isOther { return _tag == DBTEAMGroupCreateErrorOther; } - (NSString *)tagName { switch (_tag) { case DBTEAMGroupCreateErrorGroupNameAlreadyUsed: return @"DBTEAMGroupCreateErrorGroupNameAlreadyUsed"; case DBTEAMGroupCreateErrorGroupNameInvalid: return @"DBTEAMGroupCreateErrorGroupNameInvalid"; case DBTEAMGroupCreateErrorExternalIdAlreadyInUse: return @"DBTEAMGroupCreateErrorExternalIdAlreadyInUse"; case DBTEAMGroupCreateErrorSystemManagedGroupDisallowed: return @"DBTEAMGroupCreateErrorSystemManagedGroupDisallowed"; case DBTEAMGroupCreateErrorOther: return @"DBTEAMGroupCreateErrorOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMGroupCreateErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMGroupCreateErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMGroupCreateErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToGroupCreateError:other]; } - (BOOL)isEqualToGroupCreateError:(DBTEAMGroupCreateError *)aGroupCreateError { if (self == aGroupCreateError) { return YES; } if (self.tag != aGroupCreateError.tag) { return NO; } switch (_tag) { case DBTEAMGroupCreateErrorGroupNameAlreadyUsed: return [[self tagName] isEqual:[aGroupCreateError tagName]]; case DBTEAMGroupCreateErrorGroupNameInvalid: return [[self tagName] isEqual:[aGroupCreateError tagName]]; case DBTEAMGroupCreateErrorExternalIdAlreadyInUse: return [[self tagName] isEqual:[aGroupCreateError tagName]]; case DBTEAMGroupCreateErrorSystemManagedGroupDisallowed: return [[self tagName] isEqual:[aGroupCreateError tagName]]; case DBTEAMGroupCreateErrorOther: return [[self tagName] isEqual:[aGroupCreateError tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMGroupCreateErrorSerializer + (NSDictionary *)serialize:(DBTEAMGroupCreateError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isGroupNameAlreadyUsed]) { jsonDict[@".tag"] = @"group_name_already_used"; } else if ([valueObj isGroupNameInvalid]) { jsonDict[@".tag"] = @"group_name_invalid"; } else if ([valueObj isExternalIdAlreadyInUse]) { jsonDict[@".tag"] = @"external_id_already_in_use"; } else if ([valueObj isSystemManagedGroupDisallowed]) { jsonDict[@".tag"] = @"system_managed_group_disallowed"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBTEAMGroupCreateError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"group_name_already_used"]) { return [[DBTEAMGroupCreateError alloc] initWithGroupNameAlreadyUsed]; } else if ([tag isEqualToString:@"group_name_invalid"]) { return [[DBTEAMGroupCreateError alloc] initWithGroupNameInvalid]; } else if ([tag isEqualToString:@"external_id_already_in_use"]) { return [[DBTEAMGroupCreateError alloc] initWithExternalIdAlreadyInUse]; } else if ([tag isEqualToString:@"system_managed_group_disallowed"]) { return [[DBTEAMGroupCreateError alloc] initWithSystemManagedGroupDisallowed]; } else if ([tag isEqualToString:@"other"]) { return [[DBTEAMGroupCreateError alloc] initWithOther]; } else { return [[DBTEAMGroupCreateError alloc] initWithOther]; } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMGroupSelectorError.h" #pragma mark - API Object @implementation DBTEAMGroupSelectorError #pragma mark - Constructors - (instancetype)initWithGroupNotFound { self = [super init]; if (self) { _tag = DBTEAMGroupSelectorErrorGroupNotFound; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBTEAMGroupSelectorErrorOther; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isGroupNotFound { return _tag == DBTEAMGroupSelectorErrorGroupNotFound; } - (BOOL)isOther { return _tag == DBTEAMGroupSelectorErrorOther; } - (NSString *)tagName { switch (_tag) { case DBTEAMGroupSelectorErrorGroupNotFound: return @"DBTEAMGroupSelectorErrorGroupNotFound"; case DBTEAMGroupSelectorErrorOther: return @"DBTEAMGroupSelectorErrorOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMGroupSelectorErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMGroupSelectorErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMGroupSelectorErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 DBTEAMGroupSelectorErrorGroupNotFound: result = prime * result + [[self tagName] hash]; break; case DBTEAMGroupSelectorErrorOther: 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 isEqualToGroupSelectorError:other]; } - (BOOL)isEqualToGroupSelectorError:(DBTEAMGroupSelectorError *)aGroupSelectorError { if (self == aGroupSelectorError) { return YES; } if (self.tag != aGroupSelectorError.tag) { return NO; } switch (_tag) { case DBTEAMGroupSelectorErrorGroupNotFound: return [[self tagName] isEqual:[aGroupSelectorError tagName]]; case DBTEAMGroupSelectorErrorOther: return [[self tagName] isEqual:[aGroupSelectorError tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMGroupSelectorErrorSerializer + (NSDictionary *)serialize:(DBTEAMGroupSelectorError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isGroupNotFound]) { jsonDict[@".tag"] = @"group_not_found"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBTEAMGroupSelectorError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"group_not_found"]) { return [[DBTEAMGroupSelectorError alloc] initWithGroupNotFound]; } else if ([tag isEqualToString:@"other"]) { return [[DBTEAMGroupSelectorError alloc] initWithOther]; } else { return [[DBTEAMGroupSelectorError alloc] initWithOther]; } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMGroupSelectorError.h" #import "DBTEAMGroupSelectorWithTeamGroupError.h" #pragma mark - API Object @implementation DBTEAMGroupSelectorWithTeamGroupError #pragma mark - Constructors - (instancetype)initWithGroupNotFound { self = [super init]; if (self) { _tag = DBTEAMGroupSelectorWithTeamGroupErrorGroupNotFound; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBTEAMGroupSelectorWithTeamGroupErrorOther; } return self; } - (instancetype)initWithSystemManagedGroupDisallowed { self = [super init]; if (self) { _tag = DBTEAMGroupSelectorWithTeamGroupErrorSystemManagedGroupDisallowed; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isGroupNotFound { return _tag == DBTEAMGroupSelectorWithTeamGroupErrorGroupNotFound; } - (BOOL)isOther { return _tag == DBTEAMGroupSelectorWithTeamGroupErrorOther; } - (BOOL)isSystemManagedGroupDisallowed { return _tag == DBTEAMGroupSelectorWithTeamGroupErrorSystemManagedGroupDisallowed; } - (NSString *)tagName { switch (_tag) { case DBTEAMGroupSelectorWithTeamGroupErrorGroupNotFound: return @"DBTEAMGroupSelectorWithTeamGroupErrorGroupNotFound"; case DBTEAMGroupSelectorWithTeamGroupErrorOther: return @"DBTEAMGroupSelectorWithTeamGroupErrorOther"; case DBTEAMGroupSelectorWithTeamGroupErrorSystemManagedGroupDisallowed: return @"DBTEAMGroupSelectorWithTeamGroupErrorSystemManagedGroupDisallowed"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMGroupSelectorWithTeamGroupErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMGroupSelectorWithTeamGroupErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMGroupSelectorWithTeamGroupErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToGroupSelectorWithTeamGroupError:other]; } - (BOOL)isEqualToGroupSelectorWithTeamGroupError: (DBTEAMGroupSelectorWithTeamGroupError *)aGroupSelectorWithTeamGroupError { if (self == aGroupSelectorWithTeamGroupError) { return YES; } if (self.tag != aGroupSelectorWithTeamGroupError.tag) { return NO; } switch (_tag) { case DBTEAMGroupSelectorWithTeamGroupErrorGroupNotFound: return [[self tagName] isEqual:[aGroupSelectorWithTeamGroupError tagName]]; case DBTEAMGroupSelectorWithTeamGroupErrorOther: return [[self tagName] isEqual:[aGroupSelectorWithTeamGroupError tagName]]; case DBTEAMGroupSelectorWithTeamGroupErrorSystemManagedGroupDisallowed: return [[self tagName] isEqual:[aGroupSelectorWithTeamGroupError tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMGroupSelectorWithTeamGroupErrorSerializer + (NSDictionary *)serialize:(DBTEAMGroupSelectorWithTeamGroupError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isGroupNotFound]) { jsonDict[@".tag"] = @"group_not_found"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else if ([valueObj isSystemManagedGroupDisallowed]) { jsonDict[@".tag"] = @"system_managed_group_disallowed"; } else { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBTEAMGroupSelectorWithTeamGroupError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"group_not_found"]) { return [[DBTEAMGroupSelectorWithTeamGroupError alloc] initWithGroupNotFound]; } else if ([tag isEqualToString:@"other"]) { return [[DBTEAMGroupSelectorWithTeamGroupError alloc] initWithOther]; } else if ([tag isEqualToString:@"system_managed_group_disallowed"]) { return [[DBTEAMGroupSelectorWithTeamGroupError alloc] initWithSystemManagedGroupDisallowed]; } else { return [[DBTEAMGroupSelectorWithTeamGroupError alloc] initWithOther]; } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMGroupDeleteError.h" #import "DBTEAMGroupSelectorWithTeamGroupError.h" #pragma mark - API Object @implementation DBTEAMGroupDeleteError #pragma mark - Constructors - (instancetype)initWithGroupNotFound { self = [super init]; if (self) { _tag = DBTEAMGroupDeleteErrorGroupNotFound; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBTEAMGroupDeleteErrorOther; } return self; } - (instancetype)initWithSystemManagedGroupDisallowed { self = [super init]; if (self) { _tag = DBTEAMGroupDeleteErrorSystemManagedGroupDisallowed; } return self; } - (instancetype)initWithGroupAlreadyDeleted { self = [super init]; if (self) { _tag = DBTEAMGroupDeleteErrorGroupAlreadyDeleted; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isGroupNotFound { return _tag == DBTEAMGroupDeleteErrorGroupNotFound; } - (BOOL)isOther { return _tag == DBTEAMGroupDeleteErrorOther; } - (BOOL)isSystemManagedGroupDisallowed { return _tag == DBTEAMGroupDeleteErrorSystemManagedGroupDisallowed; } - (BOOL)isGroupAlreadyDeleted { return _tag == DBTEAMGroupDeleteErrorGroupAlreadyDeleted; } - (NSString *)tagName { switch (_tag) { case DBTEAMGroupDeleteErrorGroupNotFound: return @"DBTEAMGroupDeleteErrorGroupNotFound"; case DBTEAMGroupDeleteErrorOther: return @"DBTEAMGroupDeleteErrorOther"; case DBTEAMGroupDeleteErrorSystemManagedGroupDisallowed: return @"DBTEAMGroupDeleteErrorSystemManagedGroupDisallowed"; case DBTEAMGroupDeleteErrorGroupAlreadyDeleted: return @"DBTEAMGroupDeleteErrorGroupAlreadyDeleted"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMGroupDeleteErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMGroupDeleteErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMGroupDeleteErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToGroupDeleteError:other]; } - (BOOL)isEqualToGroupDeleteError:(DBTEAMGroupDeleteError *)aGroupDeleteError { if (self == aGroupDeleteError) { return YES; } if (self.tag != aGroupDeleteError.tag) { return NO; } switch (_tag) { case DBTEAMGroupDeleteErrorGroupNotFound: return [[self tagName] isEqual:[aGroupDeleteError tagName]]; case DBTEAMGroupDeleteErrorOther: return [[self tagName] isEqual:[aGroupDeleteError tagName]]; case DBTEAMGroupDeleteErrorSystemManagedGroupDisallowed: return [[self tagName] isEqual:[aGroupDeleteError tagName]]; case DBTEAMGroupDeleteErrorGroupAlreadyDeleted: return [[self tagName] isEqual:[aGroupDeleteError tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMGroupDeleteErrorSerializer + (NSDictionary *)serialize:(DBTEAMGroupDeleteError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isGroupNotFound]) { jsonDict[@".tag"] = @"group_not_found"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else if ([valueObj isSystemManagedGroupDisallowed]) { jsonDict[@".tag"] = @"system_managed_group_disallowed"; } else if ([valueObj isGroupAlreadyDeleted]) { jsonDict[@".tag"] = @"group_already_deleted"; } else { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBTEAMGroupDeleteError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"group_not_found"]) { return [[DBTEAMGroupDeleteError alloc] initWithGroupNotFound]; } else if ([tag isEqualToString:@"other"]) { return [[DBTEAMGroupDeleteError alloc] initWithOther]; } else if ([tag isEqualToString:@"system_managed_group_disallowed"]) { return [[DBTEAMGroupDeleteError alloc] initWithSystemManagedGroupDisallowed]; } else if ([tag isEqualToString:@"group_already_deleted"]) { return [[DBTEAMGroupDeleteError alloc] initWithGroupAlreadyDeleted]; } else { return [[DBTEAMGroupDeleteError alloc] initWithOther]; } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMCOMMONGroupManagementType.h" #import "DBTEAMCOMMONGroupSummary.h" #import "DBTEAMGroupFullInfo.h" #import "DBTEAMGroupMemberInfo.h" #pragma mark - API Object @implementation DBTEAMGroupFullInfo #pragma mark - Constructors - (instancetype)initWithGroupName:(NSString *)groupName groupId:(NSString *)groupId groupManagementType:(DBTEAMCOMMONGroupManagementType *)groupManagementType created:(NSNumber *)created groupExternalId:(NSString *)groupExternalId memberCount:(NSNumber *)memberCount members:(NSArray *)members { [DBStoneValidators nonnullValidator:nil](groupName); [DBStoneValidators nonnullValidator:nil](groupId); [DBStoneValidators nonnullValidator:nil](groupManagementType); [DBStoneValidators nonnullValidator:nil](created); [DBStoneValidators nullableValidator:[DBStoneValidators arrayValidator:nil maxItems:nil itemValidator:[DBStoneValidators nonnullValidator:nil]]](members); self = [super initWithGroupName:groupName groupId:groupId groupManagementType:groupManagementType groupExternalId:groupExternalId memberCount:memberCount]; if (self) { _members = members; _created = created; } return self; } - (instancetype)initWithGroupName:(NSString *)groupName groupId:(NSString *)groupId groupManagementType:(DBTEAMCOMMONGroupManagementType *)groupManagementType created:(NSNumber *)created { return [self initWithGroupName:groupName groupId:groupId groupManagementType:groupManagementType created:created groupExternalId:nil memberCount:nil members:nil]; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMGroupFullInfoSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMGroupFullInfoSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMGroupFullInfoSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (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.created hash]; if (self.groupExternalId != nil) { result = prime * result + [self.groupExternalId hash]; } if (self.memberCount != nil) { result = prime * result + [self.memberCount hash]; } if (self.members != nil) { 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 isEqualToGroupFullInfo:other]; } - (BOOL)isEqualToGroupFullInfo:(DBTEAMGroupFullInfo *)aGroupFullInfo { if (self == aGroupFullInfo) { return YES; } if (![self.groupName isEqual:aGroupFullInfo.groupName]) { return NO; } if (![self.groupId isEqual:aGroupFullInfo.groupId]) { return NO; } if (![self.groupManagementType isEqual:aGroupFullInfo.groupManagementType]) { return NO; } if (![self.created isEqual:aGroupFullInfo.created]) { return NO; } if (self.groupExternalId) { if (![self.groupExternalId isEqual:aGroupFullInfo.groupExternalId]) { return NO; } } if (self.memberCount) { if (![self.memberCount isEqual:aGroupFullInfo.memberCount]) { return NO; } } if (self.members) { if (![self.members isEqual:aGroupFullInfo.members]) { return NO; } } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMGroupFullInfoSerializer + (NSDictionary *)serialize:(DBTEAMGroupFullInfo *)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[@"created"] = valueObj.created; if (valueObj.groupExternalId) { jsonDict[@"group_external_id"] = valueObj.groupExternalId; } if (valueObj.memberCount) { jsonDict[@"member_count"] = valueObj.memberCount; } if (valueObj.members) { jsonDict[@"members"] = [DBArraySerializer serialize:valueObj.members withBlock:^id(id elem0) { return [DBTEAMGroupMemberInfoSerializer serialize:elem0]; }]; } return jsonDict; } + (DBTEAMGroupFullInfo *)deserialize:(NSDictionary *)valueDict { NSString *groupName = valueDict[@"group_name"]; NSString *groupId = valueDict[@"group_id"]; DBTEAMCOMMONGroupManagementType *groupManagementType = [DBTEAMCOMMONGroupManagementTypeSerializer deserialize:valueDict[@"group_management_type"]]; NSNumber *created = valueDict[@"created"]; NSString *groupExternalId = valueDict[@"group_external_id"] ?: nil; NSNumber *memberCount = valueDict[@"member_count"] ?: nil; NSArray *members = valueDict[@"members"] ? [DBArraySerializer deserialize:valueDict[@"members"] withBlock:^id(id elem0) { return [DBTEAMGroupMemberInfoSerializer deserialize:elem0]; }] : nil; return [[DBTEAMGroupFullInfo alloc] initWithGroupName:groupName groupId:groupId groupManagementType:groupManagementType created:created groupExternalId:groupExternalId memberCount:memberCount members:members]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMGroupAccessType.h" #import "DBTEAMGroupMemberInfo.h" #import "DBTEAMMemberProfile.h" #pragma mark - API Object @implementation DBTEAMGroupMemberInfo #pragma mark - Constructors - (instancetype)initWithProfile:(DBTEAMMemberProfile *)profile accessType:(DBTEAMGroupAccessType *)accessType { [DBStoneValidators nonnullValidator:nil](profile); [DBStoneValidators nonnullValidator:nil](accessType); self = [super init]; if (self) { _profile = profile; _accessType = accessType; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMGroupMemberInfoSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMGroupMemberInfoSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMGroupMemberInfoSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.profile 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 isEqualToGroupMemberInfo:other]; } - (BOOL)isEqualToGroupMemberInfo:(DBTEAMGroupMemberInfo *)aGroupMemberInfo { if (self == aGroupMemberInfo) { return YES; } if (![self.profile isEqual:aGroupMemberInfo.profile]) { return NO; } if (![self.accessType isEqual:aGroupMemberInfo.accessType]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMGroupMemberInfoSerializer + (NSDictionary *)serialize:(DBTEAMGroupMemberInfo *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"profile"] = [DBTEAMMemberProfileSerializer serialize:valueObj.profile]; jsonDict[@"access_type"] = [DBTEAMGroupAccessTypeSerializer serialize:valueObj.accessType]; return jsonDict; } + (DBTEAMGroupMemberInfo *)deserialize:(NSDictionary *)valueDict { DBTEAMMemberProfile *profile = [DBTEAMMemberProfileSerializer deserialize:valueDict[@"profile"]]; DBTEAMGroupAccessType *accessType = [DBTEAMGroupAccessTypeSerializer deserialize:valueDict[@"access_type"]]; return [[DBTEAMGroupMemberInfo alloc] initWithProfile:profile accessType:accessType]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMGroupMemberSelector.h" #import "DBTEAMGroupSelector.h" #import "DBTEAMUserSelectorArg.h" #pragma mark - API Object @implementation DBTEAMGroupMemberSelector #pragma mark - Constructors - (instancetype)initWithGroup:(DBTEAMGroupSelector *)group user:(DBTEAMUserSelectorArg *)user { [DBStoneValidators nonnullValidator:nil](group); [DBStoneValidators nonnullValidator:nil](user); self = [super init]; if (self) { _group = group; _user = user; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMGroupMemberSelectorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMGroupMemberSelectorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMGroupMemberSelectorSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.group hash]; 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 isEqualToGroupMemberSelector:other]; } - (BOOL)isEqualToGroupMemberSelector:(DBTEAMGroupMemberSelector *)aGroupMemberSelector { if (self == aGroupMemberSelector) { return YES; } if (![self.group isEqual:aGroupMemberSelector.group]) { return NO; } if (![self.user isEqual:aGroupMemberSelector.user]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMGroupMemberSelectorSerializer + (NSDictionary *)serialize:(DBTEAMGroupMemberSelector *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"group"] = [DBTEAMGroupSelectorSerializer serialize:valueObj.group]; jsonDict[@"user"] = [DBTEAMUserSelectorArgSerializer serialize:valueObj.user]; return jsonDict; } + (DBTEAMGroupMemberSelector *)deserialize:(NSDictionary *)valueDict { DBTEAMGroupSelector *group = [DBTEAMGroupSelectorSerializer deserialize:valueDict[@"group"]]; DBTEAMUserSelectorArg *user = [DBTEAMUserSelectorArgSerializer deserialize:valueDict[@"user"]]; return [[DBTEAMGroupMemberSelector alloc] initWithGroup:group user:user]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMGroupMemberSelectorError.h" #import "DBTEAMGroupSelectorWithTeamGroupError.h" #pragma mark - API Object @implementation DBTEAMGroupMemberSelectorError #pragma mark - Constructors - (instancetype)initWithGroupNotFound { self = [super init]; if (self) { _tag = DBTEAMGroupMemberSelectorErrorGroupNotFound; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBTEAMGroupMemberSelectorErrorOther; } return self; } - (instancetype)initWithSystemManagedGroupDisallowed { self = [super init]; if (self) { _tag = DBTEAMGroupMemberSelectorErrorSystemManagedGroupDisallowed; } return self; } - (instancetype)initWithMemberNotInGroup { self = [super init]; if (self) { _tag = DBTEAMGroupMemberSelectorErrorMemberNotInGroup; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isGroupNotFound { return _tag == DBTEAMGroupMemberSelectorErrorGroupNotFound; } - (BOOL)isOther { return _tag == DBTEAMGroupMemberSelectorErrorOther; } - (BOOL)isSystemManagedGroupDisallowed { return _tag == DBTEAMGroupMemberSelectorErrorSystemManagedGroupDisallowed; } - (BOOL)isMemberNotInGroup { return _tag == DBTEAMGroupMemberSelectorErrorMemberNotInGroup; } - (NSString *)tagName { switch (_tag) { case DBTEAMGroupMemberSelectorErrorGroupNotFound: return @"DBTEAMGroupMemberSelectorErrorGroupNotFound"; case DBTEAMGroupMemberSelectorErrorOther: return @"DBTEAMGroupMemberSelectorErrorOther"; case DBTEAMGroupMemberSelectorErrorSystemManagedGroupDisallowed: return @"DBTEAMGroupMemberSelectorErrorSystemManagedGroupDisallowed"; case DBTEAMGroupMemberSelectorErrorMemberNotInGroup: return @"DBTEAMGroupMemberSelectorErrorMemberNotInGroup"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMGroupMemberSelectorErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMGroupMemberSelectorErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMGroupMemberSelectorErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToGroupMemberSelectorError:other]; } - (BOOL)isEqualToGroupMemberSelectorError:(DBTEAMGroupMemberSelectorError *)aGroupMemberSelectorError { if (self == aGroupMemberSelectorError) { return YES; } if (self.tag != aGroupMemberSelectorError.tag) { return NO; } switch (_tag) { case DBTEAMGroupMemberSelectorErrorGroupNotFound: return [[self tagName] isEqual:[aGroupMemberSelectorError tagName]]; case DBTEAMGroupMemberSelectorErrorOther: return [[self tagName] isEqual:[aGroupMemberSelectorError tagName]]; case DBTEAMGroupMemberSelectorErrorSystemManagedGroupDisallowed: return [[self tagName] isEqual:[aGroupMemberSelectorError tagName]]; case DBTEAMGroupMemberSelectorErrorMemberNotInGroup: return [[self tagName] isEqual:[aGroupMemberSelectorError tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMGroupMemberSelectorErrorSerializer + (NSDictionary *)serialize:(DBTEAMGroupMemberSelectorError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isGroupNotFound]) { jsonDict[@".tag"] = @"group_not_found"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else if ([valueObj isSystemManagedGroupDisallowed]) { jsonDict[@".tag"] = @"system_managed_group_disallowed"; } else if ([valueObj isMemberNotInGroup]) { jsonDict[@".tag"] = @"member_not_in_group"; } else { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBTEAMGroupMemberSelectorError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"group_not_found"]) { return [[DBTEAMGroupMemberSelectorError alloc] initWithGroupNotFound]; } else if ([tag isEqualToString:@"other"]) { return [[DBTEAMGroupMemberSelectorError alloc] initWithOther]; } else if ([tag isEqualToString:@"system_managed_group_disallowed"]) { return [[DBTEAMGroupMemberSelectorError alloc] initWithSystemManagedGroupDisallowed]; } else if ([tag isEqualToString:@"member_not_in_group"]) { return [[DBTEAMGroupMemberSelectorError alloc] initWithMemberNotInGroup]; } else { return [[DBTEAMGroupMemberSelectorError alloc] initWithOther]; } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMGroupMemberSelectorError.h" #import "DBTEAMGroupMemberSetAccessTypeError.h" #pragma mark - API Object @implementation DBTEAMGroupMemberSetAccessTypeError #pragma mark - Constructors - (instancetype)initWithGroupNotFound { self = [super init]; if (self) { _tag = DBTEAMGroupMemberSetAccessTypeErrorGroupNotFound; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBTEAMGroupMemberSetAccessTypeErrorOther; } return self; } - (instancetype)initWithSystemManagedGroupDisallowed { self = [super init]; if (self) { _tag = DBTEAMGroupMemberSetAccessTypeErrorSystemManagedGroupDisallowed; } return self; } - (instancetype)initWithMemberNotInGroup { self = [super init]; if (self) { _tag = DBTEAMGroupMemberSetAccessTypeErrorMemberNotInGroup; } return self; } - (instancetype)initWithUserCannotBeManagerOfCompanyManagedGroup { self = [super init]; if (self) { _tag = DBTEAMGroupMemberSetAccessTypeErrorUserCannotBeManagerOfCompanyManagedGroup; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isGroupNotFound { return _tag == DBTEAMGroupMemberSetAccessTypeErrorGroupNotFound; } - (BOOL)isOther { return _tag == DBTEAMGroupMemberSetAccessTypeErrorOther; } - (BOOL)isSystemManagedGroupDisallowed { return _tag == DBTEAMGroupMemberSetAccessTypeErrorSystemManagedGroupDisallowed; } - (BOOL)isMemberNotInGroup { return _tag == DBTEAMGroupMemberSetAccessTypeErrorMemberNotInGroup; } - (BOOL)isUserCannotBeManagerOfCompanyManagedGroup { return _tag == DBTEAMGroupMemberSetAccessTypeErrorUserCannotBeManagerOfCompanyManagedGroup; } - (NSString *)tagName { switch (_tag) { case DBTEAMGroupMemberSetAccessTypeErrorGroupNotFound: return @"DBTEAMGroupMemberSetAccessTypeErrorGroupNotFound"; case DBTEAMGroupMemberSetAccessTypeErrorOther: return @"DBTEAMGroupMemberSetAccessTypeErrorOther"; case DBTEAMGroupMemberSetAccessTypeErrorSystemManagedGroupDisallowed: return @"DBTEAMGroupMemberSetAccessTypeErrorSystemManagedGroupDisallowed"; case DBTEAMGroupMemberSetAccessTypeErrorMemberNotInGroup: return @"DBTEAMGroupMemberSetAccessTypeErrorMemberNotInGroup"; case DBTEAMGroupMemberSetAccessTypeErrorUserCannotBeManagerOfCompanyManagedGroup: return @"DBTEAMGroupMemberSetAccessTypeErrorUserCannotBeManagerOfCompanyManagedGroup"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMGroupMemberSetAccessTypeErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMGroupMemberSetAccessTypeErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMGroupMemberSetAccessTypeErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToGroupMemberSetAccessTypeError:other]; } - (BOOL)isEqualToGroupMemberSetAccessTypeError:(DBTEAMGroupMemberSetAccessTypeError *)aGroupMemberSetAccessTypeError { if (self == aGroupMemberSetAccessTypeError) { return YES; } if (self.tag != aGroupMemberSetAccessTypeError.tag) { return NO; } switch (_tag) { case DBTEAMGroupMemberSetAccessTypeErrorGroupNotFound: return [[self tagName] isEqual:[aGroupMemberSetAccessTypeError tagName]]; case DBTEAMGroupMemberSetAccessTypeErrorOther: return [[self tagName] isEqual:[aGroupMemberSetAccessTypeError tagName]]; case DBTEAMGroupMemberSetAccessTypeErrorSystemManagedGroupDisallowed: return [[self tagName] isEqual:[aGroupMemberSetAccessTypeError tagName]]; case DBTEAMGroupMemberSetAccessTypeErrorMemberNotInGroup: return [[self tagName] isEqual:[aGroupMemberSetAccessTypeError tagName]]; case DBTEAMGroupMemberSetAccessTypeErrorUserCannotBeManagerOfCompanyManagedGroup: return [[self tagName] isEqual:[aGroupMemberSetAccessTypeError tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMGroupMemberSetAccessTypeErrorSerializer + (NSDictionary *)serialize:(DBTEAMGroupMemberSetAccessTypeError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isGroupNotFound]) { jsonDict[@".tag"] = @"group_not_found"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else if ([valueObj isSystemManagedGroupDisallowed]) { jsonDict[@".tag"] = @"system_managed_group_disallowed"; } else if ([valueObj isMemberNotInGroup]) { jsonDict[@".tag"] = @"member_not_in_group"; } else if ([valueObj isUserCannotBeManagerOfCompanyManagedGroup]) { jsonDict[@".tag"] = @"user_cannot_be_manager_of_company_managed_group"; } else { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBTEAMGroupMemberSetAccessTypeError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"group_not_found"]) { return [[DBTEAMGroupMemberSetAccessTypeError alloc] initWithGroupNotFound]; } else if ([tag isEqualToString:@"other"]) { return [[DBTEAMGroupMemberSetAccessTypeError alloc] initWithOther]; } else if ([tag isEqualToString:@"system_managed_group_disallowed"]) { return [[DBTEAMGroupMemberSetAccessTypeError alloc] initWithSystemManagedGroupDisallowed]; } else if ([tag isEqualToString:@"member_not_in_group"]) { return [[DBTEAMGroupMemberSetAccessTypeError alloc] initWithMemberNotInGroup]; } else if ([tag isEqualToString:@"user_cannot_be_manager_of_company_managed_group"]) { return [[DBTEAMGroupMemberSetAccessTypeError alloc] initWithUserCannotBeManagerOfCompanyManagedGroup]; } else { return [[DBTEAMGroupMemberSetAccessTypeError alloc] initWithOther]; } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMIncludeMembersArg.h" #pragma mark - API Object @implementation DBTEAMIncludeMembersArg #pragma mark - Constructors - (instancetype)initWithReturnMembers:(NSNumber *)returnMembers { self = [super init]; if (self) { _returnMembers = returnMembers ?: @YES; } return self; } - (instancetype)initDefault { return [self initWithReturnMembers:nil]; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMIncludeMembersArgSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMIncludeMembersArgSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMIncludeMembersArgSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.returnMembers hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToIncludeMembersArg:other]; } - (BOOL)isEqualToIncludeMembersArg:(DBTEAMIncludeMembersArg *)anIncludeMembersArg { if (self == anIncludeMembersArg) { return YES; } if (![self.returnMembers isEqual:anIncludeMembersArg.returnMembers]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMIncludeMembersArgSerializer + (NSDictionary *)serialize:(DBTEAMIncludeMembersArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"return_members"] = valueObj.returnMembers; return jsonDict; } + (DBTEAMIncludeMembersArg *)deserialize:(NSDictionary *)valueDict { NSNumber *returnMembers = valueDict[@"return_members"] ?: @YES; return [[DBTEAMIncludeMembersArg alloc] initWithReturnMembers:returnMembers]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMGroupMembersAddArg.h" #import "DBTEAMGroupSelector.h" #import "DBTEAMIncludeMembersArg.h" #import "DBTEAMMemberAccess.h" #pragma mark - API Object @implementation DBTEAMGroupMembersAddArg #pragma mark - Constructors - (instancetype)initWithGroup:(DBTEAMGroupSelector *)group members:(NSArray *)members returnMembers:(NSNumber *)returnMembers { [DBStoneValidators nonnullValidator:nil](group); [DBStoneValidators nonnullValidator:[DBStoneValidators arrayValidator:nil maxItems:nil itemValidator:[DBStoneValidators nonnullValidator:nil]]](members); self = [super initWithReturnMembers:returnMembers]; if (self) { _group = group; _members = members; } return self; } - (instancetype)initWithGroup:(DBTEAMGroupSelector *)group members:(NSArray *)members { return [self initWithGroup:group members:members returnMembers:nil]; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMGroupMembersAddArgSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMGroupMembersAddArgSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMGroupMembersAddArgSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.group hash]; result = prime * result + [self.members hash]; result = prime * result + [self.returnMembers hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToGroupMembersAddArg:other]; } - (BOOL)isEqualToGroupMembersAddArg:(DBTEAMGroupMembersAddArg *)aGroupMembersAddArg { if (self == aGroupMembersAddArg) { return YES; } if (![self.group isEqual:aGroupMembersAddArg.group]) { return NO; } if (![self.members isEqual:aGroupMembersAddArg.members]) { return NO; } if (![self.returnMembers isEqual:aGroupMembersAddArg.returnMembers]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMGroupMembersAddArgSerializer + (NSDictionary *)serialize:(DBTEAMGroupMembersAddArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"group"] = [DBTEAMGroupSelectorSerializer serialize:valueObj.group]; jsonDict[@"members"] = [DBArraySerializer serialize:valueObj.members withBlock:^id(id elem0) { return [DBTEAMMemberAccessSerializer serialize:elem0]; }]; jsonDict[@"return_members"] = valueObj.returnMembers; return jsonDict; } + (DBTEAMGroupMembersAddArg *)deserialize:(NSDictionary *)valueDict { DBTEAMGroupSelector *group = [DBTEAMGroupSelectorSerializer deserialize:valueDict[@"group"]]; NSArray *members = [DBArraySerializer deserialize:valueDict[@"members"] withBlock:^id(id elem0) { return [DBTEAMMemberAccessSerializer deserialize:elem0]; }]; NSNumber *returnMembers = valueDict[@"return_members"] ?: @YES; return [[DBTEAMGroupMembersAddArg alloc] initWithGroup:group members:members returnMembers:returnMembers]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMGroupMembersAddError.h" #import "DBTEAMGroupSelectorWithTeamGroupError.h" #pragma mark - API Object @implementation DBTEAMGroupMembersAddError @synthesize membersNotInTeam = _membersNotInTeam; @synthesize usersNotFound = _usersNotFound; @synthesize userCannotBeManagerOfCompanyManagedGroup = _userCannotBeManagerOfCompanyManagedGroup; #pragma mark - Constructors - (instancetype)initWithGroupNotFound { self = [super init]; if (self) { _tag = DBTEAMGroupMembersAddErrorGroupNotFound; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBTEAMGroupMembersAddErrorOther; } return self; } - (instancetype)initWithSystemManagedGroupDisallowed { self = [super init]; if (self) { _tag = DBTEAMGroupMembersAddErrorSystemManagedGroupDisallowed; } return self; } - (instancetype)initWithDuplicateUser { self = [super init]; if (self) { _tag = DBTEAMGroupMembersAddErrorDuplicateUser; } return self; } - (instancetype)initWithGroupNotInTeam { self = [super init]; if (self) { _tag = DBTEAMGroupMembersAddErrorGroupNotInTeam; } return self; } - (instancetype)initWithMembersNotInTeam:(NSArray *)membersNotInTeam { self = [super init]; if (self) { _tag = DBTEAMGroupMembersAddErrorMembersNotInTeam; _membersNotInTeam = membersNotInTeam; } return self; } - (instancetype)initWithUsersNotFound:(NSArray *)usersNotFound { self = [super init]; if (self) { _tag = DBTEAMGroupMembersAddErrorUsersNotFound; _usersNotFound = usersNotFound; } return self; } - (instancetype)initWithUserMustBeActiveToBeOwner { self = [super init]; if (self) { _tag = DBTEAMGroupMembersAddErrorUserMustBeActiveToBeOwner; } return self; } - (instancetype)initWithUserCannotBeManagerOfCompanyManagedGroup: (NSArray *)userCannotBeManagerOfCompanyManagedGroup { self = [super init]; if (self) { _tag = DBTEAMGroupMembersAddErrorUserCannotBeManagerOfCompanyManagedGroup; _userCannotBeManagerOfCompanyManagedGroup = userCannotBeManagerOfCompanyManagedGroup; } return self; } #pragma mark - Instance field accessors - (NSArray *)membersNotInTeam { if (![self isMembersNotInTeam]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMGroupMembersAddErrorMembersNotInTeam, but was %@.", [self tagName]]; } return _membersNotInTeam; } - (NSArray *)usersNotFound { if (![self isUsersNotFound]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMGroupMembersAddErrorUsersNotFound, but was %@.", [self tagName]]; } return _usersNotFound; } - (NSArray *)userCannotBeManagerOfCompanyManagedGroup { if (![self isUserCannotBeManagerOfCompanyManagedGroup]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMGroupMembersAddErrorUserCannotBeManagerOfCompanyManagedGroup, but was %@.", [self tagName]]; } return _userCannotBeManagerOfCompanyManagedGroup; } #pragma mark - Tag state methods - (BOOL)isGroupNotFound { return _tag == DBTEAMGroupMembersAddErrorGroupNotFound; } - (BOOL)isOther { return _tag == DBTEAMGroupMembersAddErrorOther; } - (BOOL)isSystemManagedGroupDisallowed { return _tag == DBTEAMGroupMembersAddErrorSystemManagedGroupDisallowed; } - (BOOL)isDuplicateUser { return _tag == DBTEAMGroupMembersAddErrorDuplicateUser; } - (BOOL)isGroupNotInTeam { return _tag == DBTEAMGroupMembersAddErrorGroupNotInTeam; } - (BOOL)isMembersNotInTeam { return _tag == DBTEAMGroupMembersAddErrorMembersNotInTeam; } - (BOOL)isUsersNotFound { return _tag == DBTEAMGroupMembersAddErrorUsersNotFound; } - (BOOL)isUserMustBeActiveToBeOwner { return _tag == DBTEAMGroupMembersAddErrorUserMustBeActiveToBeOwner; } - (BOOL)isUserCannotBeManagerOfCompanyManagedGroup { return _tag == DBTEAMGroupMembersAddErrorUserCannotBeManagerOfCompanyManagedGroup; } - (NSString *)tagName { switch (_tag) { case DBTEAMGroupMembersAddErrorGroupNotFound: return @"DBTEAMGroupMembersAddErrorGroupNotFound"; case DBTEAMGroupMembersAddErrorOther: return @"DBTEAMGroupMembersAddErrorOther"; case DBTEAMGroupMembersAddErrorSystemManagedGroupDisallowed: return @"DBTEAMGroupMembersAddErrorSystemManagedGroupDisallowed"; case DBTEAMGroupMembersAddErrorDuplicateUser: return @"DBTEAMGroupMembersAddErrorDuplicateUser"; case DBTEAMGroupMembersAddErrorGroupNotInTeam: return @"DBTEAMGroupMembersAddErrorGroupNotInTeam"; case DBTEAMGroupMembersAddErrorMembersNotInTeam: return @"DBTEAMGroupMembersAddErrorMembersNotInTeam"; case DBTEAMGroupMembersAddErrorUsersNotFound: return @"DBTEAMGroupMembersAddErrorUsersNotFound"; case DBTEAMGroupMembersAddErrorUserMustBeActiveToBeOwner: return @"DBTEAMGroupMembersAddErrorUserMustBeActiveToBeOwner"; case DBTEAMGroupMembersAddErrorUserCannotBeManagerOfCompanyManagedGroup: return @"DBTEAMGroupMembersAddErrorUserCannotBeManagerOfCompanyManagedGroup"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMGroupMembersAddErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMGroupMembersAddErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMGroupMembersAddErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToGroupMembersAddError:other]; } - (BOOL)isEqualToGroupMembersAddError:(DBTEAMGroupMembersAddError *)aGroupMembersAddError { if (self == aGroupMembersAddError) { return YES; } if (self.tag != aGroupMembersAddError.tag) { return NO; } switch (_tag) { case DBTEAMGroupMembersAddErrorGroupNotFound: return [[self tagName] isEqual:[aGroupMembersAddError tagName]]; case DBTEAMGroupMembersAddErrorOther: return [[self tagName] isEqual:[aGroupMembersAddError tagName]]; case DBTEAMGroupMembersAddErrorSystemManagedGroupDisallowed: return [[self tagName] isEqual:[aGroupMembersAddError tagName]]; case DBTEAMGroupMembersAddErrorDuplicateUser: return [[self tagName] isEqual:[aGroupMembersAddError tagName]]; case DBTEAMGroupMembersAddErrorGroupNotInTeam: return [[self tagName] isEqual:[aGroupMembersAddError tagName]]; case DBTEAMGroupMembersAddErrorMembersNotInTeam: return [self.membersNotInTeam isEqual:aGroupMembersAddError.membersNotInTeam]; case DBTEAMGroupMembersAddErrorUsersNotFound: return [self.usersNotFound isEqual:aGroupMembersAddError.usersNotFound]; case DBTEAMGroupMembersAddErrorUserMustBeActiveToBeOwner: return [[self tagName] isEqual:[aGroupMembersAddError tagName]]; case DBTEAMGroupMembersAddErrorUserCannotBeManagerOfCompanyManagedGroup: return [self.userCannotBeManagerOfCompanyManagedGroup isEqual:aGroupMembersAddError.userCannotBeManagerOfCompanyManagedGroup]; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMGroupMembersAddErrorSerializer + (NSDictionary *)serialize:(DBTEAMGroupMembersAddError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isGroupNotFound]) { jsonDict[@".tag"] = @"group_not_found"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else if ([valueObj isSystemManagedGroupDisallowed]) { jsonDict[@".tag"] = @"system_managed_group_disallowed"; } else if ([valueObj isDuplicateUser]) { jsonDict[@".tag"] = @"duplicate_user"; } else if ([valueObj isGroupNotInTeam]) { jsonDict[@".tag"] = @"group_not_in_team"; } else if ([valueObj isMembersNotInTeam]) { jsonDict[@"members_not_in_team"] = [DBArraySerializer serialize:valueObj.membersNotInTeam withBlock:^id(id elem0) { return elem0; }]; jsonDict[@".tag"] = @"members_not_in_team"; } else if ([valueObj isUsersNotFound]) { jsonDict[@"users_not_found"] = [DBArraySerializer serialize:valueObj.usersNotFound withBlock:^id(id elem0) { return elem0; }]; jsonDict[@".tag"] = @"users_not_found"; } else if ([valueObj isUserMustBeActiveToBeOwner]) { jsonDict[@".tag"] = @"user_must_be_active_to_be_owner"; } else if ([valueObj isUserCannotBeManagerOfCompanyManagedGroup]) { jsonDict[@"user_cannot_be_manager_of_company_managed_group"] = [DBArraySerializer serialize:valueObj.userCannotBeManagerOfCompanyManagedGroup withBlock:^id(id elem0) { return elem0; }]; jsonDict[@".tag"] = @"user_cannot_be_manager_of_company_managed_group"; } else { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBTEAMGroupMembersAddError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"group_not_found"]) { return [[DBTEAMGroupMembersAddError alloc] initWithGroupNotFound]; } else if ([tag isEqualToString:@"other"]) { return [[DBTEAMGroupMembersAddError alloc] initWithOther]; } else if ([tag isEqualToString:@"system_managed_group_disallowed"]) { return [[DBTEAMGroupMembersAddError alloc] initWithSystemManagedGroupDisallowed]; } else if ([tag isEqualToString:@"duplicate_user"]) { return [[DBTEAMGroupMembersAddError alloc] initWithDuplicateUser]; } else if ([tag isEqualToString:@"group_not_in_team"]) { return [[DBTEAMGroupMembersAddError alloc] initWithGroupNotInTeam]; } else if ([tag isEqualToString:@"members_not_in_team"]) { NSArray *membersNotInTeam = [DBArraySerializer deserialize:valueDict[@"members_not_in_team"] withBlock:^id(id elem0) { return elem0; }]; return [[DBTEAMGroupMembersAddError alloc] initWithMembersNotInTeam:membersNotInTeam]; } else if ([tag isEqualToString:@"users_not_found"]) { NSArray *usersNotFound = [DBArraySerializer deserialize:valueDict[@"users_not_found"] withBlock:^id(id elem0) { return elem0; }]; return [[DBTEAMGroupMembersAddError alloc] initWithUsersNotFound:usersNotFound]; } else if ([tag isEqualToString:@"user_must_be_active_to_be_owner"]) { return [[DBTEAMGroupMembersAddError alloc] initWithUserMustBeActiveToBeOwner]; } else if ([tag isEqualToString:@"user_cannot_be_manager_of_company_managed_group"]) { NSArray *userCannotBeManagerOfCompanyManagedGroup = [DBArraySerializer deserialize:valueDict[@"user_cannot_be_manager_of_company_managed_group"] withBlock:^id(id elem0) { return elem0; }]; return [[DBTEAMGroupMembersAddError alloc] initWithUserCannotBeManagerOfCompanyManagedGroup:userCannotBeManagerOfCompanyManagedGroup]; } else { return [[DBTEAMGroupMembersAddError alloc] initWithOther]; } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMGroupFullInfo.h" #import "DBTEAMGroupMembersChangeResult.h" #pragma mark - API Object @implementation DBTEAMGroupMembersChangeResult #pragma mark - Constructors - (instancetype)initWithGroupInfo:(DBTEAMGroupFullInfo *)groupInfo asyncJobId:(NSString *)asyncJobId { [DBStoneValidators nonnullValidator:nil](groupInfo); [DBStoneValidators nonnullValidator:[DBStoneValidators stringValidator:@(1) maxLength:nil pattern:nil]](asyncJobId); self = [super init]; if (self) { _groupInfo = groupInfo; _asyncJobId = asyncJobId; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMGroupMembersChangeResultSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMGroupMembersChangeResultSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMGroupMembersChangeResultSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.groupInfo hash]; result = prime * result + [self.asyncJobId hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToGroupMembersChangeResult:other]; } - (BOOL)isEqualToGroupMembersChangeResult:(DBTEAMGroupMembersChangeResult *)aGroupMembersChangeResult { if (self == aGroupMembersChangeResult) { return YES; } if (![self.groupInfo isEqual:aGroupMembersChangeResult.groupInfo]) { return NO; } if (![self.asyncJobId isEqual:aGroupMembersChangeResult.asyncJobId]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMGroupMembersChangeResultSerializer + (NSDictionary *)serialize:(DBTEAMGroupMembersChangeResult *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"group_info"] = [DBTEAMGroupFullInfoSerializer serialize:valueObj.groupInfo]; jsonDict[@"async_job_id"] = valueObj.asyncJobId; return jsonDict; } + (DBTEAMGroupMembersChangeResult *)deserialize:(NSDictionary *)valueDict { DBTEAMGroupFullInfo *groupInfo = [DBTEAMGroupFullInfoSerializer deserialize:valueDict[@"group_info"]]; NSString *asyncJobId = valueDict[@"async_job_id"]; return [[DBTEAMGroupMembersChangeResult alloc] initWithGroupInfo:groupInfo asyncJobId:asyncJobId]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMGroupMembersRemoveArg.h" #import "DBTEAMGroupSelector.h" #import "DBTEAMIncludeMembersArg.h" #import "DBTEAMUserSelectorArg.h" #pragma mark - API Object @implementation DBTEAMGroupMembersRemoveArg #pragma mark - Constructors - (instancetype)initWithGroup:(DBTEAMGroupSelector *)group users:(NSArray *)users returnMembers:(NSNumber *)returnMembers { [DBStoneValidators nonnullValidator:nil](group); [DBStoneValidators nonnullValidator:[DBStoneValidators arrayValidator:nil maxItems:nil itemValidator:[DBStoneValidators nonnullValidator:nil]]](users); self = [super initWithReturnMembers:returnMembers]; if (self) { _group = group; _users = users; } return self; } - (instancetype)initWithGroup:(DBTEAMGroupSelector *)group users:(NSArray *)users { return [self initWithGroup:group users:users returnMembers:nil]; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMGroupMembersRemoveArgSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMGroupMembersRemoveArgSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMGroupMembersRemoveArgSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.group hash]; result = prime * result + [self.users hash]; result = prime * result + [self.returnMembers hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToGroupMembersRemoveArg:other]; } - (BOOL)isEqualToGroupMembersRemoveArg:(DBTEAMGroupMembersRemoveArg *)aGroupMembersRemoveArg { if (self == aGroupMembersRemoveArg) { return YES; } if (![self.group isEqual:aGroupMembersRemoveArg.group]) { return NO; } if (![self.users isEqual:aGroupMembersRemoveArg.users]) { return NO; } if (![self.returnMembers isEqual:aGroupMembersRemoveArg.returnMembers]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMGroupMembersRemoveArgSerializer + (NSDictionary *)serialize:(DBTEAMGroupMembersRemoveArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"group"] = [DBTEAMGroupSelectorSerializer serialize:valueObj.group]; jsonDict[@"users"] = [DBArraySerializer serialize:valueObj.users withBlock:^id(id elem0) { return [DBTEAMUserSelectorArgSerializer serialize:elem0]; }]; jsonDict[@"return_members"] = valueObj.returnMembers; return jsonDict; } + (DBTEAMGroupMembersRemoveArg *)deserialize:(NSDictionary *)valueDict { DBTEAMGroupSelector *group = [DBTEAMGroupSelectorSerializer deserialize:valueDict[@"group"]]; NSArray *users = [DBArraySerializer deserialize:valueDict[@"users"] withBlock:^id(id elem0) { return [DBTEAMUserSelectorArgSerializer deserialize:elem0]; }]; NSNumber *returnMembers = valueDict[@"return_members"] ?: @YES; return [[DBTEAMGroupMembersRemoveArg alloc] initWithGroup:group users:users returnMembers:returnMembers]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMGroupMembersSelectorError.h" #import "DBTEAMGroupSelectorWithTeamGroupError.h" #pragma mark - API Object @implementation DBTEAMGroupMembersSelectorError #pragma mark - Constructors - (instancetype)initWithGroupNotFound { self = [super init]; if (self) { _tag = DBTEAMGroupMembersSelectorErrorGroupNotFound; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBTEAMGroupMembersSelectorErrorOther; } return self; } - (instancetype)initWithSystemManagedGroupDisallowed { self = [super init]; if (self) { _tag = DBTEAMGroupMembersSelectorErrorSystemManagedGroupDisallowed; } return self; } - (instancetype)initWithMemberNotInGroup { self = [super init]; if (self) { _tag = DBTEAMGroupMembersSelectorErrorMemberNotInGroup; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isGroupNotFound { return _tag == DBTEAMGroupMembersSelectorErrorGroupNotFound; } - (BOOL)isOther { return _tag == DBTEAMGroupMembersSelectorErrorOther; } - (BOOL)isSystemManagedGroupDisallowed { return _tag == DBTEAMGroupMembersSelectorErrorSystemManagedGroupDisallowed; } - (BOOL)isMemberNotInGroup { return _tag == DBTEAMGroupMembersSelectorErrorMemberNotInGroup; } - (NSString *)tagName { switch (_tag) { case DBTEAMGroupMembersSelectorErrorGroupNotFound: return @"DBTEAMGroupMembersSelectorErrorGroupNotFound"; case DBTEAMGroupMembersSelectorErrorOther: return @"DBTEAMGroupMembersSelectorErrorOther"; case DBTEAMGroupMembersSelectorErrorSystemManagedGroupDisallowed: return @"DBTEAMGroupMembersSelectorErrorSystemManagedGroupDisallowed"; case DBTEAMGroupMembersSelectorErrorMemberNotInGroup: return @"DBTEAMGroupMembersSelectorErrorMemberNotInGroup"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMGroupMembersSelectorErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMGroupMembersSelectorErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMGroupMembersSelectorErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToGroupMembersSelectorError:other]; } - (BOOL)isEqualToGroupMembersSelectorError:(DBTEAMGroupMembersSelectorError *)aGroupMembersSelectorError { if (self == aGroupMembersSelectorError) { return YES; } if (self.tag != aGroupMembersSelectorError.tag) { return NO; } switch (_tag) { case DBTEAMGroupMembersSelectorErrorGroupNotFound: return [[self tagName] isEqual:[aGroupMembersSelectorError tagName]]; case DBTEAMGroupMembersSelectorErrorOther: return [[self tagName] isEqual:[aGroupMembersSelectorError tagName]]; case DBTEAMGroupMembersSelectorErrorSystemManagedGroupDisallowed: return [[self tagName] isEqual:[aGroupMembersSelectorError tagName]]; case DBTEAMGroupMembersSelectorErrorMemberNotInGroup: return [[self tagName] isEqual:[aGroupMembersSelectorError tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMGroupMembersSelectorErrorSerializer + (NSDictionary *)serialize:(DBTEAMGroupMembersSelectorError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isGroupNotFound]) { jsonDict[@".tag"] = @"group_not_found"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else if ([valueObj isSystemManagedGroupDisallowed]) { jsonDict[@".tag"] = @"system_managed_group_disallowed"; } else if ([valueObj isMemberNotInGroup]) { jsonDict[@".tag"] = @"member_not_in_group"; } else { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBTEAMGroupMembersSelectorError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"group_not_found"]) { return [[DBTEAMGroupMembersSelectorError alloc] initWithGroupNotFound]; } else if ([tag isEqualToString:@"other"]) { return [[DBTEAMGroupMembersSelectorError alloc] initWithOther]; } else if ([tag isEqualToString:@"system_managed_group_disallowed"]) { return [[DBTEAMGroupMembersSelectorError alloc] initWithSystemManagedGroupDisallowed]; } else if ([tag isEqualToString:@"member_not_in_group"]) { return [[DBTEAMGroupMembersSelectorError alloc] initWithMemberNotInGroup]; } else { return [[DBTEAMGroupMembersSelectorError alloc] initWithOther]; } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMGroupMembersRemoveError.h" #import "DBTEAMGroupMembersSelectorError.h" #pragma mark - API Object @implementation DBTEAMGroupMembersRemoveError @synthesize membersNotInTeam = _membersNotInTeam; @synthesize usersNotFound = _usersNotFound; #pragma mark - Constructors - (instancetype)initWithGroupNotFound { self = [super init]; if (self) { _tag = DBTEAMGroupMembersRemoveErrorGroupNotFound; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBTEAMGroupMembersRemoveErrorOther; } return self; } - (instancetype)initWithSystemManagedGroupDisallowed { self = [super init]; if (self) { _tag = DBTEAMGroupMembersRemoveErrorSystemManagedGroupDisallowed; } return self; } - (instancetype)initWithMemberNotInGroup { self = [super init]; if (self) { _tag = DBTEAMGroupMembersRemoveErrorMemberNotInGroup; } return self; } - (instancetype)initWithGroupNotInTeam { self = [super init]; if (self) { _tag = DBTEAMGroupMembersRemoveErrorGroupNotInTeam; } return self; } - (instancetype)initWithMembersNotInTeam:(NSArray *)membersNotInTeam { self = [super init]; if (self) { _tag = DBTEAMGroupMembersRemoveErrorMembersNotInTeam; _membersNotInTeam = membersNotInTeam; } return self; } - (instancetype)initWithUsersNotFound:(NSArray *)usersNotFound { self = [super init]; if (self) { _tag = DBTEAMGroupMembersRemoveErrorUsersNotFound; _usersNotFound = usersNotFound; } return self; } #pragma mark - Instance field accessors - (NSArray *)membersNotInTeam { if (![self isMembersNotInTeam]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMGroupMembersRemoveErrorMembersNotInTeam, but was %@.", [self tagName]]; } return _membersNotInTeam; } - (NSArray *)usersNotFound { if (![self isUsersNotFound]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMGroupMembersRemoveErrorUsersNotFound, but was %@.", [self tagName]]; } return _usersNotFound; } #pragma mark - Tag state methods - (BOOL)isGroupNotFound { return _tag == DBTEAMGroupMembersRemoveErrorGroupNotFound; } - (BOOL)isOther { return _tag == DBTEAMGroupMembersRemoveErrorOther; } - (BOOL)isSystemManagedGroupDisallowed { return _tag == DBTEAMGroupMembersRemoveErrorSystemManagedGroupDisallowed; } - (BOOL)isMemberNotInGroup { return _tag == DBTEAMGroupMembersRemoveErrorMemberNotInGroup; } - (BOOL)isGroupNotInTeam { return _tag == DBTEAMGroupMembersRemoveErrorGroupNotInTeam; } - (BOOL)isMembersNotInTeam { return _tag == DBTEAMGroupMembersRemoveErrorMembersNotInTeam; } - (BOOL)isUsersNotFound { return _tag == DBTEAMGroupMembersRemoveErrorUsersNotFound; } - (NSString *)tagName { switch (_tag) { case DBTEAMGroupMembersRemoveErrorGroupNotFound: return @"DBTEAMGroupMembersRemoveErrorGroupNotFound"; case DBTEAMGroupMembersRemoveErrorOther: return @"DBTEAMGroupMembersRemoveErrorOther"; case DBTEAMGroupMembersRemoveErrorSystemManagedGroupDisallowed: return @"DBTEAMGroupMembersRemoveErrorSystemManagedGroupDisallowed"; case DBTEAMGroupMembersRemoveErrorMemberNotInGroup: return @"DBTEAMGroupMembersRemoveErrorMemberNotInGroup"; case DBTEAMGroupMembersRemoveErrorGroupNotInTeam: return @"DBTEAMGroupMembersRemoveErrorGroupNotInTeam"; case DBTEAMGroupMembersRemoveErrorMembersNotInTeam: return @"DBTEAMGroupMembersRemoveErrorMembersNotInTeam"; case DBTEAMGroupMembersRemoveErrorUsersNotFound: return @"DBTEAMGroupMembersRemoveErrorUsersNotFound"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMGroupMembersRemoveErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMGroupMembersRemoveErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMGroupMembersRemoveErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToGroupMembersRemoveError:other]; } - (BOOL)isEqualToGroupMembersRemoveError:(DBTEAMGroupMembersRemoveError *)aGroupMembersRemoveError { if (self == aGroupMembersRemoveError) { return YES; } if (self.tag != aGroupMembersRemoveError.tag) { return NO; } switch (_tag) { case DBTEAMGroupMembersRemoveErrorGroupNotFound: return [[self tagName] isEqual:[aGroupMembersRemoveError tagName]]; case DBTEAMGroupMembersRemoveErrorOther: return [[self tagName] isEqual:[aGroupMembersRemoveError tagName]]; case DBTEAMGroupMembersRemoveErrorSystemManagedGroupDisallowed: return [[self tagName] isEqual:[aGroupMembersRemoveError tagName]]; case DBTEAMGroupMembersRemoveErrorMemberNotInGroup: return [[self tagName] isEqual:[aGroupMembersRemoveError tagName]]; case DBTEAMGroupMembersRemoveErrorGroupNotInTeam: return [[self tagName] isEqual:[aGroupMembersRemoveError tagName]]; case DBTEAMGroupMembersRemoveErrorMembersNotInTeam: return [self.membersNotInTeam isEqual:aGroupMembersRemoveError.membersNotInTeam]; case DBTEAMGroupMembersRemoveErrorUsersNotFound: return [self.usersNotFound isEqual:aGroupMembersRemoveError.usersNotFound]; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMGroupMembersRemoveErrorSerializer + (NSDictionary *)serialize:(DBTEAMGroupMembersRemoveError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isGroupNotFound]) { jsonDict[@".tag"] = @"group_not_found"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else if ([valueObj isSystemManagedGroupDisallowed]) { jsonDict[@".tag"] = @"system_managed_group_disallowed"; } else if ([valueObj isMemberNotInGroup]) { jsonDict[@".tag"] = @"member_not_in_group"; } else if ([valueObj isGroupNotInTeam]) { jsonDict[@".tag"] = @"group_not_in_team"; } else if ([valueObj isMembersNotInTeam]) { jsonDict[@"members_not_in_team"] = [DBArraySerializer serialize:valueObj.membersNotInTeam withBlock:^id(id elem0) { return elem0; }]; jsonDict[@".tag"] = @"members_not_in_team"; } else if ([valueObj isUsersNotFound]) { jsonDict[@"users_not_found"] = [DBArraySerializer serialize:valueObj.usersNotFound withBlock:^id(id elem0) { return elem0; }]; jsonDict[@".tag"] = @"users_not_found"; } else { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBTEAMGroupMembersRemoveError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"group_not_found"]) { return [[DBTEAMGroupMembersRemoveError alloc] initWithGroupNotFound]; } else if ([tag isEqualToString:@"other"]) { return [[DBTEAMGroupMembersRemoveError alloc] initWithOther]; } else if ([tag isEqualToString:@"system_managed_group_disallowed"]) { return [[DBTEAMGroupMembersRemoveError alloc] initWithSystemManagedGroupDisallowed]; } else if ([tag isEqualToString:@"member_not_in_group"]) { return [[DBTEAMGroupMembersRemoveError alloc] initWithMemberNotInGroup]; } else if ([tag isEqualToString:@"group_not_in_team"]) { return [[DBTEAMGroupMembersRemoveError alloc] initWithGroupNotInTeam]; } else if ([tag isEqualToString:@"members_not_in_team"]) { NSArray *membersNotInTeam = [DBArraySerializer deserialize:valueDict[@"members_not_in_team"] withBlock:^id(id elem0) { return elem0; }]; return [[DBTEAMGroupMembersRemoveError alloc] initWithMembersNotInTeam:membersNotInTeam]; } else if ([tag isEqualToString:@"users_not_found"]) { NSArray *usersNotFound = [DBArraySerializer deserialize:valueDict[@"users_not_found"] withBlock:^id(id elem0) { return elem0; }]; return [[DBTEAMGroupMembersRemoveError alloc] initWithUsersNotFound:usersNotFound]; } else { return [[DBTEAMGroupMembersRemoveError alloc] initWithOther]; } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMGroupMembersSelector.h" #import "DBTEAMGroupSelector.h" #import "DBTEAMUsersSelectorArg.h" #pragma mark - API Object @implementation DBTEAMGroupMembersSelector #pragma mark - Constructors - (instancetype)initWithGroup:(DBTEAMGroupSelector *)group users:(DBTEAMUsersSelectorArg *)users { [DBStoneValidators nonnullValidator:nil](group); [DBStoneValidators nonnullValidator:nil](users); self = [super init]; if (self) { _group = group; _users = users; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMGroupMembersSelectorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMGroupMembersSelectorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMGroupMembersSelectorSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.group hash]; result = prime * result + [self.users hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToGroupMembersSelector:other]; } - (BOOL)isEqualToGroupMembersSelector:(DBTEAMGroupMembersSelector *)aGroupMembersSelector { if (self == aGroupMembersSelector) { return YES; } if (![self.group isEqual:aGroupMembersSelector.group]) { return NO; } if (![self.users isEqual:aGroupMembersSelector.users]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMGroupMembersSelectorSerializer + (NSDictionary *)serialize:(DBTEAMGroupMembersSelector *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"group"] = [DBTEAMGroupSelectorSerializer serialize:valueObj.group]; jsonDict[@"users"] = [DBTEAMUsersSelectorArgSerializer serialize:valueObj.users]; return jsonDict; } + (DBTEAMGroupMembersSelector *)deserialize:(NSDictionary *)valueDict { DBTEAMGroupSelector *group = [DBTEAMGroupSelectorSerializer deserialize:valueDict[@"group"]]; DBTEAMUsersSelectorArg *users = [DBTEAMUsersSelectorArgSerializer deserialize:valueDict[@"users"]]; return [[DBTEAMGroupMembersSelector alloc] initWithGroup:group users:users]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMGroupAccessType.h" #import "DBTEAMGroupMemberSelector.h" #import "DBTEAMGroupMembersSetAccessTypeArg.h" #import "DBTEAMGroupSelector.h" #import "DBTEAMUserSelectorArg.h" #pragma mark - API Object @implementation DBTEAMGroupMembersSetAccessTypeArg #pragma mark - Constructors - (instancetype)initWithGroup:(DBTEAMGroupSelector *)group user:(DBTEAMUserSelectorArg *)user accessType:(DBTEAMGroupAccessType *)accessType returnMembers:(NSNumber *)returnMembers { [DBStoneValidators nonnullValidator:nil](group); [DBStoneValidators nonnullValidator:nil](user); [DBStoneValidators nonnullValidator:nil](accessType); self = [super initWithGroup:group user:user]; if (self) { _accessType = accessType; _returnMembers = returnMembers ?: @YES; } return self; } - (instancetype)initWithGroup:(DBTEAMGroupSelector *)group user:(DBTEAMUserSelectorArg *)user accessType:(DBTEAMGroupAccessType *)accessType { return [self initWithGroup:group user:user accessType:accessType returnMembers:nil]; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMGroupMembersSetAccessTypeArgSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMGroupMembersSetAccessTypeArgSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMGroupMembersSetAccessTypeArgSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.group hash]; result = prime * result + [self.user hash]; result = prime * result + [self.accessType hash]; result = prime * result + [self.returnMembers hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToGroupMembersSetAccessTypeArg:other]; } - (BOOL)isEqualToGroupMembersSetAccessTypeArg:(DBTEAMGroupMembersSetAccessTypeArg *)aGroupMembersSetAccessTypeArg { if (self == aGroupMembersSetAccessTypeArg) { return YES; } if (![self.group isEqual:aGroupMembersSetAccessTypeArg.group]) { return NO; } if (![self.user isEqual:aGroupMembersSetAccessTypeArg.user]) { return NO; } if (![self.accessType isEqual:aGroupMembersSetAccessTypeArg.accessType]) { return NO; } if (![self.returnMembers isEqual:aGroupMembersSetAccessTypeArg.returnMembers]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMGroupMembersSetAccessTypeArgSerializer + (NSDictionary *)serialize:(DBTEAMGroupMembersSetAccessTypeArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"group"] = [DBTEAMGroupSelectorSerializer serialize:valueObj.group]; jsonDict[@"user"] = [DBTEAMUserSelectorArgSerializer serialize:valueObj.user]; jsonDict[@"access_type"] = [DBTEAMGroupAccessTypeSerializer serialize:valueObj.accessType]; jsonDict[@"return_members"] = valueObj.returnMembers; return jsonDict; } + (DBTEAMGroupMembersSetAccessTypeArg *)deserialize:(NSDictionary *)valueDict { DBTEAMGroupSelector *group = [DBTEAMGroupSelectorSerializer deserialize:valueDict[@"group"]]; DBTEAMUserSelectorArg *user = [DBTEAMUserSelectorArgSerializer deserialize:valueDict[@"user"]]; DBTEAMGroupAccessType *accessType = [DBTEAMGroupAccessTypeSerializer deserialize:valueDict[@"access_type"]]; NSNumber *returnMembers = valueDict[@"return_members"] ?: @YES; return [[DBTEAMGroupMembersSetAccessTypeArg alloc] initWithGroup:group user:user accessType:accessType returnMembers:returnMembers]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMGroupSelector.h" #pragma mark - API Object @implementation DBTEAMGroupSelector @synthesize groupId = _groupId; @synthesize groupExternalId = _groupExternalId; #pragma mark - Constructors - (instancetype)initWithGroupId:(NSString *)groupId { self = [super init]; if (self) { _tag = DBTEAMGroupSelectorGroupId; _groupId = groupId; } return self; } - (instancetype)initWithGroupExternalId:(NSString *)groupExternalId { self = [super init]; if (self) { _tag = DBTEAMGroupSelectorGroupExternalId; _groupExternalId = groupExternalId; } return self; } #pragma mark - Instance field accessors - (NSString *)groupId { if (![self isGroupId]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMGroupSelectorGroupId, but was %@.", [self tagName]]; } return _groupId; } - (NSString *)groupExternalId { if (![self isGroupExternalId]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMGroupSelectorGroupExternalId, but was %@.", [self tagName]]; } return _groupExternalId; } #pragma mark - Tag state methods - (BOOL)isGroupId { return _tag == DBTEAMGroupSelectorGroupId; } - (BOOL)isGroupExternalId { return _tag == DBTEAMGroupSelectorGroupExternalId; } - (NSString *)tagName { switch (_tag) { case DBTEAMGroupSelectorGroupId: return @"DBTEAMGroupSelectorGroupId"; case DBTEAMGroupSelectorGroupExternalId: return @"DBTEAMGroupSelectorGroupExternalId"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMGroupSelectorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMGroupSelectorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMGroupSelectorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 DBTEAMGroupSelectorGroupId: result = prime * result + [self.groupId hash]; break; case DBTEAMGroupSelectorGroupExternalId: result = prime * result + [self.groupExternalId 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 isEqualToGroupSelector:other]; } - (BOOL)isEqualToGroupSelector:(DBTEAMGroupSelector *)aGroupSelector { if (self == aGroupSelector) { return YES; } if (self.tag != aGroupSelector.tag) { return NO; } switch (_tag) { case DBTEAMGroupSelectorGroupId: return [self.groupId isEqual:aGroupSelector.groupId]; case DBTEAMGroupSelectorGroupExternalId: return [self.groupExternalId isEqual:aGroupSelector.groupExternalId]; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMGroupSelectorSerializer + (NSDictionary *)serialize:(DBTEAMGroupSelector *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isGroupId]) { jsonDict[@"group_id"] = valueObj.groupId; jsonDict[@".tag"] = @"group_id"; } else if ([valueObj isGroupExternalId]) { jsonDict[@"group_external_id"] = valueObj.groupExternalId; jsonDict[@".tag"] = @"group_external_id"; } else { @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Object not properly initialized. Tag has an unknown value." userInfo:nil]); } return jsonDict; } + (DBTEAMGroupSelector *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"group_id"]) { NSString *groupId = valueDict[@"group_id"]; return [[DBTEAMGroupSelector alloc] initWithGroupId:groupId]; } else if ([tag isEqualToString:@"group_external_id"]) { NSString *groupExternalId = valueDict[@"group_external_id"]; return [[DBTEAMGroupSelector alloc] initWithGroupExternalId:groupExternalId]; } 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 "DBTEAMCOMMONGroupManagementType.h" #import "DBTEAMGroupSelector.h" #import "DBTEAMGroupUpdateArgs.h" #import "DBTEAMIncludeMembersArg.h" #pragma mark - API Object @implementation DBTEAMGroupUpdateArgs #pragma mark - Constructors - (instancetype)initWithGroup:(DBTEAMGroupSelector *)group returnMembers:(NSNumber *)returnMembers dNewGroupName:(NSString *)dNewGroupName dNewGroupExternalId:(NSString *)dNewGroupExternalId dNewGroupManagementType:(DBTEAMCOMMONGroupManagementType *)dNewGroupManagementType { [DBStoneValidators nonnullValidator:nil](group); self = [super initWithReturnMembers:returnMembers]; if (self) { _group = group; _dNewGroupName = dNewGroupName; _dNewGroupExternalId = dNewGroupExternalId; _dNewGroupManagementType = dNewGroupManagementType; } return self; } - (instancetype)initWithGroup:(DBTEAMGroupSelector *)group { return [self initWithGroup:group returnMembers:nil dNewGroupName:nil dNewGroupExternalId:nil dNewGroupManagementType:nil]; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMGroupUpdateArgsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMGroupUpdateArgsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMGroupUpdateArgsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.group hash]; result = prime * result + [self.returnMembers hash]; if (self.dNewGroupName != nil) { result = prime * result + [self.dNewGroupName hash]; } if (self.dNewGroupExternalId != nil) { result = prime * result + [self.dNewGroupExternalId hash]; } if (self.dNewGroupManagementType != nil) { result = prime * result + [self.dNewGroupManagementType hash]; } return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToGroupUpdateArgs:other]; } - (BOOL)isEqualToGroupUpdateArgs:(DBTEAMGroupUpdateArgs *)aGroupUpdateArgs { if (self == aGroupUpdateArgs) { return YES; } if (![self.group isEqual:aGroupUpdateArgs.group]) { return NO; } if (![self.returnMembers isEqual:aGroupUpdateArgs.returnMembers]) { return NO; } if (self.dNewGroupName) { if (![self.dNewGroupName isEqual:aGroupUpdateArgs.dNewGroupName]) { return NO; } } if (self.dNewGroupExternalId) { if (![self.dNewGroupExternalId isEqual:aGroupUpdateArgs.dNewGroupExternalId]) { return NO; } } if (self.dNewGroupManagementType) { if (![self.dNewGroupManagementType isEqual:aGroupUpdateArgs.dNewGroupManagementType]) { return NO; } } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMGroupUpdateArgsSerializer + (NSDictionary *)serialize:(DBTEAMGroupUpdateArgs *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"group"] = [DBTEAMGroupSelectorSerializer serialize:valueObj.group]; jsonDict[@"return_members"] = valueObj.returnMembers; if (valueObj.dNewGroupName) { jsonDict[@"new_group_name"] = valueObj.dNewGroupName; } if (valueObj.dNewGroupExternalId) { jsonDict[@"new_group_external_id"] = valueObj.dNewGroupExternalId; } if (valueObj.dNewGroupManagementType) { jsonDict[@"new_group_management_type"] = [DBTEAMCOMMONGroupManagementTypeSerializer serialize:valueObj.dNewGroupManagementType]; } return jsonDict; } + (DBTEAMGroupUpdateArgs *)deserialize:(NSDictionary *)valueDict { DBTEAMGroupSelector *group = [DBTEAMGroupSelectorSerializer deserialize:valueDict[@"group"]]; NSNumber *returnMembers = valueDict[@"return_members"] ?: @YES; NSString *dNewGroupName = valueDict[@"new_group_name"] ?: nil; NSString *dNewGroupExternalId = valueDict[@"new_group_external_id"] ?: nil; DBTEAMCOMMONGroupManagementType *dNewGroupManagementType = valueDict[@"new_group_management_type"] ? [DBTEAMCOMMONGroupManagementTypeSerializer deserialize:valueDict[@"new_group_management_type"]] : nil; return [[DBTEAMGroupUpdateArgs alloc] initWithGroup:group returnMembers:returnMembers dNewGroupName:dNewGroupName dNewGroupExternalId:dNewGroupExternalId dNewGroupManagementType:dNewGroupManagementType]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMGroupSelectorWithTeamGroupError.h" #import "DBTEAMGroupUpdateError.h" #pragma mark - API Object @implementation DBTEAMGroupUpdateError #pragma mark - Constructors - (instancetype)initWithGroupNotFound { self = [super init]; if (self) { _tag = DBTEAMGroupUpdateErrorGroupNotFound; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBTEAMGroupUpdateErrorOther; } return self; } - (instancetype)initWithSystemManagedGroupDisallowed { self = [super init]; if (self) { _tag = DBTEAMGroupUpdateErrorSystemManagedGroupDisallowed; } return self; } - (instancetype)initWithGroupNameAlreadyUsed { self = [super init]; if (self) { _tag = DBTEAMGroupUpdateErrorGroupNameAlreadyUsed; } return self; } - (instancetype)initWithGroupNameInvalid { self = [super init]; if (self) { _tag = DBTEAMGroupUpdateErrorGroupNameInvalid; } return self; } - (instancetype)initWithExternalIdAlreadyInUse { self = [super init]; if (self) { _tag = DBTEAMGroupUpdateErrorExternalIdAlreadyInUse; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isGroupNotFound { return _tag == DBTEAMGroupUpdateErrorGroupNotFound; } - (BOOL)isOther { return _tag == DBTEAMGroupUpdateErrorOther; } - (BOOL)isSystemManagedGroupDisallowed { return _tag == DBTEAMGroupUpdateErrorSystemManagedGroupDisallowed; } - (BOOL)isGroupNameAlreadyUsed { return _tag == DBTEAMGroupUpdateErrorGroupNameAlreadyUsed; } - (BOOL)isGroupNameInvalid { return _tag == DBTEAMGroupUpdateErrorGroupNameInvalid; } - (BOOL)isExternalIdAlreadyInUse { return _tag == DBTEAMGroupUpdateErrorExternalIdAlreadyInUse; } - (NSString *)tagName { switch (_tag) { case DBTEAMGroupUpdateErrorGroupNotFound: return @"DBTEAMGroupUpdateErrorGroupNotFound"; case DBTEAMGroupUpdateErrorOther: return @"DBTEAMGroupUpdateErrorOther"; case DBTEAMGroupUpdateErrorSystemManagedGroupDisallowed: return @"DBTEAMGroupUpdateErrorSystemManagedGroupDisallowed"; case DBTEAMGroupUpdateErrorGroupNameAlreadyUsed: return @"DBTEAMGroupUpdateErrorGroupNameAlreadyUsed"; case DBTEAMGroupUpdateErrorGroupNameInvalid: return @"DBTEAMGroupUpdateErrorGroupNameInvalid"; case DBTEAMGroupUpdateErrorExternalIdAlreadyInUse: return @"DBTEAMGroupUpdateErrorExternalIdAlreadyInUse"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMGroupUpdateErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMGroupUpdateErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMGroupUpdateErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToGroupUpdateError:other]; } - (BOOL)isEqualToGroupUpdateError:(DBTEAMGroupUpdateError *)aGroupUpdateError { if (self == aGroupUpdateError) { return YES; } if (self.tag != aGroupUpdateError.tag) { return NO; } switch (_tag) { case DBTEAMGroupUpdateErrorGroupNotFound: return [[self tagName] isEqual:[aGroupUpdateError tagName]]; case DBTEAMGroupUpdateErrorOther: return [[self tagName] isEqual:[aGroupUpdateError tagName]]; case DBTEAMGroupUpdateErrorSystemManagedGroupDisallowed: return [[self tagName] isEqual:[aGroupUpdateError tagName]]; case DBTEAMGroupUpdateErrorGroupNameAlreadyUsed: return [[self tagName] isEqual:[aGroupUpdateError tagName]]; case DBTEAMGroupUpdateErrorGroupNameInvalid: return [[self tagName] isEqual:[aGroupUpdateError tagName]]; case DBTEAMGroupUpdateErrorExternalIdAlreadyInUse: return [[self tagName] isEqual:[aGroupUpdateError tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMGroupUpdateErrorSerializer + (NSDictionary *)serialize:(DBTEAMGroupUpdateError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isGroupNotFound]) { jsonDict[@".tag"] = @"group_not_found"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else if ([valueObj isSystemManagedGroupDisallowed]) { jsonDict[@".tag"] = @"system_managed_group_disallowed"; } else if ([valueObj isGroupNameAlreadyUsed]) { jsonDict[@".tag"] = @"group_name_already_used"; } else if ([valueObj isGroupNameInvalid]) { jsonDict[@".tag"] = @"group_name_invalid"; } else if ([valueObj isExternalIdAlreadyInUse]) { jsonDict[@".tag"] = @"external_id_already_in_use"; } else { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBTEAMGroupUpdateError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"group_not_found"]) { return [[DBTEAMGroupUpdateError alloc] initWithGroupNotFound]; } else if ([tag isEqualToString:@"other"]) { return [[DBTEAMGroupUpdateError alloc] initWithOther]; } else if ([tag isEqualToString:@"system_managed_group_disallowed"]) { return [[DBTEAMGroupUpdateError alloc] initWithSystemManagedGroupDisallowed]; } else if ([tag isEqualToString:@"group_name_already_used"]) { return [[DBTEAMGroupUpdateError alloc] initWithGroupNameAlreadyUsed]; } else if ([tag isEqualToString:@"group_name_invalid"]) { return [[DBTEAMGroupUpdateError alloc] initWithGroupNameInvalid]; } else if ([tag isEqualToString:@"external_id_already_in_use"]) { return [[DBTEAMGroupUpdateError alloc] initWithExternalIdAlreadyInUse]; } else { return [[DBTEAMGroupUpdateError alloc] initWithOther]; } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMGroupsGetInfoError.h" #pragma mark - API Object @implementation DBTEAMGroupsGetInfoError #pragma mark - Constructors - (instancetype)initWithGroupNotOnTeam { self = [super init]; if (self) { _tag = DBTEAMGroupsGetInfoErrorGroupNotOnTeam; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBTEAMGroupsGetInfoErrorOther; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isGroupNotOnTeam { return _tag == DBTEAMGroupsGetInfoErrorGroupNotOnTeam; } - (BOOL)isOther { return _tag == DBTEAMGroupsGetInfoErrorOther; } - (NSString *)tagName { switch (_tag) { case DBTEAMGroupsGetInfoErrorGroupNotOnTeam: return @"DBTEAMGroupsGetInfoErrorGroupNotOnTeam"; case DBTEAMGroupsGetInfoErrorOther: return @"DBTEAMGroupsGetInfoErrorOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMGroupsGetInfoErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMGroupsGetInfoErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMGroupsGetInfoErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 DBTEAMGroupsGetInfoErrorGroupNotOnTeam: result = prime * result + [[self tagName] hash]; break; case DBTEAMGroupsGetInfoErrorOther: 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 isEqualToGroupsGetInfoError:other]; } - (BOOL)isEqualToGroupsGetInfoError:(DBTEAMGroupsGetInfoError *)aGroupsGetInfoError { if (self == aGroupsGetInfoError) { return YES; } if (self.tag != aGroupsGetInfoError.tag) { return NO; } switch (_tag) { case DBTEAMGroupsGetInfoErrorGroupNotOnTeam: return [[self tagName] isEqual:[aGroupsGetInfoError tagName]]; case DBTEAMGroupsGetInfoErrorOther: return [[self tagName] isEqual:[aGroupsGetInfoError tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMGroupsGetInfoErrorSerializer + (NSDictionary *)serialize:(DBTEAMGroupsGetInfoError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isGroupNotOnTeam]) { jsonDict[@".tag"] = @"group_not_on_team"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBTEAMGroupsGetInfoError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"group_not_on_team"]) { return [[DBTEAMGroupsGetInfoError alloc] initWithGroupNotOnTeam]; } else if ([tag isEqualToString:@"other"]) { return [[DBTEAMGroupsGetInfoError alloc] initWithOther]; } else { return [[DBTEAMGroupsGetInfoError alloc] initWithOther]; } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMGroupFullInfo.h" #import "DBTEAMGroupsGetInfoItem.h" #pragma mark - API Object @implementation DBTEAMGroupsGetInfoItem @synthesize idNotFound = _idNotFound; @synthesize groupInfo = _groupInfo; #pragma mark - Constructors - (instancetype)initWithIdNotFound:(NSString *)idNotFound { self = [super init]; if (self) { _tag = DBTEAMGroupsGetInfoItemIdNotFound; _idNotFound = idNotFound; } return self; } - (instancetype)initWithGroupInfo:(DBTEAMGroupFullInfo *)groupInfo { self = [super init]; if (self) { _tag = DBTEAMGroupsGetInfoItemGroupInfo; _groupInfo = groupInfo; } return self; } #pragma mark - Instance field accessors - (NSString *)idNotFound { if (![self isIdNotFound]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMGroupsGetInfoItemIdNotFound, but was %@.", [self tagName]]; } return _idNotFound; } - (DBTEAMGroupFullInfo *)groupInfo { if (![self isGroupInfo]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMGroupsGetInfoItemGroupInfo, but was %@.", [self tagName]]; } return _groupInfo; } #pragma mark - Tag state methods - (BOOL)isIdNotFound { return _tag == DBTEAMGroupsGetInfoItemIdNotFound; } - (BOOL)isGroupInfo { return _tag == DBTEAMGroupsGetInfoItemGroupInfo; } - (NSString *)tagName { switch (_tag) { case DBTEAMGroupsGetInfoItemIdNotFound: return @"DBTEAMGroupsGetInfoItemIdNotFound"; case DBTEAMGroupsGetInfoItemGroupInfo: return @"DBTEAMGroupsGetInfoItemGroupInfo"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMGroupsGetInfoItemSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMGroupsGetInfoItemSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMGroupsGetInfoItemSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 DBTEAMGroupsGetInfoItemIdNotFound: result = prime * result + [self.idNotFound hash]; break; case DBTEAMGroupsGetInfoItemGroupInfo: result = prime * result + [self.groupInfo 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 isEqualToGroupsGetInfoItem:other]; } - (BOOL)isEqualToGroupsGetInfoItem:(DBTEAMGroupsGetInfoItem *)aGroupsGetInfoItem { if (self == aGroupsGetInfoItem) { return YES; } if (self.tag != aGroupsGetInfoItem.tag) { return NO; } switch (_tag) { case DBTEAMGroupsGetInfoItemIdNotFound: return [self.idNotFound isEqual:aGroupsGetInfoItem.idNotFound]; case DBTEAMGroupsGetInfoItemGroupInfo: return [self.groupInfo isEqual:aGroupsGetInfoItem.groupInfo]; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMGroupsGetInfoItemSerializer + (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 addEntriesFromDictionary:[DBTEAMGroupFullInfoSerializer serialize:valueObj.groupInfo]]; jsonDict[@".tag"] = @"group_info"; } else { @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Object not properly initialized. Tag has an unknown value." userInfo:nil]); } return jsonDict; } + (DBTEAMGroupsGetInfoItem *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"id_not_found"]) { NSString *idNotFound = valueDict[@"id_not_found"]; return [[DBTEAMGroupsGetInfoItem alloc] initWithIdNotFound:idNotFound]; } else if ([tag isEqualToString:@"group_info"]) { DBTEAMGroupFullInfo *groupInfo = [DBTEAMGroupFullInfoSerializer deserialize:valueDict]; return [[DBTEAMGroupsGetInfoItem alloc] initWithGroupInfo:groupInfo]; } 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 "DBTEAMGroupsListArg.h" #pragma mark - API Object @implementation DBTEAMGroupsListArg #pragma mark - Constructors - (instancetype)initWithLimit:(NSNumber *)limit { self = [super init]; if (self) { _limit = limit ?: @(1000); } return self; } - (instancetype)initDefault { return [self initWithLimit:nil]; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMGroupsListArgSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMGroupsListArgSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMGroupsListArgSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToGroupsListArg:other]; } - (BOOL)isEqualToGroupsListArg:(DBTEAMGroupsListArg *)aGroupsListArg { if (self == aGroupsListArg) { return YES; } if (![self.limit isEqual:aGroupsListArg.limit]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMGroupsListArgSerializer + (NSDictionary *)serialize:(DBTEAMGroupsListArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"limit"] = valueObj.limit; return jsonDict; } + (DBTEAMGroupsListArg *)deserialize:(NSDictionary *)valueDict { NSNumber *limit = valueDict[@"limit"] ?: @(1000); return [[DBTEAMGroupsListArg alloc] initWithLimit:limit]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMGroupsListContinueArg.h" #pragma mark - API Object @implementation DBTEAMGroupsListContinueArg #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 [DBTEAMGroupsListContinueArgSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMGroupsListContinueArgSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMGroupsListContinueArgSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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 isEqualToGroupsListContinueArg:other]; } - (BOOL)isEqualToGroupsListContinueArg:(DBTEAMGroupsListContinueArg *)aGroupsListContinueArg { if (self == aGroupsListContinueArg) { return YES; } if (![self.cursor isEqual:aGroupsListContinueArg.cursor]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMGroupsListContinueArgSerializer + (NSDictionary *)serialize:(DBTEAMGroupsListContinueArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"cursor"] = valueObj.cursor; return jsonDict; } + (DBTEAMGroupsListContinueArg *)deserialize:(NSDictionary *)valueDict { NSString *cursor = valueDict[@"cursor"]; return [[DBTEAMGroupsListContinueArg alloc] initWithCursor:cursor]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMGroupsListContinueError.h" #pragma mark - API Object @implementation DBTEAMGroupsListContinueError #pragma mark - Constructors - (instancetype)initWithInvalidCursor { self = [super init]; if (self) { _tag = DBTEAMGroupsListContinueErrorInvalidCursor; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBTEAMGroupsListContinueErrorOther; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isInvalidCursor { return _tag == DBTEAMGroupsListContinueErrorInvalidCursor; } - (BOOL)isOther { return _tag == DBTEAMGroupsListContinueErrorOther; } - (NSString *)tagName { switch (_tag) { case DBTEAMGroupsListContinueErrorInvalidCursor: return @"DBTEAMGroupsListContinueErrorInvalidCursor"; case DBTEAMGroupsListContinueErrorOther: return @"DBTEAMGroupsListContinueErrorOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMGroupsListContinueErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMGroupsListContinueErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMGroupsListContinueErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 DBTEAMGroupsListContinueErrorInvalidCursor: result = prime * result + [[self tagName] hash]; break; case DBTEAMGroupsListContinueErrorOther: 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 isEqualToGroupsListContinueError:other]; } - (BOOL)isEqualToGroupsListContinueError:(DBTEAMGroupsListContinueError *)aGroupsListContinueError { if (self == aGroupsListContinueError) { return YES; } if (self.tag != aGroupsListContinueError.tag) { return NO; } switch (_tag) { case DBTEAMGroupsListContinueErrorInvalidCursor: return [[self tagName] isEqual:[aGroupsListContinueError tagName]]; case DBTEAMGroupsListContinueErrorOther: return [[self tagName] isEqual:[aGroupsListContinueError tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMGroupsListContinueErrorSerializer + (NSDictionary *)serialize:(DBTEAMGroupsListContinueError *)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; } + (DBTEAMGroupsListContinueError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"invalid_cursor"]) { return [[DBTEAMGroupsListContinueError alloc] initWithInvalidCursor]; } else if ([tag isEqualToString:@"other"]) { return [[DBTEAMGroupsListContinueError alloc] initWithOther]; } else { return [[DBTEAMGroupsListContinueError alloc] initWithOther]; } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMCOMMONGroupSummary.h" #import "DBTEAMGroupsListResult.h" #pragma mark - API Object @implementation DBTEAMGroupsListResult #pragma mark - Constructors - (instancetype)initWithGroups:(NSArray *)groups cursor:(NSString *)cursor hasMore:(NSNumber *)hasMore { [DBStoneValidators nonnullValidator:[DBStoneValidators arrayValidator:nil maxItems:nil itemValidator:[DBStoneValidators nonnullValidator:nil]]](groups); [DBStoneValidators nonnullValidator:nil](cursor); [DBStoneValidators nonnullValidator:nil](hasMore); self = [super init]; if (self) { _groups = groups; _cursor = cursor; _hasMore = hasMore; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMGroupsListResultSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMGroupsListResultSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMGroupsListResultSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.groups 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 isEqualToGroupsListResult:other]; } - (BOOL)isEqualToGroupsListResult:(DBTEAMGroupsListResult *)aGroupsListResult { if (self == aGroupsListResult) { return YES; } if (![self.groups isEqual:aGroupsListResult.groups]) { return NO; } if (![self.cursor isEqual:aGroupsListResult.cursor]) { return NO; } if (![self.hasMore isEqual:aGroupsListResult.hasMore]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMGroupsListResultSerializer + (NSDictionary *)serialize:(DBTEAMGroupsListResult *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"groups"] = [DBArraySerializer serialize:valueObj.groups withBlock:^id(id elem0) { return [DBTEAMCOMMONGroupSummarySerializer serialize:elem0]; }]; jsonDict[@"cursor"] = valueObj.cursor; jsonDict[@"has_more"] = valueObj.hasMore; return jsonDict; } + (DBTEAMGroupsListResult *)deserialize:(NSDictionary *)valueDict { NSArray *groups = [DBArraySerializer deserialize:valueDict[@"groups"] withBlock:^id(id elem0) { return [DBTEAMCOMMONGroupSummarySerializer deserialize:elem0]; }]; NSString *cursor = valueDict[@"cursor"]; NSNumber *hasMore = valueDict[@"has_more"]; return [[DBTEAMGroupsListResult alloc] initWithGroups:groups cursor:cursor hasMore:hasMore]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMGroupSelector.h" #import "DBTEAMGroupsMembersListArg.h" #pragma mark - API Object @implementation DBTEAMGroupsMembersListArg #pragma mark - Constructors - (instancetype)initWithGroup:(DBTEAMGroupSelector *)group limit:(NSNumber *)limit { [DBStoneValidators nonnullValidator:nil](group); self = [super init]; if (self) { _group = group; _limit = limit ?: @(1000); } return self; } - (instancetype)initWithGroup:(DBTEAMGroupSelector *)group { return [self initWithGroup:group limit:nil]; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMGroupsMembersListArgSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMGroupsMembersListArgSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMGroupsMembersListArgSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.group 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 isEqualToGroupsMembersListArg:other]; } - (BOOL)isEqualToGroupsMembersListArg:(DBTEAMGroupsMembersListArg *)aGroupsMembersListArg { if (self == aGroupsMembersListArg) { return YES; } if (![self.group isEqual:aGroupsMembersListArg.group]) { return NO; } if (![self.limit isEqual:aGroupsMembersListArg.limit]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMGroupsMembersListArgSerializer + (NSDictionary *)serialize:(DBTEAMGroupsMembersListArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"group"] = [DBTEAMGroupSelectorSerializer serialize:valueObj.group]; jsonDict[@"limit"] = valueObj.limit; return jsonDict; } + (DBTEAMGroupsMembersListArg *)deserialize:(NSDictionary *)valueDict { DBTEAMGroupSelector *group = [DBTEAMGroupSelectorSerializer deserialize:valueDict[@"group"]]; NSNumber *limit = valueDict[@"limit"] ?: @(1000); return [[DBTEAMGroupsMembersListArg alloc] initWithGroup:group limit:limit]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMGroupsMembersListContinueArg.h" #pragma mark - API Object @implementation DBTEAMGroupsMembersListContinueArg #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 [DBTEAMGroupsMembersListContinueArgSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMGroupsMembersListContinueArgSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMGroupsMembersListContinueArgSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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 isEqualToGroupsMembersListContinueArg:other]; } - (BOOL)isEqualToGroupsMembersListContinueArg:(DBTEAMGroupsMembersListContinueArg *)aGroupsMembersListContinueArg { if (self == aGroupsMembersListContinueArg) { return YES; } if (![self.cursor isEqual:aGroupsMembersListContinueArg.cursor]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMGroupsMembersListContinueArgSerializer + (NSDictionary *)serialize:(DBTEAMGroupsMembersListContinueArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"cursor"] = valueObj.cursor; return jsonDict; } + (DBTEAMGroupsMembersListContinueArg *)deserialize:(NSDictionary *)valueDict { NSString *cursor = valueDict[@"cursor"]; return [[DBTEAMGroupsMembersListContinueArg alloc] initWithCursor:cursor]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMGroupsMembersListContinueError.h" #pragma mark - API Object @implementation DBTEAMGroupsMembersListContinueError #pragma mark - Constructors - (instancetype)initWithInvalidCursor { self = [super init]; if (self) { _tag = DBTEAMGroupsMembersListContinueErrorInvalidCursor; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBTEAMGroupsMembersListContinueErrorOther; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isInvalidCursor { return _tag == DBTEAMGroupsMembersListContinueErrorInvalidCursor; } - (BOOL)isOther { return _tag == DBTEAMGroupsMembersListContinueErrorOther; } - (NSString *)tagName { switch (_tag) { case DBTEAMGroupsMembersListContinueErrorInvalidCursor: return @"DBTEAMGroupsMembersListContinueErrorInvalidCursor"; case DBTEAMGroupsMembersListContinueErrorOther: return @"DBTEAMGroupsMembersListContinueErrorOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMGroupsMembersListContinueErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMGroupsMembersListContinueErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMGroupsMembersListContinueErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 DBTEAMGroupsMembersListContinueErrorInvalidCursor: result = prime * result + [[self tagName] hash]; break; case DBTEAMGroupsMembersListContinueErrorOther: 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 isEqualToGroupsMembersListContinueError:other]; } - (BOOL)isEqualToGroupsMembersListContinueError: (DBTEAMGroupsMembersListContinueError *)aGroupsMembersListContinueError { if (self == aGroupsMembersListContinueError) { return YES; } if (self.tag != aGroupsMembersListContinueError.tag) { return NO; } switch (_tag) { case DBTEAMGroupsMembersListContinueErrorInvalidCursor: return [[self tagName] isEqual:[aGroupsMembersListContinueError tagName]]; case DBTEAMGroupsMembersListContinueErrorOther: return [[self tagName] isEqual:[aGroupsMembersListContinueError tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMGroupsMembersListContinueErrorSerializer + (NSDictionary *)serialize:(DBTEAMGroupsMembersListContinueError *)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; } + (DBTEAMGroupsMembersListContinueError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"invalid_cursor"]) { return [[DBTEAMGroupsMembersListContinueError alloc] initWithInvalidCursor]; } else if ([tag isEqualToString:@"other"]) { return [[DBTEAMGroupsMembersListContinueError alloc] initWithOther]; } else { return [[DBTEAMGroupsMembersListContinueError alloc] initWithOther]; } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMGroupMemberInfo.h" #import "DBTEAMGroupsMembersListResult.h" #pragma mark - API Object @implementation DBTEAMGroupsMembersListResult #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 [DBTEAMGroupsMembersListResultSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMGroupsMembersListResultSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMGroupsMembersListResultSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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 isEqualToGroupsMembersListResult:other]; } - (BOOL)isEqualToGroupsMembersListResult:(DBTEAMGroupsMembersListResult *)aGroupsMembersListResult { if (self == aGroupsMembersListResult) { return YES; } if (![self.members isEqual:aGroupsMembersListResult.members]) { return NO; } if (![self.cursor isEqual:aGroupsMembersListResult.cursor]) { return NO; } if (![self.hasMore isEqual:aGroupsMembersListResult.hasMore]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMGroupsMembersListResultSerializer + (NSDictionary *)serialize:(DBTEAMGroupsMembersListResult *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"members"] = [DBArraySerializer serialize:valueObj.members withBlock:^id(id elem0) { return [DBTEAMGroupMemberInfoSerializer serialize:elem0]; }]; jsonDict[@"cursor"] = valueObj.cursor; jsonDict[@"has_more"] = valueObj.hasMore; return jsonDict; } + (DBTEAMGroupsMembersListResult *)deserialize:(NSDictionary *)valueDict { NSArray *members = [DBArraySerializer deserialize:valueDict[@"members"] withBlock:^id(id elem0) { return [DBTEAMGroupMemberInfoSerializer deserialize:elem0]; }]; NSString *cursor = valueDict[@"cursor"]; NSNumber *hasMore = valueDict[@"has_more"]; return [[DBTEAMGroupsMembersListResult alloc] initWithMembers:members cursor:cursor hasMore:hasMore]; } @end #import "DBASYNCPollError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMGroupsPollError.h" #pragma mark - API Object @implementation DBTEAMGroupsPollError #pragma mark - Constructors - (instancetype)initWithInvalidAsyncJobId { self = [super init]; if (self) { _tag = DBTEAMGroupsPollErrorInvalidAsyncJobId; } return self; } - (instancetype)initWithInternalError { self = [super init]; if (self) { _tag = DBTEAMGroupsPollErrorInternalError; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBTEAMGroupsPollErrorOther; } return self; } - (instancetype)initWithAccessDenied { self = [super init]; if (self) { _tag = DBTEAMGroupsPollErrorAccessDenied; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isInvalidAsyncJobId { return _tag == DBTEAMGroupsPollErrorInvalidAsyncJobId; } - (BOOL)isInternalError { return _tag == DBTEAMGroupsPollErrorInternalError; } - (BOOL)isOther { return _tag == DBTEAMGroupsPollErrorOther; } - (BOOL)isAccessDenied { return _tag == DBTEAMGroupsPollErrorAccessDenied; } - (NSString *)tagName { switch (_tag) { case DBTEAMGroupsPollErrorInvalidAsyncJobId: return @"DBTEAMGroupsPollErrorInvalidAsyncJobId"; case DBTEAMGroupsPollErrorInternalError: return @"DBTEAMGroupsPollErrorInternalError"; case DBTEAMGroupsPollErrorOther: return @"DBTEAMGroupsPollErrorOther"; case DBTEAMGroupsPollErrorAccessDenied: return @"DBTEAMGroupsPollErrorAccessDenied"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMGroupsPollErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMGroupsPollErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMGroupsPollErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToGroupsPollError:other]; } - (BOOL)isEqualToGroupsPollError:(DBTEAMGroupsPollError *)aGroupsPollError { if (self == aGroupsPollError) { return YES; } if (self.tag != aGroupsPollError.tag) { return NO; } switch (_tag) { case DBTEAMGroupsPollErrorInvalidAsyncJobId: return [[self tagName] isEqual:[aGroupsPollError tagName]]; case DBTEAMGroupsPollErrorInternalError: return [[self tagName] isEqual:[aGroupsPollError tagName]]; case DBTEAMGroupsPollErrorOther: return [[self tagName] isEqual:[aGroupsPollError tagName]]; case DBTEAMGroupsPollErrorAccessDenied: return [[self tagName] isEqual:[aGroupsPollError tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMGroupsPollErrorSerializer + (NSDictionary *)serialize:(DBTEAMGroupsPollError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isInvalidAsyncJobId]) { jsonDict[@".tag"] = @"invalid_async_job_id"; } else if ([valueObj isInternalError]) { jsonDict[@".tag"] = @"internal_error"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else if ([valueObj isAccessDenied]) { jsonDict[@".tag"] = @"access_denied"; } else { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBTEAMGroupsPollError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"invalid_async_job_id"]) { return [[DBTEAMGroupsPollError alloc] initWithInvalidAsyncJobId]; } else if ([tag isEqualToString:@"internal_error"]) { return [[DBTEAMGroupsPollError alloc] initWithInternalError]; } else if ([tag isEqualToString:@"other"]) { return [[DBTEAMGroupsPollError alloc] initWithOther]; } else if ([tag isEqualToString:@"access_denied"]) { return [[DBTEAMGroupsPollError alloc] initWithAccessDenied]; } else { return [[DBTEAMGroupsPollError alloc] initWithOther]; } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMGroupsSelector.h" #pragma mark - API Object @implementation DBTEAMGroupsSelector @synthesize groupIds = _groupIds; @synthesize groupExternalIds = _groupExternalIds; #pragma mark - Constructors - (instancetype)initWithGroupIds:(NSArray *)groupIds { self = [super init]; if (self) { _tag = DBTEAMGroupsSelectorGroupIds; _groupIds = groupIds; } return self; } - (instancetype)initWithGroupExternalIds:(NSArray *)groupExternalIds { self = [super init]; if (self) { _tag = DBTEAMGroupsSelectorGroupExternalIds; _groupExternalIds = groupExternalIds; } return self; } #pragma mark - Instance field accessors - (NSArray *)groupIds { if (![self isGroupIds]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMGroupsSelectorGroupIds, but was %@.", [self tagName]]; } return _groupIds; } - (NSArray *)groupExternalIds { if (![self isGroupExternalIds]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMGroupsSelectorGroupExternalIds, but was %@.", [self tagName]]; } return _groupExternalIds; } #pragma mark - Tag state methods - (BOOL)isGroupIds { return _tag == DBTEAMGroupsSelectorGroupIds; } - (BOOL)isGroupExternalIds { return _tag == DBTEAMGroupsSelectorGroupExternalIds; } - (NSString *)tagName { switch (_tag) { case DBTEAMGroupsSelectorGroupIds: return @"DBTEAMGroupsSelectorGroupIds"; case DBTEAMGroupsSelectorGroupExternalIds: return @"DBTEAMGroupsSelectorGroupExternalIds"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMGroupsSelectorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMGroupsSelectorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMGroupsSelectorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 DBTEAMGroupsSelectorGroupIds: result = prime * result + [self.groupIds hash]; break; case DBTEAMGroupsSelectorGroupExternalIds: result = prime * result + [self.groupExternalIds 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 isEqualToGroupsSelector:other]; } - (BOOL)isEqualToGroupsSelector:(DBTEAMGroupsSelector *)aGroupsSelector { if (self == aGroupsSelector) { return YES; } if (self.tag != aGroupsSelector.tag) { return NO; } switch (_tag) { case DBTEAMGroupsSelectorGroupIds: return [self.groupIds isEqual:aGroupsSelector.groupIds]; case DBTEAMGroupsSelectorGroupExternalIds: return [self.groupExternalIds isEqual:aGroupsSelector.groupExternalIds]; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMGroupsSelectorSerializer + (NSDictionary *)serialize:(DBTEAMGroupsSelector *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isGroupIds]) { jsonDict[@"group_ids"] = [DBArraySerializer serialize:valueObj.groupIds withBlock:^id(id elem0) { return elem0; }]; jsonDict[@".tag"] = @"group_ids"; } else if ([valueObj isGroupExternalIds]) { jsonDict[@"group_external_ids"] = [DBArraySerializer serialize:valueObj.groupExternalIds withBlock:^id(id elem0) { return elem0; }]; jsonDict[@".tag"] = @"group_external_ids"; } else { @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Object not properly initialized. Tag has an unknown value." userInfo:nil]); } return jsonDict; } + (DBTEAMGroupsSelector *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"group_ids"]) { NSArray *groupIds = [DBArraySerializer deserialize:valueDict[@"group_ids"] withBlock:^id(id elem0) { return elem0; }]; return [[DBTEAMGroupsSelector alloc] initWithGroupIds:groupIds]; } else if ([tag isEqualToString:@"group_external_ids"]) { NSArray *groupExternalIds = [DBArraySerializer deserialize:valueDict[@"group_external_ids"] withBlock:^id(id elem0) { return elem0; }]; return [[DBTEAMGroupsSelector alloc] initWithGroupExternalIds:groupExternalIds]; } 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 "DBTEAMHasTeamFileEventsValue.h" #pragma mark - API Object @implementation DBTEAMHasTeamFileEventsValue @synthesize enabled = _enabled; #pragma mark - Constructors - (instancetype)initWithEnabled:(NSNumber *)enabled { self = [super init]; if (self) { _tag = DBTEAMHasTeamFileEventsValueEnabled; _enabled = enabled; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBTEAMHasTeamFileEventsValueOther; } return self; } #pragma mark - Instance field accessors - (NSNumber *)enabled { if (![self isEnabled]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMHasTeamFileEventsValueEnabled, but was %@.", [self tagName]]; } return _enabled; } #pragma mark - Tag state methods - (BOOL)isEnabled { return _tag == DBTEAMHasTeamFileEventsValueEnabled; } - (BOOL)isOther { return _tag == DBTEAMHasTeamFileEventsValueOther; } - (NSString *)tagName { switch (_tag) { case DBTEAMHasTeamFileEventsValueEnabled: return @"DBTEAMHasTeamFileEventsValueEnabled"; case DBTEAMHasTeamFileEventsValueOther: return @"DBTEAMHasTeamFileEventsValueOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMHasTeamFileEventsValueSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMHasTeamFileEventsValueSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMHasTeamFileEventsValueSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 DBTEAMHasTeamFileEventsValueEnabled: result = prime * result + [self.enabled hash]; break; case DBTEAMHasTeamFileEventsValueOther: 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 isEqualToHasTeamFileEventsValue:other]; } - (BOOL)isEqualToHasTeamFileEventsValue:(DBTEAMHasTeamFileEventsValue *)aHasTeamFileEventsValue { if (self == aHasTeamFileEventsValue) { return YES; } if (self.tag != aHasTeamFileEventsValue.tag) { return NO; } switch (_tag) { case DBTEAMHasTeamFileEventsValueEnabled: return [self.enabled isEqual:aHasTeamFileEventsValue.enabled]; case DBTEAMHasTeamFileEventsValueOther: return [[self tagName] isEqual:[aHasTeamFileEventsValue tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMHasTeamFileEventsValueSerializer + (NSDictionary *)serialize:(DBTEAMHasTeamFileEventsValue *)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; } + (DBTEAMHasTeamFileEventsValue *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"enabled"]) { NSNumber *enabled = valueDict[@"enabled"]; return [[DBTEAMHasTeamFileEventsValue alloc] initWithEnabled:enabled]; } else if ([tag isEqualToString:@"other"]) { return [[DBTEAMHasTeamFileEventsValue alloc] initWithOther]; } else { return [[DBTEAMHasTeamFileEventsValue alloc] initWithOther]; } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMHasTeamSelectiveSyncValue.h" #pragma mark - API Object @implementation DBTEAMHasTeamSelectiveSyncValue @synthesize hasTeamSelectiveSync = _hasTeamSelectiveSync; #pragma mark - Constructors - (instancetype)initWithHasTeamSelectiveSync:(NSNumber *)hasTeamSelectiveSync { self = [super init]; if (self) { _tag = DBTEAMHasTeamSelectiveSyncValueHasTeamSelectiveSync; _hasTeamSelectiveSync = hasTeamSelectiveSync; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBTEAMHasTeamSelectiveSyncValueOther; } return self; } #pragma mark - Instance field accessors - (NSNumber *)hasTeamSelectiveSync { if (![self isHasTeamSelectiveSync]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMHasTeamSelectiveSyncValueHasTeamSelectiveSync, but was %@.", [self tagName]]; } return _hasTeamSelectiveSync; } #pragma mark - Tag state methods - (BOOL)isHasTeamSelectiveSync { return _tag == DBTEAMHasTeamSelectiveSyncValueHasTeamSelectiveSync; } - (BOOL)isOther { return _tag == DBTEAMHasTeamSelectiveSyncValueOther; } - (NSString *)tagName { switch (_tag) { case DBTEAMHasTeamSelectiveSyncValueHasTeamSelectiveSync: return @"DBTEAMHasTeamSelectiveSyncValueHasTeamSelectiveSync"; case DBTEAMHasTeamSelectiveSyncValueOther: return @"DBTEAMHasTeamSelectiveSyncValueOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMHasTeamSelectiveSyncValueSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMHasTeamSelectiveSyncValueSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMHasTeamSelectiveSyncValueSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 DBTEAMHasTeamSelectiveSyncValueHasTeamSelectiveSync: result = prime * result + [self.hasTeamSelectiveSync hash]; break; case DBTEAMHasTeamSelectiveSyncValueOther: 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 isEqualToHasTeamSelectiveSyncValue:other]; } - (BOOL)isEqualToHasTeamSelectiveSyncValue:(DBTEAMHasTeamSelectiveSyncValue *)aHasTeamSelectiveSyncValue { if (self == aHasTeamSelectiveSyncValue) { return YES; } if (self.tag != aHasTeamSelectiveSyncValue.tag) { return NO; } switch (_tag) { case DBTEAMHasTeamSelectiveSyncValueHasTeamSelectiveSync: return [self.hasTeamSelectiveSync isEqual:aHasTeamSelectiveSyncValue.hasTeamSelectiveSync]; case DBTEAMHasTeamSelectiveSyncValueOther: return [[self tagName] isEqual:[aHasTeamSelectiveSyncValue tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMHasTeamSelectiveSyncValueSerializer + (NSDictionary *)serialize:(DBTEAMHasTeamSelectiveSyncValue *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; 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; } + (DBTEAMHasTeamSelectiveSyncValue *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; 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 [[DBTEAMHasTeamSelectiveSyncValue alloc] initWithOther]; } else { return [[DBTEAMHasTeamSelectiveSyncValue alloc] initWithOther]; } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMHasTeamSharedDropboxValue.h" #pragma mark - API Object @implementation DBTEAMHasTeamSharedDropboxValue @synthesize hasTeamSharedDropbox = _hasTeamSharedDropbox; #pragma mark - Constructors - (instancetype)initWithHasTeamSharedDropbox:(NSNumber *)hasTeamSharedDropbox { self = [super init]; if (self) { _tag = DBTEAMHasTeamSharedDropboxValueHasTeamSharedDropbox; _hasTeamSharedDropbox = hasTeamSharedDropbox; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _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 [DBTEAMHasTeamSharedDropboxValueSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMHasTeamSharedDropboxValueSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMHasTeamSharedDropboxValueSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 DBTEAMHasTeamSharedDropboxValueHasTeamSharedDropbox: result = prime * result + [self.hasTeamSharedDropbox hash]; break; case DBTEAMHasTeamSharedDropboxValueOther: 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 isEqualToHasTeamSharedDropboxValue:other]; } - (BOOL)isEqualToHasTeamSharedDropboxValue:(DBTEAMHasTeamSharedDropboxValue *)aHasTeamSharedDropboxValue { if (self == aHasTeamSharedDropboxValue) { return YES; } 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; } @end #pragma mark - Serializer Object @implementation DBTEAMHasTeamSharedDropboxValueSerializer + (NSDictionary *)serialize:(DBTEAMHasTeamSharedDropboxValue *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; 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; } + (DBTEAMHasTeamSharedDropboxValue *)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]; } else if ([tag isEqualToString:@"other"]) { return [[DBTEAMHasTeamSharedDropboxValue alloc] initWithOther]; } else { return [[DBTEAMHasTeamSharedDropboxValue alloc] initWithOther]; } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLegalHoldHeldRevisionMetadata.h" #import "DBTEAMTeamMemberStatus.h" #pragma mark - API Object @implementation DBTEAMLegalHoldHeldRevisionMetadata #pragma mark - Constructors - (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); self = [super init]; if (self) { _dNewFilename = dNewFilename; _originalRevisionId = originalRevisionId; _originalFilePath = originalFilePath; _serverModified = serverModified; _authorMemberId = authorMemberId; _authorMemberStatus = authorMemberStatus; _authorEmail = authorEmail; _fileType = fileType; _size = size; _contentHash = contentHash; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLegalHoldHeldRevisionMetadataSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLegalHoldHeldRevisionMetadataSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLegalHoldHeldRevisionMetadataSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToLegalHoldHeldRevisionMetadata:other]; } - (BOOL)isEqualToLegalHoldHeldRevisionMetadata:(DBTEAMLegalHoldHeldRevisionMetadata *)aLegalHoldHeldRevisionMetadata { if (self == aLegalHoldHeldRevisionMetadata) { return YES; } if (![self.dNewFilename isEqual:aLegalHoldHeldRevisionMetadata.dNewFilename]) { return NO; } 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; } @end #pragma mark - Serializer Object @implementation DBTEAMLegalHoldHeldRevisionMetadataSerializer + (NSDictionary *)serialize:(DBTEAMLegalHoldHeldRevisionMetadata *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; 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 "DBTEAMLegalHoldPolicy.h" #import "DBTEAMLegalHoldStatus.h" #import "DBTEAMMembersInfo.h" #pragma mark - API Object @implementation DBTEAMLegalHoldPolicy #pragma mark - Constructors - (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 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) { _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 [DBTEAMLegalHoldPolicySerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLegalHoldPolicySerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLegalHoldPolicySerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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.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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToLegalHoldPolicy:other]; } - (BOOL)isEqualToLegalHoldPolicy:(DBTEAMLegalHoldPolicy *)aLegalHoldPolicy { if (self == aLegalHoldPolicy) { return YES; } 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; } @end #pragma mark - Serializer Object @implementation DBTEAMLegalHoldPolicySerializer + (NSDictionary *)serialize:(DBTEAMLegalHoldPolicy *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; 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; } + (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 [[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 "DBTEAMLegalHoldStatus.h" #pragma mark - API Object @implementation DBTEAMLegalHoldStatus #pragma mark - Constructors - (instancetype)initWithActive { self = [super init]; if (self) { _tag = DBTEAMLegalHoldStatusActive; } return self; } - (instancetype)initWithReleased { self = [super init]; if (self) { _tag = DBTEAMLegalHoldStatusReleased; } return self; } - (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 [DBTEAMLegalHoldStatusSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLegalHoldStatusSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLegalHoldStatusSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToLegalHoldStatus:other]; } - (BOOL)isEqualToLegalHoldStatus:(DBTEAMLegalHoldStatus *)aLegalHoldStatus { if (self == aLegalHoldStatus) { return YES; } if (self.tag != aLegalHoldStatus.tag) { 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; } @end #pragma mark - Serializer Object @implementation DBTEAMLegalHoldStatusSerializer + (NSDictionary *)serialize:(DBTEAMLegalHoldStatus *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; 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; } + (DBTEAMLegalHoldStatus *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; 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 "DBTEAMLegalHoldsError.h" #pragma mark - API Object @implementation DBTEAMLegalHoldsError #pragma mark - Constructors - (instancetype)initWithUnknownLegalHoldError { self = [super init]; if (self) { _tag = DBTEAMLegalHoldsErrorUnknownLegalHoldError; } return self; } - (instancetype)initWithInsufficientPermissions { self = [super init]; if (self) { _tag = DBTEAMLegalHoldsErrorInsufficientPermissions; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBTEAMLegalHoldsErrorOther; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isUnknownLegalHoldError { return _tag == DBTEAMLegalHoldsErrorUnknownLegalHoldError; } - (BOOL)isInsufficientPermissions { return _tag == DBTEAMLegalHoldsErrorInsufficientPermissions; } - (BOOL)isOther { return _tag == DBTEAMLegalHoldsErrorOther; } - (NSString *)tagName { switch (_tag) { case DBTEAMLegalHoldsErrorUnknownLegalHoldError: return @"DBTEAMLegalHoldsErrorUnknownLegalHoldError"; case DBTEAMLegalHoldsErrorInsufficientPermissions: return @"DBTEAMLegalHoldsErrorInsufficientPermissions"; case DBTEAMLegalHoldsErrorOther: return @"DBTEAMLegalHoldsErrorOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLegalHoldsErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLegalHoldsErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLegalHoldsErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 DBTEAMLegalHoldsErrorUnknownLegalHoldError: result = prime * result + [[self tagName] hash]; break; case DBTEAMLegalHoldsErrorInsufficientPermissions: result = prime * result + [[self tagName] hash]; break; case DBTEAMLegalHoldsErrorOther: 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 isEqualToLegalHoldsError:other]; } - (BOOL)isEqualToLegalHoldsError:(DBTEAMLegalHoldsError *)aLegalHoldsError { if (self == aLegalHoldsError) { return YES; } if (self.tag != aLegalHoldsError.tag) { return NO; } switch (_tag) { 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; } @end #pragma mark - Serializer Object @implementation DBTEAMLegalHoldsErrorSerializer + (NSDictionary *)serialize:(DBTEAMLegalHoldsError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; 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; } + (DBTEAMLegalHoldsError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; 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 [[DBTEAMLegalHoldsError alloc] initWithOther]; } else { return [[DBTEAMLegalHoldsError alloc] initWithOther]; } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLegalHoldsGetPolicyArg.h" #pragma mark - API Object @implementation DBTEAMLegalHoldsGetPolicyArg #pragma mark - Constructors - (instancetype)initWithId_:(NSString *)id_ { [DBStoneValidators nonnullValidator:[DBStoneValidators stringValidator:nil maxLength:nil pattern:@"^pid_dbhid:.+"]](id_); self = [super init]; if (self) { _id_ = id_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLegalHoldsGetPolicyArgSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLegalHoldsGetPolicyArgSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLegalHoldsGetPolicyArgSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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 isEqualToLegalHoldsGetPolicyArg:other]; } - (BOOL)isEqualToLegalHoldsGetPolicyArg:(DBTEAMLegalHoldsGetPolicyArg *)aLegalHoldsGetPolicyArg { if (self == aLegalHoldsGetPolicyArg) { return YES; } if (![self.id_ isEqual:aLegalHoldsGetPolicyArg.id_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLegalHoldsGetPolicyArgSerializer + (NSDictionary *)serialize:(DBTEAMLegalHoldsGetPolicyArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"id"] = valueObj.id_; return jsonDict; } + (DBTEAMLegalHoldsGetPolicyArg *)deserialize:(NSDictionary *)valueDict { NSString *id_ = valueDict[@"id"]; return [[DBTEAMLegalHoldsGetPolicyArg alloc] initWithId_:id_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLegalHoldsError.h" #import "DBTEAMLegalHoldsGetPolicyError.h" #pragma mark - API Object @implementation DBTEAMLegalHoldsGetPolicyError #pragma mark - Constructors - (instancetype)initWithUnknownLegalHoldError { self = [super init]; if (self) { _tag = DBTEAMLegalHoldsGetPolicyErrorUnknownLegalHoldError; } return self; } - (instancetype)initWithInsufficientPermissions { self = [super init]; if (self) { _tag = DBTEAMLegalHoldsGetPolicyErrorInsufficientPermissions; } return self; } - (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 [DBTEAMLegalHoldsGetPolicyErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLegalHoldsGetPolicyErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLegalHoldsGetPolicyErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToLegalHoldsGetPolicyError:other]; } - (BOOL)isEqualToLegalHoldsGetPolicyError:(DBTEAMLegalHoldsGetPolicyError *)aLegalHoldsGetPolicyError { if (self == aLegalHoldsGetPolicyError) { return YES; } 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; } @end #pragma mark - Serializer Object @implementation DBTEAMLegalHoldsGetPolicyErrorSerializer + (NSDictionary *)serialize:(DBTEAMLegalHoldsGetPolicyError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; 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; } + (DBTEAMLegalHoldsGetPolicyError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; 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 "DBTEAMLegalHoldHeldRevisionMetadata.h" #import "DBTEAMLegalHoldsListHeldRevisionResult.h" #pragma mark - API Object @implementation DBTEAMLegalHoldsListHeldRevisionResult #pragma mark - Constructors - (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); self = [super init]; if (self) { _entries = entries; _cursor = cursor; _hasMore = hasMore; } return self; } - (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 [DBTEAMLegalHoldsListHeldRevisionResultSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLegalHoldsListHeldRevisionResultSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLegalHoldsListHeldRevisionResultSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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.hasMore hash]; if (self.cursor != nil) { 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 isEqualToLegalHoldsListHeldRevisionResult:other]; } - (BOOL)isEqualToLegalHoldsListHeldRevisionResult: (DBTEAMLegalHoldsListHeldRevisionResult *)aLegalHoldsListHeldRevisionResult { if (self == aLegalHoldsListHeldRevisionResult) { return YES; } if (![self.entries isEqual:aLegalHoldsListHeldRevisionResult.entries]) { return NO; } if (![self.hasMore isEqual:aLegalHoldsListHeldRevisionResult.hasMore]) { return NO; } if (self.cursor) { if (![self.cursor isEqual:aLegalHoldsListHeldRevisionResult.cursor]) { return NO; } } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLegalHoldsListHeldRevisionResultSerializer + (NSDictionary *)serialize:(DBTEAMLegalHoldsListHeldRevisionResult *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; 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; } + (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; return [[DBTEAMLegalHoldsListHeldRevisionResult alloc] initWithEntries:entries hasMore:hasMore cursor:cursor]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLegalHoldsListHeldRevisionsArg.h" #pragma mark - API Object @implementation DBTEAMLegalHoldsListHeldRevisionsArg #pragma mark - Constructors - (instancetype)initWithId_:(NSString *)id_ { [DBStoneValidators nonnullValidator:[DBStoneValidators stringValidator:nil maxLength:nil pattern:@"^pid_dbhid:.+"]](id_); self = [super init]; if (self) { _id_ = id_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLegalHoldsListHeldRevisionsArgSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLegalHoldsListHeldRevisionsArgSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLegalHoldsListHeldRevisionsArgSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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 isEqualToLegalHoldsListHeldRevisionsArg:other]; } - (BOOL)isEqualToLegalHoldsListHeldRevisionsArg: (DBTEAMLegalHoldsListHeldRevisionsArg *)aLegalHoldsListHeldRevisionsArg { if (self == aLegalHoldsListHeldRevisionsArg) { return YES; } if (![self.id_ isEqual:aLegalHoldsListHeldRevisionsArg.id_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLegalHoldsListHeldRevisionsArgSerializer + (NSDictionary *)serialize:(DBTEAMLegalHoldsListHeldRevisionsArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"id"] = valueObj.id_; return jsonDict; } + (DBTEAMLegalHoldsListHeldRevisionsArg *)deserialize:(NSDictionary *)valueDict { NSString *id_ = valueDict[@"id"]; return [[DBTEAMLegalHoldsListHeldRevisionsArg alloc] initWithId_:id_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLegalHoldsListHeldRevisionsContinueArg.h" #pragma mark - API Object @implementation DBTEAMLegalHoldsListHeldRevisionsContinueArg #pragma mark - Constructors - (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; } return self; } - (instancetype)initWithId_:(NSString *)id_ { return [self initWithId_:id_ cursor:nil]; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLegalHoldsListHeldRevisionsContinueArgSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLegalHoldsListHeldRevisionsContinueArgSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLegalHoldsListHeldRevisionsContinueArgSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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]; if (self.cursor != nil) { 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 isEqualToLegalHoldsListHeldRevisionsContinueArg:other]; } - (BOOL)isEqualToLegalHoldsListHeldRevisionsContinueArg: (DBTEAMLegalHoldsListHeldRevisionsContinueArg *)aLegalHoldsListHeldRevisionsContinueArg { if (self == aLegalHoldsListHeldRevisionsContinueArg) { return YES; } if (![self.id_ isEqual:aLegalHoldsListHeldRevisionsContinueArg.id_]) { return NO; } if (self.cursor) { if (![self.cursor isEqual:aLegalHoldsListHeldRevisionsContinueArg.cursor]) { return NO; } } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLegalHoldsListHeldRevisionsContinueArgSerializer + (NSDictionary *)serialize:(DBTEAMLegalHoldsListHeldRevisionsContinueArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"id"] = valueObj.id_; if (valueObj.cursor) { jsonDict[@"cursor"] = valueObj.cursor; } return jsonDict; } + (DBTEAMLegalHoldsListHeldRevisionsContinueArg *)deserialize:(NSDictionary *)valueDict { NSString *id_ = valueDict[@"id"]; NSString *cursor = valueDict[@"cursor"] ?: nil; return [[DBTEAMLegalHoldsListHeldRevisionsContinueArg alloc] initWithId_:id_ cursor:cursor]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLegalHoldsListHeldRevisionsContinueError.h" #pragma mark - API Object @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 = DBTEAMLegalHoldsListHeldRevisionsContinueErrorReset; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBTEAMLegalHoldsListHeldRevisionsContinueErrorOther; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isUnknownLegalHoldError { return _tag == DBTEAMLegalHoldsListHeldRevisionsContinueErrorUnknownLegalHoldError; } - (BOOL)isTransientError { return _tag == DBTEAMLegalHoldsListHeldRevisionsContinueErrorTransientError; } - (BOOL)isReset { return _tag == DBTEAMLegalHoldsListHeldRevisionsContinueErrorReset; } - (BOOL)isOther { return _tag == DBTEAMLegalHoldsListHeldRevisionsContinueErrorOther; } - (NSString *)tagName { switch (_tag) { 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]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLegalHoldsListHeldRevisionsContinueErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLegalHoldsListHeldRevisionsContinueErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLegalHoldsListHeldRevisionsContinueErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 DBTEAMLegalHoldsListHeldRevisionsContinueErrorUnknownLegalHoldError: result = prime * result + [[self tagName] hash]; 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToLegalHoldsListHeldRevisionsContinueError:other]; } - (BOOL)isEqualToLegalHoldsListHeldRevisionsContinueError: (DBTEAMLegalHoldsListHeldRevisionsContinueError *)aLegalHoldsListHeldRevisionsContinueError { if (self == aLegalHoldsListHeldRevisionsContinueError) { return YES; } if (self.tag != aLegalHoldsListHeldRevisionsContinueError.tag) { return NO; } switch (_tag) { 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; } @end #pragma mark - Serializer Object @implementation DBTEAMLegalHoldsListHeldRevisionsContinueErrorSerializer + (NSDictionary *)serialize:(DBTEAMLegalHoldsListHeldRevisionsContinueError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; 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"; } else { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBTEAMLegalHoldsListHeldRevisionsContinueError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; 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 [[DBTEAMLegalHoldsListHeldRevisionsContinueError alloc] initWithOther]; } else { return [[DBTEAMLegalHoldsListHeldRevisionsContinueError alloc] initWithOther]; } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLegalHoldsError.h" #import "DBTEAMLegalHoldsListHeldRevisionsError.h" #pragma mark - API Object @implementation DBTEAMLegalHoldsListHeldRevisionsError #pragma mark - Constructors - (instancetype)initWithUnknownLegalHoldError { self = [super init]; if (self) { _tag = DBTEAMLegalHoldsListHeldRevisionsErrorUnknownLegalHoldError; } return self; } - (instancetype)initWithInsufficientPermissions { self = [super init]; if (self) { _tag = DBTEAMLegalHoldsListHeldRevisionsErrorInsufficientPermissions; } return self; } - (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 [DBTEAMLegalHoldsListHeldRevisionsErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLegalHoldsListHeldRevisionsErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLegalHoldsListHeldRevisionsErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToLegalHoldsListHeldRevisionsError:other]; } - (BOOL)isEqualToLegalHoldsListHeldRevisionsError: (DBTEAMLegalHoldsListHeldRevisionsError *)aLegalHoldsListHeldRevisionsError { if (self == aLegalHoldsListHeldRevisionsError) { return YES; } if (self.tag != aLegalHoldsListHeldRevisionsError.tag) { 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; } @end #pragma mark - Serializer Object @implementation DBTEAMLegalHoldsListHeldRevisionsErrorSerializer + (NSDictionary *)serialize:(DBTEAMLegalHoldsListHeldRevisionsError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; 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; } + (DBTEAMLegalHoldsListHeldRevisionsError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; 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 "DBTEAMLegalHoldsListPoliciesArg.h" #pragma mark - API Object @implementation DBTEAMLegalHoldsListPoliciesArg #pragma mark - Constructors - (instancetype)initWithIncludeReleased:(NSNumber *)includeReleased { self = [super init]; if (self) { _includeReleased = includeReleased ?: @NO; } return self; } - (instancetype)initDefault { return [self initWithIncludeReleased:nil]; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLegalHoldsListPoliciesArgSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLegalHoldsListPoliciesArgSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLegalHoldsListPoliciesArgSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.includeReleased hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToLegalHoldsListPoliciesArg:other]; } - (BOOL)isEqualToLegalHoldsListPoliciesArg:(DBTEAMLegalHoldsListPoliciesArg *)aLegalHoldsListPoliciesArg { if (self == aLegalHoldsListPoliciesArg) { return YES; } if (![self.includeReleased isEqual:aLegalHoldsListPoliciesArg.includeReleased]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLegalHoldsListPoliciesArgSerializer + (NSDictionary *)serialize:(DBTEAMLegalHoldsListPoliciesArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"include_released"] = valueObj.includeReleased; return jsonDict; } + (DBTEAMLegalHoldsListPoliciesArg *)deserialize:(NSDictionary *)valueDict { NSNumber *includeReleased = valueDict[@"include_released"] ?: @NO; return [[DBTEAMLegalHoldsListPoliciesArg alloc] initWithIncludeReleased:includeReleased]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLegalHoldsError.h" #import "DBTEAMLegalHoldsListPoliciesError.h" #pragma mark - API Object @implementation DBTEAMLegalHoldsListPoliciesError #pragma mark - Constructors - (instancetype)initWithUnknownLegalHoldError { self = [super init]; if (self) { _tag = DBTEAMLegalHoldsListPoliciesErrorUnknownLegalHoldError; } return self; } - (instancetype)initWithInsufficientPermissions { self = [super init]; if (self) { _tag = DBTEAMLegalHoldsListPoliciesErrorInsufficientPermissions; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBTEAMLegalHoldsListPoliciesErrorOther; } return self; } - (instancetype)initWithTransientError { self = [super init]; if (self) { _tag = DBTEAMLegalHoldsListPoliciesErrorTransientError; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isUnknownLegalHoldError { return _tag == DBTEAMLegalHoldsListPoliciesErrorUnknownLegalHoldError; } - (BOOL)isInsufficientPermissions { return _tag == DBTEAMLegalHoldsListPoliciesErrorInsufficientPermissions; } - (BOOL)isOther { return _tag == DBTEAMLegalHoldsListPoliciesErrorOther; } - (BOOL)isTransientError { return _tag == DBTEAMLegalHoldsListPoliciesErrorTransientError; } - (NSString *)tagName { switch (_tag) { 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]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLegalHoldsListPoliciesErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLegalHoldsListPoliciesErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLegalHoldsListPoliciesErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 DBTEAMLegalHoldsListPoliciesErrorUnknownLegalHoldError: result = prime * result + [[self tagName] hash]; 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToLegalHoldsListPoliciesError:other]; } - (BOOL)isEqualToLegalHoldsListPoliciesError:(DBTEAMLegalHoldsListPoliciesError *)aLegalHoldsListPoliciesError { if (self == aLegalHoldsListPoliciesError) { return YES; } if (self.tag != aLegalHoldsListPoliciesError.tag) { return NO; } switch (_tag) { 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; } @end #pragma mark - Serializer Object @implementation DBTEAMLegalHoldsListPoliciesErrorSerializer + (NSDictionary *)serialize:(DBTEAMLegalHoldsListPoliciesError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; 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; } + (DBTEAMLegalHoldsListPoliciesError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; 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 [[DBTEAMLegalHoldsListPoliciesError alloc] initWithOther]; } else if ([tag isEqualToString:@"transient_error"]) { return [[DBTEAMLegalHoldsListPoliciesError alloc] initWithTransientError]; } else { return [[DBTEAMLegalHoldsListPoliciesError alloc] initWithOther]; } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLegalHoldPolicy.h" #import "DBTEAMLegalHoldsListPoliciesResult.h" #pragma mark - API Object @implementation DBTEAMLegalHoldsListPoliciesResult #pragma mark - Constructors - (instancetype)initWithPolicies:(NSArray *)policies { [DBStoneValidators nonnullValidator:[DBStoneValidators arrayValidator:nil maxItems:nil itemValidator:[DBStoneValidators nonnullValidator:nil]]](policies); self = [super init]; if (self) { _policies = policies; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLegalHoldsListPoliciesResultSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLegalHoldsListPoliciesResultSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLegalHoldsListPoliciesResultSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.policies hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToLegalHoldsListPoliciesResult:other]; } - (BOOL)isEqualToLegalHoldsListPoliciesResult:(DBTEAMLegalHoldsListPoliciesResult *)aLegalHoldsListPoliciesResult { if (self == aLegalHoldsListPoliciesResult) { return YES; } if (![self.policies isEqual:aLegalHoldsListPoliciesResult.policies]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLegalHoldsListPoliciesResultSerializer + (NSDictionary *)serialize:(DBTEAMLegalHoldsListPoliciesResult *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"policies"] = [DBArraySerializer serialize:valueObj.policies withBlock:^id(id elem0) { return [DBTEAMLegalHoldPolicySerializer serialize:elem0]; }]; return jsonDict; } + (DBTEAMLegalHoldsListPoliciesResult *)deserialize:(NSDictionary *)valueDict { NSArray *policies = [DBArraySerializer deserialize:valueDict[@"policies"] withBlock:^id(id elem0) { return [DBTEAMLegalHoldPolicySerializer deserialize:elem0]; }]; return [[DBTEAMLegalHoldsListPoliciesResult alloc] initWithPolicies:policies]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLegalHoldsPolicyCreateArg.h" #pragma mark - API Object @implementation DBTEAMLegalHoldsPolicyCreateArg #pragma mark - Constructors - (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) { _name = name; _description_ = description_; _members = members; _startDate = startDate; _endDate = endDate; } return self; } - (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 [DBTEAMLegalHoldsPolicyCreateArgSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLegalHoldsPolicyCreateArgSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLegalHoldsPolicyCreateArgSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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.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]; } return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToLegalHoldsPolicyCreateArg:other]; } - (BOOL)isEqualToLegalHoldsPolicyCreateArg:(DBTEAMLegalHoldsPolicyCreateArg *)aLegalHoldsPolicyCreateArg { if (self == aLegalHoldsPolicyCreateArg) { return YES; } if (![self.name isEqual:aLegalHoldsPolicyCreateArg.name]) { return NO; } if (![self.members isEqual:aLegalHoldsPolicyCreateArg.members]) { 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; } @end #pragma mark - Serializer Object @implementation DBTEAMLegalHoldsPolicyCreateArgSerializer + (NSDictionary *)serialize:(DBTEAMLegalHoldsPolicyCreateArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; 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"]; } return jsonDict; } + (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 [[DBTEAMLegalHoldsPolicyCreateArg alloc] initWithName:name members:members description_:description_ startDate:startDate endDate:endDate]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLegalHoldsError.h" #import "DBTEAMLegalHoldsPolicyCreateError.h" #pragma mark - API Object @implementation DBTEAMLegalHoldsPolicyCreateError #pragma mark - Constructors - (instancetype)initWithUnknownLegalHoldError { self = [super init]; if (self) { _tag = DBTEAMLegalHoldsPolicyCreateErrorUnknownLegalHoldError; } return self; } - (instancetype)initWithInsufficientPermissions { self = [super init]; if (self) { _tag = DBTEAMLegalHoldsPolicyCreateErrorInsufficientPermissions; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _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; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isUnknownLegalHoldError { return _tag == DBTEAMLegalHoldsPolicyCreateErrorUnknownLegalHoldError; } - (BOOL)isInsufficientPermissions { return _tag == DBTEAMLegalHoldsPolicyCreateErrorInsufficientPermissions; } - (BOOL)isOther { 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 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]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLegalHoldsPolicyCreateErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLegalHoldsPolicyCreateErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLegalHoldsPolicyCreateErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 DBTEAMLegalHoldsPolicyCreateErrorUnknownLegalHoldError: result = prime * result + [[self tagName] hash]; 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToLegalHoldsPolicyCreateError:other]; } - (BOOL)isEqualToLegalHoldsPolicyCreateError:(DBTEAMLegalHoldsPolicyCreateError *)aLegalHoldsPolicyCreateError { if (self == aLegalHoldsPolicyCreateError) { return YES; } if (self.tag != aLegalHoldsPolicyCreateError.tag) { return NO; } switch (_tag) { 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; } @end #pragma mark - Serializer Object @implementation DBTEAMLegalHoldsPolicyCreateErrorSerializer + (NSDictionary *)serialize:(DBTEAMLegalHoldsPolicyCreateError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; 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; } + (DBTEAMLegalHoldsPolicyCreateError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; 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 [[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 [[DBTEAMLegalHoldsPolicyCreateError alloc] initWithOther]; } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLegalHoldsPolicyReleaseArg.h" #pragma mark - API Object @implementation DBTEAMLegalHoldsPolicyReleaseArg #pragma mark - Constructors - (instancetype)initWithId_:(NSString *)id_ { [DBStoneValidators nonnullValidator:[DBStoneValidators stringValidator:nil maxLength:nil pattern:@"^pid_dbhid:.+"]](id_); self = [super init]; if (self) { _id_ = id_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLegalHoldsPolicyReleaseArgSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLegalHoldsPolicyReleaseArgSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLegalHoldsPolicyReleaseArgSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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 isEqualToLegalHoldsPolicyReleaseArg:other]; } - (BOOL)isEqualToLegalHoldsPolicyReleaseArg:(DBTEAMLegalHoldsPolicyReleaseArg *)aLegalHoldsPolicyReleaseArg { if (self == aLegalHoldsPolicyReleaseArg) { return YES; } if (![self.id_ isEqual:aLegalHoldsPolicyReleaseArg.id_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLegalHoldsPolicyReleaseArgSerializer + (NSDictionary *)serialize:(DBTEAMLegalHoldsPolicyReleaseArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"id"] = valueObj.id_; return jsonDict; } + (DBTEAMLegalHoldsPolicyReleaseArg *)deserialize:(NSDictionary *)valueDict { NSString *id_ = valueDict[@"id"]; return [[DBTEAMLegalHoldsPolicyReleaseArg alloc] initWithId_:id_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLegalHoldsError.h" #import "DBTEAMLegalHoldsPolicyReleaseError.h" #pragma mark - API Object @implementation DBTEAMLegalHoldsPolicyReleaseError #pragma mark - Constructors - (instancetype)initWithUnknownLegalHoldError { self = [super init]; if (self) { _tag = DBTEAMLegalHoldsPolicyReleaseErrorUnknownLegalHoldError; } return self; } - (instancetype)initWithInsufficientPermissions { self = [super init]; if (self) { _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 [DBTEAMLegalHoldsPolicyReleaseErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLegalHoldsPolicyReleaseErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLegalHoldsPolicyReleaseErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToLegalHoldsPolicyReleaseError:other]; } - (BOOL)isEqualToLegalHoldsPolicyReleaseError:(DBTEAMLegalHoldsPolicyReleaseError *)aLegalHoldsPolicyReleaseError { if (self == aLegalHoldsPolicyReleaseError) { return YES; } if (self.tag != aLegalHoldsPolicyReleaseError.tag) { 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; } @end #pragma mark - Serializer Object @implementation DBTEAMLegalHoldsPolicyReleaseErrorSerializer + (NSDictionary *)serialize:(DBTEAMLegalHoldsPolicyReleaseError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; 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; } + (DBTEAMLegalHoldsPolicyReleaseError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; 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 "DBTEAMLegalHoldsPolicyUpdateArg.h" #pragma mark - API Object @implementation DBTEAMLegalHoldsPolicyUpdateArg #pragma mark - Constructors - (instancetype)initWithId_:(NSString *)id_ name:(NSString *)name description_:(NSString *)description_ members:(NSArray *)members { [DBStoneValidators 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:@(501) pattern:nil]](description_); [DBStoneValidators nullableValidator:[DBStoneValidators arrayValidator:nil maxItems:nil itemValidator:[DBStoneValidators nonnullValidator:nil]]](members); self = [super init]; if (self) { _id_ = id_; _name = name; _description_ = description_; _members = members; } return self; } - (instancetype)initWithId_:(NSString *)id_ { return [self initWithId_:id_ name:nil description_:nil members:nil]; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLegalHoldsPolicyUpdateArgSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLegalHoldsPolicyUpdateArgSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLegalHoldsPolicyUpdateArgSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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]; if (self.name != nil) { result = prime * result + [self.name hash]; } if (self.description_ != nil) { result = prime * result + [self.description_ hash]; } if (self.members != nil) { 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 isEqualToLegalHoldsPolicyUpdateArg:other]; } - (BOOL)isEqualToLegalHoldsPolicyUpdateArg:(DBTEAMLegalHoldsPolicyUpdateArg *)aLegalHoldsPolicyUpdateArg { if (self == aLegalHoldsPolicyUpdateArg) { return YES; } if (![self.id_ isEqual:aLegalHoldsPolicyUpdateArg.id_]) { return NO; } if (self.name) { if (![self.name isEqual:aLegalHoldsPolicyUpdateArg.name]) { return NO; } } if (self.description_) { if (![self.description_ isEqual:aLegalHoldsPolicyUpdateArg.description_]) { return NO; } } if (self.members) { if (![self.members isEqual:aLegalHoldsPolicyUpdateArg.members]) { return NO; } } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLegalHoldsPolicyUpdateArgSerializer + (NSDictionary *)serialize:(DBTEAMLegalHoldsPolicyUpdateArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"id"] = valueObj.id_; if (valueObj.name) { jsonDict[@"name"] = valueObj.name; } if (valueObj.description_) { jsonDict[@"description"] = valueObj.description_; } if (valueObj.members) { jsonDict[@"members"] = [DBArraySerializer serialize:valueObj.members withBlock:^id(id elem0) { return elem0; }]; } return jsonDict; } + (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 [[DBTEAMLegalHoldsPolicyUpdateArg alloc] initWithId_:id_ name:name description_:description_ members:members]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLegalHoldsError.h" #import "DBTEAMLegalHoldsPolicyUpdateError.h" #pragma mark - API Object @implementation DBTEAMLegalHoldsPolicyUpdateError #pragma mark - Constructors - (instancetype)initWithUnknownLegalHoldError { self = [super init]; if (self) { _tag = DBTEAMLegalHoldsPolicyUpdateErrorUnknownLegalHoldError; } return self; } - (instancetype)initWithInsufficientPermissions { self = [super init]; if (self) { _tag = DBTEAMLegalHoldsPolicyUpdateErrorInsufficientPermissions; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBTEAMLegalHoldsPolicyUpdateErrorOther; } return self; } - (instancetype)initWithTransientError { self = [super init]; if (self) { _tag = DBTEAMLegalHoldsPolicyUpdateErrorTransientError; } return self; } - (instancetype)initWithInactiveLegalHold { self = [super init]; if (self) { _tag = DBTEAMLegalHoldsPolicyUpdateErrorInactiveLegalHold; } return self; } - (instancetype)initWithLegalHoldPerformingAnotherOperation { self = [super init]; if (self) { _tag = DBTEAMLegalHoldsPolicyUpdateErrorLegalHoldPerformingAnotherOperation; } return self; } - (instancetype)initWithInvalidMembers { self = [super init]; if (self) { _tag = DBTEAMLegalHoldsPolicyUpdateErrorInvalidMembers; } return self; } - (instancetype)initWithNumberOfUsersOnHoldIsGreaterThanHoldLimitation { self = [super init]; if (self) { _tag = DBTEAMLegalHoldsPolicyUpdateErrorNumberOfUsersOnHoldIsGreaterThanHoldLimitation; } return self; } - (instancetype)initWithEmptyMembersList { self = [super init]; if (self) { _tag = DBTEAMLegalHoldsPolicyUpdateErrorEmptyMembersList; } return self; } - (instancetype)initWithNameMustBeUnique { self = [super init]; if (self) { _tag = DBTEAMLegalHoldsPolicyUpdateErrorNameMustBeUnique; } return self; } - (instancetype)initWithLegalHoldPolicyNotFound { self = [super init]; if (self) { _tag = DBTEAMLegalHoldsPolicyUpdateErrorLegalHoldPolicyNotFound; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isUnknownLegalHoldError { return _tag == DBTEAMLegalHoldsPolicyUpdateErrorUnknownLegalHoldError; } - (BOOL)isInsufficientPermissions { return _tag == DBTEAMLegalHoldsPolicyUpdateErrorInsufficientPermissions; } - (BOOL)isOther { return _tag == DBTEAMLegalHoldsPolicyUpdateErrorOther; } - (BOOL)isTransientError { return _tag == DBTEAMLegalHoldsPolicyUpdateErrorTransientError; } - (BOOL)isInactiveLegalHold { return _tag == DBTEAMLegalHoldsPolicyUpdateErrorInactiveLegalHold; } - (BOOL)isLegalHoldPerformingAnotherOperation { return _tag == DBTEAMLegalHoldsPolicyUpdateErrorLegalHoldPerformingAnotherOperation; } - (BOOL)isInvalidMembers { return _tag == DBTEAMLegalHoldsPolicyUpdateErrorInvalidMembers; } - (BOOL)isNumberOfUsersOnHoldIsGreaterThanHoldLimitation { return _tag == DBTEAMLegalHoldsPolicyUpdateErrorNumberOfUsersOnHoldIsGreaterThanHoldLimitation; } - (BOOL)isEmptyMembersList { return _tag == DBTEAMLegalHoldsPolicyUpdateErrorEmptyMembersList; } - (BOOL)isNameMustBeUnique { return _tag == DBTEAMLegalHoldsPolicyUpdateErrorNameMustBeUnique; } - (BOOL)isLegalHoldPolicyNotFound { return _tag == DBTEAMLegalHoldsPolicyUpdateErrorLegalHoldPolicyNotFound; } - (NSString *)tagName { switch (_tag) { 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]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLegalHoldsPolicyUpdateErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLegalHoldsPolicyUpdateErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLegalHoldsPolicyUpdateErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToLegalHoldsPolicyUpdateError:other]; } - (BOOL)isEqualToLegalHoldsPolicyUpdateError:(DBTEAMLegalHoldsPolicyUpdateError *)aLegalHoldsPolicyUpdateError { if (self == aLegalHoldsPolicyUpdateError) { return YES; } if (self.tag != aLegalHoldsPolicyUpdateError.tag) { return NO; } switch (_tag) { 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; } @end #pragma mark - Serializer Object @implementation DBTEAMLegalHoldsPolicyUpdateErrorSerializer + (NSDictionary *)serialize:(DBTEAMLegalHoldsPolicyUpdateError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; 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 { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBTEAMLegalHoldsPolicyUpdateError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; 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 { return [[DBTEAMLegalHoldsPolicyUpdateError alloc] initWithOther]; } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMListMemberAppsArg.h" #pragma mark - API Object @implementation DBTEAMListMemberAppsArg #pragma mark - Constructors - (instancetype)initWithTeamMemberId:(NSString *)teamMemberId { [DBStoneValidators nonnullValidator:nil](teamMemberId); self = [super init]; if (self) { _teamMemberId = teamMemberId; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMListMemberAppsArgSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMListMemberAppsArgSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMListMemberAppsArgSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToListMemberAppsArg:other]; } - (BOOL)isEqualToListMemberAppsArg:(DBTEAMListMemberAppsArg *)aListMemberAppsArg { if (self == aListMemberAppsArg) { return YES; } if (![self.teamMemberId isEqual:aListMemberAppsArg.teamMemberId]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMListMemberAppsArgSerializer + (NSDictionary *)serialize:(DBTEAMListMemberAppsArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"team_member_id"] = valueObj.teamMemberId; return jsonDict; } + (DBTEAMListMemberAppsArg *)deserialize:(NSDictionary *)valueDict { NSString *teamMemberId = valueDict[@"team_member_id"]; return [[DBTEAMListMemberAppsArg alloc] initWithTeamMemberId:teamMemberId]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMListMemberAppsError.h" #pragma mark - API Object @implementation DBTEAMListMemberAppsError #pragma mark - Constructors - (instancetype)initWithMemberNotFound { self = [super init]; if (self) { _tag = DBTEAMListMemberAppsErrorMemberNotFound; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _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 [DBTEAMListMemberAppsErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMListMemberAppsErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMListMemberAppsErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 DBTEAMListMemberAppsErrorMemberNotFound: result = prime * result + [[self tagName] hash]; break; case DBTEAMListMemberAppsErrorOther: 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 isEqualToListMemberAppsError:other]; } - (BOOL)isEqualToListMemberAppsError:(DBTEAMListMemberAppsError *)aListMemberAppsError { if (self == aListMemberAppsError) { return YES; } if (self.tag != aListMemberAppsError.tag) { return NO; } switch (_tag) { case DBTEAMListMemberAppsErrorMemberNotFound: return [[self tagName] isEqual:[aListMemberAppsError tagName]]; case DBTEAMListMemberAppsErrorOther: return [[self tagName] isEqual:[aListMemberAppsError tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMListMemberAppsErrorSerializer + (NSDictionary *)serialize:(DBTEAMListMemberAppsError *)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; } + (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]; } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMApiApp.h" #import "DBTEAMListMemberAppsResult.h" #pragma mark - API Object @implementation DBTEAMListMemberAppsResult #pragma mark - Constructors - (instancetype)initWithLinkedApiApps:(NSArray *)linkedApiApps { [DBStoneValidators nonnullValidator:[DBStoneValidators arrayValidator:nil maxItems:nil itemValidator:[DBStoneValidators nonnullValidator:nil]]](linkedApiApps); self = [super init]; if (self) { _linkedApiApps = linkedApiApps; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMListMemberAppsResultSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMListMemberAppsResultSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMListMemberAppsResultSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; 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 isEqualToListMemberAppsResult:other]; } - (BOOL)isEqualToListMemberAppsResult:(DBTEAMListMemberAppsResult *)aListMemberAppsResult { if (self == aListMemberAppsResult) { return YES; } if (![self.linkedApiApps isEqual:aListMemberAppsResult.linkedApiApps]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMListMemberAppsResultSerializer + (NSDictionary *)serialize:(DBTEAMListMemberAppsResult *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"linked_api_apps"] = [DBArraySerializer serialize:valueObj.linkedApiApps withBlock:^id(id elem0) { return [DBTEAMApiAppSerializer serialize:elem0]; }]; return jsonDict; } + (DBTEAMListMemberAppsResult *)deserialize:(NSDictionary *)valueDict { NSArray *linkedApiApps = [DBArraySerializer deserialize:valueDict[@"linked_api_apps"] withBlock:^id(id elem0) { return [DBTEAMApiAppSerializer deserialize:elem0]; }]; return [[DBTEAMListMemberAppsResult alloc] initWithLinkedApiApps:linkedApiApps]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMListMemberDevicesArg.h" #pragma mark - API Object @implementation DBTEAMListMemberDevicesArg #pragma mark - Constructors - (instancetype)initWithTeamMemberId:(NSString *)teamMemberId includeWebSessions:(NSNumber *)includeWebSessions includeDesktopClients:(NSNumber *)includeDesktopClients includeMobileClients:(NSNumber *)includeMobileClients { [DBStoneValidators nonnullValidator:nil](teamMemberId); self = [super init]; if (self) { _teamMemberId = teamMemberId; _includeWebSessions = includeWebSessions ?: @YES; _includeDesktopClients = includeDesktopClients ?: @YES; _includeMobileClients = includeMobileClients ?: @YES; } return self; } - (instancetype)initWithTeamMemberId:(NSString *)teamMemberId { return [self initWithTeamMemberId:teamMemberId includeWebSessions:nil includeDesktopClients:nil includeMobileClients:nil]; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMListMemberDevicesArgSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMListMemberDevicesArgSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMListMemberDevicesArgSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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.includeWebSessions hash]; result = prime * result + [self.includeDesktopClients hash]; result = prime * result + [self.includeMobileClients hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToListMemberDevicesArg:other]; } - (BOOL)isEqualToListMemberDevicesArg:(DBTEAMListMemberDevicesArg *)aListMemberDevicesArg { if (self == aListMemberDevicesArg) { return YES; } if (![self.teamMemberId isEqual:aListMemberDevicesArg.teamMemberId]) { return NO; } 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; } @end #pragma mark - Serializer Object @implementation DBTEAMListMemberDevicesArgSerializer + (NSDictionary *)serialize:(DBTEAMListMemberDevicesArg *)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; 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; return [[DBTEAMListMemberDevicesArg alloc] initWithTeamMemberId:teamMemberId includeWebSessions:includeWebSessions includeDesktopClients:includeDesktopClients includeMobileClients:includeMobileClients]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMListMemberDevicesError.h" #pragma mark - API Object @implementation DBTEAMListMemberDevicesError #pragma mark - Constructors - (instancetype)initWithMemberNotFound { self = [super init]; if (self) { _tag = DBTEAMListMemberDevicesErrorMemberNotFound; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBTEAMListMemberDevicesErrorOther; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isMemberNotFound { return _tag == DBTEAMListMemberDevicesErrorMemberNotFound; } - (BOOL)isOther { return _tag == DBTEAMListMemberDevicesErrorOther; } - (NSString *)tagName { switch (_tag) { case DBTEAMListMemberDevicesErrorMemberNotFound: return @"DBTEAMListMemberDevicesErrorMemberNotFound"; case DBTEAMListMemberDevicesErrorOther: return @"DBTEAMListMemberDevicesErrorOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMListMemberDevicesErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMListMemberDevicesErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMListMemberDevicesErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 DBTEAMListMemberDevicesErrorMemberNotFound: result = prime * result + [[self tagName] hash]; break; case DBTEAMListMemberDevicesErrorOther: 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 isEqualToListMemberDevicesError:other]; } - (BOOL)isEqualToListMemberDevicesError:(DBTEAMListMemberDevicesError *)aListMemberDevicesError { if (self == aListMemberDevicesError) { return YES; } if (self.tag != aListMemberDevicesError.tag) { return NO; } switch (_tag) { case DBTEAMListMemberDevicesErrorMemberNotFound: return [[self tagName] isEqual:[aListMemberDevicesError tagName]]; case DBTEAMListMemberDevicesErrorOther: return [[self tagName] isEqual:[aListMemberDevicesError tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMListMemberDevicesErrorSerializer + (NSDictionary *)serialize:(DBTEAMListMemberDevicesError *)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; } + (DBTEAMListMemberDevicesError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"member_not_found"]) { return [[DBTEAMListMemberDevicesError alloc] initWithMemberNotFound]; } else if ([tag isEqualToString:@"other"]) { return [[DBTEAMListMemberDevicesError alloc] initWithOther]; } else { return [[DBTEAMListMemberDevicesError alloc] initWithOther]; } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMActiveWebSession.h" #import "DBTEAMDesktopClientSession.h" #import "DBTEAMListMemberDevicesResult.h" #import "DBTEAMMobileClientSession.h" #pragma mark - API Object @implementation DBTEAMListMemberDevicesResult #pragma mark - Constructors - (instancetype)initWithActiveWebSessions:(NSArray *)activeWebSessions desktopClientSessions:(NSArray *)desktopClientSessions mobileClientSessions:(NSArray *)mobileClientSessions { [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); self = [super init]; if (self) { _activeWebSessions = activeWebSessions; _desktopClientSessions = desktopClientSessions; _mobileClientSessions = mobileClientSessions; } 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]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMListMemberDevicesResultSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMListMemberDevicesResultSerializer serialize:self] description]; } #pragma mark - Copyable method - (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.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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToListMemberDevicesResult:other]; } - (BOOL)isEqualToListMemberDevicesResult:(DBTEAMListMemberDevicesResult *)aListMemberDevicesResult { if (self == aListMemberDevicesResult) { 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; } } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMListMemberDevicesResultSerializer + (NSDictionary *)serialize:(DBTEAMListMemberDevicesResult *)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]; }]; } 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; return [[DBTEAMListMemberDevicesResult alloc] initWithActiveWebSessions:activeWebSessions desktopClientSessions:desktopClientSessions mobileClientSessions:mobileClientSessions]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMListMembersAppsArg.h" #pragma mark - API Object @implementation DBTEAMListMembersAppsArg #pragma mark - Constructors - (instancetype)initWithCursor:(NSString *)cursor { self = [super init]; if (self) { _cursor = cursor; } return self; } - (instancetype)initDefault { return [self initWithCursor:nil]; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMListMembersAppsArgSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMListMembersAppsArgSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMListMembersAppsArgSerializer serialize:self] description]; } #pragma mark - Copyable method - (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.cursor != nil) { 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 isEqualToListMembersAppsArg:other]; } - (BOOL)isEqualToListMembersAppsArg:(DBTEAMListMembersAppsArg *)aListMembersAppsArg { if (self == aListMembersAppsArg) { return YES; } if (self.cursor) { if (![self.cursor isEqual:aListMembersAppsArg.cursor]) { return NO; } } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMListMembersAppsArgSerializer + (NSDictionary *)serialize:(DBTEAMListMembersAppsArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if (valueObj.cursor) { jsonDict[@"cursor"] = valueObj.cursor; } return jsonDict; } + (DBTEAMListMembersAppsArg *)deserialize:(NSDictionary *)valueDict { NSString *cursor = valueDict[@"cursor"] ?: nil; return [[DBTEAMListMembersAppsArg alloc] initWithCursor:cursor]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMListMembersAppsError.h" #pragma mark - API Object @implementation DBTEAMListMembersAppsError #pragma mark - Constructors - (instancetype)initWithReset { self = [super init]; if (self) { _tag = DBTEAMListMembersAppsErrorReset; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBTEAMListMembersAppsErrorOther; } 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]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMListMembersAppsErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMListMembersAppsErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMListMembersAppsErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 DBTEAMListMembersAppsErrorReset: result = prime * result + [[self tagName] hash]; break; case DBTEAMListMembersAppsErrorOther: 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 isEqualToListMembersAppsError:other]; } - (BOOL)isEqualToListMembersAppsError:(DBTEAMListMembersAppsError *)aListMembersAppsError { if (self == aListMembersAppsError) { return YES; } if (self.tag != aListMembersAppsError.tag) { return NO; } switch (_tag) { case DBTEAMListMembersAppsErrorReset: return [[self tagName] isEqual:[aListMembersAppsError tagName]]; case DBTEAMListMembersAppsErrorOther: return [[self tagName] isEqual:[aListMembersAppsError tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMListMembersAppsErrorSerializer + (NSDictionary *)serialize:(DBTEAMListMembersAppsError *)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; } + (DBTEAMListMembersAppsError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"reset"]) { return [[DBTEAMListMembersAppsError alloc] initWithReset]; } else if ([tag isEqualToString:@"other"]) { return [[DBTEAMListMembersAppsError alloc] initWithOther]; } else { return [[DBTEAMListMembersAppsError alloc] initWithOther]; } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMListMembersAppsResult.h" #import "DBTEAMMemberLinkedApps.h" #pragma mark - API Object @implementation DBTEAMListMembersAppsResult #pragma mark - Constructors - (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 [DBTEAMListMembersAppsResultSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMListMembersAppsResultSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMListMembersAppsResultSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (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]; } return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToListMembersAppsResult:other]; } - (BOOL)isEqualToListMembersAppsResult:(DBTEAMListMembersAppsResult *)aListMembersAppsResult { if (self == aListMembersAppsResult) { return YES; } if (![self.apps isEqual:aListMembersAppsResult.apps]) { return NO; } if (![self.hasMore isEqual:aListMembersAppsResult.hasMore]) { return NO; } if (self.cursor) { if (![self.cursor isEqual:aListMembersAppsResult.cursor]) { return NO; } } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMListMembersAppsResultSerializer + (NSDictionary *)serialize:(DBTEAMListMembersAppsResult *)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; } 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; return [[DBTEAMListMembersAppsResult alloc] initWithApps:apps hasMore:hasMore cursor:cursor]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMListMembersDevicesArg.h" #pragma mark - API Object @implementation DBTEAMListMembersDevicesArg #pragma mark - Constructors - (instancetype)initWithCursor:(NSString *)cursor includeWebSessions:(NSNumber *)includeWebSessions includeDesktopClients:(NSNumber *)includeDesktopClients includeMobileClients:(NSNumber *)includeMobileClients { self = [super init]; if (self) { _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]; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMListMembersDevicesArgSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMListMembersDevicesArgSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMListMembersDevicesArgSerializer serialize:self] description]; } #pragma mark - Copyable method - (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.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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToListMembersDevicesArg:other]; } - (BOOL)isEqualToListMembersDevicesArg:(DBTEAMListMembersDevicesArg *)aListMembersDevicesArg { if (self == aListMembersDevicesArg) { return YES; } if (self.cursor) { if (![self.cursor isEqual:aListMembersDevicesArg.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; } @end #pragma mark - Serializer Object @implementation DBTEAMListMembersDevicesArgSerializer + (NSDictionary *)serialize:(DBTEAMListMembersDevicesArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; 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; } + (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; return [[DBTEAMListMembersDevicesArg alloc] initWithCursor:cursor includeWebSessions:includeWebSessions includeDesktopClients:includeDesktopClients includeMobileClients:includeMobileClients]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMListMembersDevicesError.h" #pragma mark - API Object @implementation DBTEAMListMembersDevicesError #pragma mark - Constructors - (instancetype)initWithReset { self = [super init]; if (self) { _tag = DBTEAMListMembersDevicesErrorReset; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _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 [DBTEAMListMembersDevicesErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMListMembersDevicesErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMListMembersDevicesErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 DBTEAMListMembersDevicesErrorReset: result = prime * result + [[self tagName] hash]; break; case DBTEAMListMembersDevicesErrorOther: 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 isEqualToListMembersDevicesError:other]; } - (BOOL)isEqualToListMembersDevicesError:(DBTEAMListMembersDevicesError *)aListMembersDevicesError { if (self == aListMembersDevicesError) { return YES; } 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; } @end #pragma mark - Serializer Object @implementation DBTEAMListMembersDevicesErrorSerializer + (NSDictionary *)serialize:(DBTEAMListMembersDevicesError *)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; } + (DBTEAMListMembersDevicesError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; 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 "DBTEAMListMembersDevicesResult.h" #import "DBTEAMMemberDevices.h" #pragma mark - API Object @implementation DBTEAMListMembersDevicesResult #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); self = [super init]; if (self) { _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 [DBTEAMListMembersDevicesResultSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMListMembersDevicesResultSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMListMembersDevicesResultSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (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]; } return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToListMembersDevicesResult:other]; } - (BOOL)isEqualToListMembersDevicesResult:(DBTEAMListMembersDevicesResult *)aListMembersDevicesResult { if (self == aListMembersDevicesResult) { return YES; } if (![self.devices isEqual:aListMembersDevicesResult.devices]) { return NO; } if (![self.hasMore isEqual:aListMembersDevicesResult.hasMore]) { return NO; } if (self.cursor) { if (![self.cursor isEqual:aListMembersDevicesResult.cursor]) { return NO; } } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMListMembersDevicesResultSerializer + (NSDictionary *)serialize:(DBTEAMListMembersDevicesResult *)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; } 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; return [[DBTEAMListMembersDevicesResult alloc] initWithDevices:devices hasMore:hasMore cursor:cursor]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMListTeamAppsArg.h" #pragma mark - API Object @implementation DBTEAMListTeamAppsArg #pragma mark - Constructors - (instancetype)initWithCursor:(NSString *)cursor { self = [super init]; if (self) { _cursor = cursor; } return self; } - (instancetype)initDefault { return [self initWithCursor:nil]; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMListTeamAppsArgSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMListTeamAppsArgSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMListTeamAppsArgSerializer serialize:self] description]; } #pragma mark - Copyable method - (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.cursor != nil) { 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 isEqualToListTeamAppsArg:other]; } - (BOOL)isEqualToListTeamAppsArg:(DBTEAMListTeamAppsArg *)aListTeamAppsArg { if (self == aListTeamAppsArg) { return YES; } if (self.cursor) { if (![self.cursor isEqual:aListTeamAppsArg.cursor]) { return NO; } } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMListTeamAppsArgSerializer + (NSDictionary *)serialize:(DBTEAMListTeamAppsArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if (valueObj.cursor) { jsonDict[@"cursor"] = valueObj.cursor; } return jsonDict; } + (DBTEAMListTeamAppsArg *)deserialize:(NSDictionary *)valueDict { NSString *cursor = valueDict[@"cursor"] ?: nil; return [[DBTEAMListTeamAppsArg alloc] initWithCursor:cursor]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMListTeamAppsError.h" #pragma mark - API Object @implementation DBTEAMListTeamAppsError #pragma mark - Constructors - (instancetype)initWithReset { self = [super init]; if (self) { _tag = DBTEAMListTeamAppsErrorReset; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBTEAMListTeamAppsErrorOther; } return self; } #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 [DBTEAMListTeamAppsErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMListTeamAppsErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMListTeamAppsErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 DBTEAMListTeamAppsErrorReset: result = prime * result + [[self tagName] hash]; break; case DBTEAMListTeamAppsErrorOther: 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 isEqualToListTeamAppsError:other]; } - (BOOL)isEqualToListTeamAppsError:(DBTEAMListTeamAppsError *)aListTeamAppsError { if (self == aListTeamAppsError) { return YES; } if (self.tag != aListTeamAppsError.tag) { return NO; } switch (_tag) { case DBTEAMListTeamAppsErrorReset: return [[self tagName] isEqual:[aListTeamAppsError tagName]]; case DBTEAMListTeamAppsErrorOther: return [[self tagName] isEqual:[aListTeamAppsError tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMListTeamAppsErrorSerializer + (NSDictionary *)serialize:(DBTEAMListTeamAppsError *)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; } + (DBTEAMListTeamAppsError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; 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 "DBTEAMListTeamAppsResult.h" #import "DBTEAMMemberLinkedApps.h" #pragma mark - API Object @implementation DBTEAMListTeamAppsResult #pragma mark - Constructors - (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 [DBTEAMListTeamAppsResultSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMListTeamAppsResultSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMListTeamAppsResultSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (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]; } return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToListTeamAppsResult:other]; } - (BOOL)isEqualToListTeamAppsResult:(DBTEAMListTeamAppsResult *)aListTeamAppsResult { if (self == aListTeamAppsResult) { return YES; } 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; } @end #pragma mark - Serializer Object @implementation DBTEAMListTeamAppsResultSerializer + (NSDictionary *)serialize:(DBTEAMListTeamAppsResult *)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; } return jsonDict; } + (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 [[DBTEAMListTeamAppsResult alloc] initWithApps:apps hasMore:hasMore cursor:cursor]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMListTeamDevicesArg.h" #pragma mark - API Object @implementation DBTEAMListTeamDevicesArg #pragma mark - Constructors - (instancetype)initWithCursor:(NSString *)cursor includeWebSessions:(NSNumber *)includeWebSessions includeDesktopClients:(NSNumber *)includeDesktopClients includeMobileClients:(NSNumber *)includeMobileClients { self = [super init]; if (self) { _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]; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMListTeamDevicesArgSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMListTeamDevicesArgSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMListTeamDevicesArgSerializer serialize:self] description]; } #pragma mark - Copyable method - (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.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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToListTeamDevicesArg:other]; } - (BOOL)isEqualToListTeamDevicesArg:(DBTEAMListTeamDevicesArg *)aListTeamDevicesArg { if (self == aListTeamDevicesArg) { return YES; } if (self.cursor) { if (![self.cursor isEqual:aListTeamDevicesArg.cursor]) { return NO; } } if (![self.includeWebSessions isEqual:aListTeamDevicesArg.includeWebSessions]) { return NO; } if (![self.includeDesktopClients isEqual:aListTeamDevicesArg.includeDesktopClients]) { return NO; } if (![self.includeMobileClients isEqual:aListTeamDevicesArg.includeMobileClients]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMListTeamDevicesArgSerializer + (NSDictionary *)serialize:(DBTEAMListTeamDevicesArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; 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; } + (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; return [[DBTEAMListTeamDevicesArg alloc] initWithCursor:cursor includeWebSessions:includeWebSessions includeDesktopClients:includeDesktopClients includeMobileClients:includeMobileClients]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMListTeamDevicesError.h" #pragma mark - API Object @implementation DBTEAMListTeamDevicesError #pragma mark - Constructors - (instancetype)initWithReset { self = [super init]; if (self) { _tag = DBTEAMListTeamDevicesErrorReset; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBTEAMListTeamDevicesErrorOther; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isReset { return _tag == DBTEAMListTeamDevicesErrorReset; } - (BOOL)isOther { return _tag == DBTEAMListTeamDevicesErrorOther; } - (NSString *)tagName { switch (_tag) { case DBTEAMListTeamDevicesErrorReset: return @"DBTEAMListTeamDevicesErrorReset"; case DBTEAMListTeamDevicesErrorOther: return @"DBTEAMListTeamDevicesErrorOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMListTeamDevicesErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMListTeamDevicesErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMListTeamDevicesErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 DBTEAMListTeamDevicesErrorReset: result = prime * result + [[self tagName] hash]; break; case DBTEAMListTeamDevicesErrorOther: 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 isEqualToListTeamDevicesError:other]; } - (BOOL)isEqualToListTeamDevicesError:(DBTEAMListTeamDevicesError *)aListTeamDevicesError { if (self == aListTeamDevicesError) { return YES; } if (self.tag != aListTeamDevicesError.tag) { return NO; } switch (_tag) { case DBTEAMListTeamDevicesErrorReset: return [[self tagName] isEqual:[aListTeamDevicesError tagName]]; case DBTEAMListTeamDevicesErrorOther: return [[self tagName] isEqual:[aListTeamDevicesError tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMListTeamDevicesErrorSerializer + (NSDictionary *)serialize:(DBTEAMListTeamDevicesError *)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; } + (DBTEAMListTeamDevicesError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"reset"]) { return [[DBTEAMListTeamDevicesError alloc] initWithReset]; } else if ([tag isEqualToString:@"other"]) { return [[DBTEAMListTeamDevicesError alloc] initWithOther]; } else { return [[DBTEAMListTeamDevicesError alloc] initWithOther]; } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMListTeamDevicesResult.h" #import "DBTEAMMemberDevices.h" #pragma mark - API Object @implementation DBTEAMListTeamDevicesResult #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); self = [super init]; if (self) { _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 [DBTEAMListTeamDevicesResultSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMListTeamDevicesResultSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMListTeamDevicesResultSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (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]; } return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToListTeamDevicesResult:other]; } - (BOOL)isEqualToListTeamDevicesResult:(DBTEAMListTeamDevicesResult *)aListTeamDevicesResult { if (self == aListTeamDevicesResult) { return YES; } if (![self.devices isEqual:aListTeamDevicesResult.devices]) { return NO; } if (![self.hasMore isEqual:aListTeamDevicesResult.hasMore]) { return NO; } if (self.cursor) { if (![self.cursor isEqual:aListTeamDevicesResult.cursor]) { return NO; } } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMListTeamDevicesResultSerializer + (NSDictionary *)serialize:(DBTEAMListTeamDevicesResult *)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; } 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; return [[DBTEAMListTeamDevicesResult alloc] initWithDevices:devices hasMore:hasMore cursor:cursor]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMGroupAccessType.h" #import "DBTEAMMemberAccess.h" #import "DBTEAMUserSelectorArg.h" #pragma mark - API Object @implementation DBTEAMMemberAccess #pragma mark - Constructors - (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 [DBTEAMMemberAccessSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMMemberAccessSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMMemberAccessSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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.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 isEqualToMemberAccess:other]; } - (BOOL)isEqualToMemberAccess:(DBTEAMMemberAccess *)aMemberAccess { if (self == aMemberAccess) { return YES; } if (![self.user isEqual:aMemberAccess.user]) { return NO; } if (![self.accessType isEqual:aMemberAccess.accessType]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMMemberAccessSerializer + (NSDictionary *)serialize:(DBTEAMMemberAccess *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"user"] = [DBTEAMUserSelectorArgSerializer serialize:valueObj.user]; jsonDict[@"access_type"] = [DBTEAMGroupAccessTypeSerializer serialize:valueObj.accessType]; return jsonDict; } + (DBTEAMMemberAccess *)deserialize:(NSDictionary *)valueDict { DBTEAMUserSelectorArg *user = [DBTEAMUserSelectorArgSerializer deserialize:valueDict[@"user"]]; DBTEAMGroupAccessType *accessType = [DBTEAMGroupAccessTypeSerializer deserialize:valueDict[@"access_type"]]; return [[DBTEAMMemberAccess alloc] initWithUser:user accessType:accessType]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMMemberAddArgBase.h" #pragma mark - API Object @implementation DBTEAMMemberAddArgBase #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 { [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 init]; if (self) { _memberEmail = memberEmail; _memberGivenName = memberGivenName; _memberSurname = memberSurname; _memberExternalId = memberExternalId; _memberPersistentId = memberPersistentId; _sendWelcomeEmail = sendWelcomeEmail ?: @YES; _isDirectoryRestricted = isDirectoryRestricted; } return self; } - (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 [DBTEAMMemberAddArgBaseSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMMemberAddArgBaseSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMMemberAddArgBaseSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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]; } return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToMemberAddArgBase:other]; } - (BOOL)isEqualToMemberAddArgBase:(DBTEAMMemberAddArgBase *)aMemberAddArgBase { if (self == aMemberAddArgBase) { return YES; } if (![self.memberEmail isEqual:aMemberAddArgBase.memberEmail]) { return NO; } 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; } @end #pragma mark - Serializer Object @implementation DBTEAMMemberAddArgBaseSerializer + (NSDictionary *)serialize:(DBTEAMMemberAddArgBase *)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; } return jsonDict; } + (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; 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 "DBTEAMAdminTier.h" #import "DBTEAMMemberAddArg.h" #import "DBTEAMMemberAddArgBase.h" #pragma mark - API Object @implementation DBTEAMMemberAddArg #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 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 initWithMemberEmail:memberEmail memberGivenName:memberGivenName memberSurname:memberSurname memberExternalId:memberExternalId memberPersistentId:memberPersistentId sendWelcomeEmail:sendWelcomeEmail isDirectoryRestricted:isDirectoryRestricted]; if (self) { _role = role ?: [[DBTEAMAdminTier alloc] initWithMemberOnly]; } return self; } - (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 [DBTEAMMemberAddArgSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMMemberAddArgSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMMemberAddArgSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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]; } 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 isEqualToMemberAddArg:other]; } - (BOOL)isEqualToMemberAddArg:(DBTEAMMemberAddArg *)aMemberAddArg { if (self == aMemberAddArg) { return YES; } if (![self.memberEmail isEqual:aMemberAddArg.memberEmail]) { return NO; } if (self.memberGivenName) { if (![self.memberGivenName isEqual:aMemberAddArg.memberGivenName]) { return NO; } } if (self.memberSurname) { if (![self.memberSurname isEqual:aMemberAddArg.memberSurname]) { return NO; } } if (self.memberExternalId) { if (![self.memberExternalId isEqual:aMemberAddArg.memberExternalId]) { return NO; } } 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; } @end #pragma mark - Serializer Object @implementation DBTEAMMemberAddArgSerializer + (NSDictionary *)serialize:(DBTEAMMemberAddArg *)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; } jsonDict[@"role"] = [DBTEAMAdminTierSerializer serialize:valueObj.role]; 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; NSNumber *isDirectoryRestricted = valueDict[@"is_directory_restricted"] ?: nil; DBTEAMAdminTier *role = valueDict[@"role"] ? [DBTEAMAdminTierSerializer deserialize:valueDict[@"role"]] : [[DBTEAMAdminTier alloc] initWithMemberOnly]; 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 "DBTEAMMemberAddResultBase.h" #pragma mark - API Object @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)initWithTeamLicenseLimit:(NSString *)teamLicenseLimit { self = [super init]; if (self) { _tag = DBTEAMMemberAddResultBaseTeamLicenseLimit; _teamLicenseLimit = teamLicenseLimit; } return self; } - (instancetype)initWithFreeTeamMemberLimitReached:(NSString *)freeTeamMemberLimitReached { self = [super init]; if (self) { _tag = DBTEAMMemberAddResultBaseFreeTeamMemberLimitReached; _freeTeamMemberLimitReached = freeTeamMemberLimitReached; } return self; } - (instancetype)initWithUserAlreadyOnTeam:(NSString *)userAlreadyOnTeam { self = [super init]; if (self) { _tag = DBTEAMMemberAddResultBaseUserAlreadyOnTeam; _userAlreadyOnTeam = userAlreadyOnTeam; } return self; } - (instancetype)initWithUserOnAnotherTeam:(NSString *)userOnAnotherTeam { self = [super init]; if (self) { _tag = DBTEAMMemberAddResultBaseUserOnAnotherTeam; _userOnAnotherTeam = userOnAnotherTeam; } return self; } - (instancetype)initWithUserAlreadyPaired:(NSString *)userAlreadyPaired { self = [super init]; if (self) { _tag = DBTEAMMemberAddResultBaseUserAlreadyPaired; _userAlreadyPaired = userAlreadyPaired; } return self; } - (instancetype)initWithUserMigrationFailed:(NSString *)userMigrationFailed { self = [super init]; if (self) { _tag = DBTEAMMemberAddResultBaseUserMigrationFailed; _userMigrationFailed = userMigrationFailed; } return self; } - (instancetype)initWithDuplicateExternalMemberId:(NSString *)duplicateExternalMemberId { self = [super init]; if (self) { _tag = DBTEAMMemberAddResultBaseDuplicateExternalMemberId; _duplicateExternalMemberId = duplicateExternalMemberId; } return self; } - (instancetype)initWithDuplicateMemberPersistentId:(NSString *)duplicateMemberPersistentId { self = [super init]; if (self) { _tag = DBTEAMMemberAddResultBaseDuplicateMemberPersistentId; _duplicateMemberPersistentId = duplicateMemberPersistentId; } return self; } - (instancetype)initWithPersistentIdDisabled:(NSString *)persistentIdDisabled { self = [super init]; if (self) { _tag = DBTEAMMemberAddResultBasePersistentIdDisabled; _persistentIdDisabled = persistentIdDisabled; } return self; } - (instancetype)initWithUserCreationFailed:(NSString *)userCreationFailed { self = [super init]; if (self) { _tag = DBTEAMMemberAddResultBaseUserCreationFailed; _userCreationFailed = userCreationFailed; } return self; } #pragma mark - Instance field accessors - (NSString *)teamLicenseLimit { if (![self isTeamLicenseLimit]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMMemberAddResultBaseTeamLicenseLimit, but was %@.", [self tagName]]; } return _teamLicenseLimit; } - (NSString *)freeTeamMemberLimitReached { if (![self isFreeTeamMemberLimitReached]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMMemberAddResultBaseFreeTeamMemberLimitReached, but was %@.", [self tagName]]; } return _freeTeamMemberLimitReached; } - (NSString *)userAlreadyOnTeam { if (![self isUserAlreadyOnTeam]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMMemberAddResultBaseUserAlreadyOnTeam, but was %@.", [self tagName]]; } return _userAlreadyOnTeam; } - (NSString *)userOnAnotherTeam { if (![self isUserOnAnotherTeam]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMMemberAddResultBaseUserOnAnotherTeam, but was %@.", [self tagName]]; } return _userOnAnotherTeam; } - (NSString *)userAlreadyPaired { if (![self isUserAlreadyPaired]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMMemberAddResultBaseUserAlreadyPaired, but was %@.", [self tagName]]; } return _userAlreadyPaired; } - (NSString *)userMigrationFailed { if (![self isUserMigrationFailed]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMMemberAddResultBaseUserMigrationFailed, but was %@.", [self tagName]]; } return _userMigrationFailed; } - (NSString *)duplicateExternalMemberId { if (![self isDuplicateExternalMemberId]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMMemberAddResultBaseDuplicateExternalMemberId, but was %@.", [self tagName]]; } return _duplicateExternalMemberId; } - (NSString *)duplicateMemberPersistentId { if (![self isDuplicateMemberPersistentId]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMMemberAddResultBaseDuplicateMemberPersistentId, but was %@.", [self tagName]]; } return _duplicateMemberPersistentId; } - (NSString *)persistentIdDisabled { if (![self isPersistentIdDisabled]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMMemberAddResultBasePersistentIdDisabled, but was %@.", [self tagName]]; } return _persistentIdDisabled; } - (NSString *)userCreationFailed { if (![self isUserCreationFailed]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMMemberAddResultBaseUserCreationFailed, but was %@.", [self tagName]]; } return _userCreationFailed; } #pragma mark - Tag state methods - (BOOL)isTeamLicenseLimit { return _tag == DBTEAMMemberAddResultBaseTeamLicenseLimit; } - (BOOL)isFreeTeamMemberLimitReached { return _tag == DBTEAMMemberAddResultBaseFreeTeamMemberLimitReached; } - (BOOL)isUserAlreadyOnTeam { return _tag == DBTEAMMemberAddResultBaseUserAlreadyOnTeam; } - (BOOL)isUserOnAnotherTeam { return _tag == DBTEAMMemberAddResultBaseUserOnAnotherTeam; } - (BOOL)isUserAlreadyPaired { return _tag == DBTEAMMemberAddResultBaseUserAlreadyPaired; } - (BOOL)isUserMigrationFailed { return _tag == DBTEAMMemberAddResultBaseUserMigrationFailed; } - (BOOL)isDuplicateExternalMemberId { return _tag == DBTEAMMemberAddResultBaseDuplicateExternalMemberId; } - (BOOL)isDuplicateMemberPersistentId { return _tag == DBTEAMMemberAddResultBaseDuplicateMemberPersistentId; } - (BOOL)isPersistentIdDisabled { return _tag == DBTEAMMemberAddResultBasePersistentIdDisabled; } - (BOOL)isUserCreationFailed { return _tag == DBTEAMMemberAddResultBaseUserCreationFailed; } - (NSString *)tagName { switch (_tag) { 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]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMMemberAddResultBaseSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMMemberAddResultBaseSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMMemberAddResultBaseSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToMemberAddResultBase:other]; } - (BOOL)isEqualToMemberAddResultBase:(DBTEAMMemberAddResultBase *)aMemberAddResultBase { if (self == aMemberAddResultBase) { return YES; } if (self.tag != aMemberAddResultBase.tag) { return NO; } switch (_tag) { 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; } @end #pragma mark - Serializer Object @implementation DBTEAMMemberAddResultBaseSerializer + (NSDictionary *)serialize:(DBTEAMMemberAddResultBase *)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 { @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Object not properly initialized. Tag has an unknown value." userInfo:nil]); } return jsonDict; } + (DBTEAMMemberAddResultBase *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; 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:@"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 { 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]; } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMRevokeLinkedAppBatchResult.h" #import "DBTEAMRevokeLinkedAppStatus.h" #pragma mark - API Object @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)initWithAppNotFound { self = [super init]; if (self) { _tag = DBTEAMRevokeLinkedAppErrorAppNotFound; } return self; } - (instancetype)initWithMemberNotFound { self = [super init]; if (self) { _tag = DBTEAMRevokeLinkedAppErrorMemberNotFound; } return self; } - (instancetype)initWithAppFolderRemovalNotSupported { self = [super init]; if (self) { _tag = DBTEAMRevokeLinkedAppErrorAppFolderRemovalNotSupported; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBTEAMRevokeLinkedAppErrorOther; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isAppNotFound { return _tag == DBTEAMRevokeLinkedAppErrorAppNotFound; } - (BOOL)isMemberNotFound { return _tag == DBTEAMRevokeLinkedAppErrorMemberNotFound; } - (BOOL)isAppFolderRemovalNotSupported { return _tag == DBTEAMRevokeLinkedAppErrorAppFolderRemovalNotSupported; } - (BOOL)isOther { return _tag == DBTEAMRevokeLinkedAppErrorOther; } - (NSString *)tagName { switch (_tag) { 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]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMRevokeLinkedAppErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMRevokeLinkedAppErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMRevokeLinkedAppErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 DBTEAMRevokeLinkedAppErrorAppNotFound: result = prime * result + [[self tagName] hash]; break; case DBTEAMRevokeLinkedAppErrorMemberNotFound: result = prime * result + [[self tagName] hash]; break; case DBTEAMRevokeLinkedAppErrorAppFolderRemovalNotSupported: result = prime * result + [[self tagName] hash]; break; case DBTEAMRevokeLinkedAppErrorOther: 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 isEqualToRevokeLinkedAppError:other]; } - (BOOL)isEqualToRevokeLinkedAppError:(DBTEAMRevokeLinkedAppError *)aRevokeLinkedAppError { if (self == aRevokeLinkedAppError) { return YES; } if (self.tag != aRevokeLinkedAppError.tag) { return NO; } switch (_tag) { 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; } @end #pragma mark - Serializer Object @implementation DBTEAMRevokeLinkedAppErrorSerializer + (NSDictionary *)serialize:(DBTEAMRevokeLinkedAppError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; 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; } + (DBTEAMRevokeLinkedAppError *)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]; } else if ([tag isEqualToString:@"app_folder_removal_not_supported"]) { return [[DBTEAMRevokeLinkedAppError alloc] initWithAppFolderRemovalNotSupported]; } else if ([tag isEqualToString:@"other"]) { return [[DBTEAMRevokeLinkedAppError alloc] initWithOther]; } else { return [[DBTEAMRevokeLinkedAppError alloc] initWithOther]; } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMRevokeLinkedAppError.h" #import "DBTEAMRevokeLinkedAppStatus.h" #pragma mark - API Object @implementation DBTEAMRevokeLinkedAppStatus #pragma mark - Constructors - (instancetype)initWithSuccess:(NSNumber *)success errorType:(DBTEAMRevokeLinkedAppError *)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 [DBTEAMRevokeLinkedAppStatusSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMRevokeLinkedAppStatusSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMRevokeLinkedAppStatusSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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 isEqualToRevokeLinkedAppStatus:other]; } - (BOOL)isEqualToRevokeLinkedAppStatus:(DBTEAMRevokeLinkedAppStatus *)aRevokeLinkedAppStatus { if (self == aRevokeLinkedAppStatus) { return YES; } if (![self.success isEqual:aRevokeLinkedAppStatus.success]) { return NO; } if (self.errorType) { if (![self.errorType isEqual:aRevokeLinkedAppStatus.errorType]) { return NO; } } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMRevokeLinkedAppStatusSerializer + (NSDictionary *)serialize:(DBTEAMRevokeLinkedAppStatus *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"success"] = valueObj.success; if (valueObj.errorType) { jsonDict[@"error_type"] = [DBTEAMRevokeLinkedAppErrorSerializer serialize:valueObj.errorType]; } return jsonDict; } + (DBTEAMRevokeLinkedAppStatus *)deserialize:(NSDictionary *)valueDict { NSNumber *success = valueDict[@"success"]; DBTEAMRevokeLinkedAppError *errorType = valueDict[@"error_type"] ? [DBTEAMRevokeLinkedAppErrorSerializer deserialize:valueDict[@"error_type"]] : nil; return [[DBTEAMRevokeLinkedAppStatus alloc] initWithSuccess:success errorType:errorType]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMSetCustomQuotaArg.h" #import "DBTEAMUserCustomQuotaArg.h" #pragma mark - API Object @implementation DBTEAMSetCustomQuotaArg #pragma mark - Constructors - (instancetype)initWithUsersAndQuotas:(NSArray *)usersAndQuotas { [DBStoneValidators nonnullValidator:[DBStoneValidators arrayValidator:nil maxItems:nil itemValidator:[DBStoneValidators nonnullValidator:nil]]](usersAndQuotas); self = [super init]; if (self) { _usersAndQuotas = usersAndQuotas; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMSetCustomQuotaArgSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMSetCustomQuotaArgSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMSetCustomQuotaArgSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.usersAndQuotas hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToSetCustomQuotaArg:other]; } - (BOOL)isEqualToSetCustomQuotaArg:(DBTEAMSetCustomQuotaArg *)aSetCustomQuotaArg { if (self == aSetCustomQuotaArg) { return YES; } if (![self.usersAndQuotas isEqual:aSetCustomQuotaArg.usersAndQuotas]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMSetCustomQuotaArgSerializer + (NSDictionary *)serialize:(DBTEAMSetCustomQuotaArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"users_and_quotas"] = [DBArraySerializer serialize:valueObj.usersAndQuotas withBlock:^id(id elem0) { return [DBTEAMUserCustomQuotaArgSerializer serialize:elem0]; }]; return jsonDict; } + (DBTEAMSetCustomQuotaArg *)deserialize:(NSDictionary *)valueDict { NSArray *usersAndQuotas = [DBArraySerializer deserialize:valueDict[@"users_and_quotas"] withBlock:^id(id elem0) { return [DBTEAMUserCustomQuotaArgSerializer deserialize:elem0]; }]; return [[DBTEAMSetCustomQuotaArg alloc] initWithUsersAndQuotas:usersAndQuotas]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMCustomQuotaError.h" #import "DBTEAMSetCustomQuotaError.h" #pragma mark - API Object @implementation DBTEAMSetCustomQuotaError #pragma mark - Constructors - (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) { _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 [DBTEAMSetCustomQuotaErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMSetCustomQuotaErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMSetCustomQuotaErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToSetCustomQuotaError:other]; } - (BOOL)isEqualToSetCustomQuotaError:(DBTEAMSetCustomQuotaError *)aSetCustomQuotaError { if (self == aSetCustomQuotaError) { return YES; } if (self.tag != aSetCustomQuotaError.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]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMSetCustomQuotaErrorSerializer + (NSDictionary *)serialize:(DBTEAMSetCustomQuotaError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; 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; } + (DBTEAMSetCustomQuotaError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; 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 "DBTEAMSharingAllowlistAddArgs.h" #pragma mark - API Object @implementation DBTEAMSharingAllowlistAddArgs #pragma mark - Constructors - (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); self = [super init]; if (self) { _domains = domains; _emails = emails; } return self; } - (instancetype)initDefault { return [self initWithDomains:nil emails:nil]; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMSharingAllowlistAddArgsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMSharingAllowlistAddArgsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMSharingAllowlistAddArgsSerializer serialize:self] description]; } #pragma mark - Copyable method - (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.domains != nil) { result = prime * result + [self.domains hash]; } if (self.emails != nil) { result = prime * result + [self.emails hash]; } return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToSharingAllowlistAddArgs:other]; } - (BOOL)isEqualToSharingAllowlistAddArgs:(DBTEAMSharingAllowlistAddArgs *)aSharingAllowlistAddArgs { if (self == aSharingAllowlistAddArgs) { return YES; } if (self.domains) { if (![self.domains isEqual:aSharingAllowlistAddArgs.domains]) { return NO; } } if (self.emails) { if (![self.emails isEqual:aSharingAllowlistAddArgs.emails]) { return NO; } } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMSharingAllowlistAddArgsSerializer + (NSDictionary *)serialize:(DBTEAMSharingAllowlistAddArgs *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; 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; } + (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 [[DBTEAMSharingAllowlistAddArgs alloc] initWithDomains:domains emails:emails]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMSharingAllowlistAddError.h" #pragma mark - API Object @implementation DBTEAMSharingAllowlistAddError @synthesize malformedEntry = _malformedEntry; @synthesize entriesAlreadyExist = _entriesAlreadyExist; #pragma mark - Constructors - (instancetype)initWithMalformedEntry:(NSString *)malformedEntry { self = [super init]; if (self) { _tag = DBTEAMSharingAllowlistAddErrorMalformedEntry; _malformedEntry = malformedEntry; } return self; } - (instancetype)initWithNoEntriesProvided { self = [super init]; if (self) { _tag = DBTEAMSharingAllowlistAddErrorNoEntriesProvided; } return self; } - (instancetype)initWithTooManyEntriesProvided { self = [super init]; if (self) { _tag = DBTEAMSharingAllowlistAddErrorTooManyEntriesProvided; } return self; } - (instancetype)initWithTeamLimitReached { self = [super init]; if (self) { _tag = DBTEAMSharingAllowlistAddErrorTeamLimitReached; } return self; } - (instancetype)initWithUnknownError { self = [super init]; if (self) { _tag = DBTEAMSharingAllowlistAddErrorUnknownError; } return self; } - (instancetype)initWithEntriesAlreadyExist:(NSString *)entriesAlreadyExist { self = [super init]; if (self) { _tag = DBTEAMSharingAllowlistAddErrorEntriesAlreadyExist; _entriesAlreadyExist = entriesAlreadyExist; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBTEAMSharingAllowlistAddErrorOther; } return self; } #pragma mark - Instance field accessors - (NSString *)malformedEntry { if (![self isMalformedEntry]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMSharingAllowlistAddErrorMalformedEntry, but was %@.", [self tagName]]; } return _malformedEntry; } - (NSString *)entriesAlreadyExist { if (![self isEntriesAlreadyExist]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMSharingAllowlistAddErrorEntriesAlreadyExist, but was %@.", [self tagName]]; } return _entriesAlreadyExist; } #pragma mark - Tag state methods - (BOOL)isMalformedEntry { return _tag == DBTEAMSharingAllowlistAddErrorMalformedEntry; } - (BOOL)isNoEntriesProvided { return _tag == DBTEAMSharingAllowlistAddErrorNoEntriesProvided; } - (BOOL)isTooManyEntriesProvided { return _tag == DBTEAMSharingAllowlistAddErrorTooManyEntriesProvided; } - (BOOL)isTeamLimitReached { return _tag == DBTEAMSharingAllowlistAddErrorTeamLimitReached; } - (BOOL)isUnknownError { return _tag == DBTEAMSharingAllowlistAddErrorUnknownError; } - (BOOL)isEntriesAlreadyExist { return _tag == DBTEAMSharingAllowlistAddErrorEntriesAlreadyExist; } - (BOOL)isOther { return _tag == DBTEAMSharingAllowlistAddErrorOther; } - (NSString *)tagName { switch (_tag) { 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]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMSharingAllowlistAddErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMSharingAllowlistAddErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMSharingAllowlistAddErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 DBTEAMSharingAllowlistAddErrorMalformedEntry: result = prime * result + [self.malformedEntry hash]; break; case DBTEAMSharingAllowlistAddErrorNoEntriesProvided: result = prime * result + [[self tagName] hash]; break; case DBTEAMSharingAllowlistAddErrorTooManyEntriesProvided: result = prime * result + [[self tagName] hash]; break; case DBTEAMSharingAllowlistAddErrorTeamLimitReached: result = prime * result + [[self tagName] hash]; break; case DBTEAMSharingAllowlistAddErrorUnknownError: result = prime * result + [[self tagName] hash]; break; case DBTEAMSharingAllowlistAddErrorEntriesAlreadyExist: result = prime * result + [self.entriesAlreadyExist hash]; break; case DBTEAMSharingAllowlistAddErrorOther: 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 isEqualToSharingAllowlistAddError:other]; } - (BOOL)isEqualToSharingAllowlistAddError:(DBTEAMSharingAllowlistAddError *)aSharingAllowlistAddError { if (self == aSharingAllowlistAddError) { return YES; } if (self.tag != aSharingAllowlistAddError.tag) { return NO; } switch (_tag) { 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; } @end #pragma mark - Serializer Object @implementation DBTEAMSharingAllowlistAddErrorSerializer + (NSDictionary *)serialize:(DBTEAMSharingAllowlistAddError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; 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; } + (DBTEAMSharingAllowlistAddError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; 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 [[DBTEAMSharingAllowlistAddError alloc] initWithOther]; } else { return [[DBTEAMSharingAllowlistAddError alloc] initWithOther]; } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMSharingAllowlistAddResponse.h" #pragma mark - API Object @implementation DBTEAMSharingAllowlistAddResponse #pragma mark - Constructors - (instancetype)initDefault { self = [super init]; if (self) { } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMSharingAllowlistAddResponseSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMSharingAllowlistAddResponseSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMSharingAllowlistAddResponseSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 isEqualToSharingAllowlistAddResponse:other]; } - (BOOL)isEqualToSharingAllowlistAddResponse:(DBTEAMSharingAllowlistAddResponse *)aSharingAllowlistAddResponse { if (self == aSharingAllowlistAddResponse) { return YES; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMSharingAllowlistAddResponseSerializer + (NSDictionary *)serialize:(DBTEAMSharingAllowlistAddResponse *)valueObj { #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; return jsonDict; } + (DBTEAMSharingAllowlistAddResponse *)deserialize:(NSDictionary *)valueDict { #pragma unused(valueDict) return [[DBTEAMSharingAllowlistAddResponse alloc] initDefault]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMSharingAllowlistListArg.h" #pragma mark - API Object @implementation DBTEAMSharingAllowlistListArg #pragma mark - Constructors - (instancetype)initWithLimit:(NSNumber *)limit { self = [super init]; if (self) { _limit = limit ?: @(1000); } return self; } - (instancetype)initDefault { return [self initWithLimit:nil]; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMSharingAllowlistListArgSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMSharingAllowlistListArgSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMSharingAllowlistListArgSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToSharingAllowlistListArg:other]; } - (BOOL)isEqualToSharingAllowlistListArg:(DBTEAMSharingAllowlistListArg *)aSharingAllowlistListArg { if (self == aSharingAllowlistListArg) { return YES; } if (![self.limit isEqual:aSharingAllowlistListArg.limit]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMSharingAllowlistListArgSerializer + (NSDictionary *)serialize:(DBTEAMSharingAllowlistListArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"limit"] = valueObj.limit; return jsonDict; } + (DBTEAMSharingAllowlistListArg *)deserialize:(NSDictionary *)valueDict { NSNumber *limit = valueDict[@"limit"] ?: @(1000); return [[DBTEAMSharingAllowlistListArg alloc] initWithLimit:limit]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMSharingAllowlistListContinueArg.h" #pragma mark - API Object @implementation DBTEAMSharingAllowlistListContinueArg #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 [DBTEAMSharingAllowlistListContinueArgSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMSharingAllowlistListContinueArgSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMSharingAllowlistListContinueArgSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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 isEqualToSharingAllowlistListContinueArg:other]; } - (BOOL)isEqualToSharingAllowlistListContinueArg: (DBTEAMSharingAllowlistListContinueArg *)aSharingAllowlistListContinueArg { if (self == aSharingAllowlistListContinueArg) { return YES; } if (![self.cursor isEqual:aSharingAllowlistListContinueArg.cursor]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMSharingAllowlistListContinueArgSerializer + (NSDictionary *)serialize:(DBTEAMSharingAllowlistListContinueArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"cursor"] = valueObj.cursor; return jsonDict; } + (DBTEAMSharingAllowlistListContinueArg *)deserialize:(NSDictionary *)valueDict { NSString *cursor = valueDict[@"cursor"]; return [[DBTEAMSharingAllowlistListContinueArg alloc] initWithCursor:cursor]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMSharingAllowlistListContinueError.h" #pragma mark - API Object @implementation DBTEAMSharingAllowlistListContinueError #pragma mark - Constructors - (instancetype)initWithInvalidCursor { self = [super init]; if (self) { _tag = DBTEAMSharingAllowlistListContinueErrorInvalidCursor; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBTEAMSharingAllowlistListContinueErrorOther; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isInvalidCursor { return _tag == DBTEAMSharingAllowlistListContinueErrorInvalidCursor; } - (BOOL)isOther { return _tag == DBTEAMSharingAllowlistListContinueErrorOther; } - (NSString *)tagName { switch (_tag) { case DBTEAMSharingAllowlistListContinueErrorInvalidCursor: return @"DBTEAMSharingAllowlistListContinueErrorInvalidCursor"; case DBTEAMSharingAllowlistListContinueErrorOther: return @"DBTEAMSharingAllowlistListContinueErrorOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMSharingAllowlistListContinueErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMSharingAllowlistListContinueErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMSharingAllowlistListContinueErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 DBTEAMSharingAllowlistListContinueErrorInvalidCursor: result = prime * result + [[self tagName] hash]; break; case DBTEAMSharingAllowlistListContinueErrorOther: 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 isEqualToSharingAllowlistListContinueError:other]; } - (BOOL)isEqualToSharingAllowlistListContinueError: (DBTEAMSharingAllowlistListContinueError *)aSharingAllowlistListContinueError { if (self == aSharingAllowlistListContinueError) { return YES; } if (self.tag != aSharingAllowlistListContinueError.tag) { return NO; } switch (_tag) { case DBTEAMSharingAllowlistListContinueErrorInvalidCursor: return [[self tagName] isEqual:[aSharingAllowlistListContinueError tagName]]; case DBTEAMSharingAllowlistListContinueErrorOther: return [[self tagName] isEqual:[aSharingAllowlistListContinueError tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMSharingAllowlistListContinueErrorSerializer + (NSDictionary *)serialize:(DBTEAMSharingAllowlistListContinueError *)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; } + (DBTEAMSharingAllowlistListContinueError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"invalid_cursor"]) { return [[DBTEAMSharingAllowlistListContinueError alloc] initWithInvalidCursor]; } else if ([tag isEqualToString:@"other"]) { return [[DBTEAMSharingAllowlistListContinueError alloc] initWithOther]; } else { return [[DBTEAMSharingAllowlistListContinueError alloc] initWithOther]; } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMSharingAllowlistListError.h" #pragma mark - API Object @implementation DBTEAMSharingAllowlistListError #pragma mark - Constructors - (instancetype)initDefault { self = [super init]; if (self) { } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMSharingAllowlistListErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMSharingAllowlistListErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMSharingAllowlistListErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 isEqualToSharingAllowlistListError:other]; } - (BOOL)isEqualToSharingAllowlistListError:(DBTEAMSharingAllowlistListError *)aSharingAllowlistListError { if (self == aSharingAllowlistListError) { return YES; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMSharingAllowlistListErrorSerializer + (NSDictionary *)serialize:(DBTEAMSharingAllowlistListError *)valueObj { #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; return jsonDict; } + (DBTEAMSharingAllowlistListError *)deserialize:(NSDictionary *)valueDict { #pragma unused(valueDict) return [[DBTEAMSharingAllowlistListError alloc] initDefault]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMSharingAllowlistListResponse.h" #pragma mark - API Object @implementation DBTEAMSharingAllowlistListResponse #pragma mark - Constructors - (instancetype)initWithDomains:(NSArray *)domains emails:(NSArray *)emails cursor:(NSString *)cursor hasMore:(NSNumber *)hasMore { [DBStoneValidators 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) { _domains = domains; _emails = emails; _cursor = cursor ?: @""; _hasMore = hasMore ?: @NO; } return self; } - (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 [DBTEAMSharingAllowlistListResponseSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMSharingAllowlistListResponseSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMSharingAllowlistListResponseSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToSharingAllowlistListResponse:other]; } - (BOOL)isEqualToSharingAllowlistListResponse:(DBTEAMSharingAllowlistListResponse *)aSharingAllowlistListResponse { if (self == aSharingAllowlistListResponse) { return YES; } if (![self.domains isEqual:aSharingAllowlistListResponse.domains]) { return NO; } if (![self.emails isEqual:aSharingAllowlistListResponse.emails]) { return NO; } if (![self.cursor isEqual:aSharingAllowlistListResponse.cursor]) { return NO; } if (![self.hasMore isEqual:aSharingAllowlistListResponse.hasMore]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMSharingAllowlistListResponseSerializer + (NSDictionary *)serialize:(DBTEAMSharingAllowlistListResponse *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; 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; } + (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 [[DBTEAMSharingAllowlistListResponse alloc] initWithDomains:domains emails:emails cursor:cursor hasMore:hasMore]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMSharingAllowlistRemoveArgs.h" #pragma mark - API Object @implementation DBTEAMSharingAllowlistRemoveArgs #pragma mark - Constructors - (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); self = [super init]; if (self) { _domains = domains; _emails = emails; } return self; } - (instancetype)initDefault { return [self initWithDomains:nil emails:nil]; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMSharingAllowlistRemoveArgsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMSharingAllowlistRemoveArgsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMSharingAllowlistRemoveArgsSerializer serialize:self] description]; } #pragma mark - Copyable method - (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.domains != nil) { result = prime * result + [self.domains hash]; } if (self.emails != nil) { result = prime * result + [self.emails hash]; } return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToSharingAllowlistRemoveArgs:other]; } - (BOOL)isEqualToSharingAllowlistRemoveArgs:(DBTEAMSharingAllowlistRemoveArgs *)aSharingAllowlistRemoveArgs { if (self == aSharingAllowlistRemoveArgs) { return YES; } if (self.domains) { if (![self.domains isEqual:aSharingAllowlistRemoveArgs.domains]) { return NO; } } if (self.emails) { if (![self.emails isEqual:aSharingAllowlistRemoveArgs.emails]) { return NO; } } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMSharingAllowlistRemoveArgsSerializer + (NSDictionary *)serialize:(DBTEAMSharingAllowlistRemoveArgs *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; 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; } + (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; return [[DBTEAMSharingAllowlistRemoveArgs alloc] initWithDomains:domains emails:emails]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMSharingAllowlistRemoveError.h" #pragma mark - API Object @implementation DBTEAMSharingAllowlistRemoveError @synthesize malformedEntry = _malformedEntry; @synthesize entriesDoNotExist = _entriesDoNotExist; #pragma mark - Constructors - (instancetype)initWithMalformedEntry:(NSString *)malformedEntry { self = [super init]; if (self) { _tag = DBTEAMSharingAllowlistRemoveErrorMalformedEntry; _malformedEntry = malformedEntry; } return self; } - (instancetype)initWithEntriesDoNotExist:(NSString *)entriesDoNotExist { self = [super init]; if (self) { _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; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBTEAMSharingAllowlistRemoveErrorOther; } return self; } #pragma mark - Instance field accessors - (NSString *)malformedEntry { if (![self isMalformedEntry]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMSharingAllowlistRemoveErrorMalformedEntry, but was %@.", [self tagName]]; } return _malformedEntry; } - (NSString *)entriesDoNotExist { if (![self isEntriesDoNotExist]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMSharingAllowlistRemoveErrorEntriesDoNotExist, but was %@.", [self tagName]]; } return _entriesDoNotExist; } #pragma mark - Tag state methods - (BOOL)isMalformedEntry { return _tag == DBTEAMSharingAllowlistRemoveErrorMalformedEntry; } - (BOOL)isEntriesDoNotExist { return _tag == DBTEAMSharingAllowlistRemoveErrorEntriesDoNotExist; } - (BOOL)isNoEntriesProvided { return _tag == DBTEAMSharingAllowlistRemoveErrorNoEntriesProvided; } - (BOOL)isTooManyEntriesProvided { return _tag == DBTEAMSharingAllowlistRemoveErrorTooManyEntriesProvided; } - (BOOL)isUnknownError { return _tag == DBTEAMSharingAllowlistRemoveErrorUnknownError; } - (BOOL)isOther { return _tag == DBTEAMSharingAllowlistRemoveErrorOther; } - (NSString *)tagName { switch (_tag) { 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]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMSharingAllowlistRemoveErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMSharingAllowlistRemoveErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMSharingAllowlistRemoveErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToSharingAllowlistRemoveError:other]; } - (BOOL)isEqualToSharingAllowlistRemoveError:(DBTEAMSharingAllowlistRemoveError *)aSharingAllowlistRemoveError { if (self == aSharingAllowlistRemoveError) { return YES; } if (self.tag != aSharingAllowlistRemoveError.tag) { return NO; } switch (_tag) { 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; } @end #pragma mark - Serializer Object @implementation DBTEAMSharingAllowlistRemoveErrorSerializer + (NSDictionary *)serialize:(DBTEAMSharingAllowlistRemoveError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; 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; } + (DBTEAMSharingAllowlistRemoveError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; 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 [[DBTEAMSharingAllowlistRemoveError alloc] initWithOther]; } else { return [[DBTEAMSharingAllowlistRemoveError alloc] initWithOther]; } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMSharingAllowlistRemoveResponse.h" #pragma mark - API Object @implementation DBTEAMSharingAllowlistRemoveResponse #pragma mark - Constructors - (instancetype)initDefault { self = [super init]; if (self) { } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMSharingAllowlistRemoveResponseSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMSharingAllowlistRemoveResponseSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMSharingAllowlistRemoveResponseSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 isEqualToSharingAllowlistRemoveResponse:other]; } - (BOOL)isEqualToSharingAllowlistRemoveResponse: (DBTEAMSharingAllowlistRemoveResponse *)aSharingAllowlistRemoveResponse { if (self == aSharingAllowlistRemoveResponse) { return YES; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMSharingAllowlistRemoveResponseSerializer + (NSDictionary *)serialize:(DBTEAMSharingAllowlistRemoveResponse *)valueObj { #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; return jsonDict; } + (DBTEAMSharingAllowlistRemoveResponse *)deserialize:(NSDictionary *)valueDict { #pragma unused(valueDict) return [[DBTEAMSharingAllowlistRemoveResponse alloc] initDefault]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMStorageBucket.h" #pragma mark - API Object @implementation DBTEAMStorageBucket #pragma mark - Constructors - (instancetype)initWithBucket:(NSString *)bucket users:(NSNumber *)users { [DBStoneValidators nonnullValidator:nil](bucket); [DBStoneValidators nonnullValidator:nil](users); self = [super init]; if (self) { _bucket = bucket; _users = users; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMStorageBucketSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMStorageBucketSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMStorageBucketSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.bucket hash]; result = prime * result + [self.users hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToStorageBucket:other]; } - (BOOL)isEqualToStorageBucket:(DBTEAMStorageBucket *)aStorageBucket { if (self == aStorageBucket) { return YES; } if (![self.bucket isEqual:aStorageBucket.bucket]) { return NO; } if (![self.users isEqual:aStorageBucket.users]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMStorageBucketSerializer + (NSDictionary *)serialize:(DBTEAMStorageBucket *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"bucket"] = valueObj.bucket; jsonDict[@"users"] = valueObj.users; return jsonDict; } + (DBTEAMStorageBucket *)deserialize:(NSDictionary *)valueDict { NSString *bucket = valueDict[@"bucket"]; NSNumber *users = valueDict[@"users"]; return [[DBTEAMStorageBucket alloc] initWithBucket:bucket users:users]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMTeamFolderAccessError.h" #pragma mark - API Object @implementation DBTEAMTeamFolderAccessError #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)initWithOther { self = [super init]; if (self) { _tag = DBTEAMTeamFolderAccessErrorOther; } 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]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMTeamFolderAccessErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMTeamFolderAccessErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToTeamFolderAccessError:other]; } - (BOOL)isEqualToTeamFolderAccessError:(DBTEAMTeamFolderAccessError *)aTeamFolderAccessError { if (self == aTeamFolderAccessError) { return YES; } if (self.tag != aTeamFolderAccessError.tag) { 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; } @end #pragma mark - Serializer Object @implementation DBTEAMTeamFolderAccessErrorSerializer + (NSDictionary *)serialize:(DBTEAMTeamFolderAccessError *)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"; } return jsonDict; } + (DBTEAMTeamFolderAccessError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; 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]; } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMBaseTeamFolderError.h" #import "DBTEAMTeamFolderAccessError.h" #import "DBTEAMTeamFolderActivateError.h" #import "DBTEAMTeamFolderInvalidStatusError.h" #import "DBTEAMTeamFolderTeamSharedDropboxError.h" #pragma mark - API Object @implementation DBTEAMTeamFolderActivateError @synthesize accessError = _accessError; @synthesize statusError = _statusError; @synthesize teamSharedDropboxError = _teamSharedDropboxError; #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 { self = [super init]; if (self) { _tag = DBTEAMTeamFolderActivateErrorTeamSharedDropboxError; _teamSharedDropboxError = teamSharedDropboxError; } return self; } - (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]]; } 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 == DBTEAMTeamFolderActivateErrorOther; } - (NSString *)tagName { switch (_tag) { 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]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMTeamFolderActivateErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMTeamFolderActivateErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMTeamFolderActivateErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToTeamFolderActivateError:other]; } - (BOOL)isEqualToTeamFolderActivateError:(DBTEAMTeamFolderActivateError *)aTeamFolderActivateError { if (self == aTeamFolderActivateError) { return YES; } if (self.tag != aTeamFolderActivateError.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]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMTeamFolderActivateErrorSerializer + (NSDictionary *)serialize:(DBTEAMTeamFolderActivateError *)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"; } return jsonDict; } + (DBTEAMTeamFolderActivateError *)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]; } else if ([tag isEqualToString:@"other"]) { return [[DBTEAMTeamFolderActivateError alloc] initWithOther]; } else { return [[DBTEAMTeamFolderActivateError alloc] initWithOther]; } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMTeamFolderIdArg.h" #pragma mark - API Object @implementation DBTEAMTeamFolderIdArg #pragma mark - Constructors - (instancetype)initWithTeamFolderId:(NSString *)teamFolderId { [DBStoneValidators nonnullValidator:[DBStoneValidators stringValidator:nil maxLength:nil pattern:@"[-_0-9a-zA-Z:]+"]](teamFolderId); self = [super init]; if (self) { _teamFolderId = teamFolderId; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMTeamFolderIdArgSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMTeamFolderIdArgSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMTeamFolderIdArgSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.teamFolderId hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToTeamFolderIdArg:other]; } - (BOOL)isEqualToTeamFolderIdArg:(DBTEAMTeamFolderIdArg *)aTeamFolderIdArg { if (self == aTeamFolderIdArg) { return YES; } if (![self.teamFolderId isEqual:aTeamFolderIdArg.teamFolderId]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMTeamFolderIdArgSerializer + (NSDictionary *)serialize:(DBTEAMTeamFolderIdArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"team_folder_id"] = valueObj.teamFolderId; return jsonDict; } + (DBTEAMTeamFolderIdArg *)deserialize:(NSDictionary *)valueDict { NSString *teamFolderId = valueDict[@"team_folder_id"]; return [[DBTEAMTeamFolderIdArg alloc] initWithTeamFolderId:teamFolderId]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMTeamFolderArchiveArg.h" #import "DBTEAMTeamFolderIdArg.h" #pragma mark - API Object @implementation DBTEAMTeamFolderArchiveArg #pragma mark - Constructors - (instancetype)initWithTeamFolderId:(NSString *)teamFolderId forceAsyncOff:(NSNumber *)forceAsyncOff { [DBStoneValidators nonnullValidator:[DBStoneValidators stringValidator:nil maxLength:nil pattern:@"[-_0-9a-zA-Z:]+"]](teamFolderId); self = [super initWithTeamFolderId:teamFolderId]; if (self) { _forceAsyncOff = forceAsyncOff ?: @NO; } 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]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMTeamFolderArchiveArgSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMTeamFolderArchiveArgSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.teamFolderId hash]; result = prime * result + [self.forceAsyncOff hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToTeamFolderArchiveArg:other]; } - (BOOL)isEqualToTeamFolderArchiveArg:(DBTEAMTeamFolderArchiveArg *)aTeamFolderArchiveArg { if (self == aTeamFolderArchiveArg) { return YES; } if (![self.teamFolderId isEqual:aTeamFolderArchiveArg.teamFolderId]) { return NO; } if (![self.forceAsyncOff isEqual:aTeamFolderArchiveArg.forceAsyncOff]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMTeamFolderArchiveArgSerializer + (NSDictionary *)serialize:(DBTEAMTeamFolderArchiveArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"team_folder_id"] = valueObj.teamFolderId; jsonDict[@"force_async_off"] = valueObj.forceAsyncOff; return jsonDict; } + (DBTEAMTeamFolderArchiveArg *)deserialize:(NSDictionary *)valueDict { NSString *teamFolderId = valueDict[@"team_folder_id"]; NSNumber *forceAsyncOff = valueDict[@"force_async_off"] ?: @NO; return [[DBTEAMTeamFolderArchiveArg alloc] initWithTeamFolderId:teamFolderId forceAsyncOff:forceAsyncOff]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMBaseTeamFolderError.h" #import "DBTEAMTeamFolderAccessError.h" #import "DBTEAMTeamFolderArchiveError.h" #import "DBTEAMTeamFolderInvalidStatusError.h" #import "DBTEAMTeamFolderTeamSharedDropboxError.h" #pragma mark - API Object @implementation DBTEAMTeamFolderArchiveError @synthesize accessError = _accessError; @synthesize statusError = _statusError; @synthesize teamSharedDropboxError = _teamSharedDropboxError; #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)initWithOther { self = [super init]; if (self) { _tag = DBTEAMTeamFolderArchiveErrorOther; } 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]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMTeamFolderArchiveErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMTeamFolderArchiveErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToTeamFolderArchiveError:other]; } - (BOOL)isEqualToTeamFolderArchiveError:(DBTEAMTeamFolderArchiveError *)aTeamFolderArchiveError { if (self == aTeamFolderArchiveError) { return YES; } if (self.tag != aTeamFolderArchiveError.tag) { 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; } @end #pragma mark - Serializer Object @implementation DBTEAMTeamFolderArchiveErrorSerializer + (NSDictionary *)serialize:(DBTEAMTeamFolderArchiveError *)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"; } return jsonDict; } + (DBTEAMTeamFolderArchiveError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; 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 "DBTEAMTeamFolderArchiveError.h" #import "DBTEAMTeamFolderArchiveJobStatus.h" #import "DBTEAMTeamFolderMetadata.h" #pragma mark - API Object @implementation DBTEAMTeamFolderArchiveJobStatus @synthesize complete = _complete; @synthesize failed = _failed; #pragma mark - Constructors - (instancetype)initWithInProgress { self = [super init]; if (self) { _tag = DBTEAMTeamFolderArchiveJobStatusInProgress; } return self; } - (instancetype)initWithComplete:(DBTEAMTeamFolderMetadata *)complete { self = [super init]; if (self) { _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 [DBTEAMTeamFolderArchiveJobStatusSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMTeamFolderArchiveJobStatusSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMTeamFolderArchiveJobStatusSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToTeamFolderArchiveJobStatus:other]; } - (BOOL)isEqualToTeamFolderArchiveJobStatus:(DBTEAMTeamFolderArchiveJobStatus *)aTeamFolderArchiveJobStatus { if (self == aTeamFolderArchiveJobStatus) { return YES; } 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; } @end #pragma mark - Serializer Object @implementation DBTEAMTeamFolderArchiveJobStatusSerializer + (NSDictionary *)serialize:(DBTEAMTeamFolderArchiveJobStatus *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; 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; } + (DBTEAMTeamFolderArchiveJobStatus *)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]; } 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 "DBTEAMTeamFolderArchiveLaunch.h" #import "DBTEAMTeamFolderMetadata.h" #pragma mark - API Object @implementation DBTEAMTeamFolderArchiveLaunch @synthesize asyncJobId = _asyncJobId; @synthesize complete = _complete; #pragma mark - Constructors - (instancetype)initWithAsyncJobId:(NSString *)asyncJobId { self = [super init]; if (self) { _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)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]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMTeamFolderArchiveLaunchSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMTeamFolderArchiveLaunchSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 DBTEAMTeamFolderArchiveLaunchAsyncJobId: result = prime * result + [self.asyncJobId hash]; break; case DBTEAMTeamFolderArchiveLaunchComplete: 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 isEqualToTeamFolderArchiveLaunch:other]; } - (BOOL)isEqualToTeamFolderArchiveLaunch:(DBTEAMTeamFolderArchiveLaunch *)aTeamFolderArchiveLaunch { if (self == aTeamFolderArchiveLaunch) { return YES; } if (self.tag != aTeamFolderArchiveLaunch.tag) { return NO; } switch (_tag) { case DBTEAMTeamFolderArchiveLaunchAsyncJobId: return [self.asyncJobId isEqual:aTeamFolderArchiveLaunch.asyncJobId]; case DBTEAMTeamFolderArchiveLaunchComplete: return [self.complete isEqual:aTeamFolderArchiveLaunch.complete]; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMTeamFolderArchiveLaunchSerializer + (NSDictionary *)serialize:(DBTEAMTeamFolderArchiveLaunch *)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:[DBTEAMTeamFolderMetadataSerializer 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; } + (DBTEAMTeamFolderArchiveLaunch *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; 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]); } } @end #import "DBFILESSyncSettingArg.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMTeamFolderCreateArg.h" #pragma mark - API Object @implementation DBTEAMTeamFolderCreateArg #pragma mark - Constructors - (instancetype)initWithName:(NSString *)name syncSetting:(DBFILESSyncSettingArg *)syncSetting { [DBStoneValidators nonnullValidator:nil](name); self = [super init]; if (self) { _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 [DBTEAMTeamFolderCreateArgSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMTeamFolderCreateArgSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMTeamFolderCreateArgSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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.syncSetting != nil) { result = prime * result + [self.syncSetting hash]; } return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToTeamFolderCreateArg:other]; } - (BOOL)isEqualToTeamFolderCreateArg:(DBTEAMTeamFolderCreateArg *)aTeamFolderCreateArg { if (self == aTeamFolderCreateArg) { return YES; } if (![self.name isEqual:aTeamFolderCreateArg.name]) { return NO; } if (self.syncSetting) { if (![self.syncSetting isEqual:aTeamFolderCreateArg.syncSetting]) { return NO; } } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMTeamFolderCreateArgSerializer + (NSDictionary *)serialize:(DBTEAMTeamFolderCreateArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"name"] = valueObj.name; if (valueObj.syncSetting) { jsonDict[@"sync_setting"] = [DBFILESSyncSettingArgSerializer serialize:valueObj.syncSetting]; } return jsonDict; } + (DBTEAMTeamFolderCreateArg *)deserialize:(NSDictionary *)valueDict { NSString *name = valueDict[@"name"]; DBFILESSyncSettingArg *syncSetting = valueDict[@"sync_setting"] ? [DBFILESSyncSettingArgSerializer deserialize:valueDict[@"sync_setting"]] : nil; return [[DBTEAMTeamFolderCreateArg alloc] initWithName:name syncSetting:syncSetting]; } @end #import "DBFILESSyncSettingsError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMTeamFolderCreateError.h" #pragma mark - API Object @implementation DBTEAMTeamFolderCreateError @synthesize syncSettingsError = _syncSettingsError; #pragma mark - Constructors - (instancetype)initWithInvalidFolderName { self = [super init]; if (self) { _tag = DBTEAMTeamFolderCreateErrorInvalidFolderName; } return self; } - (instancetype)initWithFolderNameAlreadyUsed { self = [super init]; if (self) { _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; } - (instancetype)initWithOther { self = [super init]; if (self) { _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)isInvalidFolderName { return _tag == DBTEAMTeamFolderCreateErrorInvalidFolderName; } - (BOOL)isFolderNameAlreadyUsed { return _tag == DBTEAMTeamFolderCreateErrorFolderNameAlreadyUsed; } - (BOOL)isFolderNameReserved { return _tag == DBTEAMTeamFolderCreateErrorFolderNameReserved; } - (BOOL)isSyncSettingsError { return _tag == DBTEAMTeamFolderCreateErrorSyncSettingsError; } - (BOOL)isOther { return _tag == DBTEAMTeamFolderCreateErrorOther; } - (NSString *)tagName { switch (_tag) { 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]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMTeamFolderCreateErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMTeamFolderCreateErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMTeamFolderCreateErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 DBTEAMTeamFolderCreateErrorInvalidFolderName: result = prime * result + [[self tagName] hash]; break; case DBTEAMTeamFolderCreateErrorFolderNameAlreadyUsed: result = prime * result + [[self tagName] hash]; 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToTeamFolderCreateError:other]; } - (BOOL)isEqualToTeamFolderCreateError:(DBTEAMTeamFolderCreateError *)aTeamFolderCreateError { if (self == aTeamFolderCreateError) { return YES; } if (self.tag != aTeamFolderCreateError.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 DBTEAMTeamFolderCreateErrorSyncSettingsError: return [self.syncSettingsError isEqual:aTeamFolderCreateError.syncSettingsError]; case DBTEAMTeamFolderCreateErrorOther: return [[self tagName] isEqual:[aTeamFolderCreateError tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMTeamFolderCreateErrorSerializer + (NSDictionary *)serialize:(DBTEAMTeamFolderCreateError *)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"; } 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; } + (DBTEAMTeamFolderCreateError *)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]; } 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 [[DBTEAMTeamFolderCreateError alloc] initWithOther]; } else { 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; } #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)isTeamFolderMetadata { return _tag == DBTEAMTeamFolderGetInfoItemTeamFolderMetadata; } - (NSString *)tagName { switch (_tag) { case DBTEAMTeamFolderGetInfoItemIdNotFound: return @"DBTEAMTeamFolderGetInfoItemIdNotFound"; case DBTEAMTeamFolderGetInfoItemTeamFolderMetadata: return @"DBTEAMTeamFolderGetInfoItemTeamFolderMetadata"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMTeamFolderGetInfoItemSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMTeamFolderGetInfoItemSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMTeamFolderGetInfoItemSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 DBTEAMTeamFolderGetInfoItemIdNotFound: result = prime * result + [self.idNotFound hash]; break; case DBTEAMTeamFolderGetInfoItemTeamFolderMetadata: result = prime * result + [self.teamFolderMetadata 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 isEqualToTeamFolderGetInfoItem:other]; } - (BOOL)isEqualToTeamFolderGetInfoItem:(DBTEAMTeamFolderGetInfoItem *)aTeamFolderGetInfoItem { if (self == aTeamFolderGetInfoItem) { return YES; } if (self.tag != aTeamFolderGetInfoItem.tag) { return NO; } switch (_tag) { case DBTEAMTeamFolderGetInfoItemIdNotFound: return [self.idNotFound isEqual:aTeamFolderGetInfoItem.idNotFound]; case DBTEAMTeamFolderGetInfoItemTeamFolderMetadata: return [self.teamFolderMetadata isEqual:aTeamFolderGetInfoItem.teamFolderMetadata]; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMTeamFolderGetInfoItemSerializer + (NSDictionary *)serialize:(DBTEAMTeamFolderGetInfoItem *)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 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; } + (DBTEAMTeamFolderGetInfoItem *)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]; } 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 "DBTEAMTeamFolderIdListArg.h" #pragma mark - API Object @implementation DBTEAMTeamFolderIdListArg #pragma mark - Constructors - (instancetype)initWithTeamFolderIds:(NSArray *)teamFolderIds { [DBStoneValidators 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) { _teamFolderIds = teamFolderIds; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMTeamFolderIdListArgSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMTeamFolderIdListArgSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMTeamFolderIdListArgSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.teamFolderIds hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToTeamFolderIdListArg:other]; } - (BOOL)isEqualToTeamFolderIdListArg:(DBTEAMTeamFolderIdListArg *)aTeamFolderIdListArg { if (self == aTeamFolderIdListArg) { return YES; } if (![self.teamFolderIds isEqual:aTeamFolderIdListArg.teamFolderIds]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMTeamFolderIdListArgSerializer + (NSDictionary *)serialize:(DBTEAMTeamFolderIdListArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"team_folder_ids"] = [DBArraySerializer serialize:valueObj.teamFolderIds withBlock:^id(id elem0) { return elem0; }]; return jsonDict; } + (DBTEAMTeamFolderIdListArg *)deserialize:(NSDictionary *)valueDict { NSArray *teamFolderIds = [DBArraySerializer deserialize:valueDict[@"team_folder_ids"] withBlock:^id(id elem0) { return elem0; }]; return [[DBTEAMTeamFolderIdListArg alloc] initWithTeamFolderIds:teamFolderIds]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMTeamFolderInvalidStatusError.h" #pragma mark - API Object @implementation DBTEAMTeamFolderInvalidStatusError #pragma mark - Constructors - (instancetype)initWithActive { self = [super init]; if (self) { _tag = DBTEAMTeamFolderInvalidStatusErrorActive; } return self; } - (instancetype)initWithArchived { self = [super init]; if (self) { _tag = DBTEAMTeamFolderInvalidStatusErrorArchived; } return self; } - (instancetype)initWithArchiveInProgress { self = [super init]; if (self) { _tag = DBTEAMTeamFolderInvalidStatusErrorArchiveInProgress; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBTEAMTeamFolderInvalidStatusErrorOther; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isActive { return _tag == DBTEAMTeamFolderInvalidStatusErrorActive; } - (BOOL)isArchived { return _tag == DBTEAMTeamFolderInvalidStatusErrorArchived; } - (BOOL)isArchiveInProgress { return _tag == DBTEAMTeamFolderInvalidStatusErrorArchiveInProgress; } - (BOOL)isOther { return _tag == DBTEAMTeamFolderInvalidStatusErrorOther; } - (NSString *)tagName { switch (_tag) { 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]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMTeamFolderInvalidStatusErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMTeamFolderInvalidStatusErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMTeamFolderInvalidStatusErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 DBTEAMTeamFolderInvalidStatusErrorActive: result = prime * result + [[self tagName] hash]; break; case DBTEAMTeamFolderInvalidStatusErrorArchived: result = prime * result + [[self tagName] hash]; break; case DBTEAMTeamFolderInvalidStatusErrorArchiveInProgress: result = prime * result + [[self tagName] hash]; break; case DBTEAMTeamFolderInvalidStatusErrorOther: 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 isEqualToTeamFolderInvalidStatusError:other]; } - (BOOL)isEqualToTeamFolderInvalidStatusError:(DBTEAMTeamFolderInvalidStatusError *)aTeamFolderInvalidStatusError { if (self == aTeamFolderInvalidStatusError) { return YES; } if (self.tag != aTeamFolderInvalidStatusError.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]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMTeamFolderInvalidStatusErrorSerializer + (NSDictionary *)serialize:(DBTEAMTeamFolderInvalidStatusError *)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"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBTEAMTeamFolderInvalidStatusError *)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]; } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMTeamFolderListArg.h" #pragma mark - API Object @implementation DBTEAMTeamFolderListArg #pragma mark - Constructors - (instancetype)initWithLimit:(NSNumber *)limit { self = [super init]; if (self) { _limit = limit ?: @(1000); } return self; } - (instancetype)initDefault { return [self initWithLimit:nil]; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMTeamFolderListArgSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMTeamFolderListArgSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMTeamFolderListArgSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToTeamFolderListArg:other]; } - (BOOL)isEqualToTeamFolderListArg:(DBTEAMTeamFolderListArg *)aTeamFolderListArg { if (self == aTeamFolderListArg) { return YES; } if (![self.limit isEqual:aTeamFolderListArg.limit]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMTeamFolderListArgSerializer + (NSDictionary *)serialize:(DBTEAMTeamFolderListArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"limit"] = valueObj.limit; return jsonDict; } + (DBTEAMTeamFolderListArg *)deserialize:(NSDictionary *)valueDict { NSNumber *limit = valueDict[@"limit"] ?: @(1000); return [[DBTEAMTeamFolderListArg alloc] initWithLimit:limit]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMTeamFolderListContinueArg.h" #pragma mark - API Object @implementation DBTEAMTeamFolderListContinueArg #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 [DBTEAMTeamFolderListContinueArgSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMTeamFolderListContinueArgSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMTeamFolderListContinueArgSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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 isEqualToTeamFolderListContinueArg:other]; } - (BOOL)isEqualToTeamFolderListContinueArg:(DBTEAMTeamFolderListContinueArg *)aTeamFolderListContinueArg { if (self == aTeamFolderListContinueArg) { return YES; } if (![self.cursor isEqual:aTeamFolderListContinueArg.cursor]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMTeamFolderListContinueArgSerializer + (NSDictionary *)serialize:(DBTEAMTeamFolderListContinueArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"cursor"] = valueObj.cursor; return jsonDict; } + (DBTEAMTeamFolderListContinueArg *)deserialize:(NSDictionary *)valueDict { NSString *cursor = valueDict[@"cursor"]; return [[DBTEAMTeamFolderListContinueArg alloc] initWithCursor:cursor]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMTeamFolderListContinueError.h" #pragma mark - API Object @implementation DBTEAMTeamFolderListContinueError #pragma mark - Constructors - (instancetype)initWithInvalidCursor { self = [super init]; if (self) { _tag = DBTEAMTeamFolderListContinueErrorInvalidCursor; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBTEAMTeamFolderListContinueErrorOther; } 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]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMTeamFolderListContinueErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMTeamFolderListContinueErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 DBTEAMTeamFolderListContinueErrorInvalidCursor: result = prime * result + [[self tagName] hash]; break; case DBTEAMTeamFolderListContinueErrorOther: 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 isEqualToTeamFolderListContinueError:other]; } - (BOOL)isEqualToTeamFolderListContinueError:(DBTEAMTeamFolderListContinueError *)aTeamFolderListContinueError { if (self == aTeamFolderListContinueError) { return YES; } if (self.tag != aTeamFolderListContinueError.tag) { return NO; } switch (_tag) { case DBTEAMTeamFolderListContinueErrorInvalidCursor: return [[self tagName] isEqual:[aTeamFolderListContinueError tagName]]; case DBTEAMTeamFolderListContinueErrorOther: return [[self tagName] isEqual:[aTeamFolderListContinueError tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMTeamFolderListContinueErrorSerializer + (NSDictionary *)serialize:(DBTEAMTeamFolderListContinueError *)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; } + (DBTEAMTeamFolderListContinueError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"invalid_cursor"]) { return [[DBTEAMTeamFolderListContinueError alloc] initWithInvalidCursor]; } else if ([tag isEqualToString:@"other"]) { return [[DBTEAMTeamFolderListContinueError alloc] initWithOther]; } else { return [[DBTEAMTeamFolderListContinueError alloc] initWithOther]; } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMTeamFolderAccessError.h" #import "DBTEAMTeamFolderListError.h" #pragma mark - API Object @implementation DBTEAMTeamFolderListError #pragma mark - Constructors - (instancetype)initWithAccessError:(DBTEAMTeamFolderAccessError *)accessError { [DBStoneValidators nonnullValidator:nil](accessError); self = [super init]; if (self) { _accessError = accessError; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMTeamFolderListErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMTeamFolderListErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMTeamFolderListErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.accessError hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToTeamFolderListError:other]; } - (BOOL)isEqualToTeamFolderListError:(DBTEAMTeamFolderListError *)aTeamFolderListError { if (self == aTeamFolderListError) { return YES; } if (![self.accessError isEqual:aTeamFolderListError.accessError]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMTeamFolderListErrorSerializer + (NSDictionary *)serialize:(DBTEAMTeamFolderListError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"access_error"] = [DBTEAMTeamFolderAccessErrorSerializer serialize:valueObj.accessError]; return jsonDict; } + (DBTEAMTeamFolderListError *)deserialize:(NSDictionary *)valueDict { DBTEAMTeamFolderAccessError *accessError = [DBTEAMTeamFolderAccessErrorSerializer deserialize:valueDict[@"access_error"]]; return [[DBTEAMTeamFolderListError alloc] initWithAccessError:accessError]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMTeamFolderListResult.h" #import "DBTEAMTeamFolderMetadata.h" #pragma mark - API Object @implementation DBTEAMTeamFolderListResult #pragma mark - Constructors - (instancetype)initWithTeamFolders:(NSArray *)teamFolders cursor:(NSString *)cursor hasMore:(NSNumber *)hasMore { [DBStoneValidators nonnullValidator:[DBStoneValidators arrayValidator:nil maxItems:nil itemValidator:[DBStoneValidators nonnullValidator:nil]]](teamFolders); [DBStoneValidators nonnullValidator:nil](cursor); [DBStoneValidators nonnullValidator:nil](hasMore); self = [super init]; if (self) { _teamFolders = teamFolders; _cursor = cursor; _hasMore = hasMore; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMTeamFolderListResultSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMTeamFolderListResultSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMTeamFolderListResultSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (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]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToTeamFolderListResult:other]; } - (BOOL)isEqualToTeamFolderListResult:(DBTEAMTeamFolderListResult *)aTeamFolderListResult { if (self == aTeamFolderListResult) { return YES; } if (![self.teamFolders isEqual:aTeamFolderListResult.teamFolders]) { return NO; } if (![self.cursor isEqual:aTeamFolderListResult.cursor]) { return NO; } if (![self.hasMore isEqual:aTeamFolderListResult.hasMore]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMTeamFolderListResultSerializer + (NSDictionary *)serialize:(DBTEAMTeamFolderListResult *)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; 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"]; return [[DBTEAMTeamFolderListResult alloc] initWithTeamFolders:teamFolders cursor:cursor hasMore:hasMore]; } @end #import "DBFILESContentSyncSetting.h" #import "DBFILESSyncSetting.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMTeamFolderMetadata.h" #import "DBTEAMTeamFolderStatus.h" #pragma mark - API Object @implementation DBTEAMTeamFolderMetadata #pragma mark - Constructors - (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); self = [super init]; if (self) { _teamFolderId = teamFolderId; _name = name; _status = status; _isTeamSharedDropbox = isTeamSharedDropbox; _syncSetting = syncSetting; _contentSyncSettings = contentSyncSettings; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMTeamFolderMetadataSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMTeamFolderMetadataSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMTeamFolderMetadataSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (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]; result = prime * result + [self.syncSetting hash]; result = prime * result + [self.contentSyncSettings hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToTeamFolderMetadata:other]; } - (BOOL)isEqualToTeamFolderMetadata:(DBTEAMTeamFolderMetadata *)aTeamFolderMetadata { if (self == aTeamFolderMetadata) { return YES; } if (![self.teamFolderId isEqual:aTeamFolderMetadata.teamFolderId]) { return NO; } 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; } @end #pragma mark - Serializer Object @implementation DBTEAMTeamFolderMetadataSerializer + (NSDictionary *)serialize:(DBTEAMTeamFolderMetadata *)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; 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; } + (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]; }]; return [[DBTEAMTeamFolderMetadata alloc] initWithTeamFolderId:teamFolderId name:name status:status isTeamSharedDropbox:isTeamSharedDropbox syncSetting:syncSetting contentSyncSettings:contentSyncSettings]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMBaseTeamFolderError.h" #import "DBTEAMTeamFolderAccessError.h" #import "DBTEAMTeamFolderInvalidStatusError.h" #import "DBTEAMTeamFolderPermanentlyDeleteError.h" #import "DBTEAMTeamFolderTeamSharedDropboxError.h" #pragma mark - API Object @implementation DBTEAMTeamFolderPermanentlyDeleteError @synthesize accessError = _accessError; @synthesize statusError = _statusError; @synthesize teamSharedDropboxError = _teamSharedDropboxError; #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 { self = [super init]; if (self) { _tag = DBTEAMTeamFolderPermanentlyDeleteErrorTeamSharedDropboxError; _teamSharedDropboxError = teamSharedDropboxError; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBTEAMTeamFolderPermanentlyDeleteErrorOther; } 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)isOther { return _tag == DBTEAMTeamFolderPermanentlyDeleteErrorOther; } - (NSString *)tagName { switch (_tag) { 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]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMTeamFolderPermanentlyDeleteErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMTeamFolderPermanentlyDeleteErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMTeamFolderPermanentlyDeleteErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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]; 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 isEqualToTeamFolderPermanentlyDeleteError:other]; } - (BOOL)isEqualToTeamFolderPermanentlyDeleteError: (DBTEAMTeamFolderPermanentlyDeleteError *)aTeamFolderPermanentlyDeleteError { if (self == aTeamFolderPermanentlyDeleteError) { return YES; } if (self.tag != aTeamFolderPermanentlyDeleteError.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]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMTeamFolderPermanentlyDeleteErrorSerializer + (NSDictionary *)serialize:(DBTEAMTeamFolderPermanentlyDeleteError *)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"; } return jsonDict; } + (DBTEAMTeamFolderPermanentlyDeleteError *)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]; } else { return [[DBTEAMTeamFolderPermanentlyDeleteError alloc] initWithOther]; } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMTeamFolderIdArg.h" #import "DBTEAMTeamFolderRenameArg.h" #pragma mark - API Object @implementation DBTEAMTeamFolderRenameArg #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); self = [super initWithTeamFolderId:teamFolderId]; if (self) { _name = name; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMTeamFolderRenameArgSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMTeamFolderRenameArgSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMTeamFolderRenameArgSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.teamFolderId 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 isEqualToTeamFolderRenameArg:other]; } - (BOOL)isEqualToTeamFolderRenameArg:(DBTEAMTeamFolderRenameArg *)aTeamFolderRenameArg { if (self == aTeamFolderRenameArg) { return YES; } if (![self.teamFolderId isEqual:aTeamFolderRenameArg.teamFolderId]) { return NO; } if (![self.name isEqual:aTeamFolderRenameArg.name]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMTeamFolderRenameArgSerializer + (NSDictionary *)serialize:(DBTEAMTeamFolderRenameArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"team_folder_id"] = valueObj.teamFolderId; jsonDict[@"name"] = valueObj.name; return jsonDict; } + (DBTEAMTeamFolderRenameArg *)deserialize:(NSDictionary *)valueDict { NSString *teamFolderId = valueDict[@"team_folder_id"]; NSString *name = valueDict[@"name"]; return [[DBTEAMTeamFolderRenameArg alloc] initWithTeamFolderId:teamFolderId name:name]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMBaseTeamFolderError.h" #import "DBTEAMTeamFolderAccessError.h" #import "DBTEAMTeamFolderInvalidStatusError.h" #import "DBTEAMTeamFolderRenameError.h" #import "DBTEAMTeamFolderTeamSharedDropboxError.h" #pragma mark - API Object @implementation DBTEAMTeamFolderRenameError @synthesize accessError = _accessError; @synthesize statusError = _statusError; @synthesize teamSharedDropboxError = _teamSharedDropboxError; #pragma mark - Constructors - (instancetype)initWithAccessError:(DBTEAMTeamFolderAccessError *)accessError { self = [super init]; if (self) { _tag = DBTEAMTeamFolderRenameErrorAccessError; _accessError = accessError; } return self; } - (instancetype)initWithStatusError:(DBTEAMTeamFolderInvalidStatusError *)statusError { self = [super init]; if (self) { _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 [DBTEAMTeamFolderRenameErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMTeamFolderRenameErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMTeamFolderRenameErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToTeamFolderRenameError:other]; } - (BOOL)isEqualToTeamFolderRenameError:(DBTEAMTeamFolderRenameError *)aTeamFolderRenameError { if (self == aTeamFolderRenameError) { return YES; } 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; } @end #pragma mark - Serializer Object @implementation DBTEAMTeamFolderRenameErrorSerializer + (NSDictionary *)serialize:(DBTEAMTeamFolderRenameError *)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 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; } + (DBTEAMTeamFolderRenameError *)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]; } 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 "DBTEAMTeamFolderStatus.h" #pragma mark - API Object @implementation DBTEAMTeamFolderStatus #pragma mark - Constructors - (instancetype)initWithActive { self = [super init]; if (self) { _tag = DBTEAMTeamFolderStatusActive; } return self; } - (instancetype)initWithArchived { self = [super init]; if (self) { _tag = DBTEAMTeamFolderStatusArchived; } return self; } - (instancetype)initWithArchiveInProgress { self = [super init]; if (self) { _tag = DBTEAMTeamFolderStatusArchiveInProgress; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBTEAMTeamFolderStatusOther; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isActive { return _tag == DBTEAMTeamFolderStatusActive; } - (BOOL)isArchived { return _tag == DBTEAMTeamFolderStatusArchived; } - (BOOL)isArchiveInProgress { return _tag == DBTEAMTeamFolderStatusArchiveInProgress; } - (BOOL)isOther { return _tag == DBTEAMTeamFolderStatusOther; } - (NSString *)tagName { switch (_tag) { 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]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMTeamFolderStatusSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMTeamFolderStatusSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMTeamFolderStatusSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 DBTEAMTeamFolderStatusActive: result = prime * result + [[self tagName] hash]; break; case DBTEAMTeamFolderStatusArchived: result = prime * result + [[self tagName] hash]; break; case DBTEAMTeamFolderStatusArchiveInProgress: result = prime * result + [[self tagName] hash]; break; case DBTEAMTeamFolderStatusOther: 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 isEqualToTeamFolderStatus:other]; } - (BOOL)isEqualToTeamFolderStatus:(DBTEAMTeamFolderStatus *)aTeamFolderStatus { if (self == aTeamFolderStatus) { return YES; } if (self.tag != aTeamFolderStatus.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]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMTeamFolderStatusSerializer + (NSDictionary *)serialize:(DBTEAMTeamFolderStatus *)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"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBTEAMTeamFolderStatus *)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]; } else if ([tag isEqualToString:@"other"]) { return [[DBTEAMTeamFolderStatus alloc] initWithOther]; } else { return [[DBTEAMTeamFolderStatus alloc] initWithOther]; } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMTeamFolderTeamSharedDropboxError.h" #pragma mark - API Object @implementation DBTEAMTeamFolderTeamSharedDropboxError #pragma mark - Constructors - (instancetype)initWithDisallowed { self = [super init]; if (self) { _tag = DBTEAMTeamFolderTeamSharedDropboxErrorDisallowed; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBTEAMTeamFolderTeamSharedDropboxErrorOther; } 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]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMTeamFolderTeamSharedDropboxErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMTeamFolderTeamSharedDropboxErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 DBTEAMTeamFolderTeamSharedDropboxErrorDisallowed: result = prime * result + [[self tagName] hash]; break; case DBTEAMTeamFolderTeamSharedDropboxErrorOther: 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 isEqualToTeamFolderTeamSharedDropboxError:other]; } - (BOOL)isEqualToTeamFolderTeamSharedDropboxError: (DBTEAMTeamFolderTeamSharedDropboxError *)aTeamFolderTeamSharedDropboxError { if (self == aTeamFolderTeamSharedDropboxError) { return YES; } if (self.tag != aTeamFolderTeamSharedDropboxError.tag) { return NO; } switch (_tag) { case DBTEAMTeamFolderTeamSharedDropboxErrorDisallowed: return [[self tagName] isEqual:[aTeamFolderTeamSharedDropboxError tagName]]; case DBTEAMTeamFolderTeamSharedDropboxErrorOther: return [[self tagName] isEqual:[aTeamFolderTeamSharedDropboxError tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMTeamFolderTeamSharedDropboxErrorSerializer + (NSDictionary *)serialize:(DBTEAMTeamFolderTeamSharedDropboxError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isDisallowed]) { jsonDict[@".tag"] = @"disallowed"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBTEAMTeamFolderTeamSharedDropboxError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"disallowed"]) { return [[DBTEAMTeamFolderTeamSharedDropboxError alloc] initWithDisallowed]; } else if ([tag isEqualToString:@"other"]) { return [[DBTEAMTeamFolderTeamSharedDropboxError alloc] initWithOther]; } else { return [[DBTEAMTeamFolderTeamSharedDropboxError alloc] initWithOther]; } } @end #import "DBFILESContentSyncSettingArg.h" #import "DBFILESSyncSettingArg.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMTeamFolderIdArg.h" #import "DBTEAMTeamFolderUpdateSyncSettingsArg.h" #pragma mark - API Object @implementation DBTEAMTeamFolderUpdateSyncSettingsArg #pragma mark - Constructors - (instancetype)initWithTeamFolderId:(NSString *)teamFolderId syncSetting:(DBFILESSyncSettingArg *)syncSetting contentSyncSettings:(NSArray *)contentSyncSettings { [DBStoneValidators 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 initWithTeamFolderId:teamFolderId]; if (self) { _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 [DBTEAMTeamFolderUpdateSyncSettingsArgSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMTeamFolderUpdateSyncSettingsArgSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMTeamFolderUpdateSyncSettingsArgSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToTeamFolderUpdateSyncSettingsArg:other]; } - (BOOL)isEqualToTeamFolderUpdateSyncSettingsArg: (DBTEAMTeamFolderUpdateSyncSettingsArg *)aTeamFolderUpdateSyncSettingsArg { if (self == aTeamFolderUpdateSyncSettingsArg) { return YES; } 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; } @end #pragma mark - Serializer Object @implementation DBTEAMTeamFolderUpdateSyncSettingsArgSerializer + (NSDictionary *)serialize:(DBTEAMTeamFolderUpdateSyncSettingsArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; 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; } + (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 [[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 DBTEAMTeamFolderUpdateSyncSettingsError @synthesize accessError = _accessError; @synthesize statusError = _statusError; @synthesize teamSharedDropboxError = _teamSharedDropboxError; @synthesize syncSettingsError = _syncSettingsError; #pragma mark - Constructors - (instancetype)initWithAccessError:(DBTEAMTeamFolderAccessError *)accessError { self = [super init]; if (self) { _tag = DBTEAMTeamFolderUpdateSyncSettingsErrorAccessError; _accessError = accessError; } return self; } - (instancetype)initWithStatusError:(DBTEAMTeamFolderInvalidStatusError *)statusError { self = [super init]; if (self) { _tag = DBTEAMTeamFolderUpdateSyncSettingsErrorStatusError; _statusError = statusError; } return self; } - (instancetype)initWithTeamSharedDropboxError:(DBTEAMTeamFolderTeamSharedDropboxError *)teamSharedDropboxError { self = [super init]; if (self) { _tag = DBTEAMTeamFolderUpdateSyncSettingsErrorTeamSharedDropboxError; _teamSharedDropboxError = teamSharedDropboxError; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _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)isAccessError { return _tag == DBTEAMTeamFolderUpdateSyncSettingsErrorAccessError; } - (BOOL)isStatusError { return _tag == DBTEAMTeamFolderUpdateSyncSettingsErrorStatusError; } - (BOOL)isTeamSharedDropboxError { return _tag == DBTEAMTeamFolderUpdateSyncSettingsErrorTeamSharedDropboxError; } - (BOOL)isOther { return _tag == DBTEAMTeamFolderUpdateSyncSettingsErrorOther; } - (BOOL)isSyncSettingsError { return _tag == DBTEAMTeamFolderUpdateSyncSettingsErrorSyncSettingsError; } - (NSString *)tagName { switch (_tag) { 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]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMTeamFolderUpdateSyncSettingsErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMTeamFolderUpdateSyncSettingsErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMTeamFolderUpdateSyncSettingsErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToTeamFolderUpdateSyncSettingsError:other]; } - (BOOL)isEqualToTeamFolderUpdateSyncSettingsError: (DBTEAMTeamFolderUpdateSyncSettingsError *)aTeamFolderUpdateSyncSettingsError { if (self == aTeamFolderUpdateSyncSettingsError) { return YES; } if (self.tag != aTeamFolderUpdateSyncSettingsError.tag) { return NO; } switch (_tag) { 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; } @end #pragma mark - Serializer Object @implementation DBTEAMTeamFolderUpdateSyncSettingsErrorSerializer + (NSDictionary *)serialize:(DBTEAMTeamFolderUpdateSyncSettingsError *)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 if ([valueObj isSyncSettingsError]) { jsonDict[@"sync_settings_error"] = [[DBFILESSyncSettingsErrorSerializer serialize:valueObj.syncSettingsError] mutableCopy]; jsonDict[@".tag"] = @"sync_settings_error"; } else { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBTEAMTeamFolderUpdateSyncSettingsError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; 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 "DBTEAMAdminTier.h" #import "DBTEAMTeamMemberInfo.h" #import "DBTEAMTeamMemberProfile.h" #pragma mark - API Object @implementation DBTEAMTeamMemberInfo #pragma mark - Constructors - (instancetype)initWithProfile:(DBTEAMTeamMemberProfile *)profile role:(DBTEAMAdminTier *)role { [DBStoneValidators nonnullValidator:nil](profile); [DBStoneValidators nonnullValidator:nil](role); self = [super init]; if (self) { _profile = profile; _role = role; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMTeamMemberInfoSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMTeamMemberInfoSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMTeamMemberInfoSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.profile 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 isEqualToTeamMemberInfo:other]; } - (BOOL)isEqualToTeamMemberInfo:(DBTEAMTeamMemberInfo *)aTeamMemberInfo { if (self == aTeamMemberInfo) { return YES; } if (![self.profile isEqual:aTeamMemberInfo.profile]) { return NO; } if (![self.role isEqual:aTeamMemberInfo.role]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMTeamMemberInfoSerializer + (NSDictionary *)serialize:(DBTEAMTeamMemberInfo *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"profile"] = [DBTEAMTeamMemberProfileSerializer serialize:valueObj.profile]; jsonDict[@"role"] = [DBTEAMAdminTierSerializer serialize:valueObj.role]; return jsonDict; } + (DBTEAMTeamMemberInfo *)deserialize:(NSDictionary *)valueDict { DBTEAMTeamMemberProfile *profile = [DBTEAMTeamMemberProfileSerializer deserialize:valueDict[@"profile"]]; DBTEAMAdminTier *role = [DBTEAMAdminTierSerializer deserialize:valueDict[@"role"]]; return [[DBTEAMTeamMemberInfo alloc] initWithProfile:profile role:role]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMTeamMemberInfoV2.h" #import "DBTEAMTeamMemberProfile.h" #import "DBTEAMTeamMemberRole.h" #pragma mark - API Object @implementation DBTEAMTeamMemberInfoV2 #pragma mark - Constructors - (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) { _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 [DBTEAMTeamMemberInfoV2Serializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMTeamMemberInfoV2Serializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMTeamMemberInfoV2Serializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.profile 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 isEqualToTeamMemberInfoV2:other]; } - (BOOL)isEqualToTeamMemberInfoV2:(DBTEAMTeamMemberInfoV2 *)aTeamMemberInfoV2 { if (self == aTeamMemberInfoV2) { return YES; } if (![self.profile isEqual:aTeamMemberInfoV2.profile]) { return NO; } if (self.roles) { if (![self.roles isEqual:aTeamMemberInfoV2.roles]) { return NO; } } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMTeamMemberInfoV2Serializer + (NSDictionary *)serialize:(DBTEAMTeamMemberInfoV2 *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; 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; } + (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 [[DBTEAMTeamMemberInfoV2 alloc] initWithProfile:profile roles:roles]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMTeamMemberInfoV2.h" #import "DBTEAMTeamMemberInfoV2Result.h" #pragma mark - API Object @implementation DBTEAMTeamMemberInfoV2Result #pragma mark - Constructors - (instancetype)initWithMemberInfo:(DBTEAMTeamMemberInfoV2 *)memberInfo { [DBStoneValidators nonnullValidator:nil](memberInfo); self = [super init]; if (self) { _memberInfo = memberInfo; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMTeamMemberInfoV2ResultSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMTeamMemberInfoV2ResultSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMTeamMemberInfoV2ResultSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.memberInfo hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToTeamMemberInfoV2Result:other]; } - (BOOL)isEqualToTeamMemberInfoV2Result:(DBTEAMTeamMemberInfoV2Result *)aTeamMemberInfoV2Result { if (self == aTeamMemberInfoV2Result) { return YES; } if (![self.memberInfo isEqual:aTeamMemberInfoV2Result.memberInfo]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMTeamMemberInfoV2ResultSerializer + (NSDictionary *)serialize:(DBTEAMTeamMemberInfoV2Result *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"member_info"] = [DBTEAMTeamMemberInfoV2Serializer serialize:valueObj.memberInfo]; return jsonDict; } + (DBTEAMTeamMemberInfoV2Result *)deserialize:(NSDictionary *)valueDict { DBTEAMTeamMemberInfoV2 *memberInfo = [DBTEAMTeamMemberInfoV2Serializer deserialize:valueDict[@"member_info"]]; return [[DBTEAMTeamMemberInfoV2Result alloc] initWithMemberInfo:memberInfo]; } @end #import "DBSECONDARYEMAILSSecondaryEmail.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMMemberProfile.h" #import "DBTEAMTeamMemberProfile.h" #import "DBTEAMTeamMemberStatus.h" #import "DBTEAMTeamMembershipType.h" #import "DBUSERSName.h" #pragma mark - API Object @implementation DBTEAMTeamMemberProfile #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 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 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) { _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 [DBTEAMTeamMemberProfileSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMTeamMemberProfileSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMTeamMemberProfileSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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]; 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToTeamMemberProfile:other]; } - (BOOL)isEqualToTeamMemberProfile:(DBTEAMTeamMemberProfile *)aTeamMemberProfile { if (self == aTeamMemberProfile) { 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]) { 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; } @end #pragma mark - Serializer Object @implementation DBTEAMTeamMemberProfileSerializer + (NSDictionary *)serialize:(DBTEAMTeamMemberProfile *)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.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; } + (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 [[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 "DBTEAMTeamMemberRole.h" #pragma mark - API Object @implementation DBTEAMTeamMemberRole #pragma mark - Constructors - (instancetype)initWithRoleId:(NSString *)roleId name:(NSString *)name description_:(NSString *)description_ { [DBStoneValidators 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) { _roleId = roleId; _name = name; _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMTeamMemberRoleSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMTeamMemberRoleSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMTeamMemberRoleSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.roleId hash]; result = prime * result + [self.name hash]; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToTeamMemberRole:other]; } - (BOOL)isEqualToTeamMemberRole:(DBTEAMTeamMemberRole *)aTeamMemberRole { if (self == aTeamMemberRole) { return YES; } if (![self.roleId isEqual:aTeamMemberRole.roleId]) { return NO; } if (![self.name isEqual:aTeamMemberRole.name]) { return NO; } if (![self.description_ isEqual:aTeamMemberRole.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMTeamMemberRoleSerializer + (NSDictionary *)serialize:(DBTEAMTeamMemberRole *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"role_id"] = valueObj.roleId; jsonDict[@"name"] = valueObj.name; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMTeamMemberRole *)deserialize:(NSDictionary *)valueDict { NSString *roleId = valueDict[@"role_id"]; NSString *name = valueDict[@"name"]; NSString *description_ = valueDict[@"description"]; 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; } #pragma mark - Tag state methods - (BOOL)isActive { return _tag == DBTEAMTeamMemberStatusActive; } - (BOOL)isInvited { return _tag == DBTEAMTeamMemberStatusInvited; } - (BOOL)isSuspended { return _tag == DBTEAMTeamMemberStatusSuspended; } - (BOOL)isRemoved { return _tag == DBTEAMTeamMemberStatusRemoved; } - (NSString *)tagName { switch (_tag) { case DBTEAMTeamMemberStatusActive: return @"DBTEAMTeamMemberStatusActive"; case DBTEAMTeamMemberStatusInvited: return @"DBTEAMTeamMemberStatusInvited"; case DBTEAMTeamMemberStatusSuspended: return @"DBTEAMTeamMemberStatusSuspended"; case DBTEAMTeamMemberStatusRemoved: return @"DBTEAMTeamMemberStatusRemoved"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMTeamMemberStatusSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMTeamMemberStatusSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMTeamMemberStatusSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToTeamMemberStatus:other]; } - (BOOL)isEqualToTeamMemberStatus:(DBTEAMTeamMemberStatus *)aTeamMemberStatus { if (self == aTeamMemberStatus) { return YES; } if (self.tag != aTeamMemberStatus.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]; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMTeamMemberStatusSerializer + (NSDictionary *)serialize:(DBTEAMTeamMemberStatus *)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 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; } + (DBTEAMTeamMemberStatus *)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]; } 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 "DBTEAMTeamMembershipType.h" #pragma mark - API Object @implementation DBTEAMTeamMembershipType #pragma mark - Constructors - (instancetype)initWithFull { self = [super init]; if (self) { _tag = DBTEAMTeamMembershipTypeFull; } return self; } - (instancetype)initWithLimited { self = [super init]; if (self) { _tag = DBTEAMTeamMembershipTypeLimited; } 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"; } @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 - Debug Description method - (NSString *)debugDescription { return [[DBTEAMTeamMembershipTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 DBTEAMTeamMembershipTypeFull: result = prime * result + [[self tagName] hash]; break; case DBTEAMTeamMembershipTypeLimited: 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 isEqualToTeamMembershipType:other]; } - (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]]; } return YES; } @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]); } return jsonDict; } + (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]); } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMTeamNamespacesListArg.h" #pragma mark - API Object @implementation DBTEAMTeamNamespacesListArg #pragma mark - Constructors - (instancetype)initWithLimit:(NSNumber *)limit { self = [super init]; if (self) { _limit = limit ?: @(1000); } return self; } - (instancetype)initDefault { return [self initWithLimit:nil]; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMTeamNamespacesListArgSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMTeamNamespacesListArgSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMTeamNamespacesListArgSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToTeamNamespacesListArg:other]; } - (BOOL)isEqualToTeamNamespacesListArg:(DBTEAMTeamNamespacesListArg *)aTeamNamespacesListArg { if (self == aTeamNamespacesListArg) { return YES; } if (![self.limit isEqual:aTeamNamespacesListArg.limit]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMTeamNamespacesListArgSerializer + (NSDictionary *)serialize:(DBTEAMTeamNamespacesListArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"limit"] = valueObj.limit; return jsonDict; } + (DBTEAMTeamNamespacesListArg *)deserialize:(NSDictionary *)valueDict { NSNumber *limit = valueDict[@"limit"] ?: @(1000); return [[DBTEAMTeamNamespacesListArg alloc] initWithLimit:limit]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMTeamNamespacesListContinueArg.h" #pragma mark - API Object @implementation DBTEAMTeamNamespacesListContinueArg #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 [DBTEAMTeamNamespacesListContinueArgSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMTeamNamespacesListContinueArgSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMTeamNamespacesListContinueArgSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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 isEqualToTeamNamespacesListContinueArg:other]; } - (BOOL)isEqualToTeamNamespacesListContinueArg:(DBTEAMTeamNamespacesListContinueArg *)aTeamNamespacesListContinueArg { if (self == aTeamNamespacesListContinueArg) { return YES; } if (![self.cursor isEqual:aTeamNamespacesListContinueArg.cursor]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMTeamNamespacesListContinueArgSerializer + (NSDictionary *)serialize:(DBTEAMTeamNamespacesListContinueArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"cursor"] = valueObj.cursor; return jsonDict; } + (DBTEAMTeamNamespacesListContinueArg *)deserialize:(NSDictionary *)valueDict { NSString *cursor = valueDict[@"cursor"]; return [[DBTEAMTeamNamespacesListContinueArg alloc] initWithCursor:cursor]; } @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; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBTEAMTeamNamespacesListErrorOther; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isInvalidArg { return _tag == DBTEAMTeamNamespacesListErrorInvalidArg; } - (BOOL)isOther { return _tag == DBTEAMTeamNamespacesListErrorOther; } - (NSString *)tagName { switch (_tag) { case DBTEAMTeamNamespacesListErrorInvalidArg: return @"DBTEAMTeamNamespacesListErrorInvalidArg"; case DBTEAMTeamNamespacesListErrorOther: return @"DBTEAMTeamNamespacesListErrorOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMTeamNamespacesListErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMTeamNamespacesListErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMTeamNamespacesListErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 DBTEAMTeamNamespacesListErrorInvalidArg: result = prime * result + [[self tagName] hash]; break; case DBTEAMTeamNamespacesListErrorOther: 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 isEqualToTeamNamespacesListError:other]; } - (BOOL)isEqualToTeamNamespacesListError:(DBTEAMTeamNamespacesListError *)aTeamNamespacesListError { if (self == aTeamNamespacesListError) { return YES; } if (self.tag != aTeamNamespacesListError.tag) { return NO; } switch (_tag) { case DBTEAMTeamNamespacesListErrorInvalidArg: return [[self tagName] isEqual:[aTeamNamespacesListError tagName]]; case DBTEAMTeamNamespacesListErrorOther: return [[self tagName] isEqual:[aTeamNamespacesListError tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMTeamNamespacesListErrorSerializer + (NSDictionary *)serialize:(DBTEAMTeamNamespacesListError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isInvalidArg]) { jsonDict[@".tag"] = @"invalid_arg"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBTEAMTeamNamespacesListError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"invalid_arg"]) { return [[DBTEAMTeamNamespacesListError alloc] initWithInvalidArg]; } else if ([tag isEqualToString:@"other"]) { return [[DBTEAMTeamNamespacesListError alloc] initWithOther]; } else { return [[DBTEAMTeamNamespacesListError alloc] initWithOther]; } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMTeamNamespacesListContinueError.h" #import "DBTEAMTeamNamespacesListError.h" #pragma mark - API Object @implementation DBTEAMTeamNamespacesListContinueError #pragma mark - Constructors - (instancetype)initWithInvalidArg { self = [super init]; if (self) { _tag = DBTEAMTeamNamespacesListContinueErrorInvalidArg; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBTEAMTeamNamespacesListContinueErrorOther; } return self; } - (instancetype)initWithInvalidCursor { self = [super init]; if (self) { _tag = DBTEAMTeamNamespacesListContinueErrorInvalidCursor; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isInvalidArg { return _tag == DBTEAMTeamNamespacesListContinueErrorInvalidArg; } - (BOOL)isOther { return _tag == DBTEAMTeamNamespacesListContinueErrorOther; } - (BOOL)isInvalidCursor { return _tag == DBTEAMTeamNamespacesListContinueErrorInvalidCursor; } - (NSString *)tagName { switch (_tag) { case DBTEAMTeamNamespacesListContinueErrorInvalidArg: return @"DBTEAMTeamNamespacesListContinueErrorInvalidArg"; case DBTEAMTeamNamespacesListContinueErrorOther: return @"DBTEAMTeamNamespacesListContinueErrorOther"; case DBTEAMTeamNamespacesListContinueErrorInvalidCursor: return @"DBTEAMTeamNamespacesListContinueErrorInvalidCursor"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMTeamNamespacesListContinueErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMTeamNamespacesListContinueErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMTeamNamespacesListContinueErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 DBTEAMTeamNamespacesListContinueErrorInvalidArg: result = prime * result + [[self tagName] hash]; break; case DBTEAMTeamNamespacesListContinueErrorOther: result = prime * result + [[self tagName] hash]; break; case DBTEAMTeamNamespacesListContinueErrorInvalidCursor: 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 isEqualToTeamNamespacesListContinueError:other]; } - (BOOL)isEqualToTeamNamespacesListContinueError: (DBTEAMTeamNamespacesListContinueError *)aTeamNamespacesListContinueError { if (self == aTeamNamespacesListContinueError) { return YES; } if (self.tag != aTeamNamespacesListContinueError.tag) { return NO; } switch (_tag) { 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; } @end #pragma mark - Serializer Object @implementation DBTEAMTeamNamespacesListContinueErrorSerializer + (NSDictionary *)serialize:(DBTEAMTeamNamespacesListContinueError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; 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; } + (DBTEAMTeamNamespacesListContinueError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"invalid_arg"]) { return [[DBTEAMTeamNamespacesListContinueError alloc] initWithInvalidArg]; } else if ([tag isEqualToString:@"other"]) { return [[DBTEAMTeamNamespacesListContinueError alloc] initWithOther]; } else if ([tag isEqualToString:@"invalid_cursor"]) { return [[DBTEAMTeamNamespacesListContinueError alloc] initWithInvalidCursor]; } else { return [[DBTEAMTeamNamespacesListContinueError alloc] initWithOther]; } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMNamespaceMetadata.h" #import "DBTEAMTeamNamespacesListResult.h" #pragma mark - API Object @implementation DBTEAMTeamNamespacesListResult #pragma mark - Constructors - (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); self = [super init]; if (self) { _namespaces = namespaces; _cursor = cursor; _hasMore = hasMore; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMTeamNamespacesListResultSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMTeamNamespacesListResultSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMTeamNamespacesListResultSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (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]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToTeamNamespacesListResult:other]; } - (BOOL)isEqualToTeamNamespacesListResult:(DBTEAMTeamNamespacesListResult *)aTeamNamespacesListResult { if (self == aTeamNamespacesListResult) { return YES; } if (![self.namespaces isEqual:aTeamNamespacesListResult.namespaces]) { return NO; } if (![self.cursor isEqual:aTeamNamespacesListResult.cursor]) { return NO; } if (![self.hasMore isEqual:aTeamNamespacesListResult.hasMore]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMTeamNamespacesListResultSerializer + (NSDictionary *)serialize:(DBTEAMTeamNamespacesListResult *)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; return jsonDict; } + (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"]; return [[DBTEAMTeamNamespacesListResult alloc] initWithNamespaces:namespaces cursor:cursor hasMore:hasMore]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMTeamReportFailureReason.h" #pragma mark - API Object @implementation DBTEAMTeamReportFailureReason #pragma mark - Constructors - (instancetype)initWithTemporaryError { self = [super init]; if (self) { _tag = DBTEAMTeamReportFailureReasonTemporaryError; } return self; } - (instancetype)initWithManyReportsAtOnce { self = [super init]; if (self) { _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 [DBTEAMTeamReportFailureReasonSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMTeamReportFailureReasonSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMTeamReportFailureReasonSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToTeamReportFailureReason:other]; } - (BOOL)isEqualToTeamReportFailureReason:(DBTEAMTeamReportFailureReason *)aTeamReportFailureReason { if (self == aTeamReportFailureReason) { return YES; } if (self.tag != aTeamReportFailureReason.tag) { 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; } @end #pragma mark - Serializer Object @implementation DBTEAMTeamReportFailureReasonSerializer + (NSDictionary *)serialize:(DBTEAMTeamReportFailureReason *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; 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; } + (DBTEAMTeamReportFailureReason *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; 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 "DBTEAMTokenGetAuthenticatedAdminError.h" #pragma mark - API Object @implementation DBTEAMTokenGetAuthenticatedAdminError #pragma mark - Constructors - (instancetype)initWithMappingNotFound { self = [super init]; if (self) { _tag = DBTEAMTokenGetAuthenticatedAdminErrorMappingNotFound; } return self; } - (instancetype)initWithAdminNotActive { self = [super init]; if (self) { _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 [DBTEAMTokenGetAuthenticatedAdminErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMTokenGetAuthenticatedAdminErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMTokenGetAuthenticatedAdminErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToTokenGetAuthenticatedAdminError:other]; } - (BOOL)isEqualToTokenGetAuthenticatedAdminError: (DBTEAMTokenGetAuthenticatedAdminError *)aTokenGetAuthenticatedAdminError { if (self == aTokenGetAuthenticatedAdminError) { return YES; } if (self.tag != aTokenGetAuthenticatedAdminError.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]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMTokenGetAuthenticatedAdminErrorSerializer + (NSDictionary *)serialize:(DBTEAMTokenGetAuthenticatedAdminError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; 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; } + (DBTEAMTokenGetAuthenticatedAdminError *)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]; } else if ([tag isEqualToString:@"other"]) { return [[DBTEAMTokenGetAuthenticatedAdminError alloc] initWithOther]; } else { return [[DBTEAMTokenGetAuthenticatedAdminError alloc] initWithOther]; } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMTeamMemberProfile.h" #import "DBTEAMTokenGetAuthenticatedAdminResult.h" #pragma mark - API Object @implementation DBTEAMTokenGetAuthenticatedAdminResult #pragma mark - Constructors - (instancetype)initWithAdminProfile:(DBTEAMTeamMemberProfile *)adminProfile { [DBStoneValidators nonnullValidator:nil](adminProfile); self = [super init]; if (self) { _adminProfile = adminProfile; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMTokenGetAuthenticatedAdminResultSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMTokenGetAuthenticatedAdminResultSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMTokenGetAuthenticatedAdminResultSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.adminProfile hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToTokenGetAuthenticatedAdminResult:other]; } - (BOOL)isEqualToTokenGetAuthenticatedAdminResult: (DBTEAMTokenGetAuthenticatedAdminResult *)aTokenGetAuthenticatedAdminResult { if (self == aTokenGetAuthenticatedAdminResult) { return YES; } if (![self.adminProfile isEqual:aTokenGetAuthenticatedAdminResult.adminProfile]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMTokenGetAuthenticatedAdminResultSerializer + (NSDictionary *)serialize:(DBTEAMTokenGetAuthenticatedAdminResult *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"admin_profile"] = [DBTEAMTeamMemberProfileSerializer serialize:valueObj.adminProfile]; return jsonDict; } + (DBTEAMTokenGetAuthenticatedAdminResult *)deserialize:(NSDictionary *)valueDict { DBTEAMTeamMemberProfile *adminProfile = [DBTEAMTeamMemberProfileSerializer deserialize:valueDict[@"admin_profile"]]; return [[DBTEAMTokenGetAuthenticatedAdminResult alloc] initWithAdminProfile:adminProfile]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMUploadApiRateLimitValue.h" #pragma mark - API Object @implementation DBTEAMUploadApiRateLimitValue @synthesize limit = _limit; #pragma mark - Constructors - (instancetype)initWithUnlimited { self = [super init]; if (self) { _tag = DBTEAMUploadApiRateLimitValueUnlimited; } return self; } - (instancetype)initWithLimit:(NSNumber *)limit { self = [super init]; if (self) { _tag = DBTEAMUploadApiRateLimitValueLimit; _limit = limit; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBTEAMUploadApiRateLimitValueOther; } return self; } #pragma mark - Instance field accessors - (NSNumber *)limit { if (![self isLimit]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMUploadApiRateLimitValueLimit, but was %@.", [self tagName]]; } return _limit; } #pragma mark - Tag state methods - (BOOL)isUnlimited { return _tag == DBTEAMUploadApiRateLimitValueUnlimited; } - (BOOL)isLimit { return _tag == DBTEAMUploadApiRateLimitValueLimit; } - (BOOL)isOther { return _tag == DBTEAMUploadApiRateLimitValueOther; } - (NSString *)tagName { switch (_tag) { case DBTEAMUploadApiRateLimitValueUnlimited: return @"DBTEAMUploadApiRateLimitValueUnlimited"; case DBTEAMUploadApiRateLimitValueLimit: return @"DBTEAMUploadApiRateLimitValueLimit"; case DBTEAMUploadApiRateLimitValueOther: return @"DBTEAMUploadApiRateLimitValueOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMUploadApiRateLimitValueSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMUploadApiRateLimitValueSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMUploadApiRateLimitValueSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 DBTEAMUploadApiRateLimitValueUnlimited: result = prime * result + [[self tagName] hash]; break; case DBTEAMUploadApiRateLimitValueLimit: result = prime * result + [self.limit hash]; break; case DBTEAMUploadApiRateLimitValueOther: 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 isEqualToUploadApiRateLimitValue:other]; } - (BOOL)isEqualToUploadApiRateLimitValue:(DBTEAMUploadApiRateLimitValue *)anUploadApiRateLimitValue { if (self == anUploadApiRateLimitValue) { return YES; } if (self.tag != anUploadApiRateLimitValue.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]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMUploadApiRateLimitValueSerializer + (NSDictionary *)serialize:(DBTEAMUploadApiRateLimitValue *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; 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 { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBTEAMUploadApiRateLimitValue *)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]; } else if ([tag isEqualToString:@"other"]) { return [[DBTEAMUploadApiRateLimitValue alloc] initWithOther]; } else { return [[DBTEAMUploadApiRateLimitValue alloc] initWithOther]; } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMUserAddResult.h" #import "DBTEAMUserSecondaryEmailsResult.h" #import "DBTEAMUserSelectorArg.h" #pragma mark - API Object @implementation DBTEAMUserAddResult @synthesize success = _success; @synthesize invalidUser = _invalidUser; @synthesize unverified = _unverified; @synthesize placeholderUser = _placeholderUser; #pragma mark - Constructors - (instancetype)initWithSuccess:(DBTEAMUserSecondaryEmailsResult *)success { self = [super init]; if (self) { _tag = DBTEAMUserAddResultSuccess; _success = success; } return self; } - (instancetype)initWithInvalidUser:(DBTEAMUserSelectorArg *)invalidUser { self = [super init]; if (self) { _tag = DBTEAMUserAddResultInvalidUser; _invalidUser = invalidUser; } return self; } - (instancetype)initWithUnverified:(DBTEAMUserSelectorArg *)unverified { self = [super init]; if (self) { _tag = DBTEAMUserAddResultUnverified; _unverified = unverified; } return self; } - (instancetype)initWithPlaceholderUser:(DBTEAMUserSelectorArg *)placeholderUser { self = [super init]; if (self) { _tag = DBTEAMUserAddResultPlaceholderUser; _placeholderUser = placeholderUser; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBTEAMUserAddResultOther; } return self; } #pragma mark - Instance field accessors - (DBTEAMUserSecondaryEmailsResult *)success { if (![self isSuccess]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMUserAddResultSuccess, but was %@.", [self tagName]]; } return _success; } - (DBTEAMUserSelectorArg *)invalidUser { if (![self isInvalidUser]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMUserAddResultInvalidUser, but was %@.", [self tagName]]; } return _invalidUser; } - (DBTEAMUserSelectorArg *)unverified { if (![self isUnverified]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMUserAddResultUnverified, but was %@.", [self tagName]]; } return _unverified; } - (DBTEAMUserSelectorArg *)placeholderUser { if (![self isPlaceholderUser]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMUserAddResultPlaceholderUser, but was %@.", [self tagName]]; } return _placeholderUser; } #pragma mark - Tag state methods - (BOOL)isSuccess { return _tag == DBTEAMUserAddResultSuccess; } - (BOOL)isInvalidUser { return _tag == DBTEAMUserAddResultInvalidUser; } - (BOOL)isUnverified { return _tag == DBTEAMUserAddResultUnverified; } - (BOOL)isPlaceholderUser { return _tag == DBTEAMUserAddResultPlaceholderUser; } - (BOOL)isOther { return _tag == DBTEAMUserAddResultOther; } - (NSString *)tagName { switch (_tag) { case DBTEAMUserAddResultSuccess: return @"DBTEAMUserAddResultSuccess"; case DBTEAMUserAddResultInvalidUser: return @"DBTEAMUserAddResultInvalidUser"; case DBTEAMUserAddResultUnverified: return @"DBTEAMUserAddResultUnverified"; case DBTEAMUserAddResultPlaceholderUser: return @"DBTEAMUserAddResultPlaceholderUser"; case DBTEAMUserAddResultOther: return @"DBTEAMUserAddResultOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMUserAddResultSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMUserAddResultSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMUserAddResultSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToUserAddResult:other]; } - (BOOL)isEqualToUserAddResult:(DBTEAMUserAddResult *)anUserAddResult { if (self == anUserAddResult) { return YES; } 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; } @end #pragma mark - Serializer Object @implementation DBTEAMUserAddResultSerializer + (NSDictionary *)serialize:(DBTEAMUserAddResult *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; 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; } + (DBTEAMUserAddResult *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; 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 "DBTEAMUserCustomQuotaArg.h" #import "DBTEAMUserSelectorArg.h" #pragma mark - API Object @implementation DBTEAMUserCustomQuotaArg #pragma mark - Constructors - (instancetype)initWithUser:(DBTEAMUserSelectorArg *)user quotaGb:(NSNumber *)quotaGb { [DBStoneValidators nonnullValidator:nil](user); [DBStoneValidators nonnullValidator:[DBStoneValidators numericValidator:@(15) maxValue:nil]](quotaGb); self = [super init]; if (self) { _user = user; _quotaGb = quotaGb; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMUserCustomQuotaArgSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMUserCustomQuotaArgSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMUserCustomQuotaArgSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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.quotaGb hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToUserCustomQuotaArg:other]; } - (BOOL)isEqualToUserCustomQuotaArg:(DBTEAMUserCustomQuotaArg *)anUserCustomQuotaArg { if (self == anUserCustomQuotaArg) { return YES; } if (![self.user isEqual:anUserCustomQuotaArg.user]) { return NO; } if (![self.quotaGb isEqual:anUserCustomQuotaArg.quotaGb]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMUserCustomQuotaArgSerializer + (NSDictionary *)serialize:(DBTEAMUserCustomQuotaArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"user"] = [DBTEAMUserSelectorArgSerializer serialize:valueObj.user]; jsonDict[@"quota_gb"] = valueObj.quotaGb; return jsonDict; } + (DBTEAMUserCustomQuotaArg *)deserialize:(NSDictionary *)valueDict { DBTEAMUserSelectorArg *user = [DBTEAMUserSelectorArgSerializer deserialize:valueDict[@"user"]]; NSNumber *quotaGb = valueDict[@"quota_gb"]; return [[DBTEAMUserCustomQuotaArg alloc] initWithUser:user quotaGb:quotaGb]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMUserCustomQuotaResult.h" #import "DBTEAMUserSelectorArg.h" #pragma mark - API Object @implementation DBTEAMUserCustomQuotaResult #pragma mark - Constructors - (instancetype)initWithUser:(DBTEAMUserSelectorArg *)user quotaGb:(NSNumber *)quotaGb { [DBStoneValidators nonnullValidator:nil](user); [DBStoneValidators nullableValidator:[DBStoneValidators numericValidator:@(15) maxValue:nil]](quotaGb); self = [super init]; if (self) { _user = user; _quotaGb = quotaGb; } 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]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMUserCustomQuotaResultSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMUserCustomQuotaResultSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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.quotaGb != nil) { result = prime * result + [self.quotaGb hash]; } return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToUserCustomQuotaResult:other]; } - (BOOL)isEqualToUserCustomQuotaResult:(DBTEAMUserCustomQuotaResult *)anUserCustomQuotaResult { if (self == anUserCustomQuotaResult) { return YES; } if (![self.user isEqual:anUserCustomQuotaResult.user]) { return NO; } if (self.quotaGb) { if (![self.quotaGb isEqual:anUserCustomQuotaResult.quotaGb]) { return NO; } } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMUserCustomQuotaResultSerializer + (NSDictionary *)serialize:(DBTEAMUserCustomQuotaResult *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"user"] = [DBTEAMUserSelectorArgSerializer serialize:valueObj.user]; if (valueObj.quotaGb) { jsonDict[@"quota_gb"] = valueObj.quotaGb; } return jsonDict; } + (DBTEAMUserCustomQuotaResult *)deserialize:(NSDictionary *)valueDict { DBTEAMUserSelectorArg *user = [DBTEAMUserSelectorArgSerializer deserialize:valueDict[@"user"]]; NSNumber *quotaGb = valueDict[@"quota_gb"] ?: nil; return [[DBTEAMUserCustomQuotaResult alloc] initWithUser:user quotaGb:quotaGb]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMDeleteSecondaryEmailResult.h" #import "DBTEAMUserDeleteEmailsResult.h" #import "DBTEAMUserSelectorArg.h" #pragma mark - API Object @implementation DBTEAMUserDeleteEmailsResult #pragma mark - Constructors - (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) { _user = user; _results = results; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMUserDeleteEmailsResultSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMUserDeleteEmailsResultSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMUserDeleteEmailsResultSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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.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 isEqualToUserDeleteEmailsResult:other]; } - (BOOL)isEqualToUserDeleteEmailsResult:(DBTEAMUserDeleteEmailsResult *)anUserDeleteEmailsResult { if (self == anUserDeleteEmailsResult) { return YES; } if (![self.user isEqual:anUserDeleteEmailsResult.user]) { return NO; } if (![self.results isEqual:anUserDeleteEmailsResult.results]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMUserDeleteEmailsResultSerializer + (NSDictionary *)serialize:(DBTEAMUserDeleteEmailsResult *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"user"] = [DBTEAMUserSelectorArgSerializer serialize:valueObj.user]; jsonDict[@"results"] = [DBArraySerializer serialize:valueObj.results withBlock:^id(id elem0) { return [DBTEAMDeleteSecondaryEmailResultSerializer serialize:elem0]; }]; return jsonDict; } + (DBTEAMUserDeleteEmailsResult *)deserialize:(NSDictionary *)valueDict { DBTEAMUserSelectorArg *user = [DBTEAMUserSelectorArgSerializer deserialize:valueDict[@"user"]]; NSArray *results = [DBArraySerializer deserialize:valueDict[@"results"] withBlock:^id(id elem0) { return [DBTEAMDeleteSecondaryEmailResultSerializer deserialize:elem0]; }]; return [[DBTEAMUserDeleteEmailsResult alloc] initWithUser:user results:results]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMUserDeleteEmailsResult.h" #import "DBTEAMUserDeleteResult.h" #import "DBTEAMUserSelectorArg.h" #pragma mark - API Object @implementation DBTEAMUserDeleteResult @synthesize success = _success; @synthesize invalidUser = _invalidUser; #pragma mark - Constructors - (instancetype)initWithSuccess:(DBTEAMUserDeleteEmailsResult *)success { self = [super init]; if (self) { _tag = DBTEAMUserDeleteResultSuccess; _success = success; } return self; } - (instancetype)initWithInvalidUser:(DBTEAMUserSelectorArg *)invalidUser { self = [super init]; if (self) { _tag = DBTEAMUserDeleteResultInvalidUser; _invalidUser = invalidUser; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _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)isSuccess { return _tag == DBTEAMUserDeleteResultSuccess; } - (BOOL)isInvalidUser { return _tag == DBTEAMUserDeleteResultInvalidUser; } - (BOOL)isOther { return _tag == DBTEAMUserDeleteResultOther; } - (NSString *)tagName { switch (_tag) { case DBTEAMUserDeleteResultSuccess: return @"DBTEAMUserDeleteResultSuccess"; case DBTEAMUserDeleteResultInvalidUser: return @"DBTEAMUserDeleteResultInvalidUser"; case DBTEAMUserDeleteResultOther: return @"DBTEAMUserDeleteResultOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMUserDeleteResultSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMUserDeleteResultSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMUserDeleteResultSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToUserDeleteResult:other]; } - (BOOL)isEqualToUserDeleteResult:(DBTEAMUserDeleteResult *)anUserDeleteResult { if (self == anUserDeleteResult) { return YES; } if (self.tag != anUserDeleteResult.tag) { return NO; } switch (_tag) { 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; } @end #pragma mark - Serializer Object @implementation DBTEAMUserDeleteResultSerializer + (NSDictionary *)serialize:(DBTEAMUserDeleteResult *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; 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; } + (DBTEAMUserDeleteResult *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; 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 [[DBTEAMUserDeleteResult alloc] initWithOther]; } else { return [[DBTEAMUserDeleteResult alloc] initWithOther]; } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMResendSecondaryEmailResult.h" #import "DBTEAMUserResendEmailsResult.h" #import "DBTEAMUserSelectorArg.h" #pragma mark - API Object @implementation DBTEAMUserResendEmailsResult #pragma mark - Constructors - (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) { _user = user; _results = results; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMUserResendEmailsResultSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMUserResendEmailsResultSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMUserResendEmailsResultSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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.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 isEqualToUserResendEmailsResult:other]; } - (BOOL)isEqualToUserResendEmailsResult:(DBTEAMUserResendEmailsResult *)anUserResendEmailsResult { if (self == anUserResendEmailsResult) { return YES; } if (![self.user isEqual:anUserResendEmailsResult.user]) { return NO; } if (![self.results isEqual:anUserResendEmailsResult.results]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMUserResendEmailsResultSerializer + (NSDictionary *)serialize:(DBTEAMUserResendEmailsResult *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"user"] = [DBTEAMUserSelectorArgSerializer serialize:valueObj.user]; jsonDict[@"results"] = [DBArraySerializer serialize:valueObj.results withBlock:^id(id elem0) { return [DBTEAMResendSecondaryEmailResultSerializer serialize:elem0]; }]; return jsonDict; } + (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 [[DBTEAMUserResendEmailsResult alloc] initWithUser:user results:results]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMUserResendEmailsResult.h" #import "DBTEAMUserResendResult.h" #import "DBTEAMUserSelectorArg.h" #pragma mark - API Object @implementation DBTEAMUserResendResult @synthesize success = _success; @synthesize invalidUser = _invalidUser; #pragma mark - Constructors - (instancetype)initWithSuccess:(DBTEAMUserResendEmailsResult *)success { self = [super init]; if (self) { _tag = DBTEAMUserResendResultSuccess; _success = success; } return self; } - (instancetype)initWithInvalidUser:(DBTEAMUserSelectorArg *)invalidUser { self = [super init]; if (self) { _tag = DBTEAMUserResendResultInvalidUser; _invalidUser = invalidUser; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBTEAMUserResendResultOther; } return self; } #pragma mark - Instance field accessors - (DBTEAMUserResendEmailsResult *)success { if (![self isSuccess]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMUserResendResultSuccess, but was %@.", [self tagName]]; } 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)isSuccess { return _tag == DBTEAMUserResendResultSuccess; } - (BOOL)isInvalidUser { return _tag == DBTEAMUserResendResultInvalidUser; } - (BOOL)isOther { return _tag == DBTEAMUserResendResultOther; } - (NSString *)tagName { switch (_tag) { case DBTEAMUserResendResultSuccess: return @"DBTEAMUserResendResultSuccess"; case DBTEAMUserResendResultInvalidUser: return @"DBTEAMUserResendResultInvalidUser"; case DBTEAMUserResendResultOther: return @"DBTEAMUserResendResultOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMUserResendResultSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMUserResendResultSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMUserResendResultSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToUserResendResult:other]; } - (BOOL)isEqualToUserResendResult:(DBTEAMUserResendResult *)anUserResendResult { if (self == anUserResendResult) { return YES; } if (self.tag != anUserResendResult.tag) { return NO; } switch (_tag) { 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; } @end #pragma mark - Serializer Object @implementation DBTEAMUserResendResultSerializer + (NSDictionary *)serialize:(DBTEAMUserResendResult *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; 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; } + (DBTEAMUserResendResult *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; 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 [[DBTEAMUserResendResult alloc] initWithOther]; } else { return [[DBTEAMUserResendResult alloc] initWithOther]; } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMUserSecondaryEmailsArg.h" #import "DBTEAMUserSelectorArg.h" #pragma mark - API Object @implementation DBTEAMUserSecondaryEmailsArg #pragma mark - Constructors - (instancetype)initWithUser:(DBTEAMUserSelectorArg *)user secondaryEmails:(NSArray *)secondaryEmails { [DBStoneValidators nonnullValidator:nil](user); [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; _secondaryEmails = secondaryEmails; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMUserSecondaryEmailsArgSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMUserSecondaryEmailsArgSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMUserSecondaryEmailsArgSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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.secondaryEmails hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToUserSecondaryEmailsArg:other]; } - (BOOL)isEqualToUserSecondaryEmailsArg:(DBTEAMUserSecondaryEmailsArg *)anUserSecondaryEmailsArg { if (self == anUserSecondaryEmailsArg) { return YES; } if (![self.user isEqual:anUserSecondaryEmailsArg.user]) { return NO; } if (![self.secondaryEmails isEqual:anUserSecondaryEmailsArg.secondaryEmails]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMUserSecondaryEmailsArgSerializer + (NSDictionary *)serialize:(DBTEAMUserSecondaryEmailsArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"user"] = [DBTEAMUserSelectorArgSerializer serialize:valueObj.user]; jsonDict[@"secondary_emails"] = [DBArraySerializer serialize:valueObj.secondaryEmails withBlock:^id(id elem0) { return elem0; }]; return jsonDict; } + (DBTEAMUserSecondaryEmailsArg *)deserialize:(NSDictionary *)valueDict { DBTEAMUserSelectorArg *user = [DBTEAMUserSelectorArgSerializer deserialize:valueDict[@"user"]]; NSArray *secondaryEmails = [DBArraySerializer deserialize:valueDict[@"secondary_emails"] withBlock:^id(id elem0) { return elem0; }]; return [[DBTEAMUserSecondaryEmailsArg alloc] initWithUser:user secondaryEmails:secondaryEmails]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMAddSecondaryEmailResult.h" #import "DBTEAMUserSecondaryEmailsResult.h" #import "DBTEAMUserSelectorArg.h" #pragma mark - API Object @implementation DBTEAMUserSecondaryEmailsResult #pragma mark - Constructors - (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) { _user = user; _results = results; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMUserSecondaryEmailsResultSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMUserSecondaryEmailsResultSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMUserSecondaryEmailsResultSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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.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 isEqualToUserSecondaryEmailsResult:other]; } - (BOOL)isEqualToUserSecondaryEmailsResult:(DBTEAMUserSecondaryEmailsResult *)anUserSecondaryEmailsResult { if (self == anUserSecondaryEmailsResult) { return YES; } if (![self.user isEqual:anUserSecondaryEmailsResult.user]) { return NO; } if (![self.results isEqual:anUserSecondaryEmailsResult.results]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMUserSecondaryEmailsResultSerializer + (NSDictionary *)serialize:(DBTEAMUserSecondaryEmailsResult *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"user"] = [DBTEAMUserSelectorArgSerializer serialize:valueObj.user]; jsonDict[@"results"] = [DBArraySerializer serialize:valueObj.results withBlock:^id(id elem0) { return [DBTEAMAddSecondaryEmailResultSerializer serialize:elem0]; }]; return jsonDict; } + (DBTEAMUserSecondaryEmailsResult *)deserialize:(NSDictionary *)valueDict { DBTEAMUserSelectorArg *user = [DBTEAMUserSelectorArgSerializer deserialize:valueDict[@"user"]]; NSArray *results = [DBArraySerializer deserialize:valueDict[@"results"] withBlock:^id(id elem0) { return [DBTEAMAddSecondaryEmailResultSerializer deserialize:elem0]; }]; return [[DBTEAMUserSecondaryEmailsResult alloc] initWithUser:user results:results]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMUserSelectorArg.h" #pragma mark - API Object @implementation DBTEAMUserSelectorArg @synthesize teamMemberId = _teamMemberId; @synthesize externalId = _externalId; @synthesize email = _email; #pragma mark - Constructors - (instancetype)initWithTeamMemberId:(NSString *)teamMemberId { self = [super init]; if (self) { _tag = DBTEAMUserSelectorArgTeamMemberId; _teamMemberId = teamMemberId; } return self; } - (instancetype)initWithExternalId:(NSString *)externalId { self = [super init]; if (self) { _tag = DBTEAMUserSelectorArgExternalId; _externalId = externalId; } return self; } - (instancetype)initWithEmail:(NSString *)email { self = [super init]; if (self) { _tag = DBTEAMUserSelectorArgEmail; _email = email; } return self; } #pragma mark - Instance field accessors - (NSString *)teamMemberId { if (![self isTeamMemberId]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMUserSelectorArgTeamMemberId, but was %@.", [self tagName]]; } return _teamMemberId; } - (NSString *)externalId { if (![self isExternalId]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMUserSelectorArgExternalId, but was %@.", [self tagName]]; } return _externalId; } - (NSString *)email { if (![self isEmail]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMUserSelectorArgEmail, but was %@.", [self tagName]]; } return _email; } #pragma mark - Tag state methods - (BOOL)isTeamMemberId { return _tag == DBTEAMUserSelectorArgTeamMemberId; } - (BOOL)isExternalId { return _tag == DBTEAMUserSelectorArgExternalId; } - (BOOL)isEmail { return _tag == DBTEAMUserSelectorArgEmail; } - (NSString *)tagName { switch (_tag) { case DBTEAMUserSelectorArgTeamMemberId: return @"DBTEAMUserSelectorArgTeamMemberId"; case DBTEAMUserSelectorArgExternalId: return @"DBTEAMUserSelectorArgExternalId"; case DBTEAMUserSelectorArgEmail: return @"DBTEAMUserSelectorArgEmail"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMUserSelectorArgSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMUserSelectorArgSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMUserSelectorArgSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToUserSelectorArg:other]; } - (BOOL)isEqualToUserSelectorArg:(DBTEAMUserSelectorArg *)anUserSelectorArg { if (self == anUserSelectorArg) { return YES; } if (self.tag != anUserSelectorArg.tag) { return NO; } switch (_tag) { case DBTEAMUserSelectorArgTeamMemberId: return [self.teamMemberId isEqual:anUserSelectorArg.teamMemberId]; case DBTEAMUserSelectorArgExternalId: return [self.externalId isEqual:anUserSelectorArg.externalId]; case DBTEAMUserSelectorArgEmail: return [self.email isEqual:anUserSelectorArg.email]; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMUserSelectorArgSerializer + (NSDictionary *)serialize:(DBTEAMUserSelectorArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isTeamMemberId]) { jsonDict[@"team_member_id"] = valueObj.teamMemberId; jsonDict[@".tag"] = @"team_member_id"; } else if ([valueObj isExternalId]) { jsonDict[@"external_id"] = valueObj.externalId; jsonDict[@".tag"] = @"external_id"; } else if ([valueObj isEmail]) { jsonDict[@"email"] = valueObj.email; jsonDict[@".tag"] = @"email"; } else { @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Object not properly initialized. Tag has an unknown value." userInfo:nil]); } return jsonDict; } + (DBTEAMUserSelectorArg *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"team_member_id"]) { NSString *teamMemberId = valueDict[@"team_member_id"]; return [[DBTEAMUserSelectorArg alloc] initWithTeamMemberId:teamMemberId]; } else if ([tag isEqualToString:@"external_id"]) { NSString *externalId = valueDict[@"external_id"]; return [[DBTEAMUserSelectorArg alloc] initWithExternalId:externalId]; } else if ([tag isEqualToString:@"email"]) { NSString *email = valueDict[@"email"]; return [[DBTEAMUserSelectorArg alloc] initWithEmail:email]; } 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 "DBTEAMUsersSelectorArg.h" #pragma mark - API Object @implementation DBTEAMUsersSelectorArg @synthesize teamMemberIds = _teamMemberIds; @synthesize externalIds = _externalIds; @synthesize emails = _emails; #pragma mark - Constructors - (instancetype)initWithTeamMemberIds:(NSArray *)teamMemberIds { self = [super init]; if (self) { _tag = DBTEAMUsersSelectorArgTeamMemberIds; _teamMemberIds = teamMemberIds; } return self; } - (instancetype)initWithExternalIds:(NSArray *)externalIds { self = [super init]; if (self) { _tag = DBTEAMUsersSelectorArgExternalIds; _externalIds = externalIds; } return self; } - (instancetype)initWithEmails:(NSArray *)emails { self = [super init]; if (self) { _tag = DBTEAMUsersSelectorArgEmails; _emails = emails; } return self; } #pragma mark - Instance field accessors - (NSArray *)teamMemberIds { if (![self isTeamMemberIds]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMUsersSelectorArgTeamMemberIds, but was %@.", [self tagName]]; } return _teamMemberIds; } - (NSArray *)externalIds { if (![self isExternalIds]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMUsersSelectorArgExternalIds, but was %@.", [self tagName]]; } return _externalIds; } - (NSArray *)emails { if (![self isEmails]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMUsersSelectorArgEmails, but was %@.", [self tagName]]; } return _emails; } #pragma mark - Tag state methods - (BOOL)isTeamMemberIds { return _tag == DBTEAMUsersSelectorArgTeamMemberIds; } - (BOOL)isExternalIds { return _tag == DBTEAMUsersSelectorArgExternalIds; } - (BOOL)isEmails { return _tag == DBTEAMUsersSelectorArgEmails; } - (NSString *)tagName { switch (_tag) { case DBTEAMUsersSelectorArgTeamMemberIds: return @"DBTEAMUsersSelectorArgTeamMemberIds"; case DBTEAMUsersSelectorArgExternalIds: return @"DBTEAMUsersSelectorArgExternalIds"; case DBTEAMUsersSelectorArgEmails: return @"DBTEAMUsersSelectorArgEmails"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMUsersSelectorArgSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMUsersSelectorArgSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMUsersSelectorArgSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToUsersSelectorArg:other]; } - (BOOL)isEqualToUsersSelectorArg:(DBTEAMUsersSelectorArg *)anUsersSelectorArg { if (self == anUsersSelectorArg) { return YES; } if (self.tag != anUsersSelectorArg.tag) { return NO; } switch (_tag) { case DBTEAMUsersSelectorArgTeamMemberIds: return [self.teamMemberIds isEqual:anUsersSelectorArg.teamMemberIds]; case DBTEAMUsersSelectorArgExternalIds: return [self.externalIds isEqual:anUsersSelectorArg.externalIds]; case DBTEAMUsersSelectorArgEmails: return [self.emails isEqual:anUsersSelectorArg.emails]; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMUsersSelectorArgSerializer + (NSDictionary *)serialize:(DBTEAMUsersSelectorArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isTeamMemberIds]) { jsonDict[@"team_member_ids"] = [DBArraySerializer serialize:valueObj.teamMemberIds withBlock:^id(id elem0) { return elem0; }]; jsonDict[@".tag"] = @"team_member_ids"; } else if ([valueObj isExternalIds]) { jsonDict[@"external_ids"] = [DBArraySerializer serialize:valueObj.externalIds withBlock:^id(id elem0) { return elem0; }]; jsonDict[@".tag"] = @"external_ids"; } else if ([valueObj isEmails]) { jsonDict[@"emails"] = [DBArraySerializer serialize:valueObj.emails withBlock:^id(id elem0) { return elem0; }]; jsonDict[@".tag"] = @"emails"; } else { @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Object not properly initialized. Tag has an unknown value." userInfo:nil]); } return jsonDict; } + (DBTEAMUsersSelectorArg *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"team_member_ids"]) { NSArray *teamMemberIds = [DBArraySerializer deserialize:valueDict[@"team_member_ids"] withBlock:^id(id elem0) { return elem0; }]; return [[DBTEAMUsersSelectorArg alloc] initWithTeamMemberIds:teamMemberIds]; } else if ([tag isEqualToString:@"external_ids"]) { NSArray *externalIds = [DBArraySerializer deserialize:valueDict[@"external_ids"] withBlock:^id(id elem0) { return elem0; }]; return [[DBTEAMUsersSelectorArg alloc] initWithExternalIds:externalIds]; } else if ([tag isEqualToString:@"emails"]) { NSArray *emails = [DBArraySerializer deserialize:valueDict[@"emails"] withBlock:^id(id elem0) { return elem0; }]; return [[DBTEAMUsersSelectorArg alloc] initWithEmails:emails]; } else { @throw([NSException exceptionWithName:@"InvalidTag" reason:[NSString stringWithFormat:@"Tag has an invalid value: \"%@\".", valueDict[@".tag"]] userInfo:nil]); } } @end ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMActiveWebSession.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" #import "DBTEAMDeviceSession.h" @class DBTEAMActiveWebSession; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `ActiveWebSession` 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 DBTEAMActiveWebSession : DBTEAMDeviceSession #pragma mark - Instance fields /// 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; /// The time this session expires. @property (nonatomic, readonly, nullable) NSDate *expires; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param sessionId The session id. /// @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 country The country from which the last activity from this session /// was made. /// @param created The time this session was created. /// @param updated The time of the last activity from this session. /// @param expires The time this session expires. /// /// @return An initialized instance. /// - (instancetype)initWithSessionId:(NSString *)sessionId userAgent:(NSString *)userAgent os:(NSString *)os browser:(NSString *)browser ipAddress:(nullable NSString *)ipAddress country:(nullable NSString *)country created:(nullable NSDate *)created updated:(nullable NSDate *)updated expires:(nullable NSDate *)expires; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param sessionId The session id. /// @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)initWithSessionId:(NSString *)sessionId userAgent:(NSString *)userAgent os:(NSString *)os browser:(NSString *)browser; @end #pragma mark - Serializer Object /// /// The serialization class for the `ActiveWebSession` struct. /// @interface DBTEAMActiveWebSessionSerializer : NSObject /// /// Serializes `DBTEAMActiveWebSession` instances. /// /// @param instance An instance of the `DBTEAMActiveWebSession` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMActiveWebSession` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMActiveWebSession *)instance; /// /// Deserializes `DBTEAMActiveWebSession` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMActiveWebSession` API object. /// /// @return An instantiation of the `DBTEAMActiveWebSession` object. /// + (DBTEAMActiveWebSession *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMAddSecondaryEmailResult.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMAddSecondaryEmailsArg.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMAddSecondaryEmailsError.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMAddSecondaryEmailsResult.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMAdminTier.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMAdminTier; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `AdminTier` union. /// /// Describes which team-related admin permissions a user has. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMAdminTier : NSObject #pragma mark - Instance fields /// The `DBTEAMAdminTierTag` enum type represents the possible tag states with /// which the `DBTEAMAdminTier` union can exist. 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 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, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMAdminTierTag tag; #pragma mark - Constructors /// /// Initializes union class with tag state of "team_admin". /// /// Description of the "team_admin" tag state: User is an administrator of the /// team - has all permissions. /// /// @return An initialized instance. /// - (instancetype)initWithTeamAdmin; /// /// Initializes union class with tag state of "user_management_admin". /// /// Description of the "user_management_admin" tag state: User can do most user /// provisioning, de-provisioning and management. /// /// @return An initialized instance. /// - (instancetype)initWithUserManagementAdmin; /// /// 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. Note: Dropbox is adding new types /// of admin roles; these may display as support_admin. /// /// @return An initialized instance. /// - (instancetype)initWithSupportAdmin; /// /// Initializes union class with tag state of "member_only". /// /// Description of the "member_only" tag state: User is not an admin of the /// team. /// /// @return An initialized instance. /// - (instancetype)initWithMemberOnly; - (instancetype)init NS_UNAVAILABLE; #pragma mark - Tag state methods /// /// 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". /// /// @return Whether the union's current tag state has value /// "user_management_admin". /// - (BOOL)isUserManagementAdmin; /// /// Retrieves whether the union's current tag state has value "support_admin". /// /// @return Whether the union's current tag state has value "support_admin". /// - (BOOL)isSupportAdmin; /// /// 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 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 `DBTEAMAdminTier` union. /// @interface DBTEAMAdminTierSerializer : NSObject /// /// Serializes `DBTEAMAdminTier` instances. /// /// @param instance An instance of the `DBTEAMAdminTier` API object. /// /// @return A json-compatible dictionary representation of the `DBTEAMAdminTier` /// API object. /// + (nullable NSDictionary *)serialize:(DBTEAMAdminTier *)instance; /// /// Deserializes `DBTEAMAdminTier` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMAdminTier` API object. /// /// @return An instantiation of the `DBTEAMAdminTier` object. /// + (DBTEAMAdminTier *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMApiApp.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMApiApp; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `ApiApp` struct. /// /// Information on linked third party applications. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMApiApp : NSObject #pragma mark - Instance fields /// The application unique id. @property (nonatomic, readonly, copy) NSString *appId; /// The application name. @property (nonatomic, readonly, copy) NSString *appName; /// The application publisher name. @property (nonatomic, readonly, copy, nullable) NSString *publisher; /// The publisher's URL. @property (nonatomic, readonly, copy, nullable) NSString *publisherUrl; /// The time this application was linked. @property (nonatomic, readonly, nullable) NSDate *linked; /// Whether the linked application uses a dedicated folder. @property (nonatomic, readonly) NSNumber *isAppFolder; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param appId The application unique id. /// @param appName The application name. /// @param isAppFolder Whether the linked application uses a dedicated folder. /// @param publisher The application publisher name. /// @param publisherUrl The publisher's URL. /// @param linked The time this application was linked. /// /// @return An initialized instance. /// - (instancetype)initWithAppId:(NSString *)appId appName:(NSString *)appName isAppFolder:(NSNumber *)isAppFolder publisher:(nullable NSString *)publisher publisherUrl:(nullable NSString *)publisherUrl linked:(nullable NSDate *)linked; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param appId The application unique id. /// @param appName The application name. /// @param isAppFolder Whether the linked application uses a dedicated folder. /// /// @return An initialized instance. /// - (instancetype)initWithAppId:(NSString *)appId appName:(NSString *)appName isAppFolder:(NSNumber *)isAppFolder; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `ApiApp` struct. /// @interface DBTEAMApiAppSerializer : NSObject /// /// Serializes `DBTEAMApiApp` instances. /// /// @param instance An instance of the `DBTEAMApiApp` API object. /// /// @return A json-compatible dictionary representation of the `DBTEAMApiApp` /// API object. /// + (nullable NSDictionary *)serialize:(DBTEAMApiApp *)instance; /// /// Deserializes `DBTEAMApiApp` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMApiApp` API object. /// /// @return An instantiation of the `DBTEAMApiApp` object. /// + (DBTEAMApiApp *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMBaseDfbReport.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMBaseDfbReport; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `BaseDfbReport` struct. /// /// Base report structure. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMBaseDfbReport : NSObject #pragma mark - Instance fields /// First date present in the results as 'YYYY-MM-DD' or None. @property (nonatomic, readonly, copy) NSString *startDate; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param startDate First date present in the results as 'YYYY-MM-DD' or None. /// /// @return An initialized instance. /// - (instancetype)initWithStartDate:(NSString *)startDate; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `BaseDfbReport` struct. /// @interface DBTEAMBaseDfbReportSerializer : NSObject /// /// Serializes `DBTEAMBaseDfbReport` instances. /// /// @param instance An instance of the `DBTEAMBaseDfbReport` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMBaseDfbReport` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMBaseDfbReport *)instance; /// /// Deserializes `DBTEAMBaseDfbReport` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMBaseDfbReport` API object. /// /// @return An instantiation of the `DBTEAMBaseDfbReport` object. /// + (DBTEAMBaseDfbReport *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMBaseTeamFolderError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMBaseTeamFolderError; @class DBTEAMTeamFolderAccessError; @class DBTEAMTeamFolderInvalidStatusError; @class DBTEAMTeamFolderTeamSharedDropboxError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `BaseTeamFolderError` union. /// /// Base error that all errors for existing team folders should extend. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMBaseTeamFolderError : NSObject #pragma mark - Instance fields /// The `DBTEAMBaseTeamFolderErrorTag` enum type represents the possible tag /// states with which the `DBTEAMBaseTeamFolderError` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBTEAMBaseTeamFolderErrorTag){ /// (no description). DBTEAMBaseTeamFolderErrorAccessError, /// (no description). DBTEAMBaseTeamFolderErrorStatusError, /// (no description). DBTEAMBaseTeamFolderErrorTeamSharedDropboxError, /// (no description). DBTEAMBaseTeamFolderErrorOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMBaseTeamFolderErrorTag 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; #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; - (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 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 `DBTEAMBaseTeamFolderError` union. /// @interface DBTEAMBaseTeamFolderErrorSerializer : NSObject /// /// Serializes `DBTEAMBaseTeamFolderError` instances. /// /// @param instance An instance of the `DBTEAMBaseTeamFolderError` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMBaseTeamFolderError` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMBaseTeamFolderError *)instance; /// /// Deserializes `DBTEAMBaseTeamFolderError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMBaseTeamFolderError` API object. /// /// @return An instantiation of the `DBTEAMBaseTeamFolderError` object. /// + (DBTEAMBaseTeamFolderError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMCustomQuotaError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMCustomQuotaError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `CustomQuotaError` union. /// /// Error returned when getting member custom quota. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMCustomQuotaError : NSObject #pragma mark - Instance fields /// The `DBTEAMCustomQuotaErrorTag` enum type represents the possible tag states /// with which the `DBTEAMCustomQuotaError` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBTEAMCustomQuotaErrorTag){ /// A maximum of 1000 users can be set for a single call. DBTEAMCustomQuotaErrorTooManyUsers, /// (no description). DBTEAMCustomQuotaErrorOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMCustomQuotaErrorTag tag; #pragma mark - Constructors /// /// Initializes union class with tag state of "too_many_users". /// /// Description of the "too_many_users" tag state: A maximum of 1000 users can /// be set for a single call. /// /// @return An initialized instance. /// - (instancetype)initWithTooManyUsers; /// /// 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_users". /// /// @return Whether the union's current tag state has value "too_many_users". /// - (BOOL)isTooManyUsers; /// /// 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 `DBTEAMCustomQuotaError` union. /// @interface DBTEAMCustomQuotaErrorSerializer : NSObject /// /// Serializes `DBTEAMCustomQuotaError` instances. /// /// @param instance An instance of the `DBTEAMCustomQuotaError` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMCustomQuotaError` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMCustomQuotaError *)instance; /// /// Deserializes `DBTEAMCustomQuotaError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMCustomQuotaError` API object. /// /// @return An instantiation of the `DBTEAMCustomQuotaError` object. /// + (DBTEAMCustomQuotaError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMCustomQuotaResult.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMCustomQuotaResult; @class DBTEAMUserCustomQuotaResult; @class DBTEAMUserSelectorArg; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `CustomQuotaResult` union. /// /// User custom quota. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMCustomQuotaResult : NSObject #pragma mark - Instance fields /// The `DBTEAMCustomQuotaResultTag` enum type represents the possible tag /// states with which the `DBTEAMCustomQuotaResult` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBTEAMCustomQuotaResultTag){ /// User's custom quota. DBTEAMCustomQuotaResultSuccess, /// Invalid user (not in team). DBTEAMCustomQuotaResultInvalidUser, /// (no description). DBTEAMCustomQuotaResultOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMCustomQuotaResultTag tag; /// User's custom quota. @note Ensure the `isSuccess` method returns true before /// accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) DBTEAMUserCustomQuotaResult *success; /// Invalid user (not in team). @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: User's custom quota. /// /// @param success User's custom quota. /// /// @return An initialized instance. /// - (instancetype)initWithSuccess:(DBTEAMUserCustomQuotaResult *)success; /// /// Initializes union class with tag state of "invalid_user". /// /// Description of the "invalid_user" tag state: Invalid user (not in team). /// /// @param invalidUser Invalid user (not in team). /// /// @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 `DBTEAMCustomQuotaResult` union. /// @interface DBTEAMCustomQuotaResultSerializer : NSObject /// /// Serializes `DBTEAMCustomQuotaResult` instances. /// /// @param instance An instance of the `DBTEAMCustomQuotaResult` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMCustomQuotaResult` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMCustomQuotaResult *)instance; /// /// Deserializes `DBTEAMCustomQuotaResult` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMCustomQuotaResult` API object. /// /// @return An instantiation of the `DBTEAMCustomQuotaResult` object. /// + (DBTEAMCustomQuotaResult *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMCustomQuotaUsersArg.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMCustomQuotaUsersArg; @class DBTEAMUserSelectorArg; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `CustomQuotaUsersArg` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMCustomQuotaUsersArg : NSObject #pragma mark - Instance fields /// List of users. @property (nonatomic, readonly) NSArray *users; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param users List of users. /// /// @return An initialized instance. /// - (instancetype)initWithUsers:(NSArray *)users; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `CustomQuotaUsersArg` struct. /// @interface DBTEAMCustomQuotaUsersArgSerializer : NSObject /// /// Serializes `DBTEAMCustomQuotaUsersArg` instances. /// /// @param instance An instance of the `DBTEAMCustomQuotaUsersArg` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMCustomQuotaUsersArg` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMCustomQuotaUsersArg *)instance; /// /// Deserializes `DBTEAMCustomQuotaUsersArg` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMCustomQuotaUsersArg` API object. /// /// @return An instantiation of the `DBTEAMCustomQuotaUsersArg` object. /// + (DBTEAMCustomQuotaUsersArg *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMDateRange.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMDateRange; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `DateRange` struct. /// /// Input arguments that can be provided for most reports. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMDateRange : NSObject #pragma mark - Instance fields /// 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). @property (nonatomic, readonly, nullable) NSDate *endDate; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @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. /// - (instancetype)initWithStartDate:(nullable NSDate *)startDate endDate:(nullable NSDate *)endDate; /// /// 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 `DateRange` struct. /// @interface DBTEAMDateRangeSerializer : NSObject /// /// Serializes `DBTEAMDateRange` instances. /// /// @param instance An instance of the `DBTEAMDateRange` API object. /// /// @return A json-compatible dictionary representation of the `DBTEAMDateRange` /// API object. /// + (nullable NSDictionary *)serialize:(DBTEAMDateRange *)instance; /// /// Deserializes `DBTEAMDateRange` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMDateRange` API object. /// /// @return An instantiation of the `DBTEAMDateRange` object. /// + (DBTEAMDateRange *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMDateRangeError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMDateRangeError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `DateRangeError` union. /// /// Errors that can originate from problems in input arguments to reports. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMDateRangeError : NSObject #pragma mark - Instance fields /// The `DBTEAMDateRangeErrorTag` enum type represents the possible tag states /// with which the `DBTEAMDateRangeError` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBTEAMDateRangeErrorTag){ /// (no description). DBTEAMDateRangeErrorOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMDateRangeErrorTag tag; #pragma mark - Constructors /// /// 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 "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 `DBTEAMDateRangeError` union. /// @interface DBTEAMDateRangeErrorSerializer : NSObject /// /// Serializes `DBTEAMDateRangeError` instances. /// /// @param instance An instance of the `DBTEAMDateRangeError` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMDateRangeError` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMDateRangeError *)instance; /// /// Deserializes `DBTEAMDateRangeError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMDateRangeError` API object. /// /// @return An instantiation of the `DBTEAMDateRangeError` object. /// + (DBTEAMDateRangeError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMDeleteSecondaryEmailResult.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMDeleteSecondaryEmailsArg.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMDeleteSecondaryEmailsResult.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMDesktopClientSession.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" #import "DBTEAMDeviceSession.h" @class DBTEAMDesktopClientSession; @class DBTEAMDesktopPlatform; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `DesktopClientSession` 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 DBTEAMDesktopClientSession : DBTEAMDeviceSession #pragma mark - Instance fields /// 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) NSString *clientVersion; /// Information on the hosting platform. @property (nonatomic, readonly, copy) NSString *platform; /// Whether it's 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 sessionId The session id. /// @param hostName Name of the hosting desktop. /// @param clientType The Dropbox desktop client type. /// @param clientVersion The Dropbox client version. /// @param platform Information on the hosting platform. /// @param isDeleteOnUnlinkSupported Whether it's possible to delete all of the /// account files upon unlinking. /// @param ipAddress The IP address of the last activity from this session. /// @param country The country from which the last activity from this session /// was made. /// @param created The time this session was created. /// @param updated The time of the last activity from this session. /// /// @return An initialized instance. /// - (instancetype)initWithSessionId:(NSString *)sessionId hostName:(NSString *)hostName clientType:(DBTEAMDesktopPlatform *)clientType clientVersion:(NSString *)clientVersion platform:(NSString *)platform isDeleteOnUnlinkSupported:(NSNumber *)isDeleteOnUnlinkSupported ipAddress:(nullable NSString *)ipAddress country:(nullable NSString *)country created:(nullable NSDate *)created updated:(nullable NSDate *)updated; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param sessionId The session id. /// @param hostName Name of the hosting desktop. /// @param clientType The Dropbox desktop client type. /// @param clientVersion The Dropbox client version. /// @param platform Information on the hosting platform. /// @param isDeleteOnUnlinkSupported Whether it's possible to delete all of the /// account files upon unlinking. /// /// @return An initialized instance. /// - (instancetype)initWithSessionId:(NSString *)sessionId hostName:(NSString *)hostName clientType:(DBTEAMDesktopPlatform *)clientType clientVersion:(NSString *)clientVersion platform:(NSString *)platform isDeleteOnUnlinkSupported:(NSNumber *)isDeleteOnUnlinkSupported; @end #pragma mark - Serializer Object /// /// The serialization class for the `DesktopClientSession` struct. /// @interface DBTEAMDesktopClientSessionSerializer : NSObject /// /// Serializes `DBTEAMDesktopClientSession` instances. /// /// @param instance An instance of the `DBTEAMDesktopClientSession` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMDesktopClientSession` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMDesktopClientSession *)instance; /// /// Deserializes `DBTEAMDesktopClientSession` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMDesktopClientSession` API object. /// /// @return An instantiation of the `DBTEAMDesktopClientSession` object. /// + (DBTEAMDesktopClientSession *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMDesktopPlatform.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMDesktopPlatform; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `DesktopPlatform` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMDesktopPlatform : NSObject #pragma mark - Instance fields /// The `DBTEAMDesktopPlatformTag` enum type represents the possible tag states /// with which the `DBTEAMDesktopPlatform` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBTEAMDesktopPlatformTag){ /// Official Windows Dropbox desktop client. DBTEAMDesktopPlatformWindows, /// Official Mac Dropbox desktop client. DBTEAMDesktopPlatformMac, /// Official Linux Dropbox desktop client. DBTEAMDesktopPlatformLinux, /// (no description). DBTEAMDesktopPlatformOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMDesktopPlatformTag tag; #pragma mark - Constructors /// /// Initializes union class with tag state of "windows". /// /// Description of the "windows" tag state: Official Windows Dropbox desktop /// client. /// /// @return An initialized instance. /// - (instancetype)initWithWindows; /// /// Initializes union class with tag state of "mac". /// /// Description of the "mac" tag state: Official Mac Dropbox desktop client. /// /// @return An initialized instance. /// - (instancetype)initWithMac; /// /// Initializes union class with tag state of "linux". /// /// Description of the "linux" tag state: Official Linux Dropbox desktop client. /// /// @return An initialized instance. /// - (instancetype)initWithLinux; /// /// 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 "windows". /// /// @return Whether the union's current tag state has value "windows". /// - (BOOL)isWindows; /// /// Retrieves whether the union's current tag state has value "mac". /// /// @return Whether the union's current tag state has value "mac". /// - (BOOL)isMac; /// /// Retrieves whether the union's current tag state has value "linux". /// /// @return Whether the union's current tag state has value "linux". /// - (BOOL)isLinux; /// /// 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 `DBTEAMDesktopPlatform` union. /// @interface DBTEAMDesktopPlatformSerializer : NSObject /// /// Serializes `DBTEAMDesktopPlatform` instances. /// /// @param instance An instance of the `DBTEAMDesktopPlatform` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMDesktopPlatform` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMDesktopPlatform *)instance; /// /// Deserializes `DBTEAMDesktopPlatform` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMDesktopPlatform` API object. /// /// @return An instantiation of the `DBTEAMDesktopPlatform` object. /// + (DBTEAMDesktopPlatform *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMDeviceSession.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMDeviceSession; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `DeviceSession` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMDeviceSession : NSObject #pragma mark - Instance fields /// The session id. @property (nonatomic, readonly, copy) NSString *sessionId; /// The IP address of the last activity from this session. @property (nonatomic, readonly, copy, nullable) NSString *ipAddress; /// The country from which the last activity from this session was made. @property (nonatomic, readonly, copy, nullable) NSString *country; /// 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 sessionId The session id. /// @param ipAddress The IP address of the last activity from this session. /// @param country The country from which the last activity from this session /// was made. /// @param created The time this session was created. /// @param updated The time of the last activity from this session. /// /// @return An initialized instance. /// - (instancetype)initWithSessionId:(NSString *)sessionId ipAddress:(nullable NSString *)ipAddress country:(nullable NSString *)country created:(nullable NSDate *)created updated:(nullable NSDate *)updated; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param sessionId The session id. /// /// @return An initialized instance. /// - (instancetype)initWithSessionId:(NSString *)sessionId; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `DeviceSession` struct. /// @interface DBTEAMDeviceSessionSerializer : NSObject /// /// Serializes `DBTEAMDeviceSession` instances. /// /// @param instance An instance of the `DBTEAMDeviceSession` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMDeviceSession` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMDeviceSession *)instance; /// /// Deserializes `DBTEAMDeviceSession` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMDeviceSession` API object. /// /// @return An instantiation of the `DBTEAMDeviceSession` object. /// + (DBTEAMDeviceSession *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMDeviceSessionArg.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMDeviceSessionArg; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `DeviceSessionArg` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMDeviceSessionArg : NSObject #pragma mark - Instance fields /// The session id. @property (nonatomic, readonly, copy) NSString *sessionId; /// The unique id of the member owning the device. @property (nonatomic, readonly, copy) NSString *teamMemberId; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param sessionId The session id. /// @param teamMemberId The unique id of the member owning the device. /// /// @return An initialized instance. /// - (instancetype)initWithSessionId:(NSString *)sessionId teamMemberId:(NSString *)teamMemberId; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `DeviceSessionArg` struct. /// @interface DBTEAMDeviceSessionArgSerializer : NSObject /// /// Serializes `DBTEAMDeviceSessionArg` instances. /// /// @param instance An instance of the `DBTEAMDeviceSessionArg` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMDeviceSessionArg` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMDeviceSessionArg *)instance; /// /// Deserializes `DBTEAMDeviceSessionArg` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMDeviceSessionArg` API object. /// /// @return An instantiation of the `DBTEAMDeviceSessionArg` object. /// + (DBTEAMDeviceSessionArg *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMDevicesActive.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMDevicesActive; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `DevicesActive` struct. /// /// Each of the items is an array of values, one value per day. The value is the /// number of devices active within a time window, ending with that day. If /// there is no data for a day, then the value will be None. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMDevicesActive : NSObject #pragma mark - Instance fields /// Array of number of linked windows (desktop) clients with activity. @property (nonatomic, readonly) NSArray *windows; /// Array of number of linked mac (desktop) clients with activity. @property (nonatomic, readonly) NSArray *macos; /// Array of number of linked linus (desktop) clients with activity. @property (nonatomic, readonly) NSArray *linux; /// Array of number of linked ios devices with activity. @property (nonatomic, readonly) NSArray *ios; /// Array of number of linked android devices with activity. @property (nonatomic, readonly) NSArray *android; /// Array of number of other linked devices (blackberry, windows phone, etc) /// with activity. @property (nonatomic, readonly) NSArray *other; /// Array of total number of linked clients with activity. @property (nonatomic, readonly) NSArray *total; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param windows Array of number of linked windows (desktop) clients with /// activity. /// @param macos Array of number of linked mac (desktop) clients with activity. /// @param linux Array of number of linked linus (desktop) clients with /// activity. /// @param ios Array of number of linked ios devices with activity. /// @param android Array of number of linked android devices with activity. /// @param other Array of number of other linked devices (blackberry, windows /// phone, etc) with activity. /// @param total Array of total number of linked clients with activity. /// /// @return An initialized instance. /// - (instancetype)initWithWindows:(NSArray *)windows macos:(NSArray *)macos linux:(NSArray *)linux ios:(NSArray *)ios android:(NSArray *)android other:(NSArray *)other total:(NSArray *)total; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `DevicesActive` struct. /// @interface DBTEAMDevicesActiveSerializer : NSObject /// /// Serializes `DBTEAMDevicesActive` instances. /// /// @param instance An instance of the `DBTEAMDevicesActive` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMDevicesActive` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMDevicesActive *)instance; /// /// Deserializes `DBTEAMDevicesActive` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMDevicesActive` API object. /// /// @return An instantiation of the `DBTEAMDevicesActive` object. /// + (DBTEAMDevicesActive *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMExcludedUsersListArg.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMExcludedUsersListArg; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `ExcludedUsersListArg` struct. /// /// Excluded users list argument. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMExcludedUsersListArg : NSObject #pragma mark - Instance fields /// Number of results to return per call. @property (nonatomic, readonly) NSNumber *limit; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param limit Number of results to return per call. /// /// @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 `ExcludedUsersListArg` struct. /// @interface DBTEAMExcludedUsersListArgSerializer : NSObject /// /// Serializes `DBTEAMExcludedUsersListArg` instances. /// /// @param instance An instance of the `DBTEAMExcludedUsersListArg` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMExcludedUsersListArg` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMExcludedUsersListArg *)instance; /// /// Deserializes `DBTEAMExcludedUsersListArg` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMExcludedUsersListArg` API object. /// /// @return An instantiation of the `DBTEAMExcludedUsersListArg` object. /// + (DBTEAMExcludedUsersListArg *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMExcludedUsersListContinueArg.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMExcludedUsersListContinueArg; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `ExcludedUsersListContinueArg` struct. /// /// Excluded users list continue argument. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMExcludedUsersListContinueArg : NSObject #pragma mark - Instance fields /// Indicates from what point to get the next set of users. @property (nonatomic, readonly, copy) NSString *cursor; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param cursor Indicates from what point to get the next set of users. /// /// @return An initialized instance. /// - (instancetype)initWithCursor:(NSString *)cursor; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `ExcludedUsersListContinueArg` struct. /// @interface DBTEAMExcludedUsersListContinueArgSerializer : NSObject /// /// Serializes `DBTEAMExcludedUsersListContinueArg` instances. /// /// @param instance An instance of the `DBTEAMExcludedUsersListContinueArg` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMExcludedUsersListContinueArg` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMExcludedUsersListContinueArg *)instance; /// /// Deserializes `DBTEAMExcludedUsersListContinueArg` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMExcludedUsersListContinueArg` API object. /// /// @return An instantiation of the `DBTEAMExcludedUsersListContinueArg` object. /// + (DBTEAMExcludedUsersListContinueArg *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMExcludedUsersListContinueError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMExcludedUsersListContinueError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `ExcludedUsersListContinueError` union. /// /// Excluded users list continue error. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMExcludedUsersListContinueError : NSObject #pragma mark - Instance fields /// The `DBTEAMExcludedUsersListContinueErrorTag` enum type represents the /// possible tag states with which the `DBTEAMExcludedUsersListContinueError` /// union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBTEAMExcludedUsersListContinueErrorTag){ /// The cursor is invalid. DBTEAMExcludedUsersListContinueErrorInvalidCursor, /// (no description). DBTEAMExcludedUsersListContinueErrorOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMExcludedUsersListContinueErrorTag tag; #pragma mark - Constructors /// /// 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; /// /// 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 `DBTEAMExcludedUsersListContinueError` /// union. /// @interface DBTEAMExcludedUsersListContinueErrorSerializer : NSObject /// /// Serializes `DBTEAMExcludedUsersListContinueError` instances. /// /// @param instance An instance of the `DBTEAMExcludedUsersListContinueError` /// API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMExcludedUsersListContinueError` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMExcludedUsersListContinueError *)instance; /// /// Deserializes `DBTEAMExcludedUsersListContinueError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMExcludedUsersListContinueError` API object. /// /// @return An instantiation of the `DBTEAMExcludedUsersListContinueError` /// object. /// + (DBTEAMExcludedUsersListContinueError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMExcludedUsersListError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMExcludedUsersListError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `ExcludedUsersListError` union. /// /// Excluded users list error. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMExcludedUsersListError : NSObject #pragma mark - Instance fields /// The `DBTEAMExcludedUsersListErrorTag` enum type represents the possible tag /// states with which the `DBTEAMExcludedUsersListError` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBTEAMExcludedUsersListErrorTag){ /// An error occurred. DBTEAMExcludedUsersListErrorListError, /// (no description). DBTEAMExcludedUsersListErrorOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMExcludedUsersListErrorTag tag; #pragma mark - Constructors /// /// Initializes union class with tag state of "list_error". /// /// Description of the "list_error" tag state: An error occurred. /// /// @return An initialized instance. /// - (instancetype)initWithListError; /// /// 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 "list_error". /// /// @return Whether the union's current tag state has value "list_error". /// - (BOOL)isListError; /// /// 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 `DBTEAMExcludedUsersListError` union. /// @interface DBTEAMExcludedUsersListErrorSerializer : NSObject /// /// Serializes `DBTEAMExcludedUsersListError` instances. /// /// @param instance An instance of the `DBTEAMExcludedUsersListError` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMExcludedUsersListError` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMExcludedUsersListError *)instance; /// /// Deserializes `DBTEAMExcludedUsersListError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMExcludedUsersListError` API object. /// /// @return An instantiation of the `DBTEAMExcludedUsersListError` object. /// + (DBTEAMExcludedUsersListError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMExcludedUsersListResult.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMExcludedUsersListResult; @class DBTEAMMemberProfile; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `ExcludedUsersListResult` struct. /// /// Excluded users list result. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMExcludedUsersListResult : NSObject #pragma mark - Instance fields /// (no description). @property (nonatomic, readonly) NSArray *users; /// Pass the cursor into `memberSpaceLimitsExcludedUsersListContinue` to obtain /// additional excluded users. @property (nonatomic, readonly, copy, nullable) NSString *cursor; /// Is true if there are additional excluded users that have not been returned /// yet. An additional call to `memberSpaceLimitsExcludedUsersListContinue` can /// retrieve them. @property (nonatomic, readonly) NSNumber *hasMore; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param users (no description). /// @param hasMore Is true if there are additional excluded users that have not /// been returned yet. An additional call to /// `memberSpaceLimitsExcludedUsersListContinue` can retrieve them. /// @param cursor Pass the cursor into /// `memberSpaceLimitsExcludedUsersListContinue` to obtain additional excluded /// users. /// /// @return An initialized instance. /// - (instancetype)initWithUsers:(NSArray *)users hasMore:(NSNumber *)hasMore cursor:(nullable NSString *)cursor; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param users (no description). /// @param hasMore Is true if there are additional excluded users that have not /// been returned yet. An additional call to /// `memberSpaceLimitsExcludedUsersListContinue` can retrieve them. /// /// @return An initialized instance. /// - (instancetype)initWithUsers:(NSArray *)users hasMore:(NSNumber *)hasMore; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `ExcludedUsersListResult` struct. /// @interface DBTEAMExcludedUsersListResultSerializer : NSObject /// /// Serializes `DBTEAMExcludedUsersListResult` instances. /// /// @param instance An instance of the `DBTEAMExcludedUsersListResult` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMExcludedUsersListResult` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMExcludedUsersListResult *)instance; /// /// Deserializes `DBTEAMExcludedUsersListResult` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMExcludedUsersListResult` API object. /// /// @return An instantiation of the `DBTEAMExcludedUsersListResult` object. /// + (DBTEAMExcludedUsersListResult *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMExcludedUsersUpdateArg.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMExcludedUsersUpdateArg; @class DBTEAMUserSelectorArg; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `ExcludedUsersUpdateArg` struct. /// /// Argument of excluded users update operation. Should include a list of users /// to add/remove (according to endpoint), Maximum size of the list is 1000 /// users. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMExcludedUsersUpdateArg : NSObject #pragma mark - Instance fields /// List of users to be added/removed. @property (nonatomic, readonly, nullable) NSArray *users; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param users List of users to be added/removed. /// /// @return An initialized instance. /// - (instancetype)initWithUsers:(nullable NSArray *)users; /// /// 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 `ExcludedUsersUpdateArg` struct. /// @interface DBTEAMExcludedUsersUpdateArgSerializer : NSObject /// /// Serializes `DBTEAMExcludedUsersUpdateArg` instances. /// /// @param instance An instance of the `DBTEAMExcludedUsersUpdateArg` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMExcludedUsersUpdateArg` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMExcludedUsersUpdateArg *)instance; /// /// Deserializes `DBTEAMExcludedUsersUpdateArg` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMExcludedUsersUpdateArg` API object. /// /// @return An instantiation of the `DBTEAMExcludedUsersUpdateArg` object. /// + (DBTEAMExcludedUsersUpdateArg *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMExcludedUsersUpdateError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMExcludedUsersUpdateError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `ExcludedUsersUpdateError` union. /// /// Excluded users update error. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMExcludedUsersUpdateError : NSObject #pragma mark - Instance fields /// The `DBTEAMExcludedUsersUpdateErrorTag` enum type represents the possible /// tag states with which the `DBTEAMExcludedUsersUpdateError` union can exist. 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, /// (no description). DBTEAMExcludedUsersUpdateErrorOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMExcludedUsersUpdateErrorTag tag; #pragma mark - Constructors /// /// Initializes union class with tag state of "users_not_in_team". /// /// Description of the "users_not_in_team" tag state: At least one of the users /// is not part of your team. /// /// @return An initialized instance. /// - (instancetype)initWithUsersNotInTeam; /// /// Initializes union class with tag state of "too_many_users". /// /// Description of the "too_many_users" tag state: A maximum of 1000 users for /// each of addition/removal can be supplied. /// /// @return An initialized instance. /// - (instancetype)initWithTooManyUsers; /// /// 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 /// "users_not_in_team". /// /// @return Whether the union's current tag state has value "users_not_in_team". /// - (BOOL)isUsersNotInTeam; /// /// Retrieves whether the union's current tag state has value "too_many_users". /// /// @return Whether the union's current tag state has value "too_many_users". /// - (BOOL)isTooManyUsers; /// /// 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 `DBTEAMExcludedUsersUpdateError` union. /// @interface DBTEAMExcludedUsersUpdateErrorSerializer : NSObject /// /// Serializes `DBTEAMExcludedUsersUpdateError` instances. /// /// @param instance An instance of the `DBTEAMExcludedUsersUpdateError` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMExcludedUsersUpdateError` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMExcludedUsersUpdateError *)instance; /// /// Deserializes `DBTEAMExcludedUsersUpdateError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMExcludedUsersUpdateError` API object. /// /// @return An instantiation of the `DBTEAMExcludedUsersUpdateError` object. /// + (DBTEAMExcludedUsersUpdateError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMExcludedUsersUpdateResult.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMExcludedUsersUpdateResult; @class DBTEAMExcludedUsersUpdateStatus; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `ExcludedUsersUpdateResult` struct. /// /// Excluded users update result. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMExcludedUsersUpdateResult : NSObject #pragma mark - Instance fields /// Update status. @property (nonatomic, readonly) DBTEAMExcludedUsersUpdateStatus *status; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param status Update status. /// /// @return An initialized instance. /// - (instancetype)initWithStatus:(DBTEAMExcludedUsersUpdateStatus *)status; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `ExcludedUsersUpdateResult` struct. /// @interface DBTEAMExcludedUsersUpdateResultSerializer : NSObject /// /// Serializes `DBTEAMExcludedUsersUpdateResult` instances. /// /// @param instance An instance of the `DBTEAMExcludedUsersUpdateResult` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMExcludedUsersUpdateResult` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMExcludedUsersUpdateResult *)instance; /// /// Deserializes `DBTEAMExcludedUsersUpdateResult` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMExcludedUsersUpdateResult` API object. /// /// @return An instantiation of the `DBTEAMExcludedUsersUpdateResult` object. /// + (DBTEAMExcludedUsersUpdateResult *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMExcludedUsersUpdateStatus.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMExcludedUsersUpdateStatus; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `ExcludedUsersUpdateStatus` union. /// /// Excluded users update operation status. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMExcludedUsersUpdateStatus : NSObject #pragma mark - Instance fields /// The `DBTEAMExcludedUsersUpdateStatusTag` enum type represents the possible /// tag states with which the `DBTEAMExcludedUsersUpdateStatus` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBTEAMExcludedUsersUpdateStatusTag){ /// Update successful. DBTEAMExcludedUsersUpdateStatusSuccess, /// (no description). DBTEAMExcludedUsersUpdateStatusOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMExcludedUsersUpdateStatusTag tag; #pragma mark - Constructors /// /// Initializes union class with tag state of "success". /// /// Description of the "success" tag state: Update successful. /// /// @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 "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 `DBTEAMExcludedUsersUpdateStatus` union. /// @interface DBTEAMExcludedUsersUpdateStatusSerializer : NSObject /// /// Serializes `DBTEAMExcludedUsersUpdateStatus` instances. /// /// @param instance An instance of the `DBTEAMExcludedUsersUpdateStatus` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMExcludedUsersUpdateStatus` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMExcludedUsersUpdateStatus *)instance; /// /// Deserializes `DBTEAMExcludedUsersUpdateStatus` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMExcludedUsersUpdateStatus` API object. /// /// @return An instantiation of the `DBTEAMExcludedUsersUpdateStatus` object. /// + (DBTEAMExcludedUsersUpdateStatus *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMFeature.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMFeature; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `Feature` union. /// /// 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 /// objects. /// @interface DBTEAMFeature : NSObject #pragma mark - Instance fields /// The `DBTEAMFeatureTag` enum type represents the possible tag states with /// which the `DBTEAMFeature` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBTEAMFeatureTag){ /// The number of upload API calls allowed per month. DBTEAMFeatureUploadApiRateLimit, /// Does this team have a shared team root. DBTEAMFeatureHasTeamSharedDropbox, /// Does this team have file events. DBTEAMFeatureHasTeamFileEvents, /// Does this team have team selective sync enabled. DBTEAMFeatureHasTeamSelectiveSync, /// (no description). DBTEAMFeatureOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMFeatureTag tag; #pragma mark - Constructors /// /// Initializes union class with tag state of "upload_api_rate_limit". /// /// Description of the "upload_api_rate_limit" tag state: The number of upload /// API calls allowed per month. /// /// @return An initialized instance. /// - (instancetype)initWithUploadApiRateLimit; /// /// 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 shared team root. /// /// @return An initialized instance. /// - (instancetype)initWithHasTeamSharedDropbox; /// /// Initializes union class with tag state of "has_team_file_events". /// /// Description of the "has_team_file_events" tag state: Does this team have /// file events. /// /// @return An initialized instance. /// - (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". /// /// @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 /// "upload_api_rate_limit". /// /// @return Whether the union's current tag state has value /// "upload_api_rate_limit". /// - (BOOL)isUploadApiRateLimit; /// /// Retrieves whether the union's current tag state has value /// "has_team_shared_dropbox". /// /// @return Whether the union's current tag state has value /// "has_team_shared_dropbox". /// - (BOOL)isHasTeamSharedDropbox; /// /// Retrieves whether the union's current tag state has value /// "has_team_file_events". /// /// @return Whether the union's current tag state has value /// "has_team_file_events". /// - (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". /// /// @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 `DBTEAMFeature` union. /// @interface DBTEAMFeatureSerializer : NSObject /// /// Serializes `DBTEAMFeature` instances. /// /// @param instance An instance of the `DBTEAMFeature` API object. /// /// @return A json-compatible dictionary representation of the `DBTEAMFeature` /// API object. /// + (nullable NSDictionary *)serialize:(DBTEAMFeature *)instance; /// /// Deserializes `DBTEAMFeature` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMFeature` API object. /// /// @return An instantiation of the `DBTEAMFeature` object. /// + (DBTEAMFeature *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMFeatureValue.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMFeatureValue; @class DBTEAMHasTeamFileEventsValue; @class DBTEAMHasTeamSelectiveSyncValue; @class DBTEAMHasTeamSharedDropboxValue; @class DBTEAMUploadApiRateLimitValue; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `FeatureValue` union. /// /// The values correspond to entries in Feature. You may get different value /// 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 /// objects. /// @interface DBTEAMFeatureValue : NSObject #pragma mark - Instance fields /// The `DBTEAMFeatureValueTag` enum type represents the possible tag states /// with which the `DBTEAMFeatureValue` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBTEAMFeatureValueTag){ /// (no description). DBTEAMFeatureValueUploadApiRateLimit, /// (no description). DBTEAMFeatureValueHasTeamSharedDropbox, /// (no description). DBTEAMFeatureValueHasTeamFileEvents, /// (no description). DBTEAMFeatureValueHasTeamSelectiveSync, /// (no description). DBTEAMFeatureValueOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMFeatureValueTag tag; /// (no description). @note Ensure the `isUploadApiRateLimit` method returns /// true before accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) DBTEAMUploadApiRateLimitValue *uploadApiRateLimit; /// (no description). @note Ensure the `isHasTeamSharedDropbox` method returns /// true before accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) DBTEAMHasTeamSharedDropboxValue *hasTeamSharedDropbox; /// (no description). @note Ensure the `isHasTeamFileEvents` method returns true /// 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 /// /// Initializes union class with tag state of "upload_api_rate_limit". /// /// @param uploadApiRateLimit (no description). /// /// @return An initialized instance. /// - (instancetype)initWithUploadApiRateLimit:(DBTEAMUploadApiRateLimitValue *)uploadApiRateLimit; /// /// Initializes union class with tag state of "has_team_shared_dropbox". /// /// @param hasTeamSharedDropbox (no description). /// /// @return An initialized instance. /// - (instancetype)initWithHasTeamSharedDropbox:(DBTEAMHasTeamSharedDropboxValue *)hasTeamSharedDropbox; /// /// Initializes union class with tag state of "has_team_file_events". /// /// @param hasTeamFileEvents (no description). /// /// @return An initialized instance. /// - (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". /// /// @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 /// "upload_api_rate_limit". /// /// @note Call this method and ensure it returns true before accessing the /// `uploadApiRateLimit` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value /// "upload_api_rate_limit". /// - (BOOL)isUploadApiRateLimit; /// /// Retrieves whether the union's current tag state has value /// "has_team_shared_dropbox". /// /// @note Call this method and ensure it returns true before accessing the /// `hasTeamSharedDropbox` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "has_team_shared_dropbox". /// - (BOOL)isHasTeamSharedDropbox; /// /// Retrieves whether the union's current tag state has value /// "has_team_file_events". /// /// @note Call this method and ensure it returns true before accessing the /// `hasTeamFileEvents` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value /// "has_team_file_events". /// - (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". /// /// @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 `DBTEAMFeatureValue` union. /// @interface DBTEAMFeatureValueSerializer : NSObject /// /// Serializes `DBTEAMFeatureValue` instances. /// /// @param instance An instance of the `DBTEAMFeatureValue` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMFeatureValue` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMFeatureValue *)instance; /// /// Deserializes `DBTEAMFeatureValue` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMFeatureValue` API object. /// /// @return An instantiation of the `DBTEAMFeatureValue` object. /// + (DBTEAMFeatureValue *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMFeaturesGetValuesBatchArg.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMFeature; @class DBTEAMFeaturesGetValuesBatchArg; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `FeaturesGetValuesBatchArg` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMFeaturesGetValuesBatchArg : NSObject #pragma mark - Instance fields /// A list of features in Feature. If the list is empty, this route will return /// FeaturesGetValuesBatchError. @property (nonatomic, readonly) NSArray *features; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param features A list of features in Feature. If the list is empty, this /// route will return FeaturesGetValuesBatchError. /// /// @return An initialized instance. /// - (instancetype)initWithFeatures:(NSArray *)features; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `FeaturesGetValuesBatchArg` struct. /// @interface DBTEAMFeaturesGetValuesBatchArgSerializer : NSObject /// /// Serializes `DBTEAMFeaturesGetValuesBatchArg` instances. /// /// @param instance An instance of the `DBTEAMFeaturesGetValuesBatchArg` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMFeaturesGetValuesBatchArg` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMFeaturesGetValuesBatchArg *)instance; /// /// Deserializes `DBTEAMFeaturesGetValuesBatchArg` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMFeaturesGetValuesBatchArg` API object. /// /// @return An instantiation of the `DBTEAMFeaturesGetValuesBatchArg` object. /// + (DBTEAMFeaturesGetValuesBatchArg *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMFeaturesGetValuesBatchError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMFeaturesGetValuesBatchError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `FeaturesGetValuesBatchError` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMFeaturesGetValuesBatchError : NSObject #pragma mark - Instance fields /// The `DBTEAMFeaturesGetValuesBatchErrorTag` enum type represents the possible /// tag states with which the `DBTEAMFeaturesGetValuesBatchError` union can /// exist. typedef NS_CLOSED_ENUM(NSInteger, DBTEAMFeaturesGetValuesBatchErrorTag){ /// At least one Feature must be included in the /// FeaturesGetValuesBatchArg.features list. DBTEAMFeaturesGetValuesBatchErrorEmptyFeaturesList, /// (no description). DBTEAMFeaturesGetValuesBatchErrorOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMFeaturesGetValuesBatchErrorTag 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 Feature /// must be included in the FeaturesGetValuesBatchArg.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 `DBTEAMFeaturesGetValuesBatchError` union. /// @interface DBTEAMFeaturesGetValuesBatchErrorSerializer : NSObject /// /// Serializes `DBTEAMFeaturesGetValuesBatchError` instances. /// /// @param instance An instance of the `DBTEAMFeaturesGetValuesBatchError` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMFeaturesGetValuesBatchError` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMFeaturesGetValuesBatchError *)instance; /// /// Deserializes `DBTEAMFeaturesGetValuesBatchError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMFeaturesGetValuesBatchError` API object. /// /// @return An instantiation of the `DBTEAMFeaturesGetValuesBatchError` object. /// + (DBTEAMFeaturesGetValuesBatchError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMFeaturesGetValuesBatchResult.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMFeatureValue; @class DBTEAMFeaturesGetValuesBatchResult; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `FeaturesGetValuesBatchResult` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMFeaturesGetValuesBatchResult : 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 `FeaturesGetValuesBatchResult` struct. /// @interface DBTEAMFeaturesGetValuesBatchResultSerializer : NSObject /// /// Serializes `DBTEAMFeaturesGetValuesBatchResult` instances. /// /// @param instance An instance of the `DBTEAMFeaturesGetValuesBatchResult` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMFeaturesGetValuesBatchResult` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMFeaturesGetValuesBatchResult *)instance; /// /// Deserializes `DBTEAMFeaturesGetValuesBatchResult` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMFeaturesGetValuesBatchResult` API object. /// /// @return An instantiation of the `DBTEAMFeaturesGetValuesBatchResult` object. /// + (DBTEAMFeaturesGetValuesBatchResult *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGetActivityReport.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" #import "DBTEAMBaseDfbReport.h" @class DBTEAMGetActivityReport; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `GetActivityReport` struct. /// /// Activity Report Result. Each of the items in the storage report is an array /// of values, one value per day. If there is no data for a day, then the value /// will be None. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMGetActivityReport : DBTEAMBaseDfbReport #pragma mark - Instance fields /// Array of total number of adds by team members. @property (nonatomic, readonly) NSArray *adds; /// Array of number of edits by team members. If the same user edits the same /// file multiple times this is counted as a single edit. @property (nonatomic, readonly) NSArray *edits; /// Array of total number of deletes by team members. @property (nonatomic, readonly) NSArray *deletes; /// Array of the number of users who have been active in the last 28 days. @property (nonatomic, readonly) NSArray *activeUsers28Day; /// Array of the number of users who have been active in the last week. @property (nonatomic, readonly) NSArray *activeUsers7Day; /// Array of the number of users who have been active in the last day. @property (nonatomic, readonly) NSArray *activeUsers1Day; /// Array of the number of shared folders with some activity in the last 28 /// days. @property (nonatomic, readonly) NSArray *activeSharedFolders28Day; /// Array of the number of shared folders with some activity in the last week. @property (nonatomic, readonly) NSArray *activeSharedFolders7Day; /// Array of the number of shared folders with some activity in the last day. @property (nonatomic, readonly) NSArray *activeSharedFolders1Day; /// Array of the number of shared links created. @property (nonatomic, readonly) NSArray *sharedLinksCreated; /// Array of the number of views by team users to shared links created by the /// team. @property (nonatomic, readonly) NSArray *sharedLinksViewedByTeam; /// Array of the number of views by users outside of the team to shared links /// created by the team. @property (nonatomic, readonly) NSArray *sharedLinksViewedByOutsideUser; /// Array of the number of views by non-logged-in users to shared links created /// by the team. @property (nonatomic, readonly) NSArray *sharedLinksViewedByNotLoggedIn; /// Array of the total number of views to shared links created by the team. @property (nonatomic, readonly) NSArray *sharedLinksViewedTotal; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param startDate First date present in the results as 'YYYY-MM-DD' or None. /// @param adds Array of total number of adds by team members. /// @param edits Array of number of edits by team members. If the same user /// edits the same file multiple times this is counted as a single edit. /// @param deletes Array of total number of deletes by team members. /// @param activeUsers28Day Array of the number of users who have been active in /// the last 28 days. /// @param activeUsers7Day Array of the number of users who have been active in /// the last week. /// @param activeUsers1Day Array of the number of users who have been active in /// the last day. /// @param activeSharedFolders28Day Array of the number of shared folders with /// some activity in the last 28 days. /// @param activeSharedFolders7Day Array of the number of shared folders with /// some activity in the last week. /// @param activeSharedFolders1Day Array of the number of shared folders with /// some activity in the last day. /// @param sharedLinksCreated Array of the number of shared links created. /// @param sharedLinksViewedByTeam Array of the number of views by team users to /// shared links created by the team. /// @param sharedLinksViewedByOutsideUser Array of the number of views by users /// outside of the team to shared links created by the team. /// @param sharedLinksViewedByNotLoggedIn Array of the number of views by /// non-logged-in users to shared links created by the team. /// @param sharedLinksViewedTotal Array of the total number of views to shared /// links created by the team. /// /// @return An initialized instance. /// - (instancetype)initWithStartDate:(NSString *)startDate adds:(NSArray *)adds edits:(NSArray *)edits deletes:(NSArray *)deletes activeUsers28Day:(NSArray *)activeUsers28Day activeUsers7Day:(NSArray *)activeUsers7Day activeUsers1Day:(NSArray *)activeUsers1Day activeSharedFolders28Day:(NSArray *)activeSharedFolders28Day activeSharedFolders7Day:(NSArray *)activeSharedFolders7Day activeSharedFolders1Day:(NSArray *)activeSharedFolders1Day sharedLinksCreated:(NSArray *)sharedLinksCreated sharedLinksViewedByTeam:(NSArray *)sharedLinksViewedByTeam sharedLinksViewedByOutsideUser:(NSArray *)sharedLinksViewedByOutsideUser sharedLinksViewedByNotLoggedIn:(NSArray *)sharedLinksViewedByNotLoggedIn sharedLinksViewedTotal:(NSArray *)sharedLinksViewedTotal; @end #pragma mark - Serializer Object /// /// The serialization class for the `GetActivityReport` struct. /// @interface DBTEAMGetActivityReportSerializer : NSObject /// /// Serializes `DBTEAMGetActivityReport` instances. /// /// @param instance An instance of the `DBTEAMGetActivityReport` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMGetActivityReport` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMGetActivityReport *)instance; /// /// Deserializes `DBTEAMGetActivityReport` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMGetActivityReport` API object. /// /// @return An instantiation of the `DBTEAMGetActivityReport` object. /// + (DBTEAMGetActivityReport *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGetDevicesReport.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" #import "DBTEAMBaseDfbReport.h" @class DBTEAMDevicesActive; @class DBTEAMGetDevicesReport; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `GetDevicesReport` struct. /// /// Devices Report Result. Contains subsections for different time ranges of /// activity. Each of the items in each subsection of the storage report is an /// array of values, one value per day. If there is no data for a day, then the /// value will be None. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMGetDevicesReport : DBTEAMBaseDfbReport #pragma mark - Instance fields /// Report of the number of devices active in the last day. @property (nonatomic, readonly) DBTEAMDevicesActive *active1Day; /// Report of the number of devices active in the last 7 days. @property (nonatomic, readonly) DBTEAMDevicesActive *active7Day; /// Report of the number of devices active in the last 28 days. @property (nonatomic, readonly) DBTEAMDevicesActive *active28Day; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param startDate First date present in the results as 'YYYY-MM-DD' or None. /// @param active1Day Report of the number of devices active in the last day. /// @param active7Day Report of the number of devices active in the last 7 days. /// @param active28Day Report of the number of devices active in the last 28 /// days. /// /// @return An initialized instance. /// - (instancetype)initWithStartDate:(NSString *)startDate active1Day:(DBTEAMDevicesActive *)active1Day active7Day:(DBTEAMDevicesActive *)active7Day active28Day:(DBTEAMDevicesActive *)active28Day; @end #pragma mark - Serializer Object /// /// The serialization class for the `GetDevicesReport` struct. /// @interface DBTEAMGetDevicesReportSerializer : NSObject /// /// Serializes `DBTEAMGetDevicesReport` instances. /// /// @param instance An instance of the `DBTEAMGetDevicesReport` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMGetDevicesReport` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMGetDevicesReport *)instance; /// /// Deserializes `DBTEAMGetDevicesReport` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMGetDevicesReport` API object. /// /// @return An instantiation of the `DBTEAMGetDevicesReport` object. /// + (DBTEAMGetDevicesReport *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGetMembershipReport.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" #import "DBTEAMBaseDfbReport.h" @class DBTEAMGetMembershipReport; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `GetMembershipReport` struct. /// /// Membership Report Result. Each of the items in the storage report is an /// array of values, one value per day. If there is no data for a day, then the /// value will be None. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMGetMembershipReport : DBTEAMBaseDfbReport #pragma mark - Instance fields /// Team size, for each day. @property (nonatomic, readonly) NSArray *teamSize; /// The number of pending invites to the team, for each day. @property (nonatomic, readonly) NSArray *pendingInvites; /// The number of members that joined the team, for each day. @property (nonatomic, readonly) NSArray *membersJoined; /// The number of suspended team members, for each day. @property (nonatomic, readonly) NSArray *suspendedMembers; /// The total number of licenses the team has, for each day. @property (nonatomic, readonly) NSArray *licenses; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param startDate First date present in the results as 'YYYY-MM-DD' or None. /// @param teamSize Team size, for each day. /// @param pendingInvites The number of pending invites to the team, for each /// day. /// @param membersJoined The number of members that joined the team, for each /// day. /// @param suspendedMembers The number of suspended team members, for each day. /// @param licenses The total number of licenses the team has, for each day. /// /// @return An initialized instance. /// - (instancetype)initWithStartDate:(NSString *)startDate teamSize:(NSArray *)teamSize pendingInvites:(NSArray *)pendingInvites membersJoined:(NSArray *)membersJoined suspendedMembers:(NSArray *)suspendedMembers licenses:(NSArray *)licenses; @end #pragma mark - Serializer Object /// /// The serialization class for the `GetMembershipReport` struct. /// @interface DBTEAMGetMembershipReportSerializer : NSObject /// /// Serializes `DBTEAMGetMembershipReport` instances. /// /// @param instance An instance of the `DBTEAMGetMembershipReport` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMGetMembershipReport` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMGetMembershipReport *)instance; /// /// Deserializes `DBTEAMGetMembershipReport` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMGetMembershipReport` API object. /// /// @return An instantiation of the `DBTEAMGetMembershipReport` object. /// + (DBTEAMGetMembershipReport *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGetStorageReport.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" #import "DBTEAMBaseDfbReport.h" @class DBTEAMGetStorageReport; @class DBTEAMStorageBucket; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `GetStorageReport` struct. /// /// Storage Report Result. Each of the items in the storage report is an array /// of values, one value per day. If there is no data for a day, then the value /// will be None. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMGetStorageReport : DBTEAMBaseDfbReport #pragma mark - Instance fields /// Sum of the shared, unshared, and datastore usages, for each day. @property (nonatomic, readonly) NSArray *totalUsage; /// Array of the combined size (bytes) of team members' shared folders, for each /// day. @property (nonatomic, readonly) NSArray *sharedUsage; /// Array of the combined size (bytes) of team members' root namespaces, for /// each day. @property (nonatomic, readonly) NSArray *unsharedUsage; /// Array of the number of shared folders owned by team members, for each day. @property (nonatomic, readonly) NSArray *sharedFolders; /// Array of storage summaries of team members' account sizes. Each storage /// summary is an array of key, value pairs, where each pair describes a storage /// bucket. The key indicates the upper bound of the bucket and the value is the /// number of users in that bucket. There is one such summary per day. If there /// is no data for a day, the storage summary will be empty. @property (nonatomic, readonly) NSArray *> *memberStorageMap; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param startDate First date present in the results as 'YYYY-MM-DD' or None. /// @param totalUsage Sum of the shared, unshared, and datastore usages, for /// each day. /// @param sharedUsage Array of the combined size (bytes) of team members' /// shared folders, for each day. /// @param unsharedUsage Array of the combined size (bytes) of team members' /// root namespaces, for each day. /// @param sharedFolders Array of the number of shared folders owned by team /// members, for each day. /// @param memberStorageMap Array of storage summaries of team members' account /// sizes. Each storage summary is an array of key, value pairs, where each pair /// describes a storage bucket. The key indicates the upper bound of the bucket /// and the value is the number of users in that bucket. There is one such /// summary per day. If there is no data for a day, the storage summary will be /// empty. /// /// @return An initialized instance. /// - (instancetype)initWithStartDate:(NSString *)startDate totalUsage:(NSArray *)totalUsage sharedUsage:(NSArray *)sharedUsage unsharedUsage:(NSArray *)unsharedUsage sharedFolders:(NSArray *)sharedFolders memberStorageMap:(NSArray *> *)memberStorageMap; @end #pragma mark - Serializer Object /// /// The serialization class for the `GetStorageReport` struct. /// @interface DBTEAMGetStorageReportSerializer : NSObject /// /// Serializes `DBTEAMGetStorageReport` instances. /// /// @param instance An instance of the `DBTEAMGetStorageReport` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMGetStorageReport` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMGetStorageReport *)instance; /// /// Deserializes `DBTEAMGetStorageReport` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMGetStorageReport` API object. /// /// @return An instantiation of the `DBTEAMGetStorageReport` object. /// + (DBTEAMGetStorageReport *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupAccessType.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMGroupAccessType; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `GroupAccessType` union. /// /// Role of a user in group. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMGroupAccessType : NSObject #pragma mark - Instance fields /// The `DBTEAMGroupAccessTypeTag` enum type represents the possible tag states /// with which the `DBTEAMGroupAccessType` union can exist. 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, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMGroupAccessTypeTag tag; #pragma mark - Constructors /// /// Initializes union class with tag state of "member". /// /// Description of the "member" tag state: User is a member of the group, but /// has no special permissions. /// /// @return An initialized instance. /// - (instancetype)initWithMember; /// /// Initializes union class with tag state of "owner". /// /// Description of the "owner" tag state: User can rename the group, and /// add/remove members. /// /// @return An initialized instance. /// - (instancetype)initWithOwner; - (instancetype)init NS_UNAVAILABLE; #pragma mark - Tag state methods /// /// Retrieves whether the union's current tag state has value "member". /// /// @return Whether the union's current tag state has value "member". /// - (BOOL)isMember; /// /// 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 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 `DBTEAMGroupAccessType` union. /// @interface DBTEAMGroupAccessTypeSerializer : NSObject /// /// Serializes `DBTEAMGroupAccessType` instances. /// /// @param instance An instance of the `DBTEAMGroupAccessType` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMGroupAccessType` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMGroupAccessType *)instance; /// /// Deserializes `DBTEAMGroupAccessType` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMGroupAccessType` API object. /// /// @return An instantiation of the `DBTEAMGroupAccessType` object. /// + (DBTEAMGroupAccessType *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupCreateArg.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMCOMMONGroupManagementType; @class DBTEAMGroupCreateArg; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `GroupCreateArg` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMGroupCreateArg : NSObject #pragma mark - Instance fields /// 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; /// Whether the team can be managed by selected users, or only by team admins. @property (nonatomic, readonly, nullable) DBTEAMCOMMONGroupManagementType *groupManagementType; #pragma mark - Constructors /// /// 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 /// users, or only by team admins. /// /// @return An initialized instance. /// - (instancetype)initWithGroupName:(NSString *)groupName addCreatorAsOwner:(nullable NSNumber *)addCreatorAsOwner groupExternalId:(nullable NSString *)groupExternalId groupManagementType:(nullable DBTEAMCOMMONGroupManagementType *)groupManagementType; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param groupName Group name. /// /// @return An initialized instance. /// - (instancetype)initWithGroupName:(NSString *)groupName; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `GroupCreateArg` struct. /// @interface DBTEAMGroupCreateArgSerializer : NSObject /// /// Serializes `DBTEAMGroupCreateArg` instances. /// /// @param instance An instance of the `DBTEAMGroupCreateArg` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMGroupCreateArg` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMGroupCreateArg *)instance; /// /// Deserializes `DBTEAMGroupCreateArg` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMGroupCreateArg` API object. /// /// @return An instantiation of the `DBTEAMGroupCreateArg` object. /// + (DBTEAMGroupCreateArg *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupCreateError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMGroupCreateError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `GroupCreateError` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMGroupCreateError : NSObject #pragma mark - Instance fields /// The `DBTEAMGroupCreateErrorTag` enum type represents the possible tag states /// with which the `DBTEAMGroupCreateError` union can exist. 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, /// The requested external ID is already being used by another group. DBTEAMGroupCreateErrorExternalIdAlreadyInUse, /// System-managed group cannot be manually created. DBTEAMGroupCreateErrorSystemManagedGroupDisallowed, /// (no description). DBTEAMGroupCreateErrorOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMGroupCreateErrorTag tag; #pragma mark - Constructors /// /// Initializes union class with tag state of "group_name_already_used". /// /// Description of the "group_name_already_used" tag state: The requested group /// name is already being used by another group. /// /// @return An initialized instance. /// - (instancetype)initWithGroupNameAlreadyUsed; /// /// Initializes union class with tag state of "group_name_invalid". /// /// Description of the "group_name_invalid" tag state: Group name is empty or /// has invalid characters. /// /// @return An initialized instance. /// - (instancetype)initWithGroupNameInvalid; /// /// Initializes union class with tag state of "external_id_already_in_use". /// /// Description of the "external_id_already_in_use" tag state: The requested /// external ID is already being used by another group. /// /// @return An initialized instance. /// - (instancetype)initWithExternalIdAlreadyInUse; /// /// Initializes union class with tag state of "system_managed_group_disallowed". /// /// Description of the "system_managed_group_disallowed" tag state: /// System-managed group cannot be manually created. /// /// @return An initialized instance. /// - (instancetype)initWithSystemManagedGroupDisallowed; /// /// 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 /// "group_name_already_used". /// /// @return Whether the union's current tag state has value /// "group_name_already_used". /// - (BOOL)isGroupNameAlreadyUsed; /// /// Retrieves whether the union's current tag state has value /// "group_name_invalid". /// /// @return Whether the union's current tag state has value /// "group_name_invalid". /// - (BOOL)isGroupNameInvalid; /// /// Retrieves whether the union's current tag state has value /// "external_id_already_in_use". /// /// @return Whether the union's current tag state has value /// "external_id_already_in_use". /// - (BOOL)isExternalIdAlreadyInUse; /// /// Retrieves whether the union's current tag state has value /// "system_managed_group_disallowed". /// /// @return Whether the union's current tag state has value /// "system_managed_group_disallowed". /// - (BOOL)isSystemManagedGroupDisallowed; /// /// 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 `DBTEAMGroupCreateError` union. /// @interface DBTEAMGroupCreateErrorSerializer : NSObject /// /// Serializes `DBTEAMGroupCreateError` instances. /// /// @param instance An instance of the `DBTEAMGroupCreateError` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMGroupCreateError` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMGroupCreateError *)instance; /// /// Deserializes `DBTEAMGroupCreateError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMGroupCreateError` API object. /// /// @return An instantiation of the `DBTEAMGroupCreateError` object. /// + (DBTEAMGroupCreateError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupDeleteError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMGroupDeleteError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `GroupDeleteError` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMGroupDeleteError : NSObject #pragma mark - Instance fields /// The `DBTEAMGroupDeleteErrorTag` enum type represents the possible tag states /// with which the `DBTEAMGroupDeleteError` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBTEAMGroupDeleteErrorTag){ /// No matching group found. No groups match the specified group ID. DBTEAMGroupDeleteErrorGroupNotFound, /// (no description). DBTEAMGroupDeleteErrorOther, /// This operation is not supported on system-managed groups. DBTEAMGroupDeleteErrorSystemManagedGroupDisallowed, /// This group has already been deleted. DBTEAMGroupDeleteErrorGroupAlreadyDeleted, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMGroupDeleteErrorTag tag; #pragma mark - Constructors /// /// Initializes union class with tag state of "group_not_found". /// /// Description of the "group_not_found" tag state: No matching group found. No /// groups match the specified group ID. /// /// @return An initialized instance. /// - (instancetype)initWithGroupNotFound; /// /// Initializes union class with tag state of "other". /// /// @return An initialized instance. /// - (instancetype)initWithOther; /// /// Initializes union class with tag state of "system_managed_group_disallowed". /// /// Description of the "system_managed_group_disallowed" tag state: This /// operation is not supported on system-managed groups. /// /// @return An initialized instance. /// - (instancetype)initWithSystemManagedGroupDisallowed; /// /// Initializes union class with tag state of "group_already_deleted". /// /// Description of the "group_already_deleted" tag state: This group has already /// been deleted. /// /// @return An initialized instance. /// - (instancetype)initWithGroupAlreadyDeleted; - (instancetype)init NS_UNAVAILABLE; #pragma mark - Tag state methods /// /// Retrieves whether the union's current tag state has value "group_not_found". /// /// @return Whether the union's current tag state has value "group_not_found". /// - (BOOL)isGroupNotFound; /// /// 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 /// "system_managed_group_disallowed". /// /// @return Whether the union's current tag state has value /// "system_managed_group_disallowed". /// - (BOOL)isSystemManagedGroupDisallowed; /// /// Retrieves whether the union's current tag state has value /// "group_already_deleted". /// /// @return Whether the union's current tag state has value /// "group_already_deleted". /// - (BOOL)isGroupAlreadyDeleted; /// /// 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 `DBTEAMGroupDeleteError` union. /// @interface DBTEAMGroupDeleteErrorSerializer : NSObject /// /// Serializes `DBTEAMGroupDeleteError` instances. /// /// @param instance An instance of the `DBTEAMGroupDeleteError` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMGroupDeleteError` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMGroupDeleteError *)instance; /// /// Deserializes `DBTEAMGroupDeleteError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMGroupDeleteError` API object. /// /// @return An instantiation of the `DBTEAMGroupDeleteError` object. /// + (DBTEAMGroupDeleteError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupFullInfo.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" #import "DBTEAMCOMMONGroupSummary.h" @class DBTEAMCOMMONGroupManagementType; @class DBTEAMGroupFullInfo; @class DBTEAMGroupMemberInfo; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `GroupFullInfo` struct. /// /// Full description of a group. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMGroupFullInfo : DBTEAMCOMMONGroupSummary #pragma mark - Instance fields /// List of group members. @property (nonatomic, readonly, nullable) NSArray *members; /// The group creation time as a UTC timestamp in milliseconds since the Unix /// epoch. @property (nonatomic, readonly) NSNumber *created; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param groupName (no description). /// @param groupId (no description). /// @param groupManagementType Who is allowed to manage the group. /// @param created The group creation time as a UTC timestamp in milliseconds /// since the Unix epoch. /// @param groupExternalId External ID of group. This is an arbitrary ID that an /// admin can attach to a group. /// @param memberCount The number of members in the group. /// @param members List of group members. /// /// @return An initialized instance. /// - (instancetype)initWithGroupName:(NSString *)groupName groupId:(NSString *)groupId groupManagementType:(DBTEAMCOMMONGroupManagementType *)groupManagementType created:(NSNumber *)created groupExternalId:(nullable NSString *)groupExternalId memberCount:(nullable NSNumber *)memberCount members:(nullable NSArray *)members; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param groupName (no description). /// @param groupId (no description). /// @param groupManagementType Who is allowed to manage the group. /// @param created The group creation time as a UTC timestamp in milliseconds /// since the Unix epoch. /// /// @return An initialized instance. /// - (instancetype)initWithGroupName:(NSString *)groupName groupId:(NSString *)groupId groupManagementType:(DBTEAMCOMMONGroupManagementType *)groupManagementType created:(NSNumber *)created; @end #pragma mark - Serializer Object /// /// The serialization class for the `GroupFullInfo` struct. /// @interface DBTEAMGroupFullInfoSerializer : NSObject /// /// Serializes `DBTEAMGroupFullInfo` instances. /// /// @param instance An instance of the `DBTEAMGroupFullInfo` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMGroupFullInfo` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMGroupFullInfo *)instance; /// /// Deserializes `DBTEAMGroupFullInfo` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMGroupFullInfo` API object. /// /// @return An instantiation of the `DBTEAMGroupFullInfo` object. /// + (DBTEAMGroupFullInfo *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupMemberInfo.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMGroupAccessType; @class DBTEAMGroupMemberInfo; @class DBTEAMMemberProfile; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `GroupMemberInfo` struct. /// /// Profile of group member, and role in group. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMGroupMemberInfo : NSObject #pragma mark - Instance fields /// Profile of group member. @property (nonatomic, readonly) DBTEAMMemberProfile *profile; /// The role that the user has in the group. @property (nonatomic, readonly) DBTEAMGroupAccessType *accessType; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param profile Profile of group member. /// @param accessType The role that the user has in the group. /// /// @return An initialized instance. /// - (instancetype)initWithProfile:(DBTEAMMemberProfile *)profile accessType:(DBTEAMGroupAccessType *)accessType; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `GroupMemberInfo` struct. /// @interface DBTEAMGroupMemberInfoSerializer : NSObject /// /// Serializes `DBTEAMGroupMemberInfo` instances. /// /// @param instance An instance of the `DBTEAMGroupMemberInfo` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMGroupMemberInfo` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMGroupMemberInfo *)instance; /// /// Deserializes `DBTEAMGroupMemberInfo` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMGroupMemberInfo` API object. /// /// @return An instantiation of the `DBTEAMGroupMemberInfo` object. /// + (DBTEAMGroupMemberInfo *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupMemberSelector.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMGroupMemberSelector; @class DBTEAMGroupSelector; @class DBTEAMUserSelectorArg; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `GroupMemberSelector` struct. /// /// Argument for selecting a group and a single user. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMGroupMemberSelector : NSObject #pragma mark - Instance fields /// Specify a group. @property (nonatomic, readonly) DBTEAMGroupSelector *group; /// Identity of a user that is a member of group. @property (nonatomic, readonly) DBTEAMUserSelectorArg *user; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param group Specify a group. /// @param user Identity of a user that is a member of group. /// /// @return An initialized instance. /// - (instancetype)initWithGroup:(DBTEAMGroupSelector *)group user:(DBTEAMUserSelectorArg *)user; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `GroupMemberSelector` struct. /// @interface DBTEAMGroupMemberSelectorSerializer : NSObject /// /// Serializes `DBTEAMGroupMemberSelector` instances. /// /// @param instance An instance of the `DBTEAMGroupMemberSelector` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMGroupMemberSelector` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMGroupMemberSelector *)instance; /// /// Deserializes `DBTEAMGroupMemberSelector` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMGroupMemberSelector` API object. /// /// @return An instantiation of the `DBTEAMGroupMemberSelector` object. /// + (DBTEAMGroupMemberSelector *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupMemberSelectorError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMGroupMemberSelectorError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `GroupMemberSelectorError` union. /// /// Error that can be raised when GroupMemberSelector is used, and the user is /// required to be a member of the specified group. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMGroupMemberSelectorError : NSObject #pragma mark - Instance fields /// The `DBTEAMGroupMemberSelectorErrorTag` enum type represents the possible /// tag states with which the `DBTEAMGroupMemberSelectorError` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBTEAMGroupMemberSelectorErrorTag){ /// No matching group found. No groups match the specified group ID. DBTEAMGroupMemberSelectorErrorGroupNotFound, /// (no description). DBTEAMGroupMemberSelectorErrorOther, /// This operation is not supported on system-managed groups. DBTEAMGroupMemberSelectorErrorSystemManagedGroupDisallowed, /// The specified user is not a member of this group. DBTEAMGroupMemberSelectorErrorMemberNotInGroup, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMGroupMemberSelectorErrorTag tag; #pragma mark - Constructors /// /// Initializes union class with tag state of "group_not_found". /// /// Description of the "group_not_found" tag state: No matching group found. No /// groups match the specified group ID. /// /// @return An initialized instance. /// - (instancetype)initWithGroupNotFound; /// /// Initializes union class with tag state of "other". /// /// @return An initialized instance. /// - (instancetype)initWithOther; /// /// Initializes union class with tag state of "system_managed_group_disallowed". /// /// Description of the "system_managed_group_disallowed" tag state: This /// operation is not supported on system-managed groups. /// /// @return An initialized instance. /// - (instancetype)initWithSystemManagedGroupDisallowed; /// /// Initializes union class with tag state of "member_not_in_group". /// /// Description of the "member_not_in_group" tag state: The specified user is /// not a member of this group. /// /// @return An initialized instance. /// - (instancetype)initWithMemberNotInGroup; - (instancetype)init NS_UNAVAILABLE; #pragma mark - Tag state methods /// /// Retrieves whether the union's current tag state has value "group_not_found". /// /// @return Whether the union's current tag state has value "group_not_found". /// - (BOOL)isGroupNotFound; /// /// 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 /// "system_managed_group_disallowed". /// /// @return Whether the union's current tag state has value /// "system_managed_group_disallowed". /// - (BOOL)isSystemManagedGroupDisallowed; /// /// Retrieves whether the union's current tag state has value /// "member_not_in_group". /// /// @return Whether the union's current tag state has value /// "member_not_in_group". /// - (BOOL)isMemberNotInGroup; /// /// 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 `DBTEAMGroupMemberSelectorError` union. /// @interface DBTEAMGroupMemberSelectorErrorSerializer : NSObject /// /// Serializes `DBTEAMGroupMemberSelectorError` instances. /// /// @param instance An instance of the `DBTEAMGroupMemberSelectorError` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMGroupMemberSelectorError` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMGroupMemberSelectorError *)instance; /// /// Deserializes `DBTEAMGroupMemberSelectorError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMGroupMemberSelectorError` API object. /// /// @return An instantiation of the `DBTEAMGroupMemberSelectorError` object. /// + (DBTEAMGroupMemberSelectorError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupMemberSetAccessTypeError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMGroupMemberSetAccessTypeError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `GroupMemberSetAccessTypeError` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMGroupMemberSetAccessTypeError : NSObject #pragma mark - Instance fields /// The `DBTEAMGroupMemberSetAccessTypeErrorTag` enum type represents the /// possible tag states with which the `DBTEAMGroupMemberSetAccessTypeError` /// union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBTEAMGroupMemberSetAccessTypeErrorTag){ /// No matching group found. No groups match the specified group ID. DBTEAMGroupMemberSetAccessTypeErrorGroupNotFound, /// (no description). DBTEAMGroupMemberSetAccessTypeErrorOther, /// This operation is not supported on system-managed groups. DBTEAMGroupMemberSetAccessTypeErrorSystemManagedGroupDisallowed, /// The specified user is not a member of this group. DBTEAMGroupMemberSetAccessTypeErrorMemberNotInGroup, /// A company managed group cannot be managed by a user. DBTEAMGroupMemberSetAccessTypeErrorUserCannotBeManagerOfCompanyManagedGroup, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMGroupMemberSetAccessTypeErrorTag tag; #pragma mark - Constructors /// /// Initializes union class with tag state of "group_not_found". /// /// Description of the "group_not_found" tag state: No matching group found. No /// groups match the specified group ID. /// /// @return An initialized instance. /// - (instancetype)initWithGroupNotFound; /// /// Initializes union class with tag state of "other". /// /// @return An initialized instance. /// - (instancetype)initWithOther; /// /// Initializes union class with tag state of "system_managed_group_disallowed". /// /// Description of the "system_managed_group_disallowed" tag state: This /// operation is not supported on system-managed groups. /// /// @return An initialized instance. /// - (instancetype)initWithSystemManagedGroupDisallowed; /// /// Initializes union class with tag state of "member_not_in_group". /// /// Description of the "member_not_in_group" tag state: The specified user is /// not a member of this group. /// /// @return An initialized instance. /// - (instancetype)initWithMemberNotInGroup; /// /// Initializes union class with tag state of /// "user_cannot_be_manager_of_company_managed_group". /// /// Description of the "user_cannot_be_manager_of_company_managed_group" tag /// state: A company managed group cannot be managed by a user. /// /// @return An initialized instance. /// - (instancetype)initWithUserCannotBeManagerOfCompanyManagedGroup; - (instancetype)init NS_UNAVAILABLE; #pragma mark - Tag state methods /// /// Retrieves whether the union's current tag state has value "group_not_found". /// /// @return Whether the union's current tag state has value "group_not_found". /// - (BOOL)isGroupNotFound; /// /// 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 /// "system_managed_group_disallowed". /// /// @return Whether the union's current tag state has value /// "system_managed_group_disallowed". /// - (BOOL)isSystemManagedGroupDisallowed; /// /// Retrieves whether the union's current tag state has value /// "member_not_in_group". /// /// @return Whether the union's current tag state has value /// "member_not_in_group". /// - (BOOL)isMemberNotInGroup; /// /// Retrieves whether the union's current tag state has value /// "user_cannot_be_manager_of_company_managed_group". /// /// @return Whether the union's current tag state has value /// "user_cannot_be_manager_of_company_managed_group". /// - (BOOL)isUserCannotBeManagerOfCompanyManagedGroup; /// /// 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 `DBTEAMGroupMemberSetAccessTypeError` union. /// @interface DBTEAMGroupMemberSetAccessTypeErrorSerializer : NSObject /// /// Serializes `DBTEAMGroupMemberSetAccessTypeError` instances. /// /// @param instance An instance of the `DBTEAMGroupMemberSetAccessTypeError` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMGroupMemberSetAccessTypeError` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMGroupMemberSetAccessTypeError *)instance; /// /// Deserializes `DBTEAMGroupMemberSetAccessTypeError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMGroupMemberSetAccessTypeError` API object. /// /// @return An instantiation of the `DBTEAMGroupMemberSetAccessTypeError` /// object. /// + (DBTEAMGroupMemberSetAccessTypeError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupMembersAddArg.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" #import "DBTEAMIncludeMembersArg.h" @class DBTEAMGroupMembersAddArg; @class DBTEAMGroupSelector; @class DBTEAMMemberAccess; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `GroupMembersAddArg` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMGroupMembersAddArg : DBTEAMIncludeMembersArg #pragma mark - Instance fields /// Group to which users will be added. @property (nonatomic, readonly) DBTEAMGroupSelector *group; /// List of users to be added to the group. @property (nonatomic, readonly) NSArray *members; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param group Group to which users will be added. /// @param members List of users to be added to the group. /// @param returnMembers Whether to return the list of members in the group. /// Note that the default value will cause all the group members to be returned /// in the response. This may take a long time for large groups. /// /// @return An initialized instance. /// - (instancetype)initWithGroup:(DBTEAMGroupSelector *)group members:(NSArray *)members returnMembers:(nullable NSNumber *)returnMembers; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param group Group to which users will be added. /// @param members List of users to be added to the group. /// /// @return An initialized instance. /// - (instancetype)initWithGroup:(DBTEAMGroupSelector *)group members:(NSArray *)members; @end #pragma mark - Serializer Object /// /// The serialization class for the `GroupMembersAddArg` struct. /// @interface DBTEAMGroupMembersAddArgSerializer : NSObject /// /// Serializes `DBTEAMGroupMembersAddArg` instances. /// /// @param instance An instance of the `DBTEAMGroupMembersAddArg` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMGroupMembersAddArg` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMGroupMembersAddArg *)instance; /// /// Deserializes `DBTEAMGroupMembersAddArg` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMGroupMembersAddArg` API object. /// /// @return An instantiation of the `DBTEAMGroupMembersAddArg` object. /// + (DBTEAMGroupMembersAddArg *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupMembersAddError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMGroupMembersAddError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `GroupMembersAddError` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMGroupMembersAddError : NSObject #pragma mark - Instance fields /// The `DBTEAMGroupMembersAddErrorTag` enum type represents the possible tag /// states with which the `DBTEAMGroupMembersAddError` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBTEAMGroupMembersAddErrorTag){ /// No matching group found. No groups match the specified group ID. DBTEAMGroupMembersAddErrorGroupNotFound, /// (no description). DBTEAMGroupMembersAddErrorOther, /// 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, /// 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 users were not found in Dropbox. DBTEAMGroupMembersAddErrorUsersNotFound, /// 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, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMGroupMembersAddErrorTag tag; /// 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. @note Ensure the `isMembersNotInTeam` method /// returns true before accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) NSArray *membersNotInTeam; /// These users were not found in Dropbox. @note Ensure the `isUsersNotFound` /// method returns true before accessing, otherwise a runtime exception will be /// raised. @property (nonatomic, readonly) NSArray *usersNotFound; /// A company-managed group cannot be managed by a user. @note Ensure the /// `isUserCannotBeManagerOfCompanyManagedGroup` method returns true before /// accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) NSArray *userCannotBeManagerOfCompanyManagedGroup; #pragma mark - Constructors /// /// Initializes union class with tag state of "group_not_found". /// /// Description of the "group_not_found" tag state: No matching group found. No /// groups match the specified group ID. /// /// @return An initialized instance. /// - (instancetype)initWithGroupNotFound; /// /// Initializes union class with tag state of "other". /// /// @return An initialized instance. /// - (instancetype)initWithOther; /// /// Initializes union class with tag state of "system_managed_group_disallowed". /// /// Description of the "system_managed_group_disallowed" tag state: This /// operation is not supported on system-managed groups. /// /// @return An initialized instance. /// - (instancetype)initWithSystemManagedGroupDisallowed; /// /// Initializes union class with tag state of "duplicate_user". /// /// Description of the "duplicate_user" tag state: You cannot add duplicate /// users. One or more of the members you are trying to add is already a member /// of the group. /// /// @return An initialized instance. /// - (instancetype)initWithDuplicateUser; /// /// Initializes union class with tag state of "group_not_in_team". /// /// Description of the "group_not_in_team" tag state: Group is not in this team. /// You cannot add members to a group that is outside of your team. /// /// @return An initialized instance. /// - (instancetype)initWithGroupNotInTeam; /// /// Initializes union class with tag state of "members_not_in_team". /// /// Description of the "members_not_in_team" tag state: 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. /// /// @param membersNotInTeam 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. /// /// @return An initialized instance. /// - (instancetype)initWithMembersNotInTeam:(NSArray *)membersNotInTeam; /// /// Initializes union class with tag state of "users_not_found". /// /// Description of the "users_not_found" tag state: These users were not found /// in Dropbox. /// /// @param usersNotFound These users were not found in Dropbox. /// /// @return An initialized instance. /// - (instancetype)initWithUsersNotFound:(NSArray *)usersNotFound; /// /// Initializes union class with tag state of "user_must_be_active_to_be_owner". /// /// Description of the "user_must_be_active_to_be_owner" tag state: A suspended /// user cannot be added to a group as `owner` in `DBTEAMGroupAccessType`. /// /// @return An initialized instance. /// - (instancetype)initWithUserMustBeActiveToBeOwner; /// /// Initializes union class with tag state of /// "user_cannot_be_manager_of_company_managed_group". /// /// Description of the "user_cannot_be_manager_of_company_managed_group" tag /// state: A company-managed group cannot be managed by a user. /// /// @param userCannotBeManagerOfCompanyManagedGroup A company-managed group /// cannot be managed by a user. /// /// @return An initialized instance. /// - (instancetype)initWithUserCannotBeManagerOfCompanyManagedGroup: (NSArray *)userCannotBeManagerOfCompanyManagedGroup; - (instancetype)init NS_UNAVAILABLE; #pragma mark - Tag state methods /// /// Retrieves whether the union's current tag state has value "group_not_found". /// /// @return Whether the union's current tag state has value "group_not_found". /// - (BOOL)isGroupNotFound; /// /// 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 /// "system_managed_group_disallowed". /// /// @return Whether the union's current tag state has value /// "system_managed_group_disallowed". /// - (BOOL)isSystemManagedGroupDisallowed; /// /// Retrieves whether the union's current tag state has value "duplicate_user". /// /// @return Whether the union's current tag state has value "duplicate_user". /// - (BOOL)isDuplicateUser; /// /// Retrieves whether the union's current tag state has value /// "group_not_in_team". /// /// @return Whether the union's current tag state has value "group_not_in_team". /// - (BOOL)isGroupNotInTeam; /// /// Retrieves whether the union's current tag state has value /// "members_not_in_team". /// /// @note Call this method and ensure it returns true before accessing the /// `membersNotInTeam` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value /// "members_not_in_team". /// - (BOOL)isMembersNotInTeam; /// /// Retrieves whether the union's current tag state has value "users_not_found". /// /// @note Call this method and ensure it returns true before accessing the /// `usersNotFound` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value "users_not_found". /// - (BOOL)isUsersNotFound; /// /// Retrieves whether the union's current tag state has value /// "user_must_be_active_to_be_owner". /// /// @return Whether the union's current tag state has value /// "user_must_be_active_to_be_owner". /// - (BOOL)isUserMustBeActiveToBeOwner; /// /// Retrieves whether the union's current tag state has value /// "user_cannot_be_manager_of_company_managed_group". /// /// @note Call this method and ensure it returns true before accessing the /// `userCannotBeManagerOfCompanyManagedGroup` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value /// "user_cannot_be_manager_of_company_managed_group". /// - (BOOL)isUserCannotBeManagerOfCompanyManagedGroup; /// /// 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 `DBTEAMGroupMembersAddError` union. /// @interface DBTEAMGroupMembersAddErrorSerializer : NSObject /// /// Serializes `DBTEAMGroupMembersAddError` instances. /// /// @param instance An instance of the `DBTEAMGroupMembersAddError` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMGroupMembersAddError` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMGroupMembersAddError *)instance; /// /// Deserializes `DBTEAMGroupMembersAddError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMGroupMembersAddError` API object. /// /// @return An instantiation of the `DBTEAMGroupMembersAddError` object. /// + (DBTEAMGroupMembersAddError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupMembersChangeResult.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMGroupFullInfo; @class DBTEAMGroupMembersChangeResult; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `GroupMembersChangeResult` struct. /// /// Result returned by `groupsMembersAdd` and `groupsMembersRemove`. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMGroupMembersChangeResult : NSObject #pragma mark - Instance fields /// The group info after member change operation has been performed. @property (nonatomic, readonly) DBTEAMGroupFullInfo *groupInfo; /// 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 /// /// Full constructor for the struct (exposes all instance variables). /// /// @param groupInfo The group info after member change operation has been /// performed. /// @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. /// - (instancetype)initWithGroupInfo:(DBTEAMGroupFullInfo *)groupInfo asyncJobId:(NSString *)asyncJobId; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `GroupMembersChangeResult` struct. /// @interface DBTEAMGroupMembersChangeResultSerializer : NSObject /// /// Serializes `DBTEAMGroupMembersChangeResult` instances. /// /// @param instance An instance of the `DBTEAMGroupMembersChangeResult` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMGroupMembersChangeResult` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMGroupMembersChangeResult *)instance; /// /// Deserializes `DBTEAMGroupMembersChangeResult` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMGroupMembersChangeResult` API object. /// /// @return An instantiation of the `DBTEAMGroupMembersChangeResult` object. /// + (DBTEAMGroupMembersChangeResult *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupMembersRemoveArg.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" #import "DBTEAMIncludeMembersArg.h" @class DBTEAMGroupMembersRemoveArg; @class DBTEAMGroupSelector; @class DBTEAMUserSelectorArg; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `GroupMembersRemoveArg` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMGroupMembersRemoveArg : DBTEAMIncludeMembersArg #pragma mark - Instance fields /// Group from which users will be removed. @property (nonatomic, readonly) DBTEAMGroupSelector *group; /// List of users to be removed from the group. @property (nonatomic, readonly) NSArray *users; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param group Group from which users will be removed. /// @param users List of users to be removed from the group. /// @param returnMembers Whether to return the list of members in the group. /// Note that the default value will cause all the group members to be returned /// in the response. This may take a long time for large groups. /// /// @return An initialized instance. /// - (instancetype)initWithGroup:(DBTEAMGroupSelector *)group users:(NSArray *)users returnMembers:(nullable NSNumber *)returnMembers; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param group Group from which users will be removed. /// @param users List of users to be removed from the group. /// /// @return An initialized instance. /// - (instancetype)initWithGroup:(DBTEAMGroupSelector *)group users:(NSArray *)users; @end #pragma mark - Serializer Object /// /// The serialization class for the `GroupMembersRemoveArg` struct. /// @interface DBTEAMGroupMembersRemoveArgSerializer : NSObject /// /// Serializes `DBTEAMGroupMembersRemoveArg` instances. /// /// @param instance An instance of the `DBTEAMGroupMembersRemoveArg` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMGroupMembersRemoveArg` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMGroupMembersRemoveArg *)instance; /// /// Deserializes `DBTEAMGroupMembersRemoveArg` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMGroupMembersRemoveArg` API object. /// /// @return An instantiation of the `DBTEAMGroupMembersRemoveArg` object. /// + (DBTEAMGroupMembersRemoveArg *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupMembersRemoveError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMGroupMembersRemoveError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `GroupMembersRemoveError` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMGroupMembersRemoveError : NSObject #pragma mark - Instance fields /// The `DBTEAMGroupMembersRemoveErrorTag` enum type represents the possible tag /// states with which the `DBTEAMGroupMembersRemoveError` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBTEAMGroupMembersRemoveErrorTag){ /// No matching group found. No groups match the specified group ID. DBTEAMGroupMembersRemoveErrorGroupNotFound, /// (no description). DBTEAMGroupMembersRemoveErrorOther, /// 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, /// 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 users were not found in Dropbox. DBTEAMGroupMembersRemoveErrorUsersNotFound, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMGroupMembersRemoveErrorTag tag; /// These members are not part of your team. @note Ensure the /// `isMembersNotInTeam` method returns true before accessing, otherwise a /// runtime exception will be raised. @property (nonatomic, readonly) NSArray *membersNotInTeam; /// These users were not found in Dropbox. @note Ensure the `isUsersNotFound` /// method returns true before accessing, otherwise a runtime exception will be /// raised. @property (nonatomic, readonly) NSArray *usersNotFound; #pragma mark - Constructors /// /// Initializes union class with tag state of "group_not_found". /// /// Description of the "group_not_found" tag state: No matching group found. No /// groups match the specified group ID. /// /// @return An initialized instance. /// - (instancetype)initWithGroupNotFound; /// /// Initializes union class with tag state of "other". /// /// @return An initialized instance. /// - (instancetype)initWithOther; /// /// Initializes union class with tag state of "system_managed_group_disallowed". /// /// Description of the "system_managed_group_disallowed" tag state: This /// operation is not supported on system-managed groups. /// /// @return An initialized instance. /// - (instancetype)initWithSystemManagedGroupDisallowed; /// /// Initializes union class with tag state of "member_not_in_group". /// /// Description of the "member_not_in_group" tag state: At least one of the /// specified users is not a member of the group. /// /// @return An initialized instance. /// - (instancetype)initWithMemberNotInGroup; /// /// Initializes union class with tag state of "group_not_in_team". /// /// Description of the "group_not_in_team" tag state: Group is not in this team. /// You cannot remove members from a group that is outside of your team. /// /// @return An initialized instance. /// - (instancetype)initWithGroupNotInTeam; /// /// Initializes union class with tag state of "members_not_in_team". /// /// Description of the "members_not_in_team" tag state: These members are not /// part of your team. /// /// @param membersNotInTeam These members are not part of your team. /// /// @return An initialized instance. /// - (instancetype)initWithMembersNotInTeam:(NSArray *)membersNotInTeam; /// /// Initializes union class with tag state of "users_not_found". /// /// Description of the "users_not_found" tag state: These users were not found /// in Dropbox. /// /// @param usersNotFound These users were not found in Dropbox. /// /// @return An initialized instance. /// - (instancetype)initWithUsersNotFound:(NSArray *)usersNotFound; - (instancetype)init NS_UNAVAILABLE; #pragma mark - Tag state methods /// /// Retrieves whether the union's current tag state has value "group_not_found". /// /// @return Whether the union's current tag state has value "group_not_found". /// - (BOOL)isGroupNotFound; /// /// 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 /// "system_managed_group_disallowed". /// /// @return Whether the union's current tag state has value /// "system_managed_group_disallowed". /// - (BOOL)isSystemManagedGroupDisallowed; /// /// Retrieves whether the union's current tag state has value /// "member_not_in_group". /// /// @return Whether the union's current tag state has value /// "member_not_in_group". /// - (BOOL)isMemberNotInGroup; /// /// Retrieves whether the union's current tag state has value /// "group_not_in_team". /// /// @return Whether the union's current tag state has value "group_not_in_team". /// - (BOOL)isGroupNotInTeam; /// /// Retrieves whether the union's current tag state has value /// "members_not_in_team". /// /// @note Call this method and ensure it returns true before accessing the /// `membersNotInTeam` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value /// "members_not_in_team". /// - (BOOL)isMembersNotInTeam; /// /// Retrieves whether the union's current tag state has value "users_not_found". /// /// @note Call this method and ensure it returns true before accessing the /// `usersNotFound` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value "users_not_found". /// - (BOOL)isUsersNotFound; /// /// 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 `DBTEAMGroupMembersRemoveError` union. /// @interface DBTEAMGroupMembersRemoveErrorSerializer : NSObject /// /// Serializes `DBTEAMGroupMembersRemoveError` instances. /// /// @param instance An instance of the `DBTEAMGroupMembersRemoveError` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMGroupMembersRemoveError` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMGroupMembersRemoveError *)instance; /// /// Deserializes `DBTEAMGroupMembersRemoveError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMGroupMembersRemoveError` API object. /// /// @return An instantiation of the `DBTEAMGroupMembersRemoveError` object. /// + (DBTEAMGroupMembersRemoveError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupMembersSelector.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMGroupMembersSelector; @class DBTEAMGroupSelector; @class DBTEAMUsersSelectorArg; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `GroupMembersSelector` struct. /// /// Argument for selecting a group and a list of users. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMGroupMembersSelector : NSObject #pragma mark - Instance fields /// Specify a group. @property (nonatomic, readonly) DBTEAMGroupSelector *group; /// A list of users that are members of group. @property (nonatomic, readonly) DBTEAMUsersSelectorArg *users; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param group Specify a group. /// @param users A list of users that are members of group. /// /// @return An initialized instance. /// - (instancetype)initWithGroup:(DBTEAMGroupSelector *)group users:(DBTEAMUsersSelectorArg *)users; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `GroupMembersSelector` struct. /// @interface DBTEAMGroupMembersSelectorSerializer : NSObject /// /// Serializes `DBTEAMGroupMembersSelector` instances. /// /// @param instance An instance of the `DBTEAMGroupMembersSelector` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMGroupMembersSelector` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMGroupMembersSelector *)instance; /// /// Deserializes `DBTEAMGroupMembersSelector` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMGroupMembersSelector` API object. /// /// @return An instantiation of the `DBTEAMGroupMembersSelector` object. /// + (DBTEAMGroupMembersSelector *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupMembersSelectorError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMGroupMembersSelectorError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `GroupMembersSelectorError` union. /// /// Error that can be raised when GroupMembersSelector is used, and the users /// are required to be members of the specified group. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMGroupMembersSelectorError : NSObject #pragma mark - Instance fields /// The `DBTEAMGroupMembersSelectorErrorTag` enum type represents the possible /// tag states with which the `DBTEAMGroupMembersSelectorError` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBTEAMGroupMembersSelectorErrorTag){ /// No matching group found. No groups match the specified group ID. DBTEAMGroupMembersSelectorErrorGroupNotFound, /// (no description). DBTEAMGroupMembersSelectorErrorOther, /// 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, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMGroupMembersSelectorErrorTag tag; #pragma mark - Constructors /// /// Initializes union class with tag state of "group_not_found". /// /// Description of the "group_not_found" tag state: No matching group found. No /// groups match the specified group ID. /// /// @return An initialized instance. /// - (instancetype)initWithGroupNotFound; /// /// Initializes union class with tag state of "other". /// /// @return An initialized instance. /// - (instancetype)initWithOther; /// /// Initializes union class with tag state of "system_managed_group_disallowed". /// /// Description of the "system_managed_group_disallowed" tag state: This /// operation is not supported on system-managed groups. /// /// @return An initialized instance. /// - (instancetype)initWithSystemManagedGroupDisallowed; /// /// Initializes union class with tag state of "member_not_in_group". /// /// Description of the "member_not_in_group" tag state: At least one of the /// specified users is not a member of the group. /// /// @return An initialized instance. /// - (instancetype)initWithMemberNotInGroup; - (instancetype)init NS_UNAVAILABLE; #pragma mark - Tag state methods /// /// Retrieves whether the union's current tag state has value "group_not_found". /// /// @return Whether the union's current tag state has value "group_not_found". /// - (BOOL)isGroupNotFound; /// /// 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 /// "system_managed_group_disallowed". /// /// @return Whether the union's current tag state has value /// "system_managed_group_disallowed". /// - (BOOL)isSystemManagedGroupDisallowed; /// /// Retrieves whether the union's current tag state has value /// "member_not_in_group". /// /// @return Whether the union's current tag state has value /// "member_not_in_group". /// - (BOOL)isMemberNotInGroup; /// /// 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 `DBTEAMGroupMembersSelectorError` union. /// @interface DBTEAMGroupMembersSelectorErrorSerializer : NSObject /// /// Serializes `DBTEAMGroupMembersSelectorError` instances. /// /// @param instance An instance of the `DBTEAMGroupMembersSelectorError` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMGroupMembersSelectorError` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMGroupMembersSelectorError *)instance; /// /// Deserializes `DBTEAMGroupMembersSelectorError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMGroupMembersSelectorError` API object. /// /// @return An instantiation of the `DBTEAMGroupMembersSelectorError` object. /// + (DBTEAMGroupMembersSelectorError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupMembersSetAccessTypeArg.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" #import "DBTEAMGroupMemberSelector.h" @class DBTEAMGroupAccessType; @class DBTEAMGroupMembersSetAccessTypeArg; @class DBTEAMGroupSelector; @class DBTEAMUserSelectorArg; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `GroupMembersSetAccessTypeArg` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMGroupMembersSetAccessTypeArg : DBTEAMGroupMemberSelector #pragma mark - Instance fields /// New group access type the user will have. @property (nonatomic, readonly) DBTEAMGroupAccessType *accessType; /// Whether to return the list of members in the group. Note that the default /// value will cause all the group members to be returned in the response. This /// may take a long time for large groups. @property (nonatomic, readonly) NSNumber *returnMembers; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param group Specify a group. /// @param user Identity of a user that is a member of group. /// @param accessType New group access type the user will have. /// @param returnMembers Whether to return the list of members in the group. /// Note that the default value will cause all the group members to be returned /// in the response. This may take a long time for large groups. /// /// @return An initialized instance. /// - (instancetype)initWithGroup:(DBTEAMGroupSelector *)group user:(DBTEAMUserSelectorArg *)user accessType:(DBTEAMGroupAccessType *)accessType returnMembers:(nullable NSNumber *)returnMembers; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param group Specify a group. /// @param user Identity of a user that is a member of group. /// @param accessType New group access type the user will have. /// /// @return An initialized instance. /// - (instancetype)initWithGroup:(DBTEAMGroupSelector *)group user:(DBTEAMUserSelectorArg *)user accessType:(DBTEAMGroupAccessType *)accessType; @end #pragma mark - Serializer Object /// /// The serialization class for the `GroupMembersSetAccessTypeArg` struct. /// @interface DBTEAMGroupMembersSetAccessTypeArgSerializer : NSObject /// /// Serializes `DBTEAMGroupMembersSetAccessTypeArg` instances. /// /// @param instance An instance of the `DBTEAMGroupMembersSetAccessTypeArg` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMGroupMembersSetAccessTypeArg` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMGroupMembersSetAccessTypeArg *)instance; /// /// Deserializes `DBTEAMGroupMembersSetAccessTypeArg` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMGroupMembersSetAccessTypeArg` API object. /// /// @return An instantiation of the `DBTEAMGroupMembersSetAccessTypeArg` object. /// + (DBTEAMGroupMembersSetAccessTypeArg *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupSelector.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMGroupSelector; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `GroupSelector` union. /// /// Argument for selecting a single group, either by group_id or by external /// group ID. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMGroupSelector : NSObject #pragma mark - Instance fields /// The `DBTEAMGroupSelectorTag` enum type represents the possible tag states /// with which the `DBTEAMGroupSelector` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBTEAMGroupSelectorTag){ /// Group ID. DBTEAMGroupSelectorGroupId, /// External ID of the group. DBTEAMGroupSelectorGroupExternalId, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMGroupSelectorTag tag; /// Group ID. @note Ensure the `isGroupId` method returns true before accessing, /// otherwise a runtime exception will be raised. @property (nonatomic, readonly, copy) NSString *groupId; /// External ID of the group. @note Ensure the `isGroupExternalId` method /// returns true before accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly, copy) NSString *groupExternalId; #pragma mark - Constructors /// /// Initializes union class with tag state of "group_id". /// /// Description of the "group_id" tag state: Group ID. /// /// @param groupId Group ID. /// /// @return An initialized instance. /// - (instancetype)initWithGroupId:(NSString *)groupId; /// /// Initializes union class with tag state of "group_external_id". /// /// Description of the "group_external_id" tag state: External ID of the group. /// /// @param groupExternalId External ID of the group. /// /// @return An initialized instance. /// - (instancetype)initWithGroupExternalId:(NSString *)groupExternalId; - (instancetype)init NS_UNAVAILABLE; #pragma mark - Tag state methods /// /// Retrieves whether the union's current tag state has value "group_id". /// /// @note Call this method and ensure it returns true before accessing the /// `groupId` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value "group_id". /// - (BOOL)isGroupId; /// /// Retrieves whether the union's current tag state has value /// "group_external_id". /// /// @note Call this method and ensure it returns true before accessing the /// `groupExternalId` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value "group_external_id". /// - (BOOL)isGroupExternalId; /// /// 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 `DBTEAMGroupSelector` union. /// @interface DBTEAMGroupSelectorSerializer : NSObject /// /// Serializes `DBTEAMGroupSelector` instances. /// /// @param instance An instance of the `DBTEAMGroupSelector` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMGroupSelector` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMGroupSelector *)instance; /// /// Deserializes `DBTEAMGroupSelector` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMGroupSelector` API object. /// /// @return An instantiation of the `DBTEAMGroupSelector` object. /// + (DBTEAMGroupSelector *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupSelectorError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMGroupSelectorError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `GroupSelectorError` union. /// /// Error that can be raised when GroupSelector is used. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMGroupSelectorError : NSObject #pragma mark - Instance fields /// The `DBTEAMGroupSelectorErrorTag` enum type represents the possible tag /// states with which the `DBTEAMGroupSelectorError` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBTEAMGroupSelectorErrorTag){ /// No matching group found. No groups match the specified group ID. DBTEAMGroupSelectorErrorGroupNotFound, /// (no description). DBTEAMGroupSelectorErrorOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMGroupSelectorErrorTag tag; #pragma mark - Constructors /// /// Initializes union class with tag state of "group_not_found". /// /// Description of the "group_not_found" tag state: No matching group found. No /// groups match the specified group ID. /// /// @return An initialized instance. /// - (instancetype)initWithGroupNotFound; /// /// 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 "group_not_found". /// /// @return Whether the union's current tag state has value "group_not_found". /// - (BOOL)isGroupNotFound; /// /// 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 `DBTEAMGroupSelectorError` union. /// @interface DBTEAMGroupSelectorErrorSerializer : NSObject /// /// Serializes `DBTEAMGroupSelectorError` instances. /// /// @param instance An instance of the `DBTEAMGroupSelectorError` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMGroupSelectorError` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMGroupSelectorError *)instance; /// /// Deserializes `DBTEAMGroupSelectorError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMGroupSelectorError` API object. /// /// @return An instantiation of the `DBTEAMGroupSelectorError` object. /// + (DBTEAMGroupSelectorError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupSelectorWithTeamGroupError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMGroupSelectorWithTeamGroupError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `GroupSelectorWithTeamGroupError` union. /// /// Error that can be raised when GroupSelector is used and team groups are /// disallowed from being used. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMGroupSelectorWithTeamGroupError : NSObject #pragma mark - Instance fields /// The `DBTEAMGroupSelectorWithTeamGroupErrorTag` enum type represents the /// possible tag states with which the `DBTEAMGroupSelectorWithTeamGroupError` /// union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBTEAMGroupSelectorWithTeamGroupErrorTag){ /// No matching group found. No groups match the specified group ID. DBTEAMGroupSelectorWithTeamGroupErrorGroupNotFound, /// (no description). DBTEAMGroupSelectorWithTeamGroupErrorOther, /// This operation is not supported on system-managed groups. DBTEAMGroupSelectorWithTeamGroupErrorSystemManagedGroupDisallowed, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMGroupSelectorWithTeamGroupErrorTag tag; #pragma mark - Constructors /// /// Initializes union class with tag state of "group_not_found". /// /// Description of the "group_not_found" tag state: No matching group found. No /// groups match the specified group ID. /// /// @return An initialized instance. /// - (instancetype)initWithGroupNotFound; /// /// Initializes union class with tag state of "other". /// /// @return An initialized instance. /// - (instancetype)initWithOther; /// /// Initializes union class with tag state of "system_managed_group_disallowed". /// /// Description of the "system_managed_group_disallowed" tag state: This /// operation is not supported on system-managed groups. /// /// @return An initialized instance. /// - (instancetype)initWithSystemManagedGroupDisallowed; - (instancetype)init NS_UNAVAILABLE; #pragma mark - Tag state methods /// /// Retrieves whether the union's current tag state has value "group_not_found". /// /// @return Whether the union's current tag state has value "group_not_found". /// - (BOOL)isGroupNotFound; /// /// 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 /// "system_managed_group_disallowed". /// /// @return Whether the union's current tag state has value /// "system_managed_group_disallowed". /// - (BOOL)isSystemManagedGroupDisallowed; /// /// 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 `DBTEAMGroupSelectorWithTeamGroupError` /// union. /// @interface DBTEAMGroupSelectorWithTeamGroupErrorSerializer : NSObject /// /// Serializes `DBTEAMGroupSelectorWithTeamGroupError` instances. /// /// @param instance An instance of the `DBTEAMGroupSelectorWithTeamGroupError` /// API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMGroupSelectorWithTeamGroupError` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMGroupSelectorWithTeamGroupError *)instance; /// /// Deserializes `DBTEAMGroupSelectorWithTeamGroupError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMGroupSelectorWithTeamGroupError` API object. /// /// @return An instantiation of the `DBTEAMGroupSelectorWithTeamGroupError` /// object. /// + (DBTEAMGroupSelectorWithTeamGroupError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupUpdateArgs.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" #import "DBTEAMIncludeMembersArg.h" @class DBTEAMCOMMONGroupManagementType; @class DBTEAMGroupSelector; @class DBTEAMGroupUpdateArgs; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `GroupUpdateArgs` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMGroupUpdateArgs : DBTEAMIncludeMembersArg #pragma mark - Instance fields /// Specify a group. @property (nonatomic, readonly) DBTEAMGroupSelector *group; /// Optional argument. Set group name to this if provided. @property (nonatomic, readonly, copy, nullable) NSString *dNewGroupName; /// Optional argument. New group external ID. If the argument is None, the /// group's external_id won't be updated. If the argument is empty string, the /// group's external id will be cleared. @property (nonatomic, readonly, copy, nullable) NSString *dNewGroupExternalId; /// Set new group management type, if provided. @property (nonatomic, readonly, nullable) DBTEAMCOMMONGroupManagementType *dNewGroupManagementType; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param group Specify a group. /// @param returnMembers Whether to return the list of members in the group. /// Note that the default value will cause all the group members to be returned /// in the response. This may take a long time for large groups. /// @param dNewGroupName Optional argument. Set group name to this if provided. /// @param dNewGroupExternalId Optional argument. New group external ID. If the /// argument is None, the group's external_id won't be updated. If the argument /// is empty string, the group's external id will be cleared. /// @param dNewGroupManagementType Set new group management type, if provided. /// /// @return An initialized instance. /// - (instancetype)initWithGroup:(DBTEAMGroupSelector *)group returnMembers:(nullable NSNumber *)returnMembers dNewGroupName:(nullable NSString *)dNewGroupName dNewGroupExternalId:(nullable NSString *)dNewGroupExternalId dNewGroupManagementType:(nullable DBTEAMCOMMONGroupManagementType *)dNewGroupManagementType; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param group Specify a group. /// /// @return An initialized instance. /// - (instancetype)initWithGroup:(DBTEAMGroupSelector *)group; @end #pragma mark - Serializer Object /// /// The serialization class for the `GroupUpdateArgs` struct. /// @interface DBTEAMGroupUpdateArgsSerializer : NSObject /// /// Serializes `DBTEAMGroupUpdateArgs` instances. /// /// @param instance An instance of the `DBTEAMGroupUpdateArgs` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMGroupUpdateArgs` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMGroupUpdateArgs *)instance; /// /// Deserializes `DBTEAMGroupUpdateArgs` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMGroupUpdateArgs` API object. /// /// @return An instantiation of the `DBTEAMGroupUpdateArgs` object. /// + (DBTEAMGroupUpdateArgs *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupUpdateError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMGroupUpdateError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `GroupUpdateError` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMGroupUpdateError : NSObject #pragma mark - Instance fields /// The `DBTEAMGroupUpdateErrorTag` enum type represents the possible tag states /// with which the `DBTEAMGroupUpdateError` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBTEAMGroupUpdateErrorTag){ /// No matching group found. No groups match the specified group ID. DBTEAMGroupUpdateErrorGroupNotFound, /// (no description). DBTEAMGroupUpdateErrorOther, /// This operation is not supported on system-managed groups. DBTEAMGroupUpdateErrorSystemManagedGroupDisallowed, /// The requested group name is already being used by another group. DBTEAMGroupUpdateErrorGroupNameAlreadyUsed, /// Group name is empty or has invalid characters. DBTEAMGroupUpdateErrorGroupNameInvalid, /// The requested external ID is already being used by another group. DBTEAMGroupUpdateErrorExternalIdAlreadyInUse, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMGroupUpdateErrorTag tag; #pragma mark - Constructors /// /// Initializes union class with tag state of "group_not_found". /// /// Description of the "group_not_found" tag state: No matching group found. No /// groups match the specified group ID. /// /// @return An initialized instance. /// - (instancetype)initWithGroupNotFound; /// /// Initializes union class with tag state of "other". /// /// @return An initialized instance. /// - (instancetype)initWithOther; /// /// Initializes union class with tag state of "system_managed_group_disallowed". /// /// Description of the "system_managed_group_disallowed" tag state: This /// operation is not supported on system-managed groups. /// /// @return An initialized instance. /// - (instancetype)initWithSystemManagedGroupDisallowed; /// /// Initializes union class with tag state of "group_name_already_used". /// /// Description of the "group_name_already_used" tag state: The requested group /// name is already being used by another group. /// /// @return An initialized instance. /// - (instancetype)initWithGroupNameAlreadyUsed; /// /// Initializes union class with tag state of "group_name_invalid". /// /// Description of the "group_name_invalid" tag state: Group name is empty or /// has invalid characters. /// /// @return An initialized instance. /// - (instancetype)initWithGroupNameInvalid; /// /// Initializes union class with tag state of "external_id_already_in_use". /// /// Description of the "external_id_already_in_use" tag state: The requested /// external ID is already being used by another group. /// /// @return An initialized instance. /// - (instancetype)initWithExternalIdAlreadyInUse; - (instancetype)init NS_UNAVAILABLE; #pragma mark - Tag state methods /// /// Retrieves whether the union's current tag state has value "group_not_found". /// /// @return Whether the union's current tag state has value "group_not_found". /// - (BOOL)isGroupNotFound; /// /// 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 /// "system_managed_group_disallowed". /// /// @return Whether the union's current tag state has value /// "system_managed_group_disallowed". /// - (BOOL)isSystemManagedGroupDisallowed; /// /// Retrieves whether the union's current tag state has value /// "group_name_already_used". /// /// @return Whether the union's current tag state has value /// "group_name_already_used". /// - (BOOL)isGroupNameAlreadyUsed; /// /// Retrieves whether the union's current tag state has value /// "group_name_invalid". /// /// @return Whether the union's current tag state has value /// "group_name_invalid". /// - (BOOL)isGroupNameInvalid; /// /// Retrieves whether the union's current tag state has value /// "external_id_already_in_use". /// /// @return Whether the union's current tag state has value /// "external_id_already_in_use". /// - (BOOL)isExternalIdAlreadyInUse; /// /// 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 `DBTEAMGroupUpdateError` union. /// @interface DBTEAMGroupUpdateErrorSerializer : NSObject /// /// Serializes `DBTEAMGroupUpdateError` instances. /// /// @param instance An instance of the `DBTEAMGroupUpdateError` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMGroupUpdateError` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMGroupUpdateError *)instance; /// /// Deserializes `DBTEAMGroupUpdateError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMGroupUpdateError` API object. /// /// @return An instantiation of the `DBTEAMGroupUpdateError` object. /// + (DBTEAMGroupUpdateError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupsGetInfoError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMGroupsGetInfoError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `GroupsGetInfoError` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMGroupsGetInfoError : NSObject #pragma mark - Instance fields /// The `DBTEAMGroupsGetInfoErrorTag` enum type represents the possible tag /// states with which the `DBTEAMGroupsGetInfoError` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBTEAMGroupsGetInfoErrorTag){ /// The group is not on your team. DBTEAMGroupsGetInfoErrorGroupNotOnTeam, /// (no description). DBTEAMGroupsGetInfoErrorOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMGroupsGetInfoErrorTag tag; #pragma mark - Constructors /// /// Initializes union class with tag state of "group_not_on_team". /// /// Description of the "group_not_on_team" tag state: The group is not on your /// team. /// /// @return An initialized instance. /// - (instancetype)initWithGroupNotOnTeam; /// /// 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 /// "group_not_on_team". /// /// @return Whether the union's current tag state has value "group_not_on_team". /// - (BOOL)isGroupNotOnTeam; /// /// 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 `DBTEAMGroupsGetInfoError` union. /// @interface DBTEAMGroupsGetInfoErrorSerializer : NSObject /// /// Serializes `DBTEAMGroupsGetInfoError` instances. /// /// @param instance An instance of the `DBTEAMGroupsGetInfoError` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMGroupsGetInfoError` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMGroupsGetInfoError *)instance; /// /// Deserializes `DBTEAMGroupsGetInfoError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMGroupsGetInfoError` API object. /// /// @return An instantiation of the `DBTEAMGroupsGetInfoError` object. /// + (DBTEAMGroupsGetInfoError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupsGetInfoItem.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMGroupFullInfo; @class DBTEAMGroupsGetInfoItem; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `GroupsGetInfoItem` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMGroupsGetInfoItem : NSObject #pragma mark - Instance fields /// The `DBTEAMGroupsGetInfoItemTag` enum type represents the possible tag /// states with which the `DBTEAMGroupsGetInfoItem` union can exist. 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, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMGroupsGetInfoItemTag tag; /// 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. @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 group. @note Ensure the `isGroupInfo` method returns true /// before accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) DBTEAMGroupFullInfo *groupInfo; #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 `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. /// /// @param idNotFound 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. /// /// @return An initialized instance. /// - (instancetype)initWithIdNotFound:(NSString *)idNotFound; /// /// Initializes union class with tag state of "group_info". /// /// Description of the "group_info" tag state: Info about a group. /// /// @param groupInfo Info about a group. /// /// @return An initialized instance. /// - (instancetype)initWithGroupInfo:(DBTEAMGroupFullInfo *)groupInfo; - (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 "group_info". /// /// @note Call this method and ensure it returns true before accessing the /// `groupInfo` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value "group_info". /// - (BOOL)isGroupInfo; /// /// 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 `DBTEAMGroupsGetInfoItem` union. /// @interface DBTEAMGroupsGetInfoItemSerializer : NSObject /// /// Serializes `DBTEAMGroupsGetInfoItem` instances. /// /// @param instance An instance of the `DBTEAMGroupsGetInfoItem` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMGroupsGetInfoItem` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMGroupsGetInfoItem *)instance; /// /// Deserializes `DBTEAMGroupsGetInfoItem` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMGroupsGetInfoItem` API object. /// /// @return An instantiation of the `DBTEAMGroupsGetInfoItem` object. /// + (DBTEAMGroupsGetInfoItem *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupsListArg.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMGroupsListArg; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `GroupsListArg` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMGroupsListArg : NSObject #pragma mark - Instance fields /// Number of results to return per call. @property (nonatomic, readonly) NSNumber *limit; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param limit Number of results to return per call. /// /// @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 `GroupsListArg` struct. /// @interface DBTEAMGroupsListArgSerializer : NSObject /// /// Serializes `DBTEAMGroupsListArg` instances. /// /// @param instance An instance of the `DBTEAMGroupsListArg` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMGroupsListArg` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMGroupsListArg *)instance; /// /// Deserializes `DBTEAMGroupsListArg` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMGroupsListArg` API object. /// /// @return An instantiation of the `DBTEAMGroupsListArg` object. /// + (DBTEAMGroupsListArg *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupsListContinueArg.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMGroupsListContinueArg; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `GroupsListContinueArg` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMGroupsListContinueArg : NSObject #pragma mark - Instance fields /// Indicates from what point to get the next set of groups. @property (nonatomic, readonly, copy) NSString *cursor; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param cursor Indicates from what point to get the next set of groups. /// /// @return An initialized instance. /// - (instancetype)initWithCursor:(NSString *)cursor; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `GroupsListContinueArg` struct. /// @interface DBTEAMGroupsListContinueArgSerializer : NSObject /// /// Serializes `DBTEAMGroupsListContinueArg` instances. /// /// @param instance An instance of the `DBTEAMGroupsListContinueArg` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMGroupsListContinueArg` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMGroupsListContinueArg *)instance; /// /// Deserializes `DBTEAMGroupsListContinueArg` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMGroupsListContinueArg` API object. /// /// @return An instantiation of the `DBTEAMGroupsListContinueArg` object. /// + (DBTEAMGroupsListContinueArg *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupsListContinueError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMGroupsListContinueError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `GroupsListContinueError` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMGroupsListContinueError : NSObject #pragma mark - Instance fields /// The `DBTEAMGroupsListContinueErrorTag` enum type represents the possible tag /// states with which the `DBTEAMGroupsListContinueError` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBTEAMGroupsListContinueErrorTag){ /// The cursor is invalid. DBTEAMGroupsListContinueErrorInvalidCursor, /// (no description). DBTEAMGroupsListContinueErrorOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMGroupsListContinueErrorTag tag; #pragma mark - Constructors /// /// 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; /// /// 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 `DBTEAMGroupsListContinueError` union. /// @interface DBTEAMGroupsListContinueErrorSerializer : NSObject /// /// Serializes `DBTEAMGroupsListContinueError` instances. /// /// @param instance An instance of the `DBTEAMGroupsListContinueError` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMGroupsListContinueError` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMGroupsListContinueError *)instance; /// /// Deserializes `DBTEAMGroupsListContinueError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMGroupsListContinueError` API object. /// /// @return An instantiation of the `DBTEAMGroupsListContinueError` object. /// + (DBTEAMGroupsListContinueError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupsListResult.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMCOMMONGroupSummary; @class DBTEAMGroupsListResult; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `GroupsListResult` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMGroupsListResult : NSObject #pragma mark - Instance fields /// (no description). @property (nonatomic, readonly) NSArray *groups; /// Pass the cursor into `groupsListContinue` to obtain the additional groups. @property (nonatomic, readonly, copy) NSString *cursor; /// Is true if there are additional groups that have not been returned yet. An /// additional call to `groupsListContinue` can retrieve them. @property (nonatomic, readonly) NSNumber *hasMore; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param groups (no description). /// @param cursor Pass the cursor into `groupsListContinue` to obtain the /// additional groups. /// @param hasMore Is true if there are additional groups that have not been /// returned yet. An additional call to `groupsListContinue` can retrieve them. /// /// @return An initialized instance. /// - (instancetype)initWithGroups:(NSArray *)groups cursor:(NSString *)cursor hasMore:(NSNumber *)hasMore; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `GroupsListResult` struct. /// @interface DBTEAMGroupsListResultSerializer : NSObject /// /// Serializes `DBTEAMGroupsListResult` instances. /// /// @param instance An instance of the `DBTEAMGroupsListResult` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMGroupsListResult` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMGroupsListResult *)instance; /// /// Deserializes `DBTEAMGroupsListResult` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMGroupsListResult` API object. /// /// @return An instantiation of the `DBTEAMGroupsListResult` object. /// + (DBTEAMGroupsListResult *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupsMembersListArg.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMGroupSelector; @class DBTEAMGroupsMembersListArg; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `GroupsMembersListArg` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMGroupsMembersListArg : NSObject #pragma mark - Instance fields /// The group whose members are to be listed. @property (nonatomic, readonly) DBTEAMGroupSelector *group; /// Number of results to return per call. @property (nonatomic, readonly) NSNumber *limit; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param group The group whose members are to be listed. /// @param limit Number of results to return per call. /// /// @return An initialized instance. /// - (instancetype)initWithGroup:(DBTEAMGroupSelector *)group limit:(nullable NSNumber *)limit; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param group The group whose members are to be listed. /// /// @return An initialized instance. /// - (instancetype)initWithGroup:(DBTEAMGroupSelector *)group; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `GroupsMembersListArg` struct. /// @interface DBTEAMGroupsMembersListArgSerializer : NSObject /// /// Serializes `DBTEAMGroupsMembersListArg` instances. /// /// @param instance An instance of the `DBTEAMGroupsMembersListArg` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMGroupsMembersListArg` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMGroupsMembersListArg *)instance; /// /// Deserializes `DBTEAMGroupsMembersListArg` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMGroupsMembersListArg` API object. /// /// @return An instantiation of the `DBTEAMGroupsMembersListArg` object. /// + (DBTEAMGroupsMembersListArg *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupsMembersListContinueArg.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMGroupsMembersListContinueArg; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `GroupsMembersListContinueArg` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMGroupsMembersListContinueArg : NSObject #pragma mark - Instance fields /// Indicates from what point to get the next set of groups. @property (nonatomic, readonly, copy) NSString *cursor; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param cursor Indicates from what point to get the next set of groups. /// /// @return An initialized instance. /// - (instancetype)initWithCursor:(NSString *)cursor; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `GroupsMembersListContinueArg` struct. /// @interface DBTEAMGroupsMembersListContinueArgSerializer : NSObject /// /// Serializes `DBTEAMGroupsMembersListContinueArg` instances. /// /// @param instance An instance of the `DBTEAMGroupsMembersListContinueArg` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMGroupsMembersListContinueArg` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMGroupsMembersListContinueArg *)instance; /// /// Deserializes `DBTEAMGroupsMembersListContinueArg` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMGroupsMembersListContinueArg` API object. /// /// @return An instantiation of the `DBTEAMGroupsMembersListContinueArg` object. /// + (DBTEAMGroupsMembersListContinueArg *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupsMembersListContinueError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMGroupsMembersListContinueError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `GroupsMembersListContinueError` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMGroupsMembersListContinueError : NSObject #pragma mark - Instance fields /// The `DBTEAMGroupsMembersListContinueErrorTag` enum type represents the /// possible tag states with which the `DBTEAMGroupsMembersListContinueError` /// union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBTEAMGroupsMembersListContinueErrorTag){ /// The cursor is invalid. DBTEAMGroupsMembersListContinueErrorInvalidCursor, /// (no description). DBTEAMGroupsMembersListContinueErrorOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMGroupsMembersListContinueErrorTag tag; #pragma mark - Constructors /// /// 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; /// /// 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 `DBTEAMGroupsMembersListContinueError` /// union. /// @interface DBTEAMGroupsMembersListContinueErrorSerializer : NSObject /// /// Serializes `DBTEAMGroupsMembersListContinueError` instances. /// /// @param instance An instance of the `DBTEAMGroupsMembersListContinueError` /// API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMGroupsMembersListContinueError` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMGroupsMembersListContinueError *)instance; /// /// Deserializes `DBTEAMGroupsMembersListContinueError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMGroupsMembersListContinueError` API object. /// /// @return An instantiation of the `DBTEAMGroupsMembersListContinueError` /// object. /// + (DBTEAMGroupsMembersListContinueError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupsMembersListResult.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMGroupMemberInfo; @class DBTEAMGroupsMembersListResult; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `GroupsMembersListResult` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMGroupsMembersListResult : NSObject #pragma mark - Instance fields /// (no description). @property (nonatomic, readonly) NSArray *members; /// Pass the cursor into `groupsMembersListContinue` to obtain additional group /// members. @property (nonatomic, readonly, copy) NSString *cursor; /// Is true if there are additional group members that have not been returned /// yet. An additional call to `groupsMembersListContinue` can retrieve them. @property (nonatomic, readonly) NSNumber *hasMore; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param members (no description). /// @param cursor Pass the cursor into `groupsMembersListContinue` to obtain /// additional group members. /// @param hasMore Is true if there are additional group members that have not /// been returned yet. An additional call to `groupsMembersListContinue` 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 `GroupsMembersListResult` struct. /// @interface DBTEAMGroupsMembersListResultSerializer : NSObject /// /// Serializes `DBTEAMGroupsMembersListResult` instances. /// /// @param instance An instance of the `DBTEAMGroupsMembersListResult` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMGroupsMembersListResult` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMGroupsMembersListResult *)instance; /// /// Deserializes `DBTEAMGroupsMembersListResult` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMGroupsMembersListResult` API object. /// /// @return An instantiation of the `DBTEAMGroupsMembersListResult` object. /// + (DBTEAMGroupsMembersListResult *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupsPollError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMGroupsPollError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `GroupsPollError` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMGroupsPollError : NSObject #pragma mark - Instance fields /// The `DBTEAMGroupsPollErrorTag` enum type represents the possible tag states /// with which the `DBTEAMGroupsPollError` union can exist. 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, /// (no description). DBTEAMGroupsPollErrorOther, /// You are not allowed to poll this job. DBTEAMGroupsPollErrorAccessDenied, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMGroupsPollErrorTag tag; #pragma mark - Constructors /// /// Initializes union class with tag state of "invalid_async_job_id". /// /// Description of the "invalid_async_job_id" tag state: The job ID is invalid. /// /// @return An initialized instance. /// - (instancetype)initWithInvalidAsyncJobId; /// /// 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; /// /// Initializes union class with tag state of "access_denied". /// /// Description of the "access_denied" tag state: You are not allowed to poll /// this job. /// /// @return An initialized instance. /// - (instancetype)initWithAccessDenied; - (instancetype)init NS_UNAVAILABLE; #pragma mark - Tag state methods /// /// Retrieves whether the union's current tag state has value /// "invalid_async_job_id". /// /// @return Whether the union's current tag state has value /// "invalid_async_job_id". /// - (BOOL)isInvalidAsyncJobId; /// /// 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 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 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 `DBTEAMGroupsPollError` union. /// @interface DBTEAMGroupsPollErrorSerializer : NSObject /// /// Serializes `DBTEAMGroupsPollError` instances. /// /// @param instance An instance of the `DBTEAMGroupsPollError` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMGroupsPollError` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMGroupsPollError *)instance; /// /// Deserializes `DBTEAMGroupsPollError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMGroupsPollError` API object. /// /// @return An instantiation of the `DBTEAMGroupsPollError` object. /// + (DBTEAMGroupsPollError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupsSelector.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMGroupsSelector; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `GroupsSelector` union. /// /// Argument for selecting a list of groups, either by group_ids, or external /// group IDs. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMGroupsSelector : NSObject #pragma mark - Instance fields /// The `DBTEAMGroupsSelectorTag` enum type represents the possible tag states /// with which the `DBTEAMGroupsSelector` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBTEAMGroupsSelectorTag){ /// List of group IDs. DBTEAMGroupsSelectorGroupIds, /// List of external IDs of groups. DBTEAMGroupsSelectorGroupExternalIds, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMGroupsSelectorTag tag; /// List of group IDs. @note Ensure the `isGroupIds` method returns true before /// accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) NSArray *groupIds; /// List of external IDs of groups. @note Ensure the `isGroupExternalIds` method /// returns true before accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) NSArray *groupExternalIds; #pragma mark - Constructors /// /// Initializes union class with tag state of "group_ids". /// /// Description of the "group_ids" tag state: List of group IDs. /// /// @param groupIds List of group IDs. /// /// @return An initialized instance. /// - (instancetype)initWithGroupIds:(NSArray *)groupIds; /// /// Initializes union class with tag state of "group_external_ids". /// /// Description of the "group_external_ids" tag state: List of external IDs of /// groups. /// /// @param groupExternalIds List of external IDs of groups. /// /// @return An initialized instance. /// - (instancetype)initWithGroupExternalIds:(NSArray *)groupExternalIds; - (instancetype)init NS_UNAVAILABLE; #pragma mark - Tag state methods /// /// Retrieves whether the union's current tag state has value "group_ids". /// /// @note Call this method and ensure it returns true before accessing the /// `groupIds` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value "group_ids". /// - (BOOL)isGroupIds; /// /// Retrieves whether the union's current tag state has value /// "group_external_ids". /// /// @note Call this method and ensure it returns true before accessing the /// `groupExternalIds` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value /// "group_external_ids". /// - (BOOL)isGroupExternalIds; /// /// 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 `DBTEAMGroupsSelector` union. /// @interface DBTEAMGroupsSelectorSerializer : NSObject /// /// Serializes `DBTEAMGroupsSelector` instances. /// /// @param instance An instance of the `DBTEAMGroupsSelector` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMGroupsSelector` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMGroupsSelector *)instance; /// /// Deserializes `DBTEAMGroupsSelector` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMGroupsSelector` API object. /// /// @return An instantiation of the `DBTEAMGroupsSelector` object. /// + (DBTEAMGroupsSelector *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMHasTeamFileEventsValue.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMHasTeamFileEventsValue; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `HasTeamFileEventsValue` union. /// /// The value for `hasTeamFileEvents` 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 DBTEAMHasTeamFileEventsValue : NSObject #pragma mark - Instance fields /// The `DBTEAMHasTeamFileEventsValueTag` enum type represents the possible tag /// states with which the `DBTEAMHasTeamFileEventsValue` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBTEAMHasTeamFileEventsValueTag){ /// Does this team have file events. DBTEAMHasTeamFileEventsValueEnabled, /// (no description). DBTEAMHasTeamFileEventsValueOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMHasTeamFileEventsValueTag tag; /// Does this team have file events. @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: Does this team have file events. /// /// @param enabled Does this team have file events. /// /// @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 `DBTEAMHasTeamFileEventsValue` union. /// @interface DBTEAMHasTeamFileEventsValueSerializer : NSObject /// /// Serializes `DBTEAMHasTeamFileEventsValue` instances. /// /// @param instance An instance of the `DBTEAMHasTeamFileEventsValue` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMHasTeamFileEventsValue` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMHasTeamFileEventsValue *)instance; /// /// Deserializes `DBTEAMHasTeamFileEventsValue` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMHasTeamFileEventsValue` API object. /// /// @return An instantiation of the `DBTEAMHasTeamFileEventsValue` object. /// + (DBTEAMHasTeamFileEventsValue *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMHasTeamSelectiveSyncValue.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMHasTeamSharedDropboxValue.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMHasTeamSharedDropboxValue; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `HasTeamSharedDropboxValue` union. /// /// The value for `hasTeamSharedDropbox` 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 DBTEAMHasTeamSharedDropboxValue : NSObject #pragma mark - Instance fields /// The `DBTEAMHasTeamSharedDropboxValueTag` enum type represents the possible /// tag states with which the `DBTEAMHasTeamSharedDropboxValue` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBTEAMHasTeamSharedDropboxValueTag){ /// Does this team have a shared team root. DBTEAMHasTeamSharedDropboxValueHasTeamSharedDropbox, /// (no description). DBTEAMHasTeamSharedDropboxValueOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMHasTeamSharedDropboxValueTag tag; /// 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; #pragma mark - Constructors /// /// 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 shared team root. /// /// @param hasTeamSharedDropbox Does this team have a shared team root. /// /// @return An initialized instance. /// - (instancetype)initWithHasTeamSharedDropbox:(NSNumber *)hasTeamSharedDropbox; /// /// 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_shared_dropbox". /// /// @note Call this method and ensure it returns true before accessing the /// `hasTeamSharedDropbox` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "has_team_shared_dropbox". /// - (BOOL)isHasTeamSharedDropbox; /// /// 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 `DBTEAMHasTeamSharedDropboxValue` union. /// @interface DBTEAMHasTeamSharedDropboxValueSerializer : NSObject /// /// Serializes `DBTEAMHasTeamSharedDropboxValue` instances. /// /// @param instance An instance of the `DBTEAMHasTeamSharedDropboxValue` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMHasTeamSharedDropboxValue` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMHasTeamSharedDropboxValue *)instance; /// /// Deserializes `DBTEAMHasTeamSharedDropboxValue` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMHasTeamSharedDropboxValue` API object. /// /// @return An instantiation of the `DBTEAMHasTeamSharedDropboxValue` object. /// + (DBTEAMHasTeamSharedDropboxValue *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMIncludeMembersArg.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMIncludeMembersArg; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `IncludeMembersArg` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMIncludeMembersArg : NSObject #pragma mark - Instance fields /// Whether to return the list of members in the group. Note that the default /// value will cause all the group members to be returned in the response. This /// may take a long time for large groups. @property (nonatomic, readonly) NSNumber *returnMembers; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param returnMembers Whether to return the list of members in the group. /// Note that the default value will cause all the group members to be returned /// in the response. This may take a long time for large groups. /// /// @return An initialized instance. /// - (instancetype)initWithReturnMembers:(nullable NSNumber *)returnMembers; /// /// 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 `IncludeMembersArg` struct. /// @interface DBTEAMIncludeMembersArgSerializer : NSObject /// /// Serializes `DBTEAMIncludeMembersArg` instances. /// /// @param instance An instance of the `DBTEAMIncludeMembersArg` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMIncludeMembersArg` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMIncludeMembersArg *)instance; /// /// Deserializes `DBTEAMIncludeMembersArg` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMIncludeMembersArg` API object. /// /// @return An instantiation of the `DBTEAMIncludeMembersArg` object. /// + (DBTEAMIncludeMembersArg *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMLegalHoldHeldRevisionMetadata.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMLegalHoldPolicy.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMLegalHoldStatus.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMLegalHoldsError.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMLegalHoldsGetPolicyArg.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMLegalHoldsGetPolicyError.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMLegalHoldsListHeldRevisionResult.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMLegalHoldsListHeldRevisionsArg.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMLegalHoldsListHeldRevisionsContinueArg.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMLegalHoldsListHeldRevisionsContinueError.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMLegalHoldsListHeldRevisionsError.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMLegalHoldsListPoliciesArg.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMLegalHoldsListPoliciesError.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMLegalHoldsListPoliciesResult.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMLegalHoldsPolicyCreateArg.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMLegalHoldsPolicyCreateError.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMLegalHoldsPolicyReleaseArg.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMLegalHoldsPolicyReleaseError.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMLegalHoldsPolicyUpdateArg.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMLegalHoldsPolicyUpdateError.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMListMemberAppsArg.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMListMemberAppsArg; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `ListMemberAppsArg` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMListMemberAppsArg : NSObject #pragma mark - Instance fields /// The team member id. @property (nonatomic, readonly, copy) NSString *teamMemberId; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param teamMemberId The team member id. /// /// @return An initialized instance. /// - (instancetype)initWithTeamMemberId:(NSString *)teamMemberId; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `ListMemberAppsArg` struct. /// @interface DBTEAMListMemberAppsArgSerializer : NSObject /// /// Serializes `DBTEAMListMemberAppsArg` instances. /// /// @param instance An instance of the `DBTEAMListMemberAppsArg` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMListMemberAppsArg` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMListMemberAppsArg *)instance; /// /// Deserializes `DBTEAMListMemberAppsArg` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMListMemberAppsArg` API object. /// /// @return An instantiation of the `DBTEAMListMemberAppsArg` object. /// + (DBTEAMListMemberAppsArg *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMListMemberAppsError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMListMemberAppsError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `ListMemberAppsError` union. /// /// Error returned by `linkedAppsListMemberLinkedApps`. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMListMemberAppsError : NSObject #pragma mark - Instance fields /// The `DBTEAMListMemberAppsErrorTag` enum type represents the possible tag /// states with which the `DBTEAMListMemberAppsError` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBTEAMListMemberAppsErrorTag){ /// Member not found. DBTEAMListMemberAppsErrorMemberNotFound, /// (no description). DBTEAMListMemberAppsErrorOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMListMemberAppsErrorTag tag; #pragma mark - Constructors /// /// Initializes union class with tag state of "member_not_found". /// /// Description of the "member_not_found" tag state: Member not found. /// /// @return An initialized instance. /// - (instancetype)initWithMemberNotFound; /// /// 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 /// "member_not_found". /// /// @return Whether the union's current tag state has value "member_not_found". /// - (BOOL)isMemberNotFound; /// /// 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 `DBTEAMListMemberAppsError` union. /// @interface DBTEAMListMemberAppsErrorSerializer : NSObject /// /// Serializes `DBTEAMListMemberAppsError` instances. /// /// @param instance An instance of the `DBTEAMListMemberAppsError` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMListMemberAppsError` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMListMemberAppsError *)instance; /// /// Deserializes `DBTEAMListMemberAppsError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMListMemberAppsError` API object. /// /// @return An instantiation of the `DBTEAMListMemberAppsError` object. /// + (DBTEAMListMemberAppsError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMListMemberAppsResult.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMApiApp; @class DBTEAMListMemberAppsResult; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `ListMemberAppsResult` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMListMemberAppsResult : NSObject #pragma mark - Instance fields /// List of third party applications linked by this team member. @property (nonatomic, readonly) NSArray *linkedApiApps; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param linkedApiApps List of third party applications linked by this team /// member. /// /// @return An initialized instance. /// - (instancetype)initWithLinkedApiApps:(NSArray *)linkedApiApps; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `ListMemberAppsResult` struct. /// @interface DBTEAMListMemberAppsResultSerializer : NSObject /// /// Serializes `DBTEAMListMemberAppsResult` instances. /// /// @param instance An instance of the `DBTEAMListMemberAppsResult` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMListMemberAppsResult` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMListMemberAppsResult *)instance; /// /// Deserializes `DBTEAMListMemberAppsResult` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMListMemberAppsResult` API object. /// /// @return An instantiation of the `DBTEAMListMemberAppsResult` object. /// + (DBTEAMListMemberAppsResult *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMListMemberDevicesArg.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMListMemberDevicesArg; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `ListMemberDevicesArg` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMListMemberDevicesArg : NSObject #pragma mark - Instance fields /// The team's member id. @property (nonatomic, readonly, copy) NSString *teamMemberId; /// Whether to list web sessions of the team's member. @property (nonatomic, readonly) NSNumber *includeWebSessions; /// Whether to list linked desktop devices of the team's member. @property (nonatomic, readonly) NSNumber *includeDesktopClients; /// Whether to list linked mobile devices of the team's member. @property (nonatomic, readonly) NSNumber *includeMobileClients; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param teamMemberId The team's member id. /// @param includeWebSessions Whether to list web sessions of the team's member. /// @param includeDesktopClients Whether to list linked desktop devices of the /// team's member. /// @param includeMobileClients Whether to list linked mobile devices of the /// team's member. /// /// @return An initialized instance. /// - (instancetype)initWithTeamMemberId:(NSString *)teamMemberId includeWebSessions:(nullable NSNumber *)includeWebSessions includeDesktopClients:(nullable NSNumber *)includeDesktopClients includeMobileClients:(nullable NSNumber *)includeMobileClients; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param teamMemberId The team's member id. /// /// @return An initialized instance. /// - (instancetype)initWithTeamMemberId:(NSString *)teamMemberId; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `ListMemberDevicesArg` struct. /// @interface DBTEAMListMemberDevicesArgSerializer : NSObject /// /// Serializes `DBTEAMListMemberDevicesArg` instances. /// /// @param instance An instance of the `DBTEAMListMemberDevicesArg` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMListMemberDevicesArg` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMListMemberDevicesArg *)instance; /// /// Deserializes `DBTEAMListMemberDevicesArg` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMListMemberDevicesArg` API object. /// /// @return An instantiation of the `DBTEAMListMemberDevicesArg` object. /// + (DBTEAMListMemberDevicesArg *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMListMemberDevicesError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMListMemberDevicesError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `ListMemberDevicesError` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMListMemberDevicesError : NSObject #pragma mark - Instance fields /// The `DBTEAMListMemberDevicesErrorTag` enum type represents the possible tag /// states with which the `DBTEAMListMemberDevicesError` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBTEAMListMemberDevicesErrorTag){ /// Member not found. DBTEAMListMemberDevicesErrorMemberNotFound, /// (no description). DBTEAMListMemberDevicesErrorOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMListMemberDevicesErrorTag tag; #pragma mark - Constructors /// /// Initializes union class with tag state of "member_not_found". /// /// Description of the "member_not_found" tag state: Member not found. /// /// @return An initialized instance. /// - (instancetype)initWithMemberNotFound; /// /// 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 /// "member_not_found". /// /// @return Whether the union's current tag state has value "member_not_found". /// - (BOOL)isMemberNotFound; /// /// 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 `DBTEAMListMemberDevicesError` union. /// @interface DBTEAMListMemberDevicesErrorSerializer : NSObject /// /// Serializes `DBTEAMListMemberDevicesError` instances. /// /// @param instance An instance of the `DBTEAMListMemberDevicesError` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMListMemberDevicesError` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMListMemberDevicesError *)instance; /// /// Deserializes `DBTEAMListMemberDevicesError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMListMemberDevicesError` API object. /// /// @return An instantiation of the `DBTEAMListMemberDevicesError` object. /// + (DBTEAMListMemberDevicesError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMListMemberDevicesResult.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMActiveWebSession; @class DBTEAMDesktopClientSession; @class DBTEAMListMemberDevicesResult; @class DBTEAMMobileClientSession; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `ListMemberDevicesResult` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMListMemberDevicesResult : NSObject #pragma mark - Instance fields /// List of web sessions made by this team member. @property (nonatomic, readonly, nullable) NSArray *activeWebSessions; /// List of desktop clients used by this team member. @property (nonatomic, readonly, nullable) NSArray *desktopClientSessions; /// List of mobile client used by this team member. @property (nonatomic, readonly, nullable) NSArray *mobileClientSessions; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param activeWebSessions List of web sessions made by this team member. /// @param desktopClientSessions List of desktop clients used by this team /// member. /// @param mobileClientSessions List of mobile client used by this team member. /// /// @return An initialized instance. /// - (instancetype)initWithActiveWebSessions:(nullable NSArray *)activeWebSessions desktopClientSessions:(nullable NSArray *)desktopClientSessions mobileClientSessions:(nullable NSArray *)mobileClientSessions; /// /// 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 `ListMemberDevicesResult` struct. /// @interface DBTEAMListMemberDevicesResultSerializer : NSObject /// /// Serializes `DBTEAMListMemberDevicesResult` instances. /// /// @param instance An instance of the `DBTEAMListMemberDevicesResult` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMListMemberDevicesResult` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMListMemberDevicesResult *)instance; /// /// Deserializes `DBTEAMListMemberDevicesResult` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMListMemberDevicesResult` API object. /// /// @return An instantiation of the `DBTEAMListMemberDevicesResult` object. /// + (DBTEAMListMemberDevicesResult *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMListMembersAppsArg.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMListMembersAppsArg; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `ListMembersAppsArg` struct. /// /// Arguments for `linkedAppsListMembersLinkedApps`. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMListMembersAppsArg : NSObject #pragma mark - Instance fields /// At the first call to the `linkedAppsListMembersLinkedApps` 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 next sub list of the team applications. @property (nonatomic, readonly, copy, nullable) NSString *cursor; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param cursor At the first call to the `linkedAppsListMembersLinkedApps` 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 next sub list of the team applications. /// /// @return An initialized instance. /// - (instancetype)initWithCursor:(nullable NSString *)cursor; /// /// 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 `ListMembersAppsArg` struct. /// @interface DBTEAMListMembersAppsArgSerializer : NSObject /// /// Serializes `DBTEAMListMembersAppsArg` instances. /// /// @param instance An instance of the `DBTEAMListMembersAppsArg` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMListMembersAppsArg` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMListMembersAppsArg *)instance; /// /// Deserializes `DBTEAMListMembersAppsArg` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMListMembersAppsArg` API object. /// /// @return An instantiation of the `DBTEAMListMembersAppsArg` object. /// + (DBTEAMListMembersAppsArg *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMListMembersAppsError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMListMembersAppsError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `ListMembersAppsError` union. /// /// Error returned by `linkedAppsListMembersLinkedApps`. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMListMembersAppsError : NSObject #pragma mark - Instance fields /// The `DBTEAMListMembersAppsErrorTag` enum type represents the possible tag /// states with which the `DBTEAMListMembersAppsError` union can exist. 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, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMListMembersAppsErrorTag tag; #pragma mark - Constructors /// /// Initializes union class with tag state of "reset". /// /// Description of the "reset" tag state: Indicates that the cursor has been /// invalidated. Call `linkedAppsListMembersLinkedApps` 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 "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 `DBTEAMListMembersAppsError` union. /// @interface DBTEAMListMembersAppsErrorSerializer : NSObject /// /// Serializes `DBTEAMListMembersAppsError` instances. /// /// @param instance An instance of the `DBTEAMListMembersAppsError` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMListMembersAppsError` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMListMembersAppsError *)instance; /// /// Deserializes `DBTEAMListMembersAppsError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMListMembersAppsError` API object. /// /// @return An instantiation of the `DBTEAMListMembersAppsError` object. /// + (DBTEAMListMembersAppsError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMListMembersAppsResult.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMListMembersAppsResult; @class DBTEAMMemberLinkedApps; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `ListMembersAppsResult` struct. /// /// Information returned by `linkedAppsListMembersLinkedApps`. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMListMembersAppsResult : NSObject #pragma mark - Instance fields /// The linked applications of each member of the team. @property (nonatomic, readonly) NSArray *apps; /// If true, then there are more apps available. Pass the cursor to /// `linkedAppsListMembersLinkedApps` to retrieve the rest. @property (nonatomic, readonly) NSNumber *hasMore; /// Pass the cursor into `linkedAppsListMembersLinkedApps` to receive the next /// sub list of team's applications. @property (nonatomic, readonly, copy, nullable) NSString *cursor; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param apps The linked applications of each member of the team. /// @param hasMore If true, then there are more apps available. Pass the cursor /// to `linkedAppsListMembersLinkedApps` to retrieve the rest. /// @param cursor Pass the cursor into `linkedAppsListMembersLinkedApps` to /// receive the next sub list of team's applications. /// /// @return An initialized instance. /// - (instancetype)initWithApps:(NSArray *)apps hasMore:(NSNumber *)hasMore cursor:(nullable NSString *)cursor; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param apps The linked applications of each member of the team. /// @param hasMore If true, then there are more apps available. Pass the cursor /// to `linkedAppsListMembersLinkedApps` to retrieve the rest. /// /// @return An initialized instance. /// - (instancetype)initWithApps:(NSArray *)apps hasMore:(NSNumber *)hasMore; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `ListMembersAppsResult` struct. /// @interface DBTEAMListMembersAppsResultSerializer : NSObject /// /// Serializes `DBTEAMListMembersAppsResult` instances. /// /// @param instance An instance of the `DBTEAMListMembersAppsResult` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMListMembersAppsResult` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMListMembersAppsResult *)instance; /// /// Deserializes `DBTEAMListMembersAppsResult` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMListMembersAppsResult` API object. /// /// @return An instantiation of the `DBTEAMListMembersAppsResult` object. /// + (DBTEAMListMembersAppsResult *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMListMembersDevicesArg.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMListMembersDevicesArg; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `ListMembersDevicesArg` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMListMembersDevicesArg : NSObject #pragma mark - Instance fields /// 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 the next /// sub list of team devices. @property (nonatomic, readonly, copy, nullable) NSString *cursor; /// Whether to list web sessions of the team members. @property (nonatomic, readonly) NSNumber *includeWebSessions; /// Whether to list desktop clients of the team members. @property (nonatomic, readonly) NSNumber *includeDesktopClients; /// Whether to list mobile clients of the team members. @property (nonatomic, readonly) NSNumber *includeMobileClients; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @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 the next sub list of team devices. /// @param includeWebSessions Whether to list web sessions of the team members. /// @param includeDesktopClients Whether to list desktop clients of the team /// members. /// @param includeMobileClients Whether to list mobile clients of the team /// members. /// /// @return An initialized instance. /// - (instancetype)initWithCursor:(nullable NSString *)cursor includeWebSessions:(nullable NSNumber *)includeWebSessions includeDesktopClients:(nullable NSNumber *)includeDesktopClients includeMobileClients:(nullable NSNumber *)includeMobileClients; /// /// 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 `ListMembersDevicesArg` struct. /// @interface DBTEAMListMembersDevicesArgSerializer : NSObject /// /// Serializes `DBTEAMListMembersDevicesArg` instances. /// /// @param instance An instance of the `DBTEAMListMembersDevicesArg` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMListMembersDevicesArg` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMListMembersDevicesArg *)instance; /// /// Deserializes `DBTEAMListMembersDevicesArg` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMListMembersDevicesArg` API object. /// /// @return An instantiation of the `DBTEAMListMembersDevicesArg` object. /// + (DBTEAMListMembersDevicesArg *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMListMembersDevicesError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMListMembersDevicesError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `ListMembersDevicesError` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMListMembersDevicesError : NSObject #pragma mark - Instance fields /// The `DBTEAMListMembersDevicesErrorTag` enum type represents the possible tag /// states with which the `DBTEAMListMembersDevicesError` union can exist. 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, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMListMembersDevicesErrorTag tag; #pragma mark - Constructors /// /// Initializes union class with tag state of "reset". /// /// Description of the "reset" tag state: Indicates that the cursor has been /// invalidated. Call `devicesListMembersDevices` 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 "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 `DBTEAMListMembersDevicesError` union. /// @interface DBTEAMListMembersDevicesErrorSerializer : NSObject /// /// Serializes `DBTEAMListMembersDevicesError` instances. /// /// @param instance An instance of the `DBTEAMListMembersDevicesError` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMListMembersDevicesError` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMListMembersDevicesError *)instance; /// /// Deserializes `DBTEAMListMembersDevicesError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMListMembersDevicesError` API object. /// /// @return An instantiation of the `DBTEAMListMembersDevicesError` object. /// + (DBTEAMListMembersDevicesError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMListMembersDevicesResult.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMListMembersDevicesResult; @class DBTEAMMemberDevices; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `ListMembersDevicesResult` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMListMembersDevicesResult : NSObject #pragma mark - Instance fields /// The devices of each member of the team. @property (nonatomic, readonly) NSArray *devices; /// If true, then there are more devices available. Pass the cursor to /// `devicesListMembersDevices` to retrieve the rest. @property (nonatomic, readonly) NSNumber *hasMore; /// Pass the cursor into `devicesListMembersDevices` to receive the next sub /// list of team's devices. @property (nonatomic, readonly, copy, nullable) NSString *cursor; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param devices The devices of each member of the team. /// @param hasMore If true, then there are more devices available. Pass the /// cursor to `devicesListMembersDevices` to retrieve the rest. /// @param cursor Pass the cursor into `devicesListMembersDevices` to receive /// the next sub list of team's devices. /// /// @return An initialized instance. /// - (instancetype)initWithDevices:(NSArray *)devices hasMore:(NSNumber *)hasMore cursor:(nullable NSString *)cursor; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param devices The devices of each member of the team. /// @param hasMore If true, then there are more devices available. Pass the /// cursor to `devicesListMembersDevices` to retrieve the rest. /// /// @return An initialized instance. /// - (instancetype)initWithDevices:(NSArray *)devices hasMore:(NSNumber *)hasMore; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `ListMembersDevicesResult` struct. /// @interface DBTEAMListMembersDevicesResultSerializer : NSObject /// /// Serializes `DBTEAMListMembersDevicesResult` instances. /// /// @param instance An instance of the `DBTEAMListMembersDevicesResult` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMListMembersDevicesResult` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMListMembersDevicesResult *)instance; /// /// Deserializes `DBTEAMListMembersDevicesResult` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMListMembersDevicesResult` API object. /// /// @return An instantiation of the `DBTEAMListMembersDevicesResult` object. /// + (DBTEAMListMembersDevicesResult *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMListTeamAppsArg.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMListTeamAppsArg; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `ListTeamAppsArg` struct. /// /// Arguments for `linkedAppsListTeamLinkedApps`. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMListTeamAppsArg : NSObject #pragma mark - Instance fields /// At the first call to the `linkedAppsListTeamLinkedApps` 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 next /// sub list of the team applications. @property (nonatomic, readonly, copy, nullable) NSString *cursor; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param cursor At the first call to the `linkedAppsListTeamLinkedApps` 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 next sub list of the team applications. /// /// @return An initialized instance. /// - (instancetype)initWithCursor:(nullable NSString *)cursor; /// /// 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 `ListTeamAppsArg` struct. /// @interface DBTEAMListTeamAppsArgSerializer : NSObject /// /// Serializes `DBTEAMListTeamAppsArg` instances. /// /// @param instance An instance of the `DBTEAMListTeamAppsArg` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMListTeamAppsArg` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMListTeamAppsArg *)instance; /// /// Deserializes `DBTEAMListTeamAppsArg` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMListTeamAppsArg` API object. /// /// @return An instantiation of the `DBTEAMListTeamAppsArg` object. /// + (DBTEAMListTeamAppsArg *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMListTeamAppsError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMListTeamAppsError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `ListTeamAppsError` union. /// /// Error returned by `linkedAppsListTeamLinkedApps`. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMListTeamAppsError : NSObject #pragma mark - Instance fields /// The `DBTEAMListTeamAppsErrorTag` enum type represents the possible tag /// states with which the `DBTEAMListTeamAppsError` union can exist. 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, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMListTeamAppsErrorTag tag; #pragma mark - Constructors /// /// Initializes union class with tag state of "reset". /// /// Description of the "reset" tag state: Indicates that the cursor has been /// invalidated. Call `linkedAppsListTeamLinkedApps` 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 "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 `DBTEAMListTeamAppsError` union. /// @interface DBTEAMListTeamAppsErrorSerializer : NSObject /// /// Serializes `DBTEAMListTeamAppsError` instances. /// /// @param instance An instance of the `DBTEAMListTeamAppsError` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMListTeamAppsError` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMListTeamAppsError *)instance; /// /// Deserializes `DBTEAMListTeamAppsError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMListTeamAppsError` API object. /// /// @return An instantiation of the `DBTEAMListTeamAppsError` object. /// + (DBTEAMListTeamAppsError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMListTeamAppsResult.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMListTeamAppsResult; @class DBTEAMMemberLinkedApps; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `ListTeamAppsResult` struct. /// /// Information returned by `linkedAppsListTeamLinkedApps`. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMListTeamAppsResult : NSObject #pragma mark - Instance fields /// The linked applications of each member of the team. @property (nonatomic, readonly) NSArray *apps; /// If true, then there are more apps available. Pass the cursor to /// `linkedAppsListTeamLinkedApps` to retrieve the rest. @property (nonatomic, readonly) NSNumber *hasMore; /// Pass the cursor into `linkedAppsListTeamLinkedApps` to receive the next sub /// list of team's applications. @property (nonatomic, readonly, copy, nullable) NSString *cursor; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param apps The linked applications of each member of the team. /// @param hasMore If true, then there are more apps available. Pass the cursor /// to `linkedAppsListTeamLinkedApps` to retrieve the rest. /// @param cursor Pass the cursor into `linkedAppsListTeamLinkedApps` to receive /// the next sub list of team's applications. /// /// @return An initialized instance. /// - (instancetype)initWithApps:(NSArray *)apps hasMore:(NSNumber *)hasMore cursor:(nullable NSString *)cursor; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param apps The linked applications of each member of the team. /// @param hasMore If true, then there are more apps available. Pass the cursor /// to `linkedAppsListTeamLinkedApps` to retrieve the rest. /// /// @return An initialized instance. /// - (instancetype)initWithApps:(NSArray *)apps hasMore:(NSNumber *)hasMore; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `ListTeamAppsResult` struct. /// @interface DBTEAMListTeamAppsResultSerializer : NSObject /// /// Serializes `DBTEAMListTeamAppsResult` instances. /// /// @param instance An instance of the `DBTEAMListTeamAppsResult` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMListTeamAppsResult` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMListTeamAppsResult *)instance; /// /// Deserializes `DBTEAMListTeamAppsResult` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMListTeamAppsResult` API object. /// /// @return An instantiation of the `DBTEAMListTeamAppsResult` object. /// + (DBTEAMListTeamAppsResult *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMListTeamDevicesArg.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMListTeamDevicesArg; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `ListTeamDevicesArg` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMListTeamDevicesArg : NSObject #pragma mark - Instance fields /// 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 next /// sub list of team devices. @property (nonatomic, readonly, copy, nullable) NSString *cursor; /// Whether to list web sessions of the team members. @property (nonatomic, readonly) NSNumber *includeWebSessions; /// Whether to list desktop clients of the team members. @property (nonatomic, readonly) NSNumber *includeDesktopClients; /// Whether to list mobile clients of the team members. @property (nonatomic, readonly) NSNumber *includeMobileClients; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @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 next sub list of team devices. /// @param includeWebSessions Whether to list web sessions of the team members. /// @param includeDesktopClients Whether to list desktop clients of the team /// members. /// @param includeMobileClients Whether to list mobile clients of the team /// members. /// /// @return An initialized instance. /// - (instancetype)initWithCursor:(nullable NSString *)cursor includeWebSessions:(nullable NSNumber *)includeWebSessions includeDesktopClients:(nullable NSNumber *)includeDesktopClients includeMobileClients:(nullable NSNumber *)includeMobileClients; /// /// 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 `ListTeamDevicesArg` struct. /// @interface DBTEAMListTeamDevicesArgSerializer : NSObject /// /// Serializes `DBTEAMListTeamDevicesArg` instances. /// /// @param instance An instance of the `DBTEAMListTeamDevicesArg` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMListTeamDevicesArg` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMListTeamDevicesArg *)instance; /// /// Deserializes `DBTEAMListTeamDevicesArg` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMListTeamDevicesArg` API object. /// /// @return An instantiation of the `DBTEAMListTeamDevicesArg` object. /// + (DBTEAMListTeamDevicesArg *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMListTeamDevicesError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMListTeamDevicesError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `ListTeamDevicesError` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMListTeamDevicesError : NSObject #pragma mark - Instance fields /// The `DBTEAMListTeamDevicesErrorTag` enum type represents the possible tag /// states with which the `DBTEAMListTeamDevicesError` union can exist. 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, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMListTeamDevicesErrorTag tag; #pragma mark - Constructors /// /// Initializes union class with tag state of "reset". /// /// Description of the "reset" tag state: Indicates that the cursor has been /// invalidated. Call `devicesListTeamDevices` 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 "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 `DBTEAMListTeamDevicesError` union. /// @interface DBTEAMListTeamDevicesErrorSerializer : NSObject /// /// Serializes `DBTEAMListTeamDevicesError` instances. /// /// @param instance An instance of the `DBTEAMListTeamDevicesError` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMListTeamDevicesError` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMListTeamDevicesError *)instance; /// /// Deserializes `DBTEAMListTeamDevicesError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMListTeamDevicesError` API object. /// /// @return An instantiation of the `DBTEAMListTeamDevicesError` object. /// + (DBTEAMListTeamDevicesError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMListTeamDevicesResult.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMListTeamDevicesResult; @class DBTEAMMemberDevices; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `ListTeamDevicesResult` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMListTeamDevicesResult : NSObject #pragma mark - Instance fields /// The devices of each member of the team. @property (nonatomic, readonly) NSArray *devices; /// If true, then there are more devices available. Pass the cursor to /// `devicesListTeamDevices` to retrieve the rest. @property (nonatomic, readonly) NSNumber *hasMore; /// Pass the cursor into `devicesListTeamDevices` to receive the next sub list /// of team's devices. @property (nonatomic, readonly, copy, nullable) NSString *cursor; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param devices The devices of each member of the team. /// @param hasMore If true, then there are more devices available. Pass the /// cursor to `devicesListTeamDevices` to retrieve the rest. /// @param cursor Pass the cursor into `devicesListTeamDevices` to receive the /// next sub list of team's devices. /// /// @return An initialized instance. /// - (instancetype)initWithDevices:(NSArray *)devices hasMore:(NSNumber *)hasMore cursor:(nullable NSString *)cursor; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param devices The devices of each member of the team. /// @param hasMore If true, then there are more devices available. Pass the /// cursor to `devicesListTeamDevices` to retrieve the rest. /// /// @return An initialized instance. /// - (instancetype)initWithDevices:(NSArray *)devices hasMore:(NSNumber *)hasMore; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `ListTeamDevicesResult` struct. /// @interface DBTEAMListTeamDevicesResultSerializer : NSObject /// /// Serializes `DBTEAMListTeamDevicesResult` instances. /// /// @param instance An instance of the `DBTEAMListTeamDevicesResult` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMListTeamDevicesResult` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMListTeamDevicesResult *)instance; /// /// Deserializes `DBTEAMListTeamDevicesResult` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMListTeamDevicesResult` API object. /// /// @return An instantiation of the `DBTEAMListTeamDevicesResult` object. /// + (DBTEAMListTeamDevicesResult *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMemberAccess.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMGroupAccessType; @class DBTEAMMemberAccess; @class DBTEAMUserSelectorArg; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `MemberAccess` struct. /// /// Specify access type a member should have when joined to a group. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMMemberAccess : NSObject #pragma mark - Instance fields /// Identity of a user. @property (nonatomic, readonly) DBTEAMUserSelectorArg *user; /// Access type. @property (nonatomic, readonly) DBTEAMGroupAccessType *accessType; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param user Identity of a user. /// @param accessType Access type. /// /// @return An initialized instance. /// - (instancetype)initWithUser:(DBTEAMUserSelectorArg *)user accessType:(DBTEAMGroupAccessType *)accessType; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `MemberAccess` struct. /// @interface DBTEAMMemberAccessSerializer : NSObject /// /// Serializes `DBTEAMMemberAccess` instances. /// /// @param instance An instance of the `DBTEAMMemberAccess` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMMemberAccess` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMMemberAccess *)instance; /// /// Deserializes `DBTEAMMemberAccess` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMMemberAccess` API object. /// /// @return An instantiation of the `DBTEAMMemberAccess` object. /// + (DBTEAMMemberAccess *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMemberAddArg.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" #import "DBTEAMMemberAddArgBase.h" @class DBTEAMAdminTier; @class DBTEAMMemberAddArg; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `MemberAddArg` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMMemberAddArg : DBTEAMMemberAddArgBase #pragma mark - Instance fields /// (no description). @property (nonatomic, readonly) DBTEAMAdminTier *role; #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 role (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 role:(nullable DBTEAMAdminTier *)role; /// /// 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 `MemberAddArg` struct. /// @interface DBTEAMMemberAddArgSerializer : NSObject /// /// Serializes `DBTEAMMemberAddArg` instances. /// /// @param instance An instance of the `DBTEAMMemberAddArg` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMMemberAddArg` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMMemberAddArg *)instance; /// /// Deserializes `DBTEAMMemberAddArg` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMMemberAddArg` API object. /// /// @return An instantiation of the `DBTEAMMemberAddArg` object. /// + (DBTEAMMemberAddArg *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMemberAddArgBase.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMemberAddResult.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMMemberAddResult; @class DBTEAMTeamMemberInfo; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `MemberAddResult` 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 DBTEAMMemberAddResult : NSObject #pragma mark - Instance fields /// The `DBTEAMMemberAddResultTag` enum type represents the possible tag states /// with which the `DBTEAMMemberAddResult` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBTEAMMemberAddResultTag){ /// Team is already full. The organization has no available licenses. DBTEAMMemberAddResultTeamLicenseLimit, /// 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 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 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 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, /// 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; /// 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) DBTEAMTeamMemberInfo *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:(DBTEAMTeamMemberInfo *)success; - (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 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 `DBTEAMMemberAddResult` union. /// @interface DBTEAMMemberAddResultSerializer : NSObject /// /// Serializes `DBTEAMMemberAddResult` instances. /// /// @param instance An instance of the `DBTEAMMemberAddResult` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMMemberAddResult` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMMemberAddResult *)instance; /// /// Deserializes `DBTEAMMemberAddResult` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMMemberAddResult` API object. /// /// @return An instantiation of the `DBTEAMMemberAddResult` object. /// + (DBTEAMMemberAddResult *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMemberAddResultBase.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMemberAddV2Arg.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMemberAddV2Result.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMemberDevices.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMActiveWebSession; @class DBTEAMDesktopClientSession; @class DBTEAMMemberDevices; @class DBTEAMMobileClientSession; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `MemberDevices` struct. /// /// Information on devices of a team's member. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMMemberDevices : NSObject #pragma mark - Instance fields /// The member unique Id. @property (nonatomic, readonly, copy) NSString *teamMemberId; /// List of web sessions made by this team member. @property (nonatomic, readonly, nullable) NSArray *webSessions; /// List of desktop clients by this team member. @property (nonatomic, readonly, nullable) NSArray *desktopClients; /// List of mobile clients by this team member. @property (nonatomic, readonly, nullable) NSArray *mobileClients; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param teamMemberId The member unique Id. /// @param webSessions List of web sessions made by this team member. /// @param desktopClients List of desktop clients by this team member. /// @param mobileClients List of mobile clients by this team member. /// /// @return An initialized instance. /// - (instancetype)initWithTeamMemberId:(NSString *)teamMemberId webSessions:(nullable NSArray *)webSessions desktopClients:(nullable NSArray *)desktopClients mobileClients:(nullable NSArray *)mobileClients; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param teamMemberId The member unique Id. /// /// @return An initialized instance. /// - (instancetype)initWithTeamMemberId:(NSString *)teamMemberId; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `MemberDevices` struct. /// @interface DBTEAMMemberDevicesSerializer : NSObject /// /// Serializes `DBTEAMMemberDevices` instances. /// /// @param instance An instance of the `DBTEAMMemberDevices` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMMemberDevices` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMMemberDevices *)instance; /// /// Deserializes `DBTEAMMemberDevices` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMMemberDevices` API object. /// /// @return An instantiation of the `DBTEAMMemberDevices` object. /// + (DBTEAMMemberDevices *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMemberLinkedApps.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMApiApp; @class DBTEAMMemberLinkedApps; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `MemberLinkedApps` struct. /// /// Information on linked applications of 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 DBTEAMMemberLinkedApps : NSObject #pragma mark - Instance fields /// The member unique Id. @property (nonatomic, readonly, copy) NSString *teamMemberId; /// List of third party applications linked by this team member. @property (nonatomic, readonly) NSArray *linkedApiApps; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param teamMemberId The member unique Id. /// @param linkedApiApps List of third party applications linked by this team /// member. /// /// @return An initialized instance. /// - (instancetype)initWithTeamMemberId:(NSString *)teamMemberId linkedApiApps:(NSArray *)linkedApiApps; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `MemberLinkedApps` struct. /// @interface DBTEAMMemberLinkedAppsSerializer : NSObject /// /// Serializes `DBTEAMMemberLinkedApps` instances. /// /// @param instance An instance of the `DBTEAMMemberLinkedApps` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMMemberLinkedApps` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMMemberLinkedApps *)instance; /// /// Deserializes `DBTEAMMemberLinkedApps` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMMemberLinkedApps` API object. /// /// @return An instantiation of the `DBTEAMMemberLinkedApps` object. /// + (DBTEAMMemberLinkedApps *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMemberProfile.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSECONDARYEMAILSSecondaryEmail; @class DBTEAMMemberProfile; @class DBTEAMTeamMemberStatus; @class DBTEAMTeamMembershipType; @class DBUSERSName; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `MemberProfile` struct. /// /// Basic member profile. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMMemberProfile : NSObject #pragma mark - Instance fields /// ID of user as a member of a team. @property (nonatomic, readonly, copy) NSString *teamMemberId; /// External ID that a team can attach to the user. An application using the API /// may find it easier to use their own IDs instead of Dropbox IDs like /// account_id or team_member_id. @property (nonatomic, readonly, copy, nullable) NSString *externalId; /// A user's account identifier. @property (nonatomic, readonly, copy, nullable) NSString *accountId; /// Email address of user. @property (nonatomic, readonly, copy) NSString *email; /// 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; /// Representations for a person's name. @property (nonatomic, readonly) DBUSERSName *name; /// The user's membership type: full (normal team member) vs limited (does not /// 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 /// /// Full constructor for the struct (exposes all instance variables). /// /// @param teamMemberId ID of user as a member of a team. /// @param email Email address of user. /// @param emailVerified Is true if the user's email is verified to be owned by /// the user. /// @param status The user's status as a member of a specific team. /// @param name Representations for a person's name. /// @param membershipType The user's membership type: full (normal team member) /// vs limited (does not use a license; no access to the team's shared quota). /// @param externalId External ID that a team can attach to the user. An /// 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. /// - (instancetype)initWithTeamMemberId:(NSString *)teamMemberId email:(NSString *)email emailVerified:(NSNumber *)emailVerified status:(DBTEAMTeamMemberStatus *)status name:(DBUSERSName *)name membershipType:(DBTEAMTeamMembershipType *)membershipType externalId:(nullable NSString *)externalId accountId:(nullable NSString *)accountId secondaryEmails:(nullable NSArray *)secondaryEmails invitedOn:(nullable NSDate *)invitedOn joinedOn:(nullable NSDate *)joinedOn 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 /// no default value). /// /// @param teamMemberId ID of user as a member of a team. /// @param email Email address of user. /// @param emailVerified Is true if the user's email is verified to be owned by /// the user. /// @param status The user's status as a member of a specific team. /// @param name Representations for a person's name. /// @param membershipType The user's membership type: full (normal team member) /// vs limited (does not use a license; no access to the team's shared quota). /// /// @return An initialized instance. /// - (instancetype)initWithTeamMemberId:(NSString *)teamMemberId email:(NSString *)email emailVerified:(NSNumber *)emailVerified status:(DBTEAMTeamMemberStatus *)status name:(DBUSERSName *)name membershipType:(DBTEAMTeamMembershipType *)membershipType; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `MemberProfile` struct. /// @interface DBTEAMMemberProfileSerializer : NSObject /// /// Serializes `DBTEAMMemberProfile` instances. /// /// @param instance An instance of the `DBTEAMMemberProfile` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMMemberProfile` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMMemberProfile *)instance; /// /// Deserializes `DBTEAMMemberProfile` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMMemberProfile` API object. /// /// @return An instantiation of the `DBTEAMMemberProfile` object. /// + (DBTEAMMemberProfile *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMemberSelectorError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMMemberSelectorError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `MemberSelectorError` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMMemberSelectorError : NSObject #pragma mark - Instance fields /// The `DBTEAMMemberSelectorErrorTag` enum type represents the possible tag /// states with which the `DBTEAMMemberSelectorError` union can exist. 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, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMMemberSelectorErrorTag 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; - (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 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 `DBTEAMMemberSelectorError` union. /// @interface DBTEAMMemberSelectorErrorSerializer : NSObject /// /// Serializes `DBTEAMMemberSelectorError` instances. /// /// @param instance An instance of the `DBTEAMMemberSelectorError` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMMemberSelectorError` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMMemberSelectorError *)instance; /// /// Deserializes `DBTEAMMemberSelectorError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMMemberSelectorError` API object. /// /// @return An instantiation of the `DBTEAMMemberSelectorError` object. /// + (DBTEAMMemberSelectorError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersAddArg.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" #import "DBTEAMMembersAddArgBase.h" @class DBTEAMMemberAddArg; @class DBTEAMMembersAddArg; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `MembersAddArg` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMMembersAddArg : 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 `MembersAddArg` struct. /// @interface DBTEAMMembersAddArgSerializer : NSObject /// /// Serializes `DBTEAMMembersAddArg` instances. /// /// @param instance An instance of the `DBTEAMMembersAddArg` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMMembersAddArg` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMMembersAddArg *)instance; /// /// Deserializes `DBTEAMMembersAddArg` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMMembersAddArg` API object. /// /// @return An instantiation of the `DBTEAMMembersAddArg` object. /// + (DBTEAMMembersAddArg *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersAddArgBase.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersAddJobStatus.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMMemberAddResult; @class DBTEAMMembersAddJobStatus; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `MembersAddJobStatus` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMMembersAddJobStatus : NSObject #pragma mark - Instance fields /// The `DBTEAMMembersAddJobStatusTag` enum type represents the possible tag /// states with which the `DBTEAMMembersAddJobStatus` union can exist. 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 returned an error. The string contains an error /// message. DBTEAMMembersAddJobStatusFailed, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMMembersAddJobStatusTag 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; - (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 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 `DBTEAMMembersAddJobStatus` union. /// @interface DBTEAMMembersAddJobStatusSerializer : NSObject /// /// Serializes `DBTEAMMembersAddJobStatus` instances. /// /// @param instance An instance of the `DBTEAMMembersAddJobStatus` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMMembersAddJobStatus` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMMembersAddJobStatus *)instance; /// /// Deserializes `DBTEAMMembersAddJobStatus` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMMembersAddJobStatus` API object. /// /// @return An instantiation of the `DBTEAMMembersAddJobStatus` object. /// + (DBTEAMMembersAddJobStatus *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersAddJobStatusV2Result.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersAddLaunch.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMMemberAddResult; @class DBTEAMMembersAddLaunch; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `MembersAddLaunch` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMMembersAddLaunch : NSObject #pragma mark - Instance fields /// The `DBTEAMMembersAddLaunchTag` enum type represents the possible tag states /// with which the `DBTEAMMembersAddLaunch` union can exist. 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, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMMembersAddLaunchTag 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; - (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 `DBTEAMMembersAddLaunch` union. /// @interface DBTEAMMembersAddLaunchSerializer : NSObject /// /// Serializes `DBTEAMMembersAddLaunch` instances. /// /// @param instance An instance of the `DBTEAMMembersAddLaunch` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMMembersAddLaunch` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMMembersAddLaunch *)instance; /// /// Deserializes `DBTEAMMembersAddLaunch` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMMembersAddLaunch` API object. /// /// @return An instantiation of the `DBTEAMMembersAddLaunch` object. /// + (DBTEAMMembersAddLaunch *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersAddLaunchV2Result.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersAddV2Arg.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersDataTransferArg.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersDeactivateArg.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" #import "DBTEAMMembersDeactivateBaseArg.h" @class DBTEAMMembersDeactivateArg; @class DBTEAMUserSelectorArg; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `MembersDeactivateArg` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMMembersDeactivateArg : DBTEAMMembersDeactivateBaseArg #pragma mark - Instance fields /// If provided, controls if the user's data will be deleted on their linked /// devices. @property (nonatomic, readonly) NSNumber *wipeData; #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 wipeData If provided, controls if the user's data will be deleted on /// their linked devices. /// /// @return An initialized instance. /// - (instancetype)initWithUser:(DBTEAMUserSelectorArg *)user wipeData:(nullable NSNumber *)wipeData; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param user Identity of user to remove/suspend/have their files moved. /// /// @return An initialized instance. /// - (instancetype)initWithUser:(DBTEAMUserSelectorArg *)user; @end #pragma mark - Serializer Object /// /// The serialization class for the `MembersDeactivateArg` struct. /// @interface DBTEAMMembersDeactivateArgSerializer : NSObject /// /// Serializes `DBTEAMMembersDeactivateArg` instances. /// /// @param instance An instance of the `DBTEAMMembersDeactivateArg` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMMembersDeactivateArg` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMMembersDeactivateArg *)instance; /// /// Deserializes `DBTEAMMembersDeactivateArg` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMMembersDeactivateArg` API object. /// /// @return An instantiation of the `DBTEAMMembersDeactivateArg` object. /// + (DBTEAMMembersDeactivateArg *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersDeactivateBaseArg.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersDeactivateError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMMembersDeactivateError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `MembersDeactivateError` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMMembersDeactivateError : NSObject #pragma mark - Instance fields /// The `DBTEAMMembersDeactivateErrorTag` enum type represents the possible tag /// states with which the `DBTEAMMembersDeactivateError` union can exist. 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, /// (no description). DBTEAMMembersDeactivateErrorOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMMembersDeactivateErrorTag 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; - (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 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 `DBTEAMMembersDeactivateError` union. /// @interface DBTEAMMembersDeactivateErrorSerializer : NSObject /// /// Serializes `DBTEAMMembersDeactivateError` instances. /// /// @param instance An instance of the `DBTEAMMembersDeactivateError` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMMembersDeactivateError` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMMembersDeactivateError *)instance; /// /// Deserializes `DBTEAMMembersDeactivateError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMMembersDeactivateError` API object. /// /// @return An instantiation of the `DBTEAMMembersDeactivateError` object. /// + (DBTEAMMembersDeactivateError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersDeleteProfilePhotoArg.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersDeleteProfilePhotoError.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersGetAvailableTeamMemberRolesResult.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersGetInfoArgs.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMMembersGetInfoArgs; @class DBTEAMUserSelectorArg; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `MembersGetInfoArgs` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMMembersGetInfoArgs : 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 `MembersGetInfoArgs` struct. /// @interface DBTEAMMembersGetInfoArgsSerializer : NSObject /// /// Serializes `DBTEAMMembersGetInfoArgs` instances. /// /// @param instance An instance of the `DBTEAMMembersGetInfoArgs` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMMembersGetInfoArgs` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMMembersGetInfoArgs *)instance; /// /// Deserializes `DBTEAMMembersGetInfoArgs` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMMembersGetInfoArgs` API object. /// /// @return An instantiation of the `DBTEAMMembersGetInfoArgs` object. /// + (DBTEAMMembersGetInfoArgs *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersGetInfoError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMMembersGetInfoError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `MembersGetInfoError` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMMembersGetInfoError : NSObject #pragma mark - Instance fields /// The `DBTEAMMembersGetInfoErrorTag` enum type represents the possible tag /// states with which the `DBTEAMMembersGetInfoError` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBTEAMMembersGetInfoErrorTag){ /// (no description). DBTEAMMembersGetInfoErrorOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMMembersGetInfoErrorTag tag; #pragma mark - Constructors /// /// 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 "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 `DBTEAMMembersGetInfoError` union. /// @interface DBTEAMMembersGetInfoErrorSerializer : NSObject /// /// Serializes `DBTEAMMembersGetInfoError` instances. /// /// @param instance An instance of the `DBTEAMMembersGetInfoError` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMMembersGetInfoError` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMMembersGetInfoError *)instance; /// /// Deserializes `DBTEAMMembersGetInfoError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMMembersGetInfoError` API object. /// /// @return An instantiation of the `DBTEAMMembersGetInfoError` object. /// + (DBTEAMMembersGetInfoError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersGetInfoItem.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMMembersGetInfoItem; @class DBTEAMTeamMemberInfo; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `MembersGetInfoItem` 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 DBTEAMMembersGetInfoItem : NSObject #pragma mark - Instance fields /// The `DBTEAMMembersGetInfoItemTag` enum type represents the possible tag /// states with which the `DBTEAMMembersGetInfoItem` union can exist. 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, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMMembersGetInfoItemTag 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) DBTEAMTeamMemberInfo *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:(DBTEAMTeamMemberInfo *)memberInfo; - (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 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 `DBTEAMMembersGetInfoItem` union. /// @interface DBTEAMMembersGetInfoItemSerializer : NSObject /// /// Serializes `DBTEAMMembersGetInfoItem` instances. /// /// @param instance An instance of the `DBTEAMMembersGetInfoItem` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMMembersGetInfoItem` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMMembersGetInfoItem *)instance; /// /// Deserializes `DBTEAMMembersGetInfoItem` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMMembersGetInfoItem` API object. /// /// @return An instantiation of the `DBTEAMMembersGetInfoItem` object. /// + (DBTEAMMembersGetInfoItem *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersGetInfoItemBase.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersGetInfoItemV2.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersGetInfoV2Arg.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersGetInfoV2Result.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersInfo.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersListArg.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMMembersListArg; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `MembersListArg` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMMembersListArg : NSObject #pragma mark - Instance fields /// Number of results to return per call. @property (nonatomic, readonly) NSNumber *limit; /// Whether to return removed members. @property (nonatomic, readonly) NSNumber *includeRemoved; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param limit Number of results to return per call. /// @param includeRemoved Whether to return removed members. /// /// @return An initialized instance. /// - (instancetype)initWithLimit:(nullable NSNumber *)limit includeRemoved:(nullable NSNumber *)includeRemoved; /// /// 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 `MembersListArg` struct. /// @interface DBTEAMMembersListArgSerializer : NSObject /// /// Serializes `DBTEAMMembersListArg` instances. /// /// @param instance An instance of the `DBTEAMMembersListArg` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMMembersListArg` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMMembersListArg *)instance; /// /// Deserializes `DBTEAMMembersListArg` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMMembersListArg` API object. /// /// @return An instantiation of the `DBTEAMMembersListArg` object. /// + (DBTEAMMembersListArg *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersListContinueArg.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMMembersListContinueArg; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `MembersListContinueArg` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMMembersListContinueArg : NSObject #pragma mark - Instance fields /// Indicates from what point to get the next set of members. @property (nonatomic, readonly, copy) NSString *cursor; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param cursor Indicates from what point to get the next set of members. /// /// @return An initialized instance. /// - (instancetype)initWithCursor:(NSString *)cursor; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `MembersListContinueArg` struct. /// @interface DBTEAMMembersListContinueArgSerializer : NSObject /// /// Serializes `DBTEAMMembersListContinueArg` instances. /// /// @param instance An instance of the `DBTEAMMembersListContinueArg` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMMembersListContinueArg` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMMembersListContinueArg *)instance; /// /// Deserializes `DBTEAMMembersListContinueArg` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMMembersListContinueArg` API object. /// /// @return An instantiation of the `DBTEAMMembersListContinueArg` object. /// + (DBTEAMMembersListContinueArg *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersListContinueError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMMembersListContinueError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `MembersListContinueError` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMMembersListContinueError : NSObject #pragma mark - Instance fields /// The `DBTEAMMembersListContinueErrorTag` enum type represents the possible /// tag states with which the `DBTEAMMembersListContinueError` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBTEAMMembersListContinueErrorTag){ /// The cursor is invalid. DBTEAMMembersListContinueErrorInvalidCursor, /// (no description). DBTEAMMembersListContinueErrorOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMMembersListContinueErrorTag tag; #pragma mark - Constructors /// /// 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; /// /// 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 `DBTEAMMembersListContinueError` union. /// @interface DBTEAMMembersListContinueErrorSerializer : NSObject /// /// Serializes `DBTEAMMembersListContinueError` instances. /// /// @param instance An instance of the `DBTEAMMembersListContinueError` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMMembersListContinueError` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMMembersListContinueError *)instance; /// /// Deserializes `DBTEAMMembersListContinueError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMMembersListContinueError` API object. /// /// @return An instantiation of the `DBTEAMMembersListContinueError` object. /// + (DBTEAMMembersListContinueError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersListError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMMembersListError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `MembersListError` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMMembersListError : NSObject #pragma mark - Instance fields /// The `DBTEAMMembersListErrorTag` enum type represents the possible tag states /// with which the `DBTEAMMembersListError` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBTEAMMembersListErrorTag){ /// (no description). DBTEAMMembersListErrorOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMMembersListErrorTag tag; #pragma mark - Constructors /// /// 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 "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 `DBTEAMMembersListError` union. /// @interface DBTEAMMembersListErrorSerializer : NSObject /// /// Serializes `DBTEAMMembersListError` instances. /// /// @param instance An instance of the `DBTEAMMembersListError` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMMembersListError` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMMembersListError *)instance; /// /// Deserializes `DBTEAMMembersListError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMMembersListError` API object. /// /// @return An instantiation of the `DBTEAMMembersListError` object. /// + (DBTEAMMembersListError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersListResult.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMMembersListResult; @class DBTEAMTeamMemberInfo; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `MembersListResult` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMMembersListResult : 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 `MembersListResult` struct. /// @interface DBTEAMMembersListResultSerializer : NSObject /// /// Serializes `DBTEAMMembersListResult` instances. /// /// @param instance An instance of the `DBTEAMMembersListResult` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMMembersListResult` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMMembersListResult *)instance; /// /// Deserializes `DBTEAMMembersListResult` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMMembersListResult` API object. /// /// @return An instantiation of the `DBTEAMMembersListResult` object. /// + (DBTEAMMembersListResult *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersListV2Result.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersRecoverArg.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMMembersRecoverArg; @class DBTEAMUserSelectorArg; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `MembersRecoverArg` 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 DBTEAMMembersRecoverArg : NSObject #pragma mark - Instance fields /// Identity of user to recover. @property (nonatomic, readonly) DBTEAMUserSelectorArg *user; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param user Identity of user to recover. /// /// @return An initialized instance. /// - (instancetype)initWithUser:(DBTEAMUserSelectorArg *)user; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `MembersRecoverArg` struct. /// @interface DBTEAMMembersRecoverArgSerializer : NSObject /// /// Serializes `DBTEAMMembersRecoverArg` instances. /// /// @param instance An instance of the `DBTEAMMembersRecoverArg` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMMembersRecoverArg` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMMembersRecoverArg *)instance; /// /// Deserializes `DBTEAMMembersRecoverArg` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMMembersRecoverArg` API object. /// /// @return An instantiation of the `DBTEAMMembersRecoverArg` object. /// + (DBTEAMMembersRecoverArg *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersRecoverError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMMembersRecoverError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `MembersRecoverError` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMMembersRecoverError : NSObject #pragma mark - Instance fields /// The `DBTEAMMembersRecoverErrorTag` enum type represents the possible tag /// states with which the `DBTEAMMembersRecoverError` union can exist. 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 a member of the team. DBTEAMMembersRecoverErrorUserNotInTeam, /// Team is full. The organization has no available licenses. DBTEAMMembersRecoverErrorTeamLicenseLimit, /// (no description). DBTEAMMembersRecoverErrorOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMMembersRecoverErrorTag 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_unrecoverable". /// /// Description of the "user_unrecoverable" tag state: The user is not /// recoverable. /// /// @return An initialized instance. /// - (instancetype)initWithUserUnrecoverable; /// /// 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 "team_license_limit". /// /// Description of the "team_license_limit" tag state: Team is full. The /// organization has no available licenses. /// /// @return An initialized instance. /// - (instancetype)initWithTeamLicenseLimit; /// /// 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_unrecoverable". /// /// @return Whether the union's current tag state has value /// "user_unrecoverable". /// - (BOOL)isUserUnrecoverable; /// /// 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 /// "team_license_limit". /// /// @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 "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 `DBTEAMMembersRecoverError` union. /// @interface DBTEAMMembersRecoverErrorSerializer : NSObject /// /// Serializes `DBTEAMMembersRecoverError` instances. /// /// @param instance An instance of the `DBTEAMMembersRecoverError` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMMembersRecoverError` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMMembersRecoverError *)instance; /// /// Deserializes `DBTEAMMembersRecoverError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMMembersRecoverError` API object. /// /// @return An instantiation of the `DBTEAMMembersRecoverError` object. /// + (DBTEAMMembersRecoverError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersRemoveArg.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" #import "DBTEAMMembersDeactivateArg.h" @class DBTEAMMembersRemoveArg; @class DBTEAMUserSelectorArg; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `MembersRemoveArg` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMMembersRemoveArg : DBTEAMMembersDeactivateArg #pragma mark - Instance fields /// If provided, files from the deleted member account will be transferred to /// this user. @property (nonatomic, readonly, nullable) DBTEAMUserSelectorArg *transferDestId; /// If provided, errors during the transfer process will be sent via email to /// this user. If the transfer_dest_id argument was provided, then this argument /// must be provided as well. @property (nonatomic, readonly, nullable) DBTEAMUserSelectorArg *transferAdminId; /// 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 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/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 /// will be transferred to this user. /// @param transferAdminId If provided, errors during the transfer process will /// be sent via email to this user. If the 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 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. /// - (instancetype)initWithUser:(DBTEAMUserSelectorArg *)user wipeData:(nullable NSNumber *)wipeData transferDestId:(nullable DBTEAMUserSelectorArg *)transferDestId transferAdminId:(nullable DBTEAMUserSelectorArg *)transferAdminId 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/have their files moved. /// /// @return An initialized instance. /// - (instancetype)initWithUser:(DBTEAMUserSelectorArg *)user; @end #pragma mark - Serializer Object /// /// The serialization class for the `MembersRemoveArg` struct. /// @interface DBTEAMMembersRemoveArgSerializer : NSObject /// /// Serializes `DBTEAMMembersRemoveArg` instances. /// /// @param instance An instance of the `DBTEAMMembersRemoveArg` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMMembersRemoveArg` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMMembersRemoveArg *)instance; /// /// Deserializes `DBTEAMMembersRemoveArg` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMMembersRemoveArg` API object. /// /// @return An instantiation of the `DBTEAMMembersRemoveArg` object. /// + (DBTEAMMembersRemoveArg *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersRemoveError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMMembersRemoveError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `MembersRemoveError` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMMembersRemoveError : NSObject #pragma mark - Instance fields /// The `DBTEAMMembersRemoveErrorTag` enum type represents the possible tag /// states with which the `DBTEAMMembersRemoveError` union can exist. 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, /// (no description). DBTEAMMembersRemoveErrorOther, /// Expected removed user and transfer_dest user to be different. DBTEAMMembersRemoveErrorRemovedAndTransferDestShouldDiffer, /// Expected removed user and transfer_admin user to be different. DBTEAMMembersRemoveErrorRemovedAndTransferAdminShouldDiffer, /// 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_admin_id does not exist on this team. DBTEAMMembersRemoveErrorTransferAdminUserNotInTeam, /// No matching user found for the argument transfer_admin_id. DBTEAMMembersRemoveErrorTransferAdminUserNotFound, /// The transfer_admin_id argument must be provided when file transfer is /// requested. DBTEAMMembersRemoveErrorUnspecifiedTransferAdminId, /// Specified transfer_admin user is not a team admin. DBTEAMMembersRemoveErrorTransferAdminIsNotAdmin, /// The recipient user's email is not verified. DBTEAMMembersRemoveErrorRecipientNotVerified, /// The user is the last admin of the team, so it cannot be removed from it. DBTEAMMembersRemoveErrorRemoveLastAdmin, /// Cannot keep account and transfer the data to another user at the same /// time. DBTEAMMembersRemoveErrorCannotKeepAccountAndTransfer, /// 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, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMMembersRemoveErrorTag 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 "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". /// /// Description of the "cannot_keep_account_and_transfer" tag state: Cannot keep /// account and transfer the data to another user at the same time. /// /// @return An initialized instance. /// - (instancetype)initWithCannotKeepAccountAndTransfer; /// /// Initializes union class with tag state of /// "cannot_keep_account_and_delete_data". /// /// 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. /// /// @return An initialized instance. /// - (instancetype)initWithCannotKeepAccountAndDeleteData; /// /// Initializes union class with tag state of /// "email_address_too_long_to_be_disabled". /// /// Description of the "email_address_too_long_to_be_disabled" tag state: The /// email address of the user is too long to be disabled. /// /// @return An initialized instance. /// - (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 /// /// 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 /// "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". /// /// @return Whether the union's current tag state has value /// "cannot_keep_account_and_transfer". /// - (BOOL)isCannotKeepAccountAndTransfer; /// /// Retrieves whether the union's current tag state has value /// "cannot_keep_account_and_delete_data". /// /// @return Whether the union's current tag state has value /// "cannot_keep_account_and_delete_data". /// - (BOOL)isCannotKeepAccountAndDeleteData; /// /// Retrieves whether the union's current tag state has value /// "email_address_too_long_to_be_disabled". /// /// @return Whether the union's current tag state has value /// "email_address_too_long_to_be_disabled". /// - (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. /// /// @return A human-readable string representing the union's current tag state. /// - (NSString *)tagName; @end #pragma mark - Serializer Object /// /// The serialization class for the `DBTEAMMembersRemoveError` union. /// @interface DBTEAMMembersRemoveErrorSerializer : NSObject /// /// Serializes `DBTEAMMembersRemoveError` instances. /// /// @param instance An instance of the `DBTEAMMembersRemoveError` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMMembersRemoveError` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMMembersRemoveError *)instance; /// /// Deserializes `DBTEAMMembersRemoveError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMMembersRemoveError` API object. /// /// @return An instantiation of the `DBTEAMMembersRemoveError` object. /// + (DBTEAMMembersRemoveError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersSendWelcomeError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMMembersSendWelcomeError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `MembersSendWelcomeError` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMMembersSendWelcomeError : NSObject #pragma mark - Instance fields /// The `DBTEAMMembersSendWelcomeErrorTag` enum type represents the possible tag /// states with which the `DBTEAMMembersSendWelcomeError` union can exist. 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, /// (no description). DBTEAMMembersSendWelcomeErrorOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMMembersSendWelcomeErrorTag 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; - (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 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 `DBTEAMMembersSendWelcomeError` union. /// @interface DBTEAMMembersSendWelcomeErrorSerializer : NSObject /// /// Serializes `DBTEAMMembersSendWelcomeError` instances. /// /// @param instance An instance of the `DBTEAMMembersSendWelcomeError` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMMembersSendWelcomeError` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMMembersSendWelcomeError *)instance; /// /// Deserializes `DBTEAMMembersSendWelcomeError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMMembersSendWelcomeError` API object. /// /// @return An instantiation of the `DBTEAMMembersSendWelcomeError` object. /// + (DBTEAMMembersSendWelcomeError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersSetPermissions2Arg.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersSetPermissions2Error.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersSetPermissions2Result.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersSetPermissionsArg.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMAdminTier; @class DBTEAMMembersSetPermissionsArg; @class DBTEAMUserSelectorArg; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `MembersSetPermissionsArg` 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 DBTEAMMembersSetPermissionsArg : NSObject #pragma mark - Instance fields /// Identity of user whose role will be set. @property (nonatomic, readonly) DBTEAMUserSelectorArg *user; /// The new role of the member. @property (nonatomic, readonly) DBTEAMAdminTier *dNewRole; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param user Identity of user whose role will be set. /// @param dNewRole The new role of the member. /// /// @return An initialized instance. /// - (instancetype)initWithUser:(DBTEAMUserSelectorArg *)user dNewRole:(DBTEAMAdminTier *)dNewRole; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `MembersSetPermissionsArg` struct. /// @interface DBTEAMMembersSetPermissionsArgSerializer : NSObject /// /// Serializes `DBTEAMMembersSetPermissionsArg` instances. /// /// @param instance An instance of the `DBTEAMMembersSetPermissionsArg` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMMembersSetPermissionsArg` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMMembersSetPermissionsArg *)instance; /// /// Deserializes `DBTEAMMembersSetPermissionsArg` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMMembersSetPermissionsArg` API object. /// /// @return An instantiation of the `DBTEAMMembersSetPermissionsArg` object. /// + (DBTEAMMembersSetPermissionsArg *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersSetPermissionsError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMMembersSetPermissionsError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `MembersSetPermissionsError` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMMembersSetPermissionsError : NSObject #pragma mark - Instance fields /// The `DBTEAMMembersSetPermissionsErrorTag` enum type represents the possible /// tag states with which the `DBTEAMMembersSetPermissionsError` union can /// exist. 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, /// The user is not a member of the team. DBTEAMMembersSetPermissionsErrorUserNotInTeam, /// Cannot remove/grant permissions. DBTEAMMembersSetPermissionsErrorCannotSetPermissions, /// Team is full. The organization has no available licenses. DBTEAMMembersSetPermissionsErrorTeamLicenseLimit, /// (no description). DBTEAMMembersSetPermissionsErrorOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMMembersSetPermissionsErrorTag 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. /// /// @return An initialized instance. /// - (instancetype)initWithCannotSetPermissions; /// /// Initializes union class with tag state of "team_license_limit". /// /// Description of the "team_license_limit" tag state: Team is full. The /// organization has no available licenses. /// /// @return An initialized instance. /// - (instancetype)initWithTeamLicenseLimit; /// /// 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 /// "team_license_limit". /// /// @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 "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 `DBTEAMMembersSetPermissionsError` union. /// @interface DBTEAMMembersSetPermissionsErrorSerializer : NSObject /// /// Serializes `DBTEAMMembersSetPermissionsError` instances. /// /// @param instance An instance of the `DBTEAMMembersSetPermissionsError` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMMembersSetPermissionsError` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMMembersSetPermissionsError *)instance; /// /// Deserializes `DBTEAMMembersSetPermissionsError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMMembersSetPermissionsError` API object. /// /// @return An instantiation of the `DBTEAMMembersSetPermissionsError` object. /// + (DBTEAMMembersSetPermissionsError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersSetPermissionsResult.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMAdminTier; @class DBTEAMMembersSetPermissionsResult; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `MembersSetPermissionsResult` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMMembersSetPermissionsResult : NSObject #pragma mark - Instance fields /// The member ID of the user to which the change was applied. @property (nonatomic, readonly, copy) NSString *teamMemberId; /// The role after the change. @property (nonatomic, readonly) DBTEAMAdminTier *role; #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 role The role after the change. /// /// @return An initialized instance. /// - (instancetype)initWithTeamMemberId:(NSString *)teamMemberId role:(DBTEAMAdminTier *)role; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `MembersSetPermissionsResult` struct. /// @interface DBTEAMMembersSetPermissionsResultSerializer : NSObject /// /// Serializes `DBTEAMMembersSetPermissionsResult` instances. /// /// @param instance An instance of the `DBTEAMMembersSetPermissionsResult` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMMembersSetPermissionsResult` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMMembersSetPermissionsResult *)instance; /// /// Deserializes `DBTEAMMembersSetPermissionsResult` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMMembersSetPermissionsResult` API object. /// /// @return An instantiation of the `DBTEAMMembersSetPermissionsResult` object. /// + (DBTEAMMembersSetPermissionsResult *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersSetProfileArg.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMMembersSetProfileArg; @class DBTEAMUserSelectorArg; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `MembersSetProfileArg` struct. /// /// Exactly one of team_member_id, email, or external_id must be provided to /// identify the user account. At least one of new_email, new_external_id, /// new_given_name, and/or new_surname must be provided. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMMembersSetProfileArg : NSObject #pragma mark - Instance fields /// Identity of user whose profile will be set. @property (nonatomic, readonly) DBTEAMUserSelectorArg *user; /// New email for member. @property (nonatomic, readonly, copy, nullable) NSString *dNewEmail; /// New external ID for member. @property (nonatomic, readonly, copy, nullable) NSString *dNewExternalId; /// New given name for member. @property (nonatomic, readonly, copy, nullable) NSString *dNewGivenName; /// New surname for member. @property (nonatomic, readonly, copy, nullable) NSString *dNewSurname; /// New persistent ID. This field only available to teams using persistent ID /// 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 /// /// Full constructor for the struct (exposes all instance variables). /// /// @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 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 dNewIsDirectoryRestricted:(nullable NSNumber *)dNewIsDirectoryRestricted; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param user Identity of user whose profile 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 `MembersSetProfileArg` struct. /// @interface DBTEAMMembersSetProfileArgSerializer : NSObject /// /// Serializes `DBTEAMMembersSetProfileArg` instances. /// /// @param instance An instance of the `DBTEAMMembersSetProfileArg` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMMembersSetProfileArg` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMMembersSetProfileArg *)instance; /// /// Deserializes `DBTEAMMembersSetProfileArg` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMMembersSetProfileArg` API object. /// /// @return An instantiation of the `DBTEAMMembersSetProfileArg` object. /// + (DBTEAMMembersSetProfileArg *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersSetProfileError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMMembersSetProfileError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `MembersSetProfileError` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMMembersSetProfileError : NSObject #pragma mark - Instance fields /// The `DBTEAMMembersSetProfileErrorTag` enum type represents the possible tag /// states with which the `DBTEAMMembersSetProfileError` union can exist. 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, /// 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, /// Email is already reserved for another user. DBTEAMMembersSetProfileErrorEmailReservedForOtherUser, /// The external ID is already in use by another team member. DBTEAMMembersSetProfileErrorExternalIdUsedByOtherUser, /// Modifying deleted users is not allowed. DBTEAMMembersSetProfileErrorSetProfileDisallowed, /// 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, /// The persistent ID is already in use by another team member. DBTEAMMembersSetProfileErrorPersistentIdUsedByOtherUser, /// Directory Restrictions option is not available. DBTEAMMembersSetProfileErrorDirectoryRestrictedOff, /// (no description). DBTEAMMembersSetProfileErrorOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMMembersSetProfileErrorTag 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 /// "external_id_and_new_external_id_unsafe". /// /// Description of the "external_id_and_new_external_id_unsafe" tag state: It is /// unsafe to use both external_id and new_external_id. /// /// @return An initialized instance. /// - (instancetype)initWithExternalIdAndNewExternalIdUnsafe; /// /// Initializes union class with tag state of "no_new_data_specified". /// /// Description of the "no_new_data_specified" tag state: None of new_email, /// new_given_name, new_surname, or new_external_id are specified. /// /// @return An initialized instance. /// - (instancetype)initWithNoNewDataSpecified; /// /// Initializes union class with tag state of "email_reserved_for_other_user". /// /// Description of the "email_reserved_for_other_user" tag state: Email is /// already reserved for another user. /// /// @return An initialized instance. /// - (instancetype)initWithEmailReservedForOtherUser; /// /// Initializes union class with tag state of "external_id_used_by_other_user". /// /// Description of the "external_id_used_by_other_user" tag state: The external /// ID is already in use by another team member. /// /// @return An initialized instance. /// - (instancetype)initWithExternalIdUsedByOtherUser; /// /// 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 "param_cannot_be_empty". /// /// Description of the "param_cannot_be_empty" tag state: Parameter new_email /// cannot be empty. /// /// @return An initialized instance. /// - (instancetype)initWithParamCannotBeEmpty; /// /// 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. /// /// @return An initialized instance. /// - (instancetype)initWithPersistentIdDisabled; /// /// Initializes union class with tag state of /// "persistent_id_used_by_other_user". /// /// Description of the "persistent_id_used_by_other_user" tag state: The /// persistent ID is already in use by another team member. /// /// @return An initialized instance. /// - (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". /// /// @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 /// "external_id_and_new_external_id_unsafe". /// /// @return Whether the union's current tag state has value /// "external_id_and_new_external_id_unsafe". /// - (BOOL)isExternalIdAndNewExternalIdUnsafe; /// /// Retrieves whether the union's current tag state has value /// "no_new_data_specified". /// /// @return Whether the union's current tag state has value /// "no_new_data_specified". /// - (BOOL)isNoNewDataSpecified; /// /// Retrieves whether the union's current tag state has value /// "email_reserved_for_other_user". /// /// @return Whether the union's current tag state has value /// "email_reserved_for_other_user". /// - (BOOL)isEmailReservedForOtherUser; /// /// Retrieves whether the union's current tag state has value /// "external_id_used_by_other_user". /// /// @return Whether the union's current tag state has value /// "external_id_used_by_other_user". /// - (BOOL)isExternalIdUsedByOtherUser; /// /// 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 /// "param_cannot_be_empty". /// /// @return Whether the union's current tag state has value /// "param_cannot_be_empty". /// - (BOOL)isParamCannotBeEmpty; /// /// Retrieves whether the union's current tag state has value /// "persistent_id_disabled". /// /// @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 /// "persistent_id_used_by_other_user". /// /// @return Whether the union's current tag state has value /// "persistent_id_used_by_other_user". /// - (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". /// /// @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 `DBTEAMMembersSetProfileError` union. /// @interface DBTEAMMembersSetProfileErrorSerializer : NSObject /// /// Serializes `DBTEAMMembersSetProfileError` instances. /// /// @param instance An instance of the `DBTEAMMembersSetProfileError` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMMembersSetProfileError` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMMembersSetProfileError *)instance; /// /// Deserializes `DBTEAMMembersSetProfileError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMMembersSetProfileError` API object. /// /// @return An instantiation of the `DBTEAMMembersSetProfileError` object. /// + (DBTEAMMembersSetProfileError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersSetProfilePhotoArg.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersSetProfilePhotoError.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersSuspendError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMMembersSuspendError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `MembersSuspendError` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMMembersSuspendError : NSObject #pragma mark - Instance fields /// The `DBTEAMMembersSuspendErrorTag` enum type represents the possible tag /// states with which the `DBTEAMMembersSuspendError` union can exist. 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, /// (no description). DBTEAMMembersSuspendErrorOther, /// 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, /// Team is full. The organization has no available licenses. DBTEAMMembersSuspendErrorTeamLicenseLimit, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMMembersSuspendErrorTag 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 "suspend_inactive_user". /// /// Description of the "suspend_inactive_user" tag state: The user is not /// active, so it cannot be suspended. /// /// @return An initialized instance. /// - (instancetype)initWithSuspendInactiveUser; /// /// Initializes union class with tag state of "suspend_last_admin". /// /// Description of the "suspend_last_admin" tag state: The user is the last /// admin of the team, so it cannot be suspended. /// /// @return An initialized instance. /// - (instancetype)initWithSuspendLastAdmin; /// /// Initializes union class with tag state of "team_license_limit". /// /// Description of the "team_license_limit" tag state: Team is full. The /// organization has no available licenses. /// /// @return An initialized instance. /// - (instancetype)initWithTeamLicenseLimit; - (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 /// "suspend_inactive_user". /// /// @return Whether the union's current tag state has value /// "suspend_inactive_user". /// - (BOOL)isSuspendInactiveUser; /// /// Retrieves whether the union's current tag state has value /// "suspend_last_admin". /// /// @return Whether the union's current tag state has value /// "suspend_last_admin". /// - (BOOL)isSuspendLastAdmin; /// /// Retrieves whether the union's current tag state has value /// "team_license_limit". /// /// @return Whether the union's current tag state has value /// "team_license_limit". /// - (BOOL)isTeamLicenseLimit; /// /// 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 `DBTEAMMembersSuspendError` union. /// @interface DBTEAMMembersSuspendErrorSerializer : NSObject /// /// Serializes `DBTEAMMembersSuspendError` instances. /// /// @param instance An instance of the `DBTEAMMembersSuspendError` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMMembersSuspendError` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMMembersSuspendError *)instance; /// /// Deserializes `DBTEAMMembersSuspendError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMMembersSuspendError` API object. /// /// @return An instantiation of the `DBTEAMMembersSuspendError` object. /// + (DBTEAMMembersSuspendError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersTransferFilesError.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersTransferFormerMembersFilesError.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersUnsuspendArg.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMMembersUnsuspendArg; @class DBTEAMUserSelectorArg; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `MembersUnsuspendArg` 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 DBTEAMMembersUnsuspendArg : NSObject #pragma mark - Instance fields /// Identity of user to unsuspend. @property (nonatomic, readonly) DBTEAMUserSelectorArg *user; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param user Identity of user to unsuspend. /// /// @return An initialized instance. /// - (instancetype)initWithUser:(DBTEAMUserSelectorArg *)user; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `MembersUnsuspendArg` struct. /// @interface DBTEAMMembersUnsuspendArgSerializer : NSObject /// /// Serializes `DBTEAMMembersUnsuspendArg` instances. /// /// @param instance An instance of the `DBTEAMMembersUnsuspendArg` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMMembersUnsuspendArg` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMMembersUnsuspendArg *)instance; /// /// Deserializes `DBTEAMMembersUnsuspendArg` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMMembersUnsuspendArg` API object. /// /// @return An instantiation of the `DBTEAMMembersUnsuspendArg` object. /// + (DBTEAMMembersUnsuspendArg *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersUnsuspendError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMMembersUnsuspendError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `MembersUnsuspendError` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMMembersUnsuspendError : NSObject #pragma mark - Instance fields /// The `DBTEAMMembersUnsuspendErrorTag` enum type represents the possible tag /// states with which the `DBTEAMMembersUnsuspendError` union can exist. 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, /// (no description). DBTEAMMembersUnsuspendErrorOther, /// The user is unsuspended, so it cannot be unsuspended again. DBTEAMMembersUnsuspendErrorUnsuspendNonSuspendedMember, /// Team is full. The organization has no available licenses. DBTEAMMembersUnsuspendErrorTeamLicenseLimit, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMMembersUnsuspendErrorTag 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 "unsuspend_non_suspended_member". /// /// Description of the "unsuspend_non_suspended_member" tag state: The user is /// unsuspended, so it cannot be unsuspended again. /// /// @return An initialized instance. /// - (instancetype)initWithUnsuspendNonSuspendedMember; /// /// Initializes union class with tag state of "team_license_limit". /// /// Description of the "team_license_limit" tag state: Team is full. The /// organization has no available licenses. /// /// @return An initialized instance. /// - (instancetype)initWithTeamLicenseLimit; - (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 /// "unsuspend_non_suspended_member". /// /// @return Whether the union's current tag state has value /// "unsuspend_non_suspended_member". /// - (BOOL)isUnsuspendNonSuspendedMember; /// /// Retrieves whether the union's current tag state has value /// "team_license_limit". /// /// @return Whether the union's current tag state has value /// "team_license_limit". /// - (BOOL)isTeamLicenseLimit; /// /// 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 `DBTEAMMembersUnsuspendError` union. /// @interface DBTEAMMembersUnsuspendErrorSerializer : NSObject /// /// Serializes `DBTEAMMembersUnsuspendError` instances. /// /// @param instance An instance of the `DBTEAMMembersUnsuspendError` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMMembersUnsuspendError` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMMembersUnsuspendError *)instance; /// /// Deserializes `DBTEAMMembersUnsuspendError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMMembersUnsuspendError` API object. /// /// @return An instantiation of the `DBTEAMMembersUnsuspendError` object. /// + (DBTEAMMembersUnsuspendError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMobileClientPlatform.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMMobileClientPlatform; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `MobileClientPlatform` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMMobileClientPlatform : NSObject #pragma mark - Instance fields /// The `DBTEAMMobileClientPlatformTag` enum type represents the possible tag /// states with which the `DBTEAMMobileClientPlatform` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBTEAMMobileClientPlatformTag){ /// Official Dropbox iPhone client. DBTEAMMobileClientPlatformIphone, /// Official Dropbox iPad client. DBTEAMMobileClientPlatformIpad, /// Official Dropbox Android client. DBTEAMMobileClientPlatformAndroid, /// Official Dropbox Windows phone client. DBTEAMMobileClientPlatformWindowsPhone, /// Official Dropbox Blackberry client. DBTEAMMobileClientPlatformBlackberry, /// (no description). DBTEAMMobileClientPlatformOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMMobileClientPlatformTag tag; #pragma mark - Constructors /// /// Initializes union class with tag state of "iphone". /// /// Description of the "iphone" tag state: Official Dropbox iPhone client. /// /// @return An initialized instance. /// - (instancetype)initWithIphone; /// /// Initializes union class with tag state of "ipad". /// /// Description of the "ipad" tag state: Official Dropbox iPad client. /// /// @return An initialized instance. /// - (instancetype)initWithIpad; /// /// Initializes union class with tag state of "android". /// /// Description of the "android" tag state: Official Dropbox Android client. /// /// @return An initialized instance. /// - (instancetype)initWithAndroid; /// /// Initializes union class with tag state of "windows_phone". /// /// Description of the "windows_phone" tag state: Official Dropbox Windows phone /// client. /// /// @return An initialized instance. /// - (instancetype)initWithWindowsPhone; /// /// Initializes union class with tag state of "blackberry". /// /// Description of the "blackberry" tag state: Official Dropbox Blackberry /// client. /// /// @return An initialized instance. /// - (instancetype)initWithBlackberry; /// /// 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 "iphone". /// /// @return Whether the union's current tag state has value "iphone". /// - (BOOL)isIphone; /// /// Retrieves whether the union's current tag state has value "ipad". /// /// @return Whether the union's current tag state has value "ipad". /// - (BOOL)isIpad; /// /// Retrieves whether the union's current tag state has value "android". /// /// @return Whether the union's current tag state has value "android". /// - (BOOL)isAndroid; /// /// Retrieves whether the union's current tag state has value "windows_phone". /// /// @return Whether the union's current tag state has value "windows_phone". /// - (BOOL)isWindowsPhone; /// /// Retrieves whether the union's current tag state has value "blackberry". /// /// @return Whether the union's current tag state has value "blackberry". /// - (BOOL)isBlackberry; /// /// 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 `DBTEAMMobileClientPlatform` union. /// @interface DBTEAMMobileClientPlatformSerializer : NSObject /// /// Serializes `DBTEAMMobileClientPlatform` instances. /// /// @param instance An instance of the `DBTEAMMobileClientPlatform` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMMobileClientPlatform` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMMobileClientPlatform *)instance; /// /// Deserializes `DBTEAMMobileClientPlatform` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMMobileClientPlatform` API object. /// /// @return An instantiation of the `DBTEAMMobileClientPlatform` object. /// + (DBTEAMMobileClientPlatform *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMobileClientSession.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" #import "DBTEAMDeviceSession.h" @class DBTEAMMobileClientPlatform; @class DBTEAMMobileClientSession; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `MobileClientSession` 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 DBTEAMMobileClientSession : DBTEAMDeviceSession #pragma mark - Instance fields /// 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 sessionId The session id. /// @param deviceName The device name. /// @param clientType The mobile application type. /// @param ipAddress The IP address of the last activity from this session. /// @param country The country from which the last activity from this session /// was made. /// @param created The time this session was created. /// @param updated The time of the last activity from this session. /// @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)initWithSessionId:(NSString *)sessionId deviceName:(NSString *)deviceName clientType:(DBTEAMMobileClientPlatform *)clientType ipAddress:(nullable NSString *)ipAddress country:(nullable NSString *)country created:(nullable NSDate *)created updated:(nullable NSDate *)updated 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 sessionId The session id. /// @param deviceName The device name. /// @param clientType The mobile application type. /// /// @return An initialized instance. /// - (instancetype)initWithSessionId:(NSString *)sessionId deviceName:(NSString *)deviceName clientType:(DBTEAMMobileClientPlatform *)clientType; @end #pragma mark - Serializer Object /// /// The serialization class for the `MobileClientSession` struct. /// @interface DBTEAMMobileClientSessionSerializer : NSObject /// /// Serializes `DBTEAMMobileClientSession` instances. /// /// @param instance An instance of the `DBTEAMMobileClientSession` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMMobileClientSession` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMMobileClientSession *)instance; /// /// Deserializes `DBTEAMMobileClientSession` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMMobileClientSession` API object. /// /// @return An instantiation of the `DBTEAMMobileClientSession` object. /// + (DBTEAMMobileClientSession *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMNamespaceMetadata.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMNamespaceMetadata; @class DBTEAMNamespaceType; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `NamespaceMetadata` struct. /// /// Properties of a namespace. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMNamespaceMetadata : NSObject #pragma mark - Instance fields /// The name of this namespace. @property (nonatomic, readonly, copy) NSString *name; /// The ID of this namespace. @property (nonatomic, readonly, copy) NSString *namespaceId; /// The type of this namespace. @property (nonatomic, readonly) DBTEAMNamespaceType *namespaceType; /// 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 /// /// Full constructor for the struct (exposes all instance variables). /// /// @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 or app folder, the ID of the /// owning team member. Otherwise, this field is not present. /// /// @return An initialized instance. /// - (instancetype)initWithName:(NSString *)name namespaceId:(NSString *)namespaceId namespaceType:(DBTEAMNamespaceType *)namespaceType teamMemberId:(nullable NSString *)teamMemberId; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param name The name of this namespace. /// @param namespaceId The ID of this namespace. /// @param namespaceType The type of this namespace. /// /// @return An initialized instance. /// - (instancetype)initWithName:(NSString *)name namespaceId:(NSString *)namespaceId namespaceType:(DBTEAMNamespaceType *)namespaceType; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `NamespaceMetadata` struct. /// @interface DBTEAMNamespaceMetadataSerializer : NSObject /// /// Serializes `DBTEAMNamespaceMetadata` instances. /// /// @param instance An instance of the `DBTEAMNamespaceMetadata` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMNamespaceMetadata` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMNamespaceMetadata *)instance; /// /// Deserializes `DBTEAMNamespaceMetadata` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMNamespaceMetadata` API object. /// /// @return An instantiation of the `DBTEAMNamespaceMetadata` object. /// + (DBTEAMNamespaceMetadata *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMNamespaceType.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMNamespaceType; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `NamespaceType` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMNamespaceType : NSObject #pragma mark - Instance fields /// The `DBTEAMNamespaceTypeTag` enum type represents the possible tag states /// with which the `DBTEAMNamespaceType` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBTEAMNamespaceTypeTag){ /// App sandbox folder. DBTEAMNamespaceTypeAppFolder, /// Shared folder. DBTEAMNamespaceTypeSharedFolder, /// Top-level team-owned folder. DBTEAMNamespaceTypeTeamFolder, /// Team member's home folder. DBTEAMNamespaceTypeTeamMemberFolder, /// (no description). DBTEAMNamespaceTypeOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMNamespaceTypeTag tag; #pragma mark - Constructors /// /// Initializes union class with tag state of "app_folder". /// /// Description of the "app_folder" tag state: App sandbox folder. /// /// @return An initialized instance. /// - (instancetype)initWithAppFolder; /// /// Initializes union class with tag state of "shared_folder". /// /// Description of the "shared_folder" tag state: Shared folder. /// /// @return An initialized instance. /// - (instancetype)initWithSharedFolder; /// /// Initializes union class with tag state of "team_folder". /// /// Description of the "team_folder" tag state: Top-level team-owned folder. /// /// @return An initialized instance. /// - (instancetype)initWithTeamFolder; /// /// Initializes union class with tag state of "team_member_folder". /// /// Description of the "team_member_folder" tag state: Team member's home /// folder. /// /// @return An initialized instance. /// - (instancetype)initWithTeamMemberFolder; /// /// 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 "app_folder". /// /// @return Whether the union's current tag state has value "app_folder". /// - (BOOL)isAppFolder; /// /// Retrieves whether the union's current tag state has value "shared_folder". /// /// @return Whether the union's current tag state has value "shared_folder". /// - (BOOL)isSharedFolder; /// /// Retrieves whether the union's current tag state has value "team_folder". /// /// @return Whether the union's current tag state has value "team_folder". /// - (BOOL)isTeamFolder; /// /// Retrieves whether the union's current tag state has value /// "team_member_folder". /// /// @return Whether the union's current tag state has value /// "team_member_folder". /// - (BOOL)isTeamMemberFolder; /// /// 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 `DBTEAMNamespaceType` union. /// @interface DBTEAMNamespaceTypeSerializer : NSObject /// /// Serializes `DBTEAMNamespaceType` instances. /// /// @param instance An instance of the `DBTEAMNamespaceType` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMNamespaceType` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMNamespaceType *)instance; /// /// Deserializes `DBTEAMNamespaceType` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMNamespaceType` API object. /// /// @return An instantiation of the `DBTEAMNamespaceType` object. /// + (DBTEAMNamespaceType *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMRemoveCustomQuotaResult.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMRemoveCustomQuotaResult; @class DBTEAMUserSelectorArg; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `RemoveCustomQuotaResult` union. /// /// User result for setting member custom quota. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMRemoveCustomQuotaResult : NSObject #pragma mark - Instance fields /// The `DBTEAMRemoveCustomQuotaResultTag` enum type represents the possible tag /// states with which the `DBTEAMRemoveCustomQuotaResult` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBTEAMRemoveCustomQuotaResultTag){ /// Successfully removed user. DBTEAMRemoveCustomQuotaResultSuccess, /// Invalid user (not in team). DBTEAMRemoveCustomQuotaResultInvalidUser, /// (no description). DBTEAMRemoveCustomQuotaResultOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMRemoveCustomQuotaResultTag tag; /// Successfully removed user. @note Ensure the `isSuccess` method returns true /// before accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) DBTEAMUserSelectorArg *success; /// Invalid user (not in team). @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: Successfully removed user. /// /// @param success Successfully removed user. /// /// @return An initialized instance. /// - (instancetype)initWithSuccess:(DBTEAMUserSelectorArg *)success; /// /// Initializes union class with tag state of "invalid_user". /// /// Description of the "invalid_user" tag state: Invalid user (not in team). /// /// @param invalidUser Invalid user (not in team). /// /// @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 `DBTEAMRemoveCustomQuotaResult` union. /// @interface DBTEAMRemoveCustomQuotaResultSerializer : NSObject /// /// Serializes `DBTEAMRemoveCustomQuotaResult` instances. /// /// @param instance An instance of the `DBTEAMRemoveCustomQuotaResult` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMRemoveCustomQuotaResult` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMRemoveCustomQuotaResult *)instance; /// /// Deserializes `DBTEAMRemoveCustomQuotaResult` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMRemoveCustomQuotaResult` API object. /// /// @return An instantiation of the `DBTEAMRemoveCustomQuotaResult` object. /// + (DBTEAMRemoveCustomQuotaResult *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMRemovedStatus.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMRemovedStatus; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `RemovedStatus` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMRemovedStatus : NSObject #pragma mark - Instance fields /// 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 isDisconnected:(NSNumber *)isDisconnected; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `RemovedStatus` struct. /// @interface DBTEAMRemovedStatusSerializer : NSObject /// /// Serializes `DBTEAMRemovedStatus` instances. /// /// @param instance An instance of the `DBTEAMRemovedStatus` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMRemovedStatus` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMRemovedStatus *)instance; /// /// Deserializes `DBTEAMRemovedStatus` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMRemovedStatus` API object. /// /// @return An instantiation of the `DBTEAMRemovedStatus` object. /// + (DBTEAMRemovedStatus *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMResendSecondaryEmailResult.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMResendVerificationEmailArg.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMResendVerificationEmailResult.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMRevokeDesktopClientArg.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" #import "DBTEAMDeviceSessionArg.h" @class DBTEAMRevokeDesktopClientArg; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `RevokeDesktopClientArg` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMRevokeDesktopClientArg : DBTEAMDeviceSessionArg #pragma mark - Instance fields /// Whether to delete all files of the account (this is possible only if /// supported by the desktop client and will be made the next time the client /// access the account). @property (nonatomic, readonly) NSNumber *deleteOnUnlink; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param sessionId The session id. /// @param teamMemberId The unique id of the member owning the device. /// @param deleteOnUnlink Whether to delete all files of the account (this is /// possible only if supported by the desktop client and will be made the next /// time the client access the account). /// /// @return An initialized instance. /// - (instancetype)initWithSessionId:(NSString *)sessionId teamMemberId:(NSString *)teamMemberId deleteOnUnlink:(nullable NSNumber *)deleteOnUnlink; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param sessionId The session id. /// @param teamMemberId The unique id of the member owning the device. /// /// @return An initialized instance. /// - (instancetype)initWithSessionId:(NSString *)sessionId teamMemberId:(NSString *)teamMemberId; @end #pragma mark - Serializer Object /// /// The serialization class for the `RevokeDesktopClientArg` struct. /// @interface DBTEAMRevokeDesktopClientArgSerializer : NSObject /// /// Serializes `DBTEAMRevokeDesktopClientArg` instances. /// /// @param instance An instance of the `DBTEAMRevokeDesktopClientArg` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMRevokeDesktopClientArg` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMRevokeDesktopClientArg *)instance; /// /// Deserializes `DBTEAMRevokeDesktopClientArg` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMRevokeDesktopClientArg` API object. /// /// @return An instantiation of the `DBTEAMRevokeDesktopClientArg` object. /// + (DBTEAMRevokeDesktopClientArg *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMRevokeDeviceSessionArg.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMDeviceSessionArg; @class DBTEAMRevokeDesktopClientArg; @class DBTEAMRevokeDeviceSessionArg; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `RevokeDeviceSessionArg` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMRevokeDeviceSessionArg : NSObject #pragma mark - Instance fields /// The `DBTEAMRevokeDeviceSessionArgTag` enum type represents the possible tag /// states with which the `DBTEAMRevokeDeviceSessionArg` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBTEAMRevokeDeviceSessionArgTag){ /// End an active session. DBTEAMRevokeDeviceSessionArgWebSession, /// Unlink a linked desktop device. DBTEAMRevokeDeviceSessionArgDesktopClient, /// Unlink a linked mobile device. DBTEAMRevokeDeviceSessionArgMobileClient, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMRevokeDeviceSessionArgTag tag; /// End an active session. @note Ensure the `isWebSession` method returns true /// before accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) DBTEAMDeviceSessionArg *webSession; /// Unlink a linked desktop device. @note Ensure the `isDesktopClient` method /// returns true before accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) DBTEAMRevokeDesktopClientArg *desktopClient; /// Unlink a linked mobile device. @note Ensure the `isMobileClient` method /// returns true before accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) DBTEAMDeviceSessionArg *mobileClient; #pragma mark - Constructors /// /// Initializes union class with tag state of "web_session". /// /// Description of the "web_session" tag state: End an active session. /// /// @param webSession End an active session. /// /// @return An initialized instance. /// - (instancetype)initWithWebSession:(DBTEAMDeviceSessionArg *)webSession; /// /// Initializes union class with tag state of "desktop_client". /// /// Description of the "desktop_client" tag state: Unlink a linked desktop /// device. /// /// @param desktopClient Unlink a linked desktop device. /// /// @return An initialized instance. /// - (instancetype)initWithDesktopClient:(DBTEAMRevokeDesktopClientArg *)desktopClient; /// /// Initializes union class with tag state of "mobile_client". /// /// Description of the "mobile_client" tag state: Unlink a linked mobile device. /// /// @param mobileClient Unlink a linked mobile device. /// /// @return An initialized instance. /// - (instancetype)initWithMobileClient:(DBTEAMDeviceSessionArg *)mobileClient; - (instancetype)init NS_UNAVAILABLE; #pragma mark - Tag state methods /// /// Retrieves whether the union's current tag state has value "web_session". /// /// @note Call this method and ensure it returns true before accessing the /// `webSession` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value "web_session". /// - (BOOL)isWebSession; /// /// Retrieves whether the union's current tag state has value "desktop_client". /// /// @note Call this method and ensure it returns true before accessing the /// `desktopClient` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value "desktop_client". /// - (BOOL)isDesktopClient; /// /// Retrieves whether the union's current tag state has value "mobile_client". /// /// @note Call this method and ensure it returns true before accessing the /// `mobileClient` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value "mobile_client". /// - (BOOL)isMobileClient; /// /// 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 `DBTEAMRevokeDeviceSessionArg` union. /// @interface DBTEAMRevokeDeviceSessionArgSerializer : NSObject /// /// Serializes `DBTEAMRevokeDeviceSessionArg` instances. /// /// @param instance An instance of the `DBTEAMRevokeDeviceSessionArg` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMRevokeDeviceSessionArg` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMRevokeDeviceSessionArg *)instance; /// /// Deserializes `DBTEAMRevokeDeviceSessionArg` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMRevokeDeviceSessionArg` API object. /// /// @return An instantiation of the `DBTEAMRevokeDeviceSessionArg` object. /// + (DBTEAMRevokeDeviceSessionArg *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMRevokeDeviceSessionBatchArg.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMRevokeDeviceSessionArg; @class DBTEAMRevokeDeviceSessionBatchArg; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `RevokeDeviceSessionBatchArg` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMRevokeDeviceSessionBatchArg : NSObject #pragma mark - Instance fields /// (no description). @property (nonatomic, readonly) NSArray *revokeDevices; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param revokeDevices (no description). /// /// @return An initialized instance. /// - (instancetype)initWithRevokeDevices:(NSArray *)revokeDevices; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `RevokeDeviceSessionBatchArg` struct. /// @interface DBTEAMRevokeDeviceSessionBatchArgSerializer : NSObject /// /// Serializes `DBTEAMRevokeDeviceSessionBatchArg` instances. /// /// @param instance An instance of the `DBTEAMRevokeDeviceSessionBatchArg` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMRevokeDeviceSessionBatchArg` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMRevokeDeviceSessionBatchArg *)instance; /// /// Deserializes `DBTEAMRevokeDeviceSessionBatchArg` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMRevokeDeviceSessionBatchArg` API object. /// /// @return An instantiation of the `DBTEAMRevokeDeviceSessionBatchArg` object. /// + (DBTEAMRevokeDeviceSessionBatchArg *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMRevokeDeviceSessionBatchError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMRevokeDeviceSessionBatchError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `RevokeDeviceSessionBatchError` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMRevokeDeviceSessionBatchError : NSObject #pragma mark - Instance fields /// The `DBTEAMRevokeDeviceSessionBatchErrorTag` enum type represents the /// possible tag states with which the `DBTEAMRevokeDeviceSessionBatchError` /// union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBTEAMRevokeDeviceSessionBatchErrorTag){ /// (no description). DBTEAMRevokeDeviceSessionBatchErrorOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMRevokeDeviceSessionBatchErrorTag tag; #pragma mark - Constructors /// /// 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 "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 `DBTEAMRevokeDeviceSessionBatchError` union. /// @interface DBTEAMRevokeDeviceSessionBatchErrorSerializer : NSObject /// /// Serializes `DBTEAMRevokeDeviceSessionBatchError` instances. /// /// @param instance An instance of the `DBTEAMRevokeDeviceSessionBatchError` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMRevokeDeviceSessionBatchError` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMRevokeDeviceSessionBatchError *)instance; /// /// Deserializes `DBTEAMRevokeDeviceSessionBatchError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMRevokeDeviceSessionBatchError` API object. /// /// @return An instantiation of the `DBTEAMRevokeDeviceSessionBatchError` /// object. /// + (DBTEAMRevokeDeviceSessionBatchError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMRevokeDeviceSessionBatchResult.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMRevokeDeviceSessionBatchResult; @class DBTEAMRevokeDeviceSessionStatus; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `RevokeDeviceSessionBatchResult` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMRevokeDeviceSessionBatchResult : NSObject #pragma mark - Instance fields /// (no description). @property (nonatomic, readonly) NSArray *revokeDevicesStatus; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param revokeDevicesStatus (no description). /// /// @return An initialized instance. /// - (instancetype)initWithRevokeDevicesStatus:(NSArray *)revokeDevicesStatus; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `RevokeDeviceSessionBatchResult` struct. /// @interface DBTEAMRevokeDeviceSessionBatchResultSerializer : NSObject /// /// Serializes `DBTEAMRevokeDeviceSessionBatchResult` instances. /// /// @param instance An instance of the `DBTEAMRevokeDeviceSessionBatchResult` /// API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMRevokeDeviceSessionBatchResult` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMRevokeDeviceSessionBatchResult *)instance; /// /// Deserializes `DBTEAMRevokeDeviceSessionBatchResult` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMRevokeDeviceSessionBatchResult` API object. /// /// @return An instantiation of the `DBTEAMRevokeDeviceSessionBatchResult` /// object. /// + (DBTEAMRevokeDeviceSessionBatchResult *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMRevokeDeviceSessionError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMRevokeDeviceSessionError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `RevokeDeviceSessionError` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMRevokeDeviceSessionError : NSObject #pragma mark - Instance fields /// The `DBTEAMRevokeDeviceSessionErrorTag` enum type represents the possible /// tag states with which the `DBTEAMRevokeDeviceSessionError` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBTEAMRevokeDeviceSessionErrorTag){ /// Device session not found. DBTEAMRevokeDeviceSessionErrorDeviceSessionNotFound, /// Member not found. DBTEAMRevokeDeviceSessionErrorMemberNotFound, /// (no description). DBTEAMRevokeDeviceSessionErrorOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMRevokeDeviceSessionErrorTag tag; #pragma mark - Constructors /// /// Initializes union class with tag state of "device_session_not_found". /// /// Description of the "device_session_not_found" tag state: Device session not /// found. /// /// @return An initialized instance. /// - (instancetype)initWithDeviceSessionNotFound; /// /// Initializes union class with tag state of "member_not_found". /// /// Description of the "member_not_found" tag state: Member not found. /// /// @return An initialized instance. /// - (instancetype)initWithMemberNotFound; /// /// 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 /// "device_session_not_found". /// /// @return Whether the union's current tag state has value /// "device_session_not_found". /// - (BOOL)isDeviceSessionNotFound; /// /// Retrieves whether the union's current tag state has value /// "member_not_found". /// /// @return Whether the union's current tag state has value "member_not_found". /// - (BOOL)isMemberNotFound; /// /// 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 `DBTEAMRevokeDeviceSessionError` union. /// @interface DBTEAMRevokeDeviceSessionErrorSerializer : NSObject /// /// Serializes `DBTEAMRevokeDeviceSessionError` instances. /// /// @param instance An instance of the `DBTEAMRevokeDeviceSessionError` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMRevokeDeviceSessionError` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMRevokeDeviceSessionError *)instance; /// /// Deserializes `DBTEAMRevokeDeviceSessionError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMRevokeDeviceSessionError` API object. /// /// @return An instantiation of the `DBTEAMRevokeDeviceSessionError` object. /// + (DBTEAMRevokeDeviceSessionError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMRevokeDeviceSessionStatus.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMRevokeDeviceSessionError; @class DBTEAMRevokeDeviceSessionStatus; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `RevokeDeviceSessionStatus` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMRevokeDeviceSessionStatus : NSObject #pragma mark - Instance fields /// Result of the revoking request. @property (nonatomic, readonly) NSNumber *success; /// The error cause in case of a failure. @property (nonatomic, readonly, nullable) DBTEAMRevokeDeviceSessionError *errorType; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param success Result of the revoking request. /// @param errorType The error cause in case of a failure. /// /// @return An initialized instance. /// - (instancetype)initWithSuccess:(NSNumber *)success errorType:(nullable DBTEAMRevokeDeviceSessionError *)errorType; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param success Result of the revoking request. /// /// @return An initialized instance. /// - (instancetype)initWithSuccess:(NSNumber *)success; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `RevokeDeviceSessionStatus` struct. /// @interface DBTEAMRevokeDeviceSessionStatusSerializer : NSObject /// /// Serializes `DBTEAMRevokeDeviceSessionStatus` instances. /// /// @param instance An instance of the `DBTEAMRevokeDeviceSessionStatus` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMRevokeDeviceSessionStatus` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMRevokeDeviceSessionStatus *)instance; /// /// Deserializes `DBTEAMRevokeDeviceSessionStatus` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMRevokeDeviceSessionStatus` API object. /// /// @return An instantiation of the `DBTEAMRevokeDeviceSessionStatus` object. /// + (DBTEAMRevokeDeviceSessionStatus *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMRevokeLinkedApiAppArg.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMRevokeLinkedApiAppArg; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `RevokeLinkedApiAppArg` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMRevokeLinkedApiAppArg : NSObject #pragma mark - Instance fields /// The application's unique id. @property (nonatomic, readonly, copy) NSString *appId; /// The unique id of the member owning the device. @property (nonatomic, readonly, copy) NSString *teamMemberId; /// 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 /// /// Full constructor for the struct (exposes all instance variables). /// /// @param appId The application's unique id. /// @param teamMemberId The unique id of the member owning the device. /// @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. /// - (instancetype)initWithAppId:(NSString *)appId teamMemberId:(NSString *)teamMemberId keepAppFolder:(nullable NSNumber *)keepAppFolder; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param appId The application's unique id. /// @param teamMemberId The unique id of the member owning the device. /// /// @return An initialized instance. /// - (instancetype)initWithAppId:(NSString *)appId teamMemberId:(NSString *)teamMemberId; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `RevokeLinkedApiAppArg` struct. /// @interface DBTEAMRevokeLinkedApiAppArgSerializer : NSObject /// /// Serializes `DBTEAMRevokeLinkedApiAppArg` instances. /// /// @param instance An instance of the `DBTEAMRevokeLinkedApiAppArg` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMRevokeLinkedApiAppArg` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMRevokeLinkedApiAppArg *)instance; /// /// Deserializes `DBTEAMRevokeLinkedApiAppArg` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMRevokeLinkedApiAppArg` API object. /// /// @return An instantiation of the `DBTEAMRevokeLinkedApiAppArg` object. /// + (DBTEAMRevokeLinkedApiAppArg *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMRevokeLinkedApiAppBatchArg.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMRevokeLinkedApiAppArg; @class DBTEAMRevokeLinkedApiAppBatchArg; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `RevokeLinkedApiAppBatchArg` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMRevokeLinkedApiAppBatchArg : NSObject #pragma mark - Instance fields /// (no description). @property (nonatomic, readonly) NSArray *revokeLinkedApp; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param revokeLinkedApp (no description). /// /// @return An initialized instance. /// - (instancetype)initWithRevokeLinkedApp:(NSArray *)revokeLinkedApp; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `RevokeLinkedApiAppBatchArg` struct. /// @interface DBTEAMRevokeLinkedApiAppBatchArgSerializer : NSObject /// /// Serializes `DBTEAMRevokeLinkedApiAppBatchArg` instances. /// /// @param instance An instance of the `DBTEAMRevokeLinkedApiAppBatchArg` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMRevokeLinkedApiAppBatchArg` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMRevokeLinkedApiAppBatchArg *)instance; /// /// Deserializes `DBTEAMRevokeLinkedApiAppBatchArg` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMRevokeLinkedApiAppBatchArg` API object. /// /// @return An instantiation of the `DBTEAMRevokeLinkedApiAppBatchArg` object. /// + (DBTEAMRevokeLinkedApiAppBatchArg *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMRevokeLinkedAppBatchError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMRevokeLinkedAppBatchError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `RevokeLinkedAppBatchError` union. /// /// Error returned by `linkedAppsRevokeLinkedAppBatch`. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMRevokeLinkedAppBatchError : NSObject #pragma mark - Instance fields /// The `DBTEAMRevokeLinkedAppBatchErrorTag` enum type represents the possible /// tag states with which the `DBTEAMRevokeLinkedAppBatchError` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBTEAMRevokeLinkedAppBatchErrorTag){ /// (no description). DBTEAMRevokeLinkedAppBatchErrorOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMRevokeLinkedAppBatchErrorTag tag; #pragma mark - Constructors /// /// 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 "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 `DBTEAMRevokeLinkedAppBatchError` union. /// @interface DBTEAMRevokeLinkedAppBatchErrorSerializer : NSObject /// /// Serializes `DBTEAMRevokeLinkedAppBatchError` instances. /// /// @param instance An instance of the `DBTEAMRevokeLinkedAppBatchError` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMRevokeLinkedAppBatchError` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMRevokeLinkedAppBatchError *)instance; /// /// Deserializes `DBTEAMRevokeLinkedAppBatchError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMRevokeLinkedAppBatchError` API object. /// /// @return An instantiation of the `DBTEAMRevokeLinkedAppBatchError` object. /// + (DBTEAMRevokeLinkedAppBatchError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMRevokeLinkedAppBatchResult.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMRevokeLinkedAppBatchResult; @class DBTEAMRevokeLinkedAppStatus; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `RevokeLinkedAppBatchResult` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMRevokeLinkedAppBatchResult : NSObject #pragma mark - Instance fields /// (no description). @property (nonatomic, readonly) NSArray *revokeLinkedAppStatus; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param revokeLinkedAppStatus (no description). /// /// @return An initialized instance. /// - (instancetype)initWithRevokeLinkedAppStatus:(NSArray *)revokeLinkedAppStatus; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `RevokeLinkedAppBatchResult` struct. /// @interface DBTEAMRevokeLinkedAppBatchResultSerializer : NSObject /// /// Serializes `DBTEAMRevokeLinkedAppBatchResult` instances. /// /// @param instance An instance of the `DBTEAMRevokeLinkedAppBatchResult` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMRevokeLinkedAppBatchResult` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMRevokeLinkedAppBatchResult *)instance; /// /// Deserializes `DBTEAMRevokeLinkedAppBatchResult` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMRevokeLinkedAppBatchResult` API object. /// /// @return An instantiation of the `DBTEAMRevokeLinkedAppBatchResult` object. /// + (DBTEAMRevokeLinkedAppBatchResult *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMRevokeLinkedAppError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMRevokeLinkedAppError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `RevokeLinkedAppError` union. /// /// Error returned by `linkedAppsRevokeLinkedApp`. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMRevokeLinkedAppError : NSObject #pragma mark - Instance fields /// The `DBTEAMRevokeLinkedAppErrorTag` enum type represents the possible tag /// states with which the `DBTEAMRevokeLinkedAppError` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBTEAMRevokeLinkedAppErrorTag){ /// Application not found. DBTEAMRevokeLinkedAppErrorAppNotFound, /// Member not found. DBTEAMRevokeLinkedAppErrorMemberNotFound, /// App folder removal is not supported. DBTEAMRevokeLinkedAppErrorAppFolderRemovalNotSupported, /// (no description). DBTEAMRevokeLinkedAppErrorOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMRevokeLinkedAppErrorTag tag; #pragma mark - Constructors /// /// Initializes union class with tag state of "app_not_found". /// /// Description of the "app_not_found" tag state: Application not found. /// /// @return An initialized instance. /// - (instancetype)initWithAppNotFound; /// /// Initializes union class with tag state of "member_not_found". /// /// Description of the "member_not_found" tag state: Member not found. /// /// @return An initialized instance. /// - (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". /// /// @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 "app_not_found". /// /// @return Whether the union's current tag state has value "app_not_found". /// - (BOOL)isAppNotFound; /// /// Retrieves whether the union's current tag state has value /// "member_not_found". /// /// @return Whether the union's current tag state has value "member_not_found". /// - (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". /// /// @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 `DBTEAMRevokeLinkedAppError` union. /// @interface DBTEAMRevokeLinkedAppErrorSerializer : NSObject /// /// Serializes `DBTEAMRevokeLinkedAppError` instances. /// /// @param instance An instance of the `DBTEAMRevokeLinkedAppError` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMRevokeLinkedAppError` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMRevokeLinkedAppError *)instance; /// /// Deserializes `DBTEAMRevokeLinkedAppError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMRevokeLinkedAppError` API object. /// /// @return An instantiation of the `DBTEAMRevokeLinkedAppError` object. /// + (DBTEAMRevokeLinkedAppError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMRevokeLinkedAppStatus.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMRevokeLinkedAppError; @class DBTEAMRevokeLinkedAppStatus; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `RevokeLinkedAppStatus` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMRevokeLinkedAppStatus : NSObject #pragma mark - Instance fields /// Result of the revoking request. @property (nonatomic, readonly) NSNumber *success; /// The error cause in case of a failure. @property (nonatomic, readonly, nullable) DBTEAMRevokeLinkedAppError *errorType; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param success Result of the revoking request. /// @param errorType The error cause in case of a failure. /// /// @return An initialized instance. /// - (instancetype)initWithSuccess:(NSNumber *)success errorType:(nullable DBTEAMRevokeLinkedAppError *)errorType; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param success Result of the revoking request. /// /// @return An initialized instance. /// - (instancetype)initWithSuccess:(NSNumber *)success; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `RevokeLinkedAppStatus` struct. /// @interface DBTEAMRevokeLinkedAppStatusSerializer : NSObject /// /// Serializes `DBTEAMRevokeLinkedAppStatus` instances. /// /// @param instance An instance of the `DBTEAMRevokeLinkedAppStatus` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMRevokeLinkedAppStatus` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMRevokeLinkedAppStatus *)instance; /// /// Deserializes `DBTEAMRevokeLinkedAppStatus` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMRevokeLinkedAppStatus` API object. /// /// @return An instantiation of the `DBTEAMRevokeLinkedAppStatus` object. /// + (DBTEAMRevokeLinkedAppStatus *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMSetCustomQuotaArg.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMSetCustomQuotaArg; @class DBTEAMUserCustomQuotaArg; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `SetCustomQuotaArg` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMSetCustomQuotaArg : NSObject #pragma mark - Instance fields /// List of users and their custom quotas. @property (nonatomic, readonly) NSArray *usersAndQuotas; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param usersAndQuotas List of users and their custom quotas. /// /// @return An initialized instance. /// - (instancetype)initWithUsersAndQuotas:(NSArray *)usersAndQuotas; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `SetCustomQuotaArg` struct. /// @interface DBTEAMSetCustomQuotaArgSerializer : NSObject /// /// Serializes `DBTEAMSetCustomQuotaArg` instances. /// /// @param instance An instance of the `DBTEAMSetCustomQuotaArg` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMSetCustomQuotaArg` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMSetCustomQuotaArg *)instance; /// /// Deserializes `DBTEAMSetCustomQuotaArg` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMSetCustomQuotaArg` API object. /// /// @return An instantiation of the `DBTEAMSetCustomQuotaArg` object. /// + (DBTEAMSetCustomQuotaArg *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMSetCustomQuotaError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMSetCustomQuotaError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `SetCustomQuotaError` union. /// /// Error returned when setting member custom quota. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMSetCustomQuotaError : NSObject #pragma mark - Instance fields /// The `DBTEAMSetCustomQuotaErrorTag` enum type represents the possible tag /// states with which the `DBTEAMSetCustomQuotaError` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBTEAMSetCustomQuotaErrorTag){ /// A maximum of 1000 users can be set for a single call. DBTEAMSetCustomQuotaErrorTooManyUsers, /// (no description). DBTEAMSetCustomQuotaErrorOther, /// Some of the users are on the excluded users list and can't have custom /// quota set. DBTEAMSetCustomQuotaErrorSomeUsersAreExcluded, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMSetCustomQuotaErrorTag tag; #pragma mark - Constructors /// /// Initializes union class with tag state of "too_many_users". /// /// Description of the "too_many_users" tag state: A maximum of 1000 users can /// be set for a single call. /// /// @return An initialized instance. /// - (instancetype)initWithTooManyUsers; /// /// Initializes union class with tag state of "other". /// /// @return An initialized instance. /// - (instancetype)initWithOther; /// /// Initializes union class with tag state of "some_users_are_excluded". /// /// Description of the "some_users_are_excluded" tag state: Some of the users /// are on the excluded users list and can't have custom quota set. /// /// @return An initialized instance. /// - (instancetype)initWithSomeUsersAreExcluded; - (instancetype)init NS_UNAVAILABLE; #pragma mark - Tag state methods /// /// Retrieves whether the union's current tag state has value "too_many_users". /// /// @return Whether the union's current tag state has value "too_many_users". /// - (BOOL)isTooManyUsers; /// /// 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 /// "some_users_are_excluded". /// /// @return Whether the union's current tag state has value /// "some_users_are_excluded". /// - (BOOL)isSomeUsersAreExcluded; /// /// 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 `DBTEAMSetCustomQuotaError` union. /// @interface DBTEAMSetCustomQuotaErrorSerializer : NSObject /// /// Serializes `DBTEAMSetCustomQuotaError` instances. /// /// @param instance An instance of the `DBTEAMSetCustomQuotaError` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMSetCustomQuotaError` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMSetCustomQuotaError *)instance; /// /// Deserializes `DBTEAMSetCustomQuotaError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMSetCustomQuotaError` API object. /// /// @return An instantiation of the `DBTEAMSetCustomQuotaError` object. /// + (DBTEAMSetCustomQuotaError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMSharingAllowlistAddArgs.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMSharingAllowlistAddError.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMSharingAllowlistAddResponse.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMSharingAllowlistListArg.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMSharingAllowlistListContinueArg.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMSharingAllowlistListContinueError.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMSharingAllowlistListError.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMSharingAllowlistListResponse.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMSharingAllowlistRemoveArgs.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMSharingAllowlistRemoveError.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMSharingAllowlistRemoveResponse.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMStorageBucket.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMStorageBucket; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `StorageBucket` struct. /// /// Describes the number of users in a specific storage bucket. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMStorageBucket : NSObject #pragma mark - Instance fields /// The name of the storage bucket. For example, '1G' is a bucket of users with /// storage size up to 1 Giga. @property (nonatomic, readonly, copy) NSString *bucket; /// The number of people whose storage is in the range of this storage bucket. @property (nonatomic, readonly) NSNumber *users; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param bucket The name of the storage bucket. For example, '1G' is a bucket /// of users with storage size up to 1 Giga. /// @param users The number of people whose storage is in the range of this /// storage bucket. /// /// @return An initialized instance. /// - (instancetype)initWithBucket:(NSString *)bucket users:(NSNumber *)users; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `StorageBucket` struct. /// @interface DBTEAMStorageBucketSerializer : NSObject /// /// Serializes `DBTEAMStorageBucket` instances. /// /// @param instance An instance of the `DBTEAMStorageBucket` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMStorageBucket` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMStorageBucket *)instance; /// /// Deserializes `DBTEAMStorageBucket` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMStorageBucket` API object. /// /// @return An instantiation of the `DBTEAMStorageBucket` object. /// + (DBTEAMStorageBucket *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamFolderAccessError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMTeamFolderAccessError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `TeamFolderAccessError` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMTeamFolderAccessError : NSObject #pragma mark - Instance fields /// The `DBTEAMTeamFolderAccessErrorTag` enum type represents the possible tag /// states with which the `DBTEAMTeamFolderAccessError` union can exist. 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, /// (no description). DBTEAMTeamFolderAccessErrorOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMTeamFolderAccessErrorTag tag; #pragma mark - Constructors /// /// Initializes union class with tag state of "invalid_team_folder_id". /// /// Description of the "invalid_team_folder_id" tag state: The team folder ID is /// invalid. /// /// @return An initialized instance. /// - (instancetype)initWithInvalidTeamFolderId; /// /// Initializes union class with tag state of "no_access". /// /// Description of the "no_access" tag state: The authenticated app does not /// have permission to manage that team folder. /// /// @return An initialized instance. /// - (instancetype)initWithNoAccess; /// /// 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_team_folder_id". /// /// @return Whether the union's current tag state has value /// "invalid_team_folder_id". /// - (BOOL)isInvalidTeamFolderId; /// /// 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". /// /// @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 `DBTEAMTeamFolderAccessError` union. /// @interface DBTEAMTeamFolderAccessErrorSerializer : NSObject /// /// Serializes `DBTEAMTeamFolderAccessError` instances. /// /// @param instance An instance of the `DBTEAMTeamFolderAccessError` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMTeamFolderAccessError` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMTeamFolderAccessError *)instance; /// /// Deserializes `DBTEAMTeamFolderAccessError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMTeamFolderAccessError` API object. /// /// @return An instantiation of the `DBTEAMTeamFolderAccessError` object. /// + (DBTEAMTeamFolderAccessError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamFolderActivateError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMTeamFolderAccessError; @class DBTEAMTeamFolderActivateError; @class DBTEAMTeamFolderInvalidStatusError; @class DBTEAMTeamFolderTeamSharedDropboxError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `TeamFolderActivateError` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMTeamFolderActivateError : NSObject #pragma mark - Instance fields /// The `DBTEAMTeamFolderActivateErrorTag` enum type represents the possible tag /// states with which the `DBTEAMTeamFolderActivateError` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBTEAMTeamFolderActivateErrorTag){ /// (no description). DBTEAMTeamFolderActivateErrorAccessError, /// (no description). DBTEAMTeamFolderActivateErrorStatusError, /// (no description). DBTEAMTeamFolderActivateErrorTeamSharedDropboxError, /// (no description). DBTEAMTeamFolderActivateErrorOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMTeamFolderActivateErrorTag 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; #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; - (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 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 `DBTEAMTeamFolderActivateError` union. /// @interface DBTEAMTeamFolderActivateErrorSerializer : NSObject /// /// Serializes `DBTEAMTeamFolderActivateError` instances. /// /// @param instance An instance of the `DBTEAMTeamFolderActivateError` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMTeamFolderActivateError` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMTeamFolderActivateError *)instance; /// /// Deserializes `DBTEAMTeamFolderActivateError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMTeamFolderActivateError` API object. /// /// @return An instantiation of the `DBTEAMTeamFolderActivateError` object. /// + (DBTEAMTeamFolderActivateError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamFolderArchiveArg.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" #import "DBTEAMTeamFolderIdArg.h" @class DBTEAMTeamFolderArchiveArg; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `TeamFolderArchiveArg` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMTeamFolderArchiveArg : DBTEAMTeamFolderIdArg #pragma mark - Instance fields /// Whether to force the archive to happen synchronously. @property (nonatomic, readonly) NSNumber *forceAsyncOff; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param teamFolderId The ID of the team folder. /// @param forceAsyncOff Whether to force the archive to happen synchronously. /// /// @return An initialized instance. /// - (instancetype)initWithTeamFolderId:(NSString *)teamFolderId forceAsyncOff:(nullable NSNumber *)forceAsyncOff; /// /// 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 `TeamFolderArchiveArg` struct. /// @interface DBTEAMTeamFolderArchiveArgSerializer : NSObject /// /// Serializes `DBTEAMTeamFolderArchiveArg` instances. /// /// @param instance An instance of the `DBTEAMTeamFolderArchiveArg` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMTeamFolderArchiveArg` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMTeamFolderArchiveArg *)instance; /// /// Deserializes `DBTEAMTeamFolderArchiveArg` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMTeamFolderArchiveArg` API object. /// /// @return An instantiation of the `DBTEAMTeamFolderArchiveArg` object. /// + (DBTEAMTeamFolderArchiveArg *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamFolderArchiveError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMTeamFolderAccessError; @class DBTEAMTeamFolderArchiveError; @class DBTEAMTeamFolderInvalidStatusError; @class DBTEAMTeamFolderTeamSharedDropboxError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `TeamFolderArchiveError` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMTeamFolderArchiveError : NSObject #pragma mark - Instance fields /// The `DBTEAMTeamFolderArchiveErrorTag` enum type represents the possible tag /// states with which the `DBTEAMTeamFolderArchiveError` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBTEAMTeamFolderArchiveErrorTag){ /// (no description). DBTEAMTeamFolderArchiveErrorAccessError, /// (no description). DBTEAMTeamFolderArchiveErrorStatusError, /// (no description). DBTEAMTeamFolderArchiveErrorTeamSharedDropboxError, /// (no description). DBTEAMTeamFolderArchiveErrorOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMTeamFolderArchiveErrorTag 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; #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; - (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 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 `DBTEAMTeamFolderArchiveError` union. /// @interface DBTEAMTeamFolderArchiveErrorSerializer : NSObject /// /// Serializes `DBTEAMTeamFolderArchiveError` instances. /// /// @param instance An instance of the `DBTEAMTeamFolderArchiveError` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMTeamFolderArchiveError` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMTeamFolderArchiveError *)instance; /// /// Deserializes `DBTEAMTeamFolderArchiveError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMTeamFolderArchiveError` API object. /// /// @return An instantiation of the `DBTEAMTeamFolderArchiveError` object. /// + (DBTEAMTeamFolderArchiveError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamFolderArchiveJobStatus.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMTeamFolderArchiveError; @class DBTEAMTeamFolderArchiveJobStatus; @class DBTEAMTeamFolderMetadata; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `TeamFolderArchiveJobStatus` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMTeamFolderArchiveJobStatus : NSObject #pragma mark - Instance fields /// The `DBTEAMTeamFolderArchiveJobStatusTag` enum type represents the possible /// tag states with which the `DBTEAMTeamFolderArchiveJobStatus` union can /// exist. 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, /// Error occurred while performing an asynchronous job from /// `teamFolderArchive`. DBTEAMTeamFolderArchiveJobStatusFailed, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMTeamFolderArchiveJobStatusTag tag; /// The archive job has finished. The value is the metadata for the resulting /// team folder. @note Ensure the `isComplete` method returns true before /// accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) DBTEAMTeamFolderMetadata *complete; /// Error occurred while performing an asynchronous job from /// `teamFolderArchive`. @note Ensure the `isFailed` method returns true before /// accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) DBTEAMTeamFolderArchiveError *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 archive job has finished. The /// value is the metadata for the resulting team folder. /// /// @param complete The archive job has finished. The value is the metadata for /// the resulting team folder. /// /// @return An initialized instance. /// - (instancetype)initWithComplete:(DBTEAMTeamFolderMetadata *)complete; /// /// Initializes union class with tag state of "failed". /// /// Description of the "failed" tag state: Error occurred while performing an /// asynchronous job from `teamFolderArchive`. /// /// @param failed Error occurred while performing an asynchronous job from /// `teamFolderArchive`. /// /// @return An initialized instance. /// - (instancetype)initWithFailed:(DBTEAMTeamFolderArchiveError *)failed; - (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 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 `DBTEAMTeamFolderArchiveJobStatus` union. /// @interface DBTEAMTeamFolderArchiveJobStatusSerializer : NSObject /// /// Serializes `DBTEAMTeamFolderArchiveJobStatus` instances. /// /// @param instance An instance of the `DBTEAMTeamFolderArchiveJobStatus` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMTeamFolderArchiveJobStatus` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMTeamFolderArchiveJobStatus *)instance; /// /// Deserializes `DBTEAMTeamFolderArchiveJobStatus` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMTeamFolderArchiveJobStatus` API object. /// /// @return An instantiation of the `DBTEAMTeamFolderArchiveJobStatus` object. /// + (DBTEAMTeamFolderArchiveJobStatus *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamFolderArchiveLaunch.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMTeamFolderArchiveLaunch; @class DBTEAMTeamFolderMetadata; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `TeamFolderArchiveLaunch` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMTeamFolderArchiveLaunch : NSObject #pragma mark - Instance fields /// The `DBTEAMTeamFolderArchiveLaunchTag` enum type represents the possible tag /// states with which the `DBTEAMTeamFolderArchiveLaunch` union can exist. 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, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMTeamFolderArchiveLaunchTag 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) DBTEAMTeamFolderMetadata *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:(DBTEAMTeamFolderMetadata *)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 `DBTEAMTeamFolderArchiveLaunch` union. /// @interface DBTEAMTeamFolderArchiveLaunchSerializer : NSObject /// /// Serializes `DBTEAMTeamFolderArchiveLaunch` instances. /// /// @param instance An instance of the `DBTEAMTeamFolderArchiveLaunch` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMTeamFolderArchiveLaunch` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMTeamFolderArchiveLaunch *)instance; /// /// Deserializes `DBTEAMTeamFolderArchiveLaunch` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMTeamFolderArchiveLaunch` API object. /// /// @return An instantiation of the `DBTEAMTeamFolderArchiveLaunch` object. /// + (DBTEAMTeamFolderArchiveLaunch *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamFolderCreateArg.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILESSyncSettingArg; @class DBTEAMTeamFolderCreateArg; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `TeamFolderCreateArg` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMTeamFolderCreateArg : NSObject #pragma mark - Instance fields /// 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. /// - (instancetype)initWithName:(NSString *)name; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `TeamFolderCreateArg` struct. /// @interface DBTEAMTeamFolderCreateArgSerializer : NSObject /// /// Serializes `DBTEAMTeamFolderCreateArg` instances. /// /// @param instance An instance of the `DBTEAMTeamFolderCreateArg` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMTeamFolderCreateArg` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMTeamFolderCreateArg *)instance; /// /// Deserializes `DBTEAMTeamFolderCreateArg` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMTeamFolderCreateArg` API object. /// /// @return An instantiation of the `DBTEAMTeamFolderCreateArg` object. /// + (DBTEAMTeamFolderCreateArg *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamFolderCreateError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILESSyncSettingsError; @class DBTEAMTeamFolderCreateError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `TeamFolderCreateError` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMTeamFolderCreateError : NSObject #pragma mark - Instance fields /// The `DBTEAMTeamFolderCreateErrorTag` enum type represents the possible tag /// states with which the `DBTEAMTeamFolderCreateError` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBTEAMTeamFolderCreateErrorTag){ /// The provided name cannot be used. DBTEAMTeamFolderCreateErrorInvalidFolderName, /// There is already a team folder with the provided name. DBTEAMTeamFolderCreateErrorFolderNameAlreadyUsed, /// The provided name cannot be used because it is reserved. DBTEAMTeamFolderCreateErrorFolderNameReserved, /// 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 /// /// Initializes union class with tag state of "invalid_folder_name". /// /// Description of the "invalid_folder_name" tag state: The provided name cannot /// be used. /// /// @return An initialized instance. /// - (instancetype)initWithInvalidFolderName; /// /// Initializes union class with tag state of "folder_name_already_used". /// /// Description of the "folder_name_already_used" tag state: There is already a /// team folder with the provided name. /// /// @return An initialized instance. /// - (instancetype)initWithFolderNameAlreadyUsed; /// /// Initializes union class with tag state of "folder_name_reserved". /// /// Description of the "folder_name_reserved" tag state: The provided name /// cannot be used because it is reserved. /// /// @return An initialized instance. /// - (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". /// /// @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_folder_name". /// /// @return Whether the union's current tag state has value /// "invalid_folder_name". /// - (BOOL)isInvalidFolderName; /// /// Retrieves whether the union's current tag state has value /// "folder_name_already_used". /// /// @return Whether the union's current tag state has value /// "folder_name_already_used". /// - (BOOL)isFolderNameAlreadyUsed; /// /// Retrieves whether the union's current tag state has value /// "folder_name_reserved". /// /// @return Whether the union's current tag state has value /// "folder_name_reserved". /// - (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". /// /// @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 `DBTEAMTeamFolderCreateError` union. /// @interface DBTEAMTeamFolderCreateErrorSerializer : NSObject /// /// Serializes `DBTEAMTeamFolderCreateError` instances. /// /// @param instance An instance of the `DBTEAMTeamFolderCreateError` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMTeamFolderCreateError` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMTeamFolderCreateError *)instance; /// /// Deserializes `DBTEAMTeamFolderCreateError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMTeamFolderCreateError` API object. /// /// @return An instantiation of the `DBTEAMTeamFolderCreateError` object. /// + (DBTEAMTeamFolderCreateError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamFolderGetInfoItem.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMTeamFolderGetInfoItem; @class DBTEAMTeamFolderMetadata; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `TeamFolderGetInfoItem` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMTeamFolderGetInfoItem : NSObject #pragma mark - Instance fields /// The `DBTEAMTeamFolderGetInfoItemTag` enum type represents the possible tag /// states with which the `DBTEAMTeamFolderGetInfoItem` union can exist. 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, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMTeamFolderGetInfoItemTag tag; /// An ID that was provided as a parameter to `teamFolderGetInfo` did not match /// any of the team's team folders. @note Ensure the `isIdNotFound` method /// returns true before accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly, copy) NSString *idNotFound; /// Properties of a team folder. @note Ensure the `isTeamFolderMetadata` method /// returns true before accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) DBTEAMTeamFolderMetadata *teamFolderMetadata; #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 `teamFolderGetInfo` did not match any of the team's team /// folders. /// /// @param idNotFound An ID that was provided as a parameter to /// `teamFolderGetInfo` did not match any of the team's team folders. /// /// @return An initialized instance. /// - (instancetype)initWithIdNotFound:(NSString *)idNotFound; /// /// Initializes union class with tag state of "team_folder_metadata". /// /// Description of the "team_folder_metadata" tag state: Properties of a team /// folder. /// /// @param teamFolderMetadata Properties of a team folder. /// /// @return An initialized instance. /// - (instancetype)initWithTeamFolderMetadata:(DBTEAMTeamFolderMetadata *)teamFolderMetadata; - (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 /// "team_folder_metadata". /// /// @note Call this method and ensure it returns true before accessing the /// `teamFolderMetadata` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value /// "team_folder_metadata". /// - (BOOL)isTeamFolderMetadata; /// /// 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 `DBTEAMTeamFolderGetInfoItem` union. /// @interface DBTEAMTeamFolderGetInfoItemSerializer : NSObject /// /// Serializes `DBTEAMTeamFolderGetInfoItem` instances. /// /// @param instance An instance of the `DBTEAMTeamFolderGetInfoItem` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMTeamFolderGetInfoItem` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMTeamFolderGetInfoItem *)instance; /// /// Deserializes `DBTEAMTeamFolderGetInfoItem` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMTeamFolderGetInfoItem` API object. /// /// @return An instantiation of the `DBTEAMTeamFolderGetInfoItem` object. /// + (DBTEAMTeamFolderGetInfoItem *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamFolderIdArg.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMTeamFolderIdArg; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `TeamFolderIdArg` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMTeamFolderIdArg : NSObject #pragma mark - Instance fields /// The ID of the team folder. @property (nonatomic, readonly, copy) NSString *teamFolderId; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param teamFolderId The ID of the team folder. /// /// @return An initialized instance. /// - (instancetype)initWithTeamFolderId:(NSString *)teamFolderId; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `TeamFolderIdArg` struct. /// @interface DBTEAMTeamFolderIdArgSerializer : NSObject /// /// Serializes `DBTEAMTeamFolderIdArg` instances. /// /// @param instance An instance of the `DBTEAMTeamFolderIdArg` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMTeamFolderIdArg` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMTeamFolderIdArg *)instance; /// /// Deserializes `DBTEAMTeamFolderIdArg` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMTeamFolderIdArg` API object. /// /// @return An instantiation of the `DBTEAMTeamFolderIdArg` object. /// + (DBTEAMTeamFolderIdArg *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamFolderIdListArg.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMTeamFolderIdListArg; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `TeamFolderIdListArg` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMTeamFolderIdListArg : NSObject #pragma mark - Instance fields /// The list of team folder IDs. @property (nonatomic, readonly) NSArray *teamFolderIds; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param teamFolderIds The list of team folder IDs. /// /// @return An initialized instance. /// - (instancetype)initWithTeamFolderIds:(NSArray *)teamFolderIds; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `TeamFolderIdListArg` struct. /// @interface DBTEAMTeamFolderIdListArgSerializer : NSObject /// /// Serializes `DBTEAMTeamFolderIdListArg` instances. /// /// @param instance An instance of the `DBTEAMTeamFolderIdListArg` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMTeamFolderIdListArg` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMTeamFolderIdListArg *)instance; /// /// Deserializes `DBTEAMTeamFolderIdListArg` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMTeamFolderIdListArg` API object. /// /// @return An instantiation of the `DBTEAMTeamFolderIdListArg` object. /// + (DBTEAMTeamFolderIdListArg *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamFolderInvalidStatusError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMTeamFolderInvalidStatusError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `TeamFolderInvalidStatusError` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMTeamFolderInvalidStatusError : NSObject #pragma mark - Instance fields /// The `DBTEAMTeamFolderInvalidStatusErrorTag` enum type represents the /// possible tag states with which the `DBTEAMTeamFolderInvalidStatusError` /// union can exist. 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 being archived and the operation did not succeed. DBTEAMTeamFolderInvalidStatusErrorArchiveInProgress, /// (no description). DBTEAMTeamFolderInvalidStatusErrorOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMTeamFolderInvalidStatusErrorTag tag; #pragma mark - Constructors /// /// Initializes union class with tag state of "active". /// /// Description of the "active" tag state: The folder is active and the /// operation did not succeed. /// /// @return An initialized instance. /// - (instancetype)initWithActive; /// /// Initializes union class with tag state of "archived". /// /// Description of the "archived" tag state: The folder is archived and the /// operation did not succeed. /// /// @return An initialized instance. /// - (instancetype)initWithArchived; /// /// Initializes union class with tag state of "archive_in_progress". /// /// Description of the "archive_in_progress" tag state: The folder is being /// archived and the operation did not succeed. /// /// @return An initialized instance. /// - (instancetype)initWithArchiveInProgress; /// /// 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 "archived". /// /// @return Whether the union's current tag state has value "archived". /// - (BOOL)isArchived; /// /// Retrieves whether the union's current tag state has value /// "archive_in_progress". /// /// @return Whether the union's current tag state has value /// "archive_in_progress". /// - (BOOL)isArchiveInProgress; /// /// 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 `DBTEAMTeamFolderInvalidStatusError` union. /// @interface DBTEAMTeamFolderInvalidStatusErrorSerializer : NSObject /// /// Serializes `DBTEAMTeamFolderInvalidStatusError` instances. /// /// @param instance An instance of the `DBTEAMTeamFolderInvalidStatusError` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMTeamFolderInvalidStatusError` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMTeamFolderInvalidStatusError *)instance; /// /// Deserializes `DBTEAMTeamFolderInvalidStatusError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMTeamFolderInvalidStatusError` API object. /// /// @return An instantiation of the `DBTEAMTeamFolderInvalidStatusError` object. /// + (DBTEAMTeamFolderInvalidStatusError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamFolderListArg.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMTeamFolderListArg; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `TeamFolderListArg` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMTeamFolderListArg : NSObject #pragma mark - Instance fields /// The maximum number of results to return 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 results to return 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 `TeamFolderListArg` struct. /// @interface DBTEAMTeamFolderListArgSerializer : NSObject /// /// Serializes `DBTEAMTeamFolderListArg` instances. /// /// @param instance An instance of the `DBTEAMTeamFolderListArg` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMTeamFolderListArg` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMTeamFolderListArg *)instance; /// /// Deserializes `DBTEAMTeamFolderListArg` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMTeamFolderListArg` API object. /// /// @return An instantiation of the `DBTEAMTeamFolderListArg` object. /// + (DBTEAMTeamFolderListArg *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamFolderListContinueArg.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMTeamFolderListContinueArg; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `TeamFolderListContinueArg` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMTeamFolderListContinueArg : NSObject #pragma mark - Instance fields /// Indicates from what point to get the next set of team folders. @property (nonatomic, readonly, copy) NSString *cursor; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param cursor Indicates from what point to get the next set of team folders. /// /// @return An initialized instance. /// - (instancetype)initWithCursor:(NSString *)cursor; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `TeamFolderListContinueArg` struct. /// @interface DBTEAMTeamFolderListContinueArgSerializer : NSObject /// /// Serializes `DBTEAMTeamFolderListContinueArg` instances. /// /// @param instance An instance of the `DBTEAMTeamFolderListContinueArg` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMTeamFolderListContinueArg` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMTeamFolderListContinueArg *)instance; /// /// Deserializes `DBTEAMTeamFolderListContinueArg` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMTeamFolderListContinueArg` API object. /// /// @return An instantiation of the `DBTEAMTeamFolderListContinueArg` object. /// + (DBTEAMTeamFolderListContinueArg *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamFolderListContinueError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMTeamFolderListContinueError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `TeamFolderListContinueError` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMTeamFolderListContinueError : NSObject #pragma mark - Instance fields /// The `DBTEAMTeamFolderListContinueErrorTag` enum type represents the possible /// tag states with which the `DBTEAMTeamFolderListContinueError` union can /// exist. typedef NS_CLOSED_ENUM(NSInteger, DBTEAMTeamFolderListContinueErrorTag){ /// The cursor is invalid. DBTEAMTeamFolderListContinueErrorInvalidCursor, /// (no description). DBTEAMTeamFolderListContinueErrorOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMTeamFolderListContinueErrorTag tag; #pragma mark - Constructors /// /// 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; /// /// 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 `DBTEAMTeamFolderListContinueError` union. /// @interface DBTEAMTeamFolderListContinueErrorSerializer : NSObject /// /// Serializes `DBTEAMTeamFolderListContinueError` instances. /// /// @param instance An instance of the `DBTEAMTeamFolderListContinueError` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMTeamFolderListContinueError` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMTeamFolderListContinueError *)instance; /// /// Deserializes `DBTEAMTeamFolderListContinueError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMTeamFolderListContinueError` API object. /// /// @return An instantiation of the `DBTEAMTeamFolderListContinueError` object. /// + (DBTEAMTeamFolderListContinueError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamFolderListError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMTeamFolderAccessError; @class DBTEAMTeamFolderListError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `TeamFolderListError` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMTeamFolderListError : NSObject #pragma mark - Instance fields /// (no description). @property (nonatomic, readonly) DBTEAMTeamFolderAccessError *accessError; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param accessError (no description). /// /// @return An initialized instance. /// - (instancetype)initWithAccessError:(DBTEAMTeamFolderAccessError *)accessError; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `TeamFolderListError` struct. /// @interface DBTEAMTeamFolderListErrorSerializer : NSObject /// /// Serializes `DBTEAMTeamFolderListError` instances. /// /// @param instance An instance of the `DBTEAMTeamFolderListError` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMTeamFolderListError` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMTeamFolderListError *)instance; /// /// Deserializes `DBTEAMTeamFolderListError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMTeamFolderListError` API object. /// /// @return An instantiation of the `DBTEAMTeamFolderListError` object. /// + (DBTEAMTeamFolderListError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamFolderListResult.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMTeamFolderListResult; @class DBTEAMTeamFolderMetadata; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `TeamFolderListResult` struct. /// /// Result for `teamFolderList` and `teamFolderListContinue`. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMTeamFolderListResult : NSObject #pragma mark - Instance fields /// List of all team folders in the authenticated team. @property (nonatomic, readonly) NSArray *teamFolders; /// Pass the cursor into `teamFolderListContinue` to obtain additional team /// folders. @property (nonatomic, readonly, copy) NSString *cursor; /// Is true if there are additional team folders that have not been returned /// yet. An additional call to `teamFolderListContinue` can retrieve them. @property (nonatomic, readonly) NSNumber *hasMore; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param teamFolders List of all team folders in the authenticated team. /// @param cursor Pass the cursor into `teamFolderListContinue` to obtain /// additional team folders. /// @param hasMore Is true if there are additional team folders that have not /// been returned yet. An additional call to `teamFolderListContinue` can /// retrieve them. /// /// @return An initialized instance. /// - (instancetype)initWithTeamFolders:(NSArray *)teamFolders cursor:(NSString *)cursor hasMore:(NSNumber *)hasMore; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `TeamFolderListResult` struct. /// @interface DBTEAMTeamFolderListResultSerializer : NSObject /// /// Serializes `DBTEAMTeamFolderListResult` instances. /// /// @param instance An instance of the `DBTEAMTeamFolderListResult` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMTeamFolderListResult` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMTeamFolderListResult *)instance; /// /// Deserializes `DBTEAMTeamFolderListResult` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMTeamFolderListResult` API object. /// /// @return An instantiation of the `DBTEAMTeamFolderListResult` object. /// + (DBTEAMTeamFolderListResult *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamFolderMetadata.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBFILESContentSyncSetting; @class DBFILESSyncSetting; @class DBTEAMTeamFolderMetadata; @class DBTEAMTeamFolderStatus; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `TeamFolderMetadata` struct. /// /// Properties of a team folder. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMTeamFolderMetadata : NSObject #pragma mark - Instance fields /// The ID of the team folder. @property (nonatomic, readonly, copy) NSString *teamFolderId; /// The name of the team folder. @property (nonatomic, readonly, copy) NSString *name; /// The status of the team folder. @property (nonatomic, readonly) DBTEAMTeamFolderStatus *status; /// 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 /// /// Full constructor for the struct (exposes all instance variables). /// /// @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 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 syncSetting:(DBFILESSyncSetting *)syncSetting contentSyncSettings:(NSArray *)contentSyncSettings; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `TeamFolderMetadata` struct. /// @interface DBTEAMTeamFolderMetadataSerializer : NSObject /// /// Serializes `DBTEAMTeamFolderMetadata` instances. /// /// @param instance An instance of the `DBTEAMTeamFolderMetadata` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMTeamFolderMetadata` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMTeamFolderMetadata *)instance; /// /// Deserializes `DBTEAMTeamFolderMetadata` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMTeamFolderMetadata` API object. /// /// @return An instantiation of the `DBTEAMTeamFolderMetadata` object. /// + (DBTEAMTeamFolderMetadata *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamFolderPermanentlyDeleteError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMTeamFolderAccessError; @class DBTEAMTeamFolderInvalidStatusError; @class DBTEAMTeamFolderPermanentlyDeleteError; @class DBTEAMTeamFolderTeamSharedDropboxError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `TeamFolderPermanentlyDeleteError` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMTeamFolderPermanentlyDeleteError : NSObject #pragma mark - Instance fields /// The `DBTEAMTeamFolderPermanentlyDeleteErrorTag` enum type represents the /// possible tag states with which the `DBTEAMTeamFolderPermanentlyDeleteError` /// union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBTEAMTeamFolderPermanentlyDeleteErrorTag){ /// (no description). DBTEAMTeamFolderPermanentlyDeleteErrorAccessError, /// (no description). DBTEAMTeamFolderPermanentlyDeleteErrorStatusError, /// (no description). DBTEAMTeamFolderPermanentlyDeleteErrorTeamSharedDropboxError, /// (no description). DBTEAMTeamFolderPermanentlyDeleteErrorOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMTeamFolderPermanentlyDeleteErrorTag 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; #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; - (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 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 `DBTEAMTeamFolderPermanentlyDeleteError` /// union. /// @interface DBTEAMTeamFolderPermanentlyDeleteErrorSerializer : NSObject /// /// Serializes `DBTEAMTeamFolderPermanentlyDeleteError` instances. /// /// @param instance An instance of the `DBTEAMTeamFolderPermanentlyDeleteError` /// API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMTeamFolderPermanentlyDeleteError` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMTeamFolderPermanentlyDeleteError *)instance; /// /// Deserializes `DBTEAMTeamFolderPermanentlyDeleteError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMTeamFolderPermanentlyDeleteError` API object. /// /// @return An instantiation of the `DBTEAMTeamFolderPermanentlyDeleteError` /// object. /// + (DBTEAMTeamFolderPermanentlyDeleteError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamFolderRenameArg.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" #import "DBTEAMTeamFolderIdArg.h" @class DBTEAMTeamFolderRenameArg; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `TeamFolderRenameArg` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMTeamFolderRenameArg : DBTEAMTeamFolderIdArg #pragma mark - Instance fields /// New team folder name. @property (nonatomic, readonly, copy) NSString *name; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param teamFolderId The ID of the team folder. /// @param name New team folder name. /// /// @return An initialized instance. /// - (instancetype)initWithTeamFolderId:(NSString *)teamFolderId name:(NSString *)name; @end #pragma mark - Serializer Object /// /// The serialization class for the `TeamFolderRenameArg` struct. /// @interface DBTEAMTeamFolderRenameArgSerializer : NSObject /// /// Serializes `DBTEAMTeamFolderRenameArg` instances. /// /// @param instance An instance of the `DBTEAMTeamFolderRenameArg` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMTeamFolderRenameArg` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMTeamFolderRenameArg *)instance; /// /// Deserializes `DBTEAMTeamFolderRenameArg` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMTeamFolderRenameArg` API object. /// /// @return An instantiation of the `DBTEAMTeamFolderRenameArg` object. /// + (DBTEAMTeamFolderRenameArg *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamFolderRenameError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMTeamFolderAccessError; @class DBTEAMTeamFolderInvalidStatusError; @class DBTEAMTeamFolderRenameError; @class DBTEAMTeamFolderTeamSharedDropboxError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `TeamFolderRenameError` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMTeamFolderRenameError : NSObject #pragma mark - Instance fields /// The `DBTEAMTeamFolderRenameErrorTag` enum type represents the possible tag /// states with which the `DBTEAMTeamFolderRenameError` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBTEAMTeamFolderRenameErrorTag){ /// (no description). DBTEAMTeamFolderRenameErrorAccessError, /// (no description). DBTEAMTeamFolderRenameErrorStatusError, /// (no description). DBTEAMTeamFolderRenameErrorTeamSharedDropboxError, /// (no description). DBTEAMTeamFolderRenameErrorOther, /// The provided folder name cannot be used. DBTEAMTeamFolderRenameErrorInvalidFolderName, /// There is already a team folder with the same name. DBTEAMTeamFolderRenameErrorFolderNameAlreadyUsed, /// The provided name cannot be used because it is reserved. DBTEAMTeamFolderRenameErrorFolderNameReserved, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMTeamFolderRenameErrorTag 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; #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 "invalid_folder_name". /// /// Description of the "invalid_folder_name" tag state: The provided folder name /// cannot be used. /// /// @return An initialized instance. /// - (instancetype)initWithInvalidFolderName; /// /// Initializes union class with tag state of "folder_name_already_used". /// /// Description of the "folder_name_already_used" tag state: There is already a /// team folder with the same name. /// /// @return An initialized instance. /// - (instancetype)initWithFolderNameAlreadyUsed; /// /// Initializes union class with tag state of "folder_name_reserved". /// /// Description of the "folder_name_reserved" tag state: The provided name /// cannot be used because it is reserved. /// /// @return An initialized instance. /// - (instancetype)initWithFolderNameReserved; - (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 /// "invalid_folder_name". /// /// @return Whether the union's current tag state has value /// "invalid_folder_name". /// - (BOOL)isInvalidFolderName; /// /// Retrieves whether the union's current tag state has value /// "folder_name_already_used". /// /// @return Whether the union's current tag state has value /// "folder_name_already_used". /// - (BOOL)isFolderNameAlreadyUsed; /// /// Retrieves whether the union's current tag state has value /// "folder_name_reserved". /// /// @return Whether the union's current tag state has value /// "folder_name_reserved". /// - (BOOL)isFolderNameReserved; /// /// 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 `DBTEAMTeamFolderRenameError` union. /// @interface DBTEAMTeamFolderRenameErrorSerializer : NSObject /// /// Serializes `DBTEAMTeamFolderRenameError` instances. /// /// @param instance An instance of the `DBTEAMTeamFolderRenameError` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMTeamFolderRenameError` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMTeamFolderRenameError *)instance; /// /// Deserializes `DBTEAMTeamFolderRenameError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMTeamFolderRenameError` API object. /// /// @return An instantiation of the `DBTEAMTeamFolderRenameError` object. /// + (DBTEAMTeamFolderRenameError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamFolderStatus.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMTeamFolderStatus; 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 DBTEAMTeamFolderStatus : NSObject #pragma mark - Instance fields /// The `DBTEAMTeamFolderStatusTag` enum type represents the possible tag states /// with which the `DBTEAMTeamFolderStatus` union can exist. 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. DBTEAMTeamFolderStatusArchiveInProgress, /// (no description). DBTEAMTeamFolderStatusOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMTeamFolderStatusTag tag; #pragma mark - Constructors /// /// Initializes union class with tag state of "active". /// /// Description of the "active" tag state: The team folder and sub-folders are /// available to all members. /// /// @return An initialized instance. /// - (instancetype)initWithActive; /// /// Initializes union class with tag state of "archived". /// /// Description of the "archived" tag state: The team folder is not accessible /// outside of the team folder manager. /// /// @return An initialized instance. /// - (instancetype)initWithArchived; /// /// Initializes union class with tag state of "archive_in_progress". /// /// Description of the "archive_in_progress" tag state: The team folder is not /// accessible outside of the team folder manager. /// /// @return An initialized instance. /// - (instancetype)initWithArchiveInProgress; /// /// 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 "archived". /// /// @return Whether the union's current tag state has value "archived". /// - (BOOL)isArchived; /// /// Retrieves whether the union's current tag state has value /// "archive_in_progress". /// /// @return Whether the union's current tag state has value /// "archive_in_progress". /// - (BOOL)isArchiveInProgress; /// /// 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 `DBTEAMTeamFolderStatus` union. /// @interface DBTEAMTeamFolderStatusSerializer : NSObject /// /// Serializes `DBTEAMTeamFolderStatus` instances. /// /// @param instance An instance of the `DBTEAMTeamFolderStatus` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMTeamFolderStatus` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMTeamFolderStatus *)instance; /// /// Deserializes `DBTEAMTeamFolderStatus` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMTeamFolderStatus` API object. /// /// @return An instantiation of the `DBTEAMTeamFolderStatus` object. /// + (DBTEAMTeamFolderStatus *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamFolderTeamSharedDropboxError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMTeamFolderTeamSharedDropboxError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `TeamFolderTeamSharedDropboxError` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMTeamFolderTeamSharedDropboxError : NSObject #pragma mark - Instance fields /// The `DBTEAMTeamFolderTeamSharedDropboxErrorTag` enum type represents the /// possible tag states with which the `DBTEAMTeamFolderTeamSharedDropboxError` /// union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBTEAMTeamFolderTeamSharedDropboxErrorTag){ /// This action is not allowed for a shared team root. DBTEAMTeamFolderTeamSharedDropboxErrorDisallowed, /// (no description). DBTEAMTeamFolderTeamSharedDropboxErrorOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMTeamFolderTeamSharedDropboxErrorTag tag; #pragma mark - Constructors /// /// Initializes union class with tag state of "disallowed". /// /// Description of the "disallowed" tag state: This action is not allowed for a /// shared team root. /// /// @return An initialized instance. /// - (instancetype)initWithDisallowed; /// /// 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 "disallowed". /// /// @return Whether the union's current tag state has value "disallowed". /// - (BOOL)isDisallowed; /// /// 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 `DBTEAMTeamFolderTeamSharedDropboxError` /// union. /// @interface DBTEAMTeamFolderTeamSharedDropboxErrorSerializer : NSObject /// /// Serializes `DBTEAMTeamFolderTeamSharedDropboxError` instances. /// /// @param instance An instance of the `DBTEAMTeamFolderTeamSharedDropboxError` /// API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMTeamFolderTeamSharedDropboxError` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMTeamFolderTeamSharedDropboxError *)instance; /// /// Deserializes `DBTEAMTeamFolderTeamSharedDropboxError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMTeamFolderTeamSharedDropboxError` API object. /// /// @return An instantiation of the `DBTEAMTeamFolderTeamSharedDropboxError` /// object. /// + (DBTEAMTeamFolderTeamSharedDropboxError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamFolderUpdateSyncSettingsArg.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamFolderUpdateSyncSettingsError.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamGetInfoResult.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMPOLICIESTeamMemberPolicies; @class DBTEAMTeamGetInfoResult; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `TeamGetInfoResult` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMTeamGetInfoResult : NSObject #pragma mark - Instance fields /// The name of the team. @property (nonatomic, readonly, copy) NSString *name; /// The ID of the team. @property (nonatomic, readonly, copy) NSString *teamId; /// The number of licenses available to the team. @property (nonatomic, readonly) NSNumber *numLicensedUsers; /// The number of accounts that have been invited or are already active members /// 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; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @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). /// @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. /// - (instancetype)initWithName:(NSString *)name teamId:(NSString *)teamId numLicensedUsers:(NSNumber *)numLicensedUsers numProvisionedUsers:(NSNumber *)numProvisionedUsers policies:(DBTEAMPOLICIESTeamMemberPolicies *)policies; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `TeamGetInfoResult` struct. /// @interface DBTEAMTeamGetInfoResultSerializer : NSObject /// /// Serializes `DBTEAMTeamGetInfoResult` instances. /// /// @param instance An instance of the `DBTEAMTeamGetInfoResult` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMTeamGetInfoResult` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMTeamGetInfoResult *)instance; /// /// Deserializes `DBTEAMTeamGetInfoResult` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMTeamGetInfoResult` API object. /// /// @return An instantiation of the `DBTEAMTeamGetInfoResult` object. /// + (DBTEAMTeamGetInfoResult *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamMemberInfo.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMAdminTier; @class DBTEAMTeamMemberInfo; @class DBTEAMTeamMemberProfile; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `TeamMemberInfo` 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 DBTEAMTeamMemberInfo : NSObject #pragma mark - Instance fields /// Profile of a user as a member of a team. @property (nonatomic, readonly) DBTEAMTeamMemberProfile *profile; /// The user's role in the team. @property (nonatomic, readonly) DBTEAMAdminTier *role; #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 role The user's role in the team. /// /// @return An initialized instance. /// - (instancetype)initWithProfile:(DBTEAMTeamMemberProfile *)profile role:(DBTEAMAdminTier *)role; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `TeamMemberInfo` struct. /// @interface DBTEAMTeamMemberInfoSerializer : NSObject /// /// Serializes `DBTEAMTeamMemberInfo` instances. /// /// @param instance An instance of the `DBTEAMTeamMemberInfo` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMTeamMemberInfo` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMTeamMemberInfo *)instance; /// /// Deserializes `DBTEAMTeamMemberInfo` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMTeamMemberInfo` API object. /// /// @return An instantiation of the `DBTEAMTeamMemberInfo` object. /// + (DBTEAMTeamMemberInfo *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamMemberInfoV2.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamMemberInfoV2Result.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamMemberProfile.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" #import "DBTEAMMemberProfile.h" @class DBSECONDARYEMAILSSecondaryEmail; @class DBTEAMTeamMemberProfile; @class DBTEAMTeamMemberStatus; @class DBTEAMTeamMembershipType; @class DBUSERSName; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `TeamMemberProfile` struct. /// /// Profile of a user as a member of a team. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMTeamMemberProfile : DBTEAMMemberProfile #pragma mark - Instance fields /// List of group IDs of groups that the user belongs to. @property (nonatomic, readonly) NSArray *groups; /// The namespace id of the user's root folder. @property (nonatomic, readonly, copy) NSString *memberFolderId; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param teamMemberId ID of user as a member of a team. /// @param email Email address of user. /// @param emailVerified Is true if the user's email is verified to be owned by /// the user. /// @param status The user's status as a member of a specific team. /// @param name Representations for a person's name. /// @param membershipType The user's membership type: full (normal team member) /// vs limited (does not use a license; no access to the team's shared quota). /// @param groups List of group IDs of groups that the user belongs to. /// @param memberFolderId The namespace id of the user's root folder. /// @param externalId External ID that a team can attach to the user. An /// 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. /// - (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:(nullable NSString *)externalId accountId:(nullable NSString *)accountId secondaryEmails:(nullable NSArray *)secondaryEmails invitedOn:(nullable NSDate *)invitedOn joinedOn:(nullable NSDate *)joinedOn 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 /// no default value). /// /// @param teamMemberId ID of user as a member of a team. /// @param email Email address of user. /// @param emailVerified Is true if the user's email is verified to be owned by /// the user. /// @param status The user's status as a member of a specific team. /// @param name Representations for a person's name. /// @param membershipType The user's membership type: full (normal team member) /// vs limited (does not use a license; no access to the team's shared quota). /// @param groups List of group IDs of groups that the user belongs to. /// @param memberFolderId The namespace id of the user's root folder. /// /// @return An initialized instance. /// - (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; @end #pragma mark - Serializer Object /// /// The serialization class for the `TeamMemberProfile` struct. /// @interface DBTEAMTeamMemberProfileSerializer : NSObject /// /// Serializes `DBTEAMTeamMemberProfile` instances. /// /// @param instance An instance of the `DBTEAMTeamMemberProfile` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMTeamMemberProfile` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMTeamMemberProfile *)instance; /// /// Deserializes `DBTEAMTeamMemberProfile` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMTeamMemberProfile` API object. /// /// @return An instantiation of the `DBTEAMTeamMemberProfile` object. /// + (DBTEAMTeamMemberProfile *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamMemberRole.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamMemberStatus.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMRemovedStatus; @class DBTEAMTeamMemberStatus; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `TeamMemberStatus` union. /// /// The user's status as a member of a specific team. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMTeamMemberStatus : NSObject #pragma mark - Instance fields /// The `DBTEAMTeamMemberStatusTag` enum type represents the possible tag states /// with which the `DBTEAMTeamMemberStatus` union can exist. 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 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, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMTeamMemberStatusTag tag; /// User is no longer a member of the team. Removed users are only listed when /// include_removed is true in members/list. @note Ensure the `isRemoved` method /// returns true before accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) DBTEAMRemovedStatus *removed; #pragma mark - Constructors /// /// Initializes union class with tag state of "active". /// /// Description of the "active" tag state: User has successfully joined the /// team. /// /// @return An initialized instance. /// - (instancetype)initWithActive; /// /// Initializes union class with tag state of "invited". /// /// Description of the "invited" tag state: User has been invited to a team, but /// has not joined the team yet. /// /// @return An initialized instance. /// - (instancetype)initWithInvited; /// /// Initializes union class with tag state of "suspended". /// /// Description of the "suspended" tag state: User is no longer a member of the /// team, but the account can be un-suspended, re-establishing the user as a /// team member. /// /// @return An initialized instance. /// - (instancetype)initWithSuspended; /// /// Initializes union class with tag state of "removed". /// /// Description of the "removed" tag state: User is no longer a member of the /// team. Removed users are only listed when include_removed is true in /// members/list. /// /// @param removed User is no longer a member of the team. Removed users are /// only listed when include_removed is true in members/list. /// /// @return An initialized instance. /// - (instancetype)initWithRemoved:(DBTEAMRemovedStatus *)removed; - (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 "invited". /// /// @return Whether the union's current tag state has value "invited". /// - (BOOL)isInvited; /// /// 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 "removed". /// /// @note Call this method and ensure it returns true before accessing the /// `removed` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value "removed". /// - (BOOL)isRemoved; /// /// 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 `DBTEAMTeamMemberStatus` union. /// @interface DBTEAMTeamMemberStatusSerializer : NSObject /// /// Serializes `DBTEAMTeamMemberStatus` instances. /// /// @param instance An instance of the `DBTEAMTeamMemberStatus` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMTeamMemberStatus` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMTeamMemberStatus *)instance; /// /// Deserializes `DBTEAMTeamMemberStatus` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMTeamMemberStatus` API object. /// /// @return An instantiation of the `DBTEAMTeamMemberStatus` object. /// + (DBTEAMTeamMemberStatus *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamMembershipType.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMTeamMembershipType; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `TeamMembershipType` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMTeamMembershipType : NSObject #pragma mark - Instance fields /// The `DBTEAMTeamMembershipTypeTag` enum type represents the possible tag /// states with which the `DBTEAMTeamMembershipType` union can exist. 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, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMTeamMembershipTypeTag tag; #pragma mark - Constructors /// /// Initializes union class with tag state of "full". /// /// Description of the "full" tag state: User uses a license and has full access /// to team resources like the shared quota. /// /// @return An initialized instance. /// - (instancetype)initWithFull; /// /// Initializes union class with tag state of "limited". /// /// Description of the "limited" tag state: User does not have access to the /// shared quota and team admins have restricted administrative control. /// /// @return An initialized instance. /// - (instancetype)initWithLimited; - (instancetype)init NS_UNAVAILABLE; #pragma mark - Tag state methods /// /// Retrieves whether the union's current tag state has value "full". /// /// @return Whether the union's current tag state has value "full". /// - (BOOL)isFull; /// /// Retrieves whether the union's current tag state has value "limited". /// /// @return Whether the union's current tag state has value "limited". /// - (BOOL)isLimited; /// /// 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 `DBTEAMTeamMembershipType` union. /// @interface DBTEAMTeamMembershipTypeSerializer : NSObject /// /// Serializes `DBTEAMTeamMembershipType` instances. /// /// @param instance An instance of the `DBTEAMTeamMembershipType` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMTeamMembershipType` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMTeamMembershipType *)instance; /// /// Deserializes `DBTEAMTeamMembershipType` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMTeamMembershipType` API object. /// /// @return An instantiation of the `DBTEAMTeamMembershipType` object. /// + (DBTEAMTeamMembershipType *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamNamespacesListArg.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMTeamNamespacesListArg; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `TeamNamespacesListArg` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMTeamNamespacesListArg : NSObject #pragma mark - Instance fields /// Specifying a value here has no effect. @property (nonatomic, readonly) NSNumber *limit; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param limit Specifying a value here has no effect. /// /// @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 `TeamNamespacesListArg` struct. /// @interface DBTEAMTeamNamespacesListArgSerializer : NSObject /// /// Serializes `DBTEAMTeamNamespacesListArg` instances. /// /// @param instance An instance of the `DBTEAMTeamNamespacesListArg` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMTeamNamespacesListArg` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMTeamNamespacesListArg *)instance; /// /// Deserializes `DBTEAMTeamNamespacesListArg` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMTeamNamespacesListArg` API object. /// /// @return An instantiation of the `DBTEAMTeamNamespacesListArg` object. /// + (DBTEAMTeamNamespacesListArg *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamNamespacesListContinueArg.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMTeamNamespacesListContinueArg; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `TeamNamespacesListContinueArg` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMTeamNamespacesListContinueArg : NSObject #pragma mark - Instance fields /// Indicates from what point to get the next set of team-accessible namespaces. @property (nonatomic, readonly, copy) NSString *cursor; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param cursor Indicates from what point to get the next set of /// team-accessible namespaces. /// /// @return An initialized instance. /// - (instancetype)initWithCursor:(NSString *)cursor; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `TeamNamespacesListContinueArg` struct. /// @interface DBTEAMTeamNamespacesListContinueArgSerializer : NSObject /// /// Serializes `DBTEAMTeamNamespacesListContinueArg` instances. /// /// @param instance An instance of the `DBTEAMTeamNamespacesListContinueArg` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMTeamNamespacesListContinueArg` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMTeamNamespacesListContinueArg *)instance; /// /// Deserializes `DBTEAMTeamNamespacesListContinueArg` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMTeamNamespacesListContinueArg` API object. /// /// @return An instantiation of the `DBTEAMTeamNamespacesListContinueArg` /// object. /// + (DBTEAMTeamNamespacesListContinueArg *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamNamespacesListContinueError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMTeamNamespacesListContinueError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `TeamNamespacesListContinueError` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMTeamNamespacesListContinueError : NSObject #pragma mark - Instance fields /// The `DBTEAMTeamNamespacesListContinueErrorTag` enum type represents the /// possible tag states with which the `DBTEAMTeamNamespacesListContinueError` /// union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBTEAMTeamNamespacesListContinueErrorTag){ /// Argument passed in is invalid. DBTEAMTeamNamespacesListContinueErrorInvalidArg, /// (no description). DBTEAMTeamNamespacesListContinueErrorOther, /// The cursor is invalid. DBTEAMTeamNamespacesListContinueErrorInvalidCursor, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMTeamNamespacesListContinueErrorTag 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; /// /// 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_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 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 `DBTEAMTeamNamespacesListContinueError` /// union. /// @interface DBTEAMTeamNamespacesListContinueErrorSerializer : NSObject /// /// Serializes `DBTEAMTeamNamespacesListContinueError` instances. /// /// @param instance An instance of the `DBTEAMTeamNamespacesListContinueError` /// API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMTeamNamespacesListContinueError` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMTeamNamespacesListContinueError *)instance; /// /// Deserializes `DBTEAMTeamNamespacesListContinueError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMTeamNamespacesListContinueError` API object. /// /// @return An instantiation of the `DBTEAMTeamNamespacesListContinueError` /// object. /// + (DBTEAMTeamNamespacesListContinueError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamNamespacesListError.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamNamespacesListResult.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMNamespaceMetadata; @class DBTEAMTeamNamespacesListResult; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `TeamNamespacesListResult` struct. /// /// Result for `namespacesList`. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMTeamNamespacesListResult : NSObject #pragma mark - Instance fields /// List of all namespaces the team can access. @property (nonatomic, readonly) NSArray *namespaces; /// Pass the cursor into `namespacesListContinue` to obtain additional /// namespaces. Note that duplicate namespaces may be returned. @property (nonatomic, readonly, copy) NSString *cursor; /// Is true if there are additional namespaces that have not been returned yet. @property (nonatomic, readonly) NSNumber *hasMore; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param namespaces List of all namespaces the team can access. /// @param cursor Pass the cursor into `namespacesListContinue` to obtain /// additional namespaces. Note that duplicate namespaces may be returned. /// @param hasMore Is true if there are additional namespaces that have not been /// returned yet. /// /// @return An initialized instance. /// - (instancetype)initWithNamespaces:(NSArray *)namespaces cursor:(NSString *)cursor hasMore:(NSNumber *)hasMore; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `TeamNamespacesListResult` struct. /// @interface DBTEAMTeamNamespacesListResultSerializer : NSObject /// /// Serializes `DBTEAMTeamNamespacesListResult` instances. /// /// @param instance An instance of the `DBTEAMTeamNamespacesListResult` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMTeamNamespacesListResult` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMTeamNamespacesListResult *)instance; /// /// Deserializes `DBTEAMTeamNamespacesListResult` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMTeamNamespacesListResult` API object. /// /// @return An instantiation of the `DBTEAMTeamNamespacesListResult` object. /// + (DBTEAMTeamNamespacesListResult *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamReportFailureReason.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTokenGetAuthenticatedAdminError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMTokenGetAuthenticatedAdminError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `TokenGetAuthenticatedAdminError` union. /// /// Error returned by `tokenGetAuthenticatedAdmin`. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMTokenGetAuthenticatedAdminError : NSObject #pragma mark - Instance fields /// The `DBTEAMTokenGetAuthenticatedAdminErrorTag` enum type represents the /// possible tag states with which the `DBTEAMTokenGetAuthenticatedAdminError` /// union can exist. 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, /// (no description). DBTEAMTokenGetAuthenticatedAdminErrorOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMTokenGetAuthenticatedAdminErrorTag tag; #pragma mark - Constructors /// /// Initializes union class with tag state of "mapping_not_found". /// /// Description of the "mapping_not_found" tag state: 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. /// /// @return An initialized instance. /// - (instancetype)initWithMappingNotFound; /// /// Initializes union class with tag state of "admin_not_active". /// /// Description of the "admin_not_active" tag state: Either the team admin that /// authorized this token is no longer an active member of the team or no longer /// a team admin. /// /// @return An initialized instance. /// - (instancetype)initWithAdminNotActive; /// /// 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 /// "mapping_not_found". /// /// @return Whether the union's current tag state has value "mapping_not_found". /// - (BOOL)isMappingNotFound; /// /// Retrieves whether the union's current tag state has value /// "admin_not_active". /// /// @return Whether the union's current tag state has value "admin_not_active". /// - (BOOL)isAdminNotActive; /// /// 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 `DBTEAMTokenGetAuthenticatedAdminError` /// union. /// @interface DBTEAMTokenGetAuthenticatedAdminErrorSerializer : NSObject /// /// Serializes `DBTEAMTokenGetAuthenticatedAdminError` instances. /// /// @param instance An instance of the `DBTEAMTokenGetAuthenticatedAdminError` /// API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMTokenGetAuthenticatedAdminError` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMTokenGetAuthenticatedAdminError *)instance; /// /// Deserializes `DBTEAMTokenGetAuthenticatedAdminError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMTokenGetAuthenticatedAdminError` API object. /// /// @return An instantiation of the `DBTEAMTokenGetAuthenticatedAdminError` /// object. /// + (DBTEAMTokenGetAuthenticatedAdminError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTokenGetAuthenticatedAdminResult.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMTeamMemberProfile; @class DBTEAMTokenGetAuthenticatedAdminResult; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `TokenGetAuthenticatedAdminResult` struct. /// /// Results for `tokenGetAuthenticatedAdmin`. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMTokenGetAuthenticatedAdminResult : NSObject #pragma mark - Instance fields /// The admin who authorized the token. @property (nonatomic, readonly) DBTEAMTeamMemberProfile *adminProfile; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param adminProfile The admin who authorized the token. /// /// @return An initialized instance. /// - (instancetype)initWithAdminProfile:(DBTEAMTeamMemberProfile *)adminProfile; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `TokenGetAuthenticatedAdminResult` struct. /// @interface DBTEAMTokenGetAuthenticatedAdminResultSerializer : NSObject /// /// Serializes `DBTEAMTokenGetAuthenticatedAdminResult` instances. /// /// @param instance An instance of the `DBTEAMTokenGetAuthenticatedAdminResult` /// API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMTokenGetAuthenticatedAdminResult` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMTokenGetAuthenticatedAdminResult *)instance; /// /// Deserializes `DBTEAMTokenGetAuthenticatedAdminResult` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMTokenGetAuthenticatedAdminResult` API object. /// /// @return An instantiation of the `DBTEAMTokenGetAuthenticatedAdminResult` /// object. /// + (DBTEAMTokenGetAuthenticatedAdminResult *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMUploadApiRateLimitValue.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMUploadApiRateLimitValue; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `UploadApiRateLimitValue` union. /// /// The value for `uploadApiRateLimit` 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 DBTEAMUploadApiRateLimitValue : NSObject #pragma mark - Instance fields /// The `DBTEAMUploadApiRateLimitValueTag` enum type represents the possible tag /// states with which the `DBTEAMUploadApiRateLimitValue` union can exist. 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, /// (no description). DBTEAMUploadApiRateLimitValueOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMUploadApiRateLimitValueTag tag; /// The number of upload API calls allowed per month. @note Ensure the `isLimit` /// method returns true before accessing, otherwise a runtime exception will be /// raised. @property (nonatomic, readonly) NSNumber *limit; #pragma mark - Constructors /// /// Initializes union class with tag state of "unlimited". /// /// Description of the "unlimited" tag state: This team has unlimited upload API /// quota. So far both server version account and legacy account type have /// unlimited monthly upload api quota. /// /// @return An initialized instance. /// - (instancetype)initWithUnlimited; /// /// Initializes union class with tag state of "limit". /// /// Description of the "limit" tag state: The number of upload API calls allowed /// per month. /// /// @param limit The number of upload API calls allowed per month. /// /// @return An initialized instance. /// - (instancetype)initWithLimit:(NSNumber *)limit; /// /// 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 "unlimited". /// /// @return Whether the union's current tag state has value "unlimited". /// - (BOOL)isUnlimited; /// /// Retrieves whether the union's current tag state has value "limit". /// /// @note Call this method and ensure it returns true before accessing the /// `limit` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value "limit". /// - (BOOL)isLimit; /// /// 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 `DBTEAMUploadApiRateLimitValue` union. /// @interface DBTEAMUploadApiRateLimitValueSerializer : NSObject /// /// Serializes `DBTEAMUploadApiRateLimitValue` instances. /// /// @param instance An instance of the `DBTEAMUploadApiRateLimitValue` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMUploadApiRateLimitValue` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMUploadApiRateLimitValue *)instance; /// /// Deserializes `DBTEAMUploadApiRateLimitValue` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMUploadApiRateLimitValue` API object. /// /// @return An instantiation of the `DBTEAMUploadApiRateLimitValue` object. /// + (DBTEAMUploadApiRateLimitValue *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMUserAddResult.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMUserCustomQuotaArg.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMUserCustomQuotaArg; @class DBTEAMUserSelectorArg; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `UserCustomQuotaArg` struct. /// /// User and their required custom quota in GB (1 TB = 1024 GB). /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMUserCustomQuotaArg : NSObject #pragma mark - Instance fields /// (no description). @property (nonatomic, readonly) DBTEAMUserSelectorArg *user; /// (no description). @property (nonatomic, readonly) NSNumber *quotaGb; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param user (no description). /// @param quotaGb (no description). /// /// @return An initialized instance. /// - (instancetype)initWithUser:(DBTEAMUserSelectorArg *)user quotaGb:(NSNumber *)quotaGb; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `UserCustomQuotaArg` struct. /// @interface DBTEAMUserCustomQuotaArgSerializer : NSObject /// /// Serializes `DBTEAMUserCustomQuotaArg` instances. /// /// @param instance An instance of the `DBTEAMUserCustomQuotaArg` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMUserCustomQuotaArg` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMUserCustomQuotaArg *)instance; /// /// Deserializes `DBTEAMUserCustomQuotaArg` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMUserCustomQuotaArg` API object. /// /// @return An instantiation of the `DBTEAMUserCustomQuotaArg` object. /// + (DBTEAMUserCustomQuotaArg *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMUserCustomQuotaResult.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMUserCustomQuotaResult; @class DBTEAMUserSelectorArg; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `UserCustomQuotaResult` struct. /// /// User and their custom quota in GB (1 TB = 1024 GB). No quota returns if the /// user has no custom quota set. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMUserCustomQuotaResult : NSObject #pragma mark - Instance fields /// (no description). @property (nonatomic, readonly) DBTEAMUserSelectorArg *user; /// (no description). @property (nonatomic, readonly, nullable) NSNumber *quotaGb; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param user (no description). /// @param quotaGb (no description). /// /// @return An initialized instance. /// - (instancetype)initWithUser:(DBTEAMUserSelectorArg *)user quotaGb:(nullable NSNumber *)quotaGb; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param user (no description). /// /// @return An initialized instance. /// - (instancetype)initWithUser:(DBTEAMUserSelectorArg *)user; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `UserCustomQuotaResult` struct. /// @interface DBTEAMUserCustomQuotaResultSerializer : NSObject /// /// Serializes `DBTEAMUserCustomQuotaResult` instances. /// /// @param instance An instance of the `DBTEAMUserCustomQuotaResult` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMUserCustomQuotaResult` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMUserCustomQuotaResult *)instance; /// /// Deserializes `DBTEAMUserCustomQuotaResult` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMUserCustomQuotaResult` API object. /// /// @return An instantiation of the `DBTEAMUserCustomQuotaResult` object. /// + (DBTEAMUserCustomQuotaResult *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMUserDeleteEmailsResult.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMUserDeleteResult.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMUserResendEmailsResult.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMUserResendResult.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMUserSecondaryEmailsArg.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMUserSecondaryEmailsResult.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMUserSelectorArg.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMUserSelectorArg; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `UserSelectorArg` union. /// /// Argument for selecting a single user, either by team_member_id, external_id /// or email. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMUserSelectorArg : NSObject #pragma mark - Instance fields /// The `DBTEAMUserSelectorArgTag` enum type represents the possible tag states /// with which the `DBTEAMUserSelectorArg` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBTEAMUserSelectorArgTag){ /// (no description). DBTEAMUserSelectorArgTeamMemberId, /// (no description). DBTEAMUserSelectorArgExternalId, /// (no description). DBTEAMUserSelectorArgEmail, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMUserSelectorArgTag tag; /// (no description). @note Ensure the `isTeamMemberId` method returns true /// before accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly, copy) NSString *teamMemberId; /// (no description). @note Ensure the `isExternalId` method returns true before /// accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly, copy) NSString *externalId; /// (no description). @note Ensure the `isEmail` method returns true before /// accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly, copy) NSString *email; #pragma mark - Constructors /// /// Initializes union class with tag state of "team_member_id". /// /// @param teamMemberId (no description). /// /// @return An initialized instance. /// - (instancetype)initWithTeamMemberId:(NSString *)teamMemberId; /// /// Initializes union class with tag state of "external_id". /// /// @param externalId (no description). /// /// @return An initialized instance. /// - (instancetype)initWithExternalId:(NSString *)externalId; /// /// Initializes union class with tag state of "email". /// /// @param email (no description). /// /// @return An initialized instance. /// - (instancetype)initWithEmail:(NSString *)email; - (instancetype)init NS_UNAVAILABLE; #pragma mark - Tag state methods /// /// Retrieves whether the union's current tag state has value "team_member_id". /// /// @note Call this method and ensure it returns true before accessing the /// `teamMemberId` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value "team_member_id". /// - (BOOL)isTeamMemberId; /// /// Retrieves whether the union's current tag state has value "external_id". /// /// @note Call this method and ensure it returns true before accessing the /// `externalId` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value "external_id". /// - (BOOL)isExternalId; /// /// Retrieves whether the union's current tag state has value "email". /// /// @note Call this method and ensure it returns true before accessing the /// `email` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value "email". /// - (BOOL)isEmail; /// /// 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 `DBTEAMUserSelectorArg` union. /// @interface DBTEAMUserSelectorArgSerializer : NSObject /// /// Serializes `DBTEAMUserSelectorArg` instances. /// /// @param instance An instance of the `DBTEAMUserSelectorArg` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMUserSelectorArg` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMUserSelectorArg *)instance; /// /// Deserializes `DBTEAMUserSelectorArg` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMUserSelectorArg` API object. /// /// @return An instantiation of the `DBTEAMUserSelectorArg` object. /// + (DBTEAMUserSelectorArg *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMUserSelectorError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMUserSelectorError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `UserSelectorError` union. /// /// Error that can be returned whenever a struct derived from UserSelectorArg is /// used. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMUserSelectorError : NSObject #pragma mark - Instance fields /// The `DBTEAMUserSelectorErrorTag` enum type represents the possible tag /// states with which the `DBTEAMUserSelectorError` union can exist. 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, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMUserSelectorErrorTag 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; - (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 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 `DBTEAMUserSelectorError` union. /// @interface DBTEAMUserSelectorErrorSerializer : NSObject /// /// Serializes `DBTEAMUserSelectorError` instances. /// /// @param instance An instance of the `DBTEAMUserSelectorError` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMUserSelectorError` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMUserSelectorError *)instance; /// /// Deserializes `DBTEAMUserSelectorError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMUserSelectorError` API object. /// /// @return An instantiation of the `DBTEAMUserSelectorError` object. /// + (DBTEAMUserSelectorError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMUsersSelectorArg.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMUsersSelectorArg; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `UsersSelectorArg` union. /// /// Argument for selecting a list of users, either by team_member_ids, /// external_ids or emails. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMUsersSelectorArg : NSObject #pragma mark - Instance fields /// The `DBTEAMUsersSelectorArgTag` enum type represents the possible tag states /// with which the `DBTEAMUsersSelectorArg` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBTEAMUsersSelectorArgTag){ /// List of member IDs. DBTEAMUsersSelectorArgTeamMemberIds, /// List of external user IDs. DBTEAMUsersSelectorArgExternalIds, /// List of email addresses. DBTEAMUsersSelectorArgEmails, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMUsersSelectorArgTag tag; /// List of member IDs. @note Ensure the `isTeamMemberIds` method returns true /// before accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) NSArray *teamMemberIds; /// List of external user IDs. @note Ensure the `isExternalIds` method returns /// true before accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) NSArray *externalIds; /// List of email addresses. @note Ensure the `isEmails` method returns true /// before accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) NSArray *emails; #pragma mark - Constructors /// /// Initializes union class with tag state of "team_member_ids". /// /// Description of the "team_member_ids" tag state: List of member IDs. /// /// @param teamMemberIds List of member IDs. /// /// @return An initialized instance. /// - (instancetype)initWithTeamMemberIds:(NSArray *)teamMemberIds; /// /// Initializes union class with tag state of "external_ids". /// /// Description of the "external_ids" tag state: List of external user IDs. /// /// @param externalIds List of external user IDs. /// /// @return An initialized instance. /// - (instancetype)initWithExternalIds:(NSArray *)externalIds; /// /// Initializes union class with tag state of "emails". /// /// Description of the "emails" tag state: List of email addresses. /// /// @param emails List of email addresses. /// /// @return An initialized instance. /// - (instancetype)initWithEmails:(NSArray *)emails; - (instancetype)init NS_UNAVAILABLE; #pragma mark - Tag state methods /// /// Retrieves whether the union's current tag state has value "team_member_ids". /// /// @note Call this method and ensure it returns true before accessing the /// `teamMemberIds` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value "team_member_ids". /// - (BOOL)isTeamMemberIds; /// /// Retrieves whether the union's current tag state has value "external_ids". /// /// @note Call this method and ensure it returns true before accessing the /// `externalIds` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value "external_ids". /// - (BOOL)isExternalIds; /// /// Retrieves whether the union's current tag state has value "emails". /// /// @note Call this method and ensure it returns true before accessing the /// `emails` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value "emails". /// - (BOOL)isEmails; /// /// 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 `DBTEAMUsersSelectorArg` union. /// @interface DBTEAMUsersSelectorArgSerializer : NSObject /// /// Serializes `DBTEAMUsersSelectorArg` instances. /// /// @param instance An instance of the `DBTEAMUsersSelectorArg` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMUsersSelectorArg` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMUsersSelectorArg *)instance; /// /// Deserializes `DBTEAMUsersSelectorArg` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMUsersSelectorArg` API object. /// /// @return An instantiation of the `DBTEAMUsersSelectorArg` object. /// + (DBTEAMUsersSelectorArg *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamCommon/DBTeamCommonObjects.m ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// /// Arguments, results, and errors for the `TeamCommon` namespace. #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMCOMMONGroupManagementType.h" #pragma mark - API Object @implementation DBTEAMCOMMONGroupManagementType #pragma mark - Constructors - (instancetype)initWithUserManaged { self = [super init]; if (self) { _tag = DBTEAMCOMMONGroupManagementTypeUserManaged; } return self; } - (instancetype)initWithCompanyManaged { self = [super init]; if (self) { _tag = DBTEAMCOMMONGroupManagementTypeCompanyManaged; } return self; } - (instancetype)initWithSystemManaged { self = [super init]; if (self) { _tag = DBTEAMCOMMONGroupManagementTypeSystemManaged; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBTEAMCOMMONGroupManagementTypeOther; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isUserManaged { return _tag == DBTEAMCOMMONGroupManagementTypeUserManaged; } - (BOOL)isCompanyManaged { return _tag == DBTEAMCOMMONGroupManagementTypeCompanyManaged; } - (BOOL)isSystemManaged { return _tag == DBTEAMCOMMONGroupManagementTypeSystemManaged; } - (BOOL)isOther { return _tag == DBTEAMCOMMONGroupManagementTypeOther; } - (NSString *)tagName { switch (_tag) { case DBTEAMCOMMONGroupManagementTypeUserManaged: return @"DBTEAMCOMMONGroupManagementTypeUserManaged"; case DBTEAMCOMMONGroupManagementTypeCompanyManaged: return @"DBTEAMCOMMONGroupManagementTypeCompanyManaged"; case DBTEAMCOMMONGroupManagementTypeSystemManaged: return @"DBTEAMCOMMONGroupManagementTypeSystemManaged"; case DBTEAMCOMMONGroupManagementTypeOther: return @"DBTEAMCOMMONGroupManagementTypeOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMCOMMONGroupManagementTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMCOMMONGroupManagementTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMCOMMONGroupManagementTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToGroupManagementType:other]; } - (BOOL)isEqualToGroupManagementType:(DBTEAMCOMMONGroupManagementType *)aGroupManagementType { if (self == aGroupManagementType) { return YES; } if (self.tag != aGroupManagementType.tag) { return NO; } switch (_tag) { case DBTEAMCOMMONGroupManagementTypeUserManaged: return [[self tagName] isEqual:[aGroupManagementType tagName]]; case DBTEAMCOMMONGroupManagementTypeCompanyManaged: return [[self tagName] isEqual:[aGroupManagementType tagName]]; case DBTEAMCOMMONGroupManagementTypeSystemManaged: return [[self tagName] isEqual:[aGroupManagementType tagName]]; case DBTEAMCOMMONGroupManagementTypeOther: return [[self tagName] isEqual:[aGroupManagementType tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMCOMMONGroupManagementTypeSerializer + (NSDictionary *)serialize:(DBTEAMCOMMONGroupManagementType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isUserManaged]) { jsonDict[@".tag"] = @"user_managed"; } else if ([valueObj isCompanyManaged]) { jsonDict[@".tag"] = @"company_managed"; } else if ([valueObj isSystemManaged]) { jsonDict[@".tag"] = @"system_managed"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBTEAMCOMMONGroupManagementType *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"user_managed"]) { return [[DBTEAMCOMMONGroupManagementType alloc] initWithUserManaged]; } else if ([tag isEqualToString:@"company_managed"]) { return [[DBTEAMCOMMONGroupManagementType alloc] initWithCompanyManaged]; } else if ([tag isEqualToString:@"system_managed"]) { return [[DBTEAMCOMMONGroupManagementType alloc] initWithSystemManaged]; } else if ([tag isEqualToString:@"other"]) { return [[DBTEAMCOMMONGroupManagementType alloc] initWithOther]; } else { return [[DBTEAMCOMMONGroupManagementType alloc] initWithOther]; } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMCOMMONGroupManagementType.h" #import "DBTEAMCOMMONGroupSummary.h" #pragma mark - API Object @implementation DBTEAMCOMMONGroupSummary #pragma mark - Constructors - (instancetype)initWithGroupName:(NSString *)groupName groupId:(NSString *)groupId groupManagementType:(DBTEAMCOMMONGroupManagementType *)groupManagementType groupExternalId:(NSString *)groupExternalId memberCount:(NSNumber *)memberCount { [DBStoneValidators nonnullValidator:nil](groupName); [DBStoneValidators nonnullValidator:nil](groupId); [DBStoneValidators nonnullValidator:nil](groupManagementType); self = [super init]; if (self) { _groupName = groupName; _groupId = groupId; _groupExternalId = groupExternalId; _memberCount = memberCount; _groupManagementType = groupManagementType; } return self; } - (instancetype)initWithGroupName:(NSString *)groupName groupId:(NSString *)groupId groupManagementType:(DBTEAMCOMMONGroupManagementType *)groupManagementType { return [self initWithGroupName:groupName groupId:groupId groupManagementType:groupManagementType groupExternalId:nil memberCount:nil]; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMCOMMONGroupSummarySerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMCOMMONGroupSummarySerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMCOMMONGroupSummarySerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (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]; if (self.groupExternalId != nil) { result = prime * result + [self.groupExternalId hash]; } if (self.memberCount != nil) { result = prime * result + [self.memberCount hash]; } return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToGroupSummary:other]; } - (BOOL)isEqualToGroupSummary:(DBTEAMCOMMONGroupSummary *)aGroupSummary { if (self == aGroupSummary) { return YES; } if (![self.groupName isEqual:aGroupSummary.groupName]) { return NO; } if (![self.groupId isEqual:aGroupSummary.groupId]) { return NO; } if (![self.groupManagementType isEqual:aGroupSummary.groupManagementType]) { return NO; } if (self.groupExternalId) { if (![self.groupExternalId isEqual:aGroupSummary.groupExternalId]) { return NO; } } if (self.memberCount) { if (![self.memberCount isEqual:aGroupSummary.memberCount]) { return NO; } } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMCOMMONGroupSummarySerializer + (NSDictionary *)serialize:(DBTEAMCOMMONGroupSummary *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"group_name"] = valueObj.groupName; jsonDict[@"group_id"] = valueObj.groupId; jsonDict[@"group_management_type"] = [DBTEAMCOMMONGroupManagementTypeSerializer serialize:valueObj.groupManagementType]; if (valueObj.groupExternalId) { jsonDict[@"group_external_id"] = valueObj.groupExternalId; } if (valueObj.memberCount) { jsonDict[@"member_count"] = valueObj.memberCount; } return jsonDict; } + (DBTEAMCOMMONGroupSummary *)deserialize:(NSDictionary *)valueDict { NSString *groupName = valueDict[@"group_name"]; NSString *groupId = valueDict[@"group_id"]; DBTEAMCOMMONGroupManagementType *groupManagementType = [DBTEAMCOMMONGroupManagementTypeSerializer deserialize:valueDict[@"group_management_type"]]; NSString *groupExternalId = valueDict[@"group_external_id"] ?: nil; NSNumber *memberCount = valueDict[@"member_count"] ?: nil; return [[DBTEAMCOMMONGroupSummary alloc] initWithGroupName:groupName groupId:groupId groupManagementType:groupManagementType groupExternalId:groupExternalId memberCount:memberCount]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMCOMMONGroupType.h" #pragma mark - API Object @implementation DBTEAMCOMMONGroupType #pragma mark - Constructors - (instancetype)initWithTeam { self = [super init]; if (self) { _tag = DBTEAMCOMMONGroupTypeTeam; } return self; } - (instancetype)initWithUserManaged { self = [super init]; if (self) { _tag = DBTEAMCOMMONGroupTypeUserManaged; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBTEAMCOMMONGroupTypeOther; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isTeam { return _tag == DBTEAMCOMMONGroupTypeTeam; } - (BOOL)isUserManaged { return _tag == DBTEAMCOMMONGroupTypeUserManaged; } - (BOOL)isOther { return _tag == DBTEAMCOMMONGroupTypeOther; } - (NSString *)tagName { switch (_tag) { case DBTEAMCOMMONGroupTypeTeam: return @"DBTEAMCOMMONGroupTypeTeam"; case DBTEAMCOMMONGroupTypeUserManaged: return @"DBTEAMCOMMONGroupTypeUserManaged"; case DBTEAMCOMMONGroupTypeOther: return @"DBTEAMCOMMONGroupTypeOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMCOMMONGroupTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMCOMMONGroupTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMCOMMONGroupTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToGroupType:other]; } - (BOOL)isEqualToGroupType:(DBTEAMCOMMONGroupType *)aGroupType { if (self == aGroupType) { return YES; } if (self.tag != aGroupType.tag) { return NO; } switch (_tag) { case DBTEAMCOMMONGroupTypeTeam: return [[self tagName] isEqual:[aGroupType tagName]]; case DBTEAMCOMMONGroupTypeUserManaged: return [[self tagName] isEqual:[aGroupType tagName]]; case DBTEAMCOMMONGroupTypeOther: return [[self tagName] isEqual:[aGroupType tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMCOMMONGroupTypeSerializer + (NSDictionary *)serialize:(DBTEAMCOMMONGroupType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isTeam]) { jsonDict[@".tag"] = @"team"; } else if ([valueObj isUserManaged]) { jsonDict[@".tag"] = @"user_managed"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBTEAMCOMMONGroupType *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"team"]) { return [[DBTEAMCOMMONGroupType alloc] initWithTeam]; } else if ([tag isEqualToString:@"user_managed"]) { return [[DBTEAMCOMMONGroupType alloc] initWithUserManaged]; } else if ([tag isEqualToString:@"other"]) { return [[DBTEAMCOMMONGroupType alloc] initWithOther]; } else { return [[DBTEAMCOMMONGroupType alloc] initWithOther]; } } @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" #pragma mark - API Object @implementation DBTEAMCOMMONTimeRange #pragma mark - Constructors - (instancetype)initWithStartTime:(NSDate *)startTime endTime:(NSDate *)endTime { self = [super init]; if (self) { _startTime = startTime; _endTime = endTime; } return self; } - (instancetype)initDefault { return [self initWithStartTime:nil endTime:nil]; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMCOMMONTimeRangeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMCOMMONTimeRangeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMCOMMONTimeRangeSerializer serialize:self] description]; } #pragma mark - Copyable method - (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.startTime != nil) { result = prime * result + [self.startTime hash]; } if (self.endTime != nil) { result = prime * result + [self.endTime hash]; } return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToTimeRange:other]; } - (BOOL)isEqualToTimeRange:(DBTEAMCOMMONTimeRange *)aTimeRange { if (self == aTimeRange) { return YES; } if (self.startTime) { if (![self.startTime isEqual:aTimeRange.startTime]) { return NO; } } if (self.endTime) { if (![self.endTime isEqual:aTimeRange.endTime]) { return NO; } } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMCOMMONTimeRangeSerializer + (NSDictionary *)serialize:(DBTEAMCOMMONTimeRange *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if (valueObj.startTime) { jsonDict[@"start_time"] = [DBNSDateSerializer serialize:valueObj.startTime dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; } if (valueObj.endTime) { jsonDict[@"end_time"] = [DBNSDateSerializer serialize:valueObj.endTime dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; } return jsonDict; } + (DBTEAMCOMMONTimeRange *)deserialize:(NSDictionary *)valueDict { NSDate *startTime = valueDict[@"start_time"] ? [DBNSDateSerializer deserialize:valueDict[@"start_time"] dateFormat:@"%Y-%m-%dT%H:%M:%SZ"] : nil; NSDate *endTime = valueDict[@"end_time"] ? [DBNSDateSerializer deserialize:valueDict[@"end_time"] dateFormat:@"%Y-%m-%dT%H:%M:%SZ"] : nil; return [[DBTEAMCOMMONTimeRange alloc] initWithStartTime:startTime endTime:endTime]; } @end ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamCommon/Headers/DBTEAMCOMMONGroupManagementType.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMCOMMONGroupManagementType; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `GroupManagementType` union. /// /// The group type determines how a group is managed. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMCOMMONGroupManagementType : NSObject #pragma mark - Instance fields /// The `DBTEAMCOMMONGroupManagementTypeTag` enum type represents the possible /// tag states with which the `DBTEAMCOMMONGroupManagementType` union can exist. 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 automatically by Dropbox. DBTEAMCOMMONGroupManagementTypeSystemManaged, /// (no description). DBTEAMCOMMONGroupManagementTypeOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMCOMMONGroupManagementTypeTag tag; #pragma mark - Constructors /// /// Initializes union class with tag state of "user_managed". /// /// Description of the "user_managed" tag state: A group which is managed by /// selected users. /// /// @return An initialized instance. /// - (instancetype)initWithUserManaged; /// /// Initializes union class with tag state of "company_managed". /// /// Description of the "company_managed" tag state: A group which is managed by /// team admins only. /// /// @return An initialized instance. /// - (instancetype)initWithCompanyManaged; /// /// Initializes union class with tag state of "system_managed". /// /// Description of the "system_managed" tag state: A group which is managed /// automatically by Dropbox. /// /// @return An initialized instance. /// - (instancetype)initWithSystemManaged; /// /// 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_managed". /// /// @return Whether the union's current tag state has value "user_managed". /// - (BOOL)isUserManaged; /// /// Retrieves whether the union's current tag state has value "company_managed". /// /// @return Whether the union's current tag state has value "company_managed". /// - (BOOL)isCompanyManaged; /// /// Retrieves whether the union's current tag state has value "system_managed". /// /// @return Whether the union's current tag state has value "system_managed". /// - (BOOL)isSystemManaged; /// /// 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 `DBTEAMCOMMONGroupManagementType` union. /// @interface DBTEAMCOMMONGroupManagementTypeSerializer : NSObject /// /// Serializes `DBTEAMCOMMONGroupManagementType` instances. /// /// @param instance An instance of the `DBTEAMCOMMONGroupManagementType` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMCOMMONGroupManagementType` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMCOMMONGroupManagementType *)instance; /// /// Deserializes `DBTEAMCOMMONGroupManagementType` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMCOMMONGroupManagementType` API object. /// /// @return An instantiation of the `DBTEAMCOMMONGroupManagementType` object. /// + (DBTEAMCOMMONGroupManagementType *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamCommon/Headers/DBTEAMCOMMONGroupSummary.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMCOMMONGroupManagementType; @class DBTEAMCOMMONGroupSummary; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `GroupSummary` struct. /// /// Information about a group. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMCOMMONGroupSummary : NSObject #pragma mark - Instance fields /// (no description). @property (nonatomic, readonly, copy) NSString *groupName; /// (no description). @property (nonatomic, readonly, copy) NSString *groupId; /// External ID of group. This is an arbitrary ID that an admin can attach to a /// group. @property (nonatomic, readonly, copy, nullable) NSString *groupExternalId; /// The number of members in the group. @property (nonatomic, readonly, nullable) NSNumber *memberCount; /// Who is allowed to manage the group. @property (nonatomic, readonly) DBTEAMCOMMONGroupManagementType *groupManagementType; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param groupName (no description). /// @param groupId (no description). /// @param groupManagementType Who is allowed to manage the group. /// @param groupExternalId External ID of group. This is an arbitrary ID that an /// admin can attach to a group. /// @param memberCount The number of members in the group. /// /// @return An initialized instance. /// - (instancetype)initWithGroupName:(NSString *)groupName groupId:(NSString *)groupId groupManagementType:(DBTEAMCOMMONGroupManagementType *)groupManagementType groupExternalId:(nullable NSString *)groupExternalId memberCount:(nullable NSNumber *)memberCount; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param groupName (no description). /// @param groupId (no description). /// @param groupManagementType Who is allowed to manage the group. /// /// @return An initialized instance. /// - (instancetype)initWithGroupName:(NSString *)groupName groupId:(NSString *)groupId groupManagementType:(DBTEAMCOMMONGroupManagementType *)groupManagementType; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `GroupSummary` struct. /// @interface DBTEAMCOMMONGroupSummarySerializer : NSObject /// /// Serializes `DBTEAMCOMMONGroupSummary` instances. /// /// @param instance An instance of the `DBTEAMCOMMONGroupSummary` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMCOMMONGroupSummary` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMCOMMONGroupSummary *)instance; /// /// Deserializes `DBTEAMCOMMONGroupSummary` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMCOMMONGroupSummary` API object. /// /// @return An instantiation of the `DBTEAMCOMMONGroupSummary` object. /// + (DBTEAMCOMMONGroupSummary *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamCommon/Headers/DBTEAMCOMMONGroupType.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMCOMMONGroupType; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `GroupType` union. /// /// The group type determines how a group is created and managed. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMCOMMONGroupType : NSObject #pragma mark - Instance fields /// The `DBTEAMCOMMONGroupTypeTag` enum type represents the possible tag states /// with which the `DBTEAMCOMMONGroupType` union can exist. 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, /// (no description). DBTEAMCOMMONGroupTypeOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMCOMMONGroupTypeTag tag; #pragma mark - Constructors /// /// Initializes union class with tag state of "team". /// /// Description of the "team" tag state: A group to which team members are /// automatically added. Applicable to team folders /// https://www.dropbox.com/help/986 only. /// /// @return An initialized instance. /// - (instancetype)initWithTeam; /// /// Initializes union class with tag state of "user_managed". /// /// Description of the "user_managed" tag state: A group is created and managed /// by a user. /// /// @return An initialized instance. /// - (instancetype)initWithUserManaged; /// /// 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". /// /// @return Whether the union's current tag state has value "team". /// - (BOOL)isTeam; /// /// Retrieves whether the union's current tag state has value "user_managed". /// /// @return Whether the union's current tag state has value "user_managed". /// - (BOOL)isUserManaged; /// /// 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 `DBTEAMCOMMONGroupType` union. /// @interface DBTEAMCOMMONGroupTypeSerializer : NSObject /// /// Serializes `DBTEAMCOMMONGroupType` instances. /// /// @param instance An instance of the `DBTEAMCOMMONGroupType` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMCOMMONGroupType` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMCOMMONGroupType *)instance; /// /// Deserializes `DBTEAMCOMMONGroupType` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMCOMMONGroupType` API object. /// /// @return An instantiation of the `DBTEAMCOMMONGroupType` object. /// + (DBTEAMCOMMONGroupType *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamCommon/Headers/DBTEAMCOMMONMemberSpaceLimitType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamCommon/Headers/DBTEAMCOMMONTimeRange.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMCOMMONTimeRange; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `TimeRange` struct. /// /// Time range. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMCOMMONTimeRange : NSObject #pragma mark - Instance fields /// Optional starting time (inclusive). @property (nonatomic, readonly, nullable) NSDate *startTime; /// Optional ending time (exclusive). @property (nonatomic, readonly, nullable) NSDate *endTime; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param startTime Optional starting time (inclusive). /// @param endTime Optional ending time (exclusive). /// /// @return An initialized instance. /// - (instancetype)initWithStartTime:(nullable NSDate *)startTime endTime:(nullable NSDate *)endTime; /// /// 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 `TimeRange` struct. /// @interface DBTEAMCOMMONTimeRangeSerializer : NSObject /// /// Serializes `DBTEAMCOMMONTimeRange` instances. /// /// @param instance An instance of the `DBTEAMCOMMONTimeRange` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMCOMMONTimeRange` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMCOMMONTimeRange *)instance; /// /// Deserializes `DBTEAMCOMMONTimeRange` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMCOMMONTimeRange` API object. /// /// @return An instantiation of the `DBTEAMCOMMONTimeRange` object. /// + (DBTEAMCOMMONTimeRange *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/DBTeamLogObjects.m ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// /// Arguments, results, and errors for the `TeamLog` namespace. #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGAccessMethodLogInfo.h" #import "DBTEAMLOGApiSessionLogInfo.h" #import "DBTEAMLOGSessionLogInfo.h" #import "DBTEAMLOGWebSessionLogInfo.h" #pragma mark - API Object @implementation DBTEAMLOGAccessMethodLogInfo @synthesize adminConsole = _adminConsole; @synthesize api = _api; @synthesize contentManager = _contentManager; @synthesize endUser = _endUser; @synthesize enterpriseConsole = _enterpriseConsole; @synthesize signInAs = _signInAs; #pragma mark - Constructors - (instancetype)initWithAdminConsole:(DBTEAMLOGWebSessionLogInfo *)adminConsole { self = [super init]; if (self) { _tag = DBTEAMLOGAccessMethodLogInfoAdminConsole; _adminConsole = adminConsole; } return self; } - (instancetype)initWithApi:(DBTEAMLOGApiSessionLogInfo *)api { self = [super init]; if (self) { _tag = DBTEAMLOGAccessMethodLogInfoApi; _api = api; } return self; } - (instancetype)initWithContentManager:(DBTEAMLOGWebSessionLogInfo *)contentManager { self = [super init]; if (self) { _tag = DBTEAMLOGAccessMethodLogInfoContentManager; _contentManager = contentManager; } return self; } - (instancetype)initWithEndUser:(DBTEAMLOGSessionLogInfo *)endUser { self = [super init]; if (self) { _tag = DBTEAMLOGAccessMethodLogInfoEndUser; _endUser = endUser; } return self; } - (instancetype)initWithEnterpriseConsole:(DBTEAMLOGWebSessionLogInfo *)enterpriseConsole { self = [super init]; if (self) { _tag = DBTEAMLOGAccessMethodLogInfoEnterpriseConsole; _enterpriseConsole = enterpriseConsole; } return self; } - (instancetype)initWithSignInAs:(DBTEAMLOGWebSessionLogInfo *)signInAs { self = [super init]; if (self) { _tag = DBTEAMLOGAccessMethodLogInfoSignInAs; _signInAs = signInAs; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBTEAMLOGAccessMethodLogInfoOther; } return self; } #pragma mark - Instance field accessors - (DBTEAMLOGWebSessionLogInfo *)adminConsole { if (![self isAdminConsole]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGAccessMethodLogInfoAdminConsole, but was %@.", [self tagName]]; } return _adminConsole; } - (DBTEAMLOGApiSessionLogInfo *)api { if (![self isApi]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGAccessMethodLogInfoApi, but was %@.", [self tagName]]; } return _api; } - (DBTEAMLOGWebSessionLogInfo *)contentManager { if (![self isContentManager]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGAccessMethodLogInfoContentManager, but was %@.", [self tagName]]; } return _contentManager; } - (DBTEAMLOGSessionLogInfo *)endUser { if (![self isEndUser]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGAccessMethodLogInfoEndUser, but was %@.", [self tagName]]; } return _endUser; } - (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 DBTEAMLOGAccessMethodLogInfoSignInAs, but was %@.", [self tagName]]; } return _signInAs; } #pragma mark - Tag state methods - (BOOL)isAdminConsole { return _tag == DBTEAMLOGAccessMethodLogInfoAdminConsole; } - (BOOL)isApi { return _tag == DBTEAMLOGAccessMethodLogInfoApi; } - (BOOL)isContentManager { return _tag == DBTEAMLOGAccessMethodLogInfoContentManager; } - (BOOL)isEndUser { return _tag == DBTEAMLOGAccessMethodLogInfoEndUser; } - (BOOL)isEnterpriseConsole { return _tag == DBTEAMLOGAccessMethodLogInfoEnterpriseConsole; } - (BOOL)isSignInAs { return _tag == DBTEAMLOGAccessMethodLogInfoSignInAs; } - (BOOL)isOther { return _tag == DBTEAMLOGAccessMethodLogInfoOther; } - (NSString *)tagName { switch (_tag) { 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"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGAccessMethodLogInfoSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGAccessMethodLogInfoSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGAccessMethodLogInfoSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToAccessMethodLogInfo:other]; } - (BOOL)isEqualToAccessMethodLogInfo:(DBTEAMLOGAccessMethodLogInfo *)anAccessMethodLogInfo { if (self == anAccessMethodLogInfo) { return YES; } if (self.tag != anAccessMethodLogInfo.tag) { return NO; } switch (_tag) { 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]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGAccessMethodLogInfoSerializer + (NSDictionary *)serialize:(DBTEAMLOGAccessMethodLogInfo *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; 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 addEntriesFromDictionary:[DBTEAMLOGWebSessionLogInfoSerializer serialize:valueObj.signInAs]]; jsonDict[@".tag"] = @"sign_in_as"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBTEAMLOGAccessMethodLogInfo *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; 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 { return [[DBTEAMLOGAccessMethodLogInfo alloc] initWithOther]; } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGAccountCaptureAvailability.h" #pragma mark - API Object @implementation DBTEAMLOGAccountCaptureAvailability #pragma mark - Constructors - (instancetype)initWithAvailable { self = [super init]; if (self) { _tag = DBTEAMLOGAccountCaptureAvailabilityAvailable; } return self; } - (instancetype)initWithUnavailable { self = [super init]; if (self) { _tag = DBTEAMLOGAccountCaptureAvailabilityUnavailable; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBTEAMLOGAccountCaptureAvailabilityOther; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isAvailable { return _tag == DBTEAMLOGAccountCaptureAvailabilityAvailable; } - (BOOL)isUnavailable { return _tag == DBTEAMLOGAccountCaptureAvailabilityUnavailable; } - (BOOL)isOther { return _tag == DBTEAMLOGAccountCaptureAvailabilityOther; } - (NSString *)tagName { switch (_tag) { case DBTEAMLOGAccountCaptureAvailabilityAvailable: return @"DBTEAMLOGAccountCaptureAvailabilityAvailable"; case DBTEAMLOGAccountCaptureAvailabilityUnavailable: return @"DBTEAMLOGAccountCaptureAvailabilityUnavailable"; case DBTEAMLOGAccountCaptureAvailabilityOther: return @"DBTEAMLOGAccountCaptureAvailabilityOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGAccountCaptureAvailabilitySerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGAccountCaptureAvailabilitySerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGAccountCaptureAvailabilitySerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToAccountCaptureAvailability:other]; } - (BOOL)isEqualToAccountCaptureAvailability:(DBTEAMLOGAccountCaptureAvailability *)anAccountCaptureAvailability { if (self == anAccountCaptureAvailability) { return YES; } if (self.tag != anAccountCaptureAvailability.tag) { return NO; } switch (_tag) { case DBTEAMLOGAccountCaptureAvailabilityAvailable: return [[self tagName] isEqual:[anAccountCaptureAvailability tagName]]; case DBTEAMLOGAccountCaptureAvailabilityUnavailable: return [[self tagName] isEqual:[anAccountCaptureAvailability tagName]]; case DBTEAMLOGAccountCaptureAvailabilityOther: return [[self tagName] isEqual:[anAccountCaptureAvailability tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGAccountCaptureAvailabilitySerializer + (NSDictionary *)serialize:(DBTEAMLOGAccountCaptureAvailability *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; 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; } + (DBTEAMLOGAccountCaptureAvailability *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; 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 { return [[DBTEAMLOGAccountCaptureAvailability alloc] initWithOther]; } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGAccountCaptureAvailability.h" #import "DBTEAMLOGAccountCaptureChangeAvailabilityDetails.h" #pragma mark - API Object @implementation DBTEAMLOGAccountCaptureChangeAvailabilityDetails #pragma mark - Constructors - (instancetype)initWithDNewValue:(DBTEAMLOGAccountCaptureAvailability *)dNewValue previousValue:(DBTEAMLOGAccountCaptureAvailability *)previousValue { [DBStoneValidators nonnullValidator:nil](dNewValue); self = [super init]; if (self) { _dNewValue = dNewValue; _previousValue = previousValue; } return self; } - (instancetype)initWithDNewValue:(DBTEAMLOGAccountCaptureAvailability *)dNewValue { return [self initWithDNewValue:dNewValue previousValue:nil]; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGAccountCaptureChangeAvailabilityDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGAccountCaptureChangeAvailabilityDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGAccountCaptureChangeAvailabilityDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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 isEqualToAccountCaptureChangeAvailabilityDetails:other]; } - (BOOL)isEqualToAccountCaptureChangeAvailabilityDetails: (DBTEAMLOGAccountCaptureChangeAvailabilityDetails *)anAccountCaptureChangeAvailabilityDetails { if (self == anAccountCaptureChangeAvailabilityDetails) { return YES; } if (![self.dNewValue isEqual:anAccountCaptureChangeAvailabilityDetails.dNewValue]) { return NO; } if (self.previousValue) { if (![self.previousValue isEqual:anAccountCaptureChangeAvailabilityDetails.previousValue]) { return NO; } } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGAccountCaptureChangeAvailabilityDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGAccountCaptureChangeAvailabilityDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"new_value"] = [DBTEAMLOGAccountCaptureAvailabilitySerializer serialize:valueObj.dNewValue]; if (valueObj.previousValue) { jsonDict[@"previous_value"] = [DBTEAMLOGAccountCaptureAvailabilitySerializer serialize:valueObj.previousValue]; } return jsonDict; } + (DBTEAMLOGAccountCaptureChangeAvailabilityDetails *)deserialize:(NSDictionary *)valueDict { DBTEAMLOGAccountCaptureAvailability *dNewValue = [DBTEAMLOGAccountCaptureAvailabilitySerializer deserialize:valueDict[@"new_value"]]; DBTEAMLOGAccountCaptureAvailability *previousValue = valueDict[@"previous_value"] ? [DBTEAMLOGAccountCaptureAvailabilitySerializer deserialize:valueDict[@"previous_value"]] : nil; return [[DBTEAMLOGAccountCaptureChangeAvailabilityDetails alloc] initWithDNewValue:dNewValue previousValue:previousValue]; } @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" #import "DBTEAMLOGAccountCapturePolicy.h" #pragma mark - API Object @implementation DBTEAMLOGAccountCaptureChangePolicyDetails #pragma mark - Constructors - (instancetype)initWithDNewValue:(DBTEAMLOGAccountCapturePolicy *)dNewValue previousValue:(DBTEAMLOGAccountCapturePolicy *)previousValue { [DBStoneValidators nonnullValidator:nil](dNewValue); self = [super init]; if (self) { _dNewValue = dNewValue; _previousValue = previousValue; } return self; } - (instancetype)initWithDNewValue:(DBTEAMLOGAccountCapturePolicy *)dNewValue { return [self initWithDNewValue:dNewValue previousValue:nil]; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGAccountCaptureChangePolicyDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGAccountCaptureChangePolicyDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGAccountCaptureChangePolicyDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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 isEqualToAccountCaptureChangePolicyDetails:other]; } - (BOOL)isEqualToAccountCaptureChangePolicyDetails: (DBTEAMLOGAccountCaptureChangePolicyDetails *)anAccountCaptureChangePolicyDetails { if (self == anAccountCaptureChangePolicyDetails) { return YES; } if (![self.dNewValue isEqual:anAccountCaptureChangePolicyDetails.dNewValue]) { return NO; } if (self.previousValue) { if (![self.previousValue isEqual:anAccountCaptureChangePolicyDetails.previousValue]) { return NO; } } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGAccountCaptureChangePolicyDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGAccountCaptureChangePolicyDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"new_value"] = [DBTEAMLOGAccountCapturePolicySerializer serialize:valueObj.dNewValue]; if (valueObj.previousValue) { jsonDict[@"previous_value"] = [DBTEAMLOGAccountCapturePolicySerializer serialize:valueObj.previousValue]; } return jsonDict; } + (DBTEAMLOGAccountCaptureChangePolicyDetails *)deserialize:(NSDictionary *)valueDict { DBTEAMLOGAccountCapturePolicy *dNewValue = [DBTEAMLOGAccountCapturePolicySerializer deserialize:valueDict[@"new_value"]]; DBTEAMLOGAccountCapturePolicy *previousValue = valueDict[@"previous_value"] ? [DBTEAMLOGAccountCapturePolicySerializer deserialize:valueDict[@"previous_value"]] : nil; return [[DBTEAMLOGAccountCaptureChangePolicyDetails alloc] initWithDNewValue:dNewValue previousValue:previousValue]; } @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" #pragma mark - API Object @implementation DBTEAMLOGAccountCaptureMigrateAccountDetails #pragma mark - Constructors - (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 [DBTEAMLOGAccountCaptureMigrateAccountDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGAccountCaptureMigrateAccountDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGAccountCaptureMigrateAccountDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToAccountCaptureMigrateAccountDetails:other]; } - (BOOL)isEqualToAccountCaptureMigrateAccountDetails: (DBTEAMLOGAccountCaptureMigrateAccountDetails *)anAccountCaptureMigrateAccountDetails { if (self == anAccountCaptureMigrateAccountDetails) { return YES; } if (![self.domainName isEqual:anAccountCaptureMigrateAccountDetails.domainName]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGAccountCaptureMigrateAccountDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGAccountCaptureMigrateAccountDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"domain_name"] = valueObj.domainName; return jsonDict; } + (DBTEAMLOGAccountCaptureMigrateAccountDetails *)deserialize:(NSDictionary *)valueDict { NSString *domainName = valueDict[@"domain_name"]; return [[DBTEAMLOGAccountCaptureMigrateAccountDetails alloc] initWithDomainName:domainName]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGAccountCaptureMigrateAccountType.h" #pragma mark - API Object @implementation DBTEAMLOGAccountCaptureMigrateAccountType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGAccountCaptureMigrateAccountTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGAccountCaptureMigrateAccountTypeSerializer deserialize:dict]; } #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 - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #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)isEqualToAccountCaptureMigrateAccountType: (DBTEAMLOGAccountCaptureMigrateAccountType *)anAccountCaptureMigrateAccountType { if (self == anAccountCaptureMigrateAccountType) { return YES; } if (![self.description_ isEqual:anAccountCaptureMigrateAccountType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGAccountCaptureMigrateAccountTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGAccountCaptureMigrateAccountType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (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; } - (instancetype)initWithDomainName:(NSString *)domainName { return [self initWithDomainName:domainName notificationType:nil]; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGAccountCaptureNotificationEmailsSentDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGAccountCaptureNotificationEmailsSentDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGAccountCaptureNotificationEmailsSentDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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.notificationType != nil) { result = prime * result + [self.notificationType hash]; } return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToAccountCaptureNotificationEmailsSentDetails:other]; } - (BOOL)isEqualToAccountCaptureNotificationEmailsSentDetails: (DBTEAMLOGAccountCaptureNotificationEmailsSentDetails *)anAccountCaptureNotificationEmailsSentDetails { if (self == anAccountCaptureNotificationEmailsSentDetails) { return YES; } if (![self.domainName isEqual:anAccountCaptureNotificationEmailsSentDetails.domainName]) { return NO; } if (self.notificationType) { if (![self.notificationType isEqual:anAccountCaptureNotificationEmailsSentDetails.notificationType]) { return NO; } } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGAccountCaptureNotificationEmailsSentDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGAccountCaptureNotificationEmailsSentDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"domain_name"] = valueObj.domainName; if (valueObj.notificationType) { jsonDict[@"notification_type"] = [DBTEAMLOGAccountCaptureNotificationTypeSerializer serialize:valueObj.notificationType]; } return jsonDict; } + (DBTEAMLOGAccountCaptureNotificationEmailsSentDetails *)deserialize:(NSDictionary *)valueDict { NSString *domainName = valueDict[@"domain_name"]; DBTEAMLOGAccountCaptureNotificationType *notificationType = valueDict[@"notification_type"] ? [DBTEAMLOGAccountCaptureNotificationTypeSerializer deserialize:valueDict[@"notification_type"]] : nil; return [[DBTEAMLOGAccountCaptureNotificationEmailsSentDetails alloc] initWithDomainName:domainName notificationType:notificationType]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGAccountCaptureNotificationEmailsSentType.h" #pragma mark - API Object @implementation DBTEAMLOGAccountCaptureNotificationEmailsSentType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGAccountCaptureNotificationEmailsSentTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGAccountCaptureNotificationEmailsSentTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGAccountCaptureNotificationEmailsSentTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToAccountCaptureNotificationEmailsSentType:other]; } - (BOOL)isEqualToAccountCaptureNotificationEmailsSentType: (DBTEAMLOGAccountCaptureNotificationEmailsSentType *)anAccountCaptureNotificationEmailsSentType { if (self == anAccountCaptureNotificationEmailsSentType) { return YES; } if (![self.description_ isEqual:anAccountCaptureNotificationEmailsSentType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGAccountCaptureNotificationEmailsSentTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGAccountCaptureNotificationEmailsSentType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGAccountCaptureNotificationEmailsSentType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGAccountCaptureNotificationEmailsSentType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGAccountCaptureNotificationType.h" #pragma mark - API Object @implementation DBTEAMLOGAccountCaptureNotificationType #pragma mark - Constructors - (instancetype)initWithActionableNotification { self = [super init]; if (self) { _tag = DBTEAMLOGAccountCaptureNotificationTypeActionableNotification; } return self; } - (instancetype)initWithProactiveWarningNotification { self = [super init]; if (self) { _tag = DBTEAMLOGAccountCaptureNotificationTypeProactiveWarningNotification; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBTEAMLOGAccountCaptureNotificationTypeOther; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isActionableNotification { return _tag == DBTEAMLOGAccountCaptureNotificationTypeActionableNotification; } - (BOOL)isProactiveWarningNotification { return _tag == DBTEAMLOGAccountCaptureNotificationTypeProactiveWarningNotification; } - (BOOL)isOther { return _tag == DBTEAMLOGAccountCaptureNotificationTypeOther; } - (NSString *)tagName { switch (_tag) { case DBTEAMLOGAccountCaptureNotificationTypeActionableNotification: return @"DBTEAMLOGAccountCaptureNotificationTypeActionableNotification"; case DBTEAMLOGAccountCaptureNotificationTypeProactiveWarningNotification: return @"DBTEAMLOGAccountCaptureNotificationTypeProactiveWarningNotification"; case DBTEAMLOGAccountCaptureNotificationTypeOther: return @"DBTEAMLOGAccountCaptureNotificationTypeOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGAccountCaptureNotificationTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGAccountCaptureNotificationTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGAccountCaptureNotificationTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 DBTEAMLOGAccountCaptureNotificationTypeActionableNotification: result = prime * result + [[self tagName] hash]; break; case DBTEAMLOGAccountCaptureNotificationTypeProactiveWarningNotification: result = prime * result + [[self tagName] hash]; break; case DBTEAMLOGAccountCaptureNotificationTypeOther: 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 isEqualToAccountCaptureNotificationType:other]; } - (BOOL)isEqualToAccountCaptureNotificationType: (DBTEAMLOGAccountCaptureNotificationType *)anAccountCaptureNotificationType { if (self == anAccountCaptureNotificationType) { return YES; } if (self.tag != anAccountCaptureNotificationType.tag) { return NO; } switch (_tag) { 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; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGAccountCaptureNotificationTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGAccountCaptureNotificationType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; 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; } + (DBTEAMLOGAccountCaptureNotificationType *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; 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 [[DBTEAMLOGAccountCaptureNotificationType alloc] initWithOther]; } else { return [[DBTEAMLOGAccountCaptureNotificationType alloc] initWithOther]; } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGAccountCapturePolicy.h" #pragma mark - API Object @implementation DBTEAMLOGAccountCapturePolicy #pragma mark - Constructors - (instancetype)initWithAllUsers { self = [super init]; if (self) { _tag = DBTEAMLOGAccountCapturePolicyAllUsers; } return self; } - (instancetype)initWithDisabled { self = [super init]; if (self) { _tag = DBTEAMLOGAccountCapturePolicyDisabled; } return self; } - (instancetype)initWithInvitedUsers { self = [super init]; if (self) { _tag = DBTEAMLOGAccountCapturePolicyInvitedUsers; } return self; } - (instancetype)initWithPreventPersonalCreation { self = [super init]; if (self) { _tag = DBTEAMLOGAccountCapturePolicyPreventPersonalCreation; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBTEAMLOGAccountCapturePolicyOther; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isAllUsers { return _tag == DBTEAMLOGAccountCapturePolicyAllUsers; } - (BOOL)isDisabled { return _tag == DBTEAMLOGAccountCapturePolicyDisabled; } - (BOOL)isInvitedUsers { return _tag == DBTEAMLOGAccountCapturePolicyInvitedUsers; } - (BOOL)isPreventPersonalCreation { return _tag == DBTEAMLOGAccountCapturePolicyPreventPersonalCreation; } - (BOOL)isOther { return _tag == DBTEAMLOGAccountCapturePolicyOther; } - (NSString *)tagName { switch (_tag) { 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]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGAccountCapturePolicySerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGAccountCapturePolicySerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGAccountCapturePolicySerializer serialize:self] description]; } #pragma mark - Copyable method - (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 DBTEAMLOGAccountCapturePolicyAllUsers: result = prime * result + [[self tagName] hash]; break; case DBTEAMLOGAccountCapturePolicyDisabled: result = prime * result + [[self tagName] hash]; break; case DBTEAMLOGAccountCapturePolicyInvitedUsers: result = prime * result + [[self tagName] hash]; break; case DBTEAMLOGAccountCapturePolicyPreventPersonalCreation: result = prime * result + [[self tagName] hash]; break; case DBTEAMLOGAccountCapturePolicyOther: 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 isEqualToAccountCapturePolicy:other]; } - (BOOL)isEqualToAccountCapturePolicy:(DBTEAMLOGAccountCapturePolicy *)anAccountCapturePolicy { if (self == anAccountCapturePolicy) { return YES; } if (self.tag != anAccountCapturePolicy.tag) { return NO; } switch (_tag) { 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; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGAccountCapturePolicySerializer + (NSDictionary *)serialize:(DBTEAMLOGAccountCapturePolicy *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; 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; } + (DBTEAMLOGAccountCapturePolicy *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; 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 [[DBTEAMLOGAccountCapturePolicy alloc] initWithOther]; } else { return [[DBTEAMLOGAccountCapturePolicy alloc] initWithOther]; } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGAccountCaptureRelinquishAccountDetails.h" #pragma mark - API Object @implementation DBTEAMLOGAccountCaptureRelinquishAccountDetails #pragma mark - Constructors - (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 [DBTEAMLOGAccountCaptureRelinquishAccountDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGAccountCaptureRelinquishAccountDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGAccountCaptureRelinquishAccountDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToAccountCaptureRelinquishAccountDetails:other]; } - (BOOL)isEqualToAccountCaptureRelinquishAccountDetails: (DBTEAMLOGAccountCaptureRelinquishAccountDetails *)anAccountCaptureRelinquishAccountDetails { if (self == anAccountCaptureRelinquishAccountDetails) { return YES; } if (![self.domainName isEqual:anAccountCaptureRelinquishAccountDetails.domainName]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGAccountCaptureRelinquishAccountDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGAccountCaptureRelinquishAccountDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"domain_name"] = valueObj.domainName; return jsonDict; } + (DBTEAMLOGAccountCaptureRelinquishAccountDetails *)deserialize:(NSDictionary *)valueDict { NSString *domainName = valueDict[@"domain_name"]; return [[DBTEAMLOGAccountCaptureRelinquishAccountDetails alloc] initWithDomainName:domainName]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGAccountCaptureRelinquishAccountType.h" #pragma mark - API Object @implementation DBTEAMLOGAccountCaptureRelinquishAccountType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGAccountCaptureRelinquishAccountTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGAccountCaptureRelinquishAccountTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGAccountCaptureRelinquishAccountTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToAccountCaptureRelinquishAccountType:other]; } - (BOOL)isEqualToAccountCaptureRelinquishAccountType: (DBTEAMLOGAccountCaptureRelinquishAccountType *)anAccountCaptureRelinquishAccountType { if (self == anAccountCaptureRelinquishAccountType) { return YES; } if (![self.description_ isEqual:anAccountCaptureRelinquishAccountType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGAccountCaptureRelinquishAccountTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGAccountCaptureRelinquishAccountType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGAccountCaptureRelinquishAccountType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGAccountCaptureRelinquishAccountType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGAccountLockOrUnlockedDetails.h" #import "DBTEAMLOGAccountState.h" #pragma mark - API Object @implementation DBTEAMLOGAccountLockOrUnlockedDetails #pragma mark - Constructors - (instancetype)initWithPreviousValue:(DBTEAMLOGAccountState *)previousValue dNewValue:(DBTEAMLOGAccountState *)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 [DBTEAMLOGAccountLockOrUnlockedDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGAccountLockOrUnlockedDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGAccountLockOrUnlockedDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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 isEqualToAccountLockOrUnlockedDetails:other]; } - (BOOL)isEqualToAccountLockOrUnlockedDetails:(DBTEAMLOGAccountLockOrUnlockedDetails *)anAccountLockOrUnlockedDetails { if (self == anAccountLockOrUnlockedDetails) { return YES; } if (![self.previousValue isEqual:anAccountLockOrUnlockedDetails.previousValue]) { return NO; } if (![self.dNewValue isEqual:anAccountLockOrUnlockedDetails.dNewValue]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGAccountLockOrUnlockedDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGAccountLockOrUnlockedDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"previous_value"] = [DBTEAMLOGAccountStateSerializer serialize:valueObj.previousValue]; jsonDict[@"new_value"] = [DBTEAMLOGAccountStateSerializer serialize:valueObj.dNewValue]; return jsonDict; } + (DBTEAMLOGAccountLockOrUnlockedDetails *)deserialize:(NSDictionary *)valueDict { DBTEAMLOGAccountState *previousValue = [DBTEAMLOGAccountStateSerializer deserialize:valueDict[@"previous_value"]]; DBTEAMLOGAccountState *dNewValue = [DBTEAMLOGAccountStateSerializer deserialize:valueDict[@"new_value"]]; return [[DBTEAMLOGAccountLockOrUnlockedDetails alloc] initWithPreviousValue:previousValue dNewValue:dNewValue]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGAccountLockOrUnlockedType.h" #pragma mark - API Object @implementation DBTEAMLOGAccountLockOrUnlockedType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGAccountLockOrUnlockedTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGAccountLockOrUnlockedTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGAccountLockOrUnlockedTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToAccountLockOrUnlockedType:other]; } - (BOOL)isEqualToAccountLockOrUnlockedType:(DBTEAMLOGAccountLockOrUnlockedType *)anAccountLockOrUnlockedType { if (self == anAccountLockOrUnlockedType) { return YES; } if (![self.description_ isEqual:anAccountLockOrUnlockedType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGAccountLockOrUnlockedTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGAccountLockOrUnlockedType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGAccountLockOrUnlockedType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGAccountLockOrUnlockedType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGAccountState.h" #pragma mark - API Object @implementation DBTEAMLOGAccountState #pragma mark - Constructors - (instancetype)initWithLocked { self = [super init]; if (self) { _tag = DBTEAMLOGAccountStateLocked; } return self; } - (instancetype)initWithUnlocked { self = [super init]; if (self) { _tag = DBTEAMLOGAccountStateUnlocked; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBTEAMLOGAccountStateOther; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isLocked { return _tag == DBTEAMLOGAccountStateLocked; } - (BOOL)isUnlocked { return _tag == DBTEAMLOGAccountStateUnlocked; } - (BOOL)isOther { return _tag == DBTEAMLOGAccountStateOther; } - (NSString *)tagName { switch (_tag) { case DBTEAMLOGAccountStateLocked: return @"DBTEAMLOGAccountStateLocked"; case DBTEAMLOGAccountStateUnlocked: return @"DBTEAMLOGAccountStateUnlocked"; case DBTEAMLOGAccountStateOther: return @"DBTEAMLOGAccountStateOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGAccountStateSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGAccountStateSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGAccountStateSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToAccountState:other]; } - (BOOL)isEqualToAccountState:(DBTEAMLOGAccountState *)anAccountState { if (self == anAccountState) { return YES; } if (self.tag != anAccountState.tag) { 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; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGAccountStateSerializer + (NSDictionary *)serialize:(DBTEAMLOGAccountState *)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; } + (DBTEAMLOGAccountState *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; 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 "DBTEAMLOGActionDetails.h" #import "DBTEAMLOGJoinTeamDetails.h" #import "DBTEAMLOGMemberRemoveActionType.h" #import "DBTEAMLOGTeamInviteDetails.h" #pragma mark - API Object @implementation DBTEAMLOGActionDetails @synthesize removeAction = _removeAction; @synthesize teamInviteDetails = _teamInviteDetails; @synthesize teamJoinDetails = _teamJoinDetails; #pragma mark - Constructors - (instancetype)initWithRemoveAction:(DBTEAMLOGMemberRemoveActionType *)removeAction { self = [super init]; if (self) { _tag = DBTEAMLOGActionDetailsRemoveAction; _removeAction = removeAction; } return self; } - (instancetype)initWithTeamInviteDetails:(DBTEAMLOGTeamInviteDetails *)teamInviteDetails { self = [super init]; if (self) { _tag = DBTEAMLOGActionDetailsTeamInviteDetails; _teamInviteDetails = teamInviteDetails; } return self; } - (instancetype)initWithTeamJoinDetails:(DBTEAMLOGJoinTeamDetails *)teamJoinDetails { self = [super init]; if (self) { _tag = DBTEAMLOGActionDetailsTeamJoinDetails; _teamJoinDetails = teamJoinDetails; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBTEAMLOGActionDetailsOther; } return self; } #pragma mark - Instance field accessors - (DBTEAMLOGMemberRemoveActionType *)removeAction { if (![self isRemoveAction]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGActionDetailsRemoveAction, but was %@.", [self tagName]]; } return _removeAction; } - (DBTEAMLOGTeamInviteDetails *)teamInviteDetails { if (![self isTeamInviteDetails]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGActionDetailsTeamInviteDetails, but was %@.", [self tagName]]; } return _teamInviteDetails; } - (DBTEAMLOGJoinTeamDetails *)teamJoinDetails { if (![self isTeamJoinDetails]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGActionDetailsTeamJoinDetails, but was %@.", [self tagName]]; } return _teamJoinDetails; } #pragma mark - Tag state methods - (BOOL)isRemoveAction { return _tag == DBTEAMLOGActionDetailsRemoveAction; } - (BOOL)isTeamInviteDetails { return _tag == DBTEAMLOGActionDetailsTeamInviteDetails; } - (BOOL)isTeamJoinDetails { return _tag == DBTEAMLOGActionDetailsTeamJoinDetails; } - (BOOL)isOther { return _tag == DBTEAMLOGActionDetailsOther; } - (NSString *)tagName { switch (_tag) { case DBTEAMLOGActionDetailsRemoveAction: return @"DBTEAMLOGActionDetailsRemoveAction"; case DBTEAMLOGActionDetailsTeamInviteDetails: return @"DBTEAMLOGActionDetailsTeamInviteDetails"; case DBTEAMLOGActionDetailsTeamJoinDetails: return @"DBTEAMLOGActionDetailsTeamJoinDetails"; case DBTEAMLOGActionDetailsOther: return @"DBTEAMLOGActionDetailsOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGActionDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGActionDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGActionDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToActionDetails:other]; } - (BOOL)isEqualToActionDetails:(DBTEAMLOGActionDetails *)anActionDetails { if (self == anActionDetails) { return YES; } 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; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGActionDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGActionDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; 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; } + (DBTEAMLOGActionDetails *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; 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 "DBTEAMLOGActorLogInfo.h" #import "DBTEAMLOGAppLogInfo.h" #import "DBTEAMLOGResellerLogInfo.h" #import "DBTEAMLOGUserLogInfo.h" #pragma mark - API Object @implementation DBTEAMLOGActorLogInfo @synthesize admin = _admin; @synthesize app = _app; @synthesize reseller = _reseller; @synthesize user = _user; #pragma mark - Constructors - (instancetype)initWithAdmin:(DBTEAMLOGUserLogInfo *)admin { self = [super init]; if (self) { _tag = DBTEAMLOGActorLogInfoAdmin; _admin = admin; } return self; } - (instancetype)initWithAnonymous { self = [super init]; if (self) { _tag = DBTEAMLOGActorLogInfoAnonymous; } return self; } - (instancetype)initWithApp:(DBTEAMLOGAppLogInfo *)app { self = [super init]; if (self) { _tag = DBTEAMLOGActorLogInfoApp; _app = app; } return self; } - (instancetype)initWithDropbox { self = [super init]; if (self) { _tag = DBTEAMLOGActorLogInfoDropbox; } return self; } - (instancetype)initWithReseller:(DBTEAMLOGResellerLogInfo *)reseller { self = [super init]; if (self) { _tag = DBTEAMLOGActorLogInfoReseller; _reseller = reseller; } return self; } - (instancetype)initWithUser:(DBTEAMLOGUserLogInfo *)user { self = [super init]; if (self) { _tag = DBTEAMLOGActorLogInfoUser; _user = user; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBTEAMLOGActorLogInfoOther; } return self; } #pragma mark - Instance field accessors - (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; } - (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)isAdmin { return _tag == DBTEAMLOGActorLogInfoAdmin; } - (BOOL)isAnonymous { return _tag == DBTEAMLOGActorLogInfoAnonymous; } - (BOOL)isApp { return _tag == DBTEAMLOGActorLogInfoApp; } - (BOOL)isDropbox { return _tag == DBTEAMLOGActorLogInfoDropbox; } - (BOOL)isReseller { return _tag == DBTEAMLOGActorLogInfoReseller; } - (BOOL)isUser { return _tag == DBTEAMLOGActorLogInfoUser; } - (BOOL)isOther { return _tag == DBTEAMLOGActorLogInfoOther; } - (NSString *)tagName { switch (_tag) { 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]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGActorLogInfoSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGActorLogInfoSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGActorLogInfoSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToActorLogInfo:other]; } - (BOOL)isEqualToActorLogInfo:(DBTEAMLOGActorLogInfo *)anActorLogInfo { if (self == anActorLogInfo) { return YES; } if (self.tag != anActorLogInfo.tag) { return NO; } switch (_tag) { 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; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGActorLogInfoSerializer + (NSDictionary *)serialize:(DBTEAMLOGActorLogInfo *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; 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; } + (DBTEAMLOGActorLogInfo *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; 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 [[DBTEAMLOGActorLogInfo alloc] initWithOther]; } else { return [[DBTEAMLOGActorLogInfo alloc] initWithOther]; } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGAdminAlertCategoryEnum.h" #pragma mark - API Object @implementation DBTEAMLOGAdminAlertCategoryEnum #pragma mark - Constructors - (instancetype)initWithAccountTakeover { self = [super init]; if (self) { _tag = DBTEAMLOGAdminAlertCategoryEnumAccountTakeover; } return self; } - (instancetype)initWithDataLossProtection { self = [super init]; if (self) { _tag = DBTEAMLOGAdminAlertCategoryEnumDataLossProtection; } return self; } - (instancetype)initWithInformationGovernance { self = [super init]; if (self) { _tag = DBTEAMLOGAdminAlertCategoryEnumInformationGovernance; } return self; } - (instancetype)initWithMalwareSharing { self = [super init]; if (self) { _tag = DBTEAMLOGAdminAlertCategoryEnumMalwareSharing; } return self; } - (instancetype)initWithMassiveFileOperation { self = [super init]; if (self) { _tag = DBTEAMLOGAdminAlertCategoryEnumMassiveFileOperation; } return self; } - (instancetype)initWithNa { self = [super init]; if (self) { _tag = DBTEAMLOGAdminAlertCategoryEnumNa; } return self; } - (instancetype)initWithThreatManagement { self = [super init]; if (self) { _tag = DBTEAMLOGAdminAlertCategoryEnumThreatManagement; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBTEAMLOGAdminAlertCategoryEnumOther; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isAccountTakeover { return _tag == DBTEAMLOGAdminAlertCategoryEnumAccountTakeover; } - (BOOL)isDataLossProtection { return _tag == DBTEAMLOGAdminAlertCategoryEnumDataLossProtection; } - (BOOL)isInformationGovernance { return _tag == DBTEAMLOGAdminAlertCategoryEnumInformationGovernance; } - (BOOL)isMalwareSharing { return _tag == DBTEAMLOGAdminAlertCategoryEnumMalwareSharing; } - (BOOL)isMassiveFileOperation { return _tag == DBTEAMLOGAdminAlertCategoryEnumMassiveFileOperation; } - (BOOL)isNa { return _tag == DBTEAMLOGAdminAlertCategoryEnumNa; } - (BOOL)isThreatManagement { return _tag == DBTEAMLOGAdminAlertCategoryEnumThreatManagement; } - (BOOL)isOther { return _tag == DBTEAMLOGAdminAlertCategoryEnumOther; } - (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"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGAdminAlertCategoryEnumSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGAdminAlertCategoryEnumSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGAdminAlertCategoryEnumSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToAdminAlertCategoryEnum:other]; } - (BOOL)isEqualToAdminAlertCategoryEnum:(DBTEAMLOGAdminAlertCategoryEnum *)anAdminAlertCategoryEnum { if (self == anAdminAlertCategoryEnum) { return YES; } 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; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGAdminAlertCategoryEnumSerializer + (NSDictionary *)serialize:(DBTEAMLOGAdminAlertCategoryEnum *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; 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; } + (DBTEAMLOGAdminAlertCategoryEnum *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; 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 "DBTEAMLOGAdminAlertGeneralStateEnum.h" #pragma mark - API Object @implementation DBTEAMLOGAdminAlertGeneralStateEnum #pragma mark - Constructors - (instancetype)initWithActive { self = [super init]; if (self) { _tag = DBTEAMLOGAdminAlertGeneralStateEnumActive; } return self; } - (instancetype)initWithDismissed { self = [super init]; if (self) { _tag = DBTEAMLOGAdminAlertGeneralStateEnumDismissed; } return self; } - (instancetype)initWithInProgress { self = [super init]; if (self) { _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; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBTEAMLOGAdminAlertGeneralStateEnumOther; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isActive { return _tag == DBTEAMLOGAdminAlertGeneralStateEnumActive; } - (BOOL)isDismissed { return _tag == DBTEAMLOGAdminAlertGeneralStateEnumDismissed; } - (BOOL)isInProgress { return _tag == DBTEAMLOGAdminAlertGeneralStateEnumInProgress; } - (BOOL)isNa { return _tag == DBTEAMLOGAdminAlertGeneralStateEnumNa; } - (BOOL)isResolved { return _tag == DBTEAMLOGAdminAlertGeneralStateEnumResolved; } - (BOOL)isOther { return _tag == DBTEAMLOGAdminAlertGeneralStateEnumOther; } - (NSString *)tagName { switch (_tag) { 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]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGAdminAlertGeneralStateEnumSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGAdminAlertGeneralStateEnumSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGAdminAlertGeneralStateEnumSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 DBTEAMLOGAdminAlertGeneralStateEnumActive: result = prime * result + [[self tagName] hash]; break; case DBTEAMLOGAdminAlertGeneralStateEnumDismissed: result = prime * result + [[self tagName] hash]; break; case DBTEAMLOGAdminAlertGeneralStateEnumInProgress: result = prime * result + [[self tagName] hash]; 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToAdminAlertGeneralStateEnum:other]; } - (BOOL)isEqualToAdminAlertGeneralStateEnum:(DBTEAMLOGAdminAlertGeneralStateEnum *)anAdminAlertGeneralStateEnum { if (self == anAdminAlertGeneralStateEnum) { return YES; } if (self.tag != anAdminAlertGeneralStateEnum.tag) { return NO; } switch (_tag) { 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; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGAdminAlertGeneralStateEnumSerializer + (NSDictionary *)serialize:(DBTEAMLOGAdminAlertGeneralStateEnum *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; 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; } + (DBTEAMLOGAdminAlertGeneralStateEnum *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; 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 [[DBTEAMLOGAdminAlertGeneralStateEnum alloc] initWithOther]; } else { return [[DBTEAMLOGAdminAlertGeneralStateEnum alloc] initWithOther]; } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGAdminAlertSeverityEnum.h" #pragma mark - API Object @implementation DBTEAMLOGAdminAlertSeverityEnum #pragma mark - Constructors - (instancetype)initWithHigh { self = [super init]; if (self) { _tag = DBTEAMLOGAdminAlertSeverityEnumHigh; } return self; } - (instancetype)initWithInfo { self = [super init]; if (self) { _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; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBTEAMLOGAdminAlertSeverityEnumOther; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isHigh { return _tag == DBTEAMLOGAdminAlertSeverityEnumHigh; } - (BOOL)isInfo { return _tag == DBTEAMLOGAdminAlertSeverityEnumInfo; } - (BOOL)isLow { return _tag == DBTEAMLOGAdminAlertSeverityEnumLow; } - (BOOL)isMedium { return _tag == DBTEAMLOGAdminAlertSeverityEnumMedium; } - (BOOL)isNa { return _tag == DBTEAMLOGAdminAlertSeverityEnumNa; } - (BOOL)isOther { return _tag == DBTEAMLOGAdminAlertSeverityEnumOther; } - (NSString *)tagName { switch (_tag) { 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]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGAdminAlertSeverityEnumSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGAdminAlertSeverityEnumSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGAdminAlertSeverityEnumSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 DBTEAMLOGAdminAlertSeverityEnumHigh: result = prime * result + [[self tagName] hash]; break; case DBTEAMLOGAdminAlertSeverityEnumInfo: result = prime * result + [[self tagName] hash]; 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToAdminAlertSeverityEnum:other]; } - (BOOL)isEqualToAdminAlertSeverityEnum:(DBTEAMLOGAdminAlertSeverityEnum *)anAdminAlertSeverityEnum { if (self == anAdminAlertSeverityEnum) { return YES; } if (self.tag != anAdminAlertSeverityEnum.tag) { return NO; } switch (_tag) { 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; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGAdminAlertSeverityEnumSerializer + (NSDictionary *)serialize:(DBTEAMLOGAdminAlertSeverityEnum *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; 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; } + (DBTEAMLOGAdminAlertSeverityEnum *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; 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 [[DBTEAMLOGAdminAlertSeverityEnum alloc] initWithOther]; } else { return [[DBTEAMLOGAdminAlertSeverityEnum alloc] initWithOther]; } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGAdminAlertingAlertConfiguration.h" #import "DBTEAMLOGAdminAlertingAlertSensitivity.h" #import "DBTEAMLOGAdminAlertingAlertStatePolicy.h" #import "DBTEAMLOGRecipientsConfiguration.h" #pragma mark - API Object @implementation DBTEAMLOGAdminAlertingAlertConfiguration #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)initWithHigh { self = [super init]; if (self) { _tag = DBTEAMLOGAdminAlertingAlertSensitivityHigh; } return self; } - (instancetype)initWithHighest { self = [super init]; if (self) { _tag = DBTEAMLOGAdminAlertingAlertSensitivityHighest; } return self; } - (instancetype)initWithInvalid { self = [super init]; if (self) { _tag = DBTEAMLOGAdminAlertingAlertSensitivityInvalid; } return self; } - (instancetype)initWithLow { self = [super init]; if (self) { _tag = DBTEAMLOGAdminAlertingAlertSensitivityLow; } return self; } - (instancetype)initWithLowest { self = [super init]; if (self) { _tag = DBTEAMLOGAdminAlertingAlertSensitivityLowest; } return self; } - (instancetype)initWithMedium { self = [super init]; if (self) { _tag = DBTEAMLOGAdminAlertingAlertSensitivityMedium; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBTEAMLOGAdminAlertingAlertSensitivityOther; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isHigh { return _tag == DBTEAMLOGAdminAlertingAlertSensitivityHigh; } - (BOOL)isHighest { return _tag == DBTEAMLOGAdminAlertingAlertSensitivityHighest; } - (BOOL)isInvalid { return _tag == DBTEAMLOGAdminAlertingAlertSensitivityInvalid; } - (BOOL)isLow { return _tag == DBTEAMLOGAdminAlertingAlertSensitivityLow; } - (BOOL)isLowest { return _tag == DBTEAMLOGAdminAlertingAlertSensitivityLowest; } - (BOOL)isMedium { return _tag == DBTEAMLOGAdminAlertingAlertSensitivityMedium; } - (BOOL)isOther { return _tag == DBTEAMLOGAdminAlertingAlertSensitivityOther; } - (NSString *)tagName { switch (_tag) { 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]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGAdminAlertingAlertSensitivitySerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGAdminAlertingAlertSensitivitySerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGAdminAlertingAlertSensitivitySerializer serialize:self] description]; } #pragma mark - Copyable method - (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 DBTEAMLOGAdminAlertingAlertSensitivityHigh: result = prime * result + [[self tagName] hash]; 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToAdminAlertingAlertSensitivity:other]; } - (BOOL)isEqualToAdminAlertingAlertSensitivity: (DBTEAMLOGAdminAlertingAlertSensitivity *)anAdminAlertingAlertSensitivity { if (self == anAdminAlertingAlertSensitivity) { return YES; } if (self.tag != anAdminAlertingAlertSensitivity.tag) { return NO; } switch (_tag) { 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; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGAdminAlertingAlertSensitivitySerializer + (NSDictionary *)serialize:(DBTEAMLOGAdminAlertingAlertSensitivity *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; 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; } + (DBTEAMLOGAdminAlertingAlertSensitivity *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; 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 [[DBTEAMLOGAdminAlertingAlertSensitivity alloc] initWithOther]; } else { return [[DBTEAMLOGAdminAlertingAlertSensitivity alloc] initWithOther]; } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGAdminAlertCategoryEnum.h" #import "DBTEAMLOGAdminAlertGeneralStateEnum.h" #import "DBTEAMLOGAdminAlertSeverityEnum.h" #import "DBTEAMLOGAdminAlertingAlertStateChangedDetails.h" #pragma mark - API Object @implementation DBTEAMLOGAdminAlertingAlertStateChangedDetails #pragma mark - Constructors - (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 [DBTEAMLOGAdminAlertingAlertStateChangedDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGAdminAlertingAlertStateChangedDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGAdminAlertingAlertStateChangedDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToAdminAlertingAlertStateChangedDetails:other]; } - (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; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGAdminAlertingAlertStateChangedDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGAdminAlertingAlertStateChangedDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; 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; } + (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 [[DBTEAMLOGAdminAlertingAlertStateChangedDetails alloc] initWithAlertName:alertName alertSeverity:alertSeverity alertCategory:alertCategory alertInstanceId:alertInstanceId previousValue:previousValue dNewValue:dNewValue]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGAdminAlertingAlertStateChangedType.h" #pragma mark - API Object @implementation DBTEAMLOGAdminAlertingAlertStateChangedType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGAdminAlertingAlertStateChangedTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGAdminAlertingAlertStateChangedTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGAdminAlertingAlertStateChangedTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToAdminAlertingAlertStateChangedType:other]; } - (BOOL)isEqualToAdminAlertingAlertStateChangedType: (DBTEAMLOGAdminAlertingAlertStateChangedType *)anAdminAlertingAlertStateChangedType { if (self == anAdminAlertingAlertStateChangedType) { return YES; } if (![self.description_ isEqual:anAdminAlertingAlertStateChangedType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGAdminAlertingAlertStateChangedTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGAdminAlertingAlertStateChangedType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGAdminAlertingAlertStateChangedType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGAdminAlertingAlertStateChangedType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGAdminAlertingAlertStatePolicy.h" #pragma mark - API Object @implementation DBTEAMLOGAdminAlertingAlertStatePolicy #pragma mark - Constructors - (instancetype)initWithOff { self = [super init]; if (self) { _tag = DBTEAMLOGAdminAlertingAlertStatePolicyOff; } return self; } - (instancetype)initWithOn { self = [super init]; if (self) { _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 [DBTEAMLOGAdminAlertingAlertStatePolicySerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGAdminAlertingAlertStatePolicySerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGAdminAlertingAlertStatePolicySerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToAdminAlertingAlertStatePolicy:other]; } - (BOOL)isEqualToAdminAlertingAlertStatePolicy: (DBTEAMLOGAdminAlertingAlertStatePolicy *)anAdminAlertingAlertStatePolicy { if (self == anAdminAlertingAlertStatePolicy) { return YES; } 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; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGAdminAlertingAlertStatePolicySerializer + (NSDictionary *)serialize:(DBTEAMLOGAdminAlertingAlertStatePolicy *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; 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; } + (DBTEAMLOGAdminAlertingAlertStatePolicy *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; 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 "DBTEAMLOGAdminAlertingAlertConfiguration.h" #import "DBTEAMLOGAdminAlertingChangedAlertConfigDetails.h" #pragma mark - API Object @implementation DBTEAMLOGAdminAlertingChangedAlertConfigDetails #pragma mark - Constructors - (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) { _alertName = alertName; _previousAlertConfig = previousAlertConfig; _dNewAlertConfig = dNewAlertConfig; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGAdminAlertingChangedAlertConfigDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGAdminAlertingChangedAlertConfigDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGAdminAlertingChangedAlertConfigDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.alertName hash]; result = prime * result + [self.previousAlertConfig hash]; result = prime * result + [self.dNewAlertConfig hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToAdminAlertingChangedAlertConfigDetails:other]; } - (BOOL)isEqualToAdminAlertingChangedAlertConfigDetails: (DBTEAMLOGAdminAlertingChangedAlertConfigDetails *)anAdminAlertingChangedAlertConfigDetails { if (self == anAdminAlertingChangedAlertConfigDetails) { return YES; } 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; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGAdminAlertingChangedAlertConfigDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGAdminAlertingChangedAlertConfigDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"alert_name"] = valueObj.alertName; jsonDict[@"previous_alert_config"] = [DBTEAMLOGAdminAlertingAlertConfigurationSerializer serialize:valueObj.previousAlertConfig]; jsonDict[@"new_alert_config"] = [DBTEAMLOGAdminAlertingAlertConfigurationSerializer serialize:valueObj.dNewAlertConfig]; return jsonDict; } + (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 [[DBTEAMLOGAdminAlertingChangedAlertConfigDetails alloc] initWithAlertName:alertName previousAlertConfig:previousAlertConfig dNewAlertConfig:dNewAlertConfig]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGAdminAlertingChangedAlertConfigType.h" #pragma mark - API Object @implementation DBTEAMLOGAdminAlertingChangedAlertConfigType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGAdminAlertingChangedAlertConfigTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGAdminAlertingChangedAlertConfigTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGAdminAlertingChangedAlertConfigTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToAdminAlertingChangedAlertConfigType:other]; } - (BOOL)isEqualToAdminAlertingChangedAlertConfigType: (DBTEAMLOGAdminAlertingChangedAlertConfigType *)anAdminAlertingChangedAlertConfigType { if (self == anAdminAlertingChangedAlertConfigType) { return YES; } if (![self.description_ isEqual:anAdminAlertingChangedAlertConfigType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGAdminAlertingChangedAlertConfigTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGAdminAlertingChangedAlertConfigType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGAdminAlertingChangedAlertConfigType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGAdminAlertingChangedAlertConfigType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGAdminAlertCategoryEnum.h" #import "DBTEAMLOGAdminAlertSeverityEnum.h" #import "DBTEAMLOGAdminAlertingTriggeredAlertDetails.h" #pragma mark - API Object @implementation DBTEAMLOGAdminAlertingTriggeredAlertDetails #pragma mark - Constructors - (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) { _alertName = alertName; _alertSeverity = alertSeverity; _alertCategory = alertCategory; _alertInstanceId = alertInstanceId; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGAdminAlertingTriggeredAlertDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGAdminAlertingTriggeredAlertDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGAdminAlertingTriggeredAlertDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (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]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToAdminAlertingTriggeredAlertDetails:other]; } - (BOOL)isEqualToAdminAlertingTriggeredAlertDetails: (DBTEAMLOGAdminAlertingTriggeredAlertDetails *)anAdminAlertingTriggeredAlertDetails { if (self == anAdminAlertingTriggeredAlertDetails) { return YES; } if (![self.alertName isEqual:anAdminAlertingTriggeredAlertDetails.alertName]) { 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; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGAdminAlertingTriggeredAlertDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGAdminAlertingTriggeredAlertDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; 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; } + (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 [[DBTEAMLOGAdminAlertingTriggeredAlertDetails alloc] initWithAlertName:alertName alertSeverity:alertSeverity alertCategory:alertCategory alertInstanceId:alertInstanceId]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGAdminAlertingTriggeredAlertType.h" #pragma mark - API Object @implementation DBTEAMLOGAdminAlertingTriggeredAlertType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGAdminAlertingTriggeredAlertTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGAdminAlertingTriggeredAlertTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGAdminAlertingTriggeredAlertTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToAdminAlertingTriggeredAlertType:other]; } - (BOOL)isEqualToAdminAlertingTriggeredAlertType: (DBTEAMLOGAdminAlertingTriggeredAlertType *)anAdminAlertingTriggeredAlertType { if (self == anAdminAlertingTriggeredAlertType) { return YES; } if (![self.description_ isEqual:anAdminAlertingTriggeredAlertType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGAdminAlertingTriggeredAlertTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGAdminAlertingTriggeredAlertType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGAdminAlertingTriggeredAlertType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGAdminAlertingTriggeredAlertType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGAdminConsoleAppPermission.h" #pragma mark - API Object @implementation DBTEAMLOGAdminConsoleAppPermission #pragma mark - Constructors - (instancetype)initWithDefaultForListedApps { self = [super init]; if (self) { _tag = DBTEAMLOGAdminConsoleAppPermissionDefaultForListedApps; } return self; } - (instancetype)initWithDefaultForUnlistedApps { self = [super init]; if (self) { _tag = DBTEAMLOGAdminConsoleAppPermissionDefaultForUnlistedApps; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBTEAMLOGAdminConsoleAppPermissionOther; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isDefaultForListedApps { return _tag == DBTEAMLOGAdminConsoleAppPermissionDefaultForListedApps; } - (BOOL)isDefaultForUnlistedApps { return _tag == DBTEAMLOGAdminConsoleAppPermissionDefaultForUnlistedApps; } - (BOOL)isOther { return _tag == DBTEAMLOGAdminConsoleAppPermissionOther; } - (NSString *)tagName { switch (_tag) { case DBTEAMLOGAdminConsoleAppPermissionDefaultForListedApps: return @"DBTEAMLOGAdminConsoleAppPermissionDefaultForListedApps"; case DBTEAMLOGAdminConsoleAppPermissionDefaultForUnlistedApps: return @"DBTEAMLOGAdminConsoleAppPermissionDefaultForUnlistedApps"; case DBTEAMLOGAdminConsoleAppPermissionOther: return @"DBTEAMLOGAdminConsoleAppPermissionOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGAdminConsoleAppPermissionSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGAdminConsoleAppPermissionSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGAdminConsoleAppPermissionSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToAdminConsoleAppPermission:other]; } - (BOOL)isEqualToAdminConsoleAppPermission:(DBTEAMLOGAdminConsoleAppPermission *)anAdminConsoleAppPermission { if (self == anAdminConsoleAppPermission) { return YES; } if (self.tag != anAdminConsoleAppPermission.tag) { 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; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGAdminConsoleAppPermissionSerializer + (NSDictionary *)serialize:(DBTEAMLOGAdminConsoleAppPermission *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; 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; } + (DBTEAMLOGAdminConsoleAppPermission *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; 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 "DBTEAMLOGAdminConsoleAppPolicy.h" #pragma mark - API Object @implementation DBTEAMLOGAdminConsoleAppPolicy #pragma mark - Constructors - (instancetype)initWithAllow { self = [super init]; if (self) { _tag = DBTEAMLOGAdminConsoleAppPolicyAllow; } return self; } - (instancetype)initWithBlock { self = [super init]; if (self) { _tag = DBTEAMLOGAdminConsoleAppPolicyBlock; } return self; } - (instancetype)initWithDefault_ { self = [super init]; if (self) { _tag = DBTEAMLOGAdminConsoleAppPolicyDefault_; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBTEAMLOGAdminConsoleAppPolicyOther; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isAllow { return _tag == DBTEAMLOGAdminConsoleAppPolicyAllow; } - (BOOL)isBlock { return _tag == DBTEAMLOGAdminConsoleAppPolicyBlock; } - (BOOL)isDefault_ { return _tag == DBTEAMLOGAdminConsoleAppPolicyDefault_; } - (BOOL)isOther { return _tag == DBTEAMLOGAdminConsoleAppPolicyOther; } - (NSString *)tagName { switch (_tag) { 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]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGAdminConsoleAppPolicySerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGAdminConsoleAppPolicySerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGAdminConsoleAppPolicySerializer serialize:self] description]; } #pragma mark - Copyable method - (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 DBTEAMLOGAdminConsoleAppPolicyAllow: result = prime * result + [[self tagName] hash]; break; case DBTEAMLOGAdminConsoleAppPolicyBlock: result = prime * result + [[self tagName] hash]; break; case DBTEAMLOGAdminConsoleAppPolicyDefault_: result = prime * result + [[self tagName] hash]; break; case DBTEAMLOGAdminConsoleAppPolicyOther: 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 isEqualToAdminConsoleAppPolicy:other]; } - (BOOL)isEqualToAdminConsoleAppPolicy:(DBTEAMLOGAdminConsoleAppPolicy *)anAdminConsoleAppPolicy { if (self == anAdminConsoleAppPolicy) { return YES; } if (self.tag != anAdminConsoleAppPolicy.tag) { return NO; } switch (_tag) { 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; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGAdminConsoleAppPolicySerializer + (NSDictionary *)serialize:(DBTEAMLOGAdminConsoleAppPolicy *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; 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; } + (DBTEAMLOGAdminConsoleAppPolicy *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; 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 [[DBTEAMLOGAdminConsoleAppPolicy alloc] initWithOther]; } else { return [[DBTEAMLOGAdminConsoleAppPolicy alloc] initWithOther]; } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGAdminEmailRemindersChangedDetails.h" #import "DBTEAMLOGAdminEmailRemindersPolicy.h" #pragma mark - API Object @implementation DBTEAMLOGAdminEmailRemindersChangedDetails #pragma mark - Constructors - (instancetype)initWithDNewValue:(DBTEAMLOGAdminEmailRemindersPolicy *)dNewValue previousValue:(DBTEAMLOGAdminEmailRemindersPolicy *)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 [DBTEAMLOGAdminEmailRemindersChangedDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGAdminEmailRemindersChangedDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGAdminEmailRemindersChangedDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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 isEqualToAdminEmailRemindersChangedDetails:other]; } - (BOOL)isEqualToAdminEmailRemindersChangedDetails: (DBTEAMLOGAdminEmailRemindersChangedDetails *)anAdminEmailRemindersChangedDetails { if (self == anAdminEmailRemindersChangedDetails) { return YES; } if (![self.dNewValue isEqual:anAdminEmailRemindersChangedDetails.dNewValue]) { return NO; } if (![self.previousValue isEqual:anAdminEmailRemindersChangedDetails.previousValue]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGAdminEmailRemindersChangedDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGAdminEmailRemindersChangedDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"new_value"] = [DBTEAMLOGAdminEmailRemindersPolicySerializer serialize:valueObj.dNewValue]; jsonDict[@"previous_value"] = [DBTEAMLOGAdminEmailRemindersPolicySerializer serialize:valueObj.previousValue]; return jsonDict; } + (DBTEAMLOGAdminEmailRemindersChangedDetails *)deserialize:(NSDictionary *)valueDict { DBTEAMLOGAdminEmailRemindersPolicy *dNewValue = [DBTEAMLOGAdminEmailRemindersPolicySerializer deserialize:valueDict[@"new_value"]]; DBTEAMLOGAdminEmailRemindersPolicy *previousValue = [DBTEAMLOGAdminEmailRemindersPolicySerializer deserialize:valueDict[@"previous_value"]]; return [[DBTEAMLOGAdminEmailRemindersChangedDetails alloc] initWithDNewValue:dNewValue previousValue:previousValue]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGAdminEmailRemindersChangedType.h" #pragma mark - API Object @implementation DBTEAMLOGAdminEmailRemindersChangedType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGAdminEmailRemindersChangedTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGAdminEmailRemindersChangedTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGAdminEmailRemindersChangedTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToAdminEmailRemindersChangedType:other]; } - (BOOL)isEqualToAdminEmailRemindersChangedType: (DBTEAMLOGAdminEmailRemindersChangedType *)anAdminEmailRemindersChangedType { if (self == anAdminEmailRemindersChangedType) { return YES; } if (![self.description_ isEqual:anAdminEmailRemindersChangedType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGAdminEmailRemindersChangedTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGAdminEmailRemindersChangedType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGAdminEmailRemindersChangedType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGAdminEmailRemindersChangedType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGAdminEmailRemindersPolicy.h" #pragma mark - API Object @implementation DBTEAMLOGAdminEmailRemindersPolicy #pragma mark - Constructors - (instancetype)initWithDefault_ { self = [super init]; if (self) { _tag = DBTEAMLOGAdminEmailRemindersPolicyDefault_; } return self; } - (instancetype)initWithDisabled { self = [super init]; if (self) { _tag = DBTEAMLOGAdminEmailRemindersPolicyDisabled; } return self; } - (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 [DBTEAMLOGAdminEmailRemindersPolicySerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGAdminEmailRemindersPolicySerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGAdminEmailRemindersPolicySerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToAdminEmailRemindersPolicy:other]; } - (BOOL)isEqualToAdminEmailRemindersPolicy:(DBTEAMLOGAdminEmailRemindersPolicy *)anAdminEmailRemindersPolicy { if (self == anAdminEmailRemindersPolicy) { return YES; } if (self.tag != anAdminEmailRemindersPolicy.tag) { 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; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGAdminEmailRemindersPolicySerializer + (NSDictionary *)serialize:(DBTEAMLOGAdminEmailRemindersPolicy *)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; } + (DBTEAMLOGAdminEmailRemindersPolicy *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; 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 "DBTEAMLOGAdminRole.h" #pragma mark - API Object @implementation DBTEAMLOGAdminRole #pragma mark - Constructors - (instancetype)initWithBillingAdmin { self = [super init]; if (self) { _tag = DBTEAMLOGAdminRoleBillingAdmin; } return self; } - (instancetype)initWithComplianceAdmin { self = [super init]; if (self) { _tag = DBTEAMLOGAdminRoleComplianceAdmin; } return self; } - (instancetype)initWithContentAdmin { self = [super init]; if (self) { _tag = DBTEAMLOGAdminRoleContentAdmin; } return self; } - (instancetype)initWithLimitedAdmin { self = [super init]; if (self) { _tag = DBTEAMLOGAdminRoleLimitedAdmin; } return self; } - (instancetype)initWithMemberOnly { self = [super init]; if (self) { _tag = DBTEAMLOGAdminRoleMemberOnly; } return self; } - (instancetype)initWithReportingAdmin { self = [super init]; if (self) { _tag = DBTEAMLOGAdminRoleReportingAdmin; } return self; } - (instancetype)initWithSecurityAdmin { self = [super init]; if (self) { _tag = DBTEAMLOGAdminRoleSecurityAdmin; } return self; } - (instancetype)initWithSupportAdmin { self = [super init]; if (self) { _tag = DBTEAMLOGAdminRoleSupportAdmin; } return self; } - (instancetype)initWithTeamAdmin { self = [super init]; if (self) { _tag = DBTEAMLOGAdminRoleTeamAdmin; } return self; } - (instancetype)initWithUserManagementAdmin { self = [super init]; if (self) { _tag = DBTEAMLOGAdminRoleUserManagementAdmin; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBTEAMLOGAdminRoleOther; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isBillingAdmin { return _tag == DBTEAMLOGAdminRoleBillingAdmin; } - (BOOL)isComplianceAdmin { return _tag == DBTEAMLOGAdminRoleComplianceAdmin; } - (BOOL)isContentAdmin { return _tag == DBTEAMLOGAdminRoleContentAdmin; } - (BOOL)isLimitedAdmin { return _tag == DBTEAMLOGAdminRoleLimitedAdmin; } - (BOOL)isMemberOnly { return _tag == DBTEAMLOGAdminRoleMemberOnly; } - (BOOL)isReportingAdmin { return _tag == DBTEAMLOGAdminRoleReportingAdmin; } - (BOOL)isSecurityAdmin { return _tag == DBTEAMLOGAdminRoleSecurityAdmin; } - (BOOL)isSupportAdmin { return _tag == DBTEAMLOGAdminRoleSupportAdmin; } - (BOOL)isTeamAdmin { return _tag == DBTEAMLOGAdminRoleTeamAdmin; } - (BOOL)isUserManagementAdmin { return _tag == DBTEAMLOGAdminRoleUserManagementAdmin; } - (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 isEqualToAdminRole:other]; } - (BOOL)isEqualToAdminRole:(DBTEAMLOGAdminRole *)anAdminRole { if (self == anAdminRole) { return YES; } 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; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGAdminRoleSerializer + (NSDictionary *)serialize:(DBTEAMLOGAdminRole *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; 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; } + (DBTEAMLOGAdminRole *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; 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 "DBTEAMLOGAlertRecipientsSettingType.h" #pragma mark - API Object @implementation DBTEAMLOGAlertRecipientsSettingType #pragma mark - Constructors - (instancetype)initWithCustomList { self = [super init]; if (self) { _tag = DBTEAMLOGAlertRecipientsSettingTypeCustomList; } return self; } - (instancetype)initWithInvalid { self = [super init]; if (self) { _tag = DBTEAMLOGAlertRecipientsSettingTypeInvalid; } return self; } - (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 [DBTEAMLOGAlertRecipientsSettingTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGAlertRecipientsSettingTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGAlertRecipientsSettingTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToAlertRecipientsSettingType:other]; } - (BOOL)isEqualToAlertRecipientsSettingType:(DBTEAMLOGAlertRecipientsSettingType *)anAlertRecipientsSettingType { if (self == anAlertRecipientsSettingType) { return YES; } if (self.tag != anAlertRecipientsSettingType.tag) { 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; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGAlertRecipientsSettingTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGAlertRecipientsSettingType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; 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; } + (DBTEAMLOGAlertRecipientsSettingType *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; 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 "DBTEAMLOGAllowDownloadDisabledDetails.h" #pragma mark - API Object @implementation DBTEAMLOGAllowDownloadDisabledDetails #pragma mark - Constructors - (instancetype)initDefault { self = [super init]; if (self) { } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGAllowDownloadDisabledDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGAllowDownloadDisabledDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGAllowDownloadDisabledDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 isEqualToAllowDownloadDisabledDetails:other]; } - (BOOL)isEqualToAllowDownloadDisabledDetails:(DBTEAMLOGAllowDownloadDisabledDetails *)anAllowDownloadDisabledDetails { if (self == anAllowDownloadDisabledDetails) { return YES; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGAllowDownloadDisabledDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGAllowDownloadDisabledDetails *)valueObj { #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; return jsonDict; } + (DBTEAMLOGAllowDownloadDisabledDetails *)deserialize:(NSDictionary *)valueDict { #pragma unused(valueDict) return [[DBTEAMLOGAllowDownloadDisabledDetails alloc] initDefault]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGAllowDownloadDisabledType.h" #pragma mark - API Object @implementation DBTEAMLOGAllowDownloadDisabledType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGAllowDownloadDisabledTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGAllowDownloadDisabledTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGAllowDownloadDisabledTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToAllowDownloadDisabledType:other]; } - (BOOL)isEqualToAllowDownloadDisabledType:(DBTEAMLOGAllowDownloadDisabledType *)anAllowDownloadDisabledType { if (self == anAllowDownloadDisabledType) { return YES; } if (![self.description_ isEqual:anAllowDownloadDisabledType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGAllowDownloadDisabledTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGAllowDownloadDisabledType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGAllowDownloadDisabledType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGAllowDownloadDisabledType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGAllowDownloadEnabledDetails.h" #pragma mark - API Object @implementation DBTEAMLOGAllowDownloadEnabledDetails #pragma mark - Constructors - (instancetype)initDefault { self = [super init]; if (self) { } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGAllowDownloadEnabledDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGAllowDownloadEnabledDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGAllowDownloadEnabledDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 isEqualToAllowDownloadEnabledDetails:other]; } - (BOOL)isEqualToAllowDownloadEnabledDetails:(DBTEAMLOGAllowDownloadEnabledDetails *)anAllowDownloadEnabledDetails { if (self == anAllowDownloadEnabledDetails) { return YES; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGAllowDownloadEnabledDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGAllowDownloadEnabledDetails *)valueObj { #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; return jsonDict; } + (DBTEAMLOGAllowDownloadEnabledDetails *)deserialize:(NSDictionary *)valueDict { #pragma unused(valueDict) return [[DBTEAMLOGAllowDownloadEnabledDetails alloc] initDefault]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGAllowDownloadEnabledType.h" #pragma mark - API Object @implementation DBTEAMLOGAllowDownloadEnabledType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGAllowDownloadEnabledTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGAllowDownloadEnabledTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGAllowDownloadEnabledTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToAllowDownloadEnabledType:other]; } - (BOOL)isEqualToAllowDownloadEnabledType:(DBTEAMLOGAllowDownloadEnabledType *)anAllowDownloadEnabledType { if (self == anAllowDownloadEnabledType) { return YES; } if (![self.description_ isEqual:anAllowDownloadEnabledType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGAllowDownloadEnabledTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGAllowDownloadEnabledType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGAllowDownloadEnabledType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGAllowDownloadEnabledType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGApiSessionLogInfo.h" #pragma mark - API Object @implementation DBTEAMLOGApiSessionLogInfo #pragma mark - Constructors - (instancetype)initWithRequestId:(NSString *)requestId { [DBStoneValidators nonnullValidator:nil](requestId); self = [super init]; if (self) { _requestId = requestId; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGApiSessionLogInfoSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGApiSessionLogInfoSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGApiSessionLogInfoSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.requestId hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToApiSessionLogInfo:other]; } - (BOOL)isEqualToApiSessionLogInfo:(DBTEAMLOGApiSessionLogInfo *)anApiSessionLogInfo { if (self == anApiSessionLogInfo) { return YES; } if (![self.requestId isEqual:anApiSessionLogInfo.requestId]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGApiSessionLogInfoSerializer + (NSDictionary *)serialize:(DBTEAMLOGApiSessionLogInfo *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"request_id"] = valueObj.requestId; return jsonDict; } + (DBTEAMLOGApiSessionLogInfo *)deserialize:(NSDictionary *)valueDict { NSString *requestId = valueDict[@"request_id"]; return [[DBTEAMLOGApiSessionLogInfo alloc] initWithRequestId:requestId]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGAppBlockedByPermissionsDetails.h" #import "DBTEAMLOGAppLogInfo.h" #pragma mark - API Object @implementation DBTEAMLOGAppBlockedByPermissionsDetails #pragma mark - Constructors - (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 [DBTEAMLOGAppBlockedByPermissionsDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGAppBlockedByPermissionsDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGAppBlockedByPermissionsDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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; } return [self isEqualToAppBlockedByPermissionsDetails:other]; } - (BOOL)isEqualToAppBlockedByPermissionsDetails: (DBTEAMLOGAppBlockedByPermissionsDetails *)anAppBlockedByPermissionsDetails { if (self == anAppBlockedByPermissionsDetails) { return YES; } if (![self.appInfo isEqual:anAppBlockedByPermissionsDetails.appInfo]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGAppBlockedByPermissionsDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGAppBlockedByPermissionsDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"app_info"] = [DBTEAMLOGAppLogInfoSerializer serialize:valueObj.appInfo]; return jsonDict; } + (DBTEAMLOGAppBlockedByPermissionsDetails *)deserialize:(NSDictionary *)valueDict { DBTEAMLOGAppLogInfo *appInfo = [DBTEAMLOGAppLogInfoSerializer deserialize:valueDict[@"app_info"]]; return [[DBTEAMLOGAppBlockedByPermissionsDetails alloc] initWithAppInfo:appInfo]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGAppBlockedByPermissionsType.h" #pragma mark - API Object @implementation DBTEAMLOGAppBlockedByPermissionsType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGAppBlockedByPermissionsTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGAppBlockedByPermissionsTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGAppBlockedByPermissionsTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToAppBlockedByPermissionsType:other]; } - (BOOL)isEqualToAppBlockedByPermissionsType:(DBTEAMLOGAppBlockedByPermissionsType *)anAppBlockedByPermissionsType { if (self == anAppBlockedByPermissionsType) { return YES; } if (![self.description_ isEqual:anAppBlockedByPermissionsType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGAppBlockedByPermissionsTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGAppBlockedByPermissionsType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGAppBlockedByPermissionsType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGAppBlockedByPermissionsType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGAppLinkTeamDetails.h" #import "DBTEAMLOGAppLogInfo.h" #pragma mark - API Object @implementation DBTEAMLOGAppLinkTeamDetails #pragma mark - Constructors - (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 [DBTEAMLOGAppLinkTeamDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGAppLinkTeamDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGAppLinkTeamDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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; } return [self isEqualToAppLinkTeamDetails:other]; } - (BOOL)isEqualToAppLinkTeamDetails:(DBTEAMLOGAppLinkTeamDetails *)anAppLinkTeamDetails { if (self == anAppLinkTeamDetails) { return YES; } if (![self.appInfo isEqual:anAppLinkTeamDetails.appInfo]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGAppLinkTeamDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGAppLinkTeamDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"app_info"] = [DBTEAMLOGAppLogInfoSerializer serialize:valueObj.appInfo]; return jsonDict; } + (DBTEAMLOGAppLinkTeamDetails *)deserialize:(NSDictionary *)valueDict { DBTEAMLOGAppLogInfo *appInfo = [DBTEAMLOGAppLogInfoSerializer deserialize:valueDict[@"app_info"]]; return [[DBTEAMLOGAppLinkTeamDetails alloc] initWithAppInfo:appInfo]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGAppLinkTeamType.h" #pragma mark - API Object @implementation DBTEAMLOGAppLinkTeamType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGAppLinkTeamTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGAppLinkTeamTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGAppLinkTeamTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToAppLinkTeamType:other]; } - (BOOL)isEqualToAppLinkTeamType:(DBTEAMLOGAppLinkTeamType *)anAppLinkTeamType { if (self == anAppLinkTeamType) { return YES; } if (![self.description_ isEqual:anAppLinkTeamType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGAppLinkTeamTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGAppLinkTeamType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGAppLinkTeamType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGAppLinkTeamType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGAppLinkUserDetails.h" #import "DBTEAMLOGAppLogInfo.h" #pragma mark - API Object @implementation DBTEAMLOGAppLinkUserDetails #pragma mark - Constructors - (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 [DBTEAMLOGAppLinkUserDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGAppLinkUserDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { 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; } return [self isEqualToAppLinkUserDetails:other]; } - (BOOL)isEqualToAppLinkUserDetails:(DBTEAMLOGAppLinkUserDetails *)anAppLinkUserDetails { if (self == anAppLinkUserDetails) { return YES; } if (![self.appInfo isEqual:anAppLinkUserDetails.appInfo]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGAppLinkUserDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGAppLinkUserDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"app_info"] = [DBTEAMLOGAppLogInfoSerializer serialize:valueObj.appInfo]; return jsonDict; } + (DBTEAMLOGAppLinkUserDetails *)deserialize:(NSDictionary *)valueDict { DBTEAMLOGAppLogInfo *appInfo = [DBTEAMLOGAppLogInfoSerializer deserialize:valueDict[@"app_info"]]; return [[DBTEAMLOGAppLinkUserDetails alloc] initWithAppInfo:appInfo]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGAppLinkUserType.h" #pragma mark - API Object @implementation DBTEAMLOGAppLinkUserType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGAppLinkUserTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGAppLinkUserTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGAppLinkUserTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToAppLinkUserType:other]; } - (BOOL)isEqualToAppLinkUserType:(DBTEAMLOGAppLinkUserType *)anAppLinkUserType { if (self == anAppLinkUserType) { return YES; } if (![self.description_ isEqual:anAppLinkUserType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGAppLinkUserTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGAppLinkUserType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGAppLinkUserType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGAppLinkUserType alloc] initWithDescription_:description_]; } @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 { 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 [DBTEAMLOGAppLogInfoSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGAppLogInfoSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGAppLogInfoSerializer serialize:self] description]; } #pragma mark - Copyable method - (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.appId != nil) { result = prime * result + [self.appId 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 isEqualToAppLogInfo:other]; } - (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; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGAppLogInfoSerializer + (NSDictionary *)serialize:(DBTEAMLOGAppLogInfo *)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"; } 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; return [[DBTEAMLOGAppLogInfo alloc] initWithAppId:appId displayName:displayName]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGAdminConsoleAppPermission.h" #import "DBTEAMLOGAdminConsoleAppPolicy.h" #import "DBTEAMLOGAppPermissionsChangedDetails.h" #pragma mark - API Object @implementation DBTEAMLOGAppPermissionsChangedDetails #pragma mark - Constructors - (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 [DBTEAMLOGAppPermissionsChangedDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGAppPermissionsChangedDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGAppPermissionsChangedDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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]; if (self.appName != nil) { result = prime * result + [self.appName hash]; } if (self.permission != nil) { result = prime * result + [self.permission hash]; } return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToAppPermissionsChangedDetails:other]; } - (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; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGAppPermissionsChangedDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGAppPermissionsChangedDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; 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; } + (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 [[DBTEAMLOGAppPermissionsChangedDetails alloc] initWithPreviousValue:previousValue dNewValue:dNewValue appName:appName permission:permission]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGAppPermissionsChangedType.h" #pragma mark - API Object @implementation DBTEAMLOGAppPermissionsChangedType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGAppPermissionsChangedTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGAppPermissionsChangedTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGAppPermissionsChangedTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToAppPermissionsChangedType:other]; } - (BOOL)isEqualToAppPermissionsChangedType:(DBTEAMLOGAppPermissionsChangedType *)anAppPermissionsChangedType { if (self == anAppPermissionsChangedType) { return YES; } if (![self.description_ isEqual:anAppPermissionsChangedType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGAppPermissionsChangedTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGAppPermissionsChangedType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGAppPermissionsChangedType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGAppPermissionsChangedType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGAppLogInfo.h" #import "DBTEAMLOGAppUnlinkTeamDetails.h" #pragma mark - API Object @implementation DBTEAMLOGAppUnlinkTeamDetails #pragma mark - Constructors - (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 [DBTEAMLOGAppUnlinkTeamDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGAppUnlinkTeamDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGAppUnlinkTeamDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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; } return [self isEqualToAppUnlinkTeamDetails:other]; } - (BOOL)isEqualToAppUnlinkTeamDetails:(DBTEAMLOGAppUnlinkTeamDetails *)anAppUnlinkTeamDetails { if (self == anAppUnlinkTeamDetails) { return YES; } if (![self.appInfo isEqual:anAppUnlinkTeamDetails.appInfo]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGAppUnlinkTeamDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGAppUnlinkTeamDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"app_info"] = [DBTEAMLOGAppLogInfoSerializer serialize:valueObj.appInfo]; return jsonDict; } + (DBTEAMLOGAppUnlinkTeamDetails *)deserialize:(NSDictionary *)valueDict { DBTEAMLOGAppLogInfo *appInfo = [DBTEAMLOGAppLogInfoSerializer deserialize:valueDict[@"app_info"]]; return [[DBTEAMLOGAppUnlinkTeamDetails alloc] initWithAppInfo:appInfo]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGAppUnlinkTeamType.h" #pragma mark - API Object @implementation DBTEAMLOGAppUnlinkTeamType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGAppUnlinkTeamTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGAppUnlinkTeamTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGAppUnlinkTeamTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToAppUnlinkTeamType:other]; } - (BOOL)isEqualToAppUnlinkTeamType:(DBTEAMLOGAppUnlinkTeamType *)anAppUnlinkTeamType { if (self == anAppUnlinkTeamType) { return YES; } if (![self.description_ isEqual:anAppUnlinkTeamType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGAppUnlinkTeamTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGAppUnlinkTeamType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGAppUnlinkTeamType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGAppUnlinkTeamType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGAppLogInfo.h" #import "DBTEAMLOGAppUnlinkUserDetails.h" #pragma mark - API Object @implementation DBTEAMLOGAppUnlinkUserDetails #pragma mark - Constructors - (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 [DBTEAMLOGAppUnlinkUserDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGAppUnlinkUserDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGAppUnlinkUserDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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; } return [self isEqualToAppUnlinkUserDetails:other]; } - (BOOL)isEqualToAppUnlinkUserDetails:(DBTEAMLOGAppUnlinkUserDetails *)anAppUnlinkUserDetails { if (self == anAppUnlinkUserDetails) { return YES; } if (![self.appInfo isEqual:anAppUnlinkUserDetails.appInfo]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGAppUnlinkUserDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGAppUnlinkUserDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"app_info"] = [DBTEAMLOGAppLogInfoSerializer serialize:valueObj.appInfo]; return jsonDict; } + (DBTEAMLOGAppUnlinkUserDetails *)deserialize:(NSDictionary *)valueDict { DBTEAMLOGAppLogInfo *appInfo = [DBTEAMLOGAppLogInfoSerializer deserialize:valueDict[@"app_info"]]; return [[DBTEAMLOGAppUnlinkUserDetails alloc] initWithAppInfo:appInfo]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGAppUnlinkUserType.h" #pragma mark - API Object @implementation DBTEAMLOGAppUnlinkUserType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGAppUnlinkUserTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGAppUnlinkUserTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGAppUnlinkUserTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToAppUnlinkUserType:other]; } - (BOOL)isEqualToAppUnlinkUserType:(DBTEAMLOGAppUnlinkUserType *)anAppUnlinkUserType { if (self == anAppUnlinkUserType) { return YES; } if (![self.description_ isEqual:anAppUnlinkUserType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGAppUnlinkUserTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGAppUnlinkUserType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGAppUnlinkUserType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGAppUnlinkUserType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGApplyNamingConventionDetails.h" #pragma mark - API Object @implementation DBTEAMLOGApplyNamingConventionDetails #pragma mark - Constructors - (instancetype)initDefault { self = [super init]; if (self) { } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGApplyNamingConventionDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGApplyNamingConventionDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGApplyNamingConventionDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 isEqualToApplyNamingConventionDetails:other]; } - (BOOL)isEqualToApplyNamingConventionDetails:(DBTEAMLOGApplyNamingConventionDetails *)anApplyNamingConventionDetails { if (self == anApplyNamingConventionDetails) { return YES; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGApplyNamingConventionDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGApplyNamingConventionDetails *)valueObj { #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; return jsonDict; } + (DBTEAMLOGApplyNamingConventionDetails *)deserialize:(NSDictionary *)valueDict { #pragma unused(valueDict) return [[DBTEAMLOGApplyNamingConventionDetails alloc] initDefault]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGApplyNamingConventionType.h" #pragma mark - API Object @implementation DBTEAMLOGApplyNamingConventionType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGApplyNamingConventionTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGApplyNamingConventionTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGApplyNamingConventionTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToApplyNamingConventionType:other]; } - (BOOL)isEqualToApplyNamingConventionType:(DBTEAMLOGApplyNamingConventionType *)anApplyNamingConventionType { if (self == anApplyNamingConventionType) { return YES; } if (![self.description_ isEqual:anApplyNamingConventionType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGApplyNamingConventionTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGApplyNamingConventionType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGApplyNamingConventionType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGApplyNamingConventionType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGAssetLogInfo.h" #import "DBTEAMLOGFileLogInfo.h" #import "DBTEAMLOGFolderLogInfo.h" #import "DBTEAMLOGPaperDocumentLogInfo.h" #import "DBTEAMLOGPaperFolderLogInfo.h" #import "DBTEAMLOGShowcaseDocumentLogInfo.h" #pragma mark - API Object @implementation DBTEAMLOGAssetLogInfo @synthesize file = _file; @synthesize folder = _folder; @synthesize paperDocument = _paperDocument; @synthesize paperFolder = _paperFolder; @synthesize showcaseDocument = _showcaseDocument; #pragma mark - Constructors - (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 [DBTEAMLOGAssetLogInfoSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGAssetLogInfoSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGAssetLogInfoSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToAssetLogInfo:other]; } - (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; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGAssetLogInfoSerializer + (NSDictionary *)serialize:(DBTEAMLOGAssetLogInfo *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; 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; } + (DBTEAMLOGAssetLogInfo *)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]; } 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 "DBTEAMLOGBackupAdminInvitationSentDetails.h" #pragma mark - API Object @implementation DBTEAMLOGBackupAdminInvitationSentDetails #pragma mark - Constructors - (instancetype)initDefault { self = [super init]; if (self) { } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGBackupAdminInvitationSentDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGBackupAdminInvitationSentDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGBackupAdminInvitationSentDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 isEqualToBackupAdminInvitationSentDetails:other]; } - (BOOL)isEqualToBackupAdminInvitationSentDetails: (DBTEAMLOGBackupAdminInvitationSentDetails *)aBackupAdminInvitationSentDetails { if (self == aBackupAdminInvitationSentDetails) { return YES; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGBackupAdminInvitationSentDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGBackupAdminInvitationSentDetails *)valueObj { #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; return jsonDict; } + (DBTEAMLOGBackupAdminInvitationSentDetails *)deserialize:(NSDictionary *)valueDict { #pragma unused(valueDict) return [[DBTEAMLOGBackupAdminInvitationSentDetails alloc] initDefault]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGBackupAdminInvitationSentType.h" #pragma mark - API Object @implementation DBTEAMLOGBackupAdminInvitationSentType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGBackupAdminInvitationSentTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGBackupAdminInvitationSentTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGBackupAdminInvitationSentTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToBackupAdminInvitationSentType:other]; } - (BOOL)isEqualToBackupAdminInvitationSentType: (DBTEAMLOGBackupAdminInvitationSentType *)aBackupAdminInvitationSentType { if (self == aBackupAdminInvitationSentType) { return YES; } if (![self.description_ isEqual:aBackupAdminInvitationSentType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGBackupAdminInvitationSentTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGBackupAdminInvitationSentType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGBackupAdminInvitationSentType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGBackupAdminInvitationSentType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGBackupInvitationOpenedDetails.h" #pragma mark - API Object @implementation DBTEAMLOGBackupInvitationOpenedDetails #pragma mark - Constructors - (instancetype)initDefault { self = [super init]; if (self) { } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGBackupInvitationOpenedDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGBackupInvitationOpenedDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGBackupInvitationOpenedDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 isEqualToBackupInvitationOpenedDetails:other]; } - (BOOL)isEqualToBackupInvitationOpenedDetails: (DBTEAMLOGBackupInvitationOpenedDetails *)aBackupInvitationOpenedDetails { if (self == aBackupInvitationOpenedDetails) { return YES; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGBackupInvitationOpenedDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGBackupInvitationOpenedDetails *)valueObj { #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; return jsonDict; } + (DBTEAMLOGBackupInvitationOpenedDetails *)deserialize:(NSDictionary *)valueDict { #pragma unused(valueDict) return [[DBTEAMLOGBackupInvitationOpenedDetails alloc] initDefault]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGBackupInvitationOpenedType.h" #pragma mark - API Object @implementation DBTEAMLOGBackupInvitationOpenedType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGBackupInvitationOpenedTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGBackupInvitationOpenedTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGBackupInvitationOpenedTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToBackupInvitationOpenedType:other]; } - (BOOL)isEqualToBackupInvitationOpenedType:(DBTEAMLOGBackupInvitationOpenedType *)aBackupInvitationOpenedType { if (self == aBackupInvitationOpenedType) { return YES; } if (![self.description_ isEqual:aBackupInvitationOpenedType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGBackupInvitationOpenedTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGBackupInvitationOpenedType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGBackupInvitationOpenedType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGBackupInvitationOpenedType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGBackupStatus.h" #pragma mark - API Object @implementation DBTEAMLOGBackupStatus #pragma mark - Constructors - (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 [DBTEAMLOGBackupStatusSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGBackupStatusSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGBackupStatusSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToBackupStatus:other]; } - (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; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGBackupStatusSerializer + (NSDictionary *)serialize:(DBTEAMLOGBackupStatus *)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; } + (DBTEAMLOGBackupStatus *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; 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 "DBTEAMLOGBinderAddPageDetails.h" #pragma mark - API Object @implementation DBTEAMLOGBinderAddPageDetails #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 [DBTEAMLOGBinderAddPageDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGBinderAddPageDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGBinderAddPageDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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 isEqualToBinderAddPageDetails:other]; } - (BOOL)isEqualToBinderAddPageDetails:(DBTEAMLOGBinderAddPageDetails *)aBinderAddPageDetails { if (self == aBinderAddPageDetails) { return YES; } 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; } @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; } + (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]; } @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) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGBinderAddPageTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGBinderAddPageTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGBinderAddPageTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToBinderAddPageType:other]; } - (BOOL)isEqualToBinderAddPageType:(DBTEAMLOGBinderAddPageType *)aBinderAddPageType { if (self == aBinderAddPageType) { return YES; } if (![self.description_ isEqual:aBinderAddPageType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGBinderAddPageTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGBinderAddPageType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGBinderAddPageType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGBinderAddPageType alloc] initWithDescription_:description_]; } @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) { _eventUuid = eventUuid; _docTitle = docTitle; _binderItemName = binderItemName; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGBinderAddSectionDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGBinderAddSectionDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGBinderAddSectionDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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 isEqualToBinderAddSectionDetails:other]; } - (BOOL)isEqualToBinderAddSectionDetails:(DBTEAMLOGBinderAddSectionDetails *)aBinderAddSectionDetails { if (self == aBinderAddSectionDetails) { return YES; } 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; } @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; } + (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]; } @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) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGBinderAddSectionTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGBinderAddSectionTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGBinderAddSectionTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToBinderAddSectionType:other]; } - (BOOL)isEqualToBinderAddSectionType:(DBTEAMLOGBinderAddSectionType *)aBinderAddSectionType { if (self == aBinderAddSectionType) { return YES; } if (![self.description_ isEqual:aBinderAddSectionType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGBinderAddSectionTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGBinderAddSectionType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGBinderAddSectionType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGBinderAddSectionType alloc] initWithDescription_:description_]; } @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); self = [super init]; if (self) { _eventUuid = eventUuid; _docTitle = docTitle; _binderItemName = binderItemName; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGBinderRemovePageDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGBinderRemovePageDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGBinderRemovePageDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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 isEqualToBinderRemovePageDetails:other]; } - (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; } @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; } + (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]; } @end #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 [DBTEAMLOGBinderRemovePageTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGBinderRemovePageTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGBinderRemovePageTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToBinderRemovePageType:other]; } - (BOOL)isEqualToBinderRemovePageType:(DBTEAMLOGBinderRemovePageType *)aBinderRemovePageType { if (self == aBinderRemovePageType) { return YES; } if (![self.description_ isEqual:aBinderRemovePageType.description_]) { return NO; } 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; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGBinderRemoveSectionDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGBinderRemoveSectionDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; 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; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGBinderRemoveSectionTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGBinderRemoveSectionTypeSerializer deserialize:dict]; } #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 "DBTEAMLOGBinderRenamePageDetails.h" #pragma mark - API Object @implementation DBTEAMLOGBinderRenamePageDetails #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) { _eventUuid = eventUuid; _docTitle = docTitle; _binderItemName = binderItemName; _previousBinderItemName = previousBinderItemName; } return self; } - (instancetype)initWithEventUuid:(NSString *)eventUuid docTitle:(NSString *)docTitle binderItemName:(NSString *)binderItemName { return [self initWithEventUuid:eventUuid docTitle:docTitle binderItemName:binderItemName previousBinderItemName:nil]; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGBinderRenamePageDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGBinderRenamePageDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGBinderRenamePageDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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]; if (self.previousBinderItemName != nil) { result = prime * result + [self.previousBinderItemName hash]; } return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToBinderRenamePageDetails:other]; } - (BOOL)isEqualToBinderRenamePageDetails:(DBTEAMLOGBinderRenamePageDetails *)aBinderRenamePageDetails { if (self == aBinderRenamePageDetails) { return YES; } 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; } @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 jsonDict; } + (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]; } @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) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGBinderRenamePageTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGBinderRenamePageTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGBinderRenamePageTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToBinderRenamePageType:other]; } - (BOOL)isEqualToBinderRenamePageType:(DBTEAMLOGBinderRenamePageType *)aBinderRenamePageType { if (self == aBinderRenamePageType) { return YES; } if (![self.description_ isEqual:aBinderRenamePageType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGBinderRenamePageTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGBinderRenamePageType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (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) { _eventUuid = eventUuid; _docTitle = docTitle; _binderItemName = binderItemName; _previousBinderItemName = previousBinderItemName; } return self; } - (instancetype)initWithEventUuid:(NSString *)eventUuid docTitle:(NSString *)docTitle binderItemName:(NSString *)binderItemName { return [self initWithEventUuid:eventUuid docTitle:docTitle binderItemName:binderItemName previousBinderItemName:nil]; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGBinderRenameSectionDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGBinderRenameSectionDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGBinderRenameSectionDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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]; if (self.previousBinderItemName != nil) { result = prime * result + [self.previousBinderItemName hash]; } return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToBinderRenameSectionDetails:other]; } - (BOOL)isEqualToBinderRenameSectionDetails:(DBTEAMLOGBinderRenameSectionDetails *)aBinderRenameSectionDetails { if (self == aBinderRenameSectionDetails) { return YES; } 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; } @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 jsonDict; } + (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]; } @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) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGBinderRenameSectionTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGBinderRenameSectionTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGBinderRenameSectionTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToBinderRenameSectionType:other]; } - (BOOL)isEqualToBinderRenameSectionType:(DBTEAMLOGBinderRenameSectionType *)aBinderRenameSectionType { if (self == aBinderRenameSectionType) { return YES; } if (![self.description_ isEqual:aBinderRenameSectionType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGBinderRenameSectionTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGBinderRenameSectionType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGBinderRenameSectionType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGBinderRenameSectionType alloc] initWithDescription_:description_]; } @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) { _eventUuid = eventUuid; _docTitle = docTitle; _binderItemName = binderItemName; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGBinderReorderPageDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGBinderReorderPageDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGBinderReorderPageDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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 isEqualToBinderReorderPageDetails:other]; } - (BOOL)isEqualToBinderReorderPageDetails:(DBTEAMLOGBinderReorderPageDetails *)aBinderReorderPageDetails { if (self == aBinderReorderPageDetails) { return YES; } 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; } @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; } + (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]; } @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) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGBinderReorderPageTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGBinderReorderPageTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGBinderReorderPageTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToBinderReorderPageType:other]; } - (BOOL)isEqualToBinderReorderPageType:(DBTEAMLOGBinderReorderPageType *)aBinderReorderPageType { if (self == aBinderReorderPageType) { return YES; } if (![self.description_ isEqual:aBinderReorderPageType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGBinderReorderPageTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGBinderReorderPageType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGBinderReorderPageType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGBinderReorderPageType alloc] initWithDescription_:description_]; } @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) { _eventUuid = eventUuid; _docTitle = docTitle; _binderItemName = binderItemName; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGBinderReorderSectionDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGBinderReorderSectionDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGBinderReorderSectionDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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 isEqualToBinderReorderSectionDetails:other]; } - (BOOL)isEqualToBinderReorderSectionDetails:(DBTEAMLOGBinderReorderSectionDetails *)aBinderReorderSectionDetails { if (self == aBinderReorderSectionDetails) { return YES; } 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; } @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; } + (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]; } @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) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGBinderReorderSectionTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGBinderReorderSectionTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGBinderReorderSectionTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToBinderReorderSectionType:other]; } - (BOOL)isEqualToBinderReorderSectionType:(DBTEAMLOGBinderReorderSectionType *)aBinderReorderSectionType { if (self == aBinderReorderSectionType) { return YES; } if (![self.description_ isEqual:aBinderReorderSectionType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGBinderReorderSectionTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGBinderReorderSectionType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGBinderReorderSectionType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGBinderReorderSectionType alloc] initWithDescription_:description_]; } @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 = DBTEAMLOGCameraUploadsPolicyDisabled; } return self; } - (instancetype)initWithEnabled { self = [super init]; if (self) { _tag = DBTEAMLOGCameraUploadsPolicyEnabled; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBTEAMLOGCameraUploadsPolicyOther; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isDisabled { return _tag == DBTEAMLOGCameraUploadsPolicyDisabled; } - (BOOL)isEnabled { return _tag == DBTEAMLOGCameraUploadsPolicyEnabled; } - (BOOL)isOther { return _tag == DBTEAMLOGCameraUploadsPolicyOther; } - (NSString *)tagName { switch (_tag) { case DBTEAMLOGCameraUploadsPolicyDisabled: return @"DBTEAMLOGCameraUploadsPolicyDisabled"; case DBTEAMLOGCameraUploadsPolicyEnabled: return @"DBTEAMLOGCameraUploadsPolicyEnabled"; case DBTEAMLOGCameraUploadsPolicyOther: return @"DBTEAMLOGCameraUploadsPolicyOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGCameraUploadsPolicySerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGCameraUploadsPolicySerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGCameraUploadsPolicySerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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 prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToCameraUploadsPolicy:other]; } - (BOOL)isEqualToCameraUploadsPolicy:(DBTEAMLOGCameraUploadsPolicy *)aCameraUploadsPolicy { if (self == aCameraUploadsPolicy) { return YES; } 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; } @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 jsonDict; } + (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]; } } @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) { _dNewValue = dNewValue; _previousValue = previousValue; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGCameraUploadsPolicyChangedDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGCameraUploadsPolicyChangedDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGCameraUploadsPolicyChangedDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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 isEqualToCameraUploadsPolicyChangedDetails:other]; } - (BOOL)isEqualToCameraUploadsPolicyChangedDetails: (DBTEAMLOGCameraUploadsPolicyChangedDetails *)aCameraUploadsPolicyChangedDetails { if (self == aCameraUploadsPolicyChangedDetails) { return YES; } if (![self.dNewValue isEqual:aCameraUploadsPolicyChangedDetails.dNewValue]) { return NO; } if (![self.previousValue isEqual:aCameraUploadsPolicyChangedDetails.previousValue]) { return NO; } return YES; } @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; } + (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]; } @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) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGCameraUploadsPolicyChangedTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGCameraUploadsPolicyChangedTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGCameraUploadsPolicyChangedTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToCameraUploadsPolicyChangedType:other]; } - (BOOL)isEqualToCameraUploadsPolicyChangedType: (DBTEAMLOGCameraUploadsPolicyChangedType *)aCameraUploadsPolicyChangedType { if (self == aCameraUploadsPolicyChangedType) { return YES; } if (![self.description_ isEqual:aCameraUploadsPolicyChangedType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGCameraUploadsPolicyChangedTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGCameraUploadsPolicyChangedType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGCameraUploadsPolicyChangedType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGCameraUploadsPolicyChangedType alloc] initWithDescription_:description_]; } @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 = DBTEAMLOGCaptureTranscriptPolicyDefault_; } return self; } - (instancetype)initWithDisabled { self = [super init]; if (self) { _tag = DBTEAMLOGCaptureTranscriptPolicyDisabled; } return self; } - (instancetype)initWithEnabled { self = [super init]; if (self) { _tag = DBTEAMLOGCaptureTranscriptPolicyEnabled; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBTEAMLOGCaptureTranscriptPolicyOther; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isDefault_ { return _tag == DBTEAMLOGCaptureTranscriptPolicyDefault_; } - (BOOL)isDisabled { return _tag == DBTEAMLOGCaptureTranscriptPolicyDisabled; } - (BOOL)isEnabled { return _tag == DBTEAMLOGCaptureTranscriptPolicyEnabled; } - (BOOL)isOther { return _tag == DBTEAMLOGCaptureTranscriptPolicyOther; } - (NSString *)tagName { switch (_tag) { case DBTEAMLOGCaptureTranscriptPolicyDefault_: return @"DBTEAMLOGCaptureTranscriptPolicyDefault_"; case DBTEAMLOGCaptureTranscriptPolicyDisabled: return @"DBTEAMLOGCaptureTranscriptPolicyDisabled"; case DBTEAMLOGCaptureTranscriptPolicyEnabled: return @"DBTEAMLOGCaptureTranscriptPolicyEnabled"; case DBTEAMLOGCaptureTranscriptPolicyOther: return @"DBTEAMLOGCaptureTranscriptPolicyOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGCaptureTranscriptPolicySerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGCaptureTranscriptPolicySerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGCaptureTranscriptPolicySerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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 prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToCaptureTranscriptPolicy:other]; } - (BOOL)isEqualToCaptureTranscriptPolicy:(DBTEAMLOGCaptureTranscriptPolicy *)aCaptureTranscriptPolicy { if (self == aCaptureTranscriptPolicy) { return YES; } 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; } @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 jsonDict; } + (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]; } } @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) { _dNewValue = dNewValue; _previousValue = previousValue; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGCaptureTranscriptPolicyChangedDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGCaptureTranscriptPolicyChangedDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGCaptureTranscriptPolicyChangedDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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 isEqualToCaptureTranscriptPolicyChangedDetails:other]; } - (BOOL)isEqualToCaptureTranscriptPolicyChangedDetails: (DBTEAMLOGCaptureTranscriptPolicyChangedDetails *)aCaptureTranscriptPolicyChangedDetails { if (self == aCaptureTranscriptPolicyChangedDetails) { return YES; } if (![self.dNewValue isEqual:aCaptureTranscriptPolicyChangedDetails.dNewValue]) { return NO; } if (![self.previousValue isEqual:aCaptureTranscriptPolicyChangedDetails.previousValue]) { return NO; } return YES; } @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; } + (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]; } @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) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGCaptureTranscriptPolicyChangedTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGCaptureTranscriptPolicyChangedTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGCaptureTranscriptPolicyChangedTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToCaptureTranscriptPolicyChangedType:other]; } - (BOOL)isEqualToCaptureTranscriptPolicyChangedType: (DBTEAMLOGCaptureTranscriptPolicyChangedType *)aCaptureTranscriptPolicyChangedType { if (self == aCaptureTranscriptPolicyChangedType) { return YES; } if (![self.description_ isEqual:aCaptureTranscriptPolicyChangedType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGCaptureTranscriptPolicyChangedTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGCaptureTranscriptPolicyChangedType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGCaptureTranscriptPolicyChangedType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGCaptureTranscriptPolicyChangedType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGCertificate.h" #pragma mark - API Object @implementation DBTEAMLOGCertificate #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); self = [super init]; if (self) { _subject = subject; _issuer = issuer; _issueDate = issueDate; _expirationDate = expirationDate; _serialNumber = serialNumber; _sha1Fingerprint = sha1Fingerprint; _commonName = commonName; } 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]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGCertificateSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGCertificateSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable 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]; } return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToCertificate:other]; } - (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; } } return YES; } @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 jsonDict; } + (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]; } @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 = DBTEAMLOGChangeLinkExpirationPolicyAllowed; } return self; } - (instancetype)initWithNotAllowed { self = [super init]; if (self) { _tag = DBTEAMLOGChangeLinkExpirationPolicyNotAllowed; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBTEAMLOGChangeLinkExpirationPolicyOther; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isAllowed { return _tag == DBTEAMLOGChangeLinkExpirationPolicyAllowed; } - (BOOL)isNotAllowed { return _tag == DBTEAMLOGChangeLinkExpirationPolicyNotAllowed; } - (BOOL)isOther { return _tag == DBTEAMLOGChangeLinkExpirationPolicyOther; } - (NSString *)tagName { switch (_tag) { case DBTEAMLOGChangeLinkExpirationPolicyAllowed: return @"DBTEAMLOGChangeLinkExpirationPolicyAllowed"; case DBTEAMLOGChangeLinkExpirationPolicyNotAllowed: return @"DBTEAMLOGChangeLinkExpirationPolicyNotAllowed"; case DBTEAMLOGChangeLinkExpirationPolicyOther: return @"DBTEAMLOGChangeLinkExpirationPolicyOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGChangeLinkExpirationPolicySerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGChangeLinkExpirationPolicySerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGChangeLinkExpirationPolicySerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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 prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToChangeLinkExpirationPolicy:other]; } - (BOOL)isEqualToChangeLinkExpirationPolicy:(DBTEAMLOGChangeLinkExpirationPolicy *)aChangeLinkExpirationPolicy { if (self == aChangeLinkExpirationPolicy) { return YES; } 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; } @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 jsonDict; } + (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]; } } @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) { _previousValue = previousValue; _dNewValue = dNewValue; _teamName = teamName; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGChangedEnterpriseAdminRoleDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGChangedEnterpriseAdminRoleDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGChangedEnterpriseAdminRoleDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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]; result = prime * result + [self.teamName hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToChangedEnterpriseAdminRoleDetails:other]; } - (BOOL)isEqualToChangedEnterpriseAdminRoleDetails: (DBTEAMLOGChangedEnterpriseAdminRoleDetails *)aChangedEnterpriseAdminRoleDetails { if (self == aChangedEnterpriseAdminRoleDetails) { return YES; } 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; } @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; } + (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]; } @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) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGChangedEnterpriseAdminRoleTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGChangedEnterpriseAdminRoleTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGChangedEnterpriseAdminRoleTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToChangedEnterpriseAdminRoleType:other]; } - (BOOL)isEqualToChangedEnterpriseAdminRoleType: (DBTEAMLOGChangedEnterpriseAdminRoleType *)aChangedEnterpriseAdminRoleType { if (self == aChangedEnterpriseAdminRoleType) { return YES; } if (![self.description_ isEqual:aChangedEnterpriseAdminRoleType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGChangedEnterpriseAdminRoleTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGChangedEnterpriseAdminRoleType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGChangedEnterpriseAdminRoleType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGChangedEnterpriseAdminRoleType alloc] initWithDescription_:description_]; } @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) { _action = action; _additionalInfo = additionalInfo; _previousValue = previousValue; _dNewValue = dNewValue; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGChangedEnterpriseConnectedTeamStatusDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGChangedEnterpriseConnectedTeamStatusDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGChangedEnterpriseConnectedTeamStatusDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToChangedEnterpriseConnectedTeamStatusDetails:other]; } - (BOOL)isEqualToChangedEnterpriseConnectedTeamStatusDetails: (DBTEAMLOGChangedEnterpriseConnectedTeamStatusDetails *)aChangedEnterpriseConnectedTeamStatusDetails { if (self == aChangedEnterpriseConnectedTeamStatusDetails) { return YES; } 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; } @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; } + (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]; } @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) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGChangedEnterpriseConnectedTeamStatusTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGChangedEnterpriseConnectedTeamStatusTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGChangedEnterpriseConnectedTeamStatusTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToChangedEnterpriseConnectedTeamStatusType:other]; } - (BOOL)isEqualToChangedEnterpriseConnectedTeamStatusType: (DBTEAMLOGChangedEnterpriseConnectedTeamStatusType *)aChangedEnterpriseConnectedTeamStatusType { if (self == aChangedEnterpriseConnectedTeamStatusType) { return YES; } if (![self.description_ isEqual:aChangedEnterpriseConnectedTeamStatusType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGChangedEnterpriseConnectedTeamStatusTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGChangedEnterpriseConnectedTeamStatusType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGChangedEnterpriseConnectedTeamStatusType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGChangedEnterpriseConnectedTeamStatusType alloc] initWithDescription_:description_]; } @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) { _previousValue = previousValue; _dNewValue = dNewValue; _classificationType = classificationType; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGClassificationChangePolicyDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGClassificationChangePolicyDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGClassificationChangePolicyDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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]; result = prime * result + [self.classificationType hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToClassificationChangePolicyDetails:other]; } - (BOOL)isEqualToClassificationChangePolicyDetails: (DBTEAMLOGClassificationChangePolicyDetails *)aClassificationChangePolicyDetails { if (self == aClassificationChangePolicyDetails) { return YES; } 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; } @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; } + (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) { _description_ = description_; } return self; } #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; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToClassificationChangePolicyType:other]; } - (BOOL)isEqualToClassificationChangePolicyType: (DBTEAMLOGClassificationChangePolicyType *)aClassificationChangePolicyType { if (self == aClassificationChangePolicyType) { return YES; } if (![self.description_ isEqual:aClassificationChangePolicyType.description_]) { return NO; } return YES; } @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) { } return self; } #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; } #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 isEqualToClassificationCreateReportDetails:other]; } - (BOOL)isEqualToClassificationCreateReportDetails: (DBTEAMLOGClassificationCreateReportDetails *)aClassificationCreateReportDetails { if (self == aClassificationCreateReportDetails) { return YES; } return YES; } @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) { _failureReason = failureReason; } return self; } #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; } #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 isEqualToClassificationCreateReportFailDetails:other]; } - (BOOL)isEqualToClassificationCreateReportFailDetails: (DBTEAMLOGClassificationCreateReportFailDetails *)aClassificationCreateReportFailDetails { if (self == aClassificationCreateReportFailDetails) { return YES; } if (![self.failureReason isEqual:aClassificationCreateReportFailDetails.failureReason]) { return NO; } return YES; } @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) { _description_ = description_; } return self; } #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; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToClassificationCreateReportFailType:other]; } - (BOOL)isEqualToClassificationCreateReportFailType: (DBTEAMLOGClassificationCreateReportFailType *)aClassificationCreateReportFailType { if (self == aClassificationCreateReportFailType) { return YES; } if (![self.description_ isEqual:aClassificationCreateReportFailType.description_]) { return NO; } return YES; } @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) { _description_ = description_; } return self; } #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; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToClassificationCreateReportType:other]; } - (BOOL)isEqualToClassificationCreateReportType: (DBTEAMLOGClassificationCreateReportType *)aClassificationCreateReportType { if (self == aClassificationCreateReportType) { return YES; } if (![self.description_ isEqual:aClassificationCreateReportType.description_]) { return NO; } return YES; } @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 = DBTEAMLOGClassificationPolicyEnumWrapperDisabled; } return self; } - (instancetype)initWithEnabled { self = [super init]; if (self) { _tag = DBTEAMLOGClassificationPolicyEnumWrapperEnabled; } return self; } - (instancetype)initWithMemberAndTeamFolders { self = [super init]; if (self) { _tag = DBTEAMLOGClassificationPolicyEnumWrapperMemberAndTeamFolders; } return self; } - (instancetype)initWithTeamFolders { self = [super init]; if (self) { _tag = DBTEAMLOGClassificationPolicyEnumWrapperTeamFolders; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBTEAMLOGClassificationPolicyEnumWrapperOther; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isDisabled { return _tag == DBTEAMLOGClassificationPolicyEnumWrapperDisabled; } - (BOOL)isEnabled { return _tag == DBTEAMLOGClassificationPolicyEnumWrapperEnabled; } - (BOOL)isMemberAndTeamFolders { return _tag == DBTEAMLOGClassificationPolicyEnumWrapperMemberAndTeamFolders; } - (BOOL)isTeamFolders { return _tag == DBTEAMLOGClassificationPolicyEnumWrapperTeamFolders; } - (BOOL)isOther { return _tag == DBTEAMLOGClassificationPolicyEnumWrapperOther; } - (NSString *)tagName { switch (_tag) { case DBTEAMLOGClassificationPolicyEnumWrapperDisabled: return @"DBTEAMLOGClassificationPolicyEnumWrapperDisabled"; case DBTEAMLOGClassificationPolicyEnumWrapperEnabled: return @"DBTEAMLOGClassificationPolicyEnumWrapperEnabled"; case DBTEAMLOGClassificationPolicyEnumWrapperMemberAndTeamFolders: return @"DBTEAMLOGClassificationPolicyEnumWrapperMemberAndTeamFolders"; case DBTEAMLOGClassificationPolicyEnumWrapperTeamFolders: return @"DBTEAMLOGClassificationPolicyEnumWrapperTeamFolders"; case DBTEAMLOGClassificationPolicyEnumWrapperOther: return @"DBTEAMLOGClassificationPolicyEnumWrapperOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGClassificationPolicyEnumWrapperSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGClassificationPolicyEnumWrapperSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGClassificationPolicyEnumWrapperSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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 prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToClassificationPolicyEnumWrapper:other]; } - (BOOL)isEqualToClassificationPolicyEnumWrapper: (DBTEAMLOGClassificationPolicyEnumWrapper *)aClassificationPolicyEnumWrapper { if (self == aClassificationPolicyEnumWrapper) { return YES; } 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; } @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 jsonDict; } + (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]; } } @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 self; } - (instancetype)initWithPii { self = [super init]; if (self) { _tag = DBTEAMLOGClassificationTypePii; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBTEAMLOGClassificationTypeOther; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isPersonalInformation { return _tag == DBTEAMLOGClassificationTypePersonalInformation; } - (BOOL)isPii { return _tag == DBTEAMLOGClassificationTypePii; } - (BOOL)isOther { return _tag == DBTEAMLOGClassificationTypeOther; } - (NSString *)tagName { switch (_tag) { case DBTEAMLOGClassificationTypePersonalInformation: return @"DBTEAMLOGClassificationTypePersonalInformation"; case DBTEAMLOGClassificationTypePii: return @"DBTEAMLOGClassificationTypePii"; case DBTEAMLOGClassificationTypeOther: return @"DBTEAMLOGClassificationTypeOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGClassificationTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGClassificationTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGClassificationTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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 prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToClassificationType:other]; } - (BOOL)isEqualToClassificationType:(DBTEAMLOGClassificationType *)aClassificationType { if (self == aClassificationType) { return YES; } 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; } @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 jsonDict; } + (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]; } } @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 self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGCollectionShareDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGCollectionShareDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGCollectionShareDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.albumName hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToCollectionShareDetails:other]; } - (BOOL)isEqualToCollectionShareDetails:(DBTEAMLOGCollectionShareDetails *)aCollectionShareDetails { if (self == aCollectionShareDetails) { return YES; } if (![self.albumName isEqual:aCollectionShareDetails.albumName]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGCollectionShareDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGCollectionShareDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"album_name"] = valueObj.albumName; return jsonDict; } + (DBTEAMLOGCollectionShareDetails *)deserialize:(NSDictionary *)valueDict { NSString *albumName = valueDict[@"album_name"]; return [[DBTEAMLOGCollectionShareDetails alloc] initWithAlbumName:albumName]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGCollectionShareType.h" #pragma mark - API Object @implementation DBTEAMLOGCollectionShareType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGCollectionShareTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGCollectionShareTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGCollectionShareTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToCollectionShareType:other]; } - (BOOL)isEqualToCollectionShareType:(DBTEAMLOGCollectionShareType *)aCollectionShareType { if (self == aCollectionShareType) { return YES; } if (![self.description_ isEqual:aCollectionShareType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGCollectionShareTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGCollectionShareType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGCollectionShareType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGCollectionShareType alloc] initWithDescription_:description_]; } @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 self; } - (instancetype)initWithDisabled { self = [super init]; if (self) { _tag = DBTEAMLOGComputerBackupPolicyDisabled; } return self; } - (instancetype)initWithEnabled { self = [super init]; if (self) { _tag = DBTEAMLOGComputerBackupPolicyEnabled; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBTEAMLOGComputerBackupPolicyOther; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isDefault_ { return _tag == DBTEAMLOGComputerBackupPolicyDefault_; } - (BOOL)isDisabled { return _tag == DBTEAMLOGComputerBackupPolicyDisabled; } - (BOOL)isEnabled { return _tag == DBTEAMLOGComputerBackupPolicyEnabled; } - (BOOL)isOther { return _tag == DBTEAMLOGComputerBackupPolicyOther; } - (NSString *)tagName { switch (_tag) { case DBTEAMLOGComputerBackupPolicyDefault_: return @"DBTEAMLOGComputerBackupPolicyDefault_"; case DBTEAMLOGComputerBackupPolicyDisabled: return @"DBTEAMLOGComputerBackupPolicyDisabled"; case DBTEAMLOGComputerBackupPolicyEnabled: return @"DBTEAMLOGComputerBackupPolicyEnabled"; case DBTEAMLOGComputerBackupPolicyOther: return @"DBTEAMLOGComputerBackupPolicyOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGComputerBackupPolicySerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGComputerBackupPolicySerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGComputerBackupPolicySerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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 prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToComputerBackupPolicy:other]; } - (BOOL)isEqualToComputerBackupPolicy:(DBTEAMLOGComputerBackupPolicy *)aComputerBackupPolicy { if (self == aComputerBackupPolicy) { return YES; } 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; } @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 jsonDict; } + (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]; } } @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 self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGComputerBackupPolicyChangedDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGComputerBackupPolicyChangedDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGComputerBackupPolicyChangedDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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 isEqualToComputerBackupPolicyChangedDetails:other]; } - (BOOL)isEqualToComputerBackupPolicyChangedDetails: (DBTEAMLOGComputerBackupPolicyChangedDetails *)aComputerBackupPolicyChangedDetails { if (self == aComputerBackupPolicyChangedDetails) { return YES; } if (![self.dNewValue isEqual:aComputerBackupPolicyChangedDetails.dNewValue]) { return NO; } if (![self.previousValue isEqual:aComputerBackupPolicyChangedDetails.previousValue]) { return NO; } return YES; } @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; } + (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]; } @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 self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGComputerBackupPolicyChangedTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGComputerBackupPolicyChangedTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGComputerBackupPolicyChangedTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToComputerBackupPolicyChangedType:other]; } - (BOOL)isEqualToComputerBackupPolicyChangedType: (DBTEAMLOGComputerBackupPolicyChangedType *)aComputerBackupPolicyChangedType { if (self == aComputerBackupPolicyChangedType) { return YES; } if (![self.description_ isEqual:aComputerBackupPolicyChangedType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGComputerBackupPolicyChangedTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGComputerBackupPolicyChangedType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGComputerBackupPolicyChangedType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGComputerBackupPolicyChangedType alloc] initWithDescription_:description_]; } @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 self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGConnectedTeamNameSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGConnectedTeamNameSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGConnectedTeamNameSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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 isEqualToConnectedTeamName:other]; } - (BOOL)isEqualToConnectedTeamName:(DBTEAMLOGConnectedTeamName *)aConnectedTeamName { if (self == aConnectedTeamName) { return YES; } if (![self.team isEqual:aConnectedTeamName.team]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGConnectedTeamNameSerializer + (NSDictionary *)serialize:(DBTEAMLOGConnectedTeamName *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"team"] = valueObj.team; return jsonDict; } + (DBTEAMLOGConnectedTeamName *)deserialize:(NSDictionary *)valueDict { NSString *team = valueDict[@"team"]; return [[DBTEAMLOGConnectedTeamName alloc] initWithTeam:team]; } @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 self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGContentAdministrationPolicyChangedDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGContentAdministrationPolicyChangedDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGContentAdministrationPolicyChangedDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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 isEqualToContentAdministrationPolicyChangedDetails:other]; } - (BOOL)isEqualToContentAdministrationPolicyChangedDetails: (DBTEAMLOGContentAdministrationPolicyChangedDetails *)aContentAdministrationPolicyChangedDetails { if (self == aContentAdministrationPolicyChangedDetails) { return YES; } if (![self.dNewValue isEqual:aContentAdministrationPolicyChangedDetails.dNewValue]) { return NO; } if (![self.previousValue isEqual:aContentAdministrationPolicyChangedDetails.previousValue]) { return NO; } return YES; } @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; } + (DBTEAMLOGContentAdministrationPolicyChangedDetails *)deserialize:(NSDictionary *)valueDict { NSString *dNewValue = valueDict[@"new_value"]; NSString *previousValue = valueDict[@"previous_value"]; return [[DBTEAMLOGContentAdministrationPolicyChangedDetails alloc] initWithDNewValue:dNewValue previousValue:previousValue]; } @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 self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGContentAdministrationPolicyChangedTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGContentAdministrationPolicyChangedTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGContentAdministrationPolicyChangedTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToContentAdministrationPolicyChangedType:other]; } - (BOOL)isEqualToContentAdministrationPolicyChangedType: (DBTEAMLOGContentAdministrationPolicyChangedType *)aContentAdministrationPolicyChangedType { if (self == aContentAdministrationPolicyChangedType) { return YES; } if (![self.description_ isEqual:aContentAdministrationPolicyChangedType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGContentAdministrationPolicyChangedTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGContentAdministrationPolicyChangedType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGContentAdministrationPolicyChangedType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGContentAdministrationPolicyChangedType alloc] initWithDescription_:description_]; } @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 self; } - (instancetype)initWithEnabled { self = [super init]; if (self) { _tag = DBTEAMLOGContentPermanentDeletePolicyEnabled; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBTEAMLOGContentPermanentDeletePolicyOther; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isDisabled { return _tag == DBTEAMLOGContentPermanentDeletePolicyDisabled; } - (BOOL)isEnabled { return _tag == DBTEAMLOGContentPermanentDeletePolicyEnabled; } - (BOOL)isOther { return _tag == DBTEAMLOGContentPermanentDeletePolicyOther; } - (NSString *)tagName { switch (_tag) { case DBTEAMLOGContentPermanentDeletePolicyDisabled: return @"DBTEAMLOGContentPermanentDeletePolicyDisabled"; case DBTEAMLOGContentPermanentDeletePolicyEnabled: return @"DBTEAMLOGContentPermanentDeletePolicyEnabled"; case DBTEAMLOGContentPermanentDeletePolicyOther: return @"DBTEAMLOGContentPermanentDeletePolicyOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGContentPermanentDeletePolicySerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGContentPermanentDeletePolicySerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGContentPermanentDeletePolicySerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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 prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToContentPermanentDeletePolicy:other]; } - (BOOL)isEqualToContentPermanentDeletePolicy:(DBTEAMLOGContentPermanentDeletePolicy *)aContentPermanentDeletePolicy { if (self == aContentPermanentDeletePolicy) { return YES; } 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; } @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 jsonDict; } + (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]; } } @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 self; } - (instancetype)initWithNonTeamMember:(DBTEAMLOGNonTeamMemberLogInfo *)nonTeamMember { self = [super init]; if (self) { _tag = DBTEAMLOGContextLogInfoNonTeamMember; _nonTeamMember = nonTeamMember; } return self; } - (instancetype)initWithOrganizationTeam:(DBTEAMLOGTeamLogInfo *)organizationTeam { self = [super init]; if (self) { _tag = DBTEAMLOGContextLogInfoOrganizationTeam; _organizationTeam = organizationTeam; } return self; } - (instancetype)initWithTeam { self = [super init]; if (self) { _tag = DBTEAMLOGContextLogInfoTeam; } return self; } - (instancetype)initWithTeamMember:(DBTEAMLOGTeamMemberLogInfo *)teamMember { self = [super init]; if (self) { _tag = DBTEAMLOGContextLogInfoTeamMember; _teamMember = teamMember; } return self; } - (instancetype)initWithTrustedNonTeamMember:(DBTEAMLOGTrustedNonTeamMemberLogInfo *)trustedNonTeamMember { self = [super init]; if (self) { _tag = DBTEAMLOGContextLogInfoTrustedNonTeamMember; _trustedNonTeamMember = trustedNonTeamMember; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBTEAMLOGContextLogInfoOther; } return self; } #pragma mark - Instance field accessors - (DBTEAMLOGNonTeamMemberLogInfo *)nonTeamMember { if (![self isNonTeamMember]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGContextLogInfoNonTeamMember, but was %@.", [self tagName]]; } return _nonTeamMember; } - (DBTEAMLOGTeamLogInfo *)organizationTeam { if (![self isOrganizationTeam]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGContextLogInfoOrganizationTeam, but was %@.", [self tagName]]; } return _organizationTeam; } - (DBTEAMLOGTeamMemberLogInfo *)teamMember { if (![self isTeamMember]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGContextLogInfoTeamMember, but was %@.", [self tagName]]; } return _teamMember; } - (DBTEAMLOGTrustedNonTeamMemberLogInfo *)trustedNonTeamMember { if (![self isTrustedNonTeamMember]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGContextLogInfoTrustedNonTeamMember, but was %@.", [self tagName]]; } return _trustedNonTeamMember; } #pragma mark - Tag state methods - (BOOL)isAnonymous { return _tag == DBTEAMLOGContextLogInfoAnonymous; } - (BOOL)isNonTeamMember { return _tag == DBTEAMLOGContextLogInfoNonTeamMember; } - (BOOL)isOrganizationTeam { return _tag == DBTEAMLOGContextLogInfoOrganizationTeam; } - (BOOL)isTeam { return _tag == DBTEAMLOGContextLogInfoTeam; } - (BOOL)isTeamMember { return _tag == DBTEAMLOGContextLogInfoTeamMember; } - (BOOL)isTrustedNonTeamMember { return _tag == DBTEAMLOGContextLogInfoTrustedNonTeamMember; } - (BOOL)isOther { return _tag == DBTEAMLOGContextLogInfoOther; } - (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"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGContextLogInfoSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGContextLogInfoSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGContextLogInfoSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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 prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToContextLogInfo:other]; } - (BOOL)isEqualToContextLogInfo:(DBTEAMLOGContextLogInfo *)aContextLogInfo { if (self == aContextLogInfo) { return YES; } if (self.tag != aContextLogInfo.tag) { return NO; } 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; } @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 jsonDict; } + (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]; } } @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 self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGCreateFolderDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGCreateFolderDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGCreateFolderDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 isEqualToCreateFolderDetails:other]; } - (BOOL)isEqualToCreateFolderDetails:(DBTEAMLOGCreateFolderDetails *)aCreateFolderDetails { if (self == aCreateFolderDetails) { return YES; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGCreateFolderDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGCreateFolderDetails *)valueObj { #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; return jsonDict; } + (DBTEAMLOGCreateFolderDetails *)deserialize:(NSDictionary *)valueDict { #pragma unused(valueDict) return [[DBTEAMLOGCreateFolderDetails alloc] initDefault]; } @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 self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGCreateFolderTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGCreateFolderTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGCreateFolderTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToCreateFolderType:other]; } - (BOOL)isEqualToCreateFolderType:(DBTEAMLOGCreateFolderType *)aCreateFolderType { if (self == aCreateFolderType) { return YES; } if (![self.description_ isEqual:aCreateFolderType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGCreateFolderTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGCreateFolderType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGCreateFolderType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGCreateFolderType alloc] initWithDescription_:description_]; } @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 self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGCreateTeamInviteLinkDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGCreateTeamInviteLinkDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGCreateTeamInviteLinkDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToCreateTeamInviteLinkDetails:other]; } - (BOOL)isEqualToCreateTeamInviteLinkDetails:(DBTEAMLOGCreateTeamInviteLinkDetails *)aCreateTeamInviteLinkDetails { if (self == aCreateTeamInviteLinkDetails) { return YES; } if (![self.linkUrl isEqual:aCreateTeamInviteLinkDetails.linkUrl]) { return NO; } if (![self.expiryDate isEqual:aCreateTeamInviteLinkDetails.expiryDate]) { return NO; } return YES; } @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; } + (DBTEAMLOGCreateTeamInviteLinkDetails *)deserialize:(NSDictionary *)valueDict { NSString *linkUrl = valueDict[@"link_url"]; NSString *expiryDate = valueDict[@"expiry_date"]; return [[DBTEAMLOGCreateTeamInviteLinkDetails alloc] initWithLinkUrl:linkUrl expiryDate:expiryDate]; } @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 self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGCreateTeamInviteLinkTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGCreateTeamInviteLinkTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGCreateTeamInviteLinkTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToCreateTeamInviteLinkType:other]; } - (BOOL)isEqualToCreateTeamInviteLinkType:(DBTEAMLOGCreateTeamInviteLinkType *)aCreateTeamInviteLinkType { if (self == aCreateTeamInviteLinkType) { return YES; } if (![self.description_ isEqual:aCreateTeamInviteLinkType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGCreateTeamInviteLinkTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGCreateTeamInviteLinkType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGCreateTeamInviteLinkType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGCreateTeamInviteLinkType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGDataPlacementRestrictionChangePolicyDetails.h" #import "DBTEAMLOGPlacementRestriction.h" #pragma mark - API Object @implementation DBTEAMLOGDataPlacementRestrictionChangePolicyDetails #pragma mark - Constructors - (instancetype)initWithPreviousValue:(DBTEAMLOGPlacementRestriction *)previousValue dNewValue:(DBTEAMLOGPlacementRestriction *)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 [DBTEAMLOGDataPlacementRestrictionChangePolicyDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGDataPlacementRestrictionChangePolicyDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGDataPlacementRestrictionChangePolicyDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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 isEqualToDataPlacementRestrictionChangePolicyDetails:other]; } - (BOOL)isEqualToDataPlacementRestrictionChangePolicyDetails: (DBTEAMLOGDataPlacementRestrictionChangePolicyDetails *)aDataPlacementRestrictionChangePolicyDetails { if (self == aDataPlacementRestrictionChangePolicyDetails) { return YES; } if (![self.previousValue isEqual:aDataPlacementRestrictionChangePolicyDetails.previousValue]) { return NO; } if (![self.dNewValue isEqual:aDataPlacementRestrictionChangePolicyDetails.dNewValue]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGDataPlacementRestrictionChangePolicyDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGDataPlacementRestrictionChangePolicyDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"previous_value"] = [DBTEAMLOGPlacementRestrictionSerializer serialize:valueObj.previousValue]; jsonDict[@"new_value"] = [DBTEAMLOGPlacementRestrictionSerializer serialize:valueObj.dNewValue]; return jsonDict; } + (DBTEAMLOGDataPlacementRestrictionChangePolicyDetails *)deserialize:(NSDictionary *)valueDict { DBTEAMLOGPlacementRestriction *previousValue = [DBTEAMLOGPlacementRestrictionSerializer deserialize:valueDict[@"previous_value"]]; DBTEAMLOGPlacementRestriction *dNewValue = [DBTEAMLOGPlacementRestrictionSerializer deserialize:valueDict[@"new_value"]]; return [[DBTEAMLOGDataPlacementRestrictionChangePolicyDetails alloc] initWithPreviousValue:previousValue dNewValue:dNewValue]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGDataPlacementRestrictionChangePolicyType.h" #pragma mark - API Object @implementation DBTEAMLOGDataPlacementRestrictionChangePolicyType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGDataPlacementRestrictionChangePolicyTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGDataPlacementRestrictionChangePolicyTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGDataPlacementRestrictionChangePolicyTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToDataPlacementRestrictionChangePolicyType:other]; } - (BOOL)isEqualToDataPlacementRestrictionChangePolicyType: (DBTEAMLOGDataPlacementRestrictionChangePolicyType *)aDataPlacementRestrictionChangePolicyType { if (self == aDataPlacementRestrictionChangePolicyType) { return YES; } if (![self.description_ isEqual:aDataPlacementRestrictionChangePolicyType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGDataPlacementRestrictionChangePolicyTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGDataPlacementRestrictionChangePolicyType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGDataPlacementRestrictionChangePolicyType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGDataPlacementRestrictionChangePolicyType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGDataPlacementRestrictionSatisfyPolicyDetails.h" #import "DBTEAMLOGPlacementRestriction.h" #pragma mark - API Object @implementation DBTEAMLOGDataPlacementRestrictionSatisfyPolicyDetails #pragma mark - Constructors - (instancetype)initWithPlacementRestriction:(DBTEAMLOGPlacementRestriction *)placementRestriction { [DBStoneValidators nonnullValidator:nil](placementRestriction); self = [super init]; if (self) { _placementRestriction = placementRestriction; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGDataPlacementRestrictionSatisfyPolicyDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGDataPlacementRestrictionSatisfyPolicyDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGDataPlacementRestrictionSatisfyPolicyDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.placementRestriction hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToDataPlacementRestrictionSatisfyPolicyDetails:other]; } - (BOOL)isEqualToDataPlacementRestrictionSatisfyPolicyDetails: (DBTEAMLOGDataPlacementRestrictionSatisfyPolicyDetails *)aDataPlacementRestrictionSatisfyPolicyDetails { if (self == aDataPlacementRestrictionSatisfyPolicyDetails) { return YES; } if (![self.placementRestriction isEqual:aDataPlacementRestrictionSatisfyPolicyDetails.placementRestriction]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGDataPlacementRestrictionSatisfyPolicyDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGDataPlacementRestrictionSatisfyPolicyDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"placement_restriction"] = [DBTEAMLOGPlacementRestrictionSerializer serialize:valueObj.placementRestriction]; return jsonDict; } + (DBTEAMLOGDataPlacementRestrictionSatisfyPolicyDetails *)deserialize:(NSDictionary *)valueDict { DBTEAMLOGPlacementRestriction *placementRestriction = [DBTEAMLOGPlacementRestrictionSerializer deserialize:valueDict[@"placement_restriction"]]; return [[DBTEAMLOGDataPlacementRestrictionSatisfyPolicyDetails alloc] initWithPlacementRestriction:placementRestriction]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGDataPlacementRestrictionSatisfyPolicyType.h" #pragma mark - API Object @implementation DBTEAMLOGDataPlacementRestrictionSatisfyPolicyType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGDataPlacementRestrictionSatisfyPolicyTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGDataPlacementRestrictionSatisfyPolicyTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGDataPlacementRestrictionSatisfyPolicyTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToDataPlacementRestrictionSatisfyPolicyType:other]; } - (BOOL)isEqualToDataPlacementRestrictionSatisfyPolicyType: (DBTEAMLOGDataPlacementRestrictionSatisfyPolicyType *)aDataPlacementRestrictionSatisfyPolicyType { if (self == aDataPlacementRestrictionSatisfyPolicyType) { return YES; } if (![self.description_ isEqual:aDataPlacementRestrictionSatisfyPolicyType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGDataPlacementRestrictionSatisfyPolicyTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGDataPlacementRestrictionSatisfyPolicyType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGDataPlacementRestrictionSatisfyPolicyType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGDataPlacementRestrictionSatisfyPolicyType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGDataResidencyMigrationRequestSuccessfulDetails.h" #pragma mark - API Object @implementation DBTEAMLOGDataResidencyMigrationRequestSuccessfulDetails #pragma mark - Constructors - (instancetype)initDefault { self = [super init]; if (self) { } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGDataResidencyMigrationRequestSuccessfulDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGDataResidencyMigrationRequestSuccessfulDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGDataResidencyMigrationRequestSuccessfulDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 isEqualToDataResidencyMigrationRequestSuccessfulDetails:other]; } - (BOOL)isEqualToDataResidencyMigrationRequestSuccessfulDetails: (DBTEAMLOGDataResidencyMigrationRequestSuccessfulDetails *)aDataResidencyMigrationRequestSuccessfulDetails { if (self == aDataResidencyMigrationRequestSuccessfulDetails) { return YES; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGDataResidencyMigrationRequestSuccessfulDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGDataResidencyMigrationRequestSuccessfulDetails *)valueObj { #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; return jsonDict; } + (DBTEAMLOGDataResidencyMigrationRequestSuccessfulDetails *)deserialize:(NSDictionary *)valueDict { #pragma unused(valueDict) return [[DBTEAMLOGDataResidencyMigrationRequestSuccessfulDetails alloc] initDefault]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGDataResidencyMigrationRequestSuccessfulType.h" #pragma mark - API Object @implementation DBTEAMLOGDataResidencyMigrationRequestSuccessfulType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGDataResidencyMigrationRequestSuccessfulTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGDataResidencyMigrationRequestSuccessfulTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGDataResidencyMigrationRequestSuccessfulTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToDataResidencyMigrationRequestSuccessfulType:other]; } - (BOOL)isEqualToDataResidencyMigrationRequestSuccessfulType: (DBTEAMLOGDataResidencyMigrationRequestSuccessfulType *)aDataResidencyMigrationRequestSuccessfulType { if (self == aDataResidencyMigrationRequestSuccessfulType) { return YES; } if (![self.description_ isEqual:aDataResidencyMigrationRequestSuccessfulType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGDataResidencyMigrationRequestSuccessfulTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGDataResidencyMigrationRequestSuccessfulType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGDataResidencyMigrationRequestSuccessfulType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGDataResidencyMigrationRequestSuccessfulType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGDataResidencyMigrationRequestUnsuccessfulDetails.h" #pragma mark - API Object @implementation DBTEAMLOGDataResidencyMigrationRequestUnsuccessfulDetails #pragma mark - Constructors - (instancetype)initDefault { self = [super init]; if (self) { } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGDataResidencyMigrationRequestUnsuccessfulDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGDataResidencyMigrationRequestUnsuccessfulDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGDataResidencyMigrationRequestUnsuccessfulDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 isEqualToDataResidencyMigrationRequestUnsuccessfulDetails:other]; } - (BOOL)isEqualToDataResidencyMigrationRequestUnsuccessfulDetails: (DBTEAMLOGDataResidencyMigrationRequestUnsuccessfulDetails *)aDataResidencyMigrationRequestUnsuccessfulDetails { if (self == aDataResidencyMigrationRequestUnsuccessfulDetails) { return YES; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGDataResidencyMigrationRequestUnsuccessfulDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGDataResidencyMigrationRequestUnsuccessfulDetails *)valueObj { #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; return jsonDict; } + (DBTEAMLOGDataResidencyMigrationRequestUnsuccessfulDetails *)deserialize:(NSDictionary *)valueDict { #pragma unused(valueDict) return [[DBTEAMLOGDataResidencyMigrationRequestUnsuccessfulDetails alloc] initDefault]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGDataResidencyMigrationRequestUnsuccessfulType.h" #pragma mark - API Object @implementation DBTEAMLOGDataResidencyMigrationRequestUnsuccessfulType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGDataResidencyMigrationRequestUnsuccessfulTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGDataResidencyMigrationRequestUnsuccessfulTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGDataResidencyMigrationRequestUnsuccessfulTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToDataResidencyMigrationRequestUnsuccessfulType:other]; } - (BOOL)isEqualToDataResidencyMigrationRequestUnsuccessfulType: (DBTEAMLOGDataResidencyMigrationRequestUnsuccessfulType *)aDataResidencyMigrationRequestUnsuccessfulType { if (self == aDataResidencyMigrationRequestUnsuccessfulType) { return YES; } if (![self.description_ isEqual:aDataResidencyMigrationRequestUnsuccessfulType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGDataResidencyMigrationRequestUnsuccessfulTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGDataResidencyMigrationRequestUnsuccessfulType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGDataResidencyMigrationRequestUnsuccessfulType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGDataResidencyMigrationRequestUnsuccessfulType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGDefaultLinkExpirationDaysPolicy.h" #pragma mark - API Object @implementation DBTEAMLOGDefaultLinkExpirationDaysPolicy #pragma mark - Constructors - (instancetype)initWithDay1 { self = [super init]; if (self) { _tag = DBTEAMLOGDefaultLinkExpirationDaysPolicyDay1; } return self; } - (instancetype)initWithDay180 { self = [super init]; if (self) { _tag = DBTEAMLOGDefaultLinkExpirationDaysPolicyDay180; } return self; } - (instancetype)initWithDay3 { self = [super init]; if (self) { _tag = DBTEAMLOGDefaultLinkExpirationDaysPolicyDay3; } return self; } - (instancetype)initWithDay30 { self = [super init]; if (self) { _tag = DBTEAMLOGDefaultLinkExpirationDaysPolicyDay30; } return self; } - (instancetype)initWithDay7 { self = [super init]; if (self) { _tag = DBTEAMLOGDefaultLinkExpirationDaysPolicyDay7; } return self; } - (instancetype)initWithDay90 { self = [super init]; if (self) { _tag = DBTEAMLOGDefaultLinkExpirationDaysPolicyDay90; } return self; } - (instancetype)initWithNone { self = [super init]; if (self) { _tag = DBTEAMLOGDefaultLinkExpirationDaysPolicyNone; } return self; } - (instancetype)initWithYear1 { self = [super init]; if (self) { _tag = DBTEAMLOGDefaultLinkExpirationDaysPolicyYear1; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBTEAMLOGDefaultLinkExpirationDaysPolicyOther; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isDay1 { return _tag == DBTEAMLOGDefaultLinkExpirationDaysPolicyDay1; } - (BOOL)isDay180 { return _tag == DBTEAMLOGDefaultLinkExpirationDaysPolicyDay180; } - (BOOL)isDay3 { return _tag == DBTEAMLOGDefaultLinkExpirationDaysPolicyDay3; } - (BOOL)isDay30 { return _tag == DBTEAMLOGDefaultLinkExpirationDaysPolicyDay30; } - (BOOL)isDay7 { return _tag == DBTEAMLOGDefaultLinkExpirationDaysPolicyDay7; } - (BOOL)isDay90 { return _tag == DBTEAMLOGDefaultLinkExpirationDaysPolicyDay90; } - (BOOL)isNone { return _tag == DBTEAMLOGDefaultLinkExpirationDaysPolicyNone; } - (BOOL)isYear1 { return _tag == DBTEAMLOGDefaultLinkExpirationDaysPolicyYear1; } - (BOOL)isOther { return _tag == DBTEAMLOGDefaultLinkExpirationDaysPolicyOther; } - (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"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGDefaultLinkExpirationDaysPolicySerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGDefaultLinkExpirationDaysPolicySerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGDefaultLinkExpirationDaysPolicySerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToDefaultLinkExpirationDaysPolicy:other]; } - (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; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGDefaultLinkExpirationDaysPolicySerializer + (NSDictionary *)serialize:(DBTEAMLOGDefaultLinkExpirationDaysPolicy *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; 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"; } return jsonDict; } + (DBTEAMLOGDefaultLinkExpirationDaysPolicy *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; 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]; } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGDeleteTeamInviteLinkDetails.h" #pragma mark - API Object @implementation DBTEAMLOGDeleteTeamInviteLinkDetails #pragma mark - Constructors - (instancetype)initWithLinkUrl:(NSString *)linkUrl { [DBStoneValidators nonnullValidator:nil](linkUrl); self = [super init]; if (self) { _linkUrl = linkUrl; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGDeleteTeamInviteLinkDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGDeleteTeamInviteLinkDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGDeleteTeamInviteLinkDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.linkUrl hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToDeleteTeamInviteLinkDetails:other]; } - (BOOL)isEqualToDeleteTeamInviteLinkDetails:(DBTEAMLOGDeleteTeamInviteLinkDetails *)aDeleteTeamInviteLinkDetails { if (self == aDeleteTeamInviteLinkDetails) { return YES; } if (![self.linkUrl isEqual:aDeleteTeamInviteLinkDetails.linkUrl]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGDeleteTeamInviteLinkDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGDeleteTeamInviteLinkDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"link_url"] = valueObj.linkUrl; return jsonDict; } + (DBTEAMLOGDeleteTeamInviteLinkDetails *)deserialize:(NSDictionary *)valueDict { NSString *linkUrl = valueDict[@"link_url"]; return [[DBTEAMLOGDeleteTeamInviteLinkDetails alloc] initWithLinkUrl:linkUrl]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGDeleteTeamInviteLinkType.h" #pragma mark - API Object @implementation DBTEAMLOGDeleteTeamInviteLinkType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGDeleteTeamInviteLinkTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGDeleteTeamInviteLinkTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGDeleteTeamInviteLinkTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #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)isEqualToDeleteTeamInviteLinkType:(DBTEAMLOGDeleteTeamInviteLinkType *)aDeleteTeamInviteLinkType { if (self == aDeleteTeamInviteLinkType) { return YES; } if (![self.description_ isEqual:aDeleteTeamInviteLinkType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGDeleteTeamInviteLinkTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGDeleteTeamInviteLinkType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGDeleteTeamInviteLinkType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGDeleteTeamInviteLinkType alloc] initWithDescription_:description_]; } @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; } - (instancetype)initDefault { return [self initWithIpAddress:nil created:nil updated:nil]; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGDeviceSessionLogInfoSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGDeviceSessionLogInfoSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGDeviceSessionLogInfoSerializer serialize:self] description]; } #pragma mark - Copyable method - (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]; } return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToDeviceSessionLogInfo:other]; } - (BOOL)isEqualToDeviceSessionLogInfo:(DBTEAMLOGDeviceSessionLogInfo *)aDeviceSessionLogInfo { if (self == aDeviceSessionLogInfo) { return YES; } 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: 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: 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: 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: 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: result = prime * result + [self.paperExternalViewAllowDetails hash]; break; case DBTEAMLOGEventDetailsPaperExternalViewDefaultTeamDetails: result = prime * result + [self.paperExternalViewDefaultTeamDetails hash]; break; case DBTEAMLOGEventDetailsPaperExternalViewForbidDetails: 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: 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: result = prime * result + [self.teamMergeFromDetails hash]; break; case DBTEAMLOGEventDetailsTeamMergeToDetails: 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: return [self.appLinkUserDetails isEqual:anEventDetails.appLinkUserDetails]; case DBTEAMLOGEventDetailsAppUnlinkTeamDetails: 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: return [self.fileResolveCommentDetails isEqual:anEventDetails.fileResolveCommentDetails]; case DBTEAMLOGEventDetailsFileUnlikeCommentDetails: 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: return [self.deviceChangeIpMobileDetails isEqual:anEventDetails.deviceChangeIpMobileDetails]; case DBTEAMLOGEventDetailsDeviceChangeIpWebDetails: return [self.deviceChangeIpWebDetails isEqual:anEventDetails.deviceChangeIpWebDetails]; case DBTEAMLOGEventDetailsDeviceDeleteOnUnlinkFailDetails: return [self.deviceDeleteOnUnlinkFailDetails isEqual:anEventDetails.deviceDeleteOnUnlinkFailDetails]; case DBTEAMLOGEventDetailsDeviceDeleteOnUnlinkSuccessDetails: return [self.deviceDeleteOnUnlinkSuccessDetails isEqual:anEventDetails.deviceDeleteOnUnlinkSuccessDetails]; case DBTEAMLOGEventDetailsDeviceLinkFailDetails: return [self.deviceLinkFailDetails isEqual:anEventDetails.deviceLinkFailDetails]; case DBTEAMLOGEventDetailsDeviceLinkSuccessDetails: return [self.deviceLinkSuccessDetails isEqual:anEventDetails.deviceLinkSuccessDetails]; case DBTEAMLOGEventDetailsDeviceManagementDisabledDetails: 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: return [self.disabledDomainInvitesDetails isEqual:anEventDetails.disabledDomainInvitesDetails]; case DBTEAMLOGEventDetailsDomainInvitesApproveRequestToJoinTeamDetails: return [self.domainInvitesApproveRequestToJoinTeamDetails isEqual:anEventDetails.domainInvitesApproveRequestToJoinTeamDetails]; case DBTEAMLOGEventDetailsDomainInvitesDeclineRequestToJoinTeamDetails: return [self.domainInvitesDeclineRequestToJoinTeamDetails isEqual:anEventDetails.domainInvitesDeclineRequestToJoinTeamDetails]; case DBTEAMLOGEventDetailsDomainInvitesEmailExistingUsersDetails: return [self.domainInvitesEmailExistingUsersDetails isEqual:anEventDetails.domainInvitesEmailExistingUsersDetails]; case DBTEAMLOGEventDetailsDomainInvitesRequestToJoinTeamDetails: return [self.domainInvitesRequestToJoinTeamDetails isEqual:anEventDetails.domainInvitesRequestToJoinTeamDetails]; case DBTEAMLOGEventDetailsDomainInvitesSetInviteNewUserPrefToNoDetails: return [self.domainInvitesSetInviteNewUserPrefToNoDetails isEqual:anEventDetails.domainInvitesSetInviteNewUserPrefToNoDetails]; case DBTEAMLOGEventDetailsDomainInvitesSetInviteNewUserPrefToYesDetails: return [self.domainInvitesSetInviteNewUserPrefToYesDetails isEqual:anEventDetails.domainInvitesSetInviteNewUserPrefToYesDetails]; case DBTEAMLOGEventDetailsDomainVerificationAddDomainFailDetails: return [self.domainVerificationAddDomainFailDetails isEqual:anEventDetails.domainVerificationAddDomainFailDetails]; case DBTEAMLOGEventDetailsDomainVerificationAddDomainSuccessDetails: return [self.domainVerificationAddDomainSuccessDetails isEqual:anEventDetails.domainVerificationAddDomainSuccessDetails]; case DBTEAMLOGEventDetailsDomainVerificationRemoveDomainDetails: 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: return [self.fileDeleteDetails isEqual:anEventDetails.fileDeleteDetails]; case DBTEAMLOGEventDetailsFileDownloadDetails: return [self.fileDownloadDetails isEqual:anEventDetails.fileDownloadDetails]; case DBTEAMLOGEventDetailsFileEditDetails: 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: return [self.filePermanentlyDeleteDetails isEqual:anEventDetails.filePermanentlyDeleteDetails]; case DBTEAMLOGEventDetailsFilePreviewDetails: return [self.filePreviewDetails isEqual:anEventDetails.filePreviewDetails]; case DBTEAMLOGEventDetailsFileRenameDetails: return [self.fileRenameDetails isEqual:anEventDetails.fileRenameDetails]; case DBTEAMLOGEventDetailsFileRestoreDetails: return [self.fileRestoreDetails isEqual:anEventDetails.fileRestoreDetails]; case DBTEAMLOGEventDetailsFileRevertDetails: return [self.fileRevertDetails isEqual:anEventDetails.fileRevertDetails]; case DBTEAMLOGEventDetailsFileRollbackChangesDetails: return [self.fileRollbackChangesDetails isEqual:anEventDetails.fileRollbackChangesDetails]; case DBTEAMLOGEventDetailsFileSaveCopyReferenceDetails: return [self.fileSaveCopyReferenceDetails isEqual:anEventDetails.fileSaveCopyReferenceDetails]; 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 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 DBTEAMLOGEventDetailsGroupAddExternalIdDetails: return [self.groupAddExternalIdDetails isEqual:anEventDetails.groupAddExternalIdDetails]; case DBTEAMLOGEventDetailsGroupAddMemberDetails: return [self.groupAddMemberDetails isEqual:anEventDetails.groupAddMemberDetails]; case DBTEAMLOGEventDetailsGroupChangeExternalIdDetails: return [self.groupChangeExternalIdDetails isEqual:anEventDetails.groupChangeExternalIdDetails]; case DBTEAMLOGEventDetailsGroupChangeManagementTypeDetails: return [self.groupChangeManagementTypeDetails isEqual:anEventDetails.groupChangeManagementTypeDetails]; case DBTEAMLOGEventDetailsGroupChangeMemberRoleDetails: return [self.groupChangeMemberRoleDetails isEqual:anEventDetails.groupChangeMemberRoleDetails]; case DBTEAMLOGEventDetailsGroupCreateDetails: 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: return [self.groupRemoveExternalIdDetails isEqual:anEventDetails.groupRemoveExternalIdDetails]; case DBTEAMLOGEventDetailsGroupRemoveMemberDetails: 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: return [self.loginSuccessDetails isEqual:anEventDetails.loginSuccessDetails]; case DBTEAMLOGEventDetailsLogoutDetails: return [self.logoutDetails isEqual:anEventDetails.logoutDetails]; case DBTEAMLOGEventDetailsResellerSupportSessionEndDetails: return [self.resellerSupportSessionEndDetails isEqual:anEventDetails.resellerSupportSessionEndDetails]; case DBTEAMLOGEventDetailsResellerSupportSessionStartDetails: return [self.resellerSupportSessionStartDetails isEqual:anEventDetails.resellerSupportSessionStartDetails]; case DBTEAMLOGEventDetailsSignInAsSessionEndDetails: return [self.signInAsSessionEndDetails isEqual:anEventDetails.signInAsSessionEndDetails]; case DBTEAMLOGEventDetailsSignInAsSessionStartDetails: 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: return [self.paperContentAddToFolderDetails isEqual:anEventDetails.paperContentAddToFolderDetails]; case DBTEAMLOGEventDetailsPaperContentArchiveDetails: return [self.paperContentArchiveDetails isEqual:anEventDetails.paperContentArchiveDetails]; case DBTEAMLOGEventDetailsPaperContentCreateDetails: return [self.paperContentCreateDetails isEqual:anEventDetails.paperContentCreateDetails]; case DBTEAMLOGEventDetailsPaperContentPermanentlyDeleteDetails: return [self.paperContentPermanentlyDeleteDetails isEqual:anEventDetails.paperContentPermanentlyDeleteDetails]; case DBTEAMLOGEventDetailsPaperContentRemoveFromFolderDetails: return [self.paperContentRemoveFromFolderDetails isEqual:anEventDetails.paperContentRemoveFromFolderDetails]; case DBTEAMLOGEventDetailsPaperContentRemoveMemberDetails: return [self.paperContentRemoveMemberDetails isEqual:anEventDetails.paperContentRemoveMemberDetails]; case DBTEAMLOGEventDetailsPaperContentRenameDetails: return [self.paperContentRenameDetails isEqual:anEventDetails.paperContentRenameDetails]; case DBTEAMLOGEventDetailsPaperContentRestoreDetails: return [self.paperContentRestoreDetails isEqual:anEventDetails.paperContentRestoreDetails]; case DBTEAMLOGEventDetailsPaperDocAddCommentDetails: return [self.paperDocAddCommentDetails isEqual:anEventDetails.paperDocAddCommentDetails]; case DBTEAMLOGEventDetailsPaperDocChangeMemberRoleDetails: return [self.paperDocChangeMemberRoleDetails isEqual:anEventDetails.paperDocChangeMemberRoleDetails]; case DBTEAMLOGEventDetailsPaperDocChangeSharingPolicyDetails: return [self.paperDocChangeSharingPolicyDetails isEqual:anEventDetails.paperDocChangeSharingPolicyDetails]; case DBTEAMLOGEventDetailsPaperDocChangeSubscriptionDetails: return [self.paperDocChangeSubscriptionDetails isEqual:anEventDetails.paperDocChangeSubscriptionDetails]; case DBTEAMLOGEventDetailsPaperDocDeletedDetails: return [self.paperDocDeletedDetails isEqual:anEventDetails.paperDocDeletedDetails]; case DBTEAMLOGEventDetailsPaperDocDeleteCommentDetails: return [self.paperDocDeleteCommentDetails isEqual:anEventDetails.paperDocDeleteCommentDetails]; case DBTEAMLOGEventDetailsPaperDocDownloadDetails: return [self.paperDocDownloadDetails isEqual:anEventDetails.paperDocDownloadDetails]; case DBTEAMLOGEventDetailsPaperDocEditDetails: return [self.paperDocEditDetails isEqual:anEventDetails.paperDocEditDetails]; case DBTEAMLOGEventDetailsPaperDocEditCommentDetails: return [self.paperDocEditCommentDetails isEqual:anEventDetails.paperDocEditCommentDetails]; case DBTEAMLOGEventDetailsPaperDocFollowedDetails: 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: return [self.paperDocResolveCommentDetails isEqual:anEventDetails.paperDocResolveCommentDetails]; case DBTEAMLOGEventDetailsPaperDocRevertDetails: return [self.paperDocRevertDetails isEqual:anEventDetails.paperDocRevertDetails]; case DBTEAMLOGEventDetailsPaperDocSlackShareDetails: return [self.paperDocSlackShareDetails isEqual:anEventDetails.paperDocSlackShareDetails]; case DBTEAMLOGEventDetailsPaperDocTeamInviteDetails: return [self.paperDocTeamInviteDetails isEqual:anEventDetails.paperDocTeamInviteDetails]; case DBTEAMLOGEventDetailsPaperDocTrashedDetails: return [self.paperDocTrashedDetails isEqual:anEventDetails.paperDocTrashedDetails]; case DBTEAMLOGEventDetailsPaperDocUnresolveCommentDetails: return [self.paperDocUnresolveCommentDetails isEqual:anEventDetails.paperDocUnresolveCommentDetails]; case DBTEAMLOGEventDetailsPaperDocUntrashedDetails: 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: return [self.paperFolderDeletedDetails isEqual:anEventDetails.paperFolderDeletedDetails]; case DBTEAMLOGEventDetailsPaperFolderFollowedDetails: 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: return [self.noteAclLinkDetails isEqual:anEventDetails.noteAclLinkDetails]; case DBTEAMLOGEventDetailsNoteAclTeamLinkDetails: return [self.noteAclTeamLinkDetails isEqual:anEventDetails.noteAclTeamLinkDetails]; case DBTEAMLOGEventDetailsNoteSharedDetails: return [self.noteSharedDetails isEqual:anEventDetails.noteSharedDetails]; case DBTEAMLOGEventDetailsNoteShareReceiveDetails: 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 DBTEAMLOGEventDetailsSfTeamGrantAccessDetails: return [self.sfTeamGrantAccessDetails isEqual:anEventDetails.sfTeamGrantAccessDetails]; case DBTEAMLOGEventDetailsSfTeamInviteDetails: return [self.sfTeamInviteDetails isEqual:anEventDetails.sfTeamInviteDetails]; case DBTEAMLOGEventDetailsSfTeamInviteChangeRoleDetails: return [self.sfTeamInviteChangeRoleDetails isEqual:anEventDetails.sfTeamInviteChangeRoleDetails]; case DBTEAMLOGEventDetailsSfTeamJoinDetails: return [self.sfTeamJoinDetails isEqual:anEventDetails.sfTeamJoinDetails]; case DBTEAMLOGEventDetailsSfTeamJoinFromOobLinkDetails: return [self.sfTeamJoinFromOobLinkDetails isEqual:anEventDetails.sfTeamJoinFromOobLinkDetails]; case DBTEAMLOGEventDetailsSfTeamUninviteDetails: return [self.sfTeamUninviteDetails isEqual:anEventDetails.sfTeamUninviteDetails]; case DBTEAMLOGEventDetailsSharedContentAddInviteesDetails: return [self.sharedContentAddInviteesDetails isEqual:anEventDetails.sharedContentAddInviteesDetails]; case DBTEAMLOGEventDetailsSharedContentAddLinkExpiryDetails: return [self.sharedContentAddLinkExpiryDetails isEqual:anEventDetails.sharedContentAddLinkExpiryDetails]; case DBTEAMLOGEventDetailsSharedContentAddLinkPasswordDetails: return [self.sharedContentAddLinkPasswordDetails isEqual:anEventDetails.sharedContentAddLinkPasswordDetails]; case DBTEAMLOGEventDetailsSharedContentAddMemberDetails: return [self.sharedContentAddMemberDetails isEqual:anEventDetails.sharedContentAddMemberDetails]; case DBTEAMLOGEventDetailsSharedContentChangeDownloadsPolicyDetails: return [self.sharedContentChangeDownloadsPolicyDetails isEqual:anEventDetails.sharedContentChangeDownloadsPolicyDetails]; case DBTEAMLOGEventDetailsSharedContentChangeInviteeRoleDetails: return [self.sharedContentChangeInviteeRoleDetails isEqual:anEventDetails.sharedContentChangeInviteeRoleDetails]; case DBTEAMLOGEventDetailsSharedContentChangeLinkAudienceDetails: return [self.sharedContentChangeLinkAudienceDetails isEqual:anEventDetails.sharedContentChangeLinkAudienceDetails]; case DBTEAMLOGEventDetailsSharedContentChangeLinkExpiryDetails: return [self.sharedContentChangeLinkExpiryDetails isEqual:anEventDetails.sharedContentChangeLinkExpiryDetails]; case DBTEAMLOGEventDetailsSharedContentChangeLinkPasswordDetails: return [self.sharedContentChangeLinkPasswordDetails isEqual:anEventDetails.sharedContentChangeLinkPasswordDetails]; case DBTEAMLOGEventDetailsSharedContentChangeMemberRoleDetails: return [self.sharedContentChangeMemberRoleDetails isEqual:anEventDetails.sharedContentChangeMemberRoleDetails]; case DBTEAMLOGEventDetailsSharedContentChangeViewerInfoPolicyDetails: return [self.sharedContentChangeViewerInfoPolicyDetails isEqual:anEventDetails.sharedContentChangeViewerInfoPolicyDetails]; case DBTEAMLOGEventDetailsSharedContentClaimInvitationDetails: return [self.sharedContentClaimInvitationDetails isEqual:anEventDetails.sharedContentClaimInvitationDetails]; case DBTEAMLOGEventDetailsSharedContentCopyDetails: return [self.sharedContentCopyDetails isEqual:anEventDetails.sharedContentCopyDetails]; case DBTEAMLOGEventDetailsSharedContentDownloadDetails: return [self.sharedContentDownloadDetails isEqual:anEventDetails.sharedContentDownloadDetails]; case DBTEAMLOGEventDetailsSharedContentRelinquishMembershipDetails: return [self.sharedContentRelinquishMembershipDetails isEqual:anEventDetails.sharedContentRelinquishMembershipDetails]; case DBTEAMLOGEventDetailsSharedContentRemoveInviteesDetails: return [self.sharedContentRemoveInviteesDetails isEqual:anEventDetails.sharedContentRemoveInviteesDetails]; case DBTEAMLOGEventDetailsSharedContentRemoveLinkExpiryDetails: return [self.sharedContentRemoveLinkExpiryDetails isEqual:anEventDetails.sharedContentRemoveLinkExpiryDetails]; case DBTEAMLOGEventDetailsSharedContentRemoveLinkPasswordDetails: return [self.sharedContentRemoveLinkPasswordDetails isEqual:anEventDetails.sharedContentRemoveLinkPasswordDetails]; case DBTEAMLOGEventDetailsSharedContentRemoveMemberDetails: 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 DBTEAMLOGEventDetailsSharedFolderChangeLinkPolicyDetails: return [self.sharedFolderChangeLinkPolicyDetails isEqual:anEventDetails.sharedFolderChangeLinkPolicyDetails]; 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 DBTEAMLOGEventDetailsShmodelDisableDownloadsDetails: return [self.shmodelDisableDownloadsDetails isEqual:anEventDetails.shmodelDisableDownloadsDetails]; case DBTEAMLOGEventDetailsShmodelEnableDownloadsDetails: return [self.shmodelEnableDownloadsDetails isEqual:anEventDetails.shmodelEnableDownloadsDetails]; case DBTEAMLOGEventDetailsShmodelGroupShareDetails: return [self.shmodelGroupShareDetails isEqual:anEventDetails.shmodelGroupShareDetails]; 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: return [self.ssoAddLoginUrlDetails isEqual:anEventDetails.ssoAddLoginUrlDetails]; case DBTEAMLOGEventDetailsSsoAddLogoutUrlDetails: return [self.ssoAddLogoutUrlDetails isEqual:anEventDetails.ssoAddLogoutUrlDetails]; case DBTEAMLOGEventDetailsSsoChangeCertDetails: return [self.ssoChangeCertDetails isEqual:anEventDetails.ssoChangeCertDetails]; case DBTEAMLOGEventDetailsSsoChangeLoginUrlDetails: return [self.ssoChangeLoginUrlDetails isEqual:anEventDetails.ssoChangeLoginUrlDetails]; case DBTEAMLOGEventDetailsSsoChangeLogoutUrlDetails: return [self.ssoChangeLogoutUrlDetails isEqual:anEventDetails.ssoChangeLogoutUrlDetails]; case DBTEAMLOGEventDetailsSsoChangeSamlIdentityModeDetails: return [self.ssoChangeSamlIdentityModeDetails isEqual:anEventDetails.ssoChangeSamlIdentityModeDetails]; case DBTEAMLOGEventDetailsSsoRemoveCertDetails: return [self.ssoRemoveCertDetails isEqual:anEventDetails.ssoRemoveCertDetails]; case DBTEAMLOGEventDetailsSsoRemoveLoginUrlDetails: return [self.ssoRemoveLoginUrlDetails isEqual:anEventDetails.ssoRemoveLoginUrlDetails]; case DBTEAMLOGEventDetailsSsoRemoveLogoutUrlDetails: return [self.ssoRemoveLogoutUrlDetails isEqual:anEventDetails.ssoRemoveLogoutUrlDetails]; case DBTEAMLOGEventDetailsTeamFolderChangeStatusDetails: return [self.teamFolderChangeStatusDetails isEqual:anEventDetails.teamFolderChangeStatusDetails]; case DBTEAMLOGEventDetailsTeamFolderCreateDetails: return [self.teamFolderCreateDetails isEqual:anEventDetails.teamFolderCreateDetails]; case DBTEAMLOGEventDetailsTeamFolderDowngradeDetails: return [self.teamFolderDowngradeDetails isEqual:anEventDetails.teamFolderDowngradeDetails]; case DBTEAMLOGEventDetailsTeamFolderPermanentlyDeleteDetails: 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]; case DBTEAMLOGEventDetailsDeviceApprovalsChangeMobilePolicyDetails: return [self.deviceApprovalsChangeMobilePolicyDetails isEqual:anEventDetails.deviceApprovalsChangeMobilePolicyDetails]; case DBTEAMLOGEventDetailsDeviceApprovalsChangeOverageActionDetails: return [self.deviceApprovalsChangeOverageActionDetails isEqual:anEventDetails.deviceApprovalsChangeOverageActionDetails]; 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: return [self.emmChangePolicyDetails isEqual:anEventDetails.emmChangePolicyDetails]; case DBTEAMLOGEventDetailsEmmRemoveExceptionDetails: return [self.emmRemoveExceptionDetails isEqual:anEventDetails.emmRemoveExceptionDetails]; 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: return [self.fileRequestsEmailsEnabledDetails isEqual:anEventDetails.fileRequestsEmailsEnabledDetails]; 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: return [self.memberSpaceLimitsRemoveExceptionDetails isEqual:anEventDetails.memberSpaceLimitsRemoveExceptionDetails]; case DBTEAMLOGEventDetailsMemberSuggestionsChangePolicyDetails: return [self.memberSuggestionsChangePolicyDetails isEqual:anEventDetails.memberSuggestionsChangePolicyDetails]; case DBTEAMLOGEventDetailsMicrosoftOfficeAddinChangePolicyDetails: return [self.microsoftOfficeAddinChangePolicyDetails isEqual:anEventDetails.microsoftOfficeAddinChangePolicyDetails]; case DBTEAMLOGEventDetailsNetworkControlChangePolicyDetails: return [self.networkControlChangePolicyDetails isEqual:anEventDetails.networkControlChangePolicyDetails]; case DBTEAMLOGEventDetailsPaperChangeDeploymentPolicyDetails: return [self.paperChangeDeploymentPolicyDetails isEqual:anEventDetails.paperChangeDeploymentPolicyDetails]; case DBTEAMLOGEventDetailsPaperChangeMemberLinkPolicyDetails: return [self.paperChangeMemberLinkPolicyDetails isEqual:anEventDetails.paperChangeMemberLinkPolicyDetails]; case DBTEAMLOGEventDetailsPaperChangeMemberPolicyDetails: 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: return [self.smartSyncNotOptOutDetails isEqual:anEventDetails.smartSyncNotOptOutDetails]; case DBTEAMLOGEventDetailsSmartSyncOptOutDetails: 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]; case DBTEAMLOGEventDetailsTeamProfileChangeLogoDetails: 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: return [self.tfaAddBackupPhoneDetails isEqual:anEventDetails.tfaAddBackupPhoneDetails]; case DBTEAMLOGEventDetailsTfaAddSecurityKeyDetails: return [self.tfaAddSecurityKeyDetails isEqual:anEventDetails.tfaAddSecurityKeyDetails]; case DBTEAMLOGEventDetailsTfaChangeBackupPhoneDetails: return [self.tfaChangeBackupPhoneDetails isEqual:anEventDetails.tfaChangeBackupPhoneDetails]; case DBTEAMLOGEventDetailsTfaChangeStatusDetails: return [self.tfaChangeStatusDetails isEqual:anEventDetails.tfaChangeStatusDetails]; case DBTEAMLOGEventDetailsTfaRemoveBackupPhoneDetails: return [self.tfaRemoveBackupPhoneDetails isEqual:anEventDetails.tfaRemoveBackupPhoneDetails]; case DBTEAMLOGEventDetailsTfaRemoveSecurityKeyDetails: 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: return [[self tagName] isEqual:[anEventDetails tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGEventDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGEventDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; 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 addEntriesFromDictionary:[DBTEAMLOGAppLinkTeamDetailsSerializer serialize:valueObj.appLinkTeamDetails]]; jsonDict[@".tag"] = @"app_link_team_details"; } else if ([valueObj isAppLinkUserDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGAppLinkUserDetailsSerializer serialize:valueObj.appLinkUserDetails]]; jsonDict[@".tag"] = @"app_link_user_details"; } else if ([valueObj isAppUnlinkTeamDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGAppUnlinkTeamDetailsSerializer serialize:valueObj.appUnlinkTeamDetails]]; jsonDict[@".tag"] = @"app_unlink_team_details"; } else if ([valueObj isAppUnlinkUserDetails]) { [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 addEntriesFromDictionary:[DBTEAMLOGFileAddCommentDetailsSerializer serialize:valueObj.fileAddCommentDetails]]; jsonDict[@".tag"] = @"file_add_comment_details"; } else if ([valueObj isFileChangeCommentSubscriptionDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGFileChangeCommentSubscriptionDetailsSerializer serialize:valueObj.fileChangeCommentSubscriptionDetails]]; jsonDict[@".tag"] = @"file_change_comment_subscription_details"; } else if ([valueObj isFileDeleteCommentDetails]) { [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 addEntriesFromDictionary:[DBTEAMLOGFileLikeCommentDetailsSerializer serialize:valueObj.fileLikeCommentDetails]]; jsonDict[@".tag"] = @"file_like_comment_details"; } else if ([valueObj isFileResolveCommentDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGFileResolveCommentDetailsSerializer serialize:valueObj.fileResolveCommentDetails]]; jsonDict[@".tag"] = @"file_resolve_comment_details"; } else if ([valueObj isFileUnlikeCommentDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGFileUnlikeCommentDetailsSerializer serialize:valueObj.fileUnlikeCommentDetails]]; jsonDict[@".tag"] = @"file_unlike_comment_details"; } else if ([valueObj isFileUnresolveCommentDetails]) { [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 addEntriesFromDictionary:[DBTEAMLOGDeviceChangeIpDesktopDetailsSerializer serialize:valueObj.deviceChangeIpDesktopDetails]]; jsonDict[@".tag"] = @"device_change_ip_desktop_details"; } else if ([valueObj isDeviceChangeIpMobileDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGDeviceChangeIpMobileDetailsSerializer serialize:valueObj.deviceChangeIpMobileDetails]]; jsonDict[@".tag"] = @"device_change_ip_mobile_details"; } else if ([valueObj isDeviceChangeIpWebDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGDeviceChangeIpWebDetailsSerializer serialize:valueObj.deviceChangeIpWebDetails]]; jsonDict[@".tag"] = @"device_change_ip_web_details"; } else if ([valueObj isDeviceDeleteOnUnlinkFailDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGDeviceDeleteOnUnlinkFailDetailsSerializer serialize:valueObj.deviceDeleteOnUnlinkFailDetails]]; jsonDict[@".tag"] = @"device_delete_on_unlink_fail_details"; } else if ([valueObj isDeviceDeleteOnUnlinkSuccessDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGDeviceDeleteOnUnlinkSuccessDetailsSerializer serialize:valueObj.deviceDeleteOnUnlinkSuccessDetails]]; jsonDict[@".tag"] = @"device_delete_on_unlink_success_details"; } else if ([valueObj isDeviceLinkFailDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGDeviceLinkFailDetailsSerializer serialize:valueObj.deviceLinkFailDetails]]; jsonDict[@".tag"] = @"device_link_fail_details"; } else if ([valueObj isDeviceLinkSuccessDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGDeviceLinkSuccessDetailsSerializer serialize:valueObj.deviceLinkSuccessDetails]]; jsonDict[@".tag"] = @"device_link_success_details"; } else if ([valueObj isDeviceManagementDisabledDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGDeviceManagementDisabledDetailsSerializer serialize:valueObj.deviceManagementDisabledDetails]]; jsonDict[@".tag"] = @"device_management_disabled_details"; } else if ([valueObj isDeviceManagementEnabledDetails]) { [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 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 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 addEntriesFromDictionary:[DBTEAMLOGAccountCaptureChangeAvailabilityDetailsSerializer serialize:valueObj.accountCaptureChangeAvailabilityDetails]]; jsonDict[@".tag"] = @"account_capture_change_availability_details"; } else if ([valueObj isAccountCaptureMigrateAccountDetails]) { [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 addEntriesFromDictionary:[DBTEAMLOGAccountCaptureRelinquishAccountDetailsSerializer serialize:valueObj.accountCaptureRelinquishAccountDetails]]; jsonDict[@".tag"] = @"account_capture_relinquish_account_details"; } else if ([valueObj isDisabledDomainInvitesDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGDisabledDomainInvitesDetailsSerializer serialize:valueObj.disabledDomainInvitesDetails]]; jsonDict[@".tag"] = @"disabled_domain_invites_details"; } else if ([valueObj isDomainInvitesApproveRequestToJoinTeamDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGDomainInvitesApproveRequestToJoinTeamDetailsSerializer serialize:valueObj.domainInvitesApproveRequestToJoinTeamDetails]]; jsonDict[@".tag"] = @"domain_invites_approve_request_to_join_team_details"; } else if ([valueObj isDomainInvitesDeclineRequestToJoinTeamDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamDetailsSerializer serialize:valueObj.domainInvitesDeclineRequestToJoinTeamDetails]]; jsonDict[@".tag"] = @"domain_invites_decline_request_to_join_team_details"; } else if ([valueObj isDomainInvitesEmailExistingUsersDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGDomainInvitesEmailExistingUsersDetailsSerializer serialize:valueObj.domainInvitesEmailExistingUsersDetails]]; jsonDict[@".tag"] = @"domain_invites_email_existing_users_details"; } else if ([valueObj isDomainInvitesRequestToJoinTeamDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGDomainInvitesRequestToJoinTeamDetailsSerializer serialize:valueObj.domainInvitesRequestToJoinTeamDetails]]; jsonDict[@".tag"] = @"domain_invites_request_to_join_team_details"; } else if ([valueObj isDomainInvitesSetInviteNewUserPrefToNoDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoDetailsSerializer serialize:valueObj.domainInvitesSetInviteNewUserPrefToNoDetails]]; jsonDict[@".tag"] = @"domain_invites_set_invite_new_user_pref_to_no_details"; } else if ([valueObj isDomainInvitesSetInviteNewUserPrefToYesDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesDetailsSerializer serialize:valueObj.domainInvitesSetInviteNewUserPrefToYesDetails]]; jsonDict[@".tag"] = @"domain_invites_set_invite_new_user_pref_to_yes_details"; } else if ([valueObj isDomainVerificationAddDomainFailDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGDomainVerificationAddDomainFailDetailsSerializer serialize:valueObj.domainVerificationAddDomainFailDetails]]; jsonDict[@".tag"] = @"domain_verification_add_domain_fail_details"; } else if ([valueObj isDomainVerificationAddDomainSuccessDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGDomainVerificationAddDomainSuccessDetailsSerializer serialize:valueObj.domainVerificationAddDomainSuccessDetails]]; jsonDict[@".tag"] = @"domain_verification_add_domain_success_details"; } else if ([valueObj isDomainVerificationRemoveDomainDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGDomainVerificationRemoveDomainDetailsSerializer serialize:valueObj.domainVerificationRemoveDomainDetails]]; jsonDict[@".tag"] = @"domain_verification_remove_domain_details"; } else if ([valueObj isEnabledDomainInvitesDetails]) { [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 addEntriesFromDictionary:[DBTEAMLOGCreateFolderDetailsSerializer serialize:valueObj.createFolderDetails]]; jsonDict[@".tag"] = @"create_folder_details"; } else if ([valueObj isFileAddDetails]) { [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 addEntriesFromDictionary:[DBTEAMLOGFileCopyDetailsSerializer serialize:valueObj.fileCopyDetails]]; jsonDict[@".tag"] = @"file_copy_details"; } else if ([valueObj isFileDeleteDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGFileDeleteDetailsSerializer serialize:valueObj.fileDeleteDetails]]; jsonDict[@".tag"] = @"file_delete_details"; } else if ([valueObj isFileDownloadDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGFileDownloadDetailsSerializer serialize:valueObj.fileDownloadDetails]]; jsonDict[@".tag"] = @"file_download_details"; } else if ([valueObj isFileEditDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGFileEditDetailsSerializer serialize:valueObj.fileEditDetails]]; jsonDict[@".tag"] = @"file_edit_details"; } else if ([valueObj isFileGetCopyReferenceDetails]) { [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 addEntriesFromDictionary:[DBTEAMLOGFileMoveDetailsSerializer serialize:valueObj.fileMoveDetails]]; jsonDict[@".tag"] = @"file_move_details"; } else if ([valueObj isFilePermanentlyDeleteDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGFilePermanentlyDeleteDetailsSerializer serialize:valueObj.filePermanentlyDeleteDetails]]; jsonDict[@".tag"] = @"file_permanently_delete_details"; } else if ([valueObj isFilePreviewDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGFilePreviewDetailsSerializer serialize:valueObj.filePreviewDetails]]; jsonDict[@".tag"] = @"file_preview_details"; } else if ([valueObj isFileRenameDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGFileRenameDetailsSerializer serialize:valueObj.fileRenameDetails]]; jsonDict[@".tag"] = @"file_rename_details"; } else if ([valueObj isFileRestoreDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGFileRestoreDetailsSerializer serialize:valueObj.fileRestoreDetails]]; jsonDict[@".tag"] = @"file_restore_details"; } else if ([valueObj isFileRevertDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGFileRevertDetailsSerializer serialize:valueObj.fileRevertDetails]]; jsonDict[@".tag"] = @"file_revert_details"; } else if ([valueObj isFileRollbackChangesDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGFileRollbackChangesDetailsSerializer serialize:valueObj.fileRollbackChangesDetails]]; jsonDict[@".tag"] = @"file_rollback_changes_details"; } else if ([valueObj isFileSaveCopyReferenceDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGFileSaveCopyReferenceDetailsSerializer serialize:valueObj.fileSaveCopyReferenceDetails]]; jsonDict[@".tag"] = @"file_save_copy_reference_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 addEntriesFromDictionary:[DBTEAMLOGFileRequestChangeDetailsSerializer serialize:valueObj.fileRequestChangeDetails]]; jsonDict[@".tag"] = @"file_request_change_details"; } else if ([valueObj isFileRequestCloseDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGFileRequestCloseDetailsSerializer serialize:valueObj.fileRequestCloseDetails]]; jsonDict[@".tag"] = @"file_request_close_details"; } else if ([valueObj isFileRequestCreateDetails]) { [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 addEntriesFromDictionary:[DBTEAMLOGFileRequestReceiveFileDetailsSerializer serialize:valueObj.fileRequestReceiveFileDetails]]; jsonDict[@".tag"] = @"file_request_receive_file_details"; } else if ([valueObj isGroupAddExternalIdDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGGroupAddExternalIdDetailsSerializer serialize:valueObj.groupAddExternalIdDetails]]; jsonDict[@".tag"] = @"group_add_external_id_details"; } else if ([valueObj isGroupAddMemberDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGGroupAddMemberDetailsSerializer serialize:valueObj.groupAddMemberDetails]]; jsonDict[@".tag"] = @"group_add_member_details"; } else if ([valueObj isGroupChangeExternalIdDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGGroupChangeExternalIdDetailsSerializer serialize:valueObj.groupChangeExternalIdDetails]]; jsonDict[@".tag"] = @"group_change_external_id_details"; } else if ([valueObj isGroupChangeManagementTypeDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGGroupChangeManagementTypeDetailsSerializer serialize:valueObj.groupChangeManagementTypeDetails]]; jsonDict[@".tag"] = @"group_change_management_type_details"; } else if ([valueObj isGroupChangeMemberRoleDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGGroupChangeMemberRoleDetailsSerializer serialize:valueObj.groupChangeMemberRoleDetails]]; jsonDict[@".tag"] = @"group_change_member_role_details"; } else if ([valueObj isGroupCreateDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGGroupCreateDetailsSerializer serialize:valueObj.groupCreateDetails]]; jsonDict[@".tag"] = @"group_create_details"; } else if ([valueObj isGroupDeleteDetails]) { [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 addEntriesFromDictionary:[DBTEAMLOGGroupMovedDetailsSerializer serialize:valueObj.groupMovedDetails]]; jsonDict[@".tag"] = @"group_moved_details"; } else if ([valueObj isGroupRemoveExternalIdDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGGroupRemoveExternalIdDetailsSerializer serialize:valueObj.groupRemoveExternalIdDetails]]; jsonDict[@".tag"] = @"group_remove_external_id_details"; } else if ([valueObj isGroupRemoveMemberDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGGroupRemoveMemberDetailsSerializer serialize:valueObj.groupRemoveMemberDetails]]; jsonDict[@".tag"] = @"group_remove_member_details"; } else if ([valueObj isGroupRenameDetails]) { [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 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 addEntriesFromDictionary:[DBTEAMLOGLoginFailDetailsSerializer serialize:valueObj.loginFailDetails]]; jsonDict[@".tag"] = @"login_fail_details"; } else if ([valueObj isLoginSuccessDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGLoginSuccessDetailsSerializer serialize:valueObj.loginSuccessDetails]]; jsonDict[@".tag"] = @"login_success_details"; } else if ([valueObj isLogoutDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGLogoutDetailsSerializer serialize:valueObj.logoutDetails]]; jsonDict[@".tag"] = @"logout_details"; } else if ([valueObj isResellerSupportSessionEndDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGResellerSupportSessionEndDetailsSerializer serialize:valueObj.resellerSupportSessionEndDetails]]; jsonDict[@".tag"] = @"reseller_support_session_end_details"; } else if ([valueObj isResellerSupportSessionStartDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGResellerSupportSessionStartDetailsSerializer serialize:valueObj.resellerSupportSessionStartDetails]]; jsonDict[@".tag"] = @"reseller_support_session_start_details"; } else if ([valueObj isSignInAsSessionEndDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGSignInAsSessionEndDetailsSerializer serialize:valueObj.signInAsSessionEndDetails]]; jsonDict[@".tag"] = @"sign_in_as_session_end_details"; } else if ([valueObj isSignInAsSessionStartDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGSignInAsSessionStartDetailsSerializer serialize:valueObj.signInAsSessionStartDetails]]; jsonDict[@".tag"] = @"sign_in_as_session_start_details"; } else if ([valueObj isSsoErrorDetails]) { [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 addEntriesFromDictionary:[DBTEAMLOGMemberAddNameDetailsSerializer serialize:valueObj.memberAddNameDetails]]; jsonDict[@".tag"] = @"member_add_name_details"; } else if ([valueObj isMemberChangeAdminRoleDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGMemberChangeAdminRoleDetailsSerializer serialize:valueObj.memberChangeAdminRoleDetails]]; jsonDict[@".tag"] = @"member_change_admin_role_details"; } else if ([valueObj isMemberChangeEmailDetails]) { [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 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 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 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 addEntriesFromDictionary:[DBTEAMLOGPaperContentAddMemberDetailsSerializer serialize:valueObj.paperContentAddMemberDetails]]; jsonDict[@".tag"] = @"paper_content_add_member_details"; } else if ([valueObj isPaperContentAddToFolderDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGPaperContentAddToFolderDetailsSerializer serialize:valueObj.paperContentAddToFolderDetails]]; jsonDict[@".tag"] = @"paper_content_add_to_folder_details"; } else if ([valueObj isPaperContentArchiveDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGPaperContentArchiveDetailsSerializer serialize:valueObj.paperContentArchiveDetails]]; jsonDict[@".tag"] = @"paper_content_archive_details"; } else if ([valueObj isPaperContentCreateDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGPaperContentCreateDetailsSerializer serialize:valueObj.paperContentCreateDetails]]; jsonDict[@".tag"] = @"paper_content_create_details"; } else if ([valueObj isPaperContentPermanentlyDeleteDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGPaperContentPermanentlyDeleteDetailsSerializer serialize:valueObj.paperContentPermanentlyDeleteDetails]]; jsonDict[@".tag"] = @"paper_content_permanently_delete_details"; } else if ([valueObj isPaperContentRemoveFromFolderDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGPaperContentRemoveFromFolderDetailsSerializer serialize:valueObj.paperContentRemoveFromFolderDetails]]; jsonDict[@".tag"] = @"paper_content_remove_from_folder_details"; } else if ([valueObj isPaperContentRemoveMemberDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGPaperContentRemoveMemberDetailsSerializer serialize:valueObj.paperContentRemoveMemberDetails]]; jsonDict[@".tag"] = @"paper_content_remove_member_details"; } else if ([valueObj isPaperContentRenameDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGPaperContentRenameDetailsSerializer serialize:valueObj.paperContentRenameDetails]]; jsonDict[@".tag"] = @"paper_content_rename_details"; } else if ([valueObj isPaperContentRestoreDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGPaperContentRestoreDetailsSerializer serialize:valueObj.paperContentRestoreDetails]]; jsonDict[@".tag"] = @"paper_content_restore_details"; } else if ([valueObj isPaperDocAddCommentDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGPaperDocAddCommentDetailsSerializer serialize:valueObj.paperDocAddCommentDetails]]; jsonDict[@".tag"] = @"paper_doc_add_comment_details"; } else if ([valueObj isPaperDocChangeMemberRoleDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGPaperDocChangeMemberRoleDetailsSerializer serialize:valueObj.paperDocChangeMemberRoleDetails]]; jsonDict[@".tag"] = @"paper_doc_change_member_role_details"; } else if ([valueObj isPaperDocChangeSharingPolicyDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGPaperDocChangeSharingPolicyDetailsSerializer serialize:valueObj.paperDocChangeSharingPolicyDetails]]; jsonDict[@".tag"] = @"paper_doc_change_sharing_policy_details"; } else if ([valueObj isPaperDocChangeSubscriptionDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGPaperDocChangeSubscriptionDetailsSerializer serialize:valueObj.paperDocChangeSubscriptionDetails]]; jsonDict[@".tag"] = @"paper_doc_change_subscription_details"; } else if ([valueObj isPaperDocDeletedDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGPaperDocDeletedDetailsSerializer serialize:valueObj.paperDocDeletedDetails]]; jsonDict[@".tag"] = @"paper_doc_deleted_details"; } else if ([valueObj isPaperDocDeleteCommentDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGPaperDocDeleteCommentDetailsSerializer serialize:valueObj.paperDocDeleteCommentDetails]]; jsonDict[@".tag"] = @"paper_doc_delete_comment_details"; } else if ([valueObj isPaperDocDownloadDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGPaperDocDownloadDetailsSerializer serialize:valueObj.paperDocDownloadDetails]]; jsonDict[@".tag"] = @"paper_doc_download_details"; } else if ([valueObj isPaperDocEditDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGPaperDocEditDetailsSerializer serialize:valueObj.paperDocEditDetails]]; jsonDict[@".tag"] = @"paper_doc_edit_details"; } else if ([valueObj isPaperDocEditCommentDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGPaperDocEditCommentDetailsSerializer serialize:valueObj.paperDocEditCommentDetails]]; jsonDict[@".tag"] = @"paper_doc_edit_comment_details"; } else if ([valueObj isPaperDocFollowedDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGPaperDocFollowedDetailsSerializer serialize:valueObj.paperDocFollowedDetails]]; jsonDict[@".tag"] = @"paper_doc_followed_details"; } else if ([valueObj isPaperDocMentionDetails]) { [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 addEntriesFromDictionary:[DBTEAMLOGPaperDocRequestAccessDetailsSerializer serialize:valueObj.paperDocRequestAccessDetails]]; jsonDict[@".tag"] = @"paper_doc_request_access_details"; } else if ([valueObj isPaperDocResolveCommentDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGPaperDocResolveCommentDetailsSerializer serialize:valueObj.paperDocResolveCommentDetails]]; jsonDict[@".tag"] = @"paper_doc_resolve_comment_details"; } else if ([valueObj isPaperDocRevertDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGPaperDocRevertDetailsSerializer serialize:valueObj.paperDocRevertDetails]]; jsonDict[@".tag"] = @"paper_doc_revert_details"; } else if ([valueObj isPaperDocSlackShareDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGPaperDocSlackShareDetailsSerializer serialize:valueObj.paperDocSlackShareDetails]]; jsonDict[@".tag"] = @"paper_doc_slack_share_details"; } else if ([valueObj isPaperDocTeamInviteDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGPaperDocTeamInviteDetailsSerializer serialize:valueObj.paperDocTeamInviteDetails]]; jsonDict[@".tag"] = @"paper_doc_team_invite_details"; } else if ([valueObj isPaperDocTrashedDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGPaperDocTrashedDetailsSerializer serialize:valueObj.paperDocTrashedDetails]]; jsonDict[@".tag"] = @"paper_doc_trashed_details"; } else if ([valueObj isPaperDocUnresolveCommentDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGPaperDocUnresolveCommentDetailsSerializer serialize:valueObj.paperDocUnresolveCommentDetails]]; jsonDict[@".tag"] = @"paper_doc_unresolve_comment_details"; } else if ([valueObj isPaperDocUntrashedDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGPaperDocUntrashedDetailsSerializer serialize:valueObj.paperDocUntrashedDetails]]; jsonDict[@".tag"] = @"paper_doc_untrashed_details"; } else if ([valueObj isPaperDocViewDetails]) { [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 addEntriesFromDictionary:[DBTEAMLOGPaperFolderChangeSubscriptionDetailsSerializer serialize:valueObj.paperFolderChangeSubscriptionDetails]]; jsonDict[@".tag"] = @"paper_folder_change_subscription_details"; } else if ([valueObj isPaperFolderDeletedDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGPaperFolderDeletedDetailsSerializer serialize:valueObj.paperFolderDeletedDetails]]; jsonDict[@".tag"] = @"paper_folder_deleted_details"; } else if ([valueObj isPaperFolderFollowedDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGPaperFolderFollowedDetailsSerializer serialize:valueObj.paperFolderFollowedDetails]]; jsonDict[@".tag"] = @"paper_folder_followed_details"; } else if ([valueObj isPaperFolderTeamInviteDetails]) { [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 addEntriesFromDictionary:[DBTEAMLOGPasswordChangeDetailsSerializer serialize:valueObj.passwordChangeDetails]]; jsonDict[@".tag"] = @"password_change_details"; } else if ([valueObj isPasswordResetDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGPasswordResetDetailsSerializer serialize:valueObj.passwordResetDetails]]; jsonDict[@".tag"] = @"password_reset_details"; } else if ([valueObj isPasswordResetAllDetails]) { [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 addEntriesFromDictionary:[DBTEAMLOGEmmCreateExceptionsReportDetailsSerializer serialize:valueObj.emmCreateExceptionsReportDetails]]; jsonDict[@".tag"] = @"emm_create_exceptions_report_details"; } else if ([valueObj isEmmCreateUsageReportDetails]) { [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 addEntriesFromDictionary:[DBTEAMLOGSmartSyncCreateAdminPrivilegeReportDetailsSerializer serialize:valueObj.smartSyncCreateAdminPrivilegeReportDetails]]; jsonDict[@".tag"] = @"smart_sync_create_admin_privilege_report_details"; } else if ([valueObj isTeamActivityCreateReportDetails]) { [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 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 addEntriesFromDictionary:[DBTEAMLOGNoteAclInviteOnlyDetailsSerializer serialize:valueObj.noteAclInviteOnlyDetails]]; jsonDict[@".tag"] = @"note_acl_invite_only_details"; } else if ([valueObj isNoteAclLinkDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGNoteAclLinkDetailsSerializer serialize:valueObj.noteAclLinkDetails]]; jsonDict[@".tag"] = @"note_acl_link_details"; } else if ([valueObj isNoteAclTeamLinkDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGNoteAclTeamLinkDetailsSerializer serialize:valueObj.noteAclTeamLinkDetails]]; jsonDict[@".tag"] = @"note_acl_team_link_details"; } else if ([valueObj isNoteSharedDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGNoteSharedDetailsSerializer serialize:valueObj.noteSharedDetails]]; jsonDict[@".tag"] = @"note_shared_details"; } else if ([valueObj isNoteShareReceiveDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGNoteShareReceiveDetailsSerializer serialize:valueObj.noteShareReceiveDetails]]; jsonDict[@".tag"] = @"note_share_receive_details"; } else if ([valueObj isOpenNoteSharedDetails]) { [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 addEntriesFromDictionary:[DBTEAMLOGSfAddGroupDetailsSerializer serialize:valueObj.sfAddGroupDetails]]; jsonDict[@".tag"] = @"sf_add_group_details"; } else if ([valueObj isSfAllowNonMembersToViewSharedLinksDetails]) { [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 addEntriesFromDictionary:[DBTEAMLOGSfInviteGroupDetailsSerializer serialize:valueObj.sfInviteGroupDetails]]; jsonDict[@".tag"] = @"sf_invite_group_details"; } else if ([valueObj isSfTeamGrantAccessDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGSfTeamGrantAccessDetailsSerializer serialize:valueObj.sfTeamGrantAccessDetails]]; jsonDict[@".tag"] = @"sf_team_grant_access_details"; } else if ([valueObj isSfTeamInviteDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGSfTeamInviteDetailsSerializer serialize:valueObj.sfTeamInviteDetails]]; jsonDict[@".tag"] = @"sf_team_invite_details"; } else if ([valueObj isSfTeamInviteChangeRoleDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGSfTeamInviteChangeRoleDetailsSerializer serialize:valueObj.sfTeamInviteChangeRoleDetails]]; jsonDict[@".tag"] = @"sf_team_invite_change_role_details"; } else if ([valueObj isSfTeamJoinDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGSfTeamJoinDetailsSerializer serialize:valueObj.sfTeamJoinDetails]]; jsonDict[@".tag"] = @"sf_team_join_details"; } else if ([valueObj isSfTeamJoinFromOobLinkDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGSfTeamJoinFromOobLinkDetailsSerializer serialize:valueObj.sfTeamJoinFromOobLinkDetails]]; jsonDict[@".tag"] = @"sf_team_join_from_oob_link_details"; } else if ([valueObj isSfTeamUninviteDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGSfTeamUninviteDetailsSerializer serialize:valueObj.sfTeamUninviteDetails]]; jsonDict[@".tag"] = @"sf_team_uninvite_details"; } else if ([valueObj isSharedContentAddInviteesDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharedContentAddInviteesDetailsSerializer serialize:valueObj.sharedContentAddInviteesDetails]]; jsonDict[@".tag"] = @"shared_content_add_invitees_details"; } else if ([valueObj isSharedContentAddLinkExpiryDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharedContentAddLinkExpiryDetailsSerializer serialize:valueObj.sharedContentAddLinkExpiryDetails]]; jsonDict[@".tag"] = @"shared_content_add_link_expiry_details"; } else if ([valueObj isSharedContentAddLinkPasswordDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharedContentAddLinkPasswordDetailsSerializer serialize:valueObj.sharedContentAddLinkPasswordDetails]]; jsonDict[@".tag"] = @"shared_content_add_link_password_details"; } else if ([valueObj isSharedContentAddMemberDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharedContentAddMemberDetailsSerializer serialize:valueObj.sharedContentAddMemberDetails]]; jsonDict[@".tag"] = @"shared_content_add_member_details"; } else if ([valueObj isSharedContentChangeDownloadsPolicyDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharedContentChangeDownloadsPolicyDetailsSerializer serialize:valueObj.sharedContentChangeDownloadsPolicyDetails]]; jsonDict[@".tag"] = @"shared_content_change_downloads_policy_details"; } else if ([valueObj isSharedContentChangeInviteeRoleDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharedContentChangeInviteeRoleDetailsSerializer serialize:valueObj.sharedContentChangeInviteeRoleDetails]]; jsonDict[@".tag"] = @"shared_content_change_invitee_role_details"; } else if ([valueObj isSharedContentChangeLinkAudienceDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharedContentChangeLinkAudienceDetailsSerializer serialize:valueObj.sharedContentChangeLinkAudienceDetails]]; jsonDict[@".tag"] = @"shared_content_change_link_audience_details"; } else if ([valueObj isSharedContentChangeLinkExpiryDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharedContentChangeLinkExpiryDetailsSerializer serialize:valueObj.sharedContentChangeLinkExpiryDetails]]; jsonDict[@".tag"] = @"shared_content_change_link_expiry_details"; } else if ([valueObj isSharedContentChangeLinkPasswordDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharedContentChangeLinkPasswordDetailsSerializer serialize:valueObj.sharedContentChangeLinkPasswordDetails]]; jsonDict[@".tag"] = @"shared_content_change_link_password_details"; } else if ([valueObj isSharedContentChangeMemberRoleDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharedContentChangeMemberRoleDetailsSerializer serialize:valueObj.sharedContentChangeMemberRoleDetails]]; jsonDict[@".tag"] = @"shared_content_change_member_role_details"; } else if ([valueObj isSharedContentChangeViewerInfoPolicyDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharedContentChangeViewerInfoPolicyDetailsSerializer serialize:valueObj.sharedContentChangeViewerInfoPolicyDetails]]; jsonDict[@".tag"] = @"shared_content_change_viewer_info_policy_details"; } else if ([valueObj isSharedContentClaimInvitationDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharedContentClaimInvitationDetailsSerializer serialize:valueObj.sharedContentClaimInvitationDetails]]; jsonDict[@".tag"] = @"shared_content_claim_invitation_details"; } else if ([valueObj isSharedContentCopyDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharedContentCopyDetailsSerializer serialize:valueObj.sharedContentCopyDetails]]; jsonDict[@".tag"] = @"shared_content_copy_details"; } else if ([valueObj isSharedContentDownloadDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharedContentDownloadDetailsSerializer serialize:valueObj.sharedContentDownloadDetails]]; jsonDict[@".tag"] = @"shared_content_download_details"; } else if ([valueObj isSharedContentRelinquishMembershipDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharedContentRelinquishMembershipDetailsSerializer serialize:valueObj.sharedContentRelinquishMembershipDetails]]; jsonDict[@".tag"] = @"shared_content_relinquish_membership_details"; } else if ([valueObj isSharedContentRemoveInviteesDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharedContentRemoveInviteesDetailsSerializer serialize:valueObj.sharedContentRemoveInviteesDetails]]; jsonDict[@".tag"] = @"shared_content_remove_invitees_details"; } else if ([valueObj isSharedContentRemoveLinkExpiryDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharedContentRemoveLinkExpiryDetailsSerializer serialize:valueObj.sharedContentRemoveLinkExpiryDetails]]; jsonDict[@".tag"] = @"shared_content_remove_link_expiry_details"; } else if ([valueObj isSharedContentRemoveLinkPasswordDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharedContentRemoveLinkPasswordDetailsSerializer serialize:valueObj.sharedContentRemoveLinkPasswordDetails]]; jsonDict[@".tag"] = @"shared_content_remove_link_password_details"; } else if ([valueObj isSharedContentRemoveMemberDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharedContentRemoveMemberDetailsSerializer serialize:valueObj.sharedContentRemoveMemberDetails]]; jsonDict[@".tag"] = @"shared_content_remove_member_details"; } else if ([valueObj isSharedContentRequestAccessDetails]) { [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 addEntriesFromDictionary:[DBTEAMLOGSharedContentUnshareDetailsSerializer serialize:valueObj.sharedContentUnshareDetails]]; jsonDict[@".tag"] = @"shared_content_unshare_details"; } else if ([valueObj isSharedContentViewDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharedContentViewDetailsSerializer serialize:valueObj.sharedContentViewDetails]]; jsonDict[@".tag"] = @"shared_content_view_details"; } else if ([valueObj isSharedFolderChangeLinkPolicyDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharedFolderChangeLinkPolicyDetailsSerializer serialize:valueObj.sharedFolderChangeLinkPolicyDetails]]; jsonDict[@".tag"] = @"shared_folder_change_link_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 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 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 addEntriesFromDictionary:[DBTEAMLOGSharedFolderTransferOwnershipDetailsSerializer serialize:valueObj.sharedFolderTransferOwnershipDetails]]; jsonDict[@".tag"] = @"shared_folder_transfer_ownership_details"; } else if ([valueObj isSharedFolderUnmountDetails]) { [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 addEntriesFromDictionary:[DBTEAMLOGSharedNoteOpenedDetailsSerializer serialize:valueObj.sharedNoteOpenedDetails]]; jsonDict[@".tag"] = @"shared_note_opened_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 addEntriesFromDictionary:[DBTEAMLOGShmodelGroupShareDetailsSerializer serialize:valueObj.shmodelGroupShareDetails]]; jsonDict[@".tag"] = @"shmodel_group_share_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 addEntriesFromDictionary:[DBTEAMLOGSsoAddCertDetailsSerializer serialize:valueObj.ssoAddCertDetails]]; jsonDict[@".tag"] = @"sso_add_cert_details"; } else if ([valueObj isSsoAddLoginUrlDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGSsoAddLoginUrlDetailsSerializer serialize:valueObj.ssoAddLoginUrlDetails]]; jsonDict[@".tag"] = @"sso_add_login_url_details"; } else if ([valueObj isSsoAddLogoutUrlDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGSsoAddLogoutUrlDetailsSerializer serialize:valueObj.ssoAddLogoutUrlDetails]]; jsonDict[@".tag"] = @"sso_add_logout_url_details"; } else if ([valueObj isSsoChangeCertDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGSsoChangeCertDetailsSerializer serialize:valueObj.ssoChangeCertDetails]]; jsonDict[@".tag"] = @"sso_change_cert_details"; } else if ([valueObj isSsoChangeLoginUrlDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGSsoChangeLoginUrlDetailsSerializer serialize:valueObj.ssoChangeLoginUrlDetails]]; jsonDict[@".tag"] = @"sso_change_login_url_details"; } else if ([valueObj isSsoChangeLogoutUrlDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGSsoChangeLogoutUrlDetailsSerializer serialize:valueObj.ssoChangeLogoutUrlDetails]]; jsonDict[@".tag"] = @"sso_change_logout_url_details"; } else if ([valueObj isSsoChangeSamlIdentityModeDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGSsoChangeSamlIdentityModeDetailsSerializer serialize:valueObj.ssoChangeSamlIdentityModeDetails]]; jsonDict[@".tag"] = @"sso_change_saml_identity_mode_details"; } else if ([valueObj isSsoRemoveCertDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGSsoRemoveCertDetailsSerializer serialize:valueObj.ssoRemoveCertDetails]]; jsonDict[@".tag"] = @"sso_remove_cert_details"; } else if ([valueObj isSsoRemoveLoginUrlDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGSsoRemoveLoginUrlDetailsSerializer serialize:valueObj.ssoRemoveLoginUrlDetails]]; jsonDict[@".tag"] = @"sso_remove_login_url_details"; } else if ([valueObj isSsoRemoveLogoutUrlDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGSsoRemoveLogoutUrlDetailsSerializer serialize:valueObj.ssoRemoveLogoutUrlDetails]]; jsonDict[@".tag"] = @"sso_remove_logout_url_details"; } else if ([valueObj isTeamFolderChangeStatusDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGTeamFolderChangeStatusDetailsSerializer serialize:valueObj.teamFolderChangeStatusDetails]]; jsonDict[@".tag"] = @"team_folder_change_status_details"; } else if ([valueObj isTeamFolderCreateDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGTeamFolderCreateDetailsSerializer serialize:valueObj.teamFolderCreateDetails]]; jsonDict[@".tag"] = @"team_folder_create_details"; } else if ([valueObj isTeamFolderDowngradeDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGTeamFolderDowngradeDetailsSerializer serialize:valueObj.teamFolderDowngradeDetails]]; jsonDict[@".tag"] = @"team_folder_downgrade_details"; } else if ([valueObj isTeamFolderPermanentlyDeleteDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGTeamFolderPermanentlyDeleteDetailsSerializer serialize:valueObj.teamFolderPermanentlyDeleteDetails]]; jsonDict[@".tag"] = @"team_folder_permanently_delete_details"; } else if ([valueObj isTeamFolderRenameDetails]) { [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 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 addEntriesFromDictionary:[DBTEAMLOGAllowDownloadDisabledDetailsSerializer serialize:valueObj.allowDownloadDisabledDetails]]; jsonDict[@".tag"] = @"allow_download_disabled_details"; } else if ([valueObj isAllowDownloadEnabledDetails]) { [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 addEntriesFromDictionary:[DBTEAMLOGDataPlacementRestrictionChangePolicyDetailsSerializer serialize:valueObj.dataPlacementRestrictionChangePolicyDetails]]; jsonDict[@".tag"] = @"data_placement_restriction_change_policy_details"; } else if ([valueObj isDataPlacementRestrictionSatisfyPolicyDetails]) { [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 addEntriesFromDictionary:[DBTEAMLOGDeviceApprovalsChangeDesktopPolicyDetailsSerializer serialize:valueObj.deviceApprovalsChangeDesktopPolicyDetails]]; jsonDict[@".tag"] = @"device_approvals_change_desktop_policy_details"; } else if ([valueObj isDeviceApprovalsChangeMobilePolicyDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGDeviceApprovalsChangeMobilePolicyDetailsSerializer serialize:valueObj.deviceApprovalsChangeMobilePolicyDetails]]; jsonDict[@".tag"] = @"device_approvals_change_mobile_policy_details"; } else if ([valueObj isDeviceApprovalsChangeOverageActionDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGDeviceApprovalsChangeOverageActionDetailsSerializer serialize:valueObj.deviceApprovalsChangeOverageActionDetails]]; jsonDict[@".tag"] = @"device_approvals_change_overage_action_details"; } else if ([valueObj isDeviceApprovalsChangeUnlinkActionDetails]) { [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 addEntriesFromDictionary:[DBTEAMLOGEmmAddExceptionDetailsSerializer serialize:valueObj.emmAddExceptionDetails]]; jsonDict[@".tag"] = @"emm_add_exception_details"; } else if ([valueObj isEmmChangePolicyDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGEmmChangePolicyDetailsSerializer serialize:valueObj.emmChangePolicyDetails]]; jsonDict[@".tag"] = @"emm_change_policy_details"; } else if ([valueObj isEmmRemoveExceptionDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGEmmRemoveExceptionDetailsSerializer serialize:valueObj.emmRemoveExceptionDetails]]; jsonDict[@".tag"] = @"emm_remove_exception_details"; } else if ([valueObj isExtendedVersionHistoryChangePolicyDetails]) { [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 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 addEntriesFromDictionary:[DBTEAMLOGFileRequestsChangePolicyDetailsSerializer serialize:valueObj.fileRequestsChangePolicyDetails]]; jsonDict[@".tag"] = @"file_requests_change_policy_details"; } else if ([valueObj isFileRequestsEmailsEnabledDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGFileRequestsEmailsEnabledDetailsSerializer serialize:valueObj.fileRequestsEmailsEnabledDetails]]; jsonDict[@".tag"] = @"file_requests_emails_enabled_details"; } else if ([valueObj isFileRequestsEmailsRestrictedToTeamOnlyDetails]) { [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 addEntriesFromDictionary:[DBTEAMLOGGoogleSsoChangePolicyDetailsSerializer serialize:valueObj.googleSsoChangePolicyDetails]]; jsonDict[@".tag"] = @"google_sso_change_policy_details"; } else if ([valueObj isGroupUserManagementChangePolicyDetails]) { [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 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 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 addEntriesFromDictionary:[DBTEAMLOGMemberSpaceLimitsChangePolicyDetailsSerializer serialize:valueObj.memberSpaceLimitsChangePolicyDetails]]; jsonDict[@".tag"] = @"member_space_limits_change_policy_details"; } else if ([valueObj isMemberSpaceLimitsRemoveExceptionDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGMemberSpaceLimitsRemoveExceptionDetailsSerializer serialize:valueObj.memberSpaceLimitsRemoveExceptionDetails]]; jsonDict[@".tag"] = @"member_space_limits_remove_exception_details"; } else if ([valueObj isMemberSuggestionsChangePolicyDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGMemberSuggestionsChangePolicyDetailsSerializer serialize:valueObj.memberSuggestionsChangePolicyDetails]]; jsonDict[@".tag"] = @"member_suggestions_change_policy_details"; } else if ([valueObj isMicrosoftOfficeAddinChangePolicyDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGMicrosoftOfficeAddinChangePolicyDetailsSerializer serialize:valueObj.microsoftOfficeAddinChangePolicyDetails]]; jsonDict[@".tag"] = @"microsoft_office_addin_change_policy_details"; } else if ([valueObj isNetworkControlChangePolicyDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGNetworkControlChangePolicyDetailsSerializer serialize:valueObj.networkControlChangePolicyDetails]]; jsonDict[@".tag"] = @"network_control_change_policy_details"; } else if ([valueObj isPaperChangeDeploymentPolicyDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGPaperChangeDeploymentPolicyDetailsSerializer serialize:valueObj.paperChangeDeploymentPolicyDetails]]; jsonDict[@".tag"] = @"paper_change_deployment_policy_details"; } else if ([valueObj isPaperChangeMemberLinkPolicyDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGPaperChangeMemberLinkPolicyDetailsSerializer serialize:valueObj.paperChangeMemberLinkPolicyDetails]]; jsonDict[@".tag"] = @"paper_change_member_link_policy_details"; } else if ([valueObj isPaperChangeMemberPolicyDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGPaperChangeMemberPolicyDetailsSerializer serialize:valueObj.paperChangeMemberPolicyDetails]]; jsonDict[@".tag"] = @"paper_change_member_policy_details"; } else if ([valueObj isPaperChangePolicyDetails]) { [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 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 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 addEntriesFromDictionary:[DBTEAMLOGSharingChangeLinkPolicyDetailsSerializer serialize:valueObj.sharingChangeLinkPolicyDetails]]; jsonDict[@".tag"] = @"sharing_change_link_policy_details"; } else if ([valueObj isSharingChangeMemberPolicyDetails]) { [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 addEntriesFromDictionary:[DBTEAMLOGSmartSyncChangePolicyDetailsSerializer serialize:valueObj.smartSyncChangePolicyDetails]]; jsonDict[@".tag"] = @"smart_sync_change_policy_details"; } else if ([valueObj isSmartSyncNotOptOutDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGSmartSyncNotOptOutDetailsSerializer serialize:valueObj.smartSyncNotOptOutDetails]]; jsonDict[@".tag"] = @"smart_sync_not_opt_out_details"; } else if ([valueObj isSmartSyncOptOutDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGSmartSyncOptOutDetailsSerializer serialize:valueObj.smartSyncOptOutDetails]]; jsonDict[@".tag"] = @"smart_sync_opt_out_details"; } else if ([valueObj isSsoChangePolicyDetails]) { [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 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 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 addEntriesFromDictionary:[DBTEAMLOGWebSessionsChangeFixedLengthPolicyDetailsSerializer serialize:valueObj.webSessionsChangeFixedLengthPolicyDetails]]; jsonDict[@".tag"] = @"web_sessions_change_fixed_length_policy_details"; } else if ([valueObj isWebSessionsChangeIdleLengthPolicyDetails]) { [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 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 addEntriesFromDictionary:[DBTEAMLOGTeamProfileChangeDefaultLanguageDetailsSerializer serialize:valueObj.teamProfileChangeDefaultLanguageDetails]]; jsonDict[@".tag"] = @"team_profile_change_default_language_details"; } else if ([valueObj isTeamProfileChangeLogoDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGTeamProfileChangeLogoDetailsSerializer serialize:valueObj.teamProfileChangeLogoDetails]]; jsonDict[@".tag"] = @"team_profile_change_logo_details"; } else if ([valueObj isTeamProfileChangeNameDetails]) { [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 addEntriesFromDictionary:[DBTEAMLOGTeamProfileRemoveLogoDetailsSerializer serialize:valueObj.teamProfileRemoveLogoDetails]]; jsonDict[@".tag"] = @"team_profile_remove_logo_details"; } else if ([valueObj isTfaAddBackupPhoneDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGTfaAddBackupPhoneDetailsSerializer serialize:valueObj.tfaAddBackupPhoneDetails]]; jsonDict[@".tag"] = @"tfa_add_backup_phone_details"; } else if ([valueObj isTfaAddSecurityKeyDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGTfaAddSecurityKeyDetailsSerializer serialize:valueObj.tfaAddSecurityKeyDetails]]; jsonDict[@".tag"] = @"tfa_add_security_key_details"; } else if ([valueObj isTfaChangeBackupPhoneDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGTfaChangeBackupPhoneDetailsSerializer serialize:valueObj.tfaChangeBackupPhoneDetails]]; jsonDict[@".tag"] = @"tfa_change_backup_phone_details"; } else if ([valueObj isTfaChangeStatusDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGTfaChangeStatusDetailsSerializer serialize:valueObj.tfaChangeStatusDetails]]; jsonDict[@".tag"] = @"tfa_change_status_details"; } else if ([valueObj isTfaRemoveBackupPhoneDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGTfaRemoveBackupPhoneDetailsSerializer serialize:valueObj.tfaRemoveBackupPhoneDetails]]; jsonDict[@".tag"] = @"tfa_remove_backup_phone_details"; } else if ([valueObj isTfaRemoveSecurityKeyDetails]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGTfaRemoveSecurityKeyDetailsSerializer serialize:valueObj.tfaRemoveSecurityKeyDetails]]; jsonDict[@".tag"] = @"tfa_remove_security_key_details"; } else if ([valueObj isTfaResetDetails]) { [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 addEntriesFromDictionary:[DBTEAMLOGMissingDetailsSerializer serialize:valueObj.missingDetails]]; jsonDict[@".tag"] = @"missing_details"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBTEAMLOGEventDetails *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"admin_alerting_alert_state_changed_details"]) { DBTEAMLOGAdminAlertingAlertStateChangedDetails *adminAlertingAlertStateChangedDetails = [DBTEAMLOGAdminAlertingAlertStateChangedDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithAdminAlertingAlertStateChangedDetails:adminAlertingAlertStateChangedDetails]; } else if ([tag isEqualToString:@"admin_alerting_changed_alert_config_details"]) { DBTEAMLOGAdminAlertingChangedAlertConfigDetails *adminAlertingChangedAlertConfigDetails = [DBTEAMLOGAdminAlertingChangedAlertConfigDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] 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] initWithRansomwareRestoreProcessCompletedDetails:ransomwareRestoreProcessCompletedDetails]; } else if ([tag isEqualToString:@"ransomware_restore_process_started_details"]) { DBTEAMLOGRansomwareRestoreProcessStartedDetails *ransomwareRestoreProcessStartedDetails = [DBTEAMLOGRansomwareRestoreProcessStartedDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] 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]; } else if ([tag isEqualToString:@"app_link_user_details"]) { DBTEAMLOGAppLinkUserDetails *appLinkUserDetails = [DBTEAMLOGAppLinkUserDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithAppLinkUserDetails:appLinkUserDetails]; } else if ([tag isEqualToString:@"app_unlink_team_details"]) { DBTEAMLOGAppUnlinkTeamDetails *appUnlinkTeamDetails = [DBTEAMLOGAppUnlinkTeamDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithAppUnlinkTeamDetails:appUnlinkTeamDetails]; } else if ([tag isEqualToString:@"app_unlink_user_details"]) { 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]; return [[DBTEAMLOGEventDetails alloc] initWithFileAddCommentDetails:fileAddCommentDetails]; } else if ([tag isEqualToString:@"file_change_comment_subscription_details"]) { DBTEAMLOGFileChangeCommentSubscriptionDetails *fileChangeCommentSubscriptionDetails = [DBTEAMLOGFileChangeCommentSubscriptionDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithFileChangeCommentSubscriptionDetails:fileChangeCommentSubscriptionDetails]; } else if ([tag isEqualToString:@"file_delete_comment_details"]) { 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]; return [[DBTEAMLOGEventDetails alloc] initWithFileLikeCommentDetails:fileLikeCommentDetails]; } else if ([tag isEqualToString:@"file_resolve_comment_details"]) { DBTEAMLOGFileResolveCommentDetails *fileResolveCommentDetails = [DBTEAMLOGFileResolveCommentDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithFileResolveCommentDetails:fileResolveCommentDetails]; } else if ([tag isEqualToString:@"file_unlike_comment_details"]) { DBTEAMLOGFileUnlikeCommentDetails *fileUnlikeCommentDetails = [DBTEAMLOGFileUnlikeCommentDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithFileUnlikeCommentDetails:fileUnlikeCommentDetails]; } else if ([tag isEqualToString:@"file_unresolve_comment_details"]) { 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]; return [[DBTEAMLOGEventDetails alloc] initWithDeviceChangeIpDesktopDetails:deviceChangeIpDesktopDetails]; } else if ([tag isEqualToString:@"device_change_ip_mobile_details"]) { DBTEAMLOGDeviceChangeIpMobileDetails *deviceChangeIpMobileDetails = [DBTEAMLOGDeviceChangeIpMobileDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithDeviceChangeIpMobileDetails:deviceChangeIpMobileDetails]; } else if ([tag isEqualToString:@"device_change_ip_web_details"]) { DBTEAMLOGDeviceChangeIpWebDetails *deviceChangeIpWebDetails = [DBTEAMLOGDeviceChangeIpWebDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithDeviceChangeIpWebDetails:deviceChangeIpWebDetails]; } else if ([tag isEqualToString:@"device_delete_on_unlink_fail_details"]) { DBTEAMLOGDeviceDeleteOnUnlinkFailDetails *deviceDeleteOnUnlinkFailDetails = [DBTEAMLOGDeviceDeleteOnUnlinkFailDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithDeviceDeleteOnUnlinkFailDetails:deviceDeleteOnUnlinkFailDetails]; } else if ([tag isEqualToString:@"device_delete_on_unlink_success_details"]) { DBTEAMLOGDeviceDeleteOnUnlinkSuccessDetails *deviceDeleteOnUnlinkSuccessDetails = [DBTEAMLOGDeviceDeleteOnUnlinkSuccessDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithDeviceDeleteOnUnlinkSuccessDetails:deviceDeleteOnUnlinkSuccessDetails]; } else if ([tag isEqualToString:@"device_link_fail_details"]) { DBTEAMLOGDeviceLinkFailDetails *deviceLinkFailDetails = [DBTEAMLOGDeviceLinkFailDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithDeviceLinkFailDetails:deviceLinkFailDetails]; } else if ([tag isEqualToString:@"device_link_success_details"]) { DBTEAMLOGDeviceLinkSuccessDetails *deviceLinkSuccessDetails = [DBTEAMLOGDeviceLinkSuccessDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithDeviceLinkSuccessDetails:deviceLinkSuccessDetails]; } else if ([tag isEqualToString:@"device_management_disabled_details"]) { DBTEAMLOGDeviceManagementDisabledDetails *deviceManagementDisabledDetails = [DBTEAMLOGDeviceManagementDisabledDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithDeviceManagementDisabledDetails:deviceManagementDisabledDetails]; } else if ([tag isEqualToString:@"device_management_enabled_details"]) { 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]; return [[DBTEAMLOGEventDetails alloc] initWithAccountCaptureChangeAvailabilityDetails:accountCaptureChangeAvailabilityDetails]; } else if ([tag isEqualToString:@"account_capture_migrate_account_details"]) { DBTEAMLOGAccountCaptureMigrateAccountDetails *accountCaptureMigrateAccountDetails = [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]; return [[DBTEAMLOGEventDetails alloc] initWithAccountCaptureRelinquishAccountDetails:accountCaptureRelinquishAccountDetails]; } else if ([tag isEqualToString:@"disabled_domain_invites_details"]) { DBTEAMLOGDisabledDomainInvitesDetails *disabledDomainInvitesDetails = [DBTEAMLOGDisabledDomainInvitesDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithDisabledDomainInvitesDetails:disabledDomainInvitesDetails]; } else if ([tag isEqualToString:@"domain_invites_approve_request_to_join_team_details"]) { DBTEAMLOGDomainInvitesApproveRequestToJoinTeamDetails *domainInvitesApproveRequestToJoinTeamDetails = [DBTEAMLOGDomainInvitesApproveRequestToJoinTeamDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithDomainInvitesApproveRequestToJoinTeamDetails:domainInvitesApproveRequestToJoinTeamDetails]; } else if ([tag isEqualToString:@"domain_invites_decline_request_to_join_team_details"]) { DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamDetails *domainInvitesDeclineRequestToJoinTeamDetails = [DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithDomainInvitesDeclineRequestToJoinTeamDetails:domainInvitesDeclineRequestToJoinTeamDetails]; } else if ([tag isEqualToString:@"domain_invites_email_existing_users_details"]) { DBTEAMLOGDomainInvitesEmailExistingUsersDetails *domainInvitesEmailExistingUsersDetails = [DBTEAMLOGDomainInvitesEmailExistingUsersDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithDomainInvitesEmailExistingUsersDetails:domainInvitesEmailExistingUsersDetails]; } else if ([tag isEqualToString:@"domain_invites_request_to_join_team_details"]) { DBTEAMLOGDomainInvitesRequestToJoinTeamDetails *domainInvitesRequestToJoinTeamDetails = [DBTEAMLOGDomainInvitesRequestToJoinTeamDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithDomainInvitesRequestToJoinTeamDetails:domainInvitesRequestToJoinTeamDetails]; } else if ([tag isEqualToString:@"domain_invites_set_invite_new_user_pref_to_no_details"]) { DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoDetails *domainInvitesSetInviteNewUserPrefToNoDetails = [DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithDomainInvitesSetInviteNewUserPrefToNoDetails:domainInvitesSetInviteNewUserPrefToNoDetails]; } else if ([tag isEqualToString:@"domain_invites_set_invite_new_user_pref_to_yes_details"]) { DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesDetails *domainInvitesSetInviteNewUserPrefToYesDetails = [DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithDomainInvitesSetInviteNewUserPrefToYesDetails:domainInvitesSetInviteNewUserPrefToYesDetails]; } else if ([tag isEqualToString:@"domain_verification_add_domain_fail_details"]) { DBTEAMLOGDomainVerificationAddDomainFailDetails *domainVerificationAddDomainFailDetails = [DBTEAMLOGDomainVerificationAddDomainFailDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithDomainVerificationAddDomainFailDetails:domainVerificationAddDomainFailDetails]; } else if ([tag isEqualToString:@"domain_verification_add_domain_success_details"]) { DBTEAMLOGDomainVerificationAddDomainSuccessDetails *domainVerificationAddDomainSuccessDetails = [DBTEAMLOGDomainVerificationAddDomainSuccessDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithDomainVerificationAddDomainSuccessDetails:domainVerificationAddDomainSuccessDetails]; } else if ([tag isEqualToString:@"domain_verification_remove_domain_details"]) { DBTEAMLOGDomainVerificationRemoveDomainDetails *domainVerificationRemoveDomainDetails = [DBTEAMLOGDomainVerificationRemoveDomainDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithDomainVerificationRemoveDomainDetails:domainVerificationRemoveDomainDetails]; } else if ([tag isEqualToString:@"enabled_domain_invites_details"]) { 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]; } else if ([tag isEqualToString:@"file_delete_details"]) { DBTEAMLOGFileDeleteDetails *fileDeleteDetails = [DBTEAMLOGFileDeleteDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithFileDeleteDetails:fileDeleteDetails]; } else if ([tag isEqualToString:@"file_download_details"]) { DBTEAMLOGFileDownloadDetails *fileDownloadDetails = [DBTEAMLOGFileDownloadDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithFileDownloadDetails:fileDownloadDetails]; } else if ([tag isEqualToString:@"file_edit_details"]) { DBTEAMLOGFileEditDetails *fileEditDetails = [DBTEAMLOGFileEditDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithFileEditDetails:fileEditDetails]; } else if ([tag isEqualToString:@"file_get_copy_reference_details"]) { 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]; } else if ([tag isEqualToString:@"file_permanently_delete_details"]) { DBTEAMLOGFilePermanentlyDeleteDetails *filePermanentlyDeleteDetails = [DBTEAMLOGFilePermanentlyDeleteDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithFilePermanentlyDeleteDetails:filePermanentlyDeleteDetails]; } else if ([tag isEqualToString:@"file_preview_details"]) { DBTEAMLOGFilePreviewDetails *filePreviewDetails = [DBTEAMLOGFilePreviewDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithFilePreviewDetails:filePreviewDetails]; } else if ([tag isEqualToString:@"file_rename_details"]) { DBTEAMLOGFileRenameDetails *fileRenameDetails = [DBTEAMLOGFileRenameDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithFileRenameDetails:fileRenameDetails]; } else if ([tag isEqualToString:@"file_restore_details"]) { DBTEAMLOGFileRestoreDetails *fileRestoreDetails = [DBTEAMLOGFileRestoreDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithFileRestoreDetails:fileRestoreDetails]; } else if ([tag isEqualToString:@"file_revert_details"]) { DBTEAMLOGFileRevertDetails *fileRevertDetails = [DBTEAMLOGFileRevertDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithFileRevertDetails:fileRevertDetails]; } else if ([tag isEqualToString:@"file_rollback_changes_details"]) { DBTEAMLOGFileRollbackChangesDetails *fileRollbackChangesDetails = [DBTEAMLOGFileRollbackChangesDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithFileRollbackChangesDetails:fileRollbackChangesDetails]; } else if ([tag isEqualToString:@"file_save_copy_reference_details"]) { DBTEAMLOGFileSaveCopyReferenceDetails *fileSaveCopyReferenceDetails = [DBTEAMLOGFileSaveCopyReferenceDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithFileSaveCopyReferenceDetails:fileSaveCopyReferenceDetails]; } 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_close_details"]) { DBTEAMLOGFileRequestCloseDetails *fileRequestCloseDetails = [DBTEAMLOGFileRequestCloseDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithFileRequestCloseDetails:fileRequestCloseDetails]; } else if ([tag isEqualToString:@"file_request_create_details"]) { 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:@"group_add_external_id_details"]) { DBTEAMLOGGroupAddExternalIdDetails *groupAddExternalIdDetails = [DBTEAMLOGGroupAddExternalIdDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithGroupAddExternalIdDetails:groupAddExternalIdDetails]; } else if ([tag isEqualToString:@"group_add_member_details"]) { DBTEAMLOGGroupAddMemberDetails *groupAddMemberDetails = [DBTEAMLOGGroupAddMemberDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithGroupAddMemberDetails:groupAddMemberDetails]; } else if ([tag isEqualToString:@"group_change_external_id_details"]) { DBTEAMLOGGroupChangeExternalIdDetails *groupChangeExternalIdDetails = [DBTEAMLOGGroupChangeExternalIdDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithGroupChangeExternalIdDetails:groupChangeExternalIdDetails]; } else if ([tag isEqualToString:@"group_change_management_type_details"]) { DBTEAMLOGGroupChangeManagementTypeDetails *groupChangeManagementTypeDetails = [DBTEAMLOGGroupChangeManagementTypeDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithGroupChangeManagementTypeDetails:groupChangeManagementTypeDetails]; } else if ([tag isEqualToString:@"group_change_member_role_details"]) { DBTEAMLOGGroupChangeMemberRoleDetails *groupChangeMemberRoleDetails = [DBTEAMLOGGroupChangeMemberRoleDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithGroupChangeMemberRoleDetails:groupChangeMemberRoleDetails]; } else if ([tag isEqualToString:@"group_create_details"]) { DBTEAMLOGGroupCreateDetails *groupCreateDetails = [DBTEAMLOGGroupCreateDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithGroupCreateDetails:groupCreateDetails]; } 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]; } else if ([tag isEqualToString:@"group_remove_external_id_details"]) { DBTEAMLOGGroupRemoveExternalIdDetails *groupRemoveExternalIdDetails = [DBTEAMLOGGroupRemoveExternalIdDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithGroupRemoveExternalIdDetails:groupRemoveExternalIdDetails]; } else if ([tag isEqualToString:@"group_remove_member_details"]) { DBTEAMLOGGroupRemoveMemberDetails *groupRemoveMemberDetails = [DBTEAMLOGGroupRemoveMemberDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithGroupRemoveMemberDetails:groupRemoveMemberDetails]; } 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]; } else if ([tag isEqualToString:@"login_success_details"]) { DBTEAMLOGLoginSuccessDetails *loginSuccessDetails = [DBTEAMLOGLoginSuccessDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithLoginSuccessDetails:loginSuccessDetails]; } else if ([tag isEqualToString:@"logout_details"]) { DBTEAMLOGLogoutDetails *logoutDetails = [DBTEAMLOGLogoutDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithLogoutDetails:logoutDetails]; } else if ([tag isEqualToString:@"reseller_support_session_end_details"]) { DBTEAMLOGResellerSupportSessionEndDetails *resellerSupportSessionEndDetails = [DBTEAMLOGResellerSupportSessionEndDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithResellerSupportSessionEndDetails:resellerSupportSessionEndDetails]; } else if ([tag isEqualToString:@"reseller_support_session_start_details"]) { DBTEAMLOGResellerSupportSessionStartDetails *resellerSupportSessionStartDetails = [DBTEAMLOGResellerSupportSessionStartDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithResellerSupportSessionStartDetails:resellerSupportSessionStartDetails]; } else if ([tag isEqualToString:@"sign_in_as_session_end_details"]) { DBTEAMLOGSignInAsSessionEndDetails *signInAsSessionEndDetails = [DBTEAMLOGSignInAsSessionEndDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithSignInAsSessionEndDetails:signInAsSessionEndDetails]; } else if ([tag isEqualToString:@"sign_in_as_session_start_details"]) { DBTEAMLOGSignInAsSessionStartDetails *signInAsSessionStartDetails = [DBTEAMLOGSignInAsSessionStartDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithSignInAsSessionStartDetails:signInAsSessionStartDetails]; } 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]; return [[DBTEAMLOGEventDetails alloc] initWithMemberAddNameDetails:memberAddNameDetails]; } else if ([tag isEqualToString:@"member_change_admin_role_details"]) { DBTEAMLOGMemberChangeAdminRoleDetails *memberChangeAdminRoleDetails = [DBTEAMLOGMemberChangeAdminRoleDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithMemberChangeAdminRoleDetails:memberChangeAdminRoleDetails]; } else if ([tag isEqualToString:@"member_change_email_details"]) { 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]; return [[DBTEAMLOGEventDetails alloc] initWithPaperContentAddMemberDetails:paperContentAddMemberDetails]; } else if ([tag isEqualToString:@"paper_content_add_to_folder_details"]) { DBTEAMLOGPaperContentAddToFolderDetails *paperContentAddToFolderDetails = [DBTEAMLOGPaperContentAddToFolderDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithPaperContentAddToFolderDetails:paperContentAddToFolderDetails]; } else if ([tag isEqualToString:@"paper_content_archive_details"]) { DBTEAMLOGPaperContentArchiveDetails *paperContentArchiveDetails = [DBTEAMLOGPaperContentArchiveDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithPaperContentArchiveDetails:paperContentArchiveDetails]; } else if ([tag isEqualToString:@"paper_content_create_details"]) { DBTEAMLOGPaperContentCreateDetails *paperContentCreateDetails = [DBTEAMLOGPaperContentCreateDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithPaperContentCreateDetails:paperContentCreateDetails]; } else if ([tag isEqualToString:@"paper_content_permanently_delete_details"]) { DBTEAMLOGPaperContentPermanentlyDeleteDetails *paperContentPermanentlyDeleteDetails = [DBTEAMLOGPaperContentPermanentlyDeleteDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithPaperContentPermanentlyDeleteDetails:paperContentPermanentlyDeleteDetails]; } else if ([tag isEqualToString:@"paper_content_remove_from_folder_details"]) { DBTEAMLOGPaperContentRemoveFromFolderDetails *paperContentRemoveFromFolderDetails = [DBTEAMLOGPaperContentRemoveFromFolderDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithPaperContentRemoveFromFolderDetails:paperContentRemoveFromFolderDetails]; } else if ([tag isEqualToString:@"paper_content_remove_member_details"]) { DBTEAMLOGPaperContentRemoveMemberDetails *paperContentRemoveMemberDetails = [DBTEAMLOGPaperContentRemoveMemberDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithPaperContentRemoveMemberDetails:paperContentRemoveMemberDetails]; } else if ([tag isEqualToString:@"paper_content_rename_details"]) { DBTEAMLOGPaperContentRenameDetails *paperContentRenameDetails = [DBTEAMLOGPaperContentRenameDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithPaperContentRenameDetails:paperContentRenameDetails]; } else if ([tag isEqualToString:@"paper_content_restore_details"]) { DBTEAMLOGPaperContentRestoreDetails *paperContentRestoreDetails = [DBTEAMLOGPaperContentRestoreDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithPaperContentRestoreDetails:paperContentRestoreDetails]; } else if ([tag isEqualToString:@"paper_doc_add_comment_details"]) { DBTEAMLOGPaperDocAddCommentDetails *paperDocAddCommentDetails = [DBTEAMLOGPaperDocAddCommentDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithPaperDocAddCommentDetails:paperDocAddCommentDetails]; } else if ([tag isEqualToString:@"paper_doc_change_member_role_details"]) { DBTEAMLOGPaperDocChangeMemberRoleDetails *paperDocChangeMemberRoleDetails = [DBTEAMLOGPaperDocChangeMemberRoleDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithPaperDocChangeMemberRoleDetails:paperDocChangeMemberRoleDetails]; } else if ([tag isEqualToString:@"paper_doc_change_sharing_policy_details"]) { DBTEAMLOGPaperDocChangeSharingPolicyDetails *paperDocChangeSharingPolicyDetails = [DBTEAMLOGPaperDocChangeSharingPolicyDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithPaperDocChangeSharingPolicyDetails:paperDocChangeSharingPolicyDetails]; } else if ([tag isEqualToString:@"paper_doc_change_subscription_details"]) { DBTEAMLOGPaperDocChangeSubscriptionDetails *paperDocChangeSubscriptionDetails = [DBTEAMLOGPaperDocChangeSubscriptionDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithPaperDocChangeSubscriptionDetails:paperDocChangeSubscriptionDetails]; } else if ([tag isEqualToString:@"paper_doc_deleted_details"]) { DBTEAMLOGPaperDocDeletedDetails *paperDocDeletedDetails = [DBTEAMLOGPaperDocDeletedDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithPaperDocDeletedDetails:paperDocDeletedDetails]; } else if ([tag isEqualToString:@"paper_doc_delete_comment_details"]) { DBTEAMLOGPaperDocDeleteCommentDetails *paperDocDeleteCommentDetails = [DBTEAMLOGPaperDocDeleteCommentDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithPaperDocDeleteCommentDetails:paperDocDeleteCommentDetails]; } else if ([tag isEqualToString:@"paper_doc_download_details"]) { DBTEAMLOGPaperDocDownloadDetails *paperDocDownloadDetails = [DBTEAMLOGPaperDocDownloadDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithPaperDocDownloadDetails:paperDocDownloadDetails]; } else if ([tag isEqualToString:@"paper_doc_edit_details"]) { DBTEAMLOGPaperDocEditDetails *paperDocEditDetails = [DBTEAMLOGPaperDocEditDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithPaperDocEditDetails:paperDocEditDetails]; } else if ([tag isEqualToString:@"paper_doc_edit_comment_details"]) { DBTEAMLOGPaperDocEditCommentDetails *paperDocEditCommentDetails = [DBTEAMLOGPaperDocEditCommentDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithPaperDocEditCommentDetails:paperDocEditCommentDetails]; } else if ([tag isEqualToString:@"paper_doc_followed_details"]) { DBTEAMLOGPaperDocFollowedDetails *paperDocFollowedDetails = [DBTEAMLOGPaperDocFollowedDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithPaperDocFollowedDetails:paperDocFollowedDetails]; } else if ([tag isEqualToString:@"paper_doc_mention_details"]) { 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]; return [[DBTEAMLOGEventDetails alloc] initWithPaperDocRequestAccessDetails:paperDocRequestAccessDetails]; } else if ([tag isEqualToString:@"paper_doc_resolve_comment_details"]) { DBTEAMLOGPaperDocResolveCommentDetails *paperDocResolveCommentDetails = [DBTEAMLOGPaperDocResolveCommentDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithPaperDocResolveCommentDetails:paperDocResolveCommentDetails]; } else if ([tag isEqualToString:@"paper_doc_revert_details"]) { DBTEAMLOGPaperDocRevertDetails *paperDocRevertDetails = [DBTEAMLOGPaperDocRevertDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithPaperDocRevertDetails:paperDocRevertDetails]; } else if ([tag isEqualToString:@"paper_doc_slack_share_details"]) { DBTEAMLOGPaperDocSlackShareDetails *paperDocSlackShareDetails = [DBTEAMLOGPaperDocSlackShareDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithPaperDocSlackShareDetails:paperDocSlackShareDetails]; } else if ([tag isEqualToString:@"paper_doc_team_invite_details"]) { DBTEAMLOGPaperDocTeamInviteDetails *paperDocTeamInviteDetails = [DBTEAMLOGPaperDocTeamInviteDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithPaperDocTeamInviteDetails:paperDocTeamInviteDetails]; } else if ([tag isEqualToString:@"paper_doc_trashed_details"]) { DBTEAMLOGPaperDocTrashedDetails *paperDocTrashedDetails = [DBTEAMLOGPaperDocTrashedDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithPaperDocTrashedDetails:paperDocTrashedDetails]; } else if ([tag isEqualToString:@"paper_doc_unresolve_comment_details"]) { DBTEAMLOGPaperDocUnresolveCommentDetails *paperDocUnresolveCommentDetails = [DBTEAMLOGPaperDocUnresolveCommentDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithPaperDocUnresolveCommentDetails:paperDocUnresolveCommentDetails]; } else if ([tag isEqualToString:@"paper_doc_untrashed_details"]) { DBTEAMLOGPaperDocUntrashedDetails *paperDocUntrashedDetails = [DBTEAMLOGPaperDocUntrashedDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithPaperDocUntrashedDetails:paperDocUntrashedDetails]; } 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]; return [[DBTEAMLOGEventDetails alloc] initWithPaperFolderChangeSubscriptionDetails:paperFolderChangeSubscriptionDetails]; } else if ([tag isEqualToString:@"paper_folder_deleted_details"]) { DBTEAMLOGPaperFolderDeletedDetails *paperFolderDeletedDetails = [DBTEAMLOGPaperFolderDeletedDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithPaperFolderDeletedDetails:paperFolderDeletedDetails]; } else if ([tag isEqualToString:@"paper_folder_followed_details"]) { DBTEAMLOGPaperFolderFollowedDetails *paperFolderFollowedDetails = [DBTEAMLOGPaperFolderFollowedDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithPaperFolderFollowedDetails:paperFolderFollowedDetails]; } else if ([tag isEqualToString:@"paper_folder_team_invite_details"]) { 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]; return [[DBTEAMLOGEventDetails alloc] initWithPasswordChangeDetails:passwordChangeDetails]; } else if ([tag isEqualToString:@"password_reset_details"]) { DBTEAMLOGPasswordResetDetails *passwordResetDetails = [DBTEAMLOGPasswordResetDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithPasswordResetDetails:passwordResetDetails]; } else if ([tag isEqualToString:@"password_reset_all_details"]) { 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]; return [[DBTEAMLOGEventDetails alloc] initWithEmmCreateExceptionsReportDetails:emmCreateExceptionsReportDetails]; } else if ([tag isEqualToString:@"emm_create_usage_report_details"]) { 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]; return [[DBTEAMLOGEventDetails alloc] initWithSmartSyncCreateAdminPrivilegeReportDetails:smartSyncCreateAdminPrivilegeReportDetails]; } else if ([tag isEqualToString:@"team_activity_create_report_details"]) { 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]; return [[DBTEAMLOGEventDetails alloc] initWithNoteAclInviteOnlyDetails:noteAclInviteOnlyDetails]; } else if ([tag isEqualToString:@"note_acl_link_details"]) { DBTEAMLOGNoteAclLinkDetails *noteAclLinkDetails = [DBTEAMLOGNoteAclLinkDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithNoteAclLinkDetails:noteAclLinkDetails]; } else if ([tag isEqualToString:@"note_acl_team_link_details"]) { DBTEAMLOGNoteAclTeamLinkDetails *noteAclTeamLinkDetails = [DBTEAMLOGNoteAclTeamLinkDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithNoteAclTeamLinkDetails:noteAclTeamLinkDetails]; } else if ([tag isEqualToString:@"note_shared_details"]) { DBTEAMLOGNoteSharedDetails *noteSharedDetails = [DBTEAMLOGNoteSharedDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithNoteSharedDetails:noteSharedDetails]; } else if ([tag isEqualToString:@"note_share_receive_details"]) { DBTEAMLOGNoteShareReceiveDetails *noteShareReceiveDetails = [DBTEAMLOGNoteShareReceiveDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithNoteShareReceiveDetails:noteShareReceiveDetails]; } else if ([tag isEqualToString:@"open_note_shared_details"]) { 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]; } else if ([tag isEqualToString:@"sf_allow_non_members_to_view_shared_links_details"]) { DBTEAMLOGSfAllowNonMembersToViewSharedLinksDetails *sfAllowNonMembersToViewSharedLinksDetails = [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_team_grant_access_details"]) { DBTEAMLOGSfTeamGrantAccessDetails *sfTeamGrantAccessDetails = [DBTEAMLOGSfTeamGrantAccessDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithSfTeamGrantAccessDetails:sfTeamGrantAccessDetails]; } else if ([tag isEqualToString:@"sf_team_invite_details"]) { DBTEAMLOGSfTeamInviteDetails *sfTeamInviteDetails = [DBTEAMLOGSfTeamInviteDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithSfTeamInviteDetails:sfTeamInviteDetails]; } else if ([tag isEqualToString:@"sf_team_invite_change_role_details"]) { DBTEAMLOGSfTeamInviteChangeRoleDetails *sfTeamInviteChangeRoleDetails = [DBTEAMLOGSfTeamInviteChangeRoleDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithSfTeamInviteChangeRoleDetails:sfTeamInviteChangeRoleDetails]; } else if ([tag isEqualToString:@"sf_team_join_details"]) { DBTEAMLOGSfTeamJoinDetails *sfTeamJoinDetails = [DBTEAMLOGSfTeamJoinDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithSfTeamJoinDetails:sfTeamJoinDetails]; } else if ([tag isEqualToString:@"sf_team_join_from_oob_link_details"]) { DBTEAMLOGSfTeamJoinFromOobLinkDetails *sfTeamJoinFromOobLinkDetails = [DBTEAMLOGSfTeamJoinFromOobLinkDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithSfTeamJoinFromOobLinkDetails:sfTeamJoinFromOobLinkDetails]; } else if ([tag isEqualToString:@"sf_team_uninvite_details"]) { DBTEAMLOGSfTeamUninviteDetails *sfTeamUninviteDetails = [DBTEAMLOGSfTeamUninviteDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithSfTeamUninviteDetails:sfTeamUninviteDetails]; } else if ([tag isEqualToString:@"shared_content_add_invitees_details"]) { DBTEAMLOGSharedContentAddInviteesDetails *sharedContentAddInviteesDetails = [DBTEAMLOGSharedContentAddInviteesDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithSharedContentAddInviteesDetails:sharedContentAddInviteesDetails]; } else if ([tag isEqualToString:@"shared_content_add_link_expiry_details"]) { DBTEAMLOGSharedContentAddLinkExpiryDetails *sharedContentAddLinkExpiryDetails = [DBTEAMLOGSharedContentAddLinkExpiryDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithSharedContentAddLinkExpiryDetails:sharedContentAddLinkExpiryDetails]; } else if ([tag isEqualToString:@"shared_content_add_link_password_details"]) { DBTEAMLOGSharedContentAddLinkPasswordDetails *sharedContentAddLinkPasswordDetails = [DBTEAMLOGSharedContentAddLinkPasswordDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithSharedContentAddLinkPasswordDetails:sharedContentAddLinkPasswordDetails]; } else if ([tag isEqualToString:@"shared_content_add_member_details"]) { DBTEAMLOGSharedContentAddMemberDetails *sharedContentAddMemberDetails = [DBTEAMLOGSharedContentAddMemberDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithSharedContentAddMemberDetails:sharedContentAddMemberDetails]; } else if ([tag isEqualToString:@"shared_content_change_downloads_policy_details"]) { DBTEAMLOGSharedContentChangeDownloadsPolicyDetails *sharedContentChangeDownloadsPolicyDetails = [DBTEAMLOGSharedContentChangeDownloadsPolicyDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithSharedContentChangeDownloadsPolicyDetails:sharedContentChangeDownloadsPolicyDetails]; } else if ([tag isEqualToString:@"shared_content_change_invitee_role_details"]) { DBTEAMLOGSharedContentChangeInviteeRoleDetails *sharedContentChangeInviteeRoleDetails = [DBTEAMLOGSharedContentChangeInviteeRoleDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithSharedContentChangeInviteeRoleDetails:sharedContentChangeInviteeRoleDetails]; } else if ([tag isEqualToString:@"shared_content_change_link_audience_details"]) { DBTEAMLOGSharedContentChangeLinkAudienceDetails *sharedContentChangeLinkAudienceDetails = [DBTEAMLOGSharedContentChangeLinkAudienceDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithSharedContentChangeLinkAudienceDetails:sharedContentChangeLinkAudienceDetails]; } else if ([tag isEqualToString:@"shared_content_change_link_expiry_details"]) { DBTEAMLOGSharedContentChangeLinkExpiryDetails *sharedContentChangeLinkExpiryDetails = [DBTEAMLOGSharedContentChangeLinkExpiryDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithSharedContentChangeLinkExpiryDetails:sharedContentChangeLinkExpiryDetails]; } else if ([tag isEqualToString:@"shared_content_change_link_password_details"]) { DBTEAMLOGSharedContentChangeLinkPasswordDetails *sharedContentChangeLinkPasswordDetails = [DBTEAMLOGSharedContentChangeLinkPasswordDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithSharedContentChangeLinkPasswordDetails:sharedContentChangeLinkPasswordDetails]; } else if ([tag isEqualToString:@"shared_content_change_member_role_details"]) { DBTEAMLOGSharedContentChangeMemberRoleDetails *sharedContentChangeMemberRoleDetails = [DBTEAMLOGSharedContentChangeMemberRoleDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithSharedContentChangeMemberRoleDetails:sharedContentChangeMemberRoleDetails]; } else if ([tag isEqualToString:@"shared_content_change_viewer_info_policy_details"]) { DBTEAMLOGSharedContentChangeViewerInfoPolicyDetails *sharedContentChangeViewerInfoPolicyDetails = [DBTEAMLOGSharedContentChangeViewerInfoPolicyDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithSharedContentChangeViewerInfoPolicyDetails:sharedContentChangeViewerInfoPolicyDetails]; } else if ([tag isEqualToString:@"shared_content_claim_invitation_details"]) { DBTEAMLOGSharedContentClaimInvitationDetails *sharedContentClaimInvitationDetails = [DBTEAMLOGSharedContentClaimInvitationDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithSharedContentClaimInvitationDetails:sharedContentClaimInvitationDetails]; } else if ([tag isEqualToString:@"shared_content_copy_details"]) { DBTEAMLOGSharedContentCopyDetails *sharedContentCopyDetails = [DBTEAMLOGSharedContentCopyDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithSharedContentCopyDetails:sharedContentCopyDetails]; } else if ([tag isEqualToString:@"shared_content_download_details"]) { DBTEAMLOGSharedContentDownloadDetails *sharedContentDownloadDetails = [DBTEAMLOGSharedContentDownloadDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithSharedContentDownloadDetails:sharedContentDownloadDetails]; } else if ([tag isEqualToString:@"shared_content_relinquish_membership_details"]) { DBTEAMLOGSharedContentRelinquishMembershipDetails *sharedContentRelinquishMembershipDetails = [DBTEAMLOGSharedContentRelinquishMembershipDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithSharedContentRelinquishMembershipDetails:sharedContentRelinquishMembershipDetails]; } 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]; return [[DBTEAMLOGEventDetails alloc] initWithSharedContentRemoveLinkExpiryDetails:sharedContentRemoveLinkExpiryDetails]; } else if ([tag isEqualToString:@"shared_content_remove_link_password_details"]) { DBTEAMLOGSharedContentRemoveLinkPasswordDetails *sharedContentRemoveLinkPasswordDetails = [DBTEAMLOGSharedContentRemoveLinkPasswordDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithSharedContentRemoveLinkPasswordDetails:sharedContentRemoveLinkPasswordDetails]; } else if ([tag isEqualToString:@"shared_content_remove_member_details"]) { DBTEAMLOGSharedContentRemoveMemberDetails *sharedContentRemoveMemberDetails = [DBTEAMLOGSharedContentRemoveMemberDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithSharedContentRemoveMemberDetails:sharedContentRemoveMemberDetails]; } else if ([tag isEqualToString:@"shared_content_request_access_details"]) { 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]; return [[DBTEAMLOGEventDetails alloc] initWithSharedContentUnshareDetails:sharedContentUnshareDetails]; } else if ([tag isEqualToString:@"shared_content_view_details"]) { DBTEAMLOGSharedContentViewDetails *sharedContentViewDetails = [DBTEAMLOGSharedContentViewDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithSharedContentViewDetails:sharedContentViewDetails]; } 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_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] initWithSharedFolderChangeMembersManagementPolicyDetails:sharedFolderChangeMembersManagementPolicyDetails]; } else if ([tag isEqualToString:@"shared_folder_change_members_policy_details"]) { DBTEAMLOGSharedFolderChangeMembersPolicyDetails *sharedFolderChangeMembersPolicyDetails = [DBTEAMLOGSharedFolderChangeMembersPolicyDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] 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]; return [[DBTEAMLOGEventDetails alloc] initWithSharedFolderTransferOwnershipDetails:sharedFolderTransferOwnershipDetails]; } else if ([tag isEqualToString:@"shared_folder_unmount_details"]) { 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_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:@"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]; } else if ([tag isEqualToString:@"sso_add_login_url_details"]) { DBTEAMLOGSsoAddLoginUrlDetails *ssoAddLoginUrlDetails = [DBTEAMLOGSsoAddLoginUrlDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithSsoAddLoginUrlDetails:ssoAddLoginUrlDetails]; } else if ([tag isEqualToString:@"sso_add_logout_url_details"]) { DBTEAMLOGSsoAddLogoutUrlDetails *ssoAddLogoutUrlDetails = [DBTEAMLOGSsoAddLogoutUrlDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithSsoAddLogoutUrlDetails:ssoAddLogoutUrlDetails]; } else if ([tag isEqualToString:@"sso_change_cert_details"]) { DBTEAMLOGSsoChangeCertDetails *ssoChangeCertDetails = [DBTEAMLOGSsoChangeCertDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithSsoChangeCertDetails:ssoChangeCertDetails]; } else if ([tag isEqualToString:@"sso_change_login_url_details"]) { DBTEAMLOGSsoChangeLoginUrlDetails *ssoChangeLoginUrlDetails = [DBTEAMLOGSsoChangeLoginUrlDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithSsoChangeLoginUrlDetails:ssoChangeLoginUrlDetails]; } else if ([tag isEqualToString:@"sso_change_logout_url_details"]) { DBTEAMLOGSsoChangeLogoutUrlDetails *ssoChangeLogoutUrlDetails = [DBTEAMLOGSsoChangeLogoutUrlDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithSsoChangeLogoutUrlDetails:ssoChangeLogoutUrlDetails]; } else if ([tag isEqualToString:@"sso_change_saml_identity_mode_details"]) { DBTEAMLOGSsoChangeSamlIdentityModeDetails *ssoChangeSamlIdentityModeDetails = [DBTEAMLOGSsoChangeSamlIdentityModeDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithSsoChangeSamlIdentityModeDetails:ssoChangeSamlIdentityModeDetails]; } else if ([tag isEqualToString:@"sso_remove_cert_details"]) { DBTEAMLOGSsoRemoveCertDetails *ssoRemoveCertDetails = [DBTEAMLOGSsoRemoveCertDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithSsoRemoveCertDetails:ssoRemoveCertDetails]; } else if ([tag isEqualToString:@"sso_remove_login_url_details"]) { DBTEAMLOGSsoRemoveLoginUrlDetails *ssoRemoveLoginUrlDetails = [DBTEAMLOGSsoRemoveLoginUrlDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithSsoRemoveLoginUrlDetails:ssoRemoveLoginUrlDetails]; } else if ([tag isEqualToString:@"sso_remove_logout_url_details"]) { DBTEAMLOGSsoRemoveLogoutUrlDetails *ssoRemoveLogoutUrlDetails = [DBTEAMLOGSsoRemoveLogoutUrlDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithSsoRemoveLogoutUrlDetails:ssoRemoveLogoutUrlDetails]; } else if ([tag isEqualToString:@"team_folder_change_status_details"]) { DBTEAMLOGTeamFolderChangeStatusDetails *teamFolderChangeStatusDetails = [DBTEAMLOGTeamFolderChangeStatusDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithTeamFolderChangeStatusDetails:teamFolderChangeStatusDetails]; } else if ([tag isEqualToString:@"team_folder_create_details"]) { DBTEAMLOGTeamFolderCreateDetails *teamFolderCreateDetails = [DBTEAMLOGTeamFolderCreateDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithTeamFolderCreateDetails:teamFolderCreateDetails]; } else if ([tag isEqualToString:@"team_folder_downgrade_details"]) { DBTEAMLOGTeamFolderDowngradeDetails *teamFolderDowngradeDetails = [DBTEAMLOGTeamFolderDowngradeDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithTeamFolderDowngradeDetails:teamFolderDowngradeDetails]; } else if ([tag isEqualToString:@"team_folder_permanently_delete_details"]) { DBTEAMLOGTeamFolderPermanentlyDeleteDetails *teamFolderPermanentlyDeleteDetails = [DBTEAMLOGTeamFolderPermanentlyDeleteDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithTeamFolderPermanentlyDeleteDetails:teamFolderPermanentlyDeleteDetails]; } else if ([tag isEqualToString:@"team_folder_rename_details"]) { 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]; return [[DBTEAMLOGEventDetails alloc] initWithAllowDownloadDisabledDetails:allowDownloadDisabledDetails]; } else if ([tag isEqualToString:@"allow_download_enabled_details"]) { 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]; return [[DBTEAMLOGEventDetails alloc] initWithDataPlacementRestrictionChangePolicyDetails:dataPlacementRestrictionChangePolicyDetails]; } else if ([tag isEqualToString:@"data_placement_restriction_satisfy_policy_details"]) { DBTEAMLOGDataPlacementRestrictionSatisfyPolicyDetails *dataPlacementRestrictionSatisfyPolicyDetails = [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]; return [[DBTEAMLOGEventDetails alloc] initWithDeviceApprovalsChangeDesktopPolicyDetails:deviceApprovalsChangeDesktopPolicyDetails]; } else if ([tag isEqualToString:@"device_approvals_change_mobile_policy_details"]) { DBTEAMLOGDeviceApprovalsChangeMobilePolicyDetails *deviceApprovalsChangeMobilePolicyDetails = [DBTEAMLOGDeviceApprovalsChangeMobilePolicyDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithDeviceApprovalsChangeMobilePolicyDetails:deviceApprovalsChangeMobilePolicyDetails]; } else if ([tag isEqualToString:@"device_approvals_change_overage_action_details"]) { DBTEAMLOGDeviceApprovalsChangeOverageActionDetails *deviceApprovalsChangeOverageActionDetails = [DBTEAMLOGDeviceApprovalsChangeOverageActionDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithDeviceApprovalsChangeOverageActionDetails:deviceApprovalsChangeOverageActionDetails]; } else if ([tag isEqualToString:@"device_approvals_change_unlink_action_details"]) { DBTEAMLOGDeviceApprovalsChangeUnlinkActionDetails *deviceApprovalsChangeUnlinkActionDetails = [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]; return [[DBTEAMLOGEventDetails alloc] initWithEmmAddExceptionDetails:emmAddExceptionDetails]; } else if ([tag isEqualToString:@"emm_change_policy_details"]) { DBTEAMLOGEmmChangePolicyDetails *emmChangePolicyDetails = [DBTEAMLOGEmmChangePolicyDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithEmmChangePolicyDetails:emmChangePolicyDetails]; } else if ([tag isEqualToString:@"emm_remove_exception_details"]) { DBTEAMLOGEmmRemoveExceptionDetails *emmRemoveExceptionDetails = [DBTEAMLOGEmmRemoveExceptionDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithEmmRemoveExceptionDetails:emmRemoveExceptionDetails]; } else if ([tag isEqualToString:@"extended_version_history_change_policy_details"]) { DBTEAMLOGExtendedVersionHistoryChangePolicyDetails *extendedVersionHistoryChangePolicyDetails = [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]; return [[DBTEAMLOGEventDetails alloc] initWithFileRequestsChangePolicyDetails:fileRequestsChangePolicyDetails]; } else if ([tag isEqualToString:@"file_requests_emails_enabled_details"]) { DBTEAMLOGFileRequestsEmailsEnabledDetails *fileRequestsEmailsEnabledDetails = [DBTEAMLOGFileRequestsEmailsEnabledDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithFileRequestsEmailsEnabledDetails:fileRequestsEmailsEnabledDetails]; } else if ([tag isEqualToString:@"file_requests_emails_restricted_to_team_only_details"]) { DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyDetails *fileRequestsEmailsRestrictedToTeamOnlyDetails = [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]; return [[DBTEAMLOGEventDetails alloc] initWithGoogleSsoChangePolicyDetails:googleSsoChangePolicyDetails]; } else if ([tag isEqualToString:@"group_user_management_change_policy_details"]) { DBTEAMLOGGroupUserManagementChangePolicyDetails *groupUserManagementChangePolicyDetails = [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]; return [[DBTEAMLOGEventDetails alloc] initWithMemberSpaceLimitsChangePolicyDetails:memberSpaceLimitsChangePolicyDetails]; } else if ([tag isEqualToString:@"member_space_limits_remove_exception_details"]) { DBTEAMLOGMemberSpaceLimitsRemoveExceptionDetails *memberSpaceLimitsRemoveExceptionDetails = [DBTEAMLOGMemberSpaceLimitsRemoveExceptionDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithMemberSpaceLimitsRemoveExceptionDetails:memberSpaceLimitsRemoveExceptionDetails]; } else if ([tag isEqualToString:@"member_suggestions_change_policy_details"]) { DBTEAMLOGMemberSuggestionsChangePolicyDetails *memberSuggestionsChangePolicyDetails = [DBTEAMLOGMemberSuggestionsChangePolicyDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithMemberSuggestionsChangePolicyDetails:memberSuggestionsChangePolicyDetails]; } else if ([tag isEqualToString:@"microsoft_office_addin_change_policy_details"]) { DBTEAMLOGMicrosoftOfficeAddinChangePolicyDetails *microsoftOfficeAddinChangePolicyDetails = [DBTEAMLOGMicrosoftOfficeAddinChangePolicyDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithMicrosoftOfficeAddinChangePolicyDetails:microsoftOfficeAddinChangePolicyDetails]; } else if ([tag isEqualToString:@"network_control_change_policy_details"]) { DBTEAMLOGNetworkControlChangePolicyDetails *networkControlChangePolicyDetails = [DBTEAMLOGNetworkControlChangePolicyDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithNetworkControlChangePolicyDetails:networkControlChangePolicyDetails]; } else if ([tag isEqualToString:@"paper_change_deployment_policy_details"]) { DBTEAMLOGPaperChangeDeploymentPolicyDetails *paperChangeDeploymentPolicyDetails = [DBTEAMLOGPaperChangeDeploymentPolicyDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithPaperChangeDeploymentPolicyDetails:paperChangeDeploymentPolicyDetails]; } else if ([tag isEqualToString:@"paper_change_member_link_policy_details"]) { DBTEAMLOGPaperChangeMemberLinkPolicyDetails *paperChangeMemberLinkPolicyDetails = [DBTEAMLOGPaperChangeMemberLinkPolicyDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithPaperChangeMemberLinkPolicyDetails:paperChangeMemberLinkPolicyDetails]; } else if ([tag isEqualToString:@"paper_change_member_policy_details"]) { DBTEAMLOGPaperChangeMemberPolicyDetails *paperChangeMemberPolicyDetails = [DBTEAMLOGPaperChangeMemberPolicyDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithPaperChangeMemberPolicyDetails:paperChangeMemberPolicyDetails]; } else if ([tag isEqualToString:@"paper_change_policy_details"]) { 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]; return [[DBTEAMLOGEventDetails alloc] initWithSharingChangeLinkPolicyDetails:sharingChangeLinkPolicyDetails]; } else if ([tag isEqualToString:@"sharing_change_member_policy_details"]) { 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]; return [[DBTEAMLOGEventDetails alloc] initWithSmartSyncChangePolicyDetails:smartSyncChangePolicyDetails]; } else if ([tag isEqualToString:@"smart_sync_not_opt_out_details"]) { DBTEAMLOGSmartSyncNotOptOutDetails *smartSyncNotOptOutDetails = [DBTEAMLOGSmartSyncNotOptOutDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithSmartSyncNotOptOutDetails:smartSyncNotOptOutDetails]; } else if ([tag isEqualToString:@"smart_sync_opt_out_details"]) { DBTEAMLOGSmartSyncOptOutDetails *smartSyncOptOutDetails = [DBTEAMLOGSmartSyncOptOutDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithSmartSyncOptOutDetails:smartSyncOptOutDetails]; } else if ([tag isEqualToString:@"sso_change_policy_details"]) { 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]; return [[DBTEAMLOGEventDetails alloc] initWithWebSessionsChangeFixedLengthPolicyDetails:webSessionsChangeFixedLengthPolicyDetails]; } else if ([tag isEqualToString:@"web_sessions_change_idle_length_policy_details"]) { DBTEAMLOGWebSessionsChangeIdleLengthPolicyDetails *webSessionsChangeIdleLengthPolicyDetails = [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]; return [[DBTEAMLOGEventDetails alloc] initWithTeamProfileChangeDefaultLanguageDetails:teamProfileChangeDefaultLanguageDetails]; } else if ([tag isEqualToString:@"team_profile_change_logo_details"]) { DBTEAMLOGTeamProfileChangeLogoDetails *teamProfileChangeLogoDetails = [DBTEAMLOGTeamProfileChangeLogoDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithTeamProfileChangeLogoDetails:teamProfileChangeLogoDetails]; } else if ([tag isEqualToString:@"team_profile_change_name_details"]) { 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]; return [[DBTEAMLOGEventDetails alloc] initWithTeamProfileRemoveLogoDetails:teamProfileRemoveLogoDetails]; } else if ([tag isEqualToString:@"tfa_add_backup_phone_details"]) { DBTEAMLOGTfaAddBackupPhoneDetails *tfaAddBackupPhoneDetails = [DBTEAMLOGTfaAddBackupPhoneDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithTfaAddBackupPhoneDetails:tfaAddBackupPhoneDetails]; } else if ([tag isEqualToString:@"tfa_add_security_key_details"]) { DBTEAMLOGTfaAddSecurityKeyDetails *tfaAddSecurityKeyDetails = [DBTEAMLOGTfaAddSecurityKeyDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithTfaAddSecurityKeyDetails:tfaAddSecurityKeyDetails]; } else if ([tag isEqualToString:@"tfa_change_backup_phone_details"]) { DBTEAMLOGTfaChangeBackupPhoneDetails *tfaChangeBackupPhoneDetails = [DBTEAMLOGTfaChangeBackupPhoneDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithTfaChangeBackupPhoneDetails:tfaChangeBackupPhoneDetails]; } else if ([tag isEqualToString:@"tfa_change_status_details"]) { DBTEAMLOGTfaChangeStatusDetails *tfaChangeStatusDetails = [DBTEAMLOGTfaChangeStatusDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithTfaChangeStatusDetails:tfaChangeStatusDetails]; } else if ([tag isEqualToString:@"tfa_remove_backup_phone_details"]) { DBTEAMLOGTfaRemoveBackupPhoneDetails *tfaRemoveBackupPhoneDetails = [DBTEAMLOGTfaRemoveBackupPhoneDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithTfaRemoveBackupPhoneDetails:tfaRemoveBackupPhoneDetails]; } else if ([tag isEqualToString:@"tfa_remove_security_key_details"]) { DBTEAMLOGTfaRemoveSecurityKeyDetails *tfaRemoveSecurityKeyDetails = [DBTEAMLOGTfaRemoveSecurityKeyDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithTfaRemoveSecurityKeyDetails:tfaRemoveSecurityKeyDetails]; } 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]; } else if ([tag isEqualToString:@"other"]) { return [[DBTEAMLOGEventDetails alloc] initWithOther]; } else { return [[DBTEAMLOGEventDetails alloc] initWithOther]; } } @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; } - (DBTEAMLOGPaperContentPermanentlyDeleteType *)paperContentPermanentlyDelete { if (![self isPaperContentPermanentlyDelete]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypePaperContentPermanentlyDelete, but was %@.", [self tagName]]; } return _paperContentPermanentlyDelete; } - (DBTEAMLOGPaperContentRemoveFromFolderType *)paperContentRemoveFromFolder { if (![self isPaperContentRemoveFromFolder]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypePaperContentRemoveFromFolder, but was %@.", [self tagName]]; } return _paperContentRemoveFromFolder; } - (DBTEAMLOGPaperContentRemoveMemberType *)paperContentRemoveMember { if (![self isPaperContentRemoveMember]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypePaperContentRemoveMember, but was %@.", [self tagName]]; } return _paperContentRemoveMember; } - (DBTEAMLOGPaperContentRenameType *)paperContentRename { if (![self isPaperContentRename]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypePaperContentRename, but was %@.", [self tagName]]; } return _paperContentRename; } - (DBTEAMLOGPaperContentRestoreType *)paperContentRestore { if (![self isPaperContentRestore]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypePaperContentRestore, but was %@.", [self tagName]]; } return _paperContentRestore; } - (DBTEAMLOGPaperDocAddCommentType *)paperDocAddComment { if (![self isPaperDocAddComment]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypePaperDocAddComment, but was %@.", [self tagName]]; } return _paperDocAddComment; } - (DBTEAMLOGPaperDocChangeMemberRoleType *)paperDocChangeMemberRole { if (![self isPaperDocChangeMemberRole]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypePaperDocChangeMemberRole, but was %@.", [self tagName]]; } return _paperDocChangeMemberRole; } - (DBTEAMLOGPaperDocChangeSharingPolicyType *)paperDocChangeSharingPolicy { if (![self isPaperDocChangeSharingPolicy]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypePaperDocChangeSharingPolicy, but was %@.", [self tagName]]; } return _paperDocChangeSharingPolicy; } - (DBTEAMLOGPaperDocChangeSubscriptionType *)paperDocChangeSubscription { if (![self isPaperDocChangeSubscription]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypePaperDocChangeSubscription, but was %@.", [self tagName]]; } return _paperDocChangeSubscription; } - (DBTEAMLOGPaperDocDeletedType *)paperDocDeleted { if (![self isPaperDocDeleted]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypePaperDocDeleted, but was %@.", [self tagName]]; } return _paperDocDeleted; } - (DBTEAMLOGPaperDocDeleteCommentType *)paperDocDeleteComment { if (![self isPaperDocDeleteComment]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypePaperDocDeleteComment, but was %@.", [self tagName]]; } return _paperDocDeleteComment; } - (DBTEAMLOGPaperDocDownloadType *)paperDocDownload { if (![self isPaperDocDownload]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypePaperDocDownload, but was %@.", [self tagName]]; } return _paperDocDownload; } - (DBTEAMLOGPaperDocEditType *)paperDocEdit { if (![self isPaperDocEdit]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypePaperDocEdit, but was %@.", [self tagName]]; } return _paperDocEdit; } - (DBTEAMLOGPaperDocEditCommentType *)paperDocEditComment { if (![self isPaperDocEditComment]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypePaperDocEditComment, but was %@.", [self tagName]]; } return _paperDocEditComment; } - (DBTEAMLOGPaperDocFollowedType *)paperDocFollowed { if (![self isPaperDocFollowed]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypePaperDocFollowed, but was %@.", [self tagName]]; } return _paperDocFollowed; } - (DBTEAMLOGPaperDocMentionType *)paperDocMention { if (![self isPaperDocMention]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypePaperDocMention, but was %@.", [self tagName]]; } return _paperDocMention; } - (DBTEAMLOGPaperDocOwnershipChangedType *)paperDocOwnershipChanged { if (![self isPaperDocOwnershipChanged]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypePaperDocOwnershipChanged, but was %@.", [self tagName]]; } return _paperDocOwnershipChanged; } - (DBTEAMLOGPaperDocRequestAccessType *)paperDocRequestAccess { if (![self isPaperDocRequestAccess]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypePaperDocRequestAccess, but was %@.", [self tagName]]; } return _paperDocRequestAccess; } - (DBTEAMLOGPaperDocResolveCommentType *)paperDocResolveComment { if (![self isPaperDocResolveComment]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypePaperDocResolveComment, but was %@.", [self tagName]]; } return _paperDocResolveComment; } - (DBTEAMLOGPaperDocRevertType *)paperDocRevert { if (![self isPaperDocRevert]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypePaperDocRevert, but was %@.", [self tagName]]; } return _paperDocRevert; } - (DBTEAMLOGPaperDocSlackShareType *)paperDocSlackShare { if (![self isPaperDocSlackShare]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypePaperDocSlackShare, but was %@.", [self tagName]]; } return _paperDocSlackShare; } - (DBTEAMLOGPaperDocTeamInviteType *)paperDocTeamInvite { if (![self isPaperDocTeamInvite]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypePaperDocTeamInvite, but was %@.", [self tagName]]; } return _paperDocTeamInvite; } - (DBTEAMLOGPaperDocTrashedType *)paperDocTrashed { if (![self isPaperDocTrashed]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypePaperDocTrashed, but was %@.", [self tagName]]; } return _paperDocTrashed; } - (DBTEAMLOGPaperDocUnresolveCommentType *)paperDocUnresolveComment { if (![self isPaperDocUnresolveComment]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypePaperDocUnresolveComment, but was %@.", [self tagName]]; } return _paperDocUnresolveComment; } - (DBTEAMLOGPaperDocUntrashedType *)paperDocUntrashed { if (![self isPaperDocUntrashed]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypePaperDocUntrashed, but was %@.", [self tagName]]; } return _paperDocUntrashed; } - (DBTEAMLOGPaperDocViewType *)paperDocView { if (![self isPaperDocView]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypePaperDocView, but was %@.", [self tagName]]; } return _paperDocView; } - (DBTEAMLOGPaperExternalViewAllowType *)paperExternalViewAllow { if (![self isPaperExternalViewAllow]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypePaperExternalViewAllow, but was %@.", [self tagName]]; } return _paperExternalViewAllow; } - (DBTEAMLOGPaperExternalViewDefaultTeamType *)paperExternalViewDefaultTeam { if (![self isPaperExternalViewDefaultTeam]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypePaperExternalViewDefaultTeam, but was %@.", [self tagName]]; } return _paperExternalViewDefaultTeam; } - (DBTEAMLOGPaperExternalViewForbidType *)paperExternalViewForbid { if (![self isPaperExternalViewForbid]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypePaperExternalViewForbid, but was %@.", [self tagName]]; } return _paperExternalViewForbid; } - (DBTEAMLOGPaperFolderChangeSubscriptionType *)paperFolderChangeSubscription { if (![self isPaperFolderChangeSubscription]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypePaperFolderChangeSubscription, but was %@.", [self tagName]]; } return _paperFolderChangeSubscription; } - (DBTEAMLOGPaperFolderDeletedType *)paperFolderDeleted { if (![self isPaperFolderDeleted]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypePaperFolderDeleted, but was %@.", [self tagName]]; } return _paperFolderDeleted; } - (DBTEAMLOGPaperFolderFollowedType *)paperFolderFollowed { if (![self isPaperFolderFollowed]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypePaperFolderFollowed, but was %@.", [self tagName]]; } return _paperFolderFollowed; } - (DBTEAMLOGPaperFolderTeamInviteType *)paperFolderTeamInvite { if (![self isPaperFolderTeamInvite]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypePaperFolderTeamInvite, but was %@.", [self tagName]]; } return _paperFolderTeamInvite; } - (DBTEAMLOGPaperPublishedLinkChangePermissionType *)paperPublishedLinkChangePermission { if (![self isPaperPublishedLinkChangePermission]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypePaperPublishedLinkChangePermission, but was %@.", [self tagName]]; } return _paperPublishedLinkChangePermission; } - (DBTEAMLOGPaperPublishedLinkCreateType *)paperPublishedLinkCreate { if (![self isPaperPublishedLinkCreate]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypePaperPublishedLinkCreate, but was %@.", [self tagName]]; } return _paperPublishedLinkCreate; } - (DBTEAMLOGPaperPublishedLinkDisabledType *)paperPublishedLinkDisabled { if (![self isPaperPublishedLinkDisabled]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypePaperPublishedLinkDisabled, but was %@.", [self tagName]]; } return _paperPublishedLinkDisabled; } - (DBTEAMLOGPaperPublishedLinkViewType *)paperPublishedLinkView { if (![self isPaperPublishedLinkView]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypePaperPublishedLinkView, but was %@.", [self tagName]]; } return _paperPublishedLinkView; } - (DBTEAMLOGPasswordChangeType *)passwordChange { if (![self isPasswordChange]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypePasswordChange, but was %@.", [self tagName]]; } return _passwordChange; } - (DBTEAMLOGPasswordResetType *)passwordReset { if (![self isPasswordReset]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypePasswordReset, but was %@.", [self tagName]]; } return _passwordReset; } - (DBTEAMLOGPasswordResetAllType *)passwordResetAll { if (![self isPasswordResetAll]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypePasswordResetAll, but was %@.", [self tagName]]; } return _passwordResetAll; } - (DBTEAMLOGClassificationCreateReportType *)classificationCreateReport { if (![self isClassificationCreateReport]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeClassificationCreateReport, but was %@.", [self tagName]]; } return _classificationCreateReport; } - (DBTEAMLOGClassificationCreateReportFailType *)classificationCreateReportFail { if (![self isClassificationCreateReportFail]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeClassificationCreateReportFail, but was %@.", [self tagName]]; } return _classificationCreateReportFail; } - (DBTEAMLOGEmmCreateExceptionsReportType *)emmCreateExceptionsReport { if (![self isEmmCreateExceptionsReport]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeEmmCreateExceptionsReport, but was %@.", [self tagName]]; } return _emmCreateExceptionsReport; } - (DBTEAMLOGEmmCreateUsageReportType *)emmCreateUsageReport { if (![self isEmmCreateUsageReport]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeEmmCreateUsageReport, but was %@.", [self tagName]]; } return _emmCreateUsageReport; } - (DBTEAMLOGExportMembersReportType *)exportMembersReport { if (![self isExportMembersReport]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeExportMembersReport, but was %@.", [self tagName]]; } return _exportMembersReport; } - (DBTEAMLOGExportMembersReportFailType *)exportMembersReportFail { if (![self isExportMembersReportFail]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeExportMembersReportFail, but was %@.", [self tagName]]; } return _exportMembersReportFail; } - (DBTEAMLOGExternalSharingCreateReportType *)externalSharingCreateReport { if (![self isExternalSharingCreateReport]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeExternalSharingCreateReport, but was %@.", [self tagName]]; } return _externalSharingCreateReport; } - (DBTEAMLOGExternalSharingReportFailedType *)externalSharingReportFailed { if (![self isExternalSharingReportFailed]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeExternalSharingReportFailed, but was %@.", [self tagName]]; } return _externalSharingReportFailed; } - (DBTEAMLOGNoExpirationLinkGenCreateReportType *)noExpirationLinkGenCreateReport { if (![self isNoExpirationLinkGenCreateReport]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeNoExpirationLinkGenCreateReport, but was %@.", [self tagName]]; } return _noExpirationLinkGenCreateReport; } - (DBTEAMLOGNoExpirationLinkGenReportFailedType *)noExpirationLinkGenReportFailed { if (![self isNoExpirationLinkGenReportFailed]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeNoExpirationLinkGenReportFailed, but was %@.", [self tagName]]; } return _noExpirationLinkGenReportFailed; } - (DBTEAMLOGNoPasswordLinkGenCreateReportType *)noPasswordLinkGenCreateReport { if (![self isNoPasswordLinkGenCreateReport]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeNoPasswordLinkGenCreateReport, but was %@.", [self tagName]]; } return _noPasswordLinkGenCreateReport; } - (DBTEAMLOGNoPasswordLinkGenReportFailedType *)noPasswordLinkGenReportFailed { if (![self isNoPasswordLinkGenReportFailed]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeNoPasswordLinkGenReportFailed, but was %@.", [self tagName]]; } return _noPasswordLinkGenReportFailed; } - (DBTEAMLOGNoPasswordLinkViewCreateReportType *)noPasswordLinkViewCreateReport { if (![self isNoPasswordLinkViewCreateReport]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeNoPasswordLinkViewCreateReport, but was %@.", [self tagName]]; } return _noPasswordLinkViewCreateReport; } - (DBTEAMLOGNoPasswordLinkViewReportFailedType *)noPasswordLinkViewReportFailed { if (![self isNoPasswordLinkViewReportFailed]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeNoPasswordLinkViewReportFailed, but was %@.", [self tagName]]; } return _noPasswordLinkViewReportFailed; } - (DBTEAMLOGOutdatedLinkViewCreateReportType *)outdatedLinkViewCreateReport { if (![self isOutdatedLinkViewCreateReport]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeOutdatedLinkViewCreateReport, but was %@.", [self tagName]]; } 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; } - (DBTEAMLOGSharedContentAddInviteesType *)sharedContentAddInvitees { if (![self isSharedContentAddInvitees]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeSharedContentAddInvitees, but was %@.", [self tagName]]; } return _sharedContentAddInvitees; } - (DBTEAMLOGSharedContentAddLinkExpiryType *)sharedContentAddLinkExpiry { if (![self isSharedContentAddLinkExpiry]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeSharedContentAddLinkExpiry, but was %@.", [self tagName]]; } return _sharedContentAddLinkExpiry; } - (DBTEAMLOGSharedContentAddLinkPasswordType *)sharedContentAddLinkPassword { if (![self isSharedContentAddLinkPassword]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeSharedContentAddLinkPassword, but was %@.", [self tagName]]; } return _sharedContentAddLinkPassword; } - (DBTEAMLOGSharedContentAddMemberType *)sharedContentAddMember { if (![self isSharedContentAddMember]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeSharedContentAddMember, but was %@.", [self tagName]]; } return _sharedContentAddMember; } - (DBTEAMLOGSharedContentChangeDownloadsPolicyType *)sharedContentChangeDownloadsPolicy { if (![self isSharedContentChangeDownloadsPolicy]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeSharedContentChangeDownloadsPolicy, but was %@.", [self tagName]]; } return _sharedContentChangeDownloadsPolicy; } - (DBTEAMLOGSharedContentChangeInviteeRoleType *)sharedContentChangeInviteeRole { if (![self isSharedContentChangeInviteeRole]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeSharedContentChangeInviteeRole, but was %@.", [self tagName]]; } return _sharedContentChangeInviteeRole; } - (DBTEAMLOGSharedContentChangeLinkAudienceType *)sharedContentChangeLinkAudience { if (![self isSharedContentChangeLinkAudience]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeSharedContentChangeLinkAudience, but was %@.", [self tagName]]; } return _sharedContentChangeLinkAudience; } - (DBTEAMLOGSharedContentChangeLinkExpiryType *)sharedContentChangeLinkExpiry { if (![self isSharedContentChangeLinkExpiry]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeSharedContentChangeLinkExpiry, but was %@.", [self tagName]]; } return _sharedContentChangeLinkExpiry; } - (DBTEAMLOGSharedContentChangeLinkPasswordType *)sharedContentChangeLinkPassword { if (![self isSharedContentChangeLinkPassword]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeSharedContentChangeLinkPassword, but was %@.", [self tagName]]; } return _sharedContentChangeLinkPassword; } - (DBTEAMLOGSharedContentChangeMemberRoleType *)sharedContentChangeMemberRole { if (![self isSharedContentChangeMemberRole]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeSharedContentChangeMemberRole, but was %@.", [self tagName]]; } return _sharedContentChangeMemberRole; } - (DBTEAMLOGSharedContentChangeViewerInfoPolicyType *)sharedContentChangeViewerInfoPolicy { if (![self isSharedContentChangeViewerInfoPolicy]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeSharedContentChangeViewerInfoPolicy, but was %@.", [self tagName]]; } return _sharedContentChangeViewerInfoPolicy; } - (DBTEAMLOGSharedContentClaimInvitationType *)sharedContentClaimInvitation { if (![self isSharedContentClaimInvitation]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeSharedContentClaimInvitation, but was %@.", [self tagName]]; } return _sharedContentClaimInvitation; } - (DBTEAMLOGSharedContentCopyType *)sharedContentCopy { if (![self isSharedContentCopy]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeSharedContentCopy, but was %@.", [self tagName]]; } return _sharedContentCopy; } - (DBTEAMLOGSharedContentDownloadType *)sharedContentDownload { if (![self isSharedContentDownload]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeSharedContentDownload, but was %@.", [self tagName]]; } return _sharedContentDownload; } - (DBTEAMLOGSharedContentRelinquishMembershipType *)sharedContentRelinquishMembership { if (![self isSharedContentRelinquishMembership]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeSharedContentRelinquishMembership, but was %@.", [self tagName]]; } return _sharedContentRelinquishMembership; } - (DBTEAMLOGSharedContentRemoveInviteesType *)sharedContentRemoveInvitees { if (![self isSharedContentRemoveInvitees]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeSharedContentRemoveInvitees, but was %@.", [self tagName]]; } return _sharedContentRemoveInvitees; } - (DBTEAMLOGSharedContentRemoveLinkExpiryType *)sharedContentRemoveLinkExpiry { if (![self isSharedContentRemoveLinkExpiry]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeSharedContentRemoveLinkExpiry, but was %@.", [self tagName]]; } return _sharedContentRemoveLinkExpiry; } - (DBTEAMLOGSharedContentRemoveLinkPasswordType *)sharedContentRemoveLinkPassword { if (![self isSharedContentRemoveLinkPassword]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeSharedContentRemoveLinkPassword, but was %@.", [self tagName]]; } return _sharedContentRemoveLinkPassword; } - (DBTEAMLOGSharedContentRemoveMemberType *)sharedContentRemoveMember { if (![self isSharedContentRemoveMember]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeSharedContentRemoveMember, but was %@.", [self tagName]]; } return _sharedContentRemoveMember; } - (DBTEAMLOGSharedContentRequestAccessType *)sharedContentRequestAccess { if (![self isSharedContentRequestAccess]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeSharedContentRequestAccess, but was %@.", [self tagName]]; } return _sharedContentRequestAccess; } - (DBTEAMLOGSharedContentRestoreInviteesType *)sharedContentRestoreInvitees { if (![self isSharedContentRestoreInvitees]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeSharedContentRestoreInvitees, but was %@.", [self tagName]]; } return _sharedContentRestoreInvitees; } - (DBTEAMLOGSharedContentRestoreMemberType *)sharedContentRestoreMember { if (![self isSharedContentRestoreMember]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeSharedContentRestoreMember, but was %@.", [self tagName]]; } return _sharedContentRestoreMember; } - (DBTEAMLOGSharedContentUnshareType *)sharedContentUnshare { if (![self isSharedContentUnshare]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeSharedContentUnshare, but was %@.", [self tagName]]; } return _sharedContentUnshare; } - (DBTEAMLOGSharedContentViewType *)sharedContentView { if (![self isSharedContentView]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeSharedContentView, but was %@.", [self tagName]]; } return _sharedContentView; } - (DBTEAMLOGSharedFolderChangeLinkPolicyType *)sharedFolderChangeLinkPolicy { if (![self isSharedFolderChangeLinkPolicy]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeSharedFolderChangeLinkPolicy, but was %@.", [self tagName]]; } return _sharedFolderChangeLinkPolicy; } - (DBTEAMLOGSharedFolderChangeMembersInheritancePolicyType *)sharedFolderChangeMembersInheritancePolicy { if (![self isSharedFolderChangeMembersInheritancePolicy]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeSharedFolderChangeMembersInheritancePolicy, but was %@.", [self tagName]]; } return _sharedFolderChangeMembersInheritancePolicy; } - (DBTEAMLOGSharedFolderChangeMembersManagementPolicyType *)sharedFolderChangeMembersManagementPolicy { if (![self isSharedFolderChangeMembersManagementPolicy]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeSharedFolderChangeMembersManagementPolicy, but was %@.", [self tagName]]; } return _sharedFolderChangeMembersManagementPolicy; } - (DBTEAMLOGSharedFolderChangeMembersPolicyType *)sharedFolderChangeMembersPolicy { if (![self isSharedFolderChangeMembersPolicy]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeSharedFolderChangeMembersPolicy, but was %@.", [self tagName]]; } return _sharedFolderChangeMembersPolicy; } - (DBTEAMLOGSharedFolderCreateType *)sharedFolderCreate { if (![self isSharedFolderCreate]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeSharedFolderCreate, but was %@.", [self tagName]]; } return _sharedFolderCreate; } - (DBTEAMLOGSharedFolderDeclineInvitationType *)sharedFolderDeclineInvitation { if (![self isSharedFolderDeclineInvitation]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeSharedFolderDeclineInvitation, but was %@.", [self tagName]]; } return _sharedFolderDeclineInvitation; } - (DBTEAMLOGSharedFolderMountType *)sharedFolderMount { if (![self isSharedFolderMount]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeSharedFolderMount, but was %@.", [self tagName]]; } return _sharedFolderMount; } - (DBTEAMLOGSharedFolderNestType *)sharedFolderNest { if (![self isSharedFolderNest]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeSharedFolderNest, but was %@.", [self tagName]]; } return _sharedFolderNest; } - (DBTEAMLOGSharedFolderTransferOwnershipType *)sharedFolderTransferOwnership { if (![self isSharedFolderTransferOwnership]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeSharedFolderTransferOwnership, but was %@.", [self tagName]]; } return _sharedFolderTransferOwnership; } - (DBTEAMLOGSharedFolderUnmountType *)sharedFolderUnmount { if (![self isSharedFolderUnmount]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeSharedFolderUnmount, but was %@.", [self tagName]]; } return _sharedFolderUnmount; } - (DBTEAMLOGSharedLinkAddExpiryType *)sharedLinkAddExpiry { if (![self isSharedLinkAddExpiry]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeSharedLinkAddExpiry, but was %@.", [self tagName]]; } return _sharedLinkAddExpiry; } - (DBTEAMLOGSharedLinkChangeExpiryType *)sharedLinkChangeExpiry { if (![self isSharedLinkChangeExpiry]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeSharedLinkChangeExpiry, but was %@.", [self tagName]]; } return _sharedLinkChangeExpiry; } - (DBTEAMLOGSharedLinkChangeVisibilityType *)sharedLinkChangeVisibility { if (![self isSharedLinkChangeVisibility]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeSharedLinkChangeVisibility, but was %@.", [self tagName]]; } return _sharedLinkChangeVisibility; } - (DBTEAMLOGSharedLinkCopyType *)sharedLinkCopy { if (![self isSharedLinkCopy]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeSharedLinkCopy, but was %@.", [self tagName]]; } return _sharedLinkCopy; } - (DBTEAMLOGSharedLinkCreateType *)sharedLinkCreate { if (![self isSharedLinkCreate]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeSharedLinkCreate, but was %@.", [self tagName]]; } return _sharedLinkCreate; } - (DBTEAMLOGSharedLinkDisableType *)sharedLinkDisable { if (![self isSharedLinkDisable]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeSharedLinkDisable, but was %@.", [self tagName]]; } return _sharedLinkDisable; } - (DBTEAMLOGSharedLinkDownloadType *)sharedLinkDownload { if (![self isSharedLinkDownload]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeSharedLinkDownload, but was %@.", [self tagName]]; } return _sharedLinkDownload; } - (DBTEAMLOGSharedLinkRemoveExpiryType *)sharedLinkRemoveExpiry { if (![self isSharedLinkRemoveExpiry]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeSharedLinkRemoveExpiry, but was %@.", [self tagName]]; } return _sharedLinkRemoveExpiry; } - (DBTEAMLOGSharedLinkSettingsAddExpirationType *)sharedLinkSettingsAddExpiration { if (![self isSharedLinkSettingsAddExpiration]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeSharedLinkSettingsAddExpiration, but was %@.", [self tagName]]; } return _sharedLinkSettingsAddExpiration; } - (DBTEAMLOGSharedLinkSettingsAddPasswordType *)sharedLinkSettingsAddPassword { if (![self isSharedLinkSettingsAddPassword]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeSharedLinkSettingsAddPassword, but was %@.", [self tagName]]; } return _sharedLinkSettingsAddPassword; } - (DBTEAMLOGSharedLinkSettingsAllowDownloadDisabledType *)sharedLinkSettingsAllowDownloadDisabled { if (![self isSharedLinkSettingsAllowDownloadDisabled]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeSharedLinkSettingsAllowDownloadDisabled, but was %@.", [self tagName]]; } return _sharedLinkSettingsAllowDownloadDisabled; } - (DBTEAMLOGSharedLinkSettingsAllowDownloadEnabledType *)sharedLinkSettingsAllowDownloadEnabled { if (![self isSharedLinkSettingsAllowDownloadEnabled]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeSharedLinkSettingsAllowDownloadEnabled, but was %@.", [self tagName]]; } return _sharedLinkSettingsAllowDownloadEnabled; } - (DBTEAMLOGSharedLinkSettingsChangeAudienceType *)sharedLinkSettingsChangeAudience { if (![self isSharedLinkSettingsChangeAudience]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeSharedLinkSettingsChangeAudience, but was %@.", [self tagName]]; } return _sharedLinkSettingsChangeAudience; } - (DBTEAMLOGSharedLinkSettingsChangeExpirationType *)sharedLinkSettingsChangeExpiration { if (![self isSharedLinkSettingsChangeExpiration]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeSharedLinkSettingsChangeExpiration, but was %@.", [self tagName]]; } return _sharedLinkSettingsChangeExpiration; } - (DBTEAMLOGSharedLinkSettingsChangePasswordType *)sharedLinkSettingsChangePassword { if (![self isSharedLinkSettingsChangePassword]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeSharedLinkSettingsChangePassword, but was %@.", [self tagName]]; } return _sharedLinkSettingsChangePassword; } - (DBTEAMLOGSharedLinkSettingsRemoveExpirationType *)sharedLinkSettingsRemoveExpiration { if (![self isSharedLinkSettingsRemoveExpiration]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeSharedLinkSettingsRemoveExpiration, but was %@.", [self tagName]]; } return _sharedLinkSettingsRemoveExpiration; } - (DBTEAMLOGSharedLinkSettingsRemovePasswordType *)sharedLinkSettingsRemovePassword { if (![self isSharedLinkSettingsRemovePassword]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeSharedLinkSettingsRemovePassword, but was %@.", [self tagName]]; } return _sharedLinkSettingsRemovePassword; } - (DBTEAMLOGSharedLinkShareType *)sharedLinkShare { if (![self isSharedLinkShare]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeSharedLinkShare, but was %@.", [self tagName]]; } return _sharedLinkShare; } - (DBTEAMLOGSharedLinkViewType *)sharedLinkView { if (![self isSharedLinkView]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeSharedLinkView, but was %@.", [self tagName]]; } return _sharedLinkView; } - (DBTEAMLOGSharedNoteOpenedType *)sharedNoteOpened { if (![self isSharedNoteOpened]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeSharedNoteOpened, but was %@.", [self tagName]]; } return _sharedNoteOpened; } - (DBTEAMLOGShmodelDisableDownloadsType *)shmodelDisableDownloads { if (![self isShmodelDisableDownloads]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeShmodelDisableDownloads, but was %@.", [self tagName]]; } return _shmodelDisableDownloads; } - (DBTEAMLOGShmodelEnableDownloadsType *)shmodelEnableDownloads { if (![self isShmodelEnableDownloads]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeShmodelEnableDownloads, but was %@.", [self tagName]]; } return _shmodelEnableDownloads; } - (DBTEAMLOGShmodelGroupShareType *)shmodelGroupShare { if (![self isShmodelGroupShare]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeShmodelGroupShare, but was %@.", [self tagName]]; } return _shmodelGroupShare; } - (DBTEAMLOGShowcaseAccessGrantedType *)showcaseAccessGranted { if (![self isShowcaseAccessGranted]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeShowcaseAccessGranted, but was %@.", [self tagName]]; } return _showcaseAccessGranted; } - (DBTEAMLOGShowcaseAddMemberType *)showcaseAddMember { if (![self isShowcaseAddMember]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeShowcaseAddMember, but was %@.", [self tagName]]; } return _showcaseAddMember; } - (DBTEAMLOGShowcaseArchivedType *)showcaseArchived { if (![self isShowcaseArchived]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeShowcaseArchived, but was %@.", [self tagName]]; } return _showcaseArchived; } - (DBTEAMLOGShowcaseCreatedType *)showcaseCreated { if (![self isShowcaseCreated]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeShowcaseCreated, but was %@.", [self tagName]]; } return _showcaseCreated; } - (DBTEAMLOGShowcaseDeleteCommentType *)showcaseDeleteComment { if (![self isShowcaseDeleteComment]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeShowcaseDeleteComment, but was %@.", [self tagName]]; } return _showcaseDeleteComment; } - (DBTEAMLOGShowcaseEditedType *)showcaseEdited { if (![self isShowcaseEdited]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeShowcaseEdited, but was %@.", [self tagName]]; } return _showcaseEdited; } - (DBTEAMLOGShowcaseEditCommentType *)showcaseEditComment { if (![self isShowcaseEditComment]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeShowcaseEditComment, but was %@.", [self tagName]]; } return _showcaseEditComment; } - (DBTEAMLOGShowcaseFileAddedType *)showcaseFileAdded { if (![self isShowcaseFileAdded]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeShowcaseFileAdded, but was %@.", [self tagName]]; } return _showcaseFileAdded; } - (DBTEAMLOGShowcaseFileDownloadType *)showcaseFileDownload { if (![self isShowcaseFileDownload]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeShowcaseFileDownload, but was %@.", [self tagName]]; } return _showcaseFileDownload; } - (DBTEAMLOGShowcaseFileRemovedType *)showcaseFileRemoved { if (![self isShowcaseFileRemoved]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeShowcaseFileRemoved, but was %@.", [self tagName]]; } return _showcaseFileRemoved; } - (DBTEAMLOGShowcaseFileViewType *)showcaseFileView { if (![self isShowcaseFileView]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeShowcaseFileView, but was %@.", [self tagName]]; } return _showcaseFileView; } - (DBTEAMLOGShowcasePermanentlyDeletedType *)showcasePermanentlyDeleted { if (![self isShowcasePermanentlyDeleted]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeShowcasePermanentlyDeleted, but was %@.", [self tagName]]; } return _showcasePermanentlyDeleted; } - (DBTEAMLOGShowcasePostCommentType *)showcasePostComment { if (![self isShowcasePostComment]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeShowcasePostComment, but was %@.", [self tagName]]; } return _showcasePostComment; } - (DBTEAMLOGShowcaseRemoveMemberType *)showcaseRemoveMember { if (![self isShowcaseRemoveMember]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeShowcaseRemoveMember, but was %@.", [self tagName]]; } return _showcaseRemoveMember; } - (DBTEAMLOGShowcaseRenamedType *)showcaseRenamed { if (![self isShowcaseRenamed]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeShowcaseRenamed, but was %@.", [self tagName]]; } return _showcaseRenamed; } - (DBTEAMLOGShowcaseRequestAccessType *)showcaseRequestAccess { if (![self isShowcaseRequestAccess]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeShowcaseRequestAccess, but was %@.", [self tagName]]; } return _showcaseRequestAccess; } - (DBTEAMLOGShowcaseResolveCommentType *)showcaseResolveComment { if (![self isShowcaseResolveComment]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeShowcaseResolveComment, but was %@.", [self tagName]]; } return _showcaseResolveComment; } - (DBTEAMLOGShowcaseRestoredType *)showcaseRestored { if (![self isShowcaseRestored]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeShowcaseRestored, but was %@.", [self tagName]]; } return _showcaseRestored; } - (DBTEAMLOGShowcaseTrashedType *)showcaseTrashed { if (![self isShowcaseTrashed]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeShowcaseTrashed, but was %@.", [self tagName]]; } return _showcaseTrashed; } - (DBTEAMLOGShowcaseTrashedDeprecatedType *)showcaseTrashedDeprecated { if (![self isShowcaseTrashedDeprecated]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeShowcaseTrashedDeprecated, but was %@.", [self tagName]]; } return _showcaseTrashedDeprecated; } - (DBTEAMLOGShowcaseUnresolveCommentType *)showcaseUnresolveComment { if (![self isShowcaseUnresolveComment]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeShowcaseUnresolveComment, but was %@.", [self tagName]]; } return _showcaseUnresolveComment; } - (DBTEAMLOGShowcaseUntrashedType *)showcaseUntrashed { if (![self isShowcaseUntrashed]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeShowcaseUntrashed, but was %@.", [self tagName]]; } return _showcaseUntrashed; } - (DBTEAMLOGShowcaseUntrashedDeprecatedType *)showcaseUntrashedDeprecated { if (![self isShowcaseUntrashedDeprecated]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeShowcaseUntrashedDeprecated, but was %@.", [self tagName]]; } return _showcaseUntrashedDeprecated; } - (DBTEAMLOGShowcaseViewType *)showcaseView { if (![self isShowcaseView]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeShowcaseView, but was %@.", [self tagName]]; } return _showcaseView; } - (DBTEAMLOGSsoAddCertType *)ssoAddCert { if (![self isSsoAddCert]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeSsoAddCert, but was %@.", [self tagName]]; } return _ssoAddCert; } - (DBTEAMLOGSsoAddLoginUrlType *)ssoAddLoginUrl { if (![self isSsoAddLoginUrl]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeSsoAddLoginUrl, but was %@.", [self tagName]]; } return _ssoAddLoginUrl; } - (DBTEAMLOGSsoAddLogoutUrlType *)ssoAddLogoutUrl { if (![self isSsoAddLogoutUrl]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeSsoAddLogoutUrl, but was %@.", [self tagName]]; } return _ssoAddLogoutUrl; } - (DBTEAMLOGSsoChangeCertType *)ssoChangeCert { if (![self isSsoChangeCert]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeSsoChangeCert, but was %@.", [self tagName]]; } return _ssoChangeCert; } - (DBTEAMLOGSsoChangeLoginUrlType *)ssoChangeLoginUrl { if (![self isSsoChangeLoginUrl]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeSsoChangeLoginUrl, but was %@.", [self tagName]]; } return _ssoChangeLoginUrl; } - (DBTEAMLOGSsoChangeLogoutUrlType *)ssoChangeLogoutUrl { if (![self isSsoChangeLogoutUrl]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeSsoChangeLogoutUrl, but was %@.", [self tagName]]; } return _ssoChangeLogoutUrl; } - (DBTEAMLOGSsoChangeSamlIdentityModeType *)ssoChangeSamlIdentityMode { if (![self isSsoChangeSamlIdentityMode]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeSsoChangeSamlIdentityMode, but was %@.", [self tagName]]; } return _ssoChangeSamlIdentityMode; } - (DBTEAMLOGSsoRemoveCertType *)ssoRemoveCert { if (![self isSsoRemoveCert]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeSsoRemoveCert, but was %@.", [self tagName]]; } return _ssoRemoveCert; } - (DBTEAMLOGSsoRemoveLoginUrlType *)ssoRemoveLoginUrl { if (![self isSsoRemoveLoginUrl]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeSsoRemoveLoginUrl, but was %@.", [self tagName]]; } return _ssoRemoveLoginUrl; } - (DBTEAMLOGSsoRemoveLogoutUrlType *)ssoRemoveLogoutUrl { if (![self isSsoRemoveLogoutUrl]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeSsoRemoveLogoutUrl, but was %@.", [self tagName]]; } return _ssoRemoveLogoutUrl; } - (DBTEAMLOGTeamFolderChangeStatusType *)teamFolderChangeStatus { if (![self isTeamFolderChangeStatus]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeTeamFolderChangeStatus, but was %@.", [self tagName]]; } return _teamFolderChangeStatus; } - (DBTEAMLOGTeamFolderCreateType *)teamFolderCreate { if (![self isTeamFolderCreate]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeTeamFolderCreate, but was %@.", [self tagName]]; } return _teamFolderCreate; } - (DBTEAMLOGTeamFolderDowngradeType *)teamFolderDowngrade { if (![self isTeamFolderDowngrade]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeTeamFolderDowngrade, but was %@.", [self tagName]]; } return _teamFolderDowngrade; } - (DBTEAMLOGTeamFolderPermanentlyDeleteType *)teamFolderPermanentlyDelete { if (![self isTeamFolderPermanentlyDelete]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeTeamFolderPermanentlyDelete, but was %@.", [self tagName]]; } return _teamFolderPermanentlyDelete; } - (DBTEAMLOGTeamFolderRenameType *)teamFolderRename { if (![self isTeamFolderRename]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeTeamFolderRename, but was %@.", [self tagName]]; } return _teamFolderRename; } - (DBTEAMLOGTeamSelectiveSyncSettingsChangedType *)teamSelectiveSyncSettingsChanged { if (![self isTeamSelectiveSyncSettingsChanged]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeTeamSelectiveSyncSettingsChanged, but was %@.", [self tagName]]; } return _teamSelectiveSyncSettingsChanged; } - (DBTEAMLOGAccountCaptureChangePolicyType *)accountCaptureChangePolicy { if (![self isAccountCaptureChangePolicy]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeAccountCaptureChangePolicy, but was %@.", [self tagName]]; } return _accountCaptureChangePolicy; } - (DBTEAMLOGAdminEmailRemindersChangedType *)adminEmailRemindersChanged { if (![self isAdminEmailRemindersChanged]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeAdminEmailRemindersChanged, but was %@.", [self tagName]]; } return _adminEmailRemindersChanged; } - (DBTEAMLOGAllowDownloadDisabledType *)allowDownloadDisabled { if (![self isAllowDownloadDisabled]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeAllowDownloadDisabled, but was %@.", [self tagName]]; } return _allowDownloadDisabled; } - (DBTEAMLOGAllowDownloadEnabledType *)allowDownloadEnabled { if (![self isAllowDownloadEnabled]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeAllowDownloadEnabled, but was %@.", [self tagName]]; } return _allowDownloadEnabled; } - (DBTEAMLOGAppPermissionsChangedType *)appPermissionsChanged { if (![self isAppPermissionsChanged]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeAppPermissionsChanged, but was %@.", [self tagName]]; } return _appPermissionsChanged; } - (DBTEAMLOGCameraUploadsPolicyChangedType *)cameraUploadsPolicyChanged { if (![self isCameraUploadsPolicyChanged]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeCameraUploadsPolicyChanged, but was %@.", [self tagName]]; } return _cameraUploadsPolicyChanged; } - (DBTEAMLOGCaptureTranscriptPolicyChangedType *)captureTranscriptPolicyChanged { if (![self isCaptureTranscriptPolicyChanged]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeCaptureTranscriptPolicyChanged, but was %@.", [self tagName]]; } return _captureTranscriptPolicyChanged; } - (DBTEAMLOGClassificationChangePolicyType *)classificationChangePolicy { if (![self isClassificationChangePolicy]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeClassificationChangePolicy, but was %@.", [self tagName]]; } return _classificationChangePolicy; } - (DBTEAMLOGComputerBackupPolicyChangedType *)computerBackupPolicyChanged { if (![self isComputerBackupPolicyChanged]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeComputerBackupPolicyChanged, but was %@.", [self tagName]]; } return _computerBackupPolicyChanged; } - (DBTEAMLOGContentAdministrationPolicyChangedType *)contentAdministrationPolicyChanged { if (![self isContentAdministrationPolicyChanged]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeContentAdministrationPolicyChanged, but was %@.", [self tagName]]; } return _contentAdministrationPolicyChanged; } - (DBTEAMLOGDataPlacementRestrictionChangePolicyType *)dataPlacementRestrictionChangePolicy { if (![self isDataPlacementRestrictionChangePolicy]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeDataPlacementRestrictionChangePolicy, but was %@.", [self tagName]]; } return _dataPlacementRestrictionChangePolicy; } - (DBTEAMLOGDataPlacementRestrictionSatisfyPolicyType *)dataPlacementRestrictionSatisfyPolicy { if (![self isDataPlacementRestrictionSatisfyPolicy]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeDataPlacementRestrictionSatisfyPolicy, but was %@.", [self tagName]]; } return _dataPlacementRestrictionSatisfyPolicy; } - (DBTEAMLOGDeviceApprovalsAddExceptionType *)deviceApprovalsAddException { if (![self isDeviceApprovalsAddException]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeDeviceApprovalsAddException, but was %@.", [self tagName]]; } return _deviceApprovalsAddException; } - (DBTEAMLOGDeviceApprovalsChangeDesktopPolicyType *)deviceApprovalsChangeDesktopPolicy { if (![self isDeviceApprovalsChangeDesktopPolicy]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeDeviceApprovalsChangeDesktopPolicy, but was %@.", [self tagName]]; } return _deviceApprovalsChangeDesktopPolicy; } - (DBTEAMLOGDeviceApprovalsChangeMobilePolicyType *)deviceApprovalsChangeMobilePolicy { if (![self isDeviceApprovalsChangeMobilePolicy]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeDeviceApprovalsChangeMobilePolicy, but was %@.", [self tagName]]; } return _deviceApprovalsChangeMobilePolicy; } - (DBTEAMLOGDeviceApprovalsChangeOverageActionType *)deviceApprovalsChangeOverageAction { if (![self isDeviceApprovalsChangeOverageAction]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeDeviceApprovalsChangeOverageAction, but was %@.", [self tagName]]; } return _deviceApprovalsChangeOverageAction; } - (DBTEAMLOGDeviceApprovalsChangeUnlinkActionType *)deviceApprovalsChangeUnlinkAction { if (![self isDeviceApprovalsChangeUnlinkAction]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeDeviceApprovalsChangeUnlinkAction, but was %@.", [self tagName]]; } return _deviceApprovalsChangeUnlinkAction; } - (DBTEAMLOGDeviceApprovalsRemoveExceptionType *)deviceApprovalsRemoveException { if (![self isDeviceApprovalsRemoveException]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeDeviceApprovalsRemoveException, but was %@.", [self tagName]]; } return _deviceApprovalsRemoveException; } - (DBTEAMLOGDirectoryRestrictionsAddMembersType *)directoryRestrictionsAddMembers { if (![self isDirectoryRestrictionsAddMembers]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeDirectoryRestrictionsAddMembers, but was %@.", [self tagName]]; } return _directoryRestrictionsAddMembers; } - (DBTEAMLOGDirectoryRestrictionsRemoveMembersType *)directoryRestrictionsRemoveMembers { if (![self isDirectoryRestrictionsRemoveMembers]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeDirectoryRestrictionsRemoveMembers, but was %@.", [self tagName]]; } return _directoryRestrictionsRemoveMembers; } - (DBTEAMLOGDropboxPasswordsPolicyChangedType *)dropboxPasswordsPolicyChanged { if (![self isDropboxPasswordsPolicyChanged]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeDropboxPasswordsPolicyChanged, but was %@.", [self tagName]]; } return _dropboxPasswordsPolicyChanged; } - (DBTEAMLOGEmailIngestPolicyChangedType *)emailIngestPolicyChanged { if (![self isEmailIngestPolicyChanged]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeEmailIngestPolicyChanged, but was %@.", [self tagName]]; } return _emailIngestPolicyChanged; } - (DBTEAMLOGEmmAddExceptionType *)emmAddException { if (![self isEmmAddException]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeEmmAddException, but was %@.", [self tagName]]; } return _emmAddException; } - (DBTEAMLOGEmmChangePolicyType *)emmChangePolicy { if (![self isEmmChangePolicy]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeEmmChangePolicy, but was %@.", [self tagName]]; } return _emmChangePolicy; } - (DBTEAMLOGEmmRemoveExceptionType *)emmRemoveException { if (![self isEmmRemoveException]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeEmmRemoveException, but was %@.", [self tagName]]; } return _emmRemoveException; } - (DBTEAMLOGExtendedVersionHistoryChangePolicyType *)extendedVersionHistoryChangePolicy { if (![self isExtendedVersionHistoryChangePolicy]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeExtendedVersionHistoryChangePolicy, but was %@.", [self tagName]]; } return _extendedVersionHistoryChangePolicy; } - (DBTEAMLOGExternalDriveBackupPolicyChangedType *)externalDriveBackupPolicyChanged { if (![self isExternalDriveBackupPolicyChanged]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeExternalDriveBackupPolicyChanged, but was %@.", [self tagName]]; } return _externalDriveBackupPolicyChanged; } - (DBTEAMLOGFileCommentsChangePolicyType *)fileCommentsChangePolicy { if (![self isFileCommentsChangePolicy]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeFileCommentsChangePolicy, but was %@.", [self tagName]]; } return _fileCommentsChangePolicy; } - (DBTEAMLOGFileLockingPolicyChangedType *)fileLockingPolicyChanged { if (![self isFileLockingPolicyChanged]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeFileLockingPolicyChanged, but was %@.", [self tagName]]; } return _fileLockingPolicyChanged; } - (DBTEAMLOGFileProviderMigrationPolicyChangedType *)fileProviderMigrationPolicyChanged { if (![self isFileProviderMigrationPolicyChanged]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeFileProviderMigrationPolicyChanged, but was %@.", [self tagName]]; } return _fileProviderMigrationPolicyChanged; } - (DBTEAMLOGFileRequestsChangePolicyType *)fileRequestsChangePolicy { if (![self isFileRequestsChangePolicy]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeFileRequestsChangePolicy, but was %@.", [self tagName]]; } return _fileRequestsChangePolicy; } - (DBTEAMLOGFileRequestsEmailsEnabledType *)fileRequestsEmailsEnabled { if (![self isFileRequestsEmailsEnabled]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeFileRequestsEmailsEnabled, but was %@.", [self tagName]]; } return _fileRequestsEmailsEnabled; } - (DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyType *)fileRequestsEmailsRestrictedToTeamOnly { if (![self isFileRequestsEmailsRestrictedToTeamOnly]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeFileRequestsEmailsRestrictedToTeamOnly, but was %@.", [self tagName]]; } return _fileRequestsEmailsRestrictedToTeamOnly; } - (DBTEAMLOGFileTransfersPolicyChangedType *)fileTransfersPolicyChanged { if (![self isFileTransfersPolicyChanged]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeFileTransfersPolicyChanged, but was %@.", [self tagName]]; } return _fileTransfersPolicyChanged; } - (DBTEAMLOGFolderLinkRestrictionPolicyChangedType *)folderLinkRestrictionPolicyChanged { if (![self isFolderLinkRestrictionPolicyChanged]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeFolderLinkRestrictionPolicyChanged, but was %@.", [self tagName]]; } return _folderLinkRestrictionPolicyChanged; } - (DBTEAMLOGGoogleSsoChangePolicyType *)googleSsoChangePolicy { if (![self isGoogleSsoChangePolicy]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeGoogleSsoChangePolicy, but was %@.", [self tagName]]; } return _googleSsoChangePolicy; } - (DBTEAMLOGGroupUserManagementChangePolicyType *)groupUserManagementChangePolicy { if (![self isGroupUserManagementChangePolicy]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeGroupUserManagementChangePolicy, but was %@.", [self tagName]]; } return _groupUserManagementChangePolicy; } - (DBTEAMLOGIntegrationPolicyChangedType *)integrationPolicyChanged { if (![self isIntegrationPolicyChanged]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeIntegrationPolicyChanged, but was %@.", [self tagName]]; } return _integrationPolicyChanged; } - (DBTEAMLOGInviteAcceptanceEmailPolicyChangedType *)inviteAcceptanceEmailPolicyChanged { if (![self isInviteAcceptanceEmailPolicyChanged]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeInviteAcceptanceEmailPolicyChanged, but was %@.", [self tagName]]; } return _inviteAcceptanceEmailPolicyChanged; } - (DBTEAMLOGMemberRequestsChangePolicyType *)memberRequestsChangePolicy { if (![self isMemberRequestsChangePolicy]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeMemberRequestsChangePolicy, but was %@.", [self tagName]]; } return _memberRequestsChangePolicy; } - (DBTEAMLOGMemberSendInvitePolicyChangedType *)memberSendInvitePolicyChanged { if (![self isMemberSendInvitePolicyChanged]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeMemberSendInvitePolicyChanged, but was %@.", [self tagName]]; } return _memberSendInvitePolicyChanged; } - (DBTEAMLOGMemberSpaceLimitsAddExceptionType *)memberSpaceLimitsAddException { if (![self isMemberSpaceLimitsAddException]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeMemberSpaceLimitsAddException, but was %@.", [self tagName]]; } return _memberSpaceLimitsAddException; } - (DBTEAMLOGMemberSpaceLimitsChangeCapsTypePolicyType *)memberSpaceLimitsChangeCapsTypePolicy { if (![self isMemberSpaceLimitsChangeCapsTypePolicy]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeMemberSpaceLimitsChangeCapsTypePolicy, but was %@.", [self tagName]]; } return _memberSpaceLimitsChangeCapsTypePolicy; } - (DBTEAMLOGMemberSpaceLimitsChangePolicyType *)memberSpaceLimitsChangePolicy { if (![self isMemberSpaceLimitsChangePolicy]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeMemberSpaceLimitsChangePolicy, but was %@.", [self tagName]]; } return _memberSpaceLimitsChangePolicy; } - (DBTEAMLOGMemberSpaceLimitsRemoveExceptionType *)memberSpaceLimitsRemoveException { if (![self isMemberSpaceLimitsRemoveException]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeMemberSpaceLimitsRemoveException, but was %@.", [self tagName]]; } return _memberSpaceLimitsRemoveException; } - (DBTEAMLOGMemberSuggestionsChangePolicyType *)memberSuggestionsChangePolicy { if (![self isMemberSuggestionsChangePolicy]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeMemberSuggestionsChangePolicy, but was %@.", [self tagName]]; } return _memberSuggestionsChangePolicy; } - (DBTEAMLOGMicrosoftOfficeAddinChangePolicyType *)microsoftOfficeAddinChangePolicy { if (![self isMicrosoftOfficeAddinChangePolicy]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeMicrosoftOfficeAddinChangePolicy, but was %@.", [self tagName]]; } return _microsoftOfficeAddinChangePolicy; } - (DBTEAMLOGNetworkControlChangePolicyType *)networkControlChangePolicy { if (![self isNetworkControlChangePolicy]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeNetworkControlChangePolicy, but was %@.", [self tagName]]; } return _networkControlChangePolicy; } - (DBTEAMLOGPaperChangeDeploymentPolicyType *)paperChangeDeploymentPolicy { if (![self isPaperChangeDeploymentPolicy]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypePaperChangeDeploymentPolicy, but was %@.", [self tagName]]; } return _paperChangeDeploymentPolicy; } - (DBTEAMLOGPaperChangeMemberLinkPolicyType *)paperChangeMemberLinkPolicy { if (![self isPaperChangeMemberLinkPolicy]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypePaperChangeMemberLinkPolicy, but was %@.", [self tagName]]; } return _paperChangeMemberLinkPolicy; } - (DBTEAMLOGPaperChangeMemberPolicyType *)paperChangeMemberPolicy { if (![self isPaperChangeMemberPolicy]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypePaperChangeMemberPolicy, but was %@.", [self tagName]]; } return _paperChangeMemberPolicy; } - (DBTEAMLOGPaperChangePolicyType *)paperChangePolicy { if (![self isPaperChangePolicy]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypePaperChangePolicy, but was %@.", [self tagName]]; } return _paperChangePolicy; } - (DBTEAMLOGPaperDefaultFolderPolicyChangedType *)paperDefaultFolderPolicyChanged { if (![self isPaperDefaultFolderPolicyChanged]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypePaperDefaultFolderPolicyChanged, but was %@.", [self tagName]]; } return _paperDefaultFolderPolicyChanged; } - (DBTEAMLOGPaperDesktopPolicyChangedType *)paperDesktopPolicyChanged { if (![self isPaperDesktopPolicyChanged]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypePaperDesktopPolicyChanged, but was %@.", [self tagName]]; } return _paperDesktopPolicyChanged; } - (DBTEAMLOGPaperEnabledUsersGroupAdditionType *)paperEnabledUsersGroupAddition { if (![self isPaperEnabledUsersGroupAddition]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypePaperEnabledUsersGroupAddition, but was %@.", [self tagName]]; } return _paperEnabledUsersGroupAddition; } - (DBTEAMLOGPaperEnabledUsersGroupRemovalType *)paperEnabledUsersGroupRemoval { if (![self isPaperEnabledUsersGroupRemoval]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypePaperEnabledUsersGroupRemoval, but was %@.", [self tagName]]; } return _paperEnabledUsersGroupRemoval; } - (DBTEAMLOGPasswordStrengthRequirementsChangePolicyType *)passwordStrengthRequirementsChangePolicy { if (![self isPasswordStrengthRequirementsChangePolicy]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypePasswordStrengthRequirementsChangePolicy, but was %@.", [self tagName]]; } return _passwordStrengthRequirementsChangePolicy; } - (DBTEAMLOGPermanentDeleteChangePolicyType *)permanentDeleteChangePolicy { if (![self isPermanentDeleteChangePolicy]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypePermanentDeleteChangePolicy, but was %@.", [self tagName]]; } return _permanentDeleteChangePolicy; } - (DBTEAMLOGResellerSupportChangePolicyType *)resellerSupportChangePolicy { if (![self isResellerSupportChangePolicy]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeResellerSupportChangePolicy, but was %@.", [self tagName]]; } return _resellerSupportChangePolicy; } - (DBTEAMLOGRewindPolicyChangedType *)rewindPolicyChanged { if (![self isRewindPolicyChanged]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeRewindPolicyChanged, but was %@.", [self tagName]]; } return _rewindPolicyChanged; } - (DBTEAMLOGSendForSignaturePolicyChangedType *)sendForSignaturePolicyChanged { if (![self isSendForSignaturePolicyChanged]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeSendForSignaturePolicyChanged, but was %@.", [self tagName]]; } return _sendForSignaturePolicyChanged; } - (DBTEAMLOGSharingChangeFolderJoinPolicyType *)sharingChangeFolderJoinPolicy { if (![self isSharingChangeFolderJoinPolicy]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeSharingChangeFolderJoinPolicy, but was %@.", [self tagName]]; } return _sharingChangeFolderJoinPolicy; } - (DBTEAMLOGSharingChangeLinkAllowChangeExpirationPolicyType *)sharingChangeLinkAllowChangeExpirationPolicy { if (![self isSharingChangeLinkAllowChangeExpirationPolicy]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeSharingChangeLinkAllowChangeExpirationPolicy, but was %@.", [self tagName]]; } return _sharingChangeLinkAllowChangeExpirationPolicy; } - (DBTEAMLOGSharingChangeLinkDefaultExpirationPolicyType *)sharingChangeLinkDefaultExpirationPolicy { if (![self isSharingChangeLinkDefaultExpirationPolicy]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeSharingChangeLinkDefaultExpirationPolicy, but was %@.", [self tagName]]; } return _sharingChangeLinkDefaultExpirationPolicy; } - (DBTEAMLOGSharingChangeLinkEnforcePasswordPolicyType *)sharingChangeLinkEnforcePasswordPolicy { if (![self isSharingChangeLinkEnforcePasswordPolicy]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeSharingChangeLinkEnforcePasswordPolicy, but was %@.", [self tagName]]; } return _sharingChangeLinkEnforcePasswordPolicy; } - (DBTEAMLOGSharingChangeLinkPolicyType *)sharingChangeLinkPolicy { if (![self isSharingChangeLinkPolicy]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeSharingChangeLinkPolicy, but was %@.", [self tagName]]; } return _sharingChangeLinkPolicy; } - (DBTEAMLOGSharingChangeMemberPolicyType *)sharingChangeMemberPolicy { if (![self isSharingChangeMemberPolicy]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeSharingChangeMemberPolicy, but was %@.", [self tagName]]; } return _sharingChangeMemberPolicy; } - (DBTEAMLOGShowcaseChangeDownloadPolicyType *)showcaseChangeDownloadPolicy { if (![self isShowcaseChangeDownloadPolicy]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeShowcaseChangeDownloadPolicy, but was %@.", [self tagName]]; } return _showcaseChangeDownloadPolicy; } - (DBTEAMLOGShowcaseChangeEnabledPolicyType *)showcaseChangeEnabledPolicy { if (![self isShowcaseChangeEnabledPolicy]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeShowcaseChangeEnabledPolicy, but was %@.", [self tagName]]; } return _showcaseChangeEnabledPolicy; } - (DBTEAMLOGShowcaseChangeExternalSharingPolicyType *)showcaseChangeExternalSharingPolicy { if (![self isShowcaseChangeExternalSharingPolicy]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeShowcaseChangeExternalSharingPolicy, but was %@.", [self tagName]]; } return _showcaseChangeExternalSharingPolicy; } - (DBTEAMLOGSmarterSmartSyncPolicyChangedType *)smarterSmartSyncPolicyChanged { if (![self isSmarterSmartSyncPolicyChanged]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeSmarterSmartSyncPolicyChanged, but was %@.", [self tagName]]; } return _smarterSmartSyncPolicyChanged; } - (DBTEAMLOGSmartSyncChangePolicyType *)smartSyncChangePolicy { if (![self isSmartSyncChangePolicy]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeSmartSyncChangePolicy, but was %@.", [self tagName]]; } return _smartSyncChangePolicy; } - (DBTEAMLOGSmartSyncNotOptOutType *)smartSyncNotOptOut { if (![self isSmartSyncNotOptOut]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeSmartSyncNotOptOut, but was %@.", [self tagName]]; } return _smartSyncNotOptOut; } - (DBTEAMLOGSmartSyncOptOutType *)smartSyncOptOut { if (![self isSmartSyncOptOut]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeSmartSyncOptOut, but was %@.", [self tagName]]; } return _smartSyncOptOut; } - (DBTEAMLOGSsoChangePolicyType *)ssoChangePolicy { if (![self isSsoChangePolicy]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeSsoChangePolicy, but was %@.", [self tagName]]; } return _ssoChangePolicy; } - (DBTEAMLOGTeamBrandingPolicyChangedType *)teamBrandingPolicyChanged { if (![self isTeamBrandingPolicyChanged]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeTeamBrandingPolicyChanged, but was %@.", [self tagName]]; } return _teamBrandingPolicyChanged; } - (DBTEAMLOGTeamExtensionsPolicyChangedType *)teamExtensionsPolicyChanged { if (![self isTeamExtensionsPolicyChanged]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeTeamExtensionsPolicyChanged, but was %@.", [self tagName]]; } return _teamExtensionsPolicyChanged; } - (DBTEAMLOGTeamSelectiveSyncPolicyChangedType *)teamSelectiveSyncPolicyChanged { if (![self isTeamSelectiveSyncPolicyChanged]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeTeamSelectiveSyncPolicyChanged, but was %@.", [self tagName]]; } return _teamSelectiveSyncPolicyChanged; } - (DBTEAMLOGTeamSharingWhitelistSubjectsChangedType *)teamSharingWhitelistSubjectsChanged { if (![self isTeamSharingWhitelistSubjectsChanged]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeTeamSharingWhitelistSubjectsChanged, but was %@.", [self tagName]]; } return _teamSharingWhitelistSubjectsChanged; } - (DBTEAMLOGTfaAddExceptionType *)tfaAddException { if (![self isTfaAddException]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeTfaAddException, but was %@.", [self tagName]]; } return _tfaAddException; } - (DBTEAMLOGTfaChangePolicyType *)tfaChangePolicy { if (![self isTfaChangePolicy]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeTfaChangePolicy, but was %@.", [self tagName]]; } return _tfaChangePolicy; } - (DBTEAMLOGTfaRemoveExceptionType *)tfaRemoveException { if (![self isTfaRemoveException]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeTfaRemoveException, but was %@.", [self tagName]]; } return _tfaRemoveException; } - (DBTEAMLOGTwoAccountChangePolicyType *)twoAccountChangePolicy { if (![self isTwoAccountChangePolicy]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeTwoAccountChangePolicy, but was %@.", [self tagName]]; } return _twoAccountChangePolicy; } - (DBTEAMLOGViewerInfoPolicyChangedType *)viewerInfoPolicyChanged { if (![self isViewerInfoPolicyChanged]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeViewerInfoPolicyChanged, but was %@.", [self tagName]]; } return _viewerInfoPolicyChanged; } - (DBTEAMLOGWatermarkingPolicyChangedType *)watermarkingPolicyChanged { if (![self isWatermarkingPolicyChanged]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeWatermarkingPolicyChanged, but was %@.", [self tagName]]; } return _watermarkingPolicyChanged; } - (DBTEAMLOGWebSessionsChangeActiveSessionLimitType *)webSessionsChangeActiveSessionLimit { if (![self isWebSessionsChangeActiveSessionLimit]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeWebSessionsChangeActiveSessionLimit, but was %@.", [self tagName]]; } return _webSessionsChangeActiveSessionLimit; } - (DBTEAMLOGWebSessionsChangeFixedLengthPolicyType *)webSessionsChangeFixedLengthPolicy { if (![self isWebSessionsChangeFixedLengthPolicy]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeWebSessionsChangeFixedLengthPolicy, but was %@.", [self tagName]]; } return _webSessionsChangeFixedLengthPolicy; } - (DBTEAMLOGWebSessionsChangeIdleLengthPolicyType *)webSessionsChangeIdleLengthPolicy { if (![self isWebSessionsChangeIdleLengthPolicy]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeWebSessionsChangeIdleLengthPolicy, but was %@.", [self tagName]]; } return _webSessionsChangeIdleLengthPolicy; } - (DBTEAMLOGDataResidencyMigrationRequestSuccessfulType *)dataResidencyMigrationRequestSuccessful { if (![self isDataResidencyMigrationRequestSuccessful]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeDataResidencyMigrationRequestSuccessful, but was %@.", [self tagName]]; } return _dataResidencyMigrationRequestSuccessful; } - (DBTEAMLOGDataResidencyMigrationRequestUnsuccessfulType *)dataResidencyMigrationRequestUnsuccessful { if (![self isDataResidencyMigrationRequestUnsuccessful]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeDataResidencyMigrationRequestUnsuccessful, but was %@.", [self tagName]]; } return _dataResidencyMigrationRequestUnsuccessful; } - (DBTEAMLOGTeamMergeFromType *)teamMergeFrom { if (![self isTeamMergeFrom]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeTeamMergeFrom, but was %@.", [self tagName]]; } return _teamMergeFrom; } - (DBTEAMLOGTeamMergeToType *)teamMergeTo { if (![self isTeamMergeTo]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeTeamMergeTo, but was %@.", [self tagName]]; } return _teamMergeTo; } - (DBTEAMLOGTeamProfileAddBackgroundType *)teamProfileAddBackground { if (![self isTeamProfileAddBackground]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeTeamProfileAddBackground, but was %@.", [self tagName]]; } return _teamProfileAddBackground; } - (DBTEAMLOGTeamProfileAddLogoType *)teamProfileAddLogo { if (![self isTeamProfileAddLogo]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeTeamProfileAddLogo, but was %@.", [self tagName]]; } return _teamProfileAddLogo; } - (DBTEAMLOGTeamProfileChangeBackgroundType *)teamProfileChangeBackground { if (![self isTeamProfileChangeBackground]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeTeamProfileChangeBackground, but was %@.", [self tagName]]; } return _teamProfileChangeBackground; } - (DBTEAMLOGTeamProfileChangeDefaultLanguageType *)teamProfileChangeDefaultLanguage { if (![self isTeamProfileChangeDefaultLanguage]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeTeamProfileChangeDefaultLanguage, but was %@.", [self tagName]]; } return _teamProfileChangeDefaultLanguage; } - (DBTEAMLOGTeamProfileChangeLogoType *)teamProfileChangeLogo { if (![self isTeamProfileChangeLogo]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeTeamProfileChangeLogo, but was %@.", [self tagName]]; } return _teamProfileChangeLogo; } - (DBTEAMLOGTeamProfileChangeNameType *)teamProfileChangeName { if (![self isTeamProfileChangeName]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeTeamProfileChangeName, but was %@.", [self tagName]]; } return _teamProfileChangeName; } - (DBTEAMLOGTeamProfileRemoveBackgroundType *)teamProfileRemoveBackground { if (![self isTeamProfileRemoveBackground]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeTeamProfileRemoveBackground, but was %@.", [self tagName]]; } return _teamProfileRemoveBackground; } - (DBTEAMLOGTeamProfileRemoveLogoType *)teamProfileRemoveLogo { if (![self isTeamProfileRemoveLogo]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeTeamProfileRemoveLogo, but was %@.", [self tagName]]; } return _teamProfileRemoveLogo; } - (DBTEAMLOGTfaAddBackupPhoneType *)tfaAddBackupPhone { if (![self isTfaAddBackupPhone]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeTfaAddBackupPhone, but was %@.", [self tagName]]; } return _tfaAddBackupPhone; } - (DBTEAMLOGTfaAddSecurityKeyType *)tfaAddSecurityKey { if (![self isTfaAddSecurityKey]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeTfaAddSecurityKey, but was %@.", [self tagName]]; } return _tfaAddSecurityKey; } - (DBTEAMLOGTfaChangeBackupPhoneType *)tfaChangeBackupPhone { if (![self isTfaChangeBackupPhone]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeTfaChangeBackupPhone, but was %@.", [self tagName]]; } return _tfaChangeBackupPhone; } - (DBTEAMLOGTfaChangeStatusType *)tfaChangeStatus { if (![self isTfaChangeStatus]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeTfaChangeStatus, but was %@.", [self tagName]]; } return _tfaChangeStatus; } - (DBTEAMLOGTfaRemoveBackupPhoneType *)tfaRemoveBackupPhone { if (![self isTfaRemoveBackupPhone]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeTfaRemoveBackupPhone, but was %@.", [self tagName]]; } return _tfaRemoveBackupPhone; } - (DBTEAMLOGTfaRemoveSecurityKeyType *)tfaRemoveSecurityKey { if (![self isTfaRemoveSecurityKey]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeTfaRemoveSecurityKey, but was %@.", [self tagName]]; } return _tfaRemoveSecurityKey; } - (DBTEAMLOGTfaResetType *)tfaReset { if (![self isTfaReset]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeTfaReset, but was %@.", [self tagName]]; } return _tfaReset; } - (DBTEAMLOGChangedEnterpriseAdminRoleType *)changedEnterpriseAdminRole { if (![self isChangedEnterpriseAdminRole]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeChangedEnterpriseAdminRole, but was %@.", [self tagName]]; } return _changedEnterpriseAdminRole; } - (DBTEAMLOGChangedEnterpriseConnectedTeamStatusType *)changedEnterpriseConnectedTeamStatus { if (![self isChangedEnterpriseConnectedTeamStatus]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeChangedEnterpriseConnectedTeamStatus, but was %@.", [self tagName]]; } return _changedEnterpriseConnectedTeamStatus; } - (DBTEAMLOGEndedEnterpriseAdminSessionType *)endedEnterpriseAdminSession { if (![self isEndedEnterpriseAdminSession]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeEndedEnterpriseAdminSession, but was %@.", [self tagName]]; } return _endedEnterpriseAdminSession; } - (DBTEAMLOGEndedEnterpriseAdminSessionDeprecatedType *)endedEnterpriseAdminSessionDeprecated { if (![self isEndedEnterpriseAdminSessionDeprecated]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeEndedEnterpriseAdminSessionDeprecated, but was %@.", [self tagName]]; } return _endedEnterpriseAdminSessionDeprecated; } - (DBTEAMLOGEnterpriseSettingsLockingType *)enterpriseSettingsLocking { if (![self isEnterpriseSettingsLocking]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeEnterpriseSettingsLocking, but was %@.", [self tagName]]; } return _enterpriseSettingsLocking; } - (DBTEAMLOGGuestAdminChangeStatusType *)guestAdminChangeStatus { if (![self isGuestAdminChangeStatus]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeGuestAdminChangeStatus, but was %@.", [self tagName]]; } return _guestAdminChangeStatus; } - (DBTEAMLOGStartedEnterpriseAdminSessionType *)startedEnterpriseAdminSession { if (![self isStartedEnterpriseAdminSession]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeStartedEnterpriseAdminSession, but was %@.", [self tagName]]; } return _startedEnterpriseAdminSession; } - (DBTEAMLOGTeamMergeRequestAcceptedType *)teamMergeRequestAccepted { if (![self isTeamMergeRequestAccepted]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeTeamMergeRequestAccepted, but was %@.", [self tagName]]; } return _teamMergeRequestAccepted; } - (DBTEAMLOGTeamMergeRequestAcceptedShownToPrimaryTeamType *)teamMergeRequestAcceptedShownToPrimaryTeam { if (![self isTeamMergeRequestAcceptedShownToPrimaryTeam]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeTeamMergeRequestAcceptedShownToPrimaryTeam, but was %@.", [self tagName]]; } return _teamMergeRequestAcceptedShownToPrimaryTeam; } - (DBTEAMLOGTeamMergeRequestAcceptedShownToSecondaryTeamType *)teamMergeRequestAcceptedShownToSecondaryTeam { if (![self isTeamMergeRequestAcceptedShownToSecondaryTeam]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeTeamMergeRequestAcceptedShownToSecondaryTeam, but was %@.", [self tagName]]; } return _teamMergeRequestAcceptedShownToSecondaryTeam; } - (DBTEAMLOGTeamMergeRequestAutoCanceledType *)teamMergeRequestAutoCanceled { if (![self isTeamMergeRequestAutoCanceled]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeTeamMergeRequestAutoCanceled, but was %@.", [self tagName]]; } return _teamMergeRequestAutoCanceled; } - (DBTEAMLOGTeamMergeRequestCanceledType *)teamMergeRequestCanceled { if (![self isTeamMergeRequestCanceled]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeTeamMergeRequestCanceled, but was %@.", [self tagName]]; } return _teamMergeRequestCanceled; } - (DBTEAMLOGTeamMergeRequestCanceledShownToPrimaryTeamType *)teamMergeRequestCanceledShownToPrimaryTeam { if (![self isTeamMergeRequestCanceledShownToPrimaryTeam]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeTeamMergeRequestCanceledShownToPrimaryTeam, but was %@.", [self tagName]]; } return _teamMergeRequestCanceledShownToPrimaryTeam; } - (DBTEAMLOGTeamMergeRequestCanceledShownToSecondaryTeamType *)teamMergeRequestCanceledShownToSecondaryTeam { if (![self isTeamMergeRequestCanceledShownToSecondaryTeam]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeTeamMergeRequestCanceledShownToSecondaryTeam, but was %@.", [self tagName]]; } return _teamMergeRequestCanceledShownToSecondaryTeam; } - (DBTEAMLOGTeamMergeRequestExpiredType *)teamMergeRequestExpired { if (![self isTeamMergeRequestExpired]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeTeamMergeRequestExpired, but was %@.", [self tagName]]; } return _teamMergeRequestExpired; } - (DBTEAMLOGTeamMergeRequestExpiredShownToPrimaryTeamType *)teamMergeRequestExpiredShownToPrimaryTeam { if (![self isTeamMergeRequestExpiredShownToPrimaryTeam]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeTeamMergeRequestExpiredShownToPrimaryTeam, but was %@.", [self tagName]]; } return _teamMergeRequestExpiredShownToPrimaryTeam; } - (DBTEAMLOGTeamMergeRequestExpiredShownToSecondaryTeamType *)teamMergeRequestExpiredShownToSecondaryTeam { if (![self isTeamMergeRequestExpiredShownToSecondaryTeam]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeTeamMergeRequestExpiredShownToSecondaryTeam, but was %@.", [self tagName]]; } return _teamMergeRequestExpiredShownToSecondaryTeam; } - (DBTEAMLOGTeamMergeRequestRejectedShownToPrimaryTeamType *)teamMergeRequestRejectedShownToPrimaryTeam { if (![self isTeamMergeRequestRejectedShownToPrimaryTeam]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeTeamMergeRequestRejectedShownToPrimaryTeam, but was %@.", [self tagName]]; } return _teamMergeRequestRejectedShownToPrimaryTeam; } - (DBTEAMLOGTeamMergeRequestRejectedShownToSecondaryTeamType *)teamMergeRequestRejectedShownToSecondaryTeam { if (![self isTeamMergeRequestRejectedShownToSecondaryTeam]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeTeamMergeRequestRejectedShownToSecondaryTeam, but was %@.", [self tagName]]; } return _teamMergeRequestRejectedShownToSecondaryTeam; } - (DBTEAMLOGTeamMergeRequestReminderType *)teamMergeRequestReminder { if (![self isTeamMergeRequestReminder]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeTeamMergeRequestReminder, but was %@.", [self tagName]]; } return _teamMergeRequestReminder; } - (DBTEAMLOGTeamMergeRequestReminderShownToPrimaryTeamType *)teamMergeRequestReminderShownToPrimaryTeam { if (![self isTeamMergeRequestReminderShownToPrimaryTeam]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeTeamMergeRequestReminderShownToPrimaryTeam, but was %@.", [self tagName]]; } return _teamMergeRequestReminderShownToPrimaryTeam; } - (DBTEAMLOGTeamMergeRequestReminderShownToSecondaryTeamType *)teamMergeRequestReminderShownToSecondaryTeam { if (![self isTeamMergeRequestReminderShownToSecondaryTeam]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeTeamMergeRequestReminderShownToSecondaryTeam, but was %@.", [self tagName]]; } return _teamMergeRequestReminderShownToSecondaryTeam; } - (DBTEAMLOGTeamMergeRequestRevokedType *)teamMergeRequestRevoked { if (![self isTeamMergeRequestRevoked]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeTeamMergeRequestRevoked, but was %@.", [self tagName]]; } return _teamMergeRequestRevoked; } - (DBTEAMLOGTeamMergeRequestSentShownToPrimaryTeamType *)teamMergeRequestSentShownToPrimaryTeam { if (![self isTeamMergeRequestSentShownToPrimaryTeam]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeTeamMergeRequestSentShownToPrimaryTeam, but was %@.", [self tagName]]; } return _teamMergeRequestSentShownToPrimaryTeam; } - (DBTEAMLOGTeamMergeRequestSentShownToSecondaryTeamType *)teamMergeRequestSentShownToSecondaryTeam { if (![self isTeamMergeRequestSentShownToSecondaryTeam]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGEventTypeTeamMergeRequestSentShownToSecondaryTeam, but was %@.", [self tagName]]; } return _teamMergeRequestSentShownToSecondaryTeam; } #pragma mark - Tag state methods - (BOOL)isAdminAlertingAlertStateChanged { return _tag == DBTEAMLOGEventTypeAdminAlertingAlertStateChanged; } - (BOOL)isAdminAlertingChangedAlertConfig { return _tag == DBTEAMLOGEventTypeAdminAlertingChangedAlertConfig; } - (BOOL)isAdminAlertingTriggeredAlert { return _tag == DBTEAMLOGEventTypeAdminAlertingTriggeredAlert; } - (BOOL)isRansomwareRestoreProcessCompleted { return _tag == DBTEAMLOGEventTypeRansomwareRestoreProcessCompleted; } - (BOOL)isRansomwareRestoreProcessStarted { return _tag == DBTEAMLOGEventTypeRansomwareRestoreProcessStarted; } - (BOOL)isAppBlockedByPermissions { return _tag == DBTEAMLOGEventTypeAppBlockedByPermissions; } - (BOOL)isAppLinkTeam { return _tag == DBTEAMLOGEventTypeAppLinkTeam; } - (BOOL)isAppLinkUser { return _tag == DBTEAMLOGEventTypeAppLinkUser; } - (BOOL)isAppUnlinkTeam { return _tag == DBTEAMLOGEventTypeAppUnlinkTeam; } - (BOOL)isAppUnlinkUser { return _tag == DBTEAMLOGEventTypeAppUnlinkUser; } - (BOOL)isIntegrationConnected { return _tag == DBTEAMLOGEventTypeIntegrationConnected; } - (BOOL)isIntegrationDisconnected { return _tag == DBTEAMLOGEventTypeIntegrationDisconnected; } - (BOOL)isFileAddComment { return _tag == DBTEAMLOGEventTypeFileAddComment; } - (BOOL)isFileChangeCommentSubscription { return _tag == DBTEAMLOGEventTypeFileChangeCommentSubscription; } - (BOOL)isFileDeleteComment { return _tag == DBTEAMLOGEventTypeFileDeleteComment; } - (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)isLegalHoldsReleaseAHold { return _tag == DBTEAMLOGEventTypeLegalHoldsReleaseAHold; } - (BOOL)isLegalHoldsRemoveMembers { return _tag == DBTEAMLOGEventTypeLegalHoldsRemoveMembers; } - (BOOL)isLegalHoldsReportAHold { return _tag == DBTEAMLOGEventTypeLegalHoldsReportAHold; } - (BOOL)isDeviceChangeIpDesktop { return _tag == DBTEAMLOGEventTypeDeviceChangeIpDesktop; } - (BOOL)isDeviceChangeIpMobile { return _tag == DBTEAMLOGEventTypeDeviceChangeIpMobile; } - (BOOL)isDeviceChangeIpWeb { return _tag == DBTEAMLOGEventTypeDeviceChangeIpWeb; } - (BOOL)isDeviceDeleteOnUnlinkFail { return _tag == DBTEAMLOGEventTypeDeviceDeleteOnUnlinkFail; } - (BOOL)isDeviceDeleteOnUnlinkSuccess { return _tag == DBTEAMLOGEventTypeDeviceDeleteOnUnlinkSuccess; } - (BOOL)isDeviceLinkFail { return _tag == DBTEAMLOGEventTypeDeviceLinkFail; } - (BOOL)isDeviceLinkSuccess { return _tag == DBTEAMLOGEventTypeDeviceLinkSuccess; } - (BOOL)isDeviceManagementDisabled { return _tag == DBTEAMLOGEventTypeDeviceManagementDisabled; } - (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; } - (BOOL)isAccountCaptureMigrateAccount { return _tag == DBTEAMLOGEventTypeAccountCaptureMigrateAccount; } - (BOOL)isAccountCaptureNotificationEmailsSent { return _tag == DBTEAMLOGEventTypeAccountCaptureNotificationEmailsSent; } - (BOOL)isAccountCaptureRelinquishAccount { return _tag == DBTEAMLOGEventTypeAccountCaptureRelinquishAccount; } - (BOOL)isDisabledDomainInvites { return _tag == DBTEAMLOGEventTypeDisabledDomainInvites; } - (BOOL)isDomainInvitesApproveRequestToJoinTeam { return _tag == DBTEAMLOGEventTypeDomainInvitesApproveRequestToJoinTeam; } - (BOOL)isDomainInvitesDeclineRequestToJoinTeam { return _tag == DBTEAMLOGEventTypeDomainInvitesDeclineRequestToJoinTeam; } - (BOOL)isDomainInvitesEmailExistingUsers { return _tag == DBTEAMLOGEventTypeDomainInvitesEmailExistingUsers; } - (BOOL)isDomainInvitesRequestToJoinTeam { return _tag == DBTEAMLOGEventTypeDomainInvitesRequestToJoinTeam; } - (BOOL)isDomainInvitesSetInviteNewUserPrefToNo { return _tag == DBTEAMLOGEventTypeDomainInvitesSetInviteNewUserPrefToNo; } - (BOOL)isDomainInvitesSetInviteNewUserPrefToYes { return _tag == DBTEAMLOGEventTypeDomainInvitesSetInviteNewUserPrefToYes; } - (BOOL)isDomainVerificationAddDomainFail { return _tag == DBTEAMLOGEventTypeDomainVerificationAddDomainFail; } - (BOOL)isDomainVerificationAddDomainSuccess { return _tag == DBTEAMLOGEventTypeDomainVerificationAddDomainSuccess; } - (BOOL)isDomainVerificationRemoveDomain { return _tag == DBTEAMLOGEventTypeDomainVerificationRemoveDomain; } - (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; } - (BOOL)isFileAdd { return _tag == DBTEAMLOGEventTypeFileAdd; } - (BOOL)isFileAddFromAutomation { return _tag == DBTEAMLOGEventTypeFileAddFromAutomation; } - (BOOL)isFileCopy { return _tag == DBTEAMLOGEventTypeFileCopy; } - (BOOL)isFileDelete { return _tag == DBTEAMLOGEventTypeFileDelete; } - (BOOL)isFileDownload { return _tag == DBTEAMLOGEventTypeFileDownload; } - (BOOL)isFileEdit { return _tag == DBTEAMLOGEventTypeFileEdit; } - (BOOL)isFileGetCopyReference { return _tag == DBTEAMLOGEventTypeFileGetCopyReference; } - (BOOL)isFileLockingLockStatusChanged { return _tag == DBTEAMLOGEventTypeFileLockingLockStatusChanged; } - (BOOL)isFileMove { return _tag == DBTEAMLOGEventTypeFileMove; } - (BOOL)isFilePermanentlyDelete { return _tag == DBTEAMLOGEventTypeFilePermanentlyDelete; } - (BOOL)isFilePreview { return _tag == DBTEAMLOGEventTypeFilePreview; } - (BOOL)isFileRename { return _tag == DBTEAMLOGEventTypeFileRename; } - (BOOL)isFileRestore { return _tag == DBTEAMLOGEventTypeFileRestore; } - (BOOL)isFileRevert { return _tag == DBTEAMLOGEventTypeFileRevert; } - (BOOL)isFileRollbackChanges { return _tag == DBTEAMLOGEventTypeFileRollbackChanges; } - (BOOL)isFileSaveCopyReference { return _tag == DBTEAMLOGEventTypeFileSaveCopyReference; } - (BOOL)isFolderOverviewDescriptionChanged { return _tag == DBTEAMLOGEventTypeFolderOverviewDescriptionChanged; } - (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)isEmailIngestReceiveFile { return _tag == DBTEAMLOGEventTypeEmailIngestReceiveFile; } - (BOOL)isFileRequestChange { return _tag == DBTEAMLOGEventTypeFileRequestChange; } - (BOOL)isFileRequestClose { return _tag == DBTEAMLOGEventTypeFileRequestClose; } - (BOOL)isFileRequestCreate { return _tag == DBTEAMLOGEventTypeFileRequestCreate; } - (BOOL)isFileRequestDelete { return _tag == DBTEAMLOGEventTypeFileRequestDelete; } - (BOOL)isFileRequestReceiveFile { return _tag == DBTEAMLOGEventTypeFileRequestReceiveFile; } - (BOOL)isGroupAddExternalId { return _tag == DBTEAMLOGEventTypeGroupAddExternalId; } - (BOOL)isGroupAddMember { return _tag == DBTEAMLOGEventTypeGroupAddMember; } - (BOOL)isGroupChangeExternalId { return _tag == DBTEAMLOGEventTypeGroupChangeExternalId; } - (BOOL)isGroupChangeManagementType { return _tag == DBTEAMLOGEventTypeGroupChangeManagementType; } - (BOOL)isGroupChangeMemberRole { return _tag == DBTEAMLOGEventTypeGroupChangeMemberRole; } - (BOOL)isGroupCreate { return _tag == DBTEAMLOGEventTypeGroupCreate; } - (BOOL)isGroupDelete { return _tag == DBTEAMLOGEventTypeGroupDelete; } - (BOOL)isGroupDescriptionUpdated { return _tag == DBTEAMLOGEventTypeGroupDescriptionUpdated; } - (BOOL)isGroupJoinPolicyUpdated { return _tag == DBTEAMLOGEventTypeGroupJoinPolicyUpdated; } - (BOOL)isGroupMoved { return _tag == DBTEAMLOGEventTypeGroupMoved; } - (BOOL)isGroupRemoveExternalId { return _tag == DBTEAMLOGEventTypeGroupRemoveExternalId; } - (BOOL)isGroupRemoveMember { return _tag == DBTEAMLOGEventTypeGroupRemoveMember; } - (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; } - (BOOL)isLoginSuccess { return _tag == DBTEAMLOGEventTypeLoginSuccess; } - (BOOL)isLogout { return _tag == DBTEAMLOGEventTypeLogout; } - (BOOL)isResellerSupportSessionEnd { return _tag == DBTEAMLOGEventTypeResellerSupportSessionEnd; } - (BOOL)isResellerSupportSessionStart { return _tag == DBTEAMLOGEventTypeResellerSupportSessionStart; } - (BOOL)isSignInAsSessionEnd { return _tag == DBTEAMLOGEventTypeSignInAsSessionEnd; } - (BOOL)isSignInAsSessionStart { return _tag == DBTEAMLOGEventTypeSignInAsSessionStart; } - (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; } - (BOOL)isMemberChangeAdminRole { return _tag == DBTEAMLOGEventTypeMemberChangeAdminRole; } - (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; } - (BOOL)isPaperContentAddToFolder { return _tag == DBTEAMLOGEventTypePaperContentAddToFolder; } - (BOOL)isPaperContentArchive { return _tag == DBTEAMLOGEventTypePaperContentArchive; } - (BOOL)isPaperContentCreate { return _tag == DBTEAMLOGEventTypePaperContentCreate; } - (BOOL)isPaperContentPermanentlyDelete { return _tag == DBTEAMLOGEventTypePaperContentPermanentlyDelete; } - (BOOL)isPaperContentRemoveFromFolder { return _tag == DBTEAMLOGEventTypePaperContentRemoveFromFolder; } - (BOOL)isPaperContentRemoveMember { return _tag == DBTEAMLOGEventTypePaperContentRemoveMember; } - (BOOL)isPaperContentRename { return _tag == DBTEAMLOGEventTypePaperContentRename; } - (BOOL)isPaperContentRestore { return _tag == DBTEAMLOGEventTypePaperContentRestore; } - (BOOL)isPaperDocAddComment { return _tag == DBTEAMLOGEventTypePaperDocAddComment; } - (BOOL)isPaperDocChangeMemberRole { return _tag == DBTEAMLOGEventTypePaperDocChangeMemberRole; } - (BOOL)isPaperDocChangeSharingPolicy { return _tag == DBTEAMLOGEventTypePaperDocChangeSharingPolicy; } - (BOOL)isPaperDocChangeSubscription { return _tag == DBTEAMLOGEventTypePaperDocChangeSubscription; } - (BOOL)isPaperDocDeleted { return _tag == DBTEAMLOGEventTypePaperDocDeleted; } - (BOOL)isPaperDocDeleteComment { return _tag == DBTEAMLOGEventTypePaperDocDeleteComment; } - (BOOL)isPaperDocDownload { return _tag == DBTEAMLOGEventTypePaperDocDownload; } - (BOOL)isPaperDocEdit { return _tag == DBTEAMLOGEventTypePaperDocEdit; } - (BOOL)isPaperDocEditComment { return _tag == DBTEAMLOGEventTypePaperDocEditComment; } - (BOOL)isPaperDocFollowed { return _tag == DBTEAMLOGEventTypePaperDocFollowed; } - (BOOL)isPaperDocMention { return _tag == DBTEAMLOGEventTypePaperDocMention; } - (BOOL)isPaperDocOwnershipChanged { return _tag == DBTEAMLOGEventTypePaperDocOwnershipChanged; } - (BOOL)isPaperDocRequestAccess { return _tag == DBTEAMLOGEventTypePaperDocRequestAccess; } - (BOOL)isPaperDocResolveComment { return _tag == DBTEAMLOGEventTypePaperDocResolveComment; } - (BOOL)isPaperDocRevert { return _tag == DBTEAMLOGEventTypePaperDocRevert; } - (BOOL)isPaperDocSlackShare { return _tag == DBTEAMLOGEventTypePaperDocSlackShare; } - (BOOL)isPaperDocTeamInvite { return _tag == DBTEAMLOGEventTypePaperDocTeamInvite; } - (BOOL)isPaperDocTrashed { return _tag == DBTEAMLOGEventTypePaperDocTrashed; } - (BOOL)isPaperDocUnresolveComment { return _tag == DBTEAMLOGEventTypePaperDocUnresolveComment; } - (BOOL)isPaperDocUntrashed { return _tag == DBTEAMLOGEventTypePaperDocUntrashed; } - (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; } - (BOOL)isPaperFolderDeleted { return _tag == DBTEAMLOGEventTypePaperFolderDeleted; } - (BOOL)isPaperFolderFollowed { return _tag == DBTEAMLOGEventTypePaperFolderFollowed; } - (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; } - (BOOL)isPasswordReset { return _tag == DBTEAMLOGEventTypePasswordReset; } - (BOOL)isPasswordResetAll { return _tag == DBTEAMLOGEventTypePasswordResetAll; } - (BOOL)isClassificationCreateReport { return _tag == DBTEAMLOGEventTypeClassificationCreateReport; } - (BOOL)isClassificationCreateReportFail { return _tag == DBTEAMLOGEventTypeClassificationCreateReportFail; } - (BOOL)isEmmCreateExceptionsReport { return _tag == DBTEAMLOGEventTypeEmmCreateExceptionsReport; } - (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; } - (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; } - (BOOL)isNoteAclLink { return _tag == DBTEAMLOGEventTypeNoteAclLink; } - (BOOL)isNoteAclTeamLink { return _tag == DBTEAMLOGEventTypeNoteAclTeamLink; } - (BOOL)isNoteShared { return _tag == DBTEAMLOGEventTypeNoteShared; } - (BOOL)isNoteShareReceive { return _tag == DBTEAMLOGEventTypeNoteShareReceive; } - (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; } - (BOOL)isSfAllowNonMembersToViewSharedLinks { return _tag == DBTEAMLOGEventTypeSfAllowNonMembersToViewSharedLinks; } - (BOOL)isSfExternalInviteWarn { return _tag == DBTEAMLOGEventTypeSfExternalInviteWarn; } - (BOOL)isSfFbInvite { return _tag == DBTEAMLOGEventTypeSfFbInvite; } - (BOOL)isSfFbInviteChangeRole { return _tag == DBTEAMLOGEventTypeSfFbInviteChangeRole; } - (BOOL)isSfFbUninvite { return _tag == DBTEAMLOGEventTypeSfFbUninvite; } - (BOOL)isSfInviteGroup { return _tag == DBTEAMLOGEventTypeSfInviteGroup; } - (BOOL)isSfTeamGrantAccess { return _tag == DBTEAMLOGEventTypeSfTeamGrantAccess; } - (BOOL)isSfTeamInvite { return _tag == DBTEAMLOGEventTypeSfTeamInvite; } - (BOOL)isSfTeamInviteChangeRole { return _tag == DBTEAMLOGEventTypeSfTeamInviteChangeRole; } - (BOOL)isSfTeamJoin { return _tag == DBTEAMLOGEventTypeSfTeamJoin; } - (BOOL)isSfTeamJoinFromOobLink { return _tag == DBTEAMLOGEventTypeSfTeamJoinFromOobLink; } - (BOOL)isSfTeamUninvite { return _tag == DBTEAMLOGEventTypeSfTeamUninvite; } - (BOOL)isSharedContentAddInvitees { return _tag == DBTEAMLOGEventTypeSharedContentAddInvitees; } - (BOOL)isSharedContentAddLinkExpiry { return _tag == DBTEAMLOGEventTypeSharedContentAddLinkExpiry; } - (BOOL)isSharedContentAddLinkPassword { return _tag == DBTEAMLOGEventTypeSharedContentAddLinkPassword; } - (BOOL)isSharedContentAddMember { return _tag == DBTEAMLOGEventTypeSharedContentAddMember; } - (BOOL)isSharedContentChangeDownloadsPolicy { return _tag == DBTEAMLOGEventTypeSharedContentChangeDownloadsPolicy; } - (BOOL)isSharedContentChangeInviteeRole { return _tag == DBTEAMLOGEventTypeSharedContentChangeInviteeRole; } - (BOOL)isSharedContentChangeLinkAudience { return _tag == DBTEAMLOGEventTypeSharedContentChangeLinkAudience; } - (BOOL)isSharedContentChangeLinkExpiry { return _tag == DBTEAMLOGEventTypeSharedContentChangeLinkExpiry; } - (BOOL)isSharedContentChangeLinkPassword { return _tag == DBTEAMLOGEventTypeSharedContentChangeLinkPassword; } - (BOOL)isSharedContentChangeMemberRole { return _tag == DBTEAMLOGEventTypeSharedContentChangeMemberRole; } - (BOOL)isSharedContentChangeViewerInfoPolicy { return _tag == DBTEAMLOGEventTypeSharedContentChangeViewerInfoPolicy; } - (BOOL)isSharedContentClaimInvitation { return _tag == DBTEAMLOGEventTypeSharedContentClaimInvitation; } - (BOOL)isSharedContentCopy { return _tag == DBTEAMLOGEventTypeSharedContentCopy; } - (BOOL)isSharedContentDownload { return _tag == DBTEAMLOGEventTypeSharedContentDownload; } - (BOOL)isSharedContentRelinquishMembership { return _tag == DBTEAMLOGEventTypeSharedContentRelinquishMembership; } - (BOOL)isSharedContentRemoveInvitees { return _tag == DBTEAMLOGEventTypeSharedContentRemoveInvitees; } - (BOOL)isSharedContentRemoveLinkExpiry { return _tag == DBTEAMLOGEventTypeSharedContentRemoveLinkExpiry; } - (BOOL)isSharedContentRemoveLinkPassword { return _tag == DBTEAMLOGEventTypeSharedContentRemoveLinkPassword; } - (BOOL)isSharedContentRemoveMember { return _tag == DBTEAMLOGEventTypeSharedContentRemoveMember; } - (BOOL)isSharedContentRequestAccess { return _tag == DBTEAMLOGEventTypeSharedContentRequestAccess; } - (BOOL)isSharedContentRestoreInvitees { return _tag == DBTEAMLOGEventTypeSharedContentRestoreInvitees; } - (BOOL)isSharedContentRestoreMember { return _tag == DBTEAMLOGEventTypeSharedContentRestoreMember; } - (BOOL)isSharedContentUnshare { return _tag == DBTEAMLOGEventTypeSharedContentUnshare; } - (BOOL)isSharedContentView { return _tag == DBTEAMLOGEventTypeSharedContentView; } - (BOOL)isSharedFolderChangeLinkPolicy { return _tag == DBTEAMLOGEventTypeSharedFolderChangeLinkPolicy; } - (BOOL)isSharedFolderChangeMembersInheritancePolicy { return _tag == DBTEAMLOGEventTypeSharedFolderChangeMembersInheritancePolicy; } - (BOOL)isSharedFolderChangeMembersManagementPolicy { return _tag == DBTEAMLOGEventTypeSharedFolderChangeMembersManagementPolicy; } - (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; } - (BOOL)isSharedFolderUnmount { return _tag == DBTEAMLOGEventTypeSharedFolderUnmount; } - (BOOL)isSharedLinkAddExpiry { return _tag == DBTEAMLOGEventTypeSharedLinkAddExpiry; } - (BOOL)isSharedLinkChangeExpiry { return _tag == DBTEAMLOGEventTypeSharedLinkChangeExpiry; } - (BOOL)isSharedLinkChangeVisibility { return _tag == DBTEAMLOGEventTypeSharedLinkChangeVisibility; } - (BOOL)isSharedLinkCopy { return _tag == DBTEAMLOGEventTypeSharedLinkCopy; } - (BOOL)isSharedLinkCreate { return _tag == DBTEAMLOGEventTypeSharedLinkCreate; } - (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)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)isShowcaseResolveComment { return _tag == DBTEAMLOGEventTypeShowcaseResolveComment; } - (BOOL)isShowcaseRestored { return _tag == DBTEAMLOGEventTypeShowcaseRestored; } - (BOOL)isShowcaseTrashed { return _tag == DBTEAMLOGEventTypeShowcaseTrashed; } - (BOOL)isShowcaseTrashedDeprecated { return _tag == DBTEAMLOGEventTypeShowcaseTrashedDeprecated; } - (BOOL)isShowcaseUnresolveComment { return _tag == DBTEAMLOGEventTypeShowcaseUnresolveComment; } - (BOOL)isShowcaseUntrashed { return _tag == DBTEAMLOGEventTypeShowcaseUntrashed; } - (BOOL)isShowcaseUntrashedDeprecated { return _tag == DBTEAMLOGEventTypeShowcaseUntrashedDeprecated; } - (BOOL)isShowcaseView { return _tag == DBTEAMLOGEventTypeShowcaseView; } - (BOOL)isSsoAddCert { return _tag == DBTEAMLOGEventTypeSsoAddCert; } - (BOOL)isSsoAddLoginUrl { return _tag == DBTEAMLOGEventTypeSsoAddLoginUrl; } - (BOOL)isSsoAddLogoutUrl { return _tag == DBTEAMLOGEventTypeSsoAddLogoutUrl; } - (BOOL)isSsoChangeCert { return _tag == DBTEAMLOGEventTypeSsoChangeCert; } - (BOOL)isSsoChangeLoginUrl { return _tag == DBTEAMLOGEventTypeSsoChangeLoginUrl; } - (BOOL)isSsoChangeLogoutUrl { return _tag == DBTEAMLOGEventTypeSsoChangeLogoutUrl; } - (BOOL)isSsoChangeSamlIdentityMode { return _tag == DBTEAMLOGEventTypeSsoChangeSamlIdentityMode; } - (BOOL)isSsoRemoveCert { return _tag == DBTEAMLOGEventTypeSsoRemoveCert; } - (BOOL)isSsoRemoveLoginUrl { return _tag == DBTEAMLOGEventTypeSsoRemoveLoginUrl; } - (BOOL)isSsoRemoveLogoutUrl { return _tag == DBTEAMLOGEventTypeSsoRemoveLogoutUrl; } - (BOOL)isTeamFolderChangeStatus { return _tag == DBTEAMLOGEventTypeTeamFolderChangeStatus; } - (BOOL)isTeamFolderCreate { return _tag == DBTEAMLOGEventTypeTeamFolderCreate; } - (BOOL)isTeamFolderDowngrade { return _tag == DBTEAMLOGEventTypeTeamFolderDowngrade; } - (BOOL)isTeamFolderPermanentlyDelete { return _tag == DBTEAMLOGEventTypeTeamFolderPermanentlyDelete; } - (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; } - (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; } - (BOOL)isDataPlacementRestrictionSatisfyPolicy { return _tag == DBTEAMLOGEventTypeDataPlacementRestrictionSatisfyPolicy; } - (BOOL)isDeviceApprovalsAddException { return _tag == DBTEAMLOGEventTypeDeviceApprovalsAddException; } - (BOOL)isDeviceApprovalsChangeDesktopPolicy { return _tag == DBTEAMLOGEventTypeDeviceApprovalsChangeDesktopPolicy; } - (BOOL)isDeviceApprovalsChangeMobilePolicy { return _tag == DBTEAMLOGEventTypeDeviceApprovalsChangeMobilePolicy; } - (BOOL)isDeviceApprovalsChangeOverageAction { return _tag == DBTEAMLOGEventTypeDeviceApprovalsChangeOverageAction; } - (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; } - (BOOL)isEmmChangePolicy { return _tag == DBTEAMLOGEventTypeEmmChangePolicy; } - (BOOL)isEmmRemoveException { return _tag == DBTEAMLOGEventTypeEmmRemoveException; } - (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; } - (BOOL)isFileRequestsEmailsEnabled { return _tag == DBTEAMLOGEventTypeFileRequestsEmailsEnabled; } - (BOOL)isFileRequestsEmailsRestrictedToTeamOnly { return _tag == DBTEAMLOGEventTypeFileRequestsEmailsRestrictedToTeamOnly; } - (BOOL)isFileTransfersPolicyChanged { return _tag == DBTEAMLOGEventTypeFileTransfersPolicyChanged; } - (BOOL)isFolderLinkRestrictionPolicyChanged { return _tag == DBTEAMLOGEventTypeFolderLinkRestrictionPolicyChanged; } - (BOOL)isGoogleSsoChangePolicy { return _tag == DBTEAMLOGEventTypeGoogleSsoChangePolicy; } - (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; } - (BOOL)isMemberSpaceLimitsRemoveException { return _tag == DBTEAMLOGEventTypeMemberSpaceLimitsRemoveException; } - (BOOL)isMemberSuggestionsChangePolicy { return _tag == DBTEAMLOGEventTypeMemberSuggestionsChangePolicy; } - (BOOL)isMicrosoftOfficeAddinChangePolicy { return _tag == DBTEAMLOGEventTypeMicrosoftOfficeAddinChangePolicy; } - (BOOL)isNetworkControlChangePolicy { return _tag == DBTEAMLOGEventTypeNetworkControlChangePolicy; } - (BOOL)isPaperChangeDeploymentPolicy { return _tag == DBTEAMLOGEventTypePaperChangeDeploymentPolicy; } - (BOOL)isPaperChangeMemberLinkPolicy { return _tag == DBTEAMLOGEventTypePaperChangeMemberLinkPolicy; } - (BOOL)isPaperChangeMemberPolicy { return _tag == DBTEAMLOGEventTypePaperChangeMemberPolicy; } - (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; } - (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; } - (BOOL)isSmartSyncNotOptOut { return _tag == DBTEAMLOGEventTypeSmartSyncNotOptOut; } - (BOOL)isSmartSyncOptOut { return _tag == DBTEAMLOGEventTypeSmartSyncOptOut; } - (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; } - (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; } - (BOOL)isTeamProfileChangeLogo { return _tag == DBTEAMLOGEventTypeTeamProfileChangeLogo; } - (BOOL)isTeamProfileChangeName { return _tag == DBTEAMLOGEventTypeTeamProfileChangeName; } - (BOOL)isTeamProfileRemoveBackground { return _tag == DBTEAMLOGEventTypeTeamProfileRemoveBackground; } - (BOOL)isTeamProfileRemoveLogo { return _tag == DBTEAMLOGEventTypeTeamProfileRemoveLogo; } - (BOOL)isTfaAddBackupPhone { return _tag == DBTEAMLOGEventTypeTfaAddBackupPhone; } - (BOOL)isTfaAddSecurityKey { return _tag == DBTEAMLOGEventTypeTfaAddSecurityKey; } - (BOOL)isTfaChangeBackupPhone { return _tag == DBTEAMLOGEventTypeTfaChangeBackupPhone; } - (BOOL)isTfaChangeStatus { return _tag == DBTEAMLOGEventTypeTfaChangeStatus; } - (BOOL)isTfaRemoveBackupPhone { return _tag == DBTEAMLOGEventTypeTfaRemoveBackupPhone; } - (BOOL)isTfaRemoveSecurityKey { return _tag == DBTEAMLOGEventTypeTfaRemoveSecurityKey; } - (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 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: return @"DBTEAMLOGEventTypeAppLinkUser"; case DBTEAMLOGEventTypeAppUnlinkTeam: 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: return @"DBTEAMLOGEventTypeFileResolveComment"; case DBTEAMLOGEventTypeFileUnlikeComment: 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: return @"DBTEAMLOGEventTypeDeviceChangeIpMobile"; case DBTEAMLOGEventTypeDeviceChangeIpWeb: return @"DBTEAMLOGEventTypeDeviceChangeIpWeb"; case DBTEAMLOGEventTypeDeviceDeleteOnUnlinkFail: return @"DBTEAMLOGEventTypeDeviceDeleteOnUnlinkFail"; case DBTEAMLOGEventTypeDeviceDeleteOnUnlinkSuccess: return @"DBTEAMLOGEventTypeDeviceDeleteOnUnlinkSuccess"; case DBTEAMLOGEventTypeDeviceLinkFail: return @"DBTEAMLOGEventTypeDeviceLinkFail"; case DBTEAMLOGEventTypeDeviceLinkSuccess: return @"DBTEAMLOGEventTypeDeviceLinkSuccess"; case DBTEAMLOGEventTypeDeviceManagementDisabled: 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: return @"DBTEAMLOGEventTypeDisabledDomainInvites"; case DBTEAMLOGEventTypeDomainInvitesApproveRequestToJoinTeam: return @"DBTEAMLOGEventTypeDomainInvitesApproveRequestToJoinTeam"; case DBTEAMLOGEventTypeDomainInvitesDeclineRequestToJoinTeam: return @"DBTEAMLOGEventTypeDomainInvitesDeclineRequestToJoinTeam"; case DBTEAMLOGEventTypeDomainInvitesEmailExistingUsers: return @"DBTEAMLOGEventTypeDomainInvitesEmailExistingUsers"; case DBTEAMLOGEventTypeDomainInvitesRequestToJoinTeam: return @"DBTEAMLOGEventTypeDomainInvitesRequestToJoinTeam"; case DBTEAMLOGEventTypeDomainInvitesSetInviteNewUserPrefToNo: return @"DBTEAMLOGEventTypeDomainInvitesSetInviteNewUserPrefToNo"; case DBTEAMLOGEventTypeDomainInvitesSetInviteNewUserPrefToYes: return @"DBTEAMLOGEventTypeDomainInvitesSetInviteNewUserPrefToYes"; case DBTEAMLOGEventTypeDomainVerificationAddDomainFail: return @"DBTEAMLOGEventTypeDomainVerificationAddDomainFail"; case DBTEAMLOGEventTypeDomainVerificationAddDomainSuccess: return @"DBTEAMLOGEventTypeDomainVerificationAddDomainSuccess"; case DBTEAMLOGEventTypeDomainVerificationRemoveDomain: 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: return @"DBTEAMLOGEventTypeFileDelete"; case DBTEAMLOGEventTypeFileDownload: return @"DBTEAMLOGEventTypeFileDownload"; case DBTEAMLOGEventTypeFileEdit: return @"DBTEAMLOGEventTypeFileEdit"; case DBTEAMLOGEventTypeFileGetCopyReference: return @"DBTEAMLOGEventTypeFileGetCopyReference"; case DBTEAMLOGEventTypeFileLockingLockStatusChanged: return @"DBTEAMLOGEventTypeFileLockingLockStatusChanged"; case DBTEAMLOGEventTypeFileMove: return @"DBTEAMLOGEventTypeFileMove"; case DBTEAMLOGEventTypeFilePermanentlyDelete: return @"DBTEAMLOGEventTypeFilePermanentlyDelete"; case DBTEAMLOGEventTypeFilePreview: return @"DBTEAMLOGEventTypeFilePreview"; case DBTEAMLOGEventTypeFileRename: return @"DBTEAMLOGEventTypeFileRename"; case DBTEAMLOGEventTypeFileRestore: return @"DBTEAMLOGEventTypeFileRestore"; case DBTEAMLOGEventTypeFileRevert: return @"DBTEAMLOGEventTypeFileRevert"; case DBTEAMLOGEventTypeFileRollbackChanges: return @"DBTEAMLOGEventTypeFileRollbackChanges"; case DBTEAMLOGEventTypeFileSaveCopyReference: return @"DBTEAMLOGEventTypeFileSaveCopyReference"; 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 DBTEAMLOGEventTypeFileRequestClose: return @"DBTEAMLOGEventTypeFileRequestClose"; case DBTEAMLOGEventTypeFileRequestCreate: return @"DBTEAMLOGEventTypeFileRequestCreate"; case DBTEAMLOGEventTypeFileRequestDelete: return @"DBTEAMLOGEventTypeFileRequestDelete"; case DBTEAMLOGEventTypeFileRequestReceiveFile: return @"DBTEAMLOGEventTypeFileRequestReceiveFile"; case DBTEAMLOGEventTypeGroupAddExternalId: return @"DBTEAMLOGEventTypeGroupAddExternalId"; case DBTEAMLOGEventTypeGroupAddMember: return @"DBTEAMLOGEventTypeGroupAddMember"; case DBTEAMLOGEventTypeGroupChangeExternalId: return @"DBTEAMLOGEventTypeGroupChangeExternalId"; case DBTEAMLOGEventTypeGroupChangeManagementType: return @"DBTEAMLOGEventTypeGroupChangeManagementType"; case DBTEAMLOGEventTypeGroupChangeMemberRole: return @"DBTEAMLOGEventTypeGroupChangeMemberRole"; case DBTEAMLOGEventTypeGroupCreate: return @"DBTEAMLOGEventTypeGroupCreate"; case DBTEAMLOGEventTypeGroupDelete: return @"DBTEAMLOGEventTypeGroupDelete"; case DBTEAMLOGEventTypeGroupDescriptionUpdated: return @"DBTEAMLOGEventTypeGroupDescriptionUpdated"; case DBTEAMLOGEventTypeGroupJoinPolicyUpdated: return @"DBTEAMLOGEventTypeGroupJoinPolicyUpdated"; case DBTEAMLOGEventTypeGroupMoved: return @"DBTEAMLOGEventTypeGroupMoved"; case DBTEAMLOGEventTypeGroupRemoveExternalId: return @"DBTEAMLOGEventTypeGroupRemoveExternalId"; case DBTEAMLOGEventTypeGroupRemoveMember: 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: return @"DBTEAMLOGEventTypeLoginSuccess"; case DBTEAMLOGEventTypeLogout: return @"DBTEAMLOGEventTypeLogout"; case DBTEAMLOGEventTypeResellerSupportSessionEnd: return @"DBTEAMLOGEventTypeResellerSupportSessionEnd"; case DBTEAMLOGEventTypeResellerSupportSessionStart: return @"DBTEAMLOGEventTypeResellerSupportSessionStart"; case DBTEAMLOGEventTypeSignInAsSessionEnd: return @"DBTEAMLOGEventTypeSignInAsSessionEnd"; case DBTEAMLOGEventTypeSignInAsSessionStart: 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: return @"DBTEAMLOGEventTypePaperContentAddToFolder"; case DBTEAMLOGEventTypePaperContentArchive: return @"DBTEAMLOGEventTypePaperContentArchive"; case DBTEAMLOGEventTypePaperContentCreate: return @"DBTEAMLOGEventTypePaperContentCreate"; case DBTEAMLOGEventTypePaperContentPermanentlyDelete: return @"DBTEAMLOGEventTypePaperContentPermanentlyDelete"; case DBTEAMLOGEventTypePaperContentRemoveFromFolder: return @"DBTEAMLOGEventTypePaperContentRemoveFromFolder"; case DBTEAMLOGEventTypePaperContentRemoveMember: return @"DBTEAMLOGEventTypePaperContentRemoveMember"; case DBTEAMLOGEventTypePaperContentRename: return @"DBTEAMLOGEventTypePaperContentRename"; case DBTEAMLOGEventTypePaperContentRestore: return @"DBTEAMLOGEventTypePaperContentRestore"; case DBTEAMLOGEventTypePaperDocAddComment: return @"DBTEAMLOGEventTypePaperDocAddComment"; case DBTEAMLOGEventTypePaperDocChangeMemberRole: return @"DBTEAMLOGEventTypePaperDocChangeMemberRole"; case DBTEAMLOGEventTypePaperDocChangeSharingPolicy: return @"DBTEAMLOGEventTypePaperDocChangeSharingPolicy"; case DBTEAMLOGEventTypePaperDocChangeSubscription: return @"DBTEAMLOGEventTypePaperDocChangeSubscription"; case DBTEAMLOGEventTypePaperDocDeleted: return @"DBTEAMLOGEventTypePaperDocDeleted"; case DBTEAMLOGEventTypePaperDocDeleteComment: return @"DBTEAMLOGEventTypePaperDocDeleteComment"; case DBTEAMLOGEventTypePaperDocDownload: return @"DBTEAMLOGEventTypePaperDocDownload"; case DBTEAMLOGEventTypePaperDocEdit: return @"DBTEAMLOGEventTypePaperDocEdit"; case DBTEAMLOGEventTypePaperDocEditComment: return @"DBTEAMLOGEventTypePaperDocEditComment"; case DBTEAMLOGEventTypePaperDocFollowed: return @"DBTEAMLOGEventTypePaperDocFollowed"; case DBTEAMLOGEventTypePaperDocMention: return @"DBTEAMLOGEventTypePaperDocMention"; case DBTEAMLOGEventTypePaperDocOwnershipChanged: return @"DBTEAMLOGEventTypePaperDocOwnershipChanged"; case DBTEAMLOGEventTypePaperDocRequestAccess: return @"DBTEAMLOGEventTypePaperDocRequestAccess"; case DBTEAMLOGEventTypePaperDocResolveComment: return @"DBTEAMLOGEventTypePaperDocResolveComment"; case DBTEAMLOGEventTypePaperDocRevert: return @"DBTEAMLOGEventTypePaperDocRevert"; case DBTEAMLOGEventTypePaperDocSlackShare: return @"DBTEAMLOGEventTypePaperDocSlackShare"; case DBTEAMLOGEventTypePaperDocTeamInvite: return @"DBTEAMLOGEventTypePaperDocTeamInvite"; case DBTEAMLOGEventTypePaperDocTrashed: return @"DBTEAMLOGEventTypePaperDocTrashed"; case DBTEAMLOGEventTypePaperDocUnresolveComment: return @"DBTEAMLOGEventTypePaperDocUnresolveComment"; case DBTEAMLOGEventTypePaperDocUntrashed: return @"DBTEAMLOGEventTypePaperDocUntrashed"; case DBTEAMLOGEventTypePaperDocView: return @"DBTEAMLOGEventTypePaperDocView"; case DBTEAMLOGEventTypePaperExternalViewAllow: return @"DBTEAMLOGEventTypePaperExternalViewAllow"; case DBTEAMLOGEventTypePaperExternalViewDefaultTeam: return @"DBTEAMLOGEventTypePaperExternalViewDefaultTeam"; case DBTEAMLOGEventTypePaperExternalViewForbid: return @"DBTEAMLOGEventTypePaperExternalViewForbid"; case DBTEAMLOGEventTypePaperFolderChangeSubscription: return @"DBTEAMLOGEventTypePaperFolderChangeSubscription"; case DBTEAMLOGEventTypePaperFolderDeleted: return @"DBTEAMLOGEventTypePaperFolderDeleted"; case DBTEAMLOGEventTypePaperFolderFollowed: 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: return @"DBTEAMLOGEventTypeNoteAclLink"; case DBTEAMLOGEventTypeNoteAclTeamLink: return @"DBTEAMLOGEventTypeNoteAclTeamLink"; case DBTEAMLOGEventTypeNoteShared: return @"DBTEAMLOGEventTypeNoteShared"; case DBTEAMLOGEventTypeNoteShareReceive: 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 DBTEAMLOGEventTypeSfTeamGrantAccess: return @"DBTEAMLOGEventTypeSfTeamGrantAccess"; case DBTEAMLOGEventTypeSfTeamInvite: return @"DBTEAMLOGEventTypeSfTeamInvite"; case DBTEAMLOGEventTypeSfTeamInviteChangeRole: return @"DBTEAMLOGEventTypeSfTeamInviteChangeRole"; case DBTEAMLOGEventTypeSfTeamJoin: return @"DBTEAMLOGEventTypeSfTeamJoin"; case DBTEAMLOGEventTypeSfTeamJoinFromOobLink: return @"DBTEAMLOGEventTypeSfTeamJoinFromOobLink"; case DBTEAMLOGEventTypeSfTeamUninvite: return @"DBTEAMLOGEventTypeSfTeamUninvite"; case DBTEAMLOGEventTypeSharedContentAddInvitees: return @"DBTEAMLOGEventTypeSharedContentAddInvitees"; case DBTEAMLOGEventTypeSharedContentAddLinkExpiry: return @"DBTEAMLOGEventTypeSharedContentAddLinkExpiry"; case DBTEAMLOGEventTypeSharedContentAddLinkPassword: return @"DBTEAMLOGEventTypeSharedContentAddLinkPassword"; case DBTEAMLOGEventTypeSharedContentAddMember: return @"DBTEAMLOGEventTypeSharedContentAddMember"; case DBTEAMLOGEventTypeSharedContentChangeDownloadsPolicy: return @"DBTEAMLOGEventTypeSharedContentChangeDownloadsPolicy"; case DBTEAMLOGEventTypeSharedContentChangeInviteeRole: return @"DBTEAMLOGEventTypeSharedContentChangeInviteeRole"; case DBTEAMLOGEventTypeSharedContentChangeLinkAudience: return @"DBTEAMLOGEventTypeSharedContentChangeLinkAudience"; case DBTEAMLOGEventTypeSharedContentChangeLinkExpiry: return @"DBTEAMLOGEventTypeSharedContentChangeLinkExpiry"; case DBTEAMLOGEventTypeSharedContentChangeLinkPassword: return @"DBTEAMLOGEventTypeSharedContentChangeLinkPassword"; case DBTEAMLOGEventTypeSharedContentChangeMemberRole: return @"DBTEAMLOGEventTypeSharedContentChangeMemberRole"; case DBTEAMLOGEventTypeSharedContentChangeViewerInfoPolicy: return @"DBTEAMLOGEventTypeSharedContentChangeViewerInfoPolicy"; case DBTEAMLOGEventTypeSharedContentClaimInvitation: return @"DBTEAMLOGEventTypeSharedContentClaimInvitation"; case DBTEAMLOGEventTypeSharedContentCopy: return @"DBTEAMLOGEventTypeSharedContentCopy"; case DBTEAMLOGEventTypeSharedContentDownload: return @"DBTEAMLOGEventTypeSharedContentDownload"; case DBTEAMLOGEventTypeSharedContentRelinquishMembership: return @"DBTEAMLOGEventTypeSharedContentRelinquishMembership"; case DBTEAMLOGEventTypeSharedContentRemoveInvitees: return @"DBTEAMLOGEventTypeSharedContentRemoveInvitees"; case DBTEAMLOGEventTypeSharedContentRemoveLinkExpiry: return @"DBTEAMLOGEventTypeSharedContentRemoveLinkExpiry"; case DBTEAMLOGEventTypeSharedContentRemoveLinkPassword: return @"DBTEAMLOGEventTypeSharedContentRemoveLinkPassword"; case DBTEAMLOGEventTypeSharedContentRemoveMember: return @"DBTEAMLOGEventTypeSharedContentRemoveMember"; case DBTEAMLOGEventTypeSharedContentRequestAccess: return @"DBTEAMLOGEventTypeSharedContentRequestAccess"; case DBTEAMLOGEventTypeSharedContentRestoreInvitees: return @"DBTEAMLOGEventTypeSharedContentRestoreInvitees"; case DBTEAMLOGEventTypeSharedContentRestoreMember: return @"DBTEAMLOGEventTypeSharedContentRestoreMember"; case DBTEAMLOGEventTypeSharedContentUnshare: return @"DBTEAMLOGEventTypeSharedContentUnshare"; case DBTEAMLOGEventTypeSharedContentView: return @"DBTEAMLOGEventTypeSharedContentView"; case DBTEAMLOGEventTypeSharedFolderChangeLinkPolicy: return @"DBTEAMLOGEventTypeSharedFolderChangeLinkPolicy"; 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 DBTEAMLOGEventTypeShmodelDisableDownloads: return @"DBTEAMLOGEventTypeShmodelDisableDownloads"; case DBTEAMLOGEventTypeShmodelEnableDownloads: return @"DBTEAMLOGEventTypeShmodelEnableDownloads"; case DBTEAMLOGEventTypeShmodelGroupShare: return @"DBTEAMLOGEventTypeShmodelGroupShare"; 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: return @"DBTEAMLOGEventTypeSsoAddLoginUrl"; case DBTEAMLOGEventTypeSsoAddLogoutUrl: return @"DBTEAMLOGEventTypeSsoAddLogoutUrl"; case DBTEAMLOGEventTypeSsoChangeCert: return @"DBTEAMLOGEventTypeSsoChangeCert"; case DBTEAMLOGEventTypeSsoChangeLoginUrl: return @"DBTEAMLOGEventTypeSsoChangeLoginUrl"; case DBTEAMLOGEventTypeSsoChangeLogoutUrl: return @"DBTEAMLOGEventTypeSsoChangeLogoutUrl"; case DBTEAMLOGEventTypeSsoChangeSamlIdentityMode: return @"DBTEAMLOGEventTypeSsoChangeSamlIdentityMode"; case DBTEAMLOGEventTypeSsoRemoveCert: return @"DBTEAMLOGEventTypeSsoRemoveCert"; case DBTEAMLOGEventTypeSsoRemoveLoginUrl: return @"DBTEAMLOGEventTypeSsoRemoveLoginUrl"; case DBTEAMLOGEventTypeSsoRemoveLogoutUrl: return @"DBTEAMLOGEventTypeSsoRemoveLogoutUrl"; case DBTEAMLOGEventTypeTeamFolderChangeStatus: return @"DBTEAMLOGEventTypeTeamFolderChangeStatus"; case DBTEAMLOGEventTypeTeamFolderCreate: return @"DBTEAMLOGEventTypeTeamFolderCreate"; case DBTEAMLOGEventTypeTeamFolderDowngrade: return @"DBTEAMLOGEventTypeTeamFolderDowngrade"; case DBTEAMLOGEventTypeTeamFolderPermanentlyDelete: 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: return @"DBTEAMLOGEventTypeDeviceApprovalsChangeMobilePolicy"; case DBTEAMLOGEventTypeDeviceApprovalsChangeOverageAction: 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: return @"DBTEAMLOGEventTypeEmmChangePolicy"; case DBTEAMLOGEventTypeEmmRemoveException: 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: return @"DBTEAMLOGEventTypeMemberSpaceLimitsRemoveException"; case DBTEAMLOGEventTypeMemberSuggestionsChangePolicy: return @"DBTEAMLOGEventTypeMemberSuggestionsChangePolicy"; case DBTEAMLOGEventTypeMicrosoftOfficeAddinChangePolicy: return @"DBTEAMLOGEventTypeMicrosoftOfficeAddinChangePolicy"; case DBTEAMLOGEventTypeNetworkControlChangePolicy: return @"DBTEAMLOGEventTypeNetworkControlChangePolicy"; case DBTEAMLOGEventTypePaperChangeDeploymentPolicy: return @"DBTEAMLOGEventTypePaperChangeDeploymentPolicy"; case DBTEAMLOGEventTypePaperChangeMemberLinkPolicy: return @"DBTEAMLOGEventTypePaperChangeMemberLinkPolicy"; case DBTEAMLOGEventTypePaperChangeMemberPolicy: 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: return @"DBTEAMLOGEventTypeSmartSyncNotOptOut"; case DBTEAMLOGEventTypeSmartSyncOptOut: 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: return @"DBTEAMLOGEventTypeTfaAddBackupPhone"; case DBTEAMLOGEventTypeTfaAddSecurityKey: return @"DBTEAMLOGEventTypeTfaAddSecurityKey"; case DBTEAMLOGEventTypeTfaChangeBackupPhone: return @"DBTEAMLOGEventTypeTfaChangeBackupPhone"; case DBTEAMLOGEventTypeTfaChangeStatus: return @"DBTEAMLOGEventTypeTfaChangeStatus"; case DBTEAMLOGEventTypeTfaRemoveBackupPhone: return @"DBTEAMLOGEventTypeTfaRemoveBackupPhone"; case DBTEAMLOGEventTypeTfaRemoveSecurityKey: 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"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGEventTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGEventTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGEventTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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.appLinkTeam hash]; break; case DBTEAMLOGEventTypeAppLinkUser: result = prime * result + [self.appLinkUser hash]; break; case DBTEAMLOGEventTypeAppUnlinkTeam: result = prime * result + [self.appUnlinkTeam hash]; break; case DBTEAMLOGEventTypeAppUnlinkUser: 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.fileAddComment hash]; break; case DBTEAMLOGEventTypeFileChangeCommentSubscription: result = prime * result + [self.fileChangeCommentSubscription hash]; break; case DBTEAMLOGEventTypeFileDeleteComment: result = prime * result + [self.fileDeleteComment hash]; break; case DBTEAMLOGEventTypeFileEditComment: result = prime * result + [self.fileEditComment hash]; break; case DBTEAMLOGEventTypeFileLikeComment: result = prime * result + [self.fileLikeComment hash]; break; case DBTEAMLOGEventTypeFileResolveComment: result = prime * result + [self.fileResolveComment hash]; break; case DBTEAMLOGEventTypeFileUnlikeComment: result = prime * result + [self.fileUnlikeComment hash]; break; case DBTEAMLOGEventTypeFileUnresolveComment: 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.deviceChangeIpDesktop hash]; break; case DBTEAMLOGEventTypeDeviceChangeIpMobile: result = prime * result + [self.deviceChangeIpMobile hash]; break; case DBTEAMLOGEventTypeDeviceChangeIpWeb: result = prime * result + [self.deviceChangeIpWeb hash]; break; case DBTEAMLOGEventTypeDeviceDeleteOnUnlinkFail: result = prime * result + [self.deviceDeleteOnUnlinkFail hash]; break; case DBTEAMLOGEventTypeDeviceDeleteOnUnlinkSuccess: result = prime * result + [self.deviceDeleteOnUnlinkSuccess hash]; break; case DBTEAMLOGEventTypeDeviceLinkFail: result = prime * result + [self.deviceLinkFail hash]; break; case DBTEAMLOGEventTypeDeviceLinkSuccess: result = prime * result + [self.deviceLinkSuccess hash]; break; case DBTEAMLOGEventTypeDeviceManagementDisabled: result = prime * result + [self.deviceManagementDisabled hash]; break; case DBTEAMLOGEventTypeDeviceManagementEnabled: result = prime * result + [self.deviceManagementEnabled hash]; break; case DBTEAMLOGEventTypeDeviceSyncBackupStatusChanged: result = prime * result + [self.deviceSyncBackupStatusChanged hash]; break; case DBTEAMLOGEventTypeDeviceUnlink: 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.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.accountCaptureChangeAvailability hash]; break; case DBTEAMLOGEventTypeAccountCaptureMigrateAccount: result = prime * result + [self.accountCaptureMigrateAccount hash]; break; case DBTEAMLOGEventTypeAccountCaptureNotificationEmailsSent: result = prime * result + [self.accountCaptureNotificationEmailsSent hash]; break; case DBTEAMLOGEventTypeAccountCaptureRelinquishAccount: result = prime * result + [self.accountCaptureRelinquishAccount hash]; break; case DBTEAMLOGEventTypeDisabledDomainInvites: result = prime * result + [self.disabledDomainInvites hash]; break; case DBTEAMLOGEventTypeDomainInvitesApproveRequestToJoinTeam: result = prime * result + [self.domainInvitesApproveRequestToJoinTeam hash]; break; case DBTEAMLOGEventTypeDomainInvitesDeclineRequestToJoinTeam: result = prime * result + [self.domainInvitesDeclineRequestToJoinTeam hash]; break; case DBTEAMLOGEventTypeDomainInvitesEmailExistingUsers: result = prime * result + [self.domainInvitesEmailExistingUsers hash]; break; case DBTEAMLOGEventTypeDomainInvitesRequestToJoinTeam: result = prime * result + [self.domainInvitesRequestToJoinTeam hash]; break; case DBTEAMLOGEventTypeDomainInvitesSetInviteNewUserPrefToNo: result = prime * result + [self.domainInvitesSetInviteNewUserPrefToNo hash]; break; case DBTEAMLOGEventTypeDomainInvitesSetInviteNewUserPrefToYes: result = prime * result + [self.domainInvitesSetInviteNewUserPrefToYes hash]; break; case DBTEAMLOGEventTypeDomainVerificationAddDomainFail: result = prime * result + [self.domainVerificationAddDomainFail hash]; break; case DBTEAMLOGEventTypeDomainVerificationAddDomainSuccess: result = prime * result + [self.domainVerificationAddDomainSuccess hash]; break; case DBTEAMLOGEventTypeDomainVerificationRemoveDomain: result = prime * result + [self.domainVerificationRemoveDomain hash]; break; case DBTEAMLOGEventTypeEnabledDomainInvites: 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.createFolder hash]; break; case DBTEAMLOGEventTypeFileAdd: result = prime * result + [self.fileAdd hash]; break; case DBTEAMLOGEventTypeFileAddFromAutomation: result = prime * result + [self.fileAddFromAutomation hash]; break; case DBTEAMLOGEventTypeFileCopy: result = prime * result + [self.fileCopy hash]; break; case DBTEAMLOGEventTypeFileDelete: result = prime * result + [self.fileDelete hash]; break; case DBTEAMLOGEventTypeFileDownload: result = prime * result + [self.fileDownload hash]; break; case DBTEAMLOGEventTypeFileEdit: result = prime * result + [self.fileEdit hash]; break; case DBTEAMLOGEventTypeFileGetCopyReference: result = prime * result + [self.fileGetCopyReference hash]; break; case DBTEAMLOGEventTypeFileLockingLockStatusChanged: result = prime * result + [self.fileLockingLockStatusChanged hash]; break; case DBTEAMLOGEventTypeFileMove: result = prime * result + [self.fileMove hash]; break; case DBTEAMLOGEventTypeFilePermanentlyDelete: result = prime * result + [self.filePermanentlyDelete hash]; break; case DBTEAMLOGEventTypeFilePreview: result = prime * result + [self.filePreview hash]; break; case DBTEAMLOGEventTypeFileRename: result = prime * result + [self.fileRename hash]; break; case DBTEAMLOGEventTypeFileRestore: result = prime * result + [self.fileRestore hash]; break; case DBTEAMLOGEventTypeFileRevert: result = prime * result + [self.fileRevert hash]; break; case DBTEAMLOGEventTypeFileRollbackChanges: result = prime * result + [self.fileRollbackChanges hash]; break; case DBTEAMLOGEventTypeFileSaveCopyReference: 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.fileRequestChange hash]; break; case DBTEAMLOGEventTypeFileRequestClose: result = prime * result + [self.fileRequestClose hash]; break; case DBTEAMLOGEventTypeFileRequestCreate: result = prime * result + [self.fileRequestCreate hash]; break; case DBTEAMLOGEventTypeFileRequestDelete: result = prime * result + [self.fileRequestDelete hash]; break; case DBTEAMLOGEventTypeFileRequestReceiveFile: result = prime * result + [self.fileRequestReceiveFile hash]; break; case DBTEAMLOGEventTypeGroupAddExternalId: result = prime * result + [self.groupAddExternalId hash]; break; case DBTEAMLOGEventTypeGroupAddMember: result = prime * result + [self.groupAddMember hash]; break; case DBTEAMLOGEventTypeGroupChangeExternalId: result = prime * result + [self.groupChangeExternalId hash]; break; case DBTEAMLOGEventTypeGroupChangeManagementType: result = prime * result + [self.groupChangeManagementType hash]; break; case DBTEAMLOGEventTypeGroupChangeMemberRole: result = prime * result + [self.groupChangeMemberRole hash]; break; case DBTEAMLOGEventTypeGroupCreate: result = prime * result + [self.groupCreate hash]; break; case DBTEAMLOGEventTypeGroupDelete: 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.groupMoved hash]; break; case DBTEAMLOGEventTypeGroupRemoveExternalId: result = prime * result + [self.groupRemoveExternalId hash]; break; case DBTEAMLOGEventTypeGroupRemoveMember: result = prime * result + [self.groupRemoveMember hash]; break; case DBTEAMLOGEventTypeGroupRename: result = prime * result + [self.groupRename hash]; break; case DBTEAMLOGEventTypeAccountLockOrUnlocked: result = prime * result + [self.accountLockOrUnlocked hash]; break; case DBTEAMLOGEventTypeEmmError: 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.loginFail hash]; break; case DBTEAMLOGEventTypeLoginSuccess: result = prime * result + [self.loginSuccess hash]; break; case DBTEAMLOGEventTypeLogout: result = prime * result + [self.logout hash]; break; case DBTEAMLOGEventTypeResellerSupportSessionEnd: result = prime * result + [self.resellerSupportSessionEnd hash]; break; case DBTEAMLOGEventTypeResellerSupportSessionStart: result = prime * result + [self.resellerSupportSessionStart hash]; break; case DBTEAMLOGEventTypeSignInAsSessionEnd: result = prime * result + [self.signInAsSessionEnd hash]; break; case DBTEAMLOGEventTypeSignInAsSessionStart: result = prime * result + [self.signInAsSessionStart hash]; break; case DBTEAMLOGEventTypeSsoError: 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.memberAddName hash]; break; case DBTEAMLOGEventTypeMemberChangeAdminRole: result = prime * result + [self.memberChangeAdminRole hash]; break; case DBTEAMLOGEventTypeMemberChangeEmail: 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.memberChangeName hash]; break; case DBTEAMLOGEventTypeMemberChangeResellerRole: result = prime * result + [self.memberChangeResellerRole hash]; break; case DBTEAMLOGEventTypeMemberChangeStatus: 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.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.paperContentAddMember hash]; break; case DBTEAMLOGEventTypePaperContentAddToFolder: result = prime * result + [self.paperContentAddToFolder hash]; break; case DBTEAMLOGEventTypePaperContentArchive: result = prime * result + [self.paperContentArchive hash]; break; case DBTEAMLOGEventTypePaperContentCreate: result = prime * result + [self.paperContentCreate hash]; break; case DBTEAMLOGEventTypePaperContentPermanentlyDelete: result = prime * result + [self.paperContentPermanentlyDelete hash]; break; case DBTEAMLOGEventTypePaperContentRemoveFromFolder: result = prime * result + [self.paperContentRemoveFromFolder hash]; break; case DBTEAMLOGEventTypePaperContentRemoveMember: result = prime * result + [self.paperContentRemoveMember hash]; break; case DBTEAMLOGEventTypePaperContentRename: result = prime * result + [self.paperContentRename hash]; break; case DBTEAMLOGEventTypePaperContentRestore: result = prime * result + [self.paperContentRestore hash]; break; case DBTEAMLOGEventTypePaperDocAddComment: result = prime * result + [self.paperDocAddComment hash]; break; case DBTEAMLOGEventTypePaperDocChangeMemberRole: result = prime * result + [self.paperDocChangeMemberRole hash]; break; case DBTEAMLOGEventTypePaperDocChangeSharingPolicy: result = prime * result + [self.paperDocChangeSharingPolicy hash]; break; case DBTEAMLOGEventTypePaperDocChangeSubscription: result = prime * result + [self.paperDocChangeSubscription hash]; break; case DBTEAMLOGEventTypePaperDocDeleted: result = prime * result + [self.paperDocDeleted hash]; break; case DBTEAMLOGEventTypePaperDocDeleteComment: result = prime * result + [self.paperDocDeleteComment hash]; break; case DBTEAMLOGEventTypePaperDocDownload: result = prime * result + [self.paperDocDownload hash]; break; case DBTEAMLOGEventTypePaperDocEdit: result = prime * result + [self.paperDocEdit hash]; break; case DBTEAMLOGEventTypePaperDocEditComment: result = prime * result + [self.paperDocEditComment hash]; break; case DBTEAMLOGEventTypePaperDocFollowed: result = prime * result + [self.paperDocFollowed hash]; break; case DBTEAMLOGEventTypePaperDocMention: result = prime * result + [self.paperDocMention hash]; break; case DBTEAMLOGEventTypePaperDocOwnershipChanged: result = prime * result + [self.paperDocOwnershipChanged hash]; break; case DBTEAMLOGEventTypePaperDocRequestAccess: result = prime * result + [self.paperDocRequestAccess hash]; break; case DBTEAMLOGEventTypePaperDocResolveComment: result = prime * result + [self.paperDocResolveComment hash]; break; case DBTEAMLOGEventTypePaperDocRevert: result = prime * result + [self.paperDocRevert hash]; break; case DBTEAMLOGEventTypePaperDocSlackShare: result = prime * result + [self.paperDocSlackShare hash]; break; case DBTEAMLOGEventTypePaperDocTeamInvite: result = prime * result + [self.paperDocTeamInvite hash]; break; case DBTEAMLOGEventTypePaperDocTrashed: result = prime * result + [self.paperDocTrashed hash]; break; case DBTEAMLOGEventTypePaperDocUnresolveComment: result = prime * result + [self.paperDocUnresolveComment hash]; break; case DBTEAMLOGEventTypePaperDocUntrashed: result = prime * result + [self.paperDocUntrashed hash]; break; case DBTEAMLOGEventTypePaperDocView: 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.paperFolderChangeSubscription hash]; break; case DBTEAMLOGEventTypePaperFolderDeleted: result = prime * result + [self.paperFolderDeleted hash]; break; case DBTEAMLOGEventTypePaperFolderFollowed: result = prime * result + [self.paperFolderFollowed hash]; break; case DBTEAMLOGEventTypePaperFolderTeamInvite: 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.passwordChange hash]; break; case DBTEAMLOGEventTypePasswordReset: result = prime * result + [self.passwordReset hash]; break; case DBTEAMLOGEventTypePasswordResetAll: 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.emmCreateExceptionsReport hash]; break; case DBTEAMLOGEventTypeEmmCreateUsageReport: 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.smartSyncCreateAdminPrivilegeReport hash]; break; case DBTEAMLOGEventTypeTeamActivityCreateReport: result = prime * result + [self.teamActivityCreateReport hash]; break; case DBTEAMLOGEventTypeTeamActivityCreateReportFail: result = prime * result + [self.teamActivityCreateReportFail hash]; break; case DBTEAMLOGEventTypeCollectionShare: 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.noteAclInviteOnly hash]; break; case DBTEAMLOGEventTypeNoteAclLink: result = prime * result + [self.noteAclLink hash]; break; case DBTEAMLOGEventTypeNoteAclTeamLink: result = prime * result + [self.noteAclTeamLink hash]; break; case DBTEAMLOGEventTypeNoteShared: result = prime * result + [self.noteShared hash]; break; case DBTEAMLOGEventTypeNoteShareReceive: result = prime * result + [self.noteShareReceive hash]; break; case DBTEAMLOGEventTypeOpenNoteShared: 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.sfAddGroup hash]; break; case DBTEAMLOGEventTypeSfAllowNonMembersToViewSharedLinks: 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.sfInviteGroup hash]; break; case DBTEAMLOGEventTypeSfTeamGrantAccess: result = prime * result + [self.sfTeamGrantAccess hash]; break; case DBTEAMLOGEventTypeSfTeamInvite: result = prime * result + [self.sfTeamInvite hash]; break; case DBTEAMLOGEventTypeSfTeamInviteChangeRole: result = prime * result + [self.sfTeamInviteChangeRole hash]; break; case DBTEAMLOGEventTypeSfTeamJoin: result = prime * result + [self.sfTeamJoin hash]; break; case DBTEAMLOGEventTypeSfTeamJoinFromOobLink: result = prime * result + [self.sfTeamJoinFromOobLink hash]; break; case DBTEAMLOGEventTypeSfTeamUninvite: result = prime * result + [self.sfTeamUninvite hash]; break; case DBTEAMLOGEventTypeSharedContentAddInvitees: result = prime * result + [self.sharedContentAddInvitees hash]; break; case DBTEAMLOGEventTypeSharedContentAddLinkExpiry: result = prime * result + [self.sharedContentAddLinkExpiry hash]; break; case DBTEAMLOGEventTypeSharedContentAddLinkPassword: result = prime * result + [self.sharedContentAddLinkPassword hash]; break; case DBTEAMLOGEventTypeSharedContentAddMember: result = prime * result + [self.sharedContentAddMember hash]; break; case DBTEAMLOGEventTypeSharedContentChangeDownloadsPolicy: result = prime * result + [self.sharedContentChangeDownloadsPolicy hash]; break; case DBTEAMLOGEventTypeSharedContentChangeInviteeRole: result = prime * result + [self.sharedContentChangeInviteeRole hash]; break; case DBTEAMLOGEventTypeSharedContentChangeLinkAudience: result = prime * result + [self.sharedContentChangeLinkAudience hash]; break; case DBTEAMLOGEventTypeSharedContentChangeLinkExpiry: result = prime * result + [self.sharedContentChangeLinkExpiry hash]; break; case DBTEAMLOGEventTypeSharedContentChangeLinkPassword: result = prime * result + [self.sharedContentChangeLinkPassword hash]; break; case DBTEAMLOGEventTypeSharedContentChangeMemberRole: result = prime * result + [self.sharedContentChangeMemberRole hash]; break; case DBTEAMLOGEventTypeSharedContentChangeViewerInfoPolicy: result = prime * result + [self.sharedContentChangeViewerInfoPolicy hash]; break; case DBTEAMLOGEventTypeSharedContentClaimInvitation: result = prime * result + [self.sharedContentClaimInvitation hash]; break; case DBTEAMLOGEventTypeSharedContentCopy: result = prime * result + [self.sharedContentCopy hash]; break; case DBTEAMLOGEventTypeSharedContentDownload: result = prime * result + [self.sharedContentDownload hash]; break; case DBTEAMLOGEventTypeSharedContentRelinquishMembership: result = prime * result + [self.sharedContentRelinquishMembership hash]; break; case DBTEAMLOGEventTypeSharedContentRemoveInvitees: result = prime * result + [self.sharedContentRemoveInvitees hash]; break; case DBTEAMLOGEventTypeSharedContentRemoveLinkExpiry: result = prime * result + [self.sharedContentRemoveLinkExpiry hash]; break; case DBTEAMLOGEventTypeSharedContentRemoveLinkPassword: result = prime * result + [self.sharedContentRemoveLinkPassword hash]; break; case DBTEAMLOGEventTypeSharedContentRemoveMember: result = prime * result + [self.sharedContentRemoveMember hash]; break; case DBTEAMLOGEventTypeSharedContentRequestAccess: 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.sharedContentUnshare hash]; break; case DBTEAMLOGEventTypeSharedContentView: result = prime * result + [self.sharedContentView hash]; break; case DBTEAMLOGEventTypeSharedFolderChangeLinkPolicy: 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.sharedFolderCreate hash]; break; case DBTEAMLOGEventTypeSharedFolderDeclineInvitation: result = prime * result + [self.sharedFolderDeclineInvitation hash]; break; case DBTEAMLOGEventTypeSharedFolderMount: result = prime * result + [self.sharedFolderMount hash]; break; case DBTEAMLOGEventTypeSharedFolderNest: result = prime * result + [self.sharedFolderNest hash]; break; case DBTEAMLOGEventTypeSharedFolderTransferOwnership: result = prime * result + [self.sharedFolderTransferOwnership hash]; break; case DBTEAMLOGEventTypeSharedFolderUnmount: 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.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.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.ssoAddCert hash]; break; case DBTEAMLOGEventTypeSsoAddLoginUrl: result = prime * result + [self.ssoAddLoginUrl hash]; break; case DBTEAMLOGEventTypeSsoAddLogoutUrl: result = prime * result + [self.ssoAddLogoutUrl hash]; break; case DBTEAMLOGEventTypeSsoChangeCert: result = prime * result + [self.ssoChangeCert hash]; break; case DBTEAMLOGEventTypeSsoChangeLoginUrl: result = prime * result + [self.ssoChangeLoginUrl hash]; break; case DBTEAMLOGEventTypeSsoChangeLogoutUrl: result = prime * result + [self.ssoChangeLogoutUrl hash]; break; case DBTEAMLOGEventTypeSsoChangeSamlIdentityMode: result = prime * result + [self.ssoChangeSamlIdentityMode hash]; break; case DBTEAMLOGEventTypeSsoRemoveCert: result = prime * result + [self.ssoRemoveCert hash]; break; case DBTEAMLOGEventTypeSsoRemoveLoginUrl: result = prime * result + [self.ssoRemoveLoginUrl hash]; break; case DBTEAMLOGEventTypeSsoRemoveLogoutUrl: result = prime * result + [self.ssoRemoveLogoutUrl hash]; break; case DBTEAMLOGEventTypeTeamFolderChangeStatus: result = prime * result + [self.teamFolderChangeStatus hash]; break; case DBTEAMLOGEventTypeTeamFolderCreate: result = prime * result + [self.teamFolderCreate hash]; break; case DBTEAMLOGEventTypeTeamFolderDowngrade: result = prime * result + [self.teamFolderDowngrade hash]; break; case DBTEAMLOGEventTypeTeamFolderPermanentlyDelete: result = prime * result + [self.teamFolderPermanentlyDelete hash]; break; case DBTEAMLOGEventTypeTeamFolderRename: result = prime * result + [self.teamFolderRename hash]; break; case DBTEAMLOGEventTypeTeamSelectiveSyncSettingsChanged: result = prime * result + [self.teamSelectiveSyncSettingsChanged hash]; break; case DBTEAMLOGEventTypeAccountCaptureChangePolicy: result = prime * result + [self.accountCaptureChangePolicy hash]; break; case DBTEAMLOGEventTypeAdminEmailRemindersChanged: result = prime * result + [self.adminEmailRemindersChanged hash]; break; case DBTEAMLOGEventTypeAllowDownloadDisabled: result = prime * result + [self.allowDownloadDisabled hash]; break; case DBTEAMLOGEventTypeAllowDownloadEnabled: 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.dataPlacementRestrictionChangePolicy hash]; break; case DBTEAMLOGEventTypeDataPlacementRestrictionSatisfyPolicy: result = prime * result + [self.dataPlacementRestrictionSatisfyPolicy hash]; break; case DBTEAMLOGEventTypeDeviceApprovalsAddException: result = prime * result + [self.deviceApprovalsAddException hash]; break; case DBTEAMLOGEventTypeDeviceApprovalsChangeDesktopPolicy: result = prime * result + [self.deviceApprovalsChangeDesktopPolicy hash]; break; case DBTEAMLOGEventTypeDeviceApprovalsChangeMobilePolicy: result = prime * result + [self.deviceApprovalsChangeMobilePolicy hash]; break; case DBTEAMLOGEventTypeDeviceApprovalsChangeOverageAction: result = prime * result + [self.deviceApprovalsChangeOverageAction hash]; break; case DBTEAMLOGEventTypeDeviceApprovalsChangeUnlinkAction: 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.emmAddException hash]; break; case DBTEAMLOGEventTypeEmmChangePolicy: result = prime * result + [self.emmChangePolicy hash]; break; case DBTEAMLOGEventTypeEmmRemoveException: result = prime * result + [self.emmRemoveException hash]; break; case DBTEAMLOGEventTypeExtendedVersionHistoryChangePolicy: result = prime * result + [self.extendedVersionHistoryChangePolicy hash]; break; case DBTEAMLOGEventTypeExternalDriveBackupPolicyChanged: result = prime * result + [self.externalDriveBackupPolicyChanged hash]; break; case DBTEAMLOGEventTypeFileCommentsChangePolicy: 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.fileRequestsChangePolicy hash]; break; case DBTEAMLOGEventTypeFileRequestsEmailsEnabled: result = prime * result + [self.fileRequestsEmailsEnabled hash]; break; case DBTEAMLOGEventTypeFileRequestsEmailsRestrictedToTeamOnly: 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.googleSsoChangePolicy hash]; break; case DBTEAMLOGEventTypeGroupUserManagementChangePolicy: 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.memberRequestsChangePolicy hash]; break; case DBTEAMLOGEventTypeMemberSendInvitePolicyChanged: result = prime * result + [self.memberSendInvitePolicyChanged hash]; break; case DBTEAMLOGEventTypeMemberSpaceLimitsAddException: result = prime * result + [self.memberSpaceLimitsAddException hash]; break; case DBTEAMLOGEventTypeMemberSpaceLimitsChangeCapsTypePolicy: result = prime * result + [self.memberSpaceLimitsChangeCapsTypePolicy hash]; break; case DBTEAMLOGEventTypeMemberSpaceLimitsChangePolicy: result = prime * result + [self.memberSpaceLimitsChangePolicy hash]; break; case DBTEAMLOGEventTypeMemberSpaceLimitsRemoveException: result = prime * result + [self.memberSpaceLimitsRemoveException hash]; break; case DBTEAMLOGEventTypeMemberSuggestionsChangePolicy: result = prime * result + [self.memberSuggestionsChangePolicy hash]; break; case DBTEAMLOGEventTypeMicrosoftOfficeAddinChangePolicy: result = prime * result + [self.microsoftOfficeAddinChangePolicy hash]; break; case DBTEAMLOGEventTypeNetworkControlChangePolicy: result = prime * result + [self.networkControlChangePolicy hash]; break; case DBTEAMLOGEventTypePaperChangeDeploymentPolicy: result = prime * result + [self.paperChangeDeploymentPolicy hash]; break; case DBTEAMLOGEventTypePaperChangeMemberLinkPolicy: result = prime * result + [self.paperChangeMemberLinkPolicy hash]; break; case DBTEAMLOGEventTypePaperChangeMemberPolicy: result = prime * result + [self.paperChangeMemberPolicy hash]; break; case DBTEAMLOGEventTypePaperChangePolicy: 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.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.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.sharingChangeLinkPolicy hash]; break; case DBTEAMLOGEventTypeSharingChangeMemberPolicy: 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.smartSyncChangePolicy hash]; break; case DBTEAMLOGEventTypeSmartSyncNotOptOut: result = prime * result + [self.smartSyncNotOptOut hash]; break; case DBTEAMLOGEventTypeSmartSyncOptOut: result = prime * result + [self.smartSyncOptOut hash]; break; case DBTEAMLOGEventTypeSsoChangePolicy: 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.tfaChangePolicy hash]; break; case DBTEAMLOGEventTypeTfaRemoveException: result = prime * result + [self.tfaRemoveException hash]; break; case DBTEAMLOGEventTypeTwoAccountChangePolicy: 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.webSessionsChangeFixedLengthPolicy hash]; break; case DBTEAMLOGEventTypeWebSessionsChangeIdleLengthPolicy: 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.teamProfileAddLogo hash]; break; case DBTEAMLOGEventTypeTeamProfileChangeBackground: result = prime * result + [self.teamProfileChangeBackground hash]; break; case DBTEAMLOGEventTypeTeamProfileChangeDefaultLanguage: result = prime * result + [self.teamProfileChangeDefaultLanguage hash]; break; case DBTEAMLOGEventTypeTeamProfileChangeLogo: result = prime * result + [self.teamProfileChangeLogo hash]; break; case DBTEAMLOGEventTypeTeamProfileChangeName: result = prime * result + [self.teamProfileChangeName hash]; break; case DBTEAMLOGEventTypeTeamProfileRemoveBackground: result = prime * result + [self.teamProfileRemoveBackground hash]; break; case DBTEAMLOGEventTypeTeamProfileRemoveLogo: result = prime * result + [self.teamProfileRemoveLogo hash]; break; case DBTEAMLOGEventTypeTfaAddBackupPhone: result = prime * result + [self.tfaAddBackupPhone hash]; break; case DBTEAMLOGEventTypeTfaAddSecurityKey: result = prime * result + [self.tfaAddSecurityKey hash]; break; case DBTEAMLOGEventTypeTfaChangeBackupPhone: result = prime * result + [self.tfaChangeBackupPhone hash]; break; case DBTEAMLOGEventTypeTfaChangeStatus: result = prime * result + [self.tfaChangeStatus hash]; break; case DBTEAMLOGEventTypeTfaRemoveBackupPhone: result = prime * result + [self.tfaRemoveBackupPhone hash]; break; case DBTEAMLOGEventTypeTfaRemoveSecurityKey: result = prime * result + [self.tfaRemoveSecurityKey hash]; break; case DBTEAMLOGEventTypeTfaReset: 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToEventType:other]; } - (BOOL)isEqualToEventType:(DBTEAMLOGEventType *)anEventType { if (self == anEventType) { return YES; } if (self.tag != anEventType.tag) { return NO; } switch (_tag) { 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.appLinkTeam isEqual:anEventType.appLinkTeam]; case DBTEAMLOGEventTypeAppLinkUser: return [self.appLinkUser isEqual:anEventType.appLinkUser]; case DBTEAMLOGEventTypeAppUnlinkTeam: return [self.appUnlinkTeam isEqual:anEventType.appUnlinkTeam]; case DBTEAMLOGEventTypeAppUnlinkUser: 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.fileAddComment isEqual:anEventType.fileAddComment]; case DBTEAMLOGEventTypeFileChangeCommentSubscription: return [self.fileChangeCommentSubscription isEqual:anEventType.fileChangeCommentSubscription]; case DBTEAMLOGEventTypeFileDeleteComment: return [self.fileDeleteComment isEqual:anEventType.fileDeleteComment]; case DBTEAMLOGEventTypeFileEditComment: return [self.fileEditComment isEqual:anEventType.fileEditComment]; case DBTEAMLOGEventTypeFileLikeComment: return [self.fileLikeComment isEqual:anEventType.fileLikeComment]; case DBTEAMLOGEventTypeFileResolveComment: return [self.fileResolveComment isEqual:anEventType.fileResolveComment]; case DBTEAMLOGEventTypeFileUnlikeComment: return [self.fileUnlikeComment isEqual:anEventType.fileUnlikeComment]; case DBTEAMLOGEventTypeFileUnresolveComment: 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.deviceChangeIpDesktop isEqual:anEventType.deviceChangeIpDesktop]; case DBTEAMLOGEventTypeDeviceChangeIpMobile: return [self.deviceChangeIpMobile isEqual:anEventType.deviceChangeIpMobile]; case DBTEAMLOGEventTypeDeviceChangeIpWeb: return [self.deviceChangeIpWeb isEqual:anEventType.deviceChangeIpWeb]; case DBTEAMLOGEventTypeDeviceDeleteOnUnlinkFail: return [self.deviceDeleteOnUnlinkFail isEqual:anEventType.deviceDeleteOnUnlinkFail]; case DBTEAMLOGEventTypeDeviceDeleteOnUnlinkSuccess: return [self.deviceDeleteOnUnlinkSuccess isEqual:anEventType.deviceDeleteOnUnlinkSuccess]; case DBTEAMLOGEventTypeDeviceLinkFail: return [self.deviceLinkFail isEqual:anEventType.deviceLinkFail]; case DBTEAMLOGEventTypeDeviceLinkSuccess: return [self.deviceLinkSuccess isEqual:anEventType.deviceLinkSuccess]; case DBTEAMLOGEventTypeDeviceManagementDisabled: return [self.deviceManagementDisabled isEqual:anEventType.deviceManagementDisabled]; case DBTEAMLOGEventTypeDeviceManagementEnabled: return [self.deviceManagementEnabled isEqual:anEventType.deviceManagementEnabled]; case DBTEAMLOGEventTypeDeviceSyncBackupStatusChanged: return [self.deviceSyncBackupStatusChanged isEqual:anEventType.deviceSyncBackupStatusChanged]; case DBTEAMLOGEventTypeDeviceUnlink: 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.emmRefreshAuthToken isEqual:anEventType.emmRefreshAuthToken]; case DBTEAMLOGEventTypeExternalDriveBackupEligibilityStatusChecked: return [self.externalDriveBackupEligibilityStatusChecked isEqual:anEventType.externalDriveBackupEligibilityStatusChecked]; case DBTEAMLOGEventTypeExternalDriveBackupStatusChanged: return [self.externalDriveBackupStatusChanged isEqual:anEventType.externalDriveBackupStatusChanged]; case DBTEAMLOGEventTypeAccountCaptureChangeAvailability: return [self.accountCaptureChangeAvailability isEqual:anEventType.accountCaptureChangeAvailability]; case DBTEAMLOGEventTypeAccountCaptureMigrateAccount: return [self.accountCaptureMigrateAccount isEqual:anEventType.accountCaptureMigrateAccount]; case DBTEAMLOGEventTypeAccountCaptureNotificationEmailsSent: return [self.accountCaptureNotificationEmailsSent isEqual:anEventType.accountCaptureNotificationEmailsSent]; case DBTEAMLOGEventTypeAccountCaptureRelinquishAccount: return [self.accountCaptureRelinquishAccount isEqual:anEventType.accountCaptureRelinquishAccount]; case DBTEAMLOGEventTypeDisabledDomainInvites: return [self.disabledDomainInvites isEqual:anEventType.disabledDomainInvites]; case DBTEAMLOGEventTypeDomainInvitesApproveRequestToJoinTeam: return [self.domainInvitesApproveRequestToJoinTeam isEqual:anEventType.domainInvitesApproveRequestToJoinTeam]; case DBTEAMLOGEventTypeDomainInvitesDeclineRequestToJoinTeam: return [self.domainInvitesDeclineRequestToJoinTeam isEqual:anEventType.domainInvitesDeclineRequestToJoinTeam]; case DBTEAMLOGEventTypeDomainInvitesEmailExistingUsers: return [self.domainInvitesEmailExistingUsers isEqual:anEventType.domainInvitesEmailExistingUsers]; case DBTEAMLOGEventTypeDomainInvitesRequestToJoinTeam: return [self.domainInvitesRequestToJoinTeam isEqual:anEventType.domainInvitesRequestToJoinTeam]; case DBTEAMLOGEventTypeDomainInvitesSetInviteNewUserPrefToNo: return [self.domainInvitesSetInviteNewUserPrefToNo isEqual:anEventType.domainInvitesSetInviteNewUserPrefToNo]; case DBTEAMLOGEventTypeDomainInvitesSetInviteNewUserPrefToYes: return [self.domainInvitesSetInviteNewUserPrefToYes isEqual:anEventType.domainInvitesSetInviteNewUserPrefToYes]; case DBTEAMLOGEventTypeDomainVerificationAddDomainFail: return [self.domainVerificationAddDomainFail isEqual:anEventType.domainVerificationAddDomainFail]; case DBTEAMLOGEventTypeDomainVerificationAddDomainSuccess: return [self.domainVerificationAddDomainSuccess isEqual:anEventType.domainVerificationAddDomainSuccess]; case DBTEAMLOGEventTypeDomainVerificationRemoveDomain: return [self.domainVerificationRemoveDomain isEqual:anEventType.domainVerificationRemoveDomain]; case DBTEAMLOGEventTypeEnabledDomainInvites: 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.createFolder isEqual:anEventType.createFolder]; case DBTEAMLOGEventTypeFileAdd: return [self.fileAdd isEqual:anEventType.fileAdd]; case DBTEAMLOGEventTypeFileAddFromAutomation: return [self.fileAddFromAutomation isEqual:anEventType.fileAddFromAutomation]; case DBTEAMLOGEventTypeFileCopy: return [self.fileCopy isEqual:anEventType.fileCopy]; case DBTEAMLOGEventTypeFileDelete: return [self.fileDelete isEqual:anEventType.fileDelete]; case DBTEAMLOGEventTypeFileDownload: return [self.fileDownload isEqual:anEventType.fileDownload]; case DBTEAMLOGEventTypeFileEdit: return [self.fileEdit isEqual:anEventType.fileEdit]; case DBTEAMLOGEventTypeFileGetCopyReference: return [self.fileGetCopyReference isEqual:anEventType.fileGetCopyReference]; case DBTEAMLOGEventTypeFileLockingLockStatusChanged: return [self.fileLockingLockStatusChanged isEqual:anEventType.fileLockingLockStatusChanged]; case DBTEAMLOGEventTypeFileMove: return [self.fileMove isEqual:anEventType.fileMove]; case DBTEAMLOGEventTypeFilePermanentlyDelete: return [self.filePermanentlyDelete isEqual:anEventType.filePermanentlyDelete]; case DBTEAMLOGEventTypeFilePreview: return [self.filePreview isEqual:anEventType.filePreview]; case DBTEAMLOGEventTypeFileRename: return [self.fileRename isEqual:anEventType.fileRename]; case DBTEAMLOGEventTypeFileRestore: return [self.fileRestore isEqual:anEventType.fileRestore]; case DBTEAMLOGEventTypeFileRevert: return [self.fileRevert isEqual:anEventType.fileRevert]; case DBTEAMLOGEventTypeFileRollbackChanges: return [self.fileRollbackChanges isEqual:anEventType.fileRollbackChanges]; case DBTEAMLOGEventTypeFileSaveCopyReference: 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.fileRequestChange isEqual:anEventType.fileRequestChange]; case DBTEAMLOGEventTypeFileRequestClose: return [self.fileRequestClose isEqual:anEventType.fileRequestClose]; case DBTEAMLOGEventTypeFileRequestCreate: return [self.fileRequestCreate isEqual:anEventType.fileRequestCreate]; case DBTEAMLOGEventTypeFileRequestDelete: return [self.fileRequestDelete isEqual:anEventType.fileRequestDelete]; case DBTEAMLOGEventTypeFileRequestReceiveFile: return [self.fileRequestReceiveFile isEqual:anEventType.fileRequestReceiveFile]; case DBTEAMLOGEventTypeGroupAddExternalId: return [self.groupAddExternalId isEqual:anEventType.groupAddExternalId]; case DBTEAMLOGEventTypeGroupAddMember: return [self.groupAddMember isEqual:anEventType.groupAddMember]; case DBTEAMLOGEventTypeGroupChangeExternalId: return [self.groupChangeExternalId isEqual:anEventType.groupChangeExternalId]; case DBTEAMLOGEventTypeGroupChangeManagementType: return [self.groupChangeManagementType isEqual:anEventType.groupChangeManagementType]; case DBTEAMLOGEventTypeGroupChangeMemberRole: return [self.groupChangeMemberRole isEqual:anEventType.groupChangeMemberRole]; case DBTEAMLOGEventTypeGroupCreate: return [self.groupCreate isEqual:anEventType.groupCreate]; case DBTEAMLOGEventTypeGroupDelete: 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.groupMoved isEqual:anEventType.groupMoved]; case DBTEAMLOGEventTypeGroupRemoveExternalId: return [self.groupRemoveExternalId isEqual:anEventType.groupRemoveExternalId]; case DBTEAMLOGEventTypeGroupRemoveMember: return [self.groupRemoveMember isEqual:anEventType.groupRemoveMember]; case DBTEAMLOGEventTypeGroupRename: return [self.groupRename isEqual:anEventType.groupRename]; case DBTEAMLOGEventTypeAccountLockOrUnlocked: return [self.accountLockOrUnlocked isEqual:anEventType.accountLockOrUnlocked]; case DBTEAMLOGEventTypeEmmError: 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.loginFail isEqual:anEventType.loginFail]; case DBTEAMLOGEventTypeLoginSuccess: return [self.loginSuccess isEqual:anEventType.loginSuccess]; case DBTEAMLOGEventTypeLogout: return [self.logout isEqual:anEventType.logout]; case DBTEAMLOGEventTypeResellerSupportSessionEnd: return [self.resellerSupportSessionEnd isEqual:anEventType.resellerSupportSessionEnd]; case DBTEAMLOGEventTypeResellerSupportSessionStart: return [self.resellerSupportSessionStart isEqual:anEventType.resellerSupportSessionStart]; case DBTEAMLOGEventTypeSignInAsSessionEnd: return [self.signInAsSessionEnd isEqual:anEventType.signInAsSessionEnd]; case DBTEAMLOGEventTypeSignInAsSessionStart: return [self.signInAsSessionStart isEqual:anEventType.signInAsSessionStart]; case DBTEAMLOGEventTypeSsoError: 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.memberAddName isEqual:anEventType.memberAddName]; case DBTEAMLOGEventTypeMemberChangeAdminRole: return [self.memberChangeAdminRole isEqual:anEventType.memberChangeAdminRole]; case DBTEAMLOGEventTypeMemberChangeEmail: 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.memberChangeName isEqual:anEventType.memberChangeName]; case DBTEAMLOGEventTypeMemberChangeResellerRole: return [self.memberChangeResellerRole isEqual:anEventType.memberChangeResellerRole]; case DBTEAMLOGEventTypeMemberChangeStatus: 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.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.paperContentAddMember isEqual:anEventType.paperContentAddMember]; case DBTEAMLOGEventTypePaperContentAddToFolder: return [self.paperContentAddToFolder isEqual:anEventType.paperContentAddToFolder]; case DBTEAMLOGEventTypePaperContentArchive: return [self.paperContentArchive isEqual:anEventType.paperContentArchive]; case DBTEAMLOGEventTypePaperContentCreate: return [self.paperContentCreate isEqual:anEventType.paperContentCreate]; case DBTEAMLOGEventTypePaperContentPermanentlyDelete: return [self.paperContentPermanentlyDelete isEqual:anEventType.paperContentPermanentlyDelete]; case DBTEAMLOGEventTypePaperContentRemoveFromFolder: return [self.paperContentRemoveFromFolder isEqual:anEventType.paperContentRemoveFromFolder]; case DBTEAMLOGEventTypePaperContentRemoveMember: return [self.paperContentRemoveMember isEqual:anEventType.paperContentRemoveMember]; case DBTEAMLOGEventTypePaperContentRename: return [self.paperContentRename isEqual:anEventType.paperContentRename]; case DBTEAMLOGEventTypePaperContentRestore: return [self.paperContentRestore isEqual:anEventType.paperContentRestore]; case DBTEAMLOGEventTypePaperDocAddComment: return [self.paperDocAddComment isEqual:anEventType.paperDocAddComment]; case DBTEAMLOGEventTypePaperDocChangeMemberRole: return [self.paperDocChangeMemberRole isEqual:anEventType.paperDocChangeMemberRole]; case DBTEAMLOGEventTypePaperDocChangeSharingPolicy: return [self.paperDocChangeSharingPolicy isEqual:anEventType.paperDocChangeSharingPolicy]; case DBTEAMLOGEventTypePaperDocChangeSubscription: return [self.paperDocChangeSubscription isEqual:anEventType.paperDocChangeSubscription]; case DBTEAMLOGEventTypePaperDocDeleted: return [self.paperDocDeleted isEqual:anEventType.paperDocDeleted]; case DBTEAMLOGEventTypePaperDocDeleteComment: return [self.paperDocDeleteComment isEqual:anEventType.paperDocDeleteComment]; case DBTEAMLOGEventTypePaperDocDownload: return [self.paperDocDownload isEqual:anEventType.paperDocDownload]; case DBTEAMLOGEventTypePaperDocEdit: return [self.paperDocEdit isEqual:anEventType.paperDocEdit]; case DBTEAMLOGEventTypePaperDocEditComment: return [self.paperDocEditComment isEqual:anEventType.paperDocEditComment]; case DBTEAMLOGEventTypePaperDocFollowed: return [self.paperDocFollowed isEqual:anEventType.paperDocFollowed]; case DBTEAMLOGEventTypePaperDocMention: return [self.paperDocMention isEqual:anEventType.paperDocMention]; case DBTEAMLOGEventTypePaperDocOwnershipChanged: return [self.paperDocOwnershipChanged isEqual:anEventType.paperDocOwnershipChanged]; case DBTEAMLOGEventTypePaperDocRequestAccess: return [self.paperDocRequestAccess isEqual:anEventType.paperDocRequestAccess]; case DBTEAMLOGEventTypePaperDocResolveComment: return [self.paperDocResolveComment isEqual:anEventType.paperDocResolveComment]; case DBTEAMLOGEventTypePaperDocRevert: return [self.paperDocRevert isEqual:anEventType.paperDocRevert]; case DBTEAMLOGEventTypePaperDocSlackShare: return [self.paperDocSlackShare isEqual:anEventType.paperDocSlackShare]; case DBTEAMLOGEventTypePaperDocTeamInvite: return [self.paperDocTeamInvite isEqual:anEventType.paperDocTeamInvite]; case DBTEAMLOGEventTypePaperDocTrashed: return [self.paperDocTrashed isEqual:anEventType.paperDocTrashed]; case DBTEAMLOGEventTypePaperDocUnresolveComment: return [self.paperDocUnresolveComment isEqual:anEventType.paperDocUnresolveComment]; case DBTEAMLOGEventTypePaperDocUntrashed: return [self.paperDocUntrashed isEqual:anEventType.paperDocUntrashed]; case DBTEAMLOGEventTypePaperDocView: 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.paperFolderChangeSubscription isEqual:anEventType.paperFolderChangeSubscription]; case DBTEAMLOGEventTypePaperFolderDeleted: return [self.paperFolderDeleted isEqual:anEventType.paperFolderDeleted]; case DBTEAMLOGEventTypePaperFolderFollowed: return [self.paperFolderFollowed isEqual:anEventType.paperFolderFollowed]; case DBTEAMLOGEventTypePaperFolderTeamInvite: 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.passwordChange isEqual:anEventType.passwordChange]; case DBTEAMLOGEventTypePasswordReset: return [self.passwordReset isEqual:anEventType.passwordReset]; case DBTEAMLOGEventTypePasswordResetAll: 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.emmCreateExceptionsReport isEqual:anEventType.emmCreateExceptionsReport]; case DBTEAMLOGEventTypeEmmCreateUsageReport: 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.smartSyncCreateAdminPrivilegeReport isEqual:anEventType.smartSyncCreateAdminPrivilegeReport]; case DBTEAMLOGEventTypeTeamActivityCreateReport: return [self.teamActivityCreateReport isEqual:anEventType.teamActivityCreateReport]; case DBTEAMLOGEventTypeTeamActivityCreateReportFail: return [self.teamActivityCreateReportFail isEqual:anEventType.teamActivityCreateReportFail]; case DBTEAMLOGEventTypeCollectionShare: 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.noteAclInviteOnly isEqual:anEventType.noteAclInviteOnly]; case DBTEAMLOGEventTypeNoteAclLink: return [self.noteAclLink isEqual:anEventType.noteAclLink]; case DBTEAMLOGEventTypeNoteAclTeamLink: return [self.noteAclTeamLink isEqual:anEventType.noteAclTeamLink]; case DBTEAMLOGEventTypeNoteShared: return [self.noteShared isEqual:anEventType.noteShared]; case DBTEAMLOGEventTypeNoteShareReceive: return [self.noteShareReceive isEqual:anEventType.noteShareReceive]; case DBTEAMLOGEventTypeOpenNoteShared: 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.sfAddGroup isEqual:anEventType.sfAddGroup]; case DBTEAMLOGEventTypeSfAllowNonMembersToViewSharedLinks: 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.sfInviteGroup isEqual:anEventType.sfInviteGroup]; case DBTEAMLOGEventTypeSfTeamGrantAccess: return [self.sfTeamGrantAccess isEqual:anEventType.sfTeamGrantAccess]; case DBTEAMLOGEventTypeSfTeamInvite: return [self.sfTeamInvite isEqual:anEventType.sfTeamInvite]; case DBTEAMLOGEventTypeSfTeamInviteChangeRole: return [self.sfTeamInviteChangeRole isEqual:anEventType.sfTeamInviteChangeRole]; case DBTEAMLOGEventTypeSfTeamJoin: return [self.sfTeamJoin isEqual:anEventType.sfTeamJoin]; case DBTEAMLOGEventTypeSfTeamJoinFromOobLink: return [self.sfTeamJoinFromOobLink isEqual:anEventType.sfTeamJoinFromOobLink]; case DBTEAMLOGEventTypeSfTeamUninvite: return [self.sfTeamUninvite isEqual:anEventType.sfTeamUninvite]; case DBTEAMLOGEventTypeSharedContentAddInvitees: return [self.sharedContentAddInvitees isEqual:anEventType.sharedContentAddInvitees]; case DBTEAMLOGEventTypeSharedContentAddLinkExpiry: return [self.sharedContentAddLinkExpiry isEqual:anEventType.sharedContentAddLinkExpiry]; case DBTEAMLOGEventTypeSharedContentAddLinkPassword: return [self.sharedContentAddLinkPassword isEqual:anEventType.sharedContentAddLinkPassword]; case DBTEAMLOGEventTypeSharedContentAddMember: return [self.sharedContentAddMember isEqual:anEventType.sharedContentAddMember]; case DBTEAMLOGEventTypeSharedContentChangeDownloadsPolicy: return [self.sharedContentChangeDownloadsPolicy isEqual:anEventType.sharedContentChangeDownloadsPolicy]; case DBTEAMLOGEventTypeSharedContentChangeInviteeRole: return [self.sharedContentChangeInviteeRole isEqual:anEventType.sharedContentChangeInviteeRole]; case DBTEAMLOGEventTypeSharedContentChangeLinkAudience: return [self.sharedContentChangeLinkAudience isEqual:anEventType.sharedContentChangeLinkAudience]; case DBTEAMLOGEventTypeSharedContentChangeLinkExpiry: return [self.sharedContentChangeLinkExpiry isEqual:anEventType.sharedContentChangeLinkExpiry]; case DBTEAMLOGEventTypeSharedContentChangeLinkPassword: return [self.sharedContentChangeLinkPassword isEqual:anEventType.sharedContentChangeLinkPassword]; case DBTEAMLOGEventTypeSharedContentChangeMemberRole: return [self.sharedContentChangeMemberRole isEqual:anEventType.sharedContentChangeMemberRole]; case DBTEAMLOGEventTypeSharedContentChangeViewerInfoPolicy: return [self.sharedContentChangeViewerInfoPolicy isEqual:anEventType.sharedContentChangeViewerInfoPolicy]; case DBTEAMLOGEventTypeSharedContentClaimInvitation: return [self.sharedContentClaimInvitation isEqual:anEventType.sharedContentClaimInvitation]; case DBTEAMLOGEventTypeSharedContentCopy: return [self.sharedContentCopy isEqual:anEventType.sharedContentCopy]; case DBTEAMLOGEventTypeSharedContentDownload: return [self.sharedContentDownload isEqual:anEventType.sharedContentDownload]; case DBTEAMLOGEventTypeSharedContentRelinquishMembership: return [self.sharedContentRelinquishMembership isEqual:anEventType.sharedContentRelinquishMembership]; case DBTEAMLOGEventTypeSharedContentRemoveInvitees: return [self.sharedContentRemoveInvitees isEqual:anEventType.sharedContentRemoveInvitees]; case DBTEAMLOGEventTypeSharedContentRemoveLinkExpiry: return [self.sharedContentRemoveLinkExpiry isEqual:anEventType.sharedContentRemoveLinkExpiry]; case DBTEAMLOGEventTypeSharedContentRemoveLinkPassword: return [self.sharedContentRemoveLinkPassword isEqual:anEventType.sharedContentRemoveLinkPassword]; case DBTEAMLOGEventTypeSharedContentRemoveMember: return [self.sharedContentRemoveMember isEqual:anEventType.sharedContentRemoveMember]; case DBTEAMLOGEventTypeSharedContentRequestAccess: 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.sharedContentUnshare isEqual:anEventType.sharedContentUnshare]; case DBTEAMLOGEventTypeSharedContentView: return [self.sharedContentView isEqual:anEventType.sharedContentView]; case DBTEAMLOGEventTypeSharedFolderChangeLinkPolicy: 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.sharedFolderCreate isEqual:anEventType.sharedFolderCreate]; case DBTEAMLOGEventTypeSharedFolderDeclineInvitation: return [self.sharedFolderDeclineInvitation isEqual:anEventType.sharedFolderDeclineInvitation]; case DBTEAMLOGEventTypeSharedFolderMount: return [self.sharedFolderMount isEqual:anEventType.sharedFolderMount]; case DBTEAMLOGEventTypeSharedFolderNest: return [self.sharedFolderNest isEqual:anEventType.sharedFolderNest]; case DBTEAMLOGEventTypeSharedFolderTransferOwnership: return [self.sharedFolderTransferOwnership isEqual:anEventType.sharedFolderTransferOwnership]; case DBTEAMLOGEventTypeSharedFolderUnmount: 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.sharedNoteOpened isEqual:anEventType.sharedNoteOpened]; case DBTEAMLOGEventTypeShmodelDisableDownloads: return [self.shmodelDisableDownloads isEqual:anEventType.shmodelDisableDownloads]; case DBTEAMLOGEventTypeShmodelEnableDownloads: return [self.shmodelEnableDownloads isEqual:anEventType.shmodelEnableDownloads]; case DBTEAMLOGEventTypeShmodelGroupShare: 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.ssoAddCert isEqual:anEventType.ssoAddCert]; case DBTEAMLOGEventTypeSsoAddLoginUrl: return [self.ssoAddLoginUrl isEqual:anEventType.ssoAddLoginUrl]; case DBTEAMLOGEventTypeSsoAddLogoutUrl: return [self.ssoAddLogoutUrl isEqual:anEventType.ssoAddLogoutUrl]; case DBTEAMLOGEventTypeSsoChangeCert: return [self.ssoChangeCert isEqual:anEventType.ssoChangeCert]; case DBTEAMLOGEventTypeSsoChangeLoginUrl: return [self.ssoChangeLoginUrl isEqual:anEventType.ssoChangeLoginUrl]; case DBTEAMLOGEventTypeSsoChangeLogoutUrl: return [self.ssoChangeLogoutUrl isEqual:anEventType.ssoChangeLogoutUrl]; case DBTEAMLOGEventTypeSsoChangeSamlIdentityMode: return [self.ssoChangeSamlIdentityMode isEqual:anEventType.ssoChangeSamlIdentityMode]; case DBTEAMLOGEventTypeSsoRemoveCert: return [self.ssoRemoveCert isEqual:anEventType.ssoRemoveCert]; case DBTEAMLOGEventTypeSsoRemoveLoginUrl: return [self.ssoRemoveLoginUrl isEqual:anEventType.ssoRemoveLoginUrl]; case DBTEAMLOGEventTypeSsoRemoveLogoutUrl: return [self.ssoRemoveLogoutUrl isEqual:anEventType.ssoRemoveLogoutUrl]; case DBTEAMLOGEventTypeTeamFolderChangeStatus: return [self.teamFolderChangeStatus isEqual:anEventType.teamFolderChangeStatus]; case DBTEAMLOGEventTypeTeamFolderCreate: return [self.teamFolderCreate isEqual:anEventType.teamFolderCreate]; case DBTEAMLOGEventTypeTeamFolderDowngrade: return [self.teamFolderDowngrade isEqual:anEventType.teamFolderDowngrade]; case DBTEAMLOGEventTypeTeamFolderPermanentlyDelete: return [self.teamFolderPermanentlyDelete isEqual:anEventType.teamFolderPermanentlyDelete]; case DBTEAMLOGEventTypeTeamFolderRename: return [self.teamFolderRename isEqual:anEventType.teamFolderRename]; case DBTEAMLOGEventTypeTeamSelectiveSyncSettingsChanged: return [self.teamSelectiveSyncSettingsChanged isEqual:anEventType.teamSelectiveSyncSettingsChanged]; case DBTEAMLOGEventTypeAccountCaptureChangePolicy: return [self.accountCaptureChangePolicy isEqual:anEventType.accountCaptureChangePolicy]; case DBTEAMLOGEventTypeAdminEmailRemindersChanged: return [self.adminEmailRemindersChanged isEqual:anEventType.adminEmailRemindersChanged]; case DBTEAMLOGEventTypeAllowDownloadDisabled: return [self.allowDownloadDisabled isEqual:anEventType.allowDownloadDisabled]; case DBTEAMLOGEventTypeAllowDownloadEnabled: 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.dataPlacementRestrictionChangePolicy isEqual:anEventType.dataPlacementRestrictionChangePolicy]; case DBTEAMLOGEventTypeDataPlacementRestrictionSatisfyPolicy: return [self.dataPlacementRestrictionSatisfyPolicy isEqual:anEventType.dataPlacementRestrictionSatisfyPolicy]; case DBTEAMLOGEventTypeDeviceApprovalsAddException: return [self.deviceApprovalsAddException isEqual:anEventType.deviceApprovalsAddException]; case DBTEAMLOGEventTypeDeviceApprovalsChangeDesktopPolicy: return [self.deviceApprovalsChangeDesktopPolicy isEqual:anEventType.deviceApprovalsChangeDesktopPolicy]; case DBTEAMLOGEventTypeDeviceApprovalsChangeMobilePolicy: return [self.deviceApprovalsChangeMobilePolicy isEqual:anEventType.deviceApprovalsChangeMobilePolicy]; case DBTEAMLOGEventTypeDeviceApprovalsChangeOverageAction: return [self.deviceApprovalsChangeOverageAction isEqual:anEventType.deviceApprovalsChangeOverageAction]; case DBTEAMLOGEventTypeDeviceApprovalsChangeUnlinkAction: 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.emmAddException isEqual:anEventType.emmAddException]; case DBTEAMLOGEventTypeEmmChangePolicy: return [self.emmChangePolicy isEqual:anEventType.emmChangePolicy]; case DBTEAMLOGEventTypeEmmRemoveException: return [self.emmRemoveException isEqual:anEventType.emmRemoveException]; case DBTEAMLOGEventTypeExtendedVersionHistoryChangePolicy: return [self.extendedVersionHistoryChangePolicy isEqual:anEventType.extendedVersionHistoryChangePolicy]; case DBTEAMLOGEventTypeExternalDriveBackupPolicyChanged: return [self.externalDriveBackupPolicyChanged isEqual:anEventType.externalDriveBackupPolicyChanged]; case DBTEAMLOGEventTypeFileCommentsChangePolicy: 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.fileRequestsChangePolicy isEqual:anEventType.fileRequestsChangePolicy]; case DBTEAMLOGEventTypeFileRequestsEmailsEnabled: return [self.fileRequestsEmailsEnabled isEqual:anEventType.fileRequestsEmailsEnabled]; case DBTEAMLOGEventTypeFileRequestsEmailsRestrictedToTeamOnly: 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.googleSsoChangePolicy isEqual:anEventType.googleSsoChangePolicy]; case DBTEAMLOGEventTypeGroupUserManagementChangePolicy: 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.memberRequestsChangePolicy isEqual:anEventType.memberRequestsChangePolicy]; case DBTEAMLOGEventTypeMemberSendInvitePolicyChanged: return [self.memberSendInvitePolicyChanged isEqual:anEventType.memberSendInvitePolicyChanged]; case DBTEAMLOGEventTypeMemberSpaceLimitsAddException: return [self.memberSpaceLimitsAddException isEqual:anEventType.memberSpaceLimitsAddException]; case DBTEAMLOGEventTypeMemberSpaceLimitsChangeCapsTypePolicy: return [self.memberSpaceLimitsChangeCapsTypePolicy isEqual:anEventType.memberSpaceLimitsChangeCapsTypePolicy]; case DBTEAMLOGEventTypeMemberSpaceLimitsChangePolicy: return [self.memberSpaceLimitsChangePolicy isEqual:anEventType.memberSpaceLimitsChangePolicy]; case DBTEAMLOGEventTypeMemberSpaceLimitsRemoveException: return [self.memberSpaceLimitsRemoveException isEqual:anEventType.memberSpaceLimitsRemoveException]; case DBTEAMLOGEventTypeMemberSuggestionsChangePolicy: return [self.memberSuggestionsChangePolicy isEqual:anEventType.memberSuggestionsChangePolicy]; case DBTEAMLOGEventTypeMicrosoftOfficeAddinChangePolicy: return [self.microsoftOfficeAddinChangePolicy isEqual:anEventType.microsoftOfficeAddinChangePolicy]; case DBTEAMLOGEventTypeNetworkControlChangePolicy: return [self.networkControlChangePolicy isEqual:anEventType.networkControlChangePolicy]; case DBTEAMLOGEventTypePaperChangeDeploymentPolicy: return [self.paperChangeDeploymentPolicy isEqual:anEventType.paperChangeDeploymentPolicy]; case DBTEAMLOGEventTypePaperChangeMemberLinkPolicy: return [self.paperChangeMemberLinkPolicy isEqual:anEventType.paperChangeMemberLinkPolicy]; case DBTEAMLOGEventTypePaperChangeMemberPolicy: return [self.paperChangeMemberPolicy isEqual:anEventType.paperChangeMemberPolicy]; case DBTEAMLOGEventTypePaperChangePolicy: 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.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.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.sharingChangeLinkPolicy isEqual:anEventType.sharingChangeLinkPolicy]; case DBTEAMLOGEventTypeSharingChangeMemberPolicy: 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.smartSyncChangePolicy isEqual:anEventType.smartSyncChangePolicy]; case DBTEAMLOGEventTypeSmartSyncNotOptOut: return [self.smartSyncNotOptOut isEqual:anEventType.smartSyncNotOptOut]; case DBTEAMLOGEventTypeSmartSyncOptOut: return [self.smartSyncOptOut isEqual:anEventType.smartSyncOptOut]; case DBTEAMLOGEventTypeSsoChangePolicy: 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.tfaChangePolicy isEqual:anEventType.tfaChangePolicy]; case DBTEAMLOGEventTypeTfaRemoveException: return [self.tfaRemoveException isEqual:anEventType.tfaRemoveException]; case DBTEAMLOGEventTypeTwoAccountChangePolicy: 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.webSessionsChangeFixedLengthPolicy isEqual:anEventType.webSessionsChangeFixedLengthPolicy]; case DBTEAMLOGEventTypeWebSessionsChangeIdleLengthPolicy: 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.teamProfileAddLogo isEqual:anEventType.teamProfileAddLogo]; case DBTEAMLOGEventTypeTeamProfileChangeBackground: return [self.teamProfileChangeBackground isEqual:anEventType.teamProfileChangeBackground]; case DBTEAMLOGEventTypeTeamProfileChangeDefaultLanguage: return [self.teamProfileChangeDefaultLanguage isEqual:anEventType.teamProfileChangeDefaultLanguage]; case DBTEAMLOGEventTypeTeamProfileChangeLogo: return [self.teamProfileChangeLogo isEqual:anEventType.teamProfileChangeLogo]; case DBTEAMLOGEventTypeTeamProfileChangeName: return [self.teamProfileChangeName isEqual:anEventType.teamProfileChangeName]; case DBTEAMLOGEventTypeTeamProfileRemoveBackground: return [self.teamProfileRemoveBackground isEqual:anEventType.teamProfileRemoveBackground]; case DBTEAMLOGEventTypeTeamProfileRemoveLogo: return [self.teamProfileRemoveLogo isEqual:anEventType.teamProfileRemoveLogo]; case DBTEAMLOGEventTypeTfaAddBackupPhone: return [self.tfaAddBackupPhone isEqual:anEventType.tfaAddBackupPhone]; case DBTEAMLOGEventTypeTfaAddSecurityKey: return [self.tfaAddSecurityKey isEqual:anEventType.tfaAddSecurityKey]; case DBTEAMLOGEventTypeTfaChangeBackupPhone: return [self.tfaChangeBackupPhone isEqual:anEventType.tfaChangeBackupPhone]; case DBTEAMLOGEventTypeTfaChangeStatus: return [self.tfaChangeStatus isEqual:anEventType.tfaChangeStatus]; case DBTEAMLOGEventTypeTfaRemoveBackupPhone: return [self.tfaRemoveBackupPhone isEqual:anEventType.tfaRemoveBackupPhone]; case DBTEAMLOGEventTypeTfaRemoveSecurityKey: return [self.tfaRemoveSecurityKey isEqual:anEventType.tfaRemoveSecurityKey]; case DBTEAMLOGEventTypeTfaReset: 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]]; } return YES; } @end #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" #pragma mark - API Object @implementation DBTEAMLOGSharedLinkSettingsChangeAudienceDetails #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; } - (instancetype)initWithSharedContentAccessLevel:(DBSHARINGAccessLevel *)sharedContentAccessLevel dNewValue:(DBSHARINGLinkAudience *)dNewValue { return [self initWithSharedContentAccessLevel:sharedContentAccessLevel dNewValue:dNewValue sharedContentLink:nil previousValue:nil]; } #pragma mark - Serialization methods + (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 "DBTEAMLOGSharedLinkSettingsChangeExpirationType.h" #pragma mark - API Object @implementation DBTEAMLOGSharedLinkSettingsChangeExpirationType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGSharedLinkSettingsChangeExpirationTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGSharedLinkSettingsChangeExpirationTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGSharedLinkSettingsChangeExpirationTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToSharedLinkSettingsChangeExpirationType:other]; } - (BOOL)isEqualToSharedLinkSettingsChangeExpirationType: (DBTEAMLOGSharedLinkSettingsChangeExpirationType *)aSharedLinkSettingsChangeExpirationType { if (self == aSharedLinkSettingsChangeExpirationType) { return YES; } if (![self.description_ isEqual:aSharedLinkSettingsChangeExpirationType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGSharedLinkSettingsChangeExpirationTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGSharedLinkSettingsChangeExpirationType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGSharedLinkSettingsChangeExpirationType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGSharedLinkSettingsChangeExpirationType alloc] initWithDescription_:description_]; } @end #import "DBSHARINGAccessLevel.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGSharedLinkSettingsChangePasswordDetails.h" #pragma mark - API Object @implementation DBTEAMLOGSharedLinkSettingsChangePasswordDetails #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 [DBTEAMLOGSharedLinkSettingsChangePasswordDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGSharedLinkSettingsChangePasswordDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGSharedLinkSettingsChangePasswordDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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 isEqualToSharedLinkSettingsChangePasswordDetails:other]; } - (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; } @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; } 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 [DBTEAMLOGSharedLinkSettingsChangePasswordTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGSharedLinkSettingsChangePasswordTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGSharedLinkSettingsChangePasswordTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToSharedLinkSettingsChangePasswordType:other]; } - (BOOL)isEqualToSharedLinkSettingsChangePasswordType: (DBTEAMLOGSharedLinkSettingsChangePasswordType *)aSharedLinkSettingsChangePasswordType { if (self == aSharedLinkSettingsChangePasswordType) { return YES; } if (![self.description_ isEqual:aSharedLinkSettingsChangePasswordType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGSharedLinkSettingsChangePasswordTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGSharedLinkSettingsChangePasswordType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGSharedLinkSettingsChangePasswordType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGSharedLinkSettingsChangePasswordType alloc] initWithDescription_:description_]; } @end #import "DBSHARINGAccessLevel.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGSharedLinkSettingsRemoveExpirationDetails.h" #pragma mark - API Object @implementation DBTEAMLOGSharedLinkSettingsRemoveExpirationDetails #pragma mark - Constructors - (instancetype)initWithSharedContentAccessLevel:(DBSHARINGAccessLevel *)sharedContentAccessLevel sharedContentLink:(NSString *)sharedContentLink previousValue:(NSDate *)previousValue { [DBStoneValidators nonnullValidator:nil](sharedContentAccessLevel); self = [super init]; if (self) { _sharedContentAccessLevel = sharedContentAccessLevel; _sharedContentLink = sharedContentLink; _previousValue = previousValue; } return self; } - (instancetype)initWithSharedContentAccessLevel:(DBSHARINGAccessLevel *)sharedContentAccessLevel { return [self initWithSharedContentAccessLevel:sharedContentAccessLevel sharedContentLink:nil previousValue:nil]; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGSharedLinkSettingsRemoveExpirationDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGSharedLinkSettingsRemoveExpirationDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGSharedLinkSettingsRemoveExpirationDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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.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 isEqualToSharedLinkSettingsRemoveExpirationDetails:other]; } - (BOOL)isEqualToSharedLinkSettingsRemoveExpirationDetails: (DBTEAMLOGSharedLinkSettingsRemoveExpirationDetails *)aSharedLinkSettingsRemoveExpirationDetails { if (self == aSharedLinkSettingsRemoveExpirationDetails) { return YES; } if (![self.sharedContentAccessLevel isEqual:aSharedLinkSettingsRemoveExpirationDetails.sharedContentAccessLevel]) { return NO; } if (self.sharedContentLink) { if (![self.sharedContentLink isEqual:aSharedLinkSettingsRemoveExpirationDetails.sharedContentLink]) { return NO; } } if (self.previousValue) { if (![self.previousValue isEqual:aSharedLinkSettingsRemoveExpirationDetails.previousValue]) { return NO; } } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGSharedLinkSettingsRemoveExpirationDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGSharedLinkSettingsRemoveExpirationDetails *)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.previousValue) { jsonDict[@"previous_value"] = [DBNSDateSerializer serialize:valueObj.previousValue dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; } return jsonDict; } + (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 [[DBTEAMLOGSharedLinkSettingsRemoveExpirationDetails alloc] initWithSharedContentAccessLevel:sharedContentAccessLevel sharedContentLink:sharedContentLink previousValue:previousValue]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGSharedLinkSettingsRemoveExpirationType.h" #pragma mark - API Object @implementation DBTEAMLOGSharedLinkSettingsRemoveExpirationType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #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 [DBTEAMLOGSharedLinkSettingsRemovePasswordDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGSharedLinkSettingsRemovePasswordDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGSharedLinkSettingsRemovePasswordDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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 isEqualToSharedLinkSettingsRemovePasswordDetails:other]; } - (BOOL)isEqualToSharedLinkSettingsRemovePasswordDetails: (DBTEAMLOGSharedLinkSettingsRemovePasswordDetails *)aSharedLinkSettingsRemovePasswordDetails { if (self == aSharedLinkSettingsRemovePasswordDetails) { return YES; } if (![self.sharedContentAccessLevel isEqual:aSharedLinkSettingsRemovePasswordDetails.sharedContentAccessLevel]) { return NO; } if (self.sharedContentLink) { if (![self.sharedContentLink isEqual:aSharedLinkSettingsRemovePasswordDetails.sharedContentLink]) { return NO; } } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGSharedLinkSettingsRemovePasswordDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGSharedLinkSettingsRemovePasswordDetails *)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; } + (DBTEAMLOGSharedLinkSettingsRemovePasswordDetails *)deserialize:(NSDictionary *)valueDict { DBSHARINGAccessLevel *sharedContentAccessLevel = [DBSHARINGAccessLevelSerializer deserialize:valueDict[@"shared_content_access_level"]]; NSString *sharedContentLink = valueDict[@"shared_content_link"] ?: nil; return [[DBTEAMLOGSharedLinkSettingsRemovePasswordDetails alloc] initWithSharedContentAccessLevel:sharedContentAccessLevel sharedContentLink:sharedContentLink]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGSharedLinkSettingsRemovePasswordType.h" #pragma mark - API Object @implementation DBTEAMLOGSharedLinkSettingsRemovePasswordType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGSharedLinkSettingsRemovePasswordTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGSharedLinkSettingsRemovePasswordTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGSharedLinkSettingsRemovePasswordTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToSharedLinkSettingsRemovePasswordType:other]; } - (BOOL)isEqualToSharedLinkSettingsRemovePasswordType: (DBTEAMLOGSharedLinkSettingsRemovePasswordType *)aSharedLinkSettingsRemovePasswordType { if (self == aSharedLinkSettingsRemovePasswordType) { return YES; } if (![self.description_ isEqual:aSharedLinkSettingsRemovePasswordType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGSharedLinkSettingsRemovePasswordTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGSharedLinkSettingsRemovePasswordType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGSharedLinkSettingsRemovePasswordType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGSharedLinkSettingsRemovePasswordType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGExternalUserLogInfo.h" #import "DBTEAMLOGSharedLinkShareDetails.h" #import "DBTEAMLOGUserLogInfo.h" #pragma mark - API Object @implementation DBTEAMLOGSharedLinkShareDetails #pragma mark - Constructors - (instancetype)initWithSharedLinkOwner:(DBTEAMLOGUserLogInfo *)sharedLinkOwner externalUsers:(NSArray *)externalUsers { [DBStoneValidators nullableValidator:[DBStoneValidators arrayValidator:nil maxItems:nil itemValidator:[DBStoneValidators nonnullValidator:nil]]](externalUsers); self = [super init]; if (self) { _sharedLinkOwner = sharedLinkOwner; _externalUsers = externalUsers; } return self; } - (instancetype)initDefault { return [self initWithSharedLinkOwner:nil externalUsers:nil]; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGSharedLinkShareDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGSharedLinkShareDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGSharedLinkShareDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (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]; } if (self.externalUsers != nil) { result = prime * result + [self.externalUsers hash]; } return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToSharedLinkShareDetails:other]; } - (BOOL)isEqualToSharedLinkShareDetails:(DBTEAMLOGSharedLinkShareDetails *)aSharedLinkShareDetails { if (self == aSharedLinkShareDetails) { return YES; } if (self.sharedLinkOwner) { if (![self.sharedLinkOwner isEqual:aSharedLinkShareDetails.sharedLinkOwner]) { return NO; } } if (self.externalUsers) { if (![self.externalUsers isEqual:aSharedLinkShareDetails.externalUsers]) { return NO; } } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGSharedLinkShareDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGSharedLinkShareDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; 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; } + (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 [[DBTEAMLOGSharedLinkShareDetails alloc] initWithSharedLinkOwner:sharedLinkOwner externalUsers:externalUsers]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGSharedLinkShareType.h" #pragma mark - API Object @implementation DBTEAMLOGSharedLinkShareType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGSharedLinkShareTypeSerializer serialize:instance]; } + (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 - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #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)isEqualToSharedLinkShareType:(DBTEAMLOGSharedLinkShareType *)aSharedLinkShareType { if (self == aSharedLinkShareType) { return YES; } if (![self.description_ isEqual:aSharedLinkShareType.description_]) { return NO; } return YES; } @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; } - (instancetype)initDefault { return [self initWithSharedLinkOwner:nil]; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGSharedLinkViewDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGSharedLinkViewDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGSharedLinkViewDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 isEqualToSharedLinkViewDetails:other]; } - (BOOL)isEqualToSharedLinkViewDetails:(DBTEAMLOGSharedLinkViewDetails *)aSharedLinkViewDetails { if (self == aSharedLinkViewDetails) { return YES; } if (self.sharedLinkOwner) { if (![self.sharedLinkOwner isEqual:aSharedLinkViewDetails.sharedLinkOwner]) { return NO; } } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGSharedLinkViewDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGSharedLinkViewDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if (valueObj.sharedLinkOwner) { jsonDict[@"shared_link_owner"] = [DBTEAMLOGUserLogInfoSerializer serialize:valueObj.sharedLinkOwner]; } return jsonDict; } + (DBTEAMLOGSharedLinkViewDetails *)deserialize:(NSDictionary *)valueDict { DBTEAMLOGUserLogInfo *sharedLinkOwner = valueDict[@"shared_link_owner"] ? [DBTEAMLOGUserLogInfoSerializer deserialize:valueDict[@"shared_link_owner"]] : nil; return [[DBTEAMLOGSharedLinkViewDetails alloc] initWithSharedLinkOwner:sharedLinkOwner]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGSharedLinkViewType.h" #pragma mark - API Object @implementation DBTEAMLOGSharedLinkViewType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGSharedLinkViewTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGSharedLinkViewTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGSharedLinkViewTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToSharedLinkViewType:other]; } - (BOOL)isEqualToSharedLinkViewType:(DBTEAMLOGSharedLinkViewType *)aSharedLinkViewType { if (self == aSharedLinkViewType) { return YES; } if (![self.description_ isEqual:aSharedLinkViewType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGSharedLinkViewTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGSharedLinkViewType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGSharedLinkViewType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGSharedLinkViewType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGSharedLinkVisibility.h" #pragma mark - API Object @implementation DBTEAMLOGSharedLinkVisibility #pragma mark - Constructors - (instancetype)initWithNoOne { self = [super init]; if (self) { _tag = DBTEAMLOGSharedLinkVisibilityNoOne; } return self; } - (instancetype)initWithPassword { self = [super init]; if (self) { _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; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBTEAMLOGSharedLinkVisibilityOther; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isNoOne { return _tag == DBTEAMLOGSharedLinkVisibilityNoOne; } - (BOOL)isPassword { return _tag == DBTEAMLOGSharedLinkVisibilityPassword; } - (BOOL)isPublic { return _tag == DBTEAMLOGSharedLinkVisibilityPublic; } - (BOOL)isTeamOnly { return _tag == DBTEAMLOGSharedLinkVisibilityTeamOnly; } - (BOOL)isOther { return _tag == DBTEAMLOGSharedLinkVisibilityOther; } - (NSString *)tagName { switch (_tag) { 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]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGSharedLinkVisibilitySerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGSharedLinkVisibilitySerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGSharedLinkVisibilitySerializer serialize:self] description]; } #pragma mark - Copyable method - (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 DBTEAMLOGSharedLinkVisibilityNoOne: result = prime * result + [[self tagName] hash]; break; case DBTEAMLOGSharedLinkVisibilityPassword: result = prime * result + [[self tagName] hash]; 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToSharedLinkVisibility:other]; } - (BOOL)isEqualToSharedLinkVisibility:(DBTEAMLOGSharedLinkVisibility *)aSharedLinkVisibility { if (self == aSharedLinkVisibility) { return YES; } if (self.tag != aSharedLinkVisibility.tag) { return NO; } switch (_tag) { 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; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGSharedLinkVisibilitySerializer + (NSDictionary *)serialize:(DBTEAMLOGSharedLinkVisibility *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; 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; } + (DBTEAMLOGSharedLinkVisibility *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; 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 [[DBTEAMLOGSharedLinkVisibility alloc] initWithOther]; } else { return [[DBTEAMLOGSharedLinkVisibility alloc] initWithOther]; } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGSharedNoteOpenedDetails.h" #pragma mark - API Object @implementation DBTEAMLOGSharedNoteOpenedDetails #pragma mark - Constructors - (instancetype)initDefault { self = [super init]; if (self) { } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGSharedNoteOpenedDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGSharedNoteOpenedDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGSharedNoteOpenedDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 isEqualToSharedNoteOpenedDetails:other]; } - (BOOL)isEqualToSharedNoteOpenedDetails:(DBTEAMLOGSharedNoteOpenedDetails *)aSharedNoteOpenedDetails { if (self == aSharedNoteOpenedDetails) { return YES; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGSharedNoteOpenedDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGSharedNoteOpenedDetails *)valueObj { #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; return jsonDict; } + (DBTEAMLOGSharedNoteOpenedDetails *)deserialize:(NSDictionary *)valueDict { #pragma unused(valueDict) return [[DBTEAMLOGSharedNoteOpenedDetails alloc] initDefault]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGSharedNoteOpenedType.h" #pragma mark - API Object @implementation DBTEAMLOGSharedNoteOpenedType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGSharedNoteOpenedTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGSharedNoteOpenedTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGSharedNoteOpenedTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToSharedNoteOpenedType:other]; } - (BOOL)isEqualToSharedNoteOpenedType:(DBTEAMLOGSharedNoteOpenedType *)aSharedNoteOpenedType { if (self == aSharedNoteOpenedType) { return YES; } if (![self.description_ isEqual:aSharedNoteOpenedType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGSharedNoteOpenedTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGSharedNoteOpenedType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGSharedNoteOpenedType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGSharedNoteOpenedType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGSharingChangeFolderJoinPolicyDetails.h" #import "DBTEAMLOGSharingFolderJoinPolicy.h" #pragma mark - API Object @implementation DBTEAMLOGSharingChangeFolderJoinPolicyDetails #pragma mark - Constructors - (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 [DBTEAMLOGSharingChangeFolderJoinPolicyDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGSharingChangeFolderJoinPolicyDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGSharingChangeFolderJoinPolicyDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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 isEqualToSharingChangeFolderJoinPolicyDetails:other]; } - (BOOL)isEqualToSharingChangeFolderJoinPolicyDetails: (DBTEAMLOGSharingChangeFolderJoinPolicyDetails *)aSharingChangeFolderJoinPolicyDetails { if (self == aSharingChangeFolderJoinPolicyDetails) { return YES; } if (![self.dNewValue isEqual:aSharingChangeFolderJoinPolicyDetails.dNewValue]) { return NO; } if (self.previousValue) { if (![self.previousValue isEqual:aSharingChangeFolderJoinPolicyDetails.previousValue]) { return NO; } } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGSharingChangeFolderJoinPolicyDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGSharingChangeFolderJoinPolicyDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"new_value"] = [DBTEAMLOGSharingFolderJoinPolicySerializer serialize:valueObj.dNewValue]; if (valueObj.previousValue) { jsonDict[@"previous_value"] = [DBTEAMLOGSharingFolderJoinPolicySerializer serialize:valueObj.previousValue]; } return jsonDict; } + (DBTEAMLOGSharingChangeFolderJoinPolicyDetails *)deserialize:(NSDictionary *)valueDict { DBTEAMLOGSharingFolderJoinPolicy *dNewValue = [DBTEAMLOGSharingFolderJoinPolicySerializer deserialize:valueDict[@"new_value"]]; DBTEAMLOGSharingFolderJoinPolicy *previousValue = valueDict[@"previous_value"] ? [DBTEAMLOGSharingFolderJoinPolicySerializer deserialize:valueDict[@"previous_value"]] : nil; return [[DBTEAMLOGSharingChangeFolderJoinPolicyDetails alloc] initWithDNewValue:dNewValue previousValue:previousValue]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGSharingChangeFolderJoinPolicyType.h" #pragma mark - API Object @implementation DBTEAMLOGSharingChangeFolderJoinPolicyType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGSharingChangeFolderJoinPolicyTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGSharingChangeFolderJoinPolicyTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGSharingChangeFolderJoinPolicyTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToSharingChangeFolderJoinPolicyType:other]; } - (BOOL)isEqualToSharingChangeFolderJoinPolicyType: (DBTEAMLOGSharingChangeFolderJoinPolicyType *)aSharingChangeFolderJoinPolicyType { if (self == aSharingChangeFolderJoinPolicyType) { return YES; } if (![self.description_ isEqual:aSharingChangeFolderJoinPolicyType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGSharingChangeFolderJoinPolicyTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGSharingChangeFolderJoinPolicyType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGSharingChangeFolderJoinPolicyType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGSharingChangeFolderJoinPolicyType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGEnforceLinkPasswordPolicy.h" #import "DBTEAMLOGSharingChangeLinkAllowChangeExpirationPolicyDetails.h" #pragma mark - API Object @implementation DBTEAMLOGSharingChangeLinkAllowChangeExpirationPolicyDetails #pragma mark - Constructors - (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 [DBTEAMLOGSharingChangeLinkAllowChangeExpirationPolicyDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGSharingChangeLinkAllowChangeExpirationPolicyDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGSharingChangeLinkAllowChangeExpirationPolicyDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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 isEqualToSharingChangeLinkAllowChangeExpirationPolicyDetails:other]; } - (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; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGSharingChangeLinkAllowChangeExpirationPolicyDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGSharingChangeLinkAllowChangeExpirationPolicyDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"new_value"] = [DBTEAMLOGEnforceLinkPasswordPolicySerializer serialize:valueObj.dNewValue]; if (valueObj.previousValue) { jsonDict[@"previous_value"] = [DBTEAMLOGEnforceLinkPasswordPolicySerializer serialize:valueObj.previousValue]; } return jsonDict; } + (DBTEAMLOGSharingChangeLinkAllowChangeExpirationPolicyDetails *)deserialize: (NSDictionary *)valueDict { DBTEAMLOGEnforceLinkPasswordPolicy *dNewValue = [DBTEAMLOGEnforceLinkPasswordPolicySerializer deserialize:valueDict[@"new_value"]]; DBTEAMLOGEnforceLinkPasswordPolicy *previousValue = valueDict[@"previous_value"] ? [DBTEAMLOGEnforceLinkPasswordPolicySerializer deserialize:valueDict[@"previous_value"]] : nil; return [[DBTEAMLOGSharingChangeLinkAllowChangeExpirationPolicyDetails alloc] initWithDNewValue:dNewValue previousValue:previousValue]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGSharingChangeLinkAllowChangeExpirationPolicyType.h" #pragma mark - API Object @implementation DBTEAMLOGSharingChangeLinkAllowChangeExpirationPolicyType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGSharingChangeLinkAllowChangeExpirationPolicyTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGSharingChangeLinkAllowChangeExpirationPolicyTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGSharingChangeLinkAllowChangeExpirationPolicyTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToSharingChangeLinkAllowChangeExpirationPolicyType:other]; } - (BOOL)isEqualToSharingChangeLinkAllowChangeExpirationPolicyType: (DBTEAMLOGSharingChangeLinkAllowChangeExpirationPolicyType *)aSharingChangeLinkAllowChangeExpirationPolicyType { if (self == aSharingChangeLinkAllowChangeExpirationPolicyType) { return YES; } if (![self.description_ isEqual:aSharingChangeLinkAllowChangeExpirationPolicyType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGSharingChangeLinkAllowChangeExpirationPolicyTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGSharingChangeLinkAllowChangeExpirationPolicyType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGSharingChangeLinkAllowChangeExpirationPolicyType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGSharingChangeLinkAllowChangeExpirationPolicyType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGDefaultLinkExpirationDaysPolicy.h" #import "DBTEAMLOGSharingChangeLinkDefaultExpirationPolicyDetails.h" #pragma mark - API Object @implementation DBTEAMLOGSharingChangeLinkDefaultExpirationPolicyDetails #pragma mark - Constructors - (instancetype)initWithDNewValue:(DBTEAMLOGDefaultLinkExpirationDaysPolicy *)dNewValue previousValue:(DBTEAMLOGDefaultLinkExpirationDaysPolicy *)previousValue { [DBStoneValidators nonnullValidator:nil](dNewValue); self = [super init]; if (self) { _dNewValue = dNewValue; _previousValue = previousValue; } return self; } - (instancetype)initWithDNewValue:(DBTEAMLOGDefaultLinkExpirationDaysPolicy *)dNewValue { return [self initWithDNewValue:dNewValue previousValue:nil]; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGSharingChangeLinkDefaultExpirationPolicyDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGSharingChangeLinkDefaultExpirationPolicyDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGSharingChangeLinkDefaultExpirationPolicyDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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 isEqualToSharingChangeLinkDefaultExpirationPolicyDetails:other]; } - (BOOL)isEqualToSharingChangeLinkDefaultExpirationPolicyDetails: (DBTEAMLOGSharingChangeLinkDefaultExpirationPolicyDetails *)aSharingChangeLinkDefaultExpirationPolicyDetails { if (self == aSharingChangeLinkDefaultExpirationPolicyDetails) { return YES; } if (![self.dNewValue isEqual:aSharingChangeLinkDefaultExpirationPolicyDetails.dNewValue]) { return NO; } if (self.previousValue) { if (![self.previousValue isEqual:aSharingChangeLinkDefaultExpirationPolicyDetails.previousValue]) { return NO; } } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGSharingChangeLinkDefaultExpirationPolicyDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGSharingChangeLinkDefaultExpirationPolicyDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"new_value"] = [DBTEAMLOGDefaultLinkExpirationDaysPolicySerializer serialize:valueObj.dNewValue]; if (valueObj.previousValue) { jsonDict[@"previous_value"] = [DBTEAMLOGDefaultLinkExpirationDaysPolicySerializer serialize:valueObj.previousValue]; } return jsonDict; } + (DBTEAMLOGSharingChangeLinkDefaultExpirationPolicyDetails *)deserialize:(NSDictionary *)valueDict { DBTEAMLOGDefaultLinkExpirationDaysPolicy *dNewValue = [DBTEAMLOGDefaultLinkExpirationDaysPolicySerializer deserialize:valueDict[@"new_value"]]; DBTEAMLOGDefaultLinkExpirationDaysPolicy *previousValue = valueDict[@"previous_value"] ? [DBTEAMLOGDefaultLinkExpirationDaysPolicySerializer deserialize:valueDict[@"previous_value"]] : nil; return [[DBTEAMLOGSharingChangeLinkDefaultExpirationPolicyDetails alloc] initWithDNewValue:dNewValue previousValue:previousValue]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGSharingChangeLinkDefaultExpirationPolicyType.h" #pragma mark - API Object @implementation DBTEAMLOGSharingChangeLinkDefaultExpirationPolicyType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGSharingChangeLinkDefaultExpirationPolicyTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGSharingChangeLinkDefaultExpirationPolicyTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGSharingChangeLinkDefaultExpirationPolicyTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToSharingChangeLinkDefaultExpirationPolicyType:other]; } - (BOOL)isEqualToSharingChangeLinkDefaultExpirationPolicyType: (DBTEAMLOGSharingChangeLinkDefaultExpirationPolicyType *)aSharingChangeLinkDefaultExpirationPolicyType { if (self == aSharingChangeLinkDefaultExpirationPolicyType) { return YES; } if (![self.description_ isEqual:aSharingChangeLinkDefaultExpirationPolicyType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGSharingChangeLinkDefaultExpirationPolicyTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGSharingChangeLinkDefaultExpirationPolicyType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGSharingChangeLinkDefaultExpirationPolicyType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGSharingChangeLinkDefaultExpirationPolicyType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGChangeLinkExpirationPolicy.h" #import "DBTEAMLOGSharingChangeLinkEnforcePasswordPolicyDetails.h" #pragma mark - API Object @implementation DBTEAMLOGSharingChangeLinkEnforcePasswordPolicyDetails #pragma mark - Constructors - (instancetype)initWithDNewValue:(DBTEAMLOGChangeLinkExpirationPolicy *)dNewValue previousValue:(DBTEAMLOGChangeLinkExpirationPolicy *)previousValue { [DBStoneValidators nonnullValidator:nil](dNewValue); self = [super init]; if (self) { _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 [DBTEAMLOGSharingChangeLinkEnforcePasswordPolicyDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGSharingChangeLinkEnforcePasswordPolicyDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGSharingChangeLinkEnforcePasswordPolicyDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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 isEqualToSharingChangeLinkEnforcePasswordPolicyDetails:other]; } - (BOOL)isEqualToSharingChangeLinkEnforcePasswordPolicyDetails: (DBTEAMLOGSharingChangeLinkEnforcePasswordPolicyDetails *)aSharingChangeLinkEnforcePasswordPolicyDetails { if (self == aSharingChangeLinkEnforcePasswordPolicyDetails) { return YES; } if (![self.dNewValue isEqual:aSharingChangeLinkEnforcePasswordPolicyDetails.dNewValue]) { return NO; } if (self.previousValue) { if (![self.previousValue isEqual:aSharingChangeLinkEnforcePasswordPolicyDetails.previousValue]) { return NO; } } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGSharingChangeLinkEnforcePasswordPolicyDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGSharingChangeLinkEnforcePasswordPolicyDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"new_value"] = [DBTEAMLOGChangeLinkExpirationPolicySerializer serialize:valueObj.dNewValue]; if (valueObj.previousValue) { jsonDict[@"previous_value"] = [DBTEAMLOGChangeLinkExpirationPolicySerializer serialize:valueObj.previousValue]; } return jsonDict; } + (DBTEAMLOGSharingChangeLinkEnforcePasswordPolicyDetails *)deserialize:(NSDictionary *)valueDict { DBTEAMLOGChangeLinkExpirationPolicy *dNewValue = [DBTEAMLOGChangeLinkExpirationPolicySerializer deserialize:valueDict[@"new_value"]]; DBTEAMLOGChangeLinkExpirationPolicy *previousValue = valueDict[@"previous_value"] ? [DBTEAMLOGChangeLinkExpirationPolicySerializer deserialize:valueDict[@"previous_value"]] : nil; return [[DBTEAMLOGSharingChangeLinkEnforcePasswordPolicyDetails alloc] initWithDNewValue:dNewValue previousValue:previousValue]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGSharingChangeLinkEnforcePasswordPolicyType.h" #pragma mark - API Object @implementation DBTEAMLOGSharingChangeLinkEnforcePasswordPolicyType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGSharingChangeLinkEnforcePasswordPolicyTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGSharingChangeLinkEnforcePasswordPolicyTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGSharingChangeLinkEnforcePasswordPolicyTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToSharingChangeLinkEnforcePasswordPolicyType:other]; } - (BOOL)isEqualToSharingChangeLinkEnforcePasswordPolicyType: (DBTEAMLOGSharingChangeLinkEnforcePasswordPolicyType *)aSharingChangeLinkEnforcePasswordPolicyType { if (self == aSharingChangeLinkEnforcePasswordPolicyType) { return YES; } if (![self.description_ isEqual:aSharingChangeLinkEnforcePasswordPolicyType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGSharingChangeLinkEnforcePasswordPolicyTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGSharingChangeLinkEnforcePasswordPolicyType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGSharingChangeLinkEnforcePasswordPolicyType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGSharingChangeLinkEnforcePasswordPolicyType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGSharingChangeLinkPolicyDetails.h" #import "DBTEAMLOGSharingLinkPolicy.h" #pragma mark - API Object @implementation DBTEAMLOGSharingChangeLinkPolicyDetails #pragma mark - Constructors - (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 [DBTEAMLOGSharingChangeLinkPolicyDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGSharingChangeLinkPolicyDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGSharingChangeLinkPolicyDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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 isEqualToSharingChangeLinkPolicyDetails:other]; } - (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; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGSharingChangeLinkPolicyDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGSharingChangeLinkPolicyDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"new_value"] = [DBTEAMLOGSharingLinkPolicySerializer serialize:valueObj.dNewValue]; if (valueObj.previousValue) { jsonDict[@"previous_value"] = [DBTEAMLOGSharingLinkPolicySerializer serialize:valueObj.previousValue]; } return jsonDict; } + (DBTEAMLOGSharingChangeLinkPolicyDetails *)deserialize:(NSDictionary *)valueDict { DBTEAMLOGSharingLinkPolicy *dNewValue = [DBTEAMLOGSharingLinkPolicySerializer deserialize:valueDict[@"new_value"]]; DBTEAMLOGSharingLinkPolicy *previousValue = valueDict[@"previous_value"] ? [DBTEAMLOGSharingLinkPolicySerializer deserialize:valueDict[@"previous_value"]] : nil; return [[DBTEAMLOGSharingChangeLinkPolicyDetails alloc] initWithDNewValue:dNewValue previousValue:previousValue]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGSharingChangeLinkPolicyType.h" #pragma mark - API Object @implementation DBTEAMLOGSharingChangeLinkPolicyType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGSharingChangeLinkPolicyTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGSharingChangeLinkPolicyTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGSharingChangeLinkPolicyTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToSharingChangeLinkPolicyType:other]; } - (BOOL)isEqualToSharingChangeLinkPolicyType:(DBTEAMLOGSharingChangeLinkPolicyType *)aSharingChangeLinkPolicyType { if (self == aSharingChangeLinkPolicyType) { return YES; } if (![self.description_ isEqual:aSharingChangeLinkPolicyType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGSharingChangeLinkPolicyTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGSharingChangeLinkPolicyType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGSharingChangeLinkPolicyType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGSharingChangeLinkPolicyType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGSharingChangeMemberPolicyDetails.h" #import "DBTEAMLOGSharingMemberPolicy.h" #pragma mark - API Object @implementation DBTEAMLOGSharingChangeMemberPolicyDetails #pragma mark - Constructors - (instancetype)initWithDNewValue:(DBTEAMLOGSharingMemberPolicy *)dNewValue previousValue:(DBTEAMLOGSharingMemberPolicy *)previousValue { [DBStoneValidators nonnullValidator:nil](dNewValue); self = [super init]; if (self) { _dNewValue = dNewValue; _previousValue = previousValue; } 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]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGSharingChangeMemberPolicyDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGSharingChangeMemberPolicyDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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 isEqualToSharingChangeMemberPolicyDetails:other]; } - (BOOL)isEqualToSharingChangeMemberPolicyDetails: (DBTEAMLOGSharingChangeMemberPolicyDetails *)aSharingChangeMemberPolicyDetails { if (self == aSharingChangeMemberPolicyDetails) { return YES; } if (![self.dNewValue isEqual:aSharingChangeMemberPolicyDetails.dNewValue]) { return NO; } if (self.previousValue) { if (![self.previousValue isEqual:aSharingChangeMemberPolicyDetails.previousValue]) { return NO; } } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGSharingChangeMemberPolicyDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGSharingChangeMemberPolicyDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"new_value"] = [DBTEAMLOGSharingMemberPolicySerializer serialize:valueObj.dNewValue]; if (valueObj.previousValue) { jsonDict[@"previous_value"] = [DBTEAMLOGSharingMemberPolicySerializer serialize:valueObj.previousValue]; } return jsonDict; } + (DBTEAMLOGSharingChangeMemberPolicyDetails *)deserialize:(NSDictionary *)valueDict { DBTEAMLOGSharingMemberPolicy *dNewValue = [DBTEAMLOGSharingMemberPolicySerializer deserialize:valueDict[@"new_value"]]; DBTEAMLOGSharingMemberPolicy *previousValue = valueDict[@"previous_value"] ? [DBTEAMLOGSharingMemberPolicySerializer deserialize:valueDict[@"previous_value"]] : nil; return [[DBTEAMLOGSharingChangeMemberPolicyDetails alloc] initWithDNewValue:dNewValue previousValue:previousValue]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGSharingChangeMemberPolicyType.h" #pragma mark - API Object @implementation DBTEAMLOGSharingChangeMemberPolicyType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGSharingChangeMemberPolicyTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGSharingChangeMemberPolicyTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGSharingChangeMemberPolicyTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToSharingChangeMemberPolicyType:other]; } - (BOOL)isEqualToSharingChangeMemberPolicyType: (DBTEAMLOGSharingChangeMemberPolicyType *)aSharingChangeMemberPolicyType { if (self == aSharingChangeMemberPolicyType) { return YES; } if (![self.description_ isEqual:aSharingChangeMemberPolicyType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGSharingChangeMemberPolicyTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGSharingChangeMemberPolicyType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGSharingChangeMemberPolicyType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGSharingChangeMemberPolicyType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGSharingFolderJoinPolicy.h" #pragma mark - API Object @implementation DBTEAMLOGSharingFolderJoinPolicy #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)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 [DBTEAMLOGSharingFolderJoinPolicySerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGSharingFolderJoinPolicySerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGSharingFolderJoinPolicySerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToSharingFolderJoinPolicy:other]; } - (BOOL)isEqualToSharingFolderJoinPolicy:(DBTEAMLOGSharingFolderJoinPolicy *)aSharingFolderJoinPolicy { if (self == aSharingFolderJoinPolicy) { return YES; } if (self.tag != aSharingFolderJoinPolicy.tag) { 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; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGSharingFolderJoinPolicySerializer + (NSDictionary *)serialize:(DBTEAMLOGSharingFolderJoinPolicy *)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"; } return jsonDict; } + (DBTEAMLOGSharingFolderJoinPolicy *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; 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 "DBTEAMLOGSharingLinkPolicy.h" #pragma mark - API Object @implementation DBTEAMLOGSharingLinkPolicy #pragma mark - Constructors - (instancetype)initWithDefaultNoOne { self = [super init]; if (self) { _tag = DBTEAMLOGSharingLinkPolicyDefaultNoOne; } return self; } - (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)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 [DBTEAMLOGSharingLinkPolicySerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGSharingLinkPolicySerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGSharingLinkPolicySerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToSharingLinkPolicy:other]; } - (BOOL)isEqualToSharingLinkPolicy:(DBTEAMLOGSharingLinkPolicy *)aSharingLinkPolicy { if (self == aSharingLinkPolicy) { return YES; } if (self.tag != aSharingLinkPolicy.tag) { 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; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGSharingLinkPolicySerializer + (NSDictionary *)serialize:(DBTEAMLOGSharingLinkPolicy *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; 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; } + (DBTEAMLOGSharingLinkPolicy *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; 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 "DBTEAMLOGSharingMemberPolicy.h" #pragma mark - API Object @implementation DBTEAMLOGSharingMemberPolicy #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)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 [DBTEAMLOGSharingMemberPolicySerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGSharingMemberPolicySerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGSharingMemberPolicySerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToSharingMemberPolicy:other]; } - (BOOL)isEqualToSharingMemberPolicy:(DBTEAMLOGSharingMemberPolicy *)aSharingMemberPolicy { if (self == aSharingMemberPolicy) { return YES; } if (self.tag != aSharingMemberPolicy.tag) { 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; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGSharingMemberPolicySerializer + (NSDictionary *)serialize:(DBTEAMLOGSharingMemberPolicy *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; 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; } + (DBTEAMLOGSharingMemberPolicy *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; 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 "DBTEAMLOGShmodelDisableDownloadsDetails.h" #import "DBTEAMLOGUserLogInfo.h" #pragma mark - API Object @implementation DBTEAMLOGShmodelDisableDownloadsDetails #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 [DBTEAMLOGShmodelDisableDownloadsDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGShmodelDisableDownloadsDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGShmodelDisableDownloadsDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 isEqualToShmodelDisableDownloadsDetails:other]; } - (BOOL)isEqualToShmodelDisableDownloadsDetails: (DBTEAMLOGShmodelDisableDownloadsDetails *)aShmodelDisableDownloadsDetails { if (self == aShmodelDisableDownloadsDetails) { return YES; } if (self.sharedLinkOwner) { if (![self.sharedLinkOwner isEqual:aShmodelDisableDownloadsDetails.sharedLinkOwner]) { return NO; } } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGShmodelDisableDownloadsDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGShmodelDisableDownloadsDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if (valueObj.sharedLinkOwner) { jsonDict[@"shared_link_owner"] = [DBTEAMLOGUserLogInfoSerializer serialize:valueObj.sharedLinkOwner]; } return jsonDict; } + (DBTEAMLOGShmodelDisableDownloadsDetails *)deserialize:(NSDictionary *)valueDict { DBTEAMLOGUserLogInfo *sharedLinkOwner = valueDict[@"shared_link_owner"] ? [DBTEAMLOGUserLogInfoSerializer deserialize:valueDict[@"shared_link_owner"]] : nil; return [[DBTEAMLOGShmodelDisableDownloadsDetails alloc] initWithSharedLinkOwner:sharedLinkOwner]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGShmodelDisableDownloadsType.h" #pragma mark - API Object @implementation DBTEAMLOGShmodelDisableDownloadsType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGShmodelDisableDownloadsTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGShmodelDisableDownloadsTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGShmodelDisableDownloadsTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToShmodelDisableDownloadsType:other]; } - (BOOL)isEqualToShmodelDisableDownloadsType:(DBTEAMLOGShmodelDisableDownloadsType *)aShmodelDisableDownloadsType { if (self == aShmodelDisableDownloadsType) { return YES; } if (![self.description_ isEqual:aShmodelDisableDownloadsType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGShmodelDisableDownloadsTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGShmodelDisableDownloadsType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGShmodelDisableDownloadsType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGShmodelDisableDownloadsType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGShmodelEnableDownloadsDetails.h" #import "DBTEAMLOGUserLogInfo.h" #pragma mark - API Object @implementation DBTEAMLOGShmodelEnableDownloadsDetails #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 [DBTEAMLOGShmodelEnableDownloadsDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGShmodelEnableDownloadsDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGShmodelEnableDownloadsDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 isEqualToShmodelEnableDownloadsDetails:other]; } - (BOOL)isEqualToShmodelEnableDownloadsDetails: (DBTEAMLOGShmodelEnableDownloadsDetails *)aShmodelEnableDownloadsDetails { if (self == aShmodelEnableDownloadsDetails) { return YES; } if (self.sharedLinkOwner) { if (![self.sharedLinkOwner isEqual:aShmodelEnableDownloadsDetails.sharedLinkOwner]) { return NO; } } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGShmodelEnableDownloadsDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGShmodelEnableDownloadsDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if (valueObj.sharedLinkOwner) { jsonDict[@"shared_link_owner"] = [DBTEAMLOGUserLogInfoSerializer serialize:valueObj.sharedLinkOwner]; } return jsonDict; } + (DBTEAMLOGShmodelEnableDownloadsDetails *)deserialize:(NSDictionary *)valueDict { DBTEAMLOGUserLogInfo *sharedLinkOwner = valueDict[@"shared_link_owner"] ? [DBTEAMLOGUserLogInfoSerializer deserialize:valueDict[@"shared_link_owner"]] : nil; return [[DBTEAMLOGShmodelEnableDownloadsDetails alloc] initWithSharedLinkOwner:sharedLinkOwner]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGShmodelEnableDownloadsType.h" #pragma mark - API Object @implementation DBTEAMLOGShmodelEnableDownloadsType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGShmodelEnableDownloadsTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGShmodelEnableDownloadsTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGShmodelEnableDownloadsTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToShmodelEnableDownloadsType:other]; } - (BOOL)isEqualToShmodelEnableDownloadsType:(DBTEAMLOGShmodelEnableDownloadsType *)aShmodelEnableDownloadsType { if (self == aShmodelEnableDownloadsType) { return YES; } if (![self.description_ isEqual:aShmodelEnableDownloadsType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGShmodelEnableDownloadsTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGShmodelEnableDownloadsType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGShmodelEnableDownloadsType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGShmodelEnableDownloadsType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGShmodelGroupShareDetails.h" #pragma mark - API Object @implementation DBTEAMLOGShmodelGroupShareDetails #pragma mark - Constructors - (instancetype)initDefault { self = [super init]; if (self) { } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGShmodelGroupShareDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGShmodelGroupShareDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGShmodelGroupShareDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 isEqualToShmodelGroupShareDetails:other]; } - (BOOL)isEqualToShmodelGroupShareDetails:(DBTEAMLOGShmodelGroupShareDetails *)aShmodelGroupShareDetails { if (self == aShmodelGroupShareDetails) { return YES; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGShmodelGroupShareDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGShmodelGroupShareDetails *)valueObj { #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; return jsonDict; } + (DBTEAMLOGShmodelGroupShareDetails *)deserialize:(NSDictionary *)valueDict { #pragma unused(valueDict) return [[DBTEAMLOGShmodelGroupShareDetails alloc] initDefault]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGShmodelGroupShareType.h" #pragma mark - API Object @implementation DBTEAMLOGShmodelGroupShareType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGShmodelGroupShareTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGShmodelGroupShareTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGShmodelGroupShareTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToShmodelGroupShareType:other]; } - (BOOL)isEqualToShmodelGroupShareType:(DBTEAMLOGShmodelGroupShareType *)aShmodelGroupShareType { if (self == aShmodelGroupShareType) { return YES; } if (![self.description_ isEqual:aShmodelGroupShareType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGShmodelGroupShareTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGShmodelGroupShareType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGShmodelGroupShareType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGShmodelGroupShareType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGShowcaseAccessGrantedDetails.h" #pragma mark - API Object @implementation DBTEAMLOGShowcaseAccessGrantedDetails #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 [DBTEAMLOGShowcaseAccessGrantedDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGShowcaseAccessGrantedDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGShowcaseAccessGrantedDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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 isEqualToShowcaseAccessGrantedDetails:other]; } - (BOOL)isEqualToShowcaseAccessGrantedDetails:(DBTEAMLOGShowcaseAccessGrantedDetails *)aShowcaseAccessGrantedDetails { if (self == aShowcaseAccessGrantedDetails) { return YES; } if (![self.eventUuid isEqual:aShowcaseAccessGrantedDetails.eventUuid]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGShowcaseAccessGrantedDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGShowcaseAccessGrantedDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"event_uuid"] = valueObj.eventUuid; return jsonDict; } + (DBTEAMLOGShowcaseAccessGrantedDetails *)deserialize:(NSDictionary *)valueDict { NSString *eventUuid = valueDict[@"event_uuid"]; return [[DBTEAMLOGShowcaseAccessGrantedDetails alloc] initWithEventUuid:eventUuid]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGShowcaseAccessGrantedType.h" #pragma mark - API Object @implementation DBTEAMLOGShowcaseAccessGrantedType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGShowcaseAccessGrantedTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGShowcaseAccessGrantedTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGShowcaseAccessGrantedTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToShowcaseAccessGrantedType:other]; } - (BOOL)isEqualToShowcaseAccessGrantedType:(DBTEAMLOGShowcaseAccessGrantedType *)aShowcaseAccessGrantedType { if (self == aShowcaseAccessGrantedType) { return YES; } if (![self.description_ isEqual:aShowcaseAccessGrantedType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGShowcaseAccessGrantedTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGShowcaseAccessGrantedType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGShowcaseAccessGrantedType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGShowcaseAccessGrantedType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGShowcaseAddMemberDetails.h" #pragma mark - API Object @implementation DBTEAMLOGShowcaseAddMemberDetails #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 [DBTEAMLOGShowcaseAddMemberDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGShowcaseAddMemberDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGShowcaseAddMemberDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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 isEqualToShowcaseAddMemberDetails:other]; } - (BOOL)isEqualToShowcaseAddMemberDetails:(DBTEAMLOGShowcaseAddMemberDetails *)aShowcaseAddMemberDetails { if (self == aShowcaseAddMemberDetails) { return YES; } if (![self.eventUuid isEqual:aShowcaseAddMemberDetails.eventUuid]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGShowcaseAddMemberDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGShowcaseAddMemberDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"event_uuid"] = valueObj.eventUuid; return jsonDict; } + (DBTEAMLOGShowcaseAddMemberDetails *)deserialize:(NSDictionary *)valueDict { NSString *eventUuid = valueDict[@"event_uuid"]; return [[DBTEAMLOGShowcaseAddMemberDetails alloc] initWithEventUuid:eventUuid]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGShowcaseAddMemberType.h" #pragma mark - API Object @implementation DBTEAMLOGShowcaseAddMemberType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGShowcaseAddMemberTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGShowcaseAddMemberTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGShowcaseAddMemberTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToShowcaseAddMemberType:other]; } - (BOOL)isEqualToShowcaseAddMemberType:(DBTEAMLOGShowcaseAddMemberType *)aShowcaseAddMemberType { if (self == aShowcaseAddMemberType) { return YES; } if (![self.description_ isEqual:aShowcaseAddMemberType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGShowcaseAddMemberTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGShowcaseAddMemberType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGShowcaseAddMemberType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGShowcaseAddMemberType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGShowcaseArchivedDetails.h" #pragma mark - API Object @implementation DBTEAMLOGShowcaseArchivedDetails #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 [DBTEAMLOGShowcaseArchivedDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGShowcaseArchivedDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGShowcaseArchivedDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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 isEqualToShowcaseArchivedDetails:other]; } - (BOOL)isEqualToShowcaseArchivedDetails:(DBTEAMLOGShowcaseArchivedDetails *)aShowcaseArchivedDetails { if (self == aShowcaseArchivedDetails) { return YES; } if (![self.eventUuid isEqual:aShowcaseArchivedDetails.eventUuid]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGShowcaseArchivedDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGShowcaseArchivedDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"event_uuid"] = valueObj.eventUuid; return jsonDict; } + (DBTEAMLOGShowcaseArchivedDetails *)deserialize:(NSDictionary *)valueDict { NSString *eventUuid = valueDict[@"event_uuid"]; return [[DBTEAMLOGShowcaseArchivedDetails alloc] initWithEventUuid:eventUuid]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGShowcaseArchivedType.h" #pragma mark - API Object @implementation DBTEAMLOGShowcaseArchivedType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGShowcaseArchivedTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGShowcaseArchivedTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGShowcaseArchivedTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToShowcaseArchivedType:other]; } - (BOOL)isEqualToShowcaseArchivedType:(DBTEAMLOGShowcaseArchivedType *)aShowcaseArchivedType { if (self == aShowcaseArchivedType) { return YES; } if (![self.description_ isEqual:aShowcaseArchivedType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGShowcaseArchivedTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGShowcaseArchivedType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGShowcaseArchivedType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGShowcaseArchivedType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGShowcaseChangeDownloadPolicyDetails.h" #import "DBTEAMLOGShowcaseDownloadPolicy.h" #pragma mark - API Object @implementation DBTEAMLOGShowcaseChangeDownloadPolicyDetails #pragma mark - Constructors - (instancetype)initWithDNewValue:(DBTEAMLOGShowcaseDownloadPolicy *)dNewValue previousValue:(DBTEAMLOGShowcaseDownloadPolicy *)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 [DBTEAMLOGShowcaseChangeDownloadPolicyDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGShowcaseChangeDownloadPolicyDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGShowcaseChangeDownloadPolicyDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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 isEqualToShowcaseChangeDownloadPolicyDetails:other]; } - (BOOL)isEqualToShowcaseChangeDownloadPolicyDetails: (DBTEAMLOGShowcaseChangeDownloadPolicyDetails *)aShowcaseChangeDownloadPolicyDetails { if (self == aShowcaseChangeDownloadPolicyDetails) { return YES; } if (![self.dNewValue isEqual:aShowcaseChangeDownloadPolicyDetails.dNewValue]) { return NO; } if (![self.previousValue isEqual:aShowcaseChangeDownloadPolicyDetails.previousValue]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGShowcaseChangeDownloadPolicyDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGShowcaseChangeDownloadPolicyDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"new_value"] = [DBTEAMLOGShowcaseDownloadPolicySerializer serialize:valueObj.dNewValue]; jsonDict[@"previous_value"] = [DBTEAMLOGShowcaseDownloadPolicySerializer serialize:valueObj.previousValue]; return jsonDict; } + (DBTEAMLOGShowcaseChangeDownloadPolicyDetails *)deserialize:(NSDictionary *)valueDict { DBTEAMLOGShowcaseDownloadPolicy *dNewValue = [DBTEAMLOGShowcaseDownloadPolicySerializer deserialize:valueDict[@"new_value"]]; DBTEAMLOGShowcaseDownloadPolicy *previousValue = [DBTEAMLOGShowcaseDownloadPolicySerializer deserialize:valueDict[@"previous_value"]]; return [[DBTEAMLOGShowcaseChangeDownloadPolicyDetails alloc] initWithDNewValue:dNewValue previousValue:previousValue]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGShowcaseChangeDownloadPolicyType.h" #pragma mark - API Object @implementation DBTEAMLOGShowcaseChangeDownloadPolicyType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGShowcaseChangeDownloadPolicyTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGShowcaseChangeDownloadPolicyTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGShowcaseChangeDownloadPolicyTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToShowcaseChangeDownloadPolicyType:other]; } - (BOOL)isEqualToShowcaseChangeDownloadPolicyType: (DBTEAMLOGShowcaseChangeDownloadPolicyType *)aShowcaseChangeDownloadPolicyType { if (self == aShowcaseChangeDownloadPolicyType) { return YES; } if (![self.description_ isEqual:aShowcaseChangeDownloadPolicyType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGShowcaseChangeDownloadPolicyTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGShowcaseChangeDownloadPolicyType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGShowcaseChangeDownloadPolicyType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGShowcaseChangeDownloadPolicyType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGShowcaseChangeEnabledPolicyDetails.h" #import "DBTEAMLOGShowcaseEnabledPolicy.h" #pragma mark - API Object @implementation DBTEAMLOGShowcaseChangeEnabledPolicyDetails #pragma mark - Constructors - (instancetype)initWithDNewValue:(DBTEAMLOGShowcaseEnabledPolicy *)dNewValue previousValue:(DBTEAMLOGShowcaseEnabledPolicy *)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 [DBTEAMLOGShowcaseChangeEnabledPolicyDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGShowcaseChangeEnabledPolicyDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGShowcaseChangeEnabledPolicyDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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 isEqualToShowcaseChangeEnabledPolicyDetails:other]; } - (BOOL)isEqualToShowcaseChangeEnabledPolicyDetails: (DBTEAMLOGShowcaseChangeEnabledPolicyDetails *)aShowcaseChangeEnabledPolicyDetails { if (self == aShowcaseChangeEnabledPolicyDetails) { return YES; } if (![self.dNewValue isEqual:aShowcaseChangeEnabledPolicyDetails.dNewValue]) { return NO; } if (![self.previousValue isEqual:aShowcaseChangeEnabledPolicyDetails.previousValue]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGShowcaseChangeEnabledPolicyDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGShowcaseChangeEnabledPolicyDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"new_value"] = [DBTEAMLOGShowcaseEnabledPolicySerializer serialize:valueObj.dNewValue]; jsonDict[@"previous_value"] = [DBTEAMLOGShowcaseEnabledPolicySerializer serialize:valueObj.previousValue]; return jsonDict; } + (DBTEAMLOGShowcaseChangeEnabledPolicyDetails *)deserialize:(NSDictionary *)valueDict { DBTEAMLOGShowcaseEnabledPolicy *dNewValue = [DBTEAMLOGShowcaseEnabledPolicySerializer deserialize:valueDict[@"new_value"]]; DBTEAMLOGShowcaseEnabledPolicy *previousValue = [DBTEAMLOGShowcaseEnabledPolicySerializer deserialize:valueDict[@"previous_value"]]; return [[DBTEAMLOGShowcaseChangeEnabledPolicyDetails alloc] initWithDNewValue:dNewValue previousValue:previousValue]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGShowcaseChangeEnabledPolicyType.h" #pragma mark - API Object @implementation DBTEAMLOGShowcaseChangeEnabledPolicyType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGShowcaseChangeEnabledPolicyTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGShowcaseChangeEnabledPolicyTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGShowcaseChangeEnabledPolicyTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToShowcaseChangeEnabledPolicyType:other]; } - (BOOL)isEqualToShowcaseChangeEnabledPolicyType: (DBTEAMLOGShowcaseChangeEnabledPolicyType *)aShowcaseChangeEnabledPolicyType { if (self == aShowcaseChangeEnabledPolicyType) { return YES; } if (![self.description_ isEqual:aShowcaseChangeEnabledPolicyType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGShowcaseChangeEnabledPolicyTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGShowcaseChangeEnabledPolicyType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGShowcaseChangeEnabledPolicyType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGShowcaseChangeEnabledPolicyType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGShowcaseChangeExternalSharingPolicyDetails.h" #import "DBTEAMLOGShowcaseExternalSharingPolicy.h" #pragma mark - API Object @implementation DBTEAMLOGShowcaseChangeExternalSharingPolicyDetails #pragma mark - Constructors - (instancetype)initWithDNewValue:(DBTEAMLOGShowcaseExternalSharingPolicy *)dNewValue previousValue:(DBTEAMLOGShowcaseExternalSharingPolicy *)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 [DBTEAMLOGShowcaseChangeExternalSharingPolicyDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGShowcaseChangeExternalSharingPolicyDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGShowcaseChangeExternalSharingPolicyDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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 isEqualToShowcaseChangeExternalSharingPolicyDetails:other]; } - (BOOL)isEqualToShowcaseChangeExternalSharingPolicyDetails: (DBTEAMLOGShowcaseChangeExternalSharingPolicyDetails *)aShowcaseChangeExternalSharingPolicyDetails { if (self == aShowcaseChangeExternalSharingPolicyDetails) { return YES; } if (![self.dNewValue isEqual:aShowcaseChangeExternalSharingPolicyDetails.dNewValue]) { return NO; } if (![self.previousValue isEqual:aShowcaseChangeExternalSharingPolicyDetails.previousValue]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGShowcaseChangeExternalSharingPolicyDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGShowcaseChangeExternalSharingPolicyDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"new_value"] = [DBTEAMLOGShowcaseExternalSharingPolicySerializer serialize:valueObj.dNewValue]; jsonDict[@"previous_value"] = [DBTEAMLOGShowcaseExternalSharingPolicySerializer serialize:valueObj.previousValue]; return jsonDict; } + (DBTEAMLOGShowcaseChangeExternalSharingPolicyDetails *)deserialize:(NSDictionary *)valueDict { DBTEAMLOGShowcaseExternalSharingPolicy *dNewValue = [DBTEAMLOGShowcaseExternalSharingPolicySerializer deserialize:valueDict[@"new_value"]]; DBTEAMLOGShowcaseExternalSharingPolicy *previousValue = [DBTEAMLOGShowcaseExternalSharingPolicySerializer deserialize:valueDict[@"previous_value"]]; return [[DBTEAMLOGShowcaseChangeExternalSharingPolicyDetails alloc] initWithDNewValue:dNewValue previousValue:previousValue]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGShowcaseChangeExternalSharingPolicyType.h" #pragma mark - API Object @implementation DBTEAMLOGShowcaseChangeExternalSharingPolicyType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGShowcaseChangeExternalSharingPolicyTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGShowcaseChangeExternalSharingPolicyTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGShowcaseChangeExternalSharingPolicyTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToShowcaseChangeExternalSharingPolicyType:other]; } - (BOOL)isEqualToShowcaseChangeExternalSharingPolicyType: (DBTEAMLOGShowcaseChangeExternalSharingPolicyType *)aShowcaseChangeExternalSharingPolicyType { if (self == aShowcaseChangeExternalSharingPolicyType) { return YES; } if (![self.description_ isEqual:aShowcaseChangeExternalSharingPolicyType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGShowcaseChangeExternalSharingPolicyTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGShowcaseChangeExternalSharingPolicyType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGShowcaseChangeExternalSharingPolicyType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGShowcaseChangeExternalSharingPolicyType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGShowcaseCreatedDetails.h" #pragma mark - API Object @implementation DBTEAMLOGShowcaseCreatedDetails #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 [DBTEAMLOGShowcaseCreatedDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGShowcaseCreatedDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGShowcaseCreatedDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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 isEqualToShowcaseCreatedDetails:other]; } - (BOOL)isEqualToShowcaseCreatedDetails:(DBTEAMLOGShowcaseCreatedDetails *)aShowcaseCreatedDetails { if (self == aShowcaseCreatedDetails) { return YES; } if (![self.eventUuid isEqual:aShowcaseCreatedDetails.eventUuid]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGShowcaseCreatedDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGShowcaseCreatedDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"event_uuid"] = valueObj.eventUuid; return jsonDict; } + (DBTEAMLOGShowcaseCreatedDetails *)deserialize:(NSDictionary *)valueDict { NSString *eventUuid = valueDict[@"event_uuid"]; return [[DBTEAMLOGShowcaseCreatedDetails alloc] initWithEventUuid:eventUuid]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGShowcaseCreatedType.h" #pragma mark - API Object @implementation DBTEAMLOGShowcaseCreatedType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGShowcaseCreatedTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGShowcaseCreatedTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGShowcaseCreatedTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToShowcaseCreatedType:other]; } - (BOOL)isEqualToShowcaseCreatedType:(DBTEAMLOGShowcaseCreatedType *)aShowcaseCreatedType { if (self == aShowcaseCreatedType) { return YES; } if (![self.description_ isEqual:aShowcaseCreatedType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGShowcaseCreatedTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGShowcaseCreatedType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGShowcaseCreatedType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGShowcaseCreatedType alloc] initWithDescription_:description_]; } @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; } - (instancetype)initWithEventUuid:(NSString *)eventUuid { return [self initWithEventUuid:eventUuid commentText:nil]; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGShowcaseDeleteCommentDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGShowcaseDeleteCommentDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGShowcaseDeleteCommentDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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 isEqualToShowcaseDeleteCommentDetails:other]; } - (BOOL)isEqualToShowcaseDeleteCommentDetails:(DBTEAMLOGShowcaseDeleteCommentDetails *)aShowcaseDeleteCommentDetails { if (self == aShowcaseDeleteCommentDetails) { return YES; } if (![self.eventUuid isEqual:aShowcaseDeleteCommentDetails.eventUuid]) { return NO; } if (self.commentText) { if (![self.commentText isEqual:aShowcaseDeleteCommentDetails.commentText]) { return NO; } } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGShowcaseDeleteCommentDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGShowcaseDeleteCommentDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"event_uuid"] = valueObj.eventUuid; if (valueObj.commentText) { jsonDict[@"comment_text"] = valueObj.commentText; } return jsonDict; } + (DBTEAMLOGShowcaseDeleteCommentDetails *)deserialize:(NSDictionary *)valueDict { NSString *eventUuid = valueDict[@"event_uuid"]; NSString *commentText = valueDict[@"comment_text"] ?: nil; return [[DBTEAMLOGShowcaseDeleteCommentDetails alloc] initWithEventUuid:eventUuid commentText:commentText]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGShowcaseDeleteCommentType.h" #pragma mark - API Object @implementation DBTEAMLOGShowcaseDeleteCommentType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGShowcaseDeleteCommentTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGShowcaseDeleteCommentTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGShowcaseDeleteCommentTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToShowcaseDeleteCommentType:other]; } - (BOOL)isEqualToShowcaseDeleteCommentType:(DBTEAMLOGShowcaseDeleteCommentType *)aShowcaseDeleteCommentType { if (self == aShowcaseDeleteCommentType) { return YES; } if (![self.description_ isEqual:aShowcaseDeleteCommentType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGShowcaseDeleteCommentTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGShowcaseDeleteCommentType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGShowcaseDeleteCommentType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGShowcaseDeleteCommentType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGShowcaseDocumentLogInfo.h" #pragma mark - API Object @implementation DBTEAMLOGShowcaseDocumentLogInfo #pragma mark - Constructors - (instancetype)initWithShowcaseId:(NSString *)showcaseId showcaseTitle:(NSString *)showcaseTitle { [DBStoneValidators nonnullValidator:nil](showcaseId); [DBStoneValidators nonnullValidator:nil](showcaseTitle); self = [super init]; if (self) { _showcaseId = showcaseId; _showcaseTitle = showcaseTitle; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGShowcaseDocumentLogInfoSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGShowcaseDocumentLogInfoSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGShowcaseDocumentLogInfoSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.showcaseId hash]; result = prime * result + [self.showcaseTitle hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToShowcaseDocumentLogInfo:other]; } - (BOOL)isEqualToShowcaseDocumentLogInfo:(DBTEAMLOGShowcaseDocumentLogInfo *)aShowcaseDocumentLogInfo { if (self == aShowcaseDocumentLogInfo) { return YES; } if (![self.showcaseId isEqual:aShowcaseDocumentLogInfo.showcaseId]) { return NO; } if (![self.showcaseTitle isEqual:aShowcaseDocumentLogInfo.showcaseTitle]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGShowcaseDocumentLogInfoSerializer + (NSDictionary *)serialize:(DBTEAMLOGShowcaseDocumentLogInfo *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"showcase_id"] = valueObj.showcaseId; jsonDict[@"showcase_title"] = valueObj.showcaseTitle; return jsonDict; } + (DBTEAMLOGShowcaseDocumentLogInfo *)deserialize:(NSDictionary *)valueDict { NSString *showcaseId = valueDict[@"showcase_id"]; NSString *showcaseTitle = valueDict[@"showcase_title"]; return [[DBTEAMLOGShowcaseDocumentLogInfo alloc] initWithShowcaseId:showcaseId showcaseTitle:showcaseTitle]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGShowcaseDownloadPolicy.h" #pragma mark - API Object @implementation DBTEAMLOGShowcaseDownloadPolicy #pragma mark - Constructors - (instancetype)initWithDisabled { self = [super init]; if (self) { _tag = DBTEAMLOGShowcaseDownloadPolicyDisabled; } return self; } - (instancetype)initWithEnabled { self = [super init]; if (self) { _tag = DBTEAMLOGShowcaseDownloadPolicyEnabled; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBTEAMLOGShowcaseDownloadPolicyOther; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isDisabled { return _tag == DBTEAMLOGShowcaseDownloadPolicyDisabled; } - (BOOL)isEnabled { return _tag == DBTEAMLOGShowcaseDownloadPolicyEnabled; } - (BOOL)isOther { return _tag == DBTEAMLOGShowcaseDownloadPolicyOther; } - (NSString *)tagName { switch (_tag) { case DBTEAMLOGShowcaseDownloadPolicyDisabled: return @"DBTEAMLOGShowcaseDownloadPolicyDisabled"; case DBTEAMLOGShowcaseDownloadPolicyEnabled: return @"DBTEAMLOGShowcaseDownloadPolicyEnabled"; case DBTEAMLOGShowcaseDownloadPolicyOther: return @"DBTEAMLOGShowcaseDownloadPolicyOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGShowcaseDownloadPolicySerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGShowcaseDownloadPolicySerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGShowcaseDownloadPolicySerializer serialize:self] description]; } #pragma mark - Copyable method - (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 DBTEAMLOGShowcaseDownloadPolicyDisabled: result = prime * result + [[self tagName] hash]; break; case DBTEAMLOGShowcaseDownloadPolicyEnabled: result = prime * result + [[self tagName] hash]; break; case DBTEAMLOGShowcaseDownloadPolicyOther: 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:(DBTEAMLOGShowcaseDownloadPolicy *)aShowcaseDownloadPolicy { if (self == aShowcaseDownloadPolicy) { return YES; } if (self.tag != aShowcaseDownloadPolicy.tag) { return NO; } switch (_tag) { 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; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGShowcaseDownloadPolicySerializer + (NSDictionary *)serialize:(DBTEAMLOGShowcaseDownloadPolicy *)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; } + (DBTEAMLOGShowcaseDownloadPolicy *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"disabled"]) { return [[DBTEAMLOGShowcaseDownloadPolicy alloc] initWithDisabled]; } else if ([tag isEqualToString:@"enabled"]) { return [[DBTEAMLOGShowcaseDownloadPolicy alloc] initWithEnabled]; } else if ([tag isEqualToString:@"other"]) { return [[DBTEAMLOGShowcaseDownloadPolicy alloc] initWithOther]; } else { return [[DBTEAMLOGShowcaseDownloadPolicy alloc] initWithOther]; } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGShowcaseEditCommentDetails.h" #pragma mark - API Object @implementation DBTEAMLOGShowcaseEditCommentDetails #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 [DBTEAMLOGShowcaseEditCommentDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGShowcaseEditCommentDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGShowcaseEditCommentDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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 isEqualToShowcaseEditCommentDetails:other]; } - (BOOL)isEqualToShowcaseEditCommentDetails:(DBTEAMLOGShowcaseEditCommentDetails *)aShowcaseEditCommentDetails { if (self == aShowcaseEditCommentDetails) { return YES; } if (![self.eventUuid isEqual:aShowcaseEditCommentDetails.eventUuid]) { return NO; } if (self.commentText) { if (![self.commentText isEqual:aShowcaseEditCommentDetails.commentText]) { return NO; } } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGShowcaseEditCommentDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGShowcaseEditCommentDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"event_uuid"] = valueObj.eventUuid; if (valueObj.commentText) { jsonDict[@"comment_text"] = valueObj.commentText; } return jsonDict; } + (DBTEAMLOGShowcaseEditCommentDetails *)deserialize:(NSDictionary *)valueDict { NSString *eventUuid = valueDict[@"event_uuid"]; NSString *commentText = valueDict[@"comment_text"] ?: nil; return [[DBTEAMLOGShowcaseEditCommentDetails alloc] initWithEventUuid:eventUuid commentText:commentText]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGShowcaseEditCommentType.h" #pragma mark - API Object @implementation DBTEAMLOGShowcaseEditCommentType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGShowcaseEditCommentTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGShowcaseEditCommentTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGShowcaseEditCommentTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToShowcaseEditCommentType:other]; } - (BOOL)isEqualToShowcaseEditCommentType:(DBTEAMLOGShowcaseEditCommentType *)aShowcaseEditCommentType { if (self == aShowcaseEditCommentType) { return YES; } if (![self.description_ isEqual:aShowcaseEditCommentType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGShowcaseEditCommentTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGShowcaseEditCommentType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGShowcaseEditCommentType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGShowcaseEditCommentType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGShowcaseEditedDetails.h" #pragma mark - API Object @implementation DBTEAMLOGShowcaseEditedDetails #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 [DBTEAMLOGShowcaseEditedDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGShowcaseEditedDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGShowcaseEditedDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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 isEqualToShowcaseEditedDetails:other]; } - (BOOL)isEqualToShowcaseEditedDetails:(DBTEAMLOGShowcaseEditedDetails *)aShowcaseEditedDetails { if (self == aShowcaseEditedDetails) { return YES; } if (![self.eventUuid isEqual:aShowcaseEditedDetails.eventUuid]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGShowcaseEditedDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGShowcaseEditedDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"event_uuid"] = valueObj.eventUuid; return jsonDict; } + (DBTEAMLOGShowcaseEditedDetails *)deserialize:(NSDictionary *)valueDict { NSString *eventUuid = valueDict[@"event_uuid"]; return [[DBTEAMLOGShowcaseEditedDetails alloc] initWithEventUuid:eventUuid]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGShowcaseEditedType.h" #pragma mark - API Object @implementation DBTEAMLOGShowcaseEditedType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGShowcaseEditedTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGShowcaseEditedTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGShowcaseEditedTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToShowcaseEditedType:other]; } - (BOOL)isEqualToShowcaseEditedType:(DBTEAMLOGShowcaseEditedType *)aShowcaseEditedType { if (self == aShowcaseEditedType) { return YES; } if (![self.description_ isEqual:aShowcaseEditedType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGShowcaseEditedTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGShowcaseEditedType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGShowcaseEditedType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGShowcaseEditedType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGShowcaseEnabledPolicy.h" #pragma mark - API Object @implementation DBTEAMLOGShowcaseEnabledPolicy #pragma mark - Constructors - (instancetype)initWithDisabled { self = [super init]; if (self) { _tag = DBTEAMLOGShowcaseEnabledPolicyDisabled; } return self; } - (instancetype)initWithEnabled { self = [super init]; if (self) { _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 [DBTEAMLOGShowcaseEnabledPolicySerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGShowcaseEnabledPolicySerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGShowcaseEnabledPolicySerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #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:(DBTEAMLOGShowcaseEnabledPolicy *)aShowcaseEnabledPolicy { if (self == aShowcaseEnabledPolicy) { return YES; } 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; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGShowcaseEnabledPolicySerializer + (NSDictionary *)serialize:(DBTEAMLOGShowcaseEnabledPolicy *)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; } + (DBTEAMLOGShowcaseEnabledPolicy *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; 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 "DBTEAMLOGShowcaseExternalSharingPolicy.h" #pragma mark - API Object @implementation DBTEAMLOGShowcaseExternalSharingPolicy #pragma mark - Constructors - (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) { _tag = DBTEAMLOGShowcaseExternalSharingPolicyOther; } return self; } #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 [DBTEAMLOGShowcaseExternalSharingPolicySerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGShowcaseExternalSharingPolicySerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGShowcaseExternalSharingPolicySerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #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: (DBTEAMLOGShowcaseExternalSharingPolicy *)aShowcaseExternalSharingPolicy { if (self == aShowcaseExternalSharingPolicy) { return YES; } if (self.tag != aShowcaseExternalSharingPolicy.tag) { 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; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGShowcaseExternalSharingPolicySerializer + (NSDictionary *)serialize:(DBTEAMLOGShowcaseExternalSharingPolicy *)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; } + (DBTEAMLOGShowcaseExternalSharingPolicy *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; 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 "DBTEAMLOGShowcaseFileAddedDetails.h" #pragma mark - API Object @implementation DBTEAMLOGShowcaseFileAddedDetails #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 [DBTEAMLOGShowcaseFileAddedDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGShowcaseFileAddedDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGShowcaseFileAddedDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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 isEqualToShowcaseFileAddedDetails:other]; } - (BOOL)isEqualToShowcaseFileAddedDetails:(DBTEAMLOGShowcaseFileAddedDetails *)aShowcaseFileAddedDetails { if (self == aShowcaseFileAddedDetails) { return YES; } if (![self.eventUuid isEqual:aShowcaseFileAddedDetails.eventUuid]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGShowcaseFileAddedDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGShowcaseFileAddedDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"event_uuid"] = valueObj.eventUuid; return jsonDict; } + (DBTEAMLOGShowcaseFileAddedDetails *)deserialize:(NSDictionary *)valueDict { NSString *eventUuid = valueDict[@"event_uuid"]; return [[DBTEAMLOGShowcaseFileAddedDetails alloc] initWithEventUuid:eventUuid]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGShowcaseFileAddedType.h" #pragma mark - API Object @implementation DBTEAMLOGShowcaseFileAddedType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGShowcaseFileAddedTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGShowcaseFileAddedTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGShowcaseFileAddedTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToShowcaseFileAddedType:other]; } - (BOOL)isEqualToShowcaseFileAddedType:(DBTEAMLOGShowcaseFileAddedType *)aShowcaseFileAddedType { if (self == aShowcaseFileAddedType) { return YES; } if (![self.description_ isEqual:aShowcaseFileAddedType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGShowcaseFileAddedTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGShowcaseFileAddedType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGShowcaseFileAddedType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGShowcaseFileAddedType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGShowcaseFileDownloadDetails.h" #pragma mark - API Object @implementation DBTEAMLOGShowcaseFileDownloadDetails #pragma mark - Constructors - (instancetype)initWithEventUuid:(NSString *)eventUuid downloadType:(NSString *)downloadType { [DBStoneValidators nonnullValidator:nil](eventUuid); [DBStoneValidators nonnullValidator:nil](downloadType); self = [super init]; if (self) { _eventUuid = eventUuid; _downloadType = downloadType; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGShowcaseFileDownloadDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGShowcaseFileDownloadDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGShowcaseFileDownloadDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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.downloadType hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToShowcaseFileDownloadDetails:other]; } - (BOOL)isEqualToShowcaseFileDownloadDetails:(DBTEAMLOGShowcaseFileDownloadDetails *)aShowcaseFileDownloadDetails { if (self == aShowcaseFileDownloadDetails) { return YES; } if (![self.eventUuid isEqual:aShowcaseFileDownloadDetails.eventUuid]) { return NO; } if (![self.downloadType isEqual:aShowcaseFileDownloadDetails.downloadType]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGShowcaseFileDownloadDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGShowcaseFileDownloadDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"event_uuid"] = valueObj.eventUuid; jsonDict[@"download_type"] = valueObj.downloadType; return jsonDict; } + (DBTEAMLOGShowcaseFileDownloadDetails *)deserialize:(NSDictionary *)valueDict { NSString *eventUuid = valueDict[@"event_uuid"]; NSString *downloadType = valueDict[@"download_type"]; return [[DBTEAMLOGShowcaseFileDownloadDetails alloc] initWithEventUuid:eventUuid downloadType:downloadType]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGShowcaseFileDownloadType.h" #pragma mark - API Object @implementation DBTEAMLOGShowcaseFileDownloadType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGShowcaseFileDownloadTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGShowcaseFileDownloadTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGShowcaseFileDownloadTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToShowcaseFileDownloadType:other]; } - (BOOL)isEqualToShowcaseFileDownloadType:(DBTEAMLOGShowcaseFileDownloadType *)aShowcaseFileDownloadType { if (self == aShowcaseFileDownloadType) { return YES; } if (![self.description_ isEqual:aShowcaseFileDownloadType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGShowcaseFileDownloadTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGShowcaseFileDownloadType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGShowcaseFileDownloadType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGShowcaseFileDownloadType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGShowcaseFileRemovedDetails.h" #pragma mark - API Object @implementation DBTEAMLOGShowcaseFileRemovedDetails #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 [DBTEAMLOGShowcaseFileRemovedDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGShowcaseFileRemovedDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGShowcaseFileRemovedDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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 isEqualToShowcaseFileRemovedDetails:other]; } - (BOOL)isEqualToShowcaseFileRemovedDetails:(DBTEAMLOGShowcaseFileRemovedDetails *)aShowcaseFileRemovedDetails { if (self == aShowcaseFileRemovedDetails) { return YES; } if (![self.eventUuid isEqual:aShowcaseFileRemovedDetails.eventUuid]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGShowcaseFileRemovedDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGShowcaseFileRemovedDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"event_uuid"] = valueObj.eventUuid; return jsonDict; } + (DBTEAMLOGShowcaseFileRemovedDetails *)deserialize:(NSDictionary *)valueDict { NSString *eventUuid = valueDict[@"event_uuid"]; return [[DBTEAMLOGShowcaseFileRemovedDetails alloc] initWithEventUuid:eventUuid]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGShowcaseFileRemovedType.h" #pragma mark - API Object @implementation DBTEAMLOGShowcaseFileRemovedType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGShowcaseFileRemovedTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGShowcaseFileRemovedTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGShowcaseFileRemovedTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToShowcaseFileRemovedType:other]; } - (BOOL)isEqualToShowcaseFileRemovedType:(DBTEAMLOGShowcaseFileRemovedType *)aShowcaseFileRemovedType { if (self == aShowcaseFileRemovedType) { return YES; } if (![self.description_ isEqual:aShowcaseFileRemovedType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGShowcaseFileRemovedTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGShowcaseFileRemovedType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGShowcaseFileRemovedType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGShowcaseFileRemovedType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGShowcaseFileViewDetails.h" #pragma mark - API Object @implementation DBTEAMLOGShowcaseFileViewDetails #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 [DBTEAMLOGShowcaseFileViewDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGShowcaseFileViewDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGShowcaseFileViewDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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 isEqualToShowcaseFileViewDetails:other]; } - (BOOL)isEqualToShowcaseFileViewDetails:(DBTEAMLOGShowcaseFileViewDetails *)aShowcaseFileViewDetails { if (self == aShowcaseFileViewDetails) { return YES; } if (![self.eventUuid isEqual:aShowcaseFileViewDetails.eventUuid]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGShowcaseFileViewDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGShowcaseFileViewDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"event_uuid"] = valueObj.eventUuid; return jsonDict; } + (DBTEAMLOGShowcaseFileViewDetails *)deserialize:(NSDictionary *)valueDict { NSString *eventUuid = valueDict[@"event_uuid"]; return [[DBTEAMLOGShowcaseFileViewDetails alloc] initWithEventUuid:eventUuid]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGShowcaseFileViewType.h" #pragma mark - API Object @implementation DBTEAMLOGShowcaseFileViewType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGShowcaseFileViewTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGShowcaseFileViewTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGShowcaseFileViewTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToShowcaseFileViewType:other]; } - (BOOL)isEqualToShowcaseFileViewType:(DBTEAMLOGShowcaseFileViewType *)aShowcaseFileViewType { if (self == aShowcaseFileViewType) { return YES; } if (![self.description_ isEqual:aShowcaseFileViewType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGShowcaseFileViewTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGShowcaseFileViewType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGShowcaseFileViewType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGShowcaseFileViewType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGShowcasePermanentlyDeletedDetails.h" #pragma mark - API Object @implementation DBTEAMLOGShowcasePermanentlyDeletedDetails #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 [DBTEAMLOGShowcasePermanentlyDeletedDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGShowcasePermanentlyDeletedDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGShowcasePermanentlyDeletedDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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 isEqualToShowcasePermanentlyDeletedDetails:other]; } - (BOOL)isEqualToShowcasePermanentlyDeletedDetails: (DBTEAMLOGShowcasePermanentlyDeletedDetails *)aShowcasePermanentlyDeletedDetails { if (self == aShowcasePermanentlyDeletedDetails) { return YES; } if (![self.eventUuid isEqual:aShowcasePermanentlyDeletedDetails.eventUuid]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGShowcasePermanentlyDeletedDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGShowcasePermanentlyDeletedDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"event_uuid"] = valueObj.eventUuid; return jsonDict; } + (DBTEAMLOGShowcasePermanentlyDeletedDetails *)deserialize:(NSDictionary *)valueDict { NSString *eventUuid = valueDict[@"event_uuid"]; return [[DBTEAMLOGShowcasePermanentlyDeletedDetails alloc] initWithEventUuid:eventUuid]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGShowcasePermanentlyDeletedType.h" #pragma mark - API Object @implementation DBTEAMLOGShowcasePermanentlyDeletedType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGShowcasePermanentlyDeletedTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGShowcasePermanentlyDeletedTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGShowcasePermanentlyDeletedTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToShowcasePermanentlyDeletedType:other]; } - (BOOL)isEqualToShowcasePermanentlyDeletedType: (DBTEAMLOGShowcasePermanentlyDeletedType *)aShowcasePermanentlyDeletedType { if (self == aShowcasePermanentlyDeletedType) { return YES; } if (![self.description_ isEqual:aShowcasePermanentlyDeletedType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGShowcasePermanentlyDeletedTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGShowcasePermanentlyDeletedType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGShowcasePermanentlyDeletedType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGShowcasePermanentlyDeletedType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGShowcasePostCommentDetails.h" #pragma mark - API Object @implementation DBTEAMLOGShowcasePostCommentDetails #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 [DBTEAMLOGShowcasePostCommentDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGShowcasePostCommentDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGShowcasePostCommentDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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 isEqualToShowcasePostCommentDetails:other]; } - (BOOL)isEqualToShowcasePostCommentDetails:(DBTEAMLOGShowcasePostCommentDetails *)aShowcasePostCommentDetails { if (self == aShowcasePostCommentDetails) { return YES; } if (![self.eventUuid isEqual:aShowcasePostCommentDetails.eventUuid]) { return NO; } if (self.commentText) { if (![self.commentText isEqual:aShowcasePostCommentDetails.commentText]) { return NO; } } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGShowcasePostCommentDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGShowcasePostCommentDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"event_uuid"] = valueObj.eventUuid; if (valueObj.commentText) { jsonDict[@"comment_text"] = valueObj.commentText; } return jsonDict; } + (DBTEAMLOGShowcasePostCommentDetails *)deserialize:(NSDictionary *)valueDict { NSString *eventUuid = valueDict[@"event_uuid"]; NSString *commentText = valueDict[@"comment_text"] ?: nil; return [[DBTEAMLOGShowcasePostCommentDetails alloc] initWithEventUuid:eventUuid commentText:commentText]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGShowcasePostCommentType.h" #pragma mark - API Object @implementation DBTEAMLOGShowcasePostCommentType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGShowcasePostCommentTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGShowcasePostCommentTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGShowcasePostCommentTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToShowcasePostCommentType:other]; } - (BOOL)isEqualToShowcasePostCommentType:(DBTEAMLOGShowcasePostCommentType *)aShowcasePostCommentType { if (self == aShowcasePostCommentType) { return YES; } if (![self.description_ isEqual:aShowcasePostCommentType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGShowcasePostCommentTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGShowcasePostCommentType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGShowcasePostCommentType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGShowcasePostCommentType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGShowcaseRemoveMemberDetails.h" #pragma mark - API Object @implementation DBTEAMLOGShowcaseRemoveMemberDetails #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 [DBTEAMLOGShowcaseRemoveMemberDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGShowcaseRemoveMemberDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGShowcaseRemoveMemberDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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 isEqualToShowcaseRemoveMemberDetails:other]; } - (BOOL)isEqualToShowcaseRemoveMemberDetails:(DBTEAMLOGShowcaseRemoveMemberDetails *)aShowcaseRemoveMemberDetails { if (self == aShowcaseRemoveMemberDetails) { return YES; } if (![self.eventUuid isEqual:aShowcaseRemoveMemberDetails.eventUuid]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGShowcaseRemoveMemberDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGShowcaseRemoveMemberDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"event_uuid"] = valueObj.eventUuid; return jsonDict; } + (DBTEAMLOGShowcaseRemoveMemberDetails *)deserialize:(NSDictionary *)valueDict { NSString *eventUuid = valueDict[@"event_uuid"]; return [[DBTEAMLOGShowcaseRemoveMemberDetails alloc] initWithEventUuid:eventUuid]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGShowcaseRemoveMemberType.h" #pragma mark - API Object @implementation DBTEAMLOGShowcaseRemoveMemberType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGShowcaseRemoveMemberTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGShowcaseRemoveMemberTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGShowcaseRemoveMemberTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToShowcaseRemoveMemberType:other]; } - (BOOL)isEqualToShowcaseRemoveMemberType:(DBTEAMLOGShowcaseRemoveMemberType *)aShowcaseRemoveMemberType { if (self == aShowcaseRemoveMemberType) { return YES; } if (![self.description_ isEqual:aShowcaseRemoveMemberType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGShowcaseRemoveMemberTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGShowcaseRemoveMemberType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGShowcaseRemoveMemberType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGShowcaseRemoveMemberType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGShowcaseRenamedDetails.h" #pragma mark - API Object @implementation DBTEAMLOGShowcaseRenamedDetails #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 [DBTEAMLOGShowcaseRenamedDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGShowcaseRenamedDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGShowcaseRenamedDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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 isEqualToShowcaseRenamedDetails:other]; } - (BOOL)isEqualToShowcaseRenamedDetails:(DBTEAMLOGShowcaseRenamedDetails *)aShowcaseRenamedDetails { if (self == aShowcaseRenamedDetails) { return YES; } if (![self.eventUuid isEqual:aShowcaseRenamedDetails.eventUuid]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGShowcaseRenamedDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGShowcaseRenamedDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"event_uuid"] = valueObj.eventUuid; return jsonDict; } + (DBTEAMLOGShowcaseRenamedDetails *)deserialize:(NSDictionary *)valueDict { NSString *eventUuid = valueDict[@"event_uuid"]; return [[DBTEAMLOGShowcaseRenamedDetails alloc] initWithEventUuid:eventUuid]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGShowcaseRenamedType.h" #pragma mark - API Object @implementation DBTEAMLOGShowcaseRenamedType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGShowcaseRenamedTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGShowcaseRenamedTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGShowcaseRenamedTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToShowcaseRenamedType:other]; } - (BOOL)isEqualToShowcaseRenamedType:(DBTEAMLOGShowcaseRenamedType *)aShowcaseRenamedType { if (self == aShowcaseRenamedType) { return YES; } if (![self.description_ isEqual:aShowcaseRenamedType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGShowcaseRenamedTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGShowcaseRenamedType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGShowcaseRenamedType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGShowcaseRenamedType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGShowcaseRequestAccessDetails.h" #pragma mark - API Object @implementation DBTEAMLOGShowcaseRequestAccessDetails #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 [DBTEAMLOGShowcaseRequestAccessDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGShowcaseRequestAccessDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGShowcaseRequestAccessDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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 isEqualToShowcaseRequestAccessDetails:other]; } - (BOOL)isEqualToShowcaseRequestAccessDetails:(DBTEAMLOGShowcaseRequestAccessDetails *)aShowcaseRequestAccessDetails { if (self == aShowcaseRequestAccessDetails) { return YES; } if (![self.eventUuid isEqual:aShowcaseRequestAccessDetails.eventUuid]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGShowcaseRequestAccessDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGShowcaseRequestAccessDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"event_uuid"] = valueObj.eventUuid; return jsonDict; } + (DBTEAMLOGShowcaseRequestAccessDetails *)deserialize:(NSDictionary *)valueDict { NSString *eventUuid = valueDict[@"event_uuid"]; return [[DBTEAMLOGShowcaseRequestAccessDetails alloc] initWithEventUuid:eventUuid]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGShowcaseRequestAccessType.h" #pragma mark - API Object @implementation DBTEAMLOGShowcaseRequestAccessType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGShowcaseRequestAccessTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGShowcaseRequestAccessTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGShowcaseRequestAccessTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToShowcaseRequestAccessType:other]; } - (BOOL)isEqualToShowcaseRequestAccessType:(DBTEAMLOGShowcaseRequestAccessType *)aShowcaseRequestAccessType { if (self == aShowcaseRequestAccessType) { return YES; } if (![self.description_ isEqual:aShowcaseRequestAccessType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGShowcaseRequestAccessTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGShowcaseRequestAccessType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGShowcaseRequestAccessType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGShowcaseRequestAccessType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGShowcaseResolveCommentDetails.h" #pragma mark - API Object @implementation DBTEAMLOGShowcaseResolveCommentDetails #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 [DBTEAMLOGShowcaseResolveCommentDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGShowcaseResolveCommentDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGShowcaseResolveCommentDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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 isEqualToShowcaseResolveCommentDetails:other]; } - (BOOL)isEqualToShowcaseResolveCommentDetails: (DBTEAMLOGShowcaseResolveCommentDetails *)aShowcaseResolveCommentDetails { if (self == aShowcaseResolveCommentDetails) { return YES; } if (![self.eventUuid isEqual:aShowcaseResolveCommentDetails.eventUuid]) { return NO; } if (self.commentText) { if (![self.commentText isEqual:aShowcaseResolveCommentDetails.commentText]) { return NO; } } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGShowcaseResolveCommentDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGShowcaseResolveCommentDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"event_uuid"] = valueObj.eventUuid; if (valueObj.commentText) { jsonDict[@"comment_text"] = valueObj.commentText; } return jsonDict; } + (DBTEAMLOGShowcaseResolveCommentDetails *)deserialize:(NSDictionary *)valueDict { NSString *eventUuid = valueDict[@"event_uuid"]; NSString *commentText = valueDict[@"comment_text"] ?: nil; return [[DBTEAMLOGShowcaseResolveCommentDetails alloc] initWithEventUuid:eventUuid commentText:commentText]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGShowcaseResolveCommentType.h" #pragma mark - API Object @implementation DBTEAMLOGShowcaseResolveCommentType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGShowcaseResolveCommentTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGShowcaseResolveCommentTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGShowcaseResolveCommentTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToShowcaseResolveCommentType:other]; } - (BOOL)isEqualToShowcaseResolveCommentType:(DBTEAMLOGShowcaseResolveCommentType *)aShowcaseResolveCommentType { if (self == aShowcaseResolveCommentType) { return YES; } if (![self.description_ isEqual:aShowcaseResolveCommentType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGShowcaseResolveCommentTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGShowcaseResolveCommentType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGShowcaseResolveCommentType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGShowcaseResolveCommentType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGShowcaseRestoredDetails.h" #pragma mark - API Object @implementation DBTEAMLOGShowcaseRestoredDetails #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 [DBTEAMLOGShowcaseRestoredDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGShowcaseRestoredDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGShowcaseRestoredDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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 isEqualToShowcaseRestoredDetails:other]; } - (BOOL)isEqualToShowcaseRestoredDetails:(DBTEAMLOGShowcaseRestoredDetails *)aShowcaseRestoredDetails { if (self == aShowcaseRestoredDetails) { return YES; } if (![self.eventUuid isEqual:aShowcaseRestoredDetails.eventUuid]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGShowcaseRestoredDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGShowcaseRestoredDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"event_uuid"] = valueObj.eventUuid; return jsonDict; } + (DBTEAMLOGShowcaseRestoredDetails *)deserialize:(NSDictionary *)valueDict { NSString *eventUuid = valueDict[@"event_uuid"]; return [[DBTEAMLOGShowcaseRestoredDetails alloc] initWithEventUuid:eventUuid]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGShowcaseRestoredType.h" #pragma mark - API Object @implementation DBTEAMLOGShowcaseRestoredType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGShowcaseRestoredTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGShowcaseRestoredTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGShowcaseRestoredTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToShowcaseRestoredType:other]; } - (BOOL)isEqualToShowcaseRestoredType:(DBTEAMLOGShowcaseRestoredType *)aShowcaseRestoredType { if (self == aShowcaseRestoredType) { return YES; } if (![self.description_ isEqual:aShowcaseRestoredType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGShowcaseRestoredTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGShowcaseRestoredType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGShowcaseRestoredType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGShowcaseRestoredType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGShowcaseTrashedDeprecatedDetails.h" #pragma mark - API Object @implementation DBTEAMLOGShowcaseTrashedDeprecatedDetails #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 [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; } #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 isEqualToShowcaseTrashedDeprecatedDetails:other]; } - (BOOL)isEqualToShowcaseTrashedDeprecatedDetails: (DBTEAMLOGShowcaseTrashedDeprecatedDetails *)aShowcaseTrashedDeprecatedDetails { if (self == aShowcaseTrashedDeprecatedDetails) { return YES; } if (![self.eventUuid isEqual:aShowcaseTrashedDeprecatedDetails.eventUuid]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGShowcaseTrashedDeprecatedDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGShowcaseTrashedDeprecatedDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"event_uuid"] = valueObj.eventUuid; return jsonDict; } + (DBTEAMLOGShowcaseTrashedDeprecatedDetails *)deserialize:(NSDictionary *)valueDict { NSString *eventUuid = valueDict[@"event_uuid"]; return [[DBTEAMLOGShowcaseTrashedDeprecatedDetails alloc] initWithEventUuid:eventUuid]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGShowcaseTrashedDeprecatedType.h" #pragma mark - API Object @implementation DBTEAMLOGShowcaseTrashedDeprecatedType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGShowcaseTrashedDeprecatedTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGShowcaseTrashedDeprecatedTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGShowcaseTrashedDeprecatedTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToShowcaseTrashedDeprecatedType:other]; } - (BOOL)isEqualToShowcaseTrashedDeprecatedType: (DBTEAMLOGShowcaseTrashedDeprecatedType *)aShowcaseTrashedDeprecatedType { if (self == aShowcaseTrashedDeprecatedType) { return YES; } if (![self.description_ isEqual:aShowcaseTrashedDeprecatedType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGShowcaseTrashedDeprecatedTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGShowcaseTrashedDeprecatedType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGShowcaseTrashedDeprecatedType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGShowcaseTrashedDeprecatedType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGShowcaseTrashedDetails.h" #pragma mark - API Object @implementation DBTEAMLOGShowcaseTrashedDetails #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 [DBTEAMLOGShowcaseTrashedDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGShowcaseTrashedDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGShowcaseTrashedDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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 isEqualToShowcaseTrashedDetails:other]; } - (BOOL)isEqualToShowcaseTrashedDetails:(DBTEAMLOGShowcaseTrashedDetails *)aShowcaseTrashedDetails { if (self == aShowcaseTrashedDetails) { return YES; } if (![self.eventUuid isEqual:aShowcaseTrashedDetails.eventUuid]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGShowcaseTrashedDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGShowcaseTrashedDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"event_uuid"] = valueObj.eventUuid; return jsonDict; } + (DBTEAMLOGShowcaseTrashedDetails *)deserialize:(NSDictionary *)valueDict { NSString *eventUuid = valueDict[@"event_uuid"]; return [[DBTEAMLOGShowcaseTrashedDetails alloc] initWithEventUuid:eventUuid]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGShowcaseTrashedType.h" #pragma mark - API Object @implementation DBTEAMLOGShowcaseTrashedType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGShowcaseTrashedTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGShowcaseTrashedTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGShowcaseTrashedTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToShowcaseTrashedType:other]; } - (BOOL)isEqualToShowcaseTrashedType:(DBTEAMLOGShowcaseTrashedType *)aShowcaseTrashedType { if (self == aShowcaseTrashedType) { return YES; } if (![self.description_ isEqual:aShowcaseTrashedType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGShowcaseTrashedTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGShowcaseTrashedType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGShowcaseTrashedType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGShowcaseTrashedType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGShowcaseUnresolveCommentDetails.h" #pragma mark - API Object @implementation DBTEAMLOGShowcaseUnresolveCommentDetails #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 [DBTEAMLOGShowcaseUnresolveCommentDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGShowcaseUnresolveCommentDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGShowcaseUnresolveCommentDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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 isEqualToShowcaseUnresolveCommentDetails:other]; } - (BOOL)isEqualToShowcaseUnresolveCommentDetails: (DBTEAMLOGShowcaseUnresolveCommentDetails *)aShowcaseUnresolveCommentDetails { if (self == aShowcaseUnresolveCommentDetails) { return YES; } if (![self.eventUuid isEqual:aShowcaseUnresolveCommentDetails.eventUuid]) { return NO; } if (self.commentText) { if (![self.commentText isEqual:aShowcaseUnresolveCommentDetails.commentText]) { return NO; } } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGShowcaseUnresolveCommentDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGShowcaseUnresolveCommentDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"event_uuid"] = valueObj.eventUuid; if (valueObj.commentText) { jsonDict[@"comment_text"] = valueObj.commentText; } return jsonDict; } + (DBTEAMLOGShowcaseUnresolveCommentDetails *)deserialize:(NSDictionary *)valueDict { NSString *eventUuid = valueDict[@"event_uuid"]; NSString *commentText = valueDict[@"comment_text"] ?: nil; return [[DBTEAMLOGShowcaseUnresolveCommentDetails alloc] initWithEventUuid:eventUuid commentText:commentText]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGShowcaseUnresolveCommentType.h" #pragma mark - API Object @implementation DBTEAMLOGShowcaseUnresolveCommentType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGShowcaseUnresolveCommentTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGShowcaseUnresolveCommentTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGShowcaseUnresolveCommentTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToShowcaseUnresolveCommentType:other]; } - (BOOL)isEqualToShowcaseUnresolveCommentType:(DBTEAMLOGShowcaseUnresolveCommentType *)aShowcaseUnresolveCommentType { if (self == aShowcaseUnresolveCommentType) { return YES; } if (![self.description_ isEqual:aShowcaseUnresolveCommentType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGShowcaseUnresolveCommentTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGShowcaseUnresolveCommentType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGShowcaseUnresolveCommentType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGShowcaseUnresolveCommentType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGShowcaseUntrashedDeprecatedDetails.h" #pragma mark - API Object @implementation DBTEAMLOGShowcaseUntrashedDeprecatedDetails #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 [DBTEAMLOGShowcaseUntrashedDeprecatedDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGShowcaseUntrashedDeprecatedDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGShowcaseUntrashedDeprecatedDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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 isEqualToShowcaseUntrashedDeprecatedDetails:other]; } - (BOOL)isEqualToShowcaseUntrashedDeprecatedDetails: (DBTEAMLOGShowcaseUntrashedDeprecatedDetails *)aShowcaseUntrashedDeprecatedDetails { if (self == aShowcaseUntrashedDeprecatedDetails) { return YES; } if (![self.eventUuid isEqual:aShowcaseUntrashedDeprecatedDetails.eventUuid]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGShowcaseUntrashedDeprecatedDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGShowcaseUntrashedDeprecatedDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"event_uuid"] = valueObj.eventUuid; return jsonDict; } + (DBTEAMLOGShowcaseUntrashedDeprecatedDetails *)deserialize:(NSDictionary *)valueDict { NSString *eventUuid = valueDict[@"event_uuid"]; return [[DBTEAMLOGShowcaseUntrashedDeprecatedDetails alloc] initWithEventUuid:eventUuid]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGShowcaseUntrashedDeprecatedType.h" #pragma mark - API Object @implementation DBTEAMLOGShowcaseUntrashedDeprecatedType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGShowcaseUntrashedDeprecatedTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGShowcaseUntrashedDeprecatedTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGShowcaseUntrashedDeprecatedTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToShowcaseUntrashedDeprecatedType:other]; } - (BOOL)isEqualToShowcaseUntrashedDeprecatedType: (DBTEAMLOGShowcaseUntrashedDeprecatedType *)aShowcaseUntrashedDeprecatedType { if (self == aShowcaseUntrashedDeprecatedType) { return YES; } if (![self.description_ isEqual:aShowcaseUntrashedDeprecatedType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGShowcaseUntrashedDeprecatedTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGShowcaseUntrashedDeprecatedType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGShowcaseUntrashedDeprecatedType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGShowcaseUntrashedDeprecatedType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGShowcaseUntrashedDetails.h" #pragma mark - API Object @implementation DBTEAMLOGShowcaseUntrashedDetails #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 [DBTEAMLOGShowcaseUntrashedDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGShowcaseUntrashedDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGShowcaseUntrashedDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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 isEqualToShowcaseUntrashedDetails:other]; } - (BOOL)isEqualToShowcaseUntrashedDetails:(DBTEAMLOGShowcaseUntrashedDetails *)aShowcaseUntrashedDetails { if (self == aShowcaseUntrashedDetails) { return YES; } if (![self.eventUuid isEqual:aShowcaseUntrashedDetails.eventUuid]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGShowcaseUntrashedDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGShowcaseUntrashedDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"event_uuid"] = valueObj.eventUuid; return jsonDict; } + (DBTEAMLOGShowcaseUntrashedDetails *)deserialize:(NSDictionary *)valueDict { NSString *eventUuid = valueDict[@"event_uuid"]; return [[DBTEAMLOGShowcaseUntrashedDetails alloc] initWithEventUuid:eventUuid]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGShowcaseUntrashedType.h" #pragma mark - API Object @implementation DBTEAMLOGShowcaseUntrashedType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGShowcaseUntrashedTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGShowcaseUntrashedTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGShowcaseUntrashedTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToShowcaseUntrashedType:other]; } - (BOOL)isEqualToShowcaseUntrashedType:(DBTEAMLOGShowcaseUntrashedType *)aShowcaseUntrashedType { if (self == aShowcaseUntrashedType) { return YES; } if (![self.description_ isEqual:aShowcaseUntrashedType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGShowcaseUntrashedTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGShowcaseUntrashedType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGShowcaseUntrashedType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGShowcaseUntrashedType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGShowcaseViewDetails.h" #pragma mark - API Object @implementation DBTEAMLOGShowcaseViewDetails #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 [DBTEAMLOGShowcaseViewDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGShowcaseViewDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGShowcaseViewDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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 isEqualToShowcaseViewDetails:other]; } - (BOOL)isEqualToShowcaseViewDetails:(DBTEAMLOGShowcaseViewDetails *)aShowcaseViewDetails { if (self == aShowcaseViewDetails) { return YES; } if (![self.eventUuid isEqual:aShowcaseViewDetails.eventUuid]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGShowcaseViewDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGShowcaseViewDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"event_uuid"] = valueObj.eventUuid; return jsonDict; } + (DBTEAMLOGShowcaseViewDetails *)deserialize:(NSDictionary *)valueDict { NSString *eventUuid = valueDict[@"event_uuid"]; return [[DBTEAMLOGShowcaseViewDetails alloc] initWithEventUuid:eventUuid]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGShowcaseViewType.h" #pragma mark - API Object @implementation DBTEAMLOGShowcaseViewType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGShowcaseViewTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGShowcaseViewTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGShowcaseViewTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToShowcaseViewType:other]; } - (BOOL)isEqualToShowcaseViewType:(DBTEAMLOGShowcaseViewType *)aShowcaseViewType { if (self == aShowcaseViewType) { return YES; } if (![self.description_ isEqual:aShowcaseViewType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGShowcaseViewTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGShowcaseViewType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGShowcaseViewType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGShowcaseViewType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGSignInAsSessionEndDetails.h" #pragma mark - API Object @implementation DBTEAMLOGSignInAsSessionEndDetails #pragma mark - Constructors - (instancetype)initDefault { self = [super init]; if (self) { } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGSignInAsSessionEndDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGSignInAsSessionEndDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGSignInAsSessionEndDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 isEqualToSignInAsSessionEndDetails:other]; } - (BOOL)isEqualToSignInAsSessionEndDetails:(DBTEAMLOGSignInAsSessionEndDetails *)aSignInAsSessionEndDetails { if (self == aSignInAsSessionEndDetails) { return YES; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGSignInAsSessionEndDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGSignInAsSessionEndDetails *)valueObj { #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; return jsonDict; } + (DBTEAMLOGSignInAsSessionEndDetails *)deserialize:(NSDictionary *)valueDict { #pragma unused(valueDict) return [[DBTEAMLOGSignInAsSessionEndDetails alloc] initDefault]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGSignInAsSessionEndType.h" #pragma mark - API Object @implementation DBTEAMLOGSignInAsSessionEndType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGSignInAsSessionEndTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGSignInAsSessionEndTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGSignInAsSessionEndTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToSignInAsSessionEndType:other]; } - (BOOL)isEqualToSignInAsSessionEndType:(DBTEAMLOGSignInAsSessionEndType *)aSignInAsSessionEndType { if (self == aSignInAsSessionEndType) { return YES; } if (![self.description_ isEqual:aSignInAsSessionEndType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGSignInAsSessionEndTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGSignInAsSessionEndType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGSignInAsSessionEndType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGSignInAsSessionEndType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGSignInAsSessionStartDetails.h" #pragma mark - API Object @implementation DBTEAMLOGSignInAsSessionStartDetails #pragma mark - Constructors - (instancetype)initDefault { self = [super init]; if (self) { } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGSignInAsSessionStartDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGSignInAsSessionStartDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGSignInAsSessionStartDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 isEqualToSignInAsSessionStartDetails:other]; } - (BOOL)isEqualToSignInAsSessionStartDetails:(DBTEAMLOGSignInAsSessionStartDetails *)aSignInAsSessionStartDetails { if (self == aSignInAsSessionStartDetails) { return YES; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGSignInAsSessionStartDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGSignInAsSessionStartDetails *)valueObj { #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; return jsonDict; } + (DBTEAMLOGSignInAsSessionStartDetails *)deserialize:(NSDictionary *)valueDict { #pragma unused(valueDict) return [[DBTEAMLOGSignInAsSessionStartDetails alloc] initDefault]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGSignInAsSessionStartType.h" #pragma mark - API Object @implementation DBTEAMLOGSignInAsSessionStartType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGSignInAsSessionStartTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGSignInAsSessionStartTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGSignInAsSessionStartTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToSignInAsSessionStartType:other]; } - (BOOL)isEqualToSignInAsSessionStartType:(DBTEAMLOGSignInAsSessionStartType *)aSignInAsSessionStartType { if (self == aSignInAsSessionStartType) { return YES; } if (![self.description_ isEqual:aSignInAsSessionStartType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGSignInAsSessionStartTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGSignInAsSessionStartType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGSignInAsSessionStartType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGSignInAsSessionStartType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGSmartSyncChangePolicyDetails.h" #import "DBTEAMPOLICIESSmartSyncPolicy.h" #pragma mark - API Object @implementation DBTEAMLOGSmartSyncChangePolicyDetails #pragma mark - Constructors - (instancetype)initWithDNewValue:(DBTEAMPOLICIESSmartSyncPolicy *)dNewValue previousValue:(DBTEAMPOLICIESSmartSyncPolicy *)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 [DBTEAMLOGSmartSyncChangePolicyDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGSmartSyncChangePolicyDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGSmartSyncChangePolicyDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 isEqualToSmartSyncChangePolicyDetails:other]; } - (BOOL)isEqualToSmartSyncChangePolicyDetails:(DBTEAMLOGSmartSyncChangePolicyDetails *)aSmartSyncChangePolicyDetails { if (self == aSmartSyncChangePolicyDetails) { return YES; } if (self.dNewValue) { if (![self.dNewValue isEqual:aSmartSyncChangePolicyDetails.dNewValue]) { return NO; } } if (self.previousValue) { if (![self.previousValue isEqual:aSmartSyncChangePolicyDetails.previousValue]) { return NO; } } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGSmartSyncChangePolicyDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGSmartSyncChangePolicyDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if (valueObj.dNewValue) { jsonDict[@"new_value"] = [DBTEAMPOLICIESSmartSyncPolicySerializer serialize:valueObj.dNewValue]; } if (valueObj.previousValue) { jsonDict[@"previous_value"] = [DBTEAMPOLICIESSmartSyncPolicySerializer serialize:valueObj.previousValue]; } return jsonDict; } + (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 [[DBTEAMLOGSmartSyncChangePolicyDetails alloc] initWithDNewValue:dNewValue previousValue:previousValue]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGSmartSyncChangePolicyType.h" #pragma mark - API Object @implementation DBTEAMLOGSmartSyncChangePolicyType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGSmartSyncChangePolicyTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGSmartSyncChangePolicyTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGSmartSyncChangePolicyTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToSmartSyncChangePolicyType:other]; } - (BOOL)isEqualToSmartSyncChangePolicyType:(DBTEAMLOGSmartSyncChangePolicyType *)aSmartSyncChangePolicyType { if (self == aSmartSyncChangePolicyType) { return YES; } if (![self.description_ isEqual:aSmartSyncChangePolicyType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGSmartSyncChangePolicyTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGSmartSyncChangePolicyType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGSmartSyncChangePolicyType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGSmartSyncChangePolicyType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGSmartSyncCreateAdminPrivilegeReportDetails.h" #pragma mark - API Object @implementation DBTEAMLOGSmartSyncCreateAdminPrivilegeReportDetails #pragma mark - Constructors - (instancetype)initDefault { self = [super init]; if (self) { } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGSmartSyncCreateAdminPrivilegeReportDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGSmartSyncCreateAdminPrivilegeReportDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGSmartSyncCreateAdminPrivilegeReportDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 isEqualToSmartSyncCreateAdminPrivilegeReportDetails:other]; } - (BOOL)isEqualToSmartSyncCreateAdminPrivilegeReportDetails: (DBTEAMLOGSmartSyncCreateAdminPrivilegeReportDetails *)aSmartSyncCreateAdminPrivilegeReportDetails { if (self == aSmartSyncCreateAdminPrivilegeReportDetails) { return YES; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGSmartSyncCreateAdminPrivilegeReportDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGSmartSyncCreateAdminPrivilegeReportDetails *)valueObj { #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; return jsonDict; } + (DBTEAMLOGSmartSyncCreateAdminPrivilegeReportDetails *)deserialize:(NSDictionary *)valueDict { #pragma unused(valueDict) return [[DBTEAMLOGSmartSyncCreateAdminPrivilegeReportDetails alloc] initDefault]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGSmartSyncCreateAdminPrivilegeReportType.h" #pragma mark - API Object @implementation DBTEAMLOGSmartSyncCreateAdminPrivilegeReportType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGSmartSyncCreateAdminPrivilegeReportTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGSmartSyncCreateAdminPrivilegeReportTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGSmartSyncCreateAdminPrivilegeReportTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToSmartSyncCreateAdminPrivilegeReportType:other]; } - (BOOL)isEqualToSmartSyncCreateAdminPrivilegeReportType: (DBTEAMLOGSmartSyncCreateAdminPrivilegeReportType *)aSmartSyncCreateAdminPrivilegeReportType { if (self == aSmartSyncCreateAdminPrivilegeReportType) { return YES; } if (![self.description_ isEqual:aSmartSyncCreateAdminPrivilegeReportType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGSmartSyncCreateAdminPrivilegeReportTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGSmartSyncCreateAdminPrivilegeReportType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGSmartSyncCreateAdminPrivilegeReportType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGSmartSyncCreateAdminPrivilegeReportType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGSmartSyncNotOptOutDetails.h" #import "DBTEAMLOGSmartSyncOptOutPolicy.h" #pragma mark - API Object @implementation DBTEAMLOGSmartSyncNotOptOutDetails #pragma mark - Constructors - (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 [DBTEAMLOGSmartSyncNotOptOutDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGSmartSyncNotOptOutDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGSmartSyncNotOptOutDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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 isEqualToSmartSyncNotOptOutDetails:other]; } - (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; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGSmartSyncNotOptOutDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGSmartSyncNotOptOutDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"previous_value"] = [DBTEAMLOGSmartSyncOptOutPolicySerializer serialize:valueObj.previousValue]; jsonDict[@"new_value"] = [DBTEAMLOGSmartSyncOptOutPolicySerializer serialize:valueObj.dNewValue]; return jsonDict; } + (DBTEAMLOGSmartSyncNotOptOutDetails *)deserialize:(NSDictionary *)valueDict { DBTEAMLOGSmartSyncOptOutPolicy *previousValue = [DBTEAMLOGSmartSyncOptOutPolicySerializer deserialize:valueDict[@"previous_value"]]; DBTEAMLOGSmartSyncOptOutPolicy *dNewValue = [DBTEAMLOGSmartSyncOptOutPolicySerializer deserialize:valueDict[@"new_value"]]; return [[DBTEAMLOGSmartSyncNotOptOutDetails alloc] initWithPreviousValue:previousValue dNewValue:dNewValue]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGSmartSyncNotOptOutType.h" #pragma mark - API Object @implementation DBTEAMLOGSmartSyncNotOptOutType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGSmartSyncNotOptOutTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGSmartSyncNotOptOutTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGSmartSyncNotOptOutTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToSmartSyncNotOptOutType:other]; } - (BOOL)isEqualToSmartSyncNotOptOutType:(DBTEAMLOGSmartSyncNotOptOutType *)aSmartSyncNotOptOutType { if (self == aSmartSyncNotOptOutType) { return YES; } if (![self.description_ isEqual:aSmartSyncNotOptOutType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGSmartSyncNotOptOutTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGSmartSyncNotOptOutType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGSmartSyncNotOptOutType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGSmartSyncNotOptOutType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGSmartSyncOptOutDetails.h" #import "DBTEAMLOGSmartSyncOptOutPolicy.h" #pragma mark - API Object @implementation DBTEAMLOGSmartSyncOptOutDetails #pragma mark - Constructors - (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 [DBTEAMLOGSmartSyncOptOutDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGSmartSyncOptOutDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGSmartSyncOptOutDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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 isEqualToSmartSyncOptOutDetails:other]; } - (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; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGSmartSyncOptOutDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGSmartSyncOptOutDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"previous_value"] = [DBTEAMLOGSmartSyncOptOutPolicySerializer serialize:valueObj.previousValue]; jsonDict[@"new_value"] = [DBTEAMLOGSmartSyncOptOutPolicySerializer serialize:valueObj.dNewValue]; return jsonDict; } + (DBTEAMLOGSmartSyncOptOutDetails *)deserialize:(NSDictionary *)valueDict { DBTEAMLOGSmartSyncOptOutPolicy *previousValue = [DBTEAMLOGSmartSyncOptOutPolicySerializer deserialize:valueDict[@"previous_value"]]; DBTEAMLOGSmartSyncOptOutPolicy *dNewValue = [DBTEAMLOGSmartSyncOptOutPolicySerializer deserialize:valueDict[@"new_value"]]; return [[DBTEAMLOGSmartSyncOptOutDetails alloc] initWithPreviousValue:previousValue dNewValue:dNewValue]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGSmartSyncOptOutPolicy.h" #pragma mark - API Object @implementation DBTEAMLOGSmartSyncOptOutPolicy #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)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 [DBTEAMLOGSmartSyncOptOutPolicySerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGSmartSyncOptOutPolicySerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGSmartSyncOptOutPolicySerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToSmartSyncOptOutPolicy:other]; } - (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; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGSmartSyncOptOutPolicySerializer + (NSDictionary *)serialize:(DBTEAMLOGSmartSyncOptOutPolicy *)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"; } return jsonDict; } + (DBTEAMLOGSmartSyncOptOutPolicy *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; 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 "DBTEAMLOGSmartSyncOptOutType.h" #pragma mark - API Object @implementation DBTEAMLOGSmartSyncOptOutType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGSmartSyncOptOutTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGSmartSyncOptOutTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGSmartSyncOptOutTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToSmartSyncOptOutType:other]; } - (BOOL)isEqualToSmartSyncOptOutType:(DBTEAMLOGSmartSyncOptOutType *)aSmartSyncOptOutType { if (self == aSmartSyncOptOutType) { return YES; } if (![self.description_ isEqual:aSmartSyncOptOutType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGSmartSyncOptOutTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGSmartSyncOptOutType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGSmartSyncOptOutType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGSmartSyncOptOutType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGSmarterSmartSyncPolicyChangedDetails.h" #import "DBTEAMPOLICIESSmarterSmartSyncPolicyState.h" #pragma mark - API Object @implementation DBTEAMLOGSmarterSmartSyncPolicyChangedDetails #pragma mark - Constructors - (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 [DBTEAMLOGSmarterSmartSyncPolicyChangedDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGSmarterSmartSyncPolicyChangedDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGSmarterSmartSyncPolicyChangedDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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 isEqualToSmarterSmartSyncPolicyChangedDetails:other]; } - (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; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGSmarterSmartSyncPolicyChangedDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGSmarterSmartSyncPolicyChangedDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"previous_value"] = [DBTEAMPOLICIESSmarterSmartSyncPolicyStateSerializer serialize:valueObj.previousValue]; jsonDict[@"new_value"] = [DBTEAMPOLICIESSmarterSmartSyncPolicyStateSerializer serialize:valueObj.dNewValue]; return jsonDict; } + (DBTEAMLOGSmarterSmartSyncPolicyChangedDetails *)deserialize:(NSDictionary *)valueDict { DBTEAMPOLICIESSmarterSmartSyncPolicyState *previousValue = [DBTEAMPOLICIESSmarterSmartSyncPolicyStateSerializer deserialize:valueDict[@"previous_value"]]; DBTEAMPOLICIESSmarterSmartSyncPolicyState *dNewValue = [DBTEAMPOLICIESSmarterSmartSyncPolicyStateSerializer deserialize:valueDict[@"new_value"]]; return [[DBTEAMLOGSmarterSmartSyncPolicyChangedDetails alloc] initWithPreviousValue:previousValue dNewValue:dNewValue]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGSmarterSmartSyncPolicyChangedType.h" #pragma mark - API Object @implementation DBTEAMLOGSmarterSmartSyncPolicyChangedType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGSmarterSmartSyncPolicyChangedTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGSmarterSmartSyncPolicyChangedTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGSmarterSmartSyncPolicyChangedTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToSmarterSmartSyncPolicyChangedType:other]; } - (BOOL)isEqualToSmarterSmartSyncPolicyChangedType: (DBTEAMLOGSmarterSmartSyncPolicyChangedType *)aSmarterSmartSyncPolicyChangedType { if (self == aSmarterSmartSyncPolicyChangedType) { return YES; } if (![self.description_ isEqual:aSmarterSmartSyncPolicyChangedType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGSmarterSmartSyncPolicyChangedTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGSmarterSmartSyncPolicyChangedType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGSmarterSmartSyncPolicyChangedType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGSmarterSmartSyncPolicyChangedType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGSpaceCapsType.h" #pragma mark - API Object @implementation DBTEAMLOGSpaceCapsType #pragma mark - Constructors - (instancetype)initWithHard { self = [super init]; if (self) { _tag = DBTEAMLOGSpaceCapsTypeHard; } return self; } - (instancetype)initWithOff { self = [super init]; if (self) { _tag = DBTEAMLOGSpaceCapsTypeOff; } return self; } - (instancetype)initWithSoft { self = [super init]; if (self) { _tag = DBTEAMLOGSpaceCapsTypeSoft; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBTEAMLOGSpaceCapsTypeOther; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isHard { return _tag == DBTEAMLOGSpaceCapsTypeHard; } - (BOOL)isOff { return _tag == DBTEAMLOGSpaceCapsTypeOff; } - (BOOL)isSoft { return _tag == DBTEAMLOGSpaceCapsTypeSoft; } - (BOOL)isOther { return _tag == DBTEAMLOGSpaceCapsTypeOther; } - (NSString *)tagName { switch (_tag) { 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]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGSpaceCapsTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGSpaceCapsTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGSpaceCapsTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 DBTEAMLOGSpaceCapsTypeHard: result = prime * result + [[self tagName] hash]; break; case DBTEAMLOGSpaceCapsTypeOff: result = prime * result + [[self tagName] hash]; break; case DBTEAMLOGSpaceCapsTypeSoft: result = prime * result + [[self tagName] hash]; break; case DBTEAMLOGSpaceCapsTypeOther: 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 isEqualToSpaceCapsType:other]; } - (BOOL)isEqualToSpaceCapsType:(DBTEAMLOGSpaceCapsType *)aSpaceCapsType { if (self == aSpaceCapsType) { return YES; } if (self.tag != aSpaceCapsType.tag) { return NO; } switch (_tag) { 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; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGSpaceCapsTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGSpaceCapsType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; 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; } + (DBTEAMLOGSpaceCapsType *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; 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 [[DBTEAMLOGSpaceCapsType alloc] initWithOther]; } else { return [[DBTEAMLOGSpaceCapsType alloc] initWithOther]; } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGSpaceLimitsStatus.h" #pragma mark - API Object @implementation DBTEAMLOGSpaceLimitsStatus #pragma mark - Constructors - (instancetype)initWithNearQuota { self = [super init]; if (self) { _tag = DBTEAMLOGSpaceLimitsStatusNearQuota; } return self; } - (instancetype)initWithOverQuota { self = [super init]; if (self) { _tag = DBTEAMLOGSpaceLimitsStatusOverQuota; } return self; } - (instancetype)initWithWithinQuota { self = [super init]; if (self) { _tag = DBTEAMLOGSpaceLimitsStatusWithinQuota; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBTEAMLOGSpaceLimitsStatusOther; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isNearQuota { return _tag == DBTEAMLOGSpaceLimitsStatusNearQuota; } - (BOOL)isOverQuota { return _tag == DBTEAMLOGSpaceLimitsStatusOverQuota; } - (BOOL)isWithinQuota { return _tag == DBTEAMLOGSpaceLimitsStatusWithinQuota; } - (BOOL)isOther { return _tag == DBTEAMLOGSpaceLimitsStatusOther; } - (NSString *)tagName { switch (_tag) { case DBTEAMLOGSpaceLimitsStatusNearQuota: return @"DBTEAMLOGSpaceLimitsStatusNearQuota"; case DBTEAMLOGSpaceLimitsStatusOverQuota: return @"DBTEAMLOGSpaceLimitsStatusOverQuota"; case DBTEAMLOGSpaceLimitsStatusWithinQuota: return @"DBTEAMLOGSpaceLimitsStatusWithinQuota"; case DBTEAMLOGSpaceLimitsStatusOther: return @"DBTEAMLOGSpaceLimitsStatusOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGSpaceLimitsStatusSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGSpaceLimitsStatusSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGSpaceLimitsStatusSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToSpaceLimitsStatus:other]; } - (BOOL)isEqualToSpaceLimitsStatus:(DBTEAMLOGSpaceLimitsStatus *)aSpaceLimitsStatus { if (self == aSpaceLimitsStatus) { return YES; } if (self.tag != aSpaceLimitsStatus.tag) { 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; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGSpaceLimitsStatusSerializer + (NSDictionary *)serialize:(DBTEAMLOGSpaceLimitsStatus *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; 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; } + (DBTEAMLOGSpaceLimitsStatus *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; 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 "DBTEAMLOGCertificate.h" #import "DBTEAMLOGSsoAddCertDetails.h" #pragma mark - API Object @implementation DBTEAMLOGSsoAddCertDetails #pragma mark - Constructors - (instancetype)initWithCertificateDetails:(DBTEAMLOGCertificate *)certificateDetails { [DBStoneValidators nonnullValidator:nil](certificateDetails); self = [super init]; if (self) { _certificateDetails = certificateDetails; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGSsoAddCertDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGSsoAddCertDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGSsoAddCertDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.certificateDetails hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToSsoAddCertDetails:other]; } - (BOOL)isEqualToSsoAddCertDetails:(DBTEAMLOGSsoAddCertDetails *)aSsoAddCertDetails { if (self == aSsoAddCertDetails) { return YES; } if (![self.certificateDetails isEqual:aSsoAddCertDetails.certificateDetails]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGSsoAddCertDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGSsoAddCertDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"certificate_details"] = [DBTEAMLOGCertificateSerializer serialize:valueObj.certificateDetails]; return jsonDict; } + (DBTEAMLOGSsoAddCertDetails *)deserialize:(NSDictionary *)valueDict { DBTEAMLOGCertificate *certificateDetails = [DBTEAMLOGCertificateSerializer deserialize:valueDict[@"certificate_details"]]; return [[DBTEAMLOGSsoAddCertDetails alloc] initWithCertificateDetails:certificateDetails]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGSsoAddCertType.h" #pragma mark - API Object @implementation DBTEAMLOGSsoAddCertType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGSsoAddCertTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGSsoAddCertTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGSsoAddCertTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToSsoAddCertType:other]; } - (BOOL)isEqualToSsoAddCertType:(DBTEAMLOGSsoAddCertType *)aSsoAddCertType { if (self == aSsoAddCertType) { return YES; } if (![self.description_ isEqual:aSsoAddCertType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGSsoAddCertTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGSsoAddCertType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGSsoAddCertType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGSsoAddCertType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGSsoAddLoginUrlDetails.h" #pragma mark - API Object @implementation DBTEAMLOGSsoAddLoginUrlDetails #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 [DBTEAMLOGSsoAddLoginUrlDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGSsoAddLoginUrlDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGSsoAddLoginUrlDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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 isEqualToSsoAddLoginUrlDetails:other]; } - (BOOL)isEqualToSsoAddLoginUrlDetails:(DBTEAMLOGSsoAddLoginUrlDetails *)aSsoAddLoginUrlDetails { if (self == aSsoAddLoginUrlDetails) { return YES; } if (![self.dNewValue isEqual:aSsoAddLoginUrlDetails.dNewValue]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGSsoAddLoginUrlDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGSsoAddLoginUrlDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"new_value"] = valueObj.dNewValue; return jsonDict; } + (DBTEAMLOGSsoAddLoginUrlDetails *)deserialize:(NSDictionary *)valueDict { NSString *dNewValue = valueDict[@"new_value"]; return [[DBTEAMLOGSsoAddLoginUrlDetails alloc] initWithDNewValue:dNewValue]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGSsoAddLoginUrlType.h" #pragma mark - API Object @implementation DBTEAMLOGSsoAddLoginUrlType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGSsoAddLoginUrlTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGSsoAddLoginUrlTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGSsoAddLoginUrlTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToSsoAddLoginUrlType:other]; } - (BOOL)isEqualToSsoAddLoginUrlType:(DBTEAMLOGSsoAddLoginUrlType *)aSsoAddLoginUrlType { if (self == aSsoAddLoginUrlType) { return YES; } if (![self.description_ isEqual:aSsoAddLoginUrlType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGSsoAddLoginUrlTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGSsoAddLoginUrlType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGSsoAddLoginUrlType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGSsoAddLoginUrlType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGSsoAddLogoutUrlDetails.h" #pragma mark - API Object @implementation DBTEAMLOGSsoAddLogoutUrlDetails #pragma mark - Constructors - (instancetype)initWithDNewValue:(NSString *)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 [DBTEAMLOGSsoAddLogoutUrlDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGSsoAddLogoutUrlDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGSsoAddLogoutUrlDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 isEqualToSsoAddLogoutUrlDetails:other]; } - (BOOL)isEqualToSsoAddLogoutUrlDetails:(DBTEAMLOGSsoAddLogoutUrlDetails *)aSsoAddLogoutUrlDetails { if (self == aSsoAddLogoutUrlDetails) { return YES; } if (self.dNewValue) { if (![self.dNewValue isEqual:aSsoAddLogoutUrlDetails.dNewValue]) { return NO; } } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGSsoAddLogoutUrlDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGSsoAddLogoutUrlDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if (valueObj.dNewValue) { jsonDict[@"new_value"] = valueObj.dNewValue; } return jsonDict; } + (DBTEAMLOGSsoAddLogoutUrlDetails *)deserialize:(NSDictionary *)valueDict { NSString *dNewValue = valueDict[@"new_value"] ?: nil; return [[DBTEAMLOGSsoAddLogoutUrlDetails alloc] initWithDNewValue:dNewValue]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGSsoAddLogoutUrlType.h" #pragma mark - API Object @implementation DBTEAMLOGSsoAddLogoutUrlType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGSsoAddLogoutUrlTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGSsoAddLogoutUrlTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGSsoAddLogoutUrlTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToSsoAddLogoutUrlType:other]; } - (BOOL)isEqualToSsoAddLogoutUrlType:(DBTEAMLOGSsoAddLogoutUrlType *)aSsoAddLogoutUrlType { if (self == aSsoAddLogoutUrlType) { return YES; } if (![self.description_ isEqual:aSsoAddLogoutUrlType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGSsoAddLogoutUrlTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGSsoAddLogoutUrlType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGSsoAddLogoutUrlType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGSsoAddLogoutUrlType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGCertificate.h" #import "DBTEAMLOGSsoChangeCertDetails.h" #pragma mark - API Object @implementation DBTEAMLOGSsoChangeCertDetails #pragma mark - Constructors - (instancetype)initWithDNewCertificateDetails:(DBTEAMLOGCertificate *)dNewCertificateDetails previousCertificateDetails:(DBTEAMLOGCertificate *)previousCertificateDetails { [DBStoneValidators nonnullValidator:nil](dNewCertificateDetails); self = [super init]; if (self) { _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 [DBTEAMLOGSsoChangeCertDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGSsoChangeCertDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGSsoChangeCertDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.dNewCertificateDetails hash]; if (self.previousCertificateDetails != nil) { result = prime * result + [self.previousCertificateDetails hash]; } return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToSsoChangeCertDetails:other]; } - (BOOL)isEqualToSsoChangeCertDetails:(DBTEAMLOGSsoChangeCertDetails *)aSsoChangeCertDetails { if (self == aSsoChangeCertDetails) { return YES; } if (![self.dNewCertificateDetails isEqual:aSsoChangeCertDetails.dNewCertificateDetails]) { return NO; } if (self.previousCertificateDetails) { if (![self.previousCertificateDetails isEqual:aSsoChangeCertDetails.previousCertificateDetails]) { return NO; } } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGSsoChangeCertDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGSsoChangeCertDetails *)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]; } 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; return [[DBTEAMLOGSsoChangeCertDetails alloc] initWithDNewCertificateDetails:dNewCertificateDetails previousCertificateDetails:previousCertificateDetails]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGSsoChangeCertType.h" #pragma mark - API Object @implementation DBTEAMLOGSsoChangeCertType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGSsoChangeCertTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGSsoChangeCertTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGSsoChangeCertTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToSsoChangeCertType:other]; } - (BOOL)isEqualToSsoChangeCertType:(DBTEAMLOGSsoChangeCertType *)aSsoChangeCertType { if (self == aSsoChangeCertType) { return YES; } if (![self.description_ isEqual:aSsoChangeCertType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGSsoChangeCertTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGSsoChangeCertType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGSsoChangeCertType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGSsoChangeCertType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGSsoChangeLoginUrlDetails.h" #pragma mark - API Object @implementation DBTEAMLOGSsoChangeLoginUrlDetails #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 [DBTEAMLOGSsoChangeLoginUrlDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGSsoChangeLoginUrlDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGSsoChangeLoginUrlDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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 isEqualToSsoChangeLoginUrlDetails:other]; } - (BOOL)isEqualToSsoChangeLoginUrlDetails:(DBTEAMLOGSsoChangeLoginUrlDetails *)aSsoChangeLoginUrlDetails { if (self == aSsoChangeLoginUrlDetails) { return YES; } if (![self.previousValue isEqual:aSsoChangeLoginUrlDetails.previousValue]) { return NO; } if (![self.dNewValue isEqual:aSsoChangeLoginUrlDetails.dNewValue]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGSsoChangeLoginUrlDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGSsoChangeLoginUrlDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"previous_value"] = valueObj.previousValue; jsonDict[@"new_value"] = valueObj.dNewValue; return jsonDict; } + (DBTEAMLOGSsoChangeLoginUrlDetails *)deserialize:(NSDictionary *)valueDict { NSString *previousValue = valueDict[@"previous_value"]; NSString *dNewValue = valueDict[@"new_value"]; return [[DBTEAMLOGSsoChangeLoginUrlDetails alloc] initWithPreviousValue:previousValue dNewValue:dNewValue]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGSsoChangeLoginUrlType.h" #pragma mark - API Object @implementation DBTEAMLOGSsoChangeLoginUrlType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGSsoChangeLoginUrlTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGSsoChangeLoginUrlTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGSsoChangeLoginUrlTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToSsoChangeLoginUrlType:other]; } - (BOOL)isEqualToSsoChangeLoginUrlType:(DBTEAMLOGSsoChangeLoginUrlType *)aSsoChangeLoginUrlType { if (self == aSsoChangeLoginUrlType) { return YES; } if (![self.description_ isEqual:aSsoChangeLoginUrlType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGSsoChangeLoginUrlTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGSsoChangeLoginUrlType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGSsoChangeLoginUrlType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGSsoChangeLoginUrlType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGSsoChangeLogoutUrlDetails.h" #pragma mark - API Object @implementation DBTEAMLOGSsoChangeLogoutUrlDetails #pragma mark - Constructors - (instancetype)initWithPreviousValue:(NSString *)previousValue dNewValue:(NSString *)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 [DBTEAMLOGSsoChangeLogoutUrlDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGSsoChangeLogoutUrlDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGSsoChangeLogoutUrlDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 isEqualToSsoChangeLogoutUrlDetails:other]; } - (BOOL)isEqualToSsoChangeLogoutUrlDetails:(DBTEAMLOGSsoChangeLogoutUrlDetails *)aSsoChangeLogoutUrlDetails { if (self == aSsoChangeLogoutUrlDetails) { return YES; } if (self.previousValue) { if (![self.previousValue isEqual:aSsoChangeLogoutUrlDetails.previousValue]) { return NO; } } if (self.dNewValue) { if (![self.dNewValue isEqual:aSsoChangeLogoutUrlDetails.dNewValue]) { return NO; } } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGSsoChangeLogoutUrlDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGSsoChangeLogoutUrlDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if (valueObj.previousValue) { jsonDict[@"previous_value"] = valueObj.previousValue; } if (valueObj.dNewValue) { jsonDict[@"new_value"] = valueObj.dNewValue; } return jsonDict; } + (DBTEAMLOGSsoChangeLogoutUrlDetails *)deserialize:(NSDictionary *)valueDict { NSString *previousValue = valueDict[@"previous_value"] ?: nil; NSString *dNewValue = valueDict[@"new_value"] ?: nil; return [[DBTEAMLOGSsoChangeLogoutUrlDetails alloc] initWithPreviousValue:previousValue dNewValue:dNewValue]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGSsoChangeLogoutUrlType.h" #pragma mark - API Object @implementation DBTEAMLOGSsoChangeLogoutUrlType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGSsoChangeLogoutUrlTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGSsoChangeLogoutUrlTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGSsoChangeLogoutUrlTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToSsoChangeLogoutUrlType:other]; } - (BOOL)isEqualToSsoChangeLogoutUrlType:(DBTEAMLOGSsoChangeLogoutUrlType *)aSsoChangeLogoutUrlType { if (self == aSsoChangeLogoutUrlType) { return YES; } if (![self.description_ isEqual:aSsoChangeLogoutUrlType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGSsoChangeLogoutUrlTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGSsoChangeLogoutUrlType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGSsoChangeLogoutUrlType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGSsoChangeLogoutUrlType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGSsoChangePolicyDetails.h" #import "DBTEAMPOLICIESSsoPolicy.h" #pragma mark - API Object @implementation DBTEAMLOGSsoChangePolicyDetails #pragma mark - Constructors - (instancetype)initWithDNewValue:(DBTEAMPOLICIESSsoPolicy *)dNewValue previousValue:(DBTEAMPOLICIESSsoPolicy *)previousValue { [DBStoneValidators nonnullValidator:nil](dNewValue); self = [super init]; if (self) { _dNewValue = dNewValue; _previousValue = previousValue; } return self; } - (instancetype)initWithDNewValue:(DBTEAMPOLICIESSsoPolicy *)dNewValue { return [self initWithDNewValue:dNewValue previousValue:nil]; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGSsoChangePolicyDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGSsoChangePolicyDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGSsoChangePolicyDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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 isEqualToSsoChangePolicyDetails:other]; } - (BOOL)isEqualToSsoChangePolicyDetails:(DBTEAMLOGSsoChangePolicyDetails *)aSsoChangePolicyDetails { if (self == aSsoChangePolicyDetails) { return YES; } if (![self.dNewValue isEqual:aSsoChangePolicyDetails.dNewValue]) { return NO; } if (self.previousValue) { if (![self.previousValue isEqual:aSsoChangePolicyDetails.previousValue]) { return NO; } } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGSsoChangePolicyDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGSsoChangePolicyDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"new_value"] = [DBTEAMPOLICIESSsoPolicySerializer serialize:valueObj.dNewValue]; if (valueObj.previousValue) { jsonDict[@"previous_value"] = [DBTEAMPOLICIESSsoPolicySerializer serialize:valueObj.previousValue]; } return jsonDict; } + (DBTEAMLOGSsoChangePolicyDetails *)deserialize:(NSDictionary *)valueDict { DBTEAMPOLICIESSsoPolicy *dNewValue = [DBTEAMPOLICIESSsoPolicySerializer deserialize:valueDict[@"new_value"]]; DBTEAMPOLICIESSsoPolicy *previousValue = valueDict[@"previous_value"] ? [DBTEAMPOLICIESSsoPolicySerializer deserialize:valueDict[@"previous_value"]] : nil; return [[DBTEAMLOGSsoChangePolicyDetails alloc] initWithDNewValue:dNewValue previousValue:previousValue]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGSsoChangePolicyType.h" #pragma mark - API Object @implementation DBTEAMLOGSsoChangePolicyType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGSsoChangePolicyTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGSsoChangePolicyTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGSsoChangePolicyTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToSsoChangePolicyType:other]; } - (BOOL)isEqualToSsoChangePolicyType:(DBTEAMLOGSsoChangePolicyType *)aSsoChangePolicyType { if (self == aSsoChangePolicyType) { return YES; } if (![self.description_ isEqual:aSsoChangePolicyType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGSsoChangePolicyTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGSsoChangePolicyType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGSsoChangePolicyType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGSsoChangePolicyType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGSsoChangeSamlIdentityModeDetails.h" #pragma mark - API Object @implementation DBTEAMLOGSsoChangeSamlIdentityModeDetails #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 [DBTEAMLOGSsoChangeSamlIdentityModeDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGSsoChangeSamlIdentityModeDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGSsoChangeSamlIdentityModeDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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 isEqualToSsoChangeSamlIdentityModeDetails:other]; } - (BOOL)isEqualToSsoChangeSamlIdentityModeDetails: (DBTEAMLOGSsoChangeSamlIdentityModeDetails *)aSsoChangeSamlIdentityModeDetails { if (self == aSsoChangeSamlIdentityModeDetails) { return YES; } if (![self.previousValue isEqual:aSsoChangeSamlIdentityModeDetails.previousValue]) { return NO; } if (![self.dNewValue isEqual:aSsoChangeSamlIdentityModeDetails.dNewValue]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGSsoChangeSamlIdentityModeDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGSsoChangeSamlIdentityModeDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"previous_value"] = valueObj.previousValue; jsonDict[@"new_value"] = valueObj.dNewValue; return jsonDict; } + (DBTEAMLOGSsoChangeSamlIdentityModeDetails *)deserialize:(NSDictionary *)valueDict { NSNumber *previousValue = valueDict[@"previous_value"]; NSNumber *dNewValue = valueDict[@"new_value"]; return [[DBTEAMLOGSsoChangeSamlIdentityModeDetails alloc] initWithPreviousValue:previousValue dNewValue:dNewValue]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGSsoChangeSamlIdentityModeType.h" #pragma mark - API Object @implementation DBTEAMLOGSsoChangeSamlIdentityModeType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGSsoChangeSamlIdentityModeTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGSsoChangeSamlIdentityModeTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGSsoChangeSamlIdentityModeTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToSsoChangeSamlIdentityModeType:other]; } - (BOOL)isEqualToSsoChangeSamlIdentityModeType: (DBTEAMLOGSsoChangeSamlIdentityModeType *)aSsoChangeSamlIdentityModeType { if (self == aSsoChangeSamlIdentityModeType) { return YES; } if (![self.description_ isEqual:aSsoChangeSamlIdentityModeType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGSsoChangeSamlIdentityModeTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGSsoChangeSamlIdentityModeType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGSsoChangeSamlIdentityModeType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGSsoChangeSamlIdentityModeType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGFailureDetailsLogInfo.h" #import "DBTEAMLOGSsoErrorDetails.h" #pragma mark - API Object @implementation DBTEAMLOGSsoErrorDetails #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 [DBTEAMLOGSsoErrorDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGSsoErrorDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGSsoErrorDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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 isEqualToSsoErrorDetails:other]; } - (BOOL)isEqualToSsoErrorDetails:(DBTEAMLOGSsoErrorDetails *)aSsoErrorDetails { if (self == aSsoErrorDetails) { return YES; } if (![self.errorDetails isEqual:aSsoErrorDetails.errorDetails]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGSsoErrorDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGSsoErrorDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"error_details"] = [DBTEAMLOGFailureDetailsLogInfoSerializer serialize:valueObj.errorDetails]; return jsonDict; } + (DBTEAMLOGSsoErrorDetails *)deserialize:(NSDictionary *)valueDict { DBTEAMLOGFailureDetailsLogInfo *errorDetails = [DBTEAMLOGFailureDetailsLogInfoSerializer deserialize:valueDict[@"error_details"]]; return [[DBTEAMLOGSsoErrorDetails alloc] initWithErrorDetails:errorDetails]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGSsoErrorType.h" #pragma mark - API Object @implementation DBTEAMLOGSsoErrorType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGSsoErrorTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGSsoErrorTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGSsoErrorTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToSsoErrorType:other]; } - (BOOL)isEqualToSsoErrorType:(DBTEAMLOGSsoErrorType *)aSsoErrorType { if (self == aSsoErrorType) { return YES; } if (![self.description_ isEqual:aSsoErrorType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGSsoErrorTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGSsoErrorType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGSsoErrorType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGSsoErrorType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGSsoRemoveCertDetails.h" #pragma mark - API Object @implementation DBTEAMLOGSsoRemoveCertDetails #pragma mark - Constructors - (instancetype)initDefault { self = [super init]; if (self) { } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGSsoRemoveCertDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGSsoRemoveCertDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGSsoRemoveCertDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 isEqualToSsoRemoveCertDetails:other]; } - (BOOL)isEqualToSsoRemoveCertDetails:(DBTEAMLOGSsoRemoveCertDetails *)aSsoRemoveCertDetails { if (self == aSsoRemoveCertDetails) { return YES; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGSsoRemoveCertDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGSsoRemoveCertDetails *)valueObj { #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; return jsonDict; } + (DBTEAMLOGSsoRemoveCertDetails *)deserialize:(NSDictionary *)valueDict { #pragma unused(valueDict) return [[DBTEAMLOGSsoRemoveCertDetails alloc] initDefault]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGSsoRemoveCertType.h" #pragma mark - API Object @implementation DBTEAMLOGSsoRemoveCertType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGSsoRemoveCertTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGSsoRemoveCertTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGSsoRemoveCertTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToSsoRemoveCertType:other]; } - (BOOL)isEqualToSsoRemoveCertType:(DBTEAMLOGSsoRemoveCertType *)aSsoRemoveCertType { if (self == aSsoRemoveCertType) { return YES; } if (![self.description_ isEqual:aSsoRemoveCertType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGSsoRemoveCertTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGSsoRemoveCertType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGSsoRemoveCertType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGSsoRemoveCertType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGSsoRemoveLoginUrlDetails.h" #pragma mark - API Object @implementation DBTEAMLOGSsoRemoveLoginUrlDetails #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 [DBTEAMLOGSsoRemoveLoginUrlDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGSsoRemoveLoginUrlDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGSsoRemoveLoginUrlDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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 isEqualToSsoRemoveLoginUrlDetails:other]; } - (BOOL)isEqualToSsoRemoveLoginUrlDetails:(DBTEAMLOGSsoRemoveLoginUrlDetails *)aSsoRemoveLoginUrlDetails { if (self == aSsoRemoveLoginUrlDetails) { return YES; } if (![self.previousValue isEqual:aSsoRemoveLoginUrlDetails.previousValue]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGSsoRemoveLoginUrlDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGSsoRemoveLoginUrlDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"previous_value"] = valueObj.previousValue; return jsonDict; } + (DBTEAMLOGSsoRemoveLoginUrlDetails *)deserialize:(NSDictionary *)valueDict { NSString *previousValue = valueDict[@"previous_value"]; return [[DBTEAMLOGSsoRemoveLoginUrlDetails alloc] initWithPreviousValue:previousValue]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGSsoRemoveLoginUrlType.h" #pragma mark - API Object @implementation DBTEAMLOGSsoRemoveLoginUrlType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGSsoRemoveLoginUrlTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGSsoRemoveLoginUrlTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGSsoRemoveLoginUrlTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToSsoRemoveLoginUrlType:other]; } - (BOOL)isEqualToSsoRemoveLoginUrlType:(DBTEAMLOGSsoRemoveLoginUrlType *)aSsoRemoveLoginUrlType { if (self == aSsoRemoveLoginUrlType) { return YES; } if (![self.description_ isEqual:aSsoRemoveLoginUrlType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGSsoRemoveLoginUrlTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGSsoRemoveLoginUrlType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGSsoRemoveLoginUrlType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGSsoRemoveLoginUrlType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGSsoRemoveLogoutUrlDetails.h" #pragma mark - API Object @implementation DBTEAMLOGSsoRemoveLogoutUrlDetails #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 [DBTEAMLOGSsoRemoveLogoutUrlDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGSsoRemoveLogoutUrlDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGSsoRemoveLogoutUrlDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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 isEqualToSsoRemoveLogoutUrlDetails:other]; } - (BOOL)isEqualToSsoRemoveLogoutUrlDetails:(DBTEAMLOGSsoRemoveLogoutUrlDetails *)aSsoRemoveLogoutUrlDetails { if (self == aSsoRemoveLogoutUrlDetails) { return YES; } if (![self.previousValue isEqual:aSsoRemoveLogoutUrlDetails.previousValue]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGSsoRemoveLogoutUrlDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGSsoRemoveLogoutUrlDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"previous_value"] = valueObj.previousValue; return jsonDict; } + (DBTEAMLOGSsoRemoveLogoutUrlDetails *)deserialize:(NSDictionary *)valueDict { NSString *previousValue = valueDict[@"previous_value"]; return [[DBTEAMLOGSsoRemoveLogoutUrlDetails alloc] initWithPreviousValue:previousValue]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGSsoRemoveLogoutUrlType.h" #pragma mark - API Object @implementation DBTEAMLOGSsoRemoveLogoutUrlType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGSsoRemoveLogoutUrlTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGSsoRemoveLogoutUrlTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGSsoRemoveLogoutUrlTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToSsoRemoveLogoutUrlType:other]; } - (BOOL)isEqualToSsoRemoveLogoutUrlType:(DBTEAMLOGSsoRemoveLogoutUrlType *)aSsoRemoveLogoutUrlType { if (self == aSsoRemoveLogoutUrlType) { return YES; } if (![self.description_ isEqual:aSsoRemoveLogoutUrlType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGSsoRemoveLogoutUrlTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGSsoRemoveLogoutUrlType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGSsoRemoveLogoutUrlType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGSsoRemoveLogoutUrlType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGFedExtraDetails.h" #import "DBTEAMLOGStartedEnterpriseAdminSessionDetails.h" #pragma mark - API Object @implementation DBTEAMLOGStartedEnterpriseAdminSessionDetails #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 [DBTEAMLOGStartedEnterpriseAdminSessionDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGStartedEnterpriseAdminSessionDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGStartedEnterpriseAdminSessionDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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 isEqualToStartedEnterpriseAdminSessionDetails:other]; } - (BOOL)isEqualToStartedEnterpriseAdminSessionDetails: (DBTEAMLOGStartedEnterpriseAdminSessionDetails *)aStartedEnterpriseAdminSessionDetails { if (self == aStartedEnterpriseAdminSessionDetails) { return YES; } if (![self.federationExtraDetails isEqual:aStartedEnterpriseAdminSessionDetails.federationExtraDetails]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGStartedEnterpriseAdminSessionDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGStartedEnterpriseAdminSessionDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"federation_extra_details"] = [DBTEAMLOGFedExtraDetailsSerializer serialize:valueObj.federationExtraDetails]; return jsonDict; } + (DBTEAMLOGStartedEnterpriseAdminSessionDetails *)deserialize:(NSDictionary *)valueDict { DBTEAMLOGFedExtraDetails *federationExtraDetails = [DBTEAMLOGFedExtraDetailsSerializer deserialize:valueDict[@"federation_extra_details"]]; return [[DBTEAMLOGStartedEnterpriseAdminSessionDetails alloc] initWithFederationExtraDetails:federationExtraDetails]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGStartedEnterpriseAdminSessionType.h" #pragma mark - API Object @implementation DBTEAMLOGStartedEnterpriseAdminSessionType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGStartedEnterpriseAdminSessionTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGStartedEnterpriseAdminSessionTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGStartedEnterpriseAdminSessionTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToStartedEnterpriseAdminSessionType:other]; } - (BOOL)isEqualToStartedEnterpriseAdminSessionType: (DBTEAMLOGStartedEnterpriseAdminSessionType *)aStartedEnterpriseAdminSessionType { if (self == aStartedEnterpriseAdminSessionType) { return YES; } if (![self.description_ isEqual:aStartedEnterpriseAdminSessionType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGStartedEnterpriseAdminSessionTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGStartedEnterpriseAdminSessionType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGStartedEnterpriseAdminSessionType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGStartedEnterpriseAdminSessionType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGTeamActivityCreateReportDetails.h" #pragma mark - API Object @implementation DBTEAMLOGTeamActivityCreateReportDetails #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 [DBTEAMLOGTeamActivityCreateReportDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTeamActivityCreateReportDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTeamActivityCreateReportDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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 isEqualToTeamActivityCreateReportDetails:other]; } - (BOOL)isEqualToTeamActivityCreateReportDetails: (DBTEAMLOGTeamActivityCreateReportDetails *)aTeamActivityCreateReportDetails { if (self == aTeamActivityCreateReportDetails) { return YES; } if (![self.startDate isEqual:aTeamActivityCreateReportDetails.startDate]) { return NO; } if (![self.endDate isEqual:aTeamActivityCreateReportDetails.endDate]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTeamActivityCreateReportDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGTeamActivityCreateReportDetails *)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; } + (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 [[DBTEAMLOGTeamActivityCreateReportDetails alloc] initWithStartDate:startDate endDate:endDate]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGTeamActivityCreateReportFailDetails.h" #import "DBTEAMTeamReportFailureReason.h" #pragma mark - API Object @implementation DBTEAMLOGTeamActivityCreateReportFailDetails #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 [DBTEAMLOGTeamActivityCreateReportFailDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTeamActivityCreateReportFailDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTeamActivityCreateReportFailDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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 isEqualToTeamActivityCreateReportFailDetails:other]; } - (BOOL)isEqualToTeamActivityCreateReportFailDetails: (DBTEAMLOGTeamActivityCreateReportFailDetails *)aTeamActivityCreateReportFailDetails { if (self == aTeamActivityCreateReportFailDetails) { return YES; } if (![self.failureReason isEqual:aTeamActivityCreateReportFailDetails.failureReason]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTeamActivityCreateReportFailDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGTeamActivityCreateReportFailDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"failure_reason"] = [DBTEAMTeamReportFailureReasonSerializer serialize:valueObj.failureReason]; return jsonDict; } + (DBTEAMLOGTeamActivityCreateReportFailDetails *)deserialize:(NSDictionary *)valueDict { DBTEAMTeamReportFailureReason *failureReason = [DBTEAMTeamReportFailureReasonSerializer deserialize:valueDict[@"failure_reason"]]; return [[DBTEAMLOGTeamActivityCreateReportFailDetails alloc] initWithFailureReason:failureReason]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGTeamActivityCreateReportFailType.h" #pragma mark - API Object @implementation DBTEAMLOGTeamActivityCreateReportFailType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGTeamActivityCreateReportFailTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTeamActivityCreateReportFailTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTeamActivityCreateReportFailTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToTeamActivityCreateReportFailType:other]; } - (BOOL)isEqualToTeamActivityCreateReportFailType: (DBTEAMLOGTeamActivityCreateReportFailType *)aTeamActivityCreateReportFailType { if (self == aTeamActivityCreateReportFailType) { return YES; } if (![self.description_ isEqual:aTeamActivityCreateReportFailType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTeamActivityCreateReportFailTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGTeamActivityCreateReportFailType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGTeamActivityCreateReportFailType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGTeamActivityCreateReportFailType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGTeamActivityCreateReportType.h" #pragma mark - API Object @implementation DBTEAMLOGTeamActivityCreateReportType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGTeamActivityCreateReportTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTeamActivityCreateReportTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTeamActivityCreateReportTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToTeamActivityCreateReportType:other]; } - (BOOL)isEqualToTeamActivityCreateReportType:(DBTEAMLOGTeamActivityCreateReportType *)aTeamActivityCreateReportType { if (self == aTeamActivityCreateReportType) { return YES; } if (![self.description_ isEqual:aTeamActivityCreateReportType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTeamActivityCreateReportTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGTeamActivityCreateReportType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGTeamActivityCreateReportType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGTeamActivityCreateReportType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGTeamBrandingPolicy.h" #pragma mark - API Object @implementation DBTEAMLOGTeamBrandingPolicy #pragma mark - Constructors - (instancetype)initWithDisabled { self = [super init]; if (self) { _tag = DBTEAMLOGTeamBrandingPolicyDisabled; } return self; } - (instancetype)initWithEnabled { self = [super init]; if (self) { _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 [DBTEAMLOGTeamBrandingPolicySerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTeamBrandingPolicySerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTeamBrandingPolicySerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToTeamBrandingPolicy:other]; } - (BOOL)isEqualToTeamBrandingPolicy:(DBTEAMLOGTeamBrandingPolicy *)aTeamBrandingPolicy { if (self == aTeamBrandingPolicy) { return YES; } 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; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTeamBrandingPolicySerializer + (NSDictionary *)serialize:(DBTEAMLOGTeamBrandingPolicy *)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; } + (DBTEAMLOGTeamBrandingPolicy *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; 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 "DBTEAMLOGTeamBrandingPolicy.h" #import "DBTEAMLOGTeamBrandingPolicyChangedDetails.h" #pragma mark - API Object @implementation DBTEAMLOGTeamBrandingPolicyChangedDetails #pragma mark - Constructors - (instancetype)initWithDNewValue:(DBTEAMLOGTeamBrandingPolicy *)dNewValue previousValue:(DBTEAMLOGTeamBrandingPolicy *)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 [DBTEAMLOGTeamBrandingPolicyChangedDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTeamBrandingPolicyChangedDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTeamBrandingPolicyChangedDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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 isEqualToTeamBrandingPolicyChangedDetails:other]; } - (BOOL)isEqualToTeamBrandingPolicyChangedDetails: (DBTEAMLOGTeamBrandingPolicyChangedDetails *)aTeamBrandingPolicyChangedDetails { if (self == aTeamBrandingPolicyChangedDetails) { return YES; } if (![self.dNewValue isEqual:aTeamBrandingPolicyChangedDetails.dNewValue]) { return NO; } if (![self.previousValue isEqual:aTeamBrandingPolicyChangedDetails.previousValue]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTeamBrandingPolicyChangedDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGTeamBrandingPolicyChangedDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"new_value"] = [DBTEAMLOGTeamBrandingPolicySerializer serialize:valueObj.dNewValue]; jsonDict[@"previous_value"] = [DBTEAMLOGTeamBrandingPolicySerializer serialize:valueObj.previousValue]; return jsonDict; } + (DBTEAMLOGTeamBrandingPolicyChangedDetails *)deserialize:(NSDictionary *)valueDict { DBTEAMLOGTeamBrandingPolicy *dNewValue = [DBTEAMLOGTeamBrandingPolicySerializer deserialize:valueDict[@"new_value"]]; DBTEAMLOGTeamBrandingPolicy *previousValue = [DBTEAMLOGTeamBrandingPolicySerializer deserialize:valueDict[@"previous_value"]]; return [[DBTEAMLOGTeamBrandingPolicyChangedDetails alloc] initWithDNewValue:dNewValue previousValue:previousValue]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGTeamBrandingPolicyChangedType.h" #pragma mark - API Object @implementation DBTEAMLOGTeamBrandingPolicyChangedType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGTeamBrandingPolicyChangedTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTeamBrandingPolicyChangedTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTeamBrandingPolicyChangedTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToTeamBrandingPolicyChangedType:other]; } - (BOOL)isEqualToTeamBrandingPolicyChangedType: (DBTEAMLOGTeamBrandingPolicyChangedType *)aTeamBrandingPolicyChangedType { if (self == aTeamBrandingPolicyChangedType) { return YES; } if (![self.description_ isEqual:aTeamBrandingPolicyChangedType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTeamBrandingPolicyChangedTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGTeamBrandingPolicyChangedType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGTeamBrandingPolicyChangedType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGTeamBrandingPolicyChangedType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGTeamDetails.h" #pragma mark - API Object @implementation DBTEAMLOGTeamDetails #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 [DBTEAMLOGTeamDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTeamDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTeamDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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 isEqualToTeamDetails:other]; } - (BOOL)isEqualToTeamDetails:(DBTEAMLOGTeamDetails *)aTeamDetails { if (self == aTeamDetails) { return YES; } if (![self.team isEqual:aTeamDetails.team]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTeamDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGTeamDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"team"] = valueObj.team; return jsonDict; } + (DBTEAMLOGTeamDetails *)deserialize:(NSDictionary *)valueDict { NSString *team = valueDict[@"team"]; return [[DBTEAMLOGTeamDetails alloc] initWithTeam:team]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGTeamEncryptionKeyCancelKeyDeletionDetails.h" #pragma mark - API Object @implementation DBTEAMLOGTeamEncryptionKeyCancelKeyDeletionDetails #pragma mark - Constructors - (instancetype)initDefault { self = [super init]; if (self) { } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGTeamEncryptionKeyCancelKeyDeletionDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTeamEncryptionKeyCancelKeyDeletionDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTeamEncryptionKeyCancelKeyDeletionDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 isEqualToTeamEncryptionKeyCancelKeyDeletionDetails:other]; } - (BOOL)isEqualToTeamEncryptionKeyCancelKeyDeletionDetails: (DBTEAMLOGTeamEncryptionKeyCancelKeyDeletionDetails *)aTeamEncryptionKeyCancelKeyDeletionDetails { if (self == aTeamEncryptionKeyCancelKeyDeletionDetails) { return YES; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTeamEncryptionKeyCancelKeyDeletionDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGTeamEncryptionKeyCancelKeyDeletionDetails *)valueObj { #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; return jsonDict; } + (DBTEAMLOGTeamEncryptionKeyCancelKeyDeletionDetails *)deserialize:(NSDictionary *)valueDict { #pragma unused(valueDict) return [[DBTEAMLOGTeamEncryptionKeyCancelKeyDeletionDetails alloc] initDefault]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGTeamEncryptionKeyCancelKeyDeletionType.h" #pragma mark - API Object @implementation DBTEAMLOGTeamEncryptionKeyCancelKeyDeletionType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGTeamEncryptionKeyCancelKeyDeletionTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTeamEncryptionKeyCancelKeyDeletionTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTeamEncryptionKeyCancelKeyDeletionTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToTeamEncryptionKeyCancelKeyDeletionType:other]; } - (BOOL)isEqualToTeamEncryptionKeyCancelKeyDeletionType: (DBTEAMLOGTeamEncryptionKeyCancelKeyDeletionType *)aTeamEncryptionKeyCancelKeyDeletionType { if (self == aTeamEncryptionKeyCancelKeyDeletionType) { return YES; } if (![self.description_ isEqual:aTeamEncryptionKeyCancelKeyDeletionType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTeamEncryptionKeyCancelKeyDeletionTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGTeamEncryptionKeyCancelKeyDeletionType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGTeamEncryptionKeyCancelKeyDeletionType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGTeamEncryptionKeyCancelKeyDeletionType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGTeamEncryptionKeyCreateKeyDetails.h" #pragma mark - API Object @implementation DBTEAMLOGTeamEncryptionKeyCreateKeyDetails #pragma mark - Constructors - (instancetype)initDefault { self = [super init]; if (self) { } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGTeamEncryptionKeyCreateKeyDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTeamEncryptionKeyCreateKeyDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTeamEncryptionKeyCreateKeyDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 isEqualToTeamEncryptionKeyCreateKeyDetails:other]; } - (BOOL)isEqualToTeamEncryptionKeyCreateKeyDetails: (DBTEAMLOGTeamEncryptionKeyCreateKeyDetails *)aTeamEncryptionKeyCreateKeyDetails { if (self == aTeamEncryptionKeyCreateKeyDetails) { return YES; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTeamEncryptionKeyCreateKeyDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGTeamEncryptionKeyCreateKeyDetails *)valueObj { #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; return jsonDict; } + (DBTEAMLOGTeamEncryptionKeyCreateKeyDetails *)deserialize:(NSDictionary *)valueDict { #pragma unused(valueDict) return [[DBTEAMLOGTeamEncryptionKeyCreateKeyDetails alloc] initDefault]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGTeamEncryptionKeyCreateKeyType.h" #pragma mark - API Object @implementation DBTEAMLOGTeamEncryptionKeyCreateKeyType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGTeamEncryptionKeyCreateKeyTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTeamEncryptionKeyCreateKeyTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTeamEncryptionKeyCreateKeyTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToTeamEncryptionKeyCreateKeyType:other]; } - (BOOL)isEqualToTeamEncryptionKeyCreateKeyType: (DBTEAMLOGTeamEncryptionKeyCreateKeyType *)aTeamEncryptionKeyCreateKeyType { if (self == aTeamEncryptionKeyCreateKeyType) { return YES; } if (![self.description_ isEqual:aTeamEncryptionKeyCreateKeyType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTeamEncryptionKeyCreateKeyTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGTeamEncryptionKeyCreateKeyType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGTeamEncryptionKeyCreateKeyType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGTeamEncryptionKeyCreateKeyType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGTeamEncryptionKeyDeleteKeyDetails.h" #pragma mark - API Object @implementation DBTEAMLOGTeamEncryptionKeyDeleteKeyDetails #pragma mark - Constructors - (instancetype)initDefault { self = [super init]; if (self) { } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGTeamEncryptionKeyDeleteKeyDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTeamEncryptionKeyDeleteKeyDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTeamEncryptionKeyDeleteKeyDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 isEqualToTeamEncryptionKeyDeleteKeyDetails:other]; } - (BOOL)isEqualToTeamEncryptionKeyDeleteKeyDetails: (DBTEAMLOGTeamEncryptionKeyDeleteKeyDetails *)aTeamEncryptionKeyDeleteKeyDetails { if (self == aTeamEncryptionKeyDeleteKeyDetails) { return YES; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTeamEncryptionKeyDeleteKeyDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGTeamEncryptionKeyDeleteKeyDetails *)valueObj { #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; return jsonDict; } + (DBTEAMLOGTeamEncryptionKeyDeleteKeyDetails *)deserialize:(NSDictionary *)valueDict { #pragma unused(valueDict) return [[DBTEAMLOGTeamEncryptionKeyDeleteKeyDetails alloc] initDefault]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGTeamEncryptionKeyDeleteKeyType.h" #pragma mark - API Object @implementation DBTEAMLOGTeamEncryptionKeyDeleteKeyType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGTeamEncryptionKeyDeleteKeyTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTeamEncryptionKeyDeleteKeyTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTeamEncryptionKeyDeleteKeyTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToTeamEncryptionKeyDeleteKeyType:other]; } - (BOOL)isEqualToTeamEncryptionKeyDeleteKeyType: (DBTEAMLOGTeamEncryptionKeyDeleteKeyType *)aTeamEncryptionKeyDeleteKeyType { if (self == aTeamEncryptionKeyDeleteKeyType) { return YES; } if (![self.description_ isEqual:aTeamEncryptionKeyDeleteKeyType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTeamEncryptionKeyDeleteKeyTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGTeamEncryptionKeyDeleteKeyType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGTeamEncryptionKeyDeleteKeyType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGTeamEncryptionKeyDeleteKeyType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGTeamEncryptionKeyDisableKeyDetails.h" #pragma mark - API Object @implementation DBTEAMLOGTeamEncryptionKeyDisableKeyDetails #pragma mark - Constructors - (instancetype)initDefault { self = [super init]; if (self) { } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGTeamEncryptionKeyDisableKeyDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTeamEncryptionKeyDisableKeyDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTeamEncryptionKeyDisableKeyDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 isEqualToTeamEncryptionKeyDisableKeyDetails:other]; } - (BOOL)isEqualToTeamEncryptionKeyDisableKeyDetails: (DBTEAMLOGTeamEncryptionKeyDisableKeyDetails *)aTeamEncryptionKeyDisableKeyDetails { if (self == aTeamEncryptionKeyDisableKeyDetails) { return YES; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTeamEncryptionKeyDisableKeyDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGTeamEncryptionKeyDisableKeyDetails *)valueObj { #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; return jsonDict; } + (DBTEAMLOGTeamEncryptionKeyDisableKeyDetails *)deserialize:(NSDictionary *)valueDict { #pragma unused(valueDict) return [[DBTEAMLOGTeamEncryptionKeyDisableKeyDetails alloc] initDefault]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGTeamEncryptionKeyDisableKeyType.h" #pragma mark - API Object @implementation DBTEAMLOGTeamEncryptionKeyDisableKeyType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGTeamEncryptionKeyDisableKeyTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTeamEncryptionKeyDisableKeyTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTeamEncryptionKeyDisableKeyTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToTeamEncryptionKeyDisableKeyType:other]; } - (BOOL)isEqualToTeamEncryptionKeyDisableKeyType: (DBTEAMLOGTeamEncryptionKeyDisableKeyType *)aTeamEncryptionKeyDisableKeyType { if (self == aTeamEncryptionKeyDisableKeyType) { return YES; } if (![self.description_ isEqual:aTeamEncryptionKeyDisableKeyType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTeamEncryptionKeyDisableKeyTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGTeamEncryptionKeyDisableKeyType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGTeamEncryptionKeyDisableKeyType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGTeamEncryptionKeyDisableKeyType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGTeamEncryptionKeyEnableKeyDetails.h" #pragma mark - API Object @implementation DBTEAMLOGTeamEncryptionKeyEnableKeyDetails #pragma mark - Constructors - (instancetype)initDefault { self = [super init]; if (self) { } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGTeamEncryptionKeyEnableKeyDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTeamEncryptionKeyEnableKeyDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTeamEncryptionKeyEnableKeyDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 isEqualToTeamEncryptionKeyEnableKeyDetails:other]; } - (BOOL)isEqualToTeamEncryptionKeyEnableKeyDetails: (DBTEAMLOGTeamEncryptionKeyEnableKeyDetails *)aTeamEncryptionKeyEnableKeyDetails { if (self == aTeamEncryptionKeyEnableKeyDetails) { return YES; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTeamEncryptionKeyEnableKeyDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGTeamEncryptionKeyEnableKeyDetails *)valueObj { #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; return jsonDict; } + (DBTEAMLOGTeamEncryptionKeyEnableKeyDetails *)deserialize:(NSDictionary *)valueDict { #pragma unused(valueDict) return [[DBTEAMLOGTeamEncryptionKeyEnableKeyDetails alloc] initDefault]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGTeamEncryptionKeyEnableKeyType.h" #pragma mark - API Object @implementation DBTEAMLOGTeamEncryptionKeyEnableKeyType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGTeamEncryptionKeyEnableKeyTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTeamEncryptionKeyEnableKeyTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTeamEncryptionKeyEnableKeyTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToTeamEncryptionKeyEnableKeyType:other]; } - (BOOL)isEqualToTeamEncryptionKeyEnableKeyType: (DBTEAMLOGTeamEncryptionKeyEnableKeyType *)aTeamEncryptionKeyEnableKeyType { if (self == aTeamEncryptionKeyEnableKeyType) { return YES; } if (![self.description_ isEqual:aTeamEncryptionKeyEnableKeyType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTeamEncryptionKeyEnableKeyTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGTeamEncryptionKeyEnableKeyType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGTeamEncryptionKeyEnableKeyType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGTeamEncryptionKeyEnableKeyType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGTeamEncryptionKeyRotateKeyDetails.h" #pragma mark - API Object @implementation DBTEAMLOGTeamEncryptionKeyRotateKeyDetails #pragma mark - Constructors - (instancetype)initDefault { self = [super init]; if (self) { } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGTeamEncryptionKeyRotateKeyDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTeamEncryptionKeyRotateKeyDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTeamEncryptionKeyRotateKeyDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 isEqualToTeamEncryptionKeyRotateKeyDetails:other]; } - (BOOL)isEqualToTeamEncryptionKeyRotateKeyDetails: (DBTEAMLOGTeamEncryptionKeyRotateKeyDetails *)aTeamEncryptionKeyRotateKeyDetails { if (self == aTeamEncryptionKeyRotateKeyDetails) { return YES; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTeamEncryptionKeyRotateKeyDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGTeamEncryptionKeyRotateKeyDetails *)valueObj { #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; return jsonDict; } + (DBTEAMLOGTeamEncryptionKeyRotateKeyDetails *)deserialize:(NSDictionary *)valueDict { #pragma unused(valueDict) return [[DBTEAMLOGTeamEncryptionKeyRotateKeyDetails alloc] initDefault]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGTeamEncryptionKeyRotateKeyType.h" #pragma mark - API Object @implementation DBTEAMLOGTeamEncryptionKeyRotateKeyType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGTeamEncryptionKeyRotateKeyTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTeamEncryptionKeyRotateKeyTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTeamEncryptionKeyRotateKeyTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToTeamEncryptionKeyRotateKeyType:other]; } - (BOOL)isEqualToTeamEncryptionKeyRotateKeyType: (DBTEAMLOGTeamEncryptionKeyRotateKeyType *)aTeamEncryptionKeyRotateKeyType { if (self == aTeamEncryptionKeyRotateKeyType) { return YES; } if (![self.description_ isEqual:aTeamEncryptionKeyRotateKeyType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTeamEncryptionKeyRotateKeyTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGTeamEncryptionKeyRotateKeyType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGTeamEncryptionKeyRotateKeyType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGTeamEncryptionKeyRotateKeyType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGTeamEncryptionKeyScheduleKeyDeletionDetails.h" #pragma mark - API Object @implementation DBTEAMLOGTeamEncryptionKeyScheduleKeyDeletionDetails #pragma mark - Constructors - (instancetype)initDefault { self = [super init]; if (self) { } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGTeamEncryptionKeyScheduleKeyDeletionDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTeamEncryptionKeyScheduleKeyDeletionDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTeamEncryptionKeyScheduleKeyDeletionDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 isEqualToTeamEncryptionKeyScheduleKeyDeletionDetails:other]; } - (BOOL)isEqualToTeamEncryptionKeyScheduleKeyDeletionDetails: (DBTEAMLOGTeamEncryptionKeyScheduleKeyDeletionDetails *)aTeamEncryptionKeyScheduleKeyDeletionDetails { if (self == aTeamEncryptionKeyScheduleKeyDeletionDetails) { return YES; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTeamEncryptionKeyScheduleKeyDeletionDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGTeamEncryptionKeyScheduleKeyDeletionDetails *)valueObj { #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; return jsonDict; } + (DBTEAMLOGTeamEncryptionKeyScheduleKeyDeletionDetails *)deserialize:(NSDictionary *)valueDict { #pragma unused(valueDict) return [[DBTEAMLOGTeamEncryptionKeyScheduleKeyDeletionDetails alloc] initDefault]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGTeamEncryptionKeyScheduleKeyDeletionType.h" #pragma mark - API Object @implementation DBTEAMLOGTeamEncryptionKeyScheduleKeyDeletionType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGTeamEncryptionKeyScheduleKeyDeletionTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTeamEncryptionKeyScheduleKeyDeletionTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTeamEncryptionKeyScheduleKeyDeletionTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToTeamEncryptionKeyScheduleKeyDeletionType:other]; } - (BOOL)isEqualToTeamEncryptionKeyScheduleKeyDeletionType: (DBTEAMLOGTeamEncryptionKeyScheduleKeyDeletionType *)aTeamEncryptionKeyScheduleKeyDeletionType { if (self == aTeamEncryptionKeyScheduleKeyDeletionType) { return YES; } if (![self.description_ isEqual:aTeamEncryptionKeyScheduleKeyDeletionType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTeamEncryptionKeyScheduleKeyDeletionTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGTeamEncryptionKeyScheduleKeyDeletionType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGTeamEncryptionKeyScheduleKeyDeletionType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGTeamEncryptionKeyScheduleKeyDeletionType 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" #pragma mark - API Object @implementation DBTEAMLOGTeamEvent #pragma mark - Constructors - (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 [DBTEAMLOGTeamEventSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTeamEventSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTeamEventSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToTeamEvent:other]; } - (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; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTeamEventSerializer + (NSDictionary *)serialize:(DBTEAMLOGTeamEvent *)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[@"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; } + (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 [[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 "DBTEAMLOGTeamExtensionsPolicy.h" #pragma mark - API Object @implementation DBTEAMLOGTeamExtensionsPolicy #pragma mark - Constructors - (instancetype)initWithDisabled { self = [super init]; if (self) { _tag = DBTEAMLOGTeamExtensionsPolicyDisabled; } return self; } - (instancetype)initWithEnabled { self = [super init]; if (self) { _tag = DBTEAMLOGTeamExtensionsPolicyEnabled; } return self; } - (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 [DBTEAMLOGTeamExtensionsPolicySerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTeamExtensionsPolicySerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTeamExtensionsPolicySerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToTeamExtensionsPolicy:other]; } - (BOOL)isEqualToTeamExtensionsPolicy:(DBTEAMLOGTeamExtensionsPolicy *)aTeamExtensionsPolicy { if (self == aTeamExtensionsPolicy) { return YES; } if (self.tag != aTeamExtensionsPolicy.tag) { 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; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTeamExtensionsPolicySerializer + (NSDictionary *)serialize:(DBTEAMLOGTeamExtensionsPolicy *)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; } + (DBTEAMLOGTeamExtensionsPolicy *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; 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 "DBTEAMLOGTeamExtensionsPolicy.h" #import "DBTEAMLOGTeamExtensionsPolicyChangedDetails.h" #pragma mark - API Object @implementation DBTEAMLOGTeamExtensionsPolicyChangedDetails #pragma mark - Constructors - (instancetype)initWithDNewValue:(DBTEAMLOGTeamExtensionsPolicy *)dNewValue previousValue:(DBTEAMLOGTeamExtensionsPolicy *)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 [DBTEAMLOGTeamExtensionsPolicyChangedDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTeamExtensionsPolicyChangedDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTeamExtensionsPolicyChangedDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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 isEqualToTeamExtensionsPolicyChangedDetails:other]; } - (BOOL)isEqualToTeamExtensionsPolicyChangedDetails: (DBTEAMLOGTeamExtensionsPolicyChangedDetails *)aTeamExtensionsPolicyChangedDetails { if (self == aTeamExtensionsPolicyChangedDetails) { return YES; } if (![self.dNewValue isEqual:aTeamExtensionsPolicyChangedDetails.dNewValue]) { return NO; } if (![self.previousValue isEqual:aTeamExtensionsPolicyChangedDetails.previousValue]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTeamExtensionsPolicyChangedDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGTeamExtensionsPolicyChangedDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"new_value"] = [DBTEAMLOGTeamExtensionsPolicySerializer serialize:valueObj.dNewValue]; jsonDict[@"previous_value"] = [DBTEAMLOGTeamExtensionsPolicySerializer serialize:valueObj.previousValue]; return jsonDict; } + (DBTEAMLOGTeamExtensionsPolicyChangedDetails *)deserialize:(NSDictionary *)valueDict { DBTEAMLOGTeamExtensionsPolicy *dNewValue = [DBTEAMLOGTeamExtensionsPolicySerializer deserialize:valueDict[@"new_value"]]; DBTEAMLOGTeamExtensionsPolicy *previousValue = [DBTEAMLOGTeamExtensionsPolicySerializer deserialize:valueDict[@"previous_value"]]; return [[DBTEAMLOGTeamExtensionsPolicyChangedDetails alloc] initWithDNewValue:dNewValue previousValue:previousValue]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGTeamExtensionsPolicyChangedType.h" #pragma mark - API Object @implementation DBTEAMLOGTeamExtensionsPolicyChangedType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGTeamExtensionsPolicyChangedTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTeamExtensionsPolicyChangedTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTeamExtensionsPolicyChangedTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToTeamExtensionsPolicyChangedType:other]; } - (BOOL)isEqualToTeamExtensionsPolicyChangedType: (DBTEAMLOGTeamExtensionsPolicyChangedType *)aTeamExtensionsPolicyChangedType { if (self == aTeamExtensionsPolicyChangedType) { return YES; } if (![self.description_ isEqual:aTeamExtensionsPolicyChangedType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTeamExtensionsPolicyChangedTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGTeamExtensionsPolicyChangedType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGTeamExtensionsPolicyChangedType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGTeamExtensionsPolicyChangedType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGTeamFolderChangeStatusDetails.h" #import "DBTEAMTeamFolderStatus.h" #pragma mark - API Object @implementation DBTEAMLOGTeamFolderChangeStatusDetails #pragma mark - Constructors - (instancetype)initWithDNewValue:(DBTEAMTeamFolderStatus *)dNewValue previousValue:(DBTEAMTeamFolderStatus *)previousValue { [DBStoneValidators nonnullValidator:nil](dNewValue); self = [super init]; if (self) { _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 [DBTEAMLOGTeamFolderChangeStatusDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTeamFolderChangeStatusDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTeamFolderChangeStatusDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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 isEqualToTeamFolderChangeStatusDetails:other]; } - (BOOL)isEqualToTeamFolderChangeStatusDetails: (DBTEAMLOGTeamFolderChangeStatusDetails *)aTeamFolderChangeStatusDetails { if (self == aTeamFolderChangeStatusDetails) { return YES; } if (![self.dNewValue isEqual:aTeamFolderChangeStatusDetails.dNewValue]) { return NO; } if (self.previousValue) { if (![self.previousValue isEqual:aTeamFolderChangeStatusDetails.previousValue]) { return NO; } } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTeamFolderChangeStatusDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGTeamFolderChangeStatusDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"new_value"] = [DBTEAMTeamFolderStatusSerializer serialize:valueObj.dNewValue]; if (valueObj.previousValue) { jsonDict[@"previous_value"] = [DBTEAMTeamFolderStatusSerializer serialize:valueObj.previousValue]; } return jsonDict; } + (DBTEAMLOGTeamFolderChangeStatusDetails *)deserialize:(NSDictionary *)valueDict { DBTEAMTeamFolderStatus *dNewValue = [DBTEAMTeamFolderStatusSerializer deserialize:valueDict[@"new_value"]]; DBTEAMTeamFolderStatus *previousValue = valueDict[@"previous_value"] ? [DBTEAMTeamFolderStatusSerializer deserialize:valueDict[@"previous_value"]] : nil; return [[DBTEAMLOGTeamFolderChangeStatusDetails alloc] initWithDNewValue:dNewValue previousValue:previousValue]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGTeamFolderChangeStatusType.h" #pragma mark - API Object @implementation DBTEAMLOGTeamFolderChangeStatusType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGTeamFolderChangeStatusTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTeamFolderChangeStatusTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTeamFolderChangeStatusTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToTeamFolderChangeStatusType:other]; } - (BOOL)isEqualToTeamFolderChangeStatusType:(DBTEAMLOGTeamFolderChangeStatusType *)aTeamFolderChangeStatusType { if (self == aTeamFolderChangeStatusType) { return YES; } if (![self.description_ isEqual:aTeamFolderChangeStatusType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTeamFolderChangeStatusTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGTeamFolderChangeStatusType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGTeamFolderChangeStatusType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGTeamFolderChangeStatusType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGTeamFolderCreateDetails.h" #pragma mark - API Object @implementation DBTEAMLOGTeamFolderCreateDetails #pragma mark - Constructors - (instancetype)initDefault { self = [super init]; if (self) { } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGTeamFolderCreateDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTeamFolderCreateDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTeamFolderCreateDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 isEqualToTeamFolderCreateDetails:other]; } - (BOOL)isEqualToTeamFolderCreateDetails:(DBTEAMLOGTeamFolderCreateDetails *)aTeamFolderCreateDetails { if (self == aTeamFolderCreateDetails) { return YES; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTeamFolderCreateDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGTeamFolderCreateDetails *)valueObj { #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; return jsonDict; } + (DBTEAMLOGTeamFolderCreateDetails *)deserialize:(NSDictionary *)valueDict { #pragma unused(valueDict) return [[DBTEAMLOGTeamFolderCreateDetails alloc] initDefault]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGTeamFolderCreateType.h" #pragma mark - API Object @implementation DBTEAMLOGTeamFolderCreateType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGTeamFolderCreateTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTeamFolderCreateTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTeamFolderCreateTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToTeamFolderCreateType:other]; } - (BOOL)isEqualToTeamFolderCreateType:(DBTEAMLOGTeamFolderCreateType *)aTeamFolderCreateType { if (self == aTeamFolderCreateType) { return YES; } if (![self.description_ isEqual:aTeamFolderCreateType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTeamFolderCreateTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGTeamFolderCreateType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGTeamFolderCreateType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGTeamFolderCreateType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGTeamFolderDowngradeDetails.h" #pragma mark - API Object @implementation DBTEAMLOGTeamFolderDowngradeDetails #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 [DBTEAMLOGTeamFolderDowngradeDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTeamFolderDowngradeDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTeamFolderDowngradeDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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 isEqualToTeamFolderDowngradeDetails:other]; } - (BOOL)isEqualToTeamFolderDowngradeDetails:(DBTEAMLOGTeamFolderDowngradeDetails *)aTeamFolderDowngradeDetails { if (self == aTeamFolderDowngradeDetails) { return YES; } if (![self.targetAssetIndex isEqual:aTeamFolderDowngradeDetails.targetAssetIndex]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTeamFolderDowngradeDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGTeamFolderDowngradeDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"target_asset_index"] = valueObj.targetAssetIndex; return jsonDict; } + (DBTEAMLOGTeamFolderDowngradeDetails *)deserialize:(NSDictionary *)valueDict { NSNumber *targetAssetIndex = valueDict[@"target_asset_index"]; return [[DBTEAMLOGTeamFolderDowngradeDetails alloc] initWithTargetAssetIndex:targetAssetIndex]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGTeamFolderDowngradeType.h" #pragma mark - API Object @implementation DBTEAMLOGTeamFolderDowngradeType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGTeamFolderDowngradeTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTeamFolderDowngradeTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTeamFolderDowngradeTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToTeamFolderDowngradeType:other]; } - (BOOL)isEqualToTeamFolderDowngradeType:(DBTEAMLOGTeamFolderDowngradeType *)aTeamFolderDowngradeType { if (self == aTeamFolderDowngradeType) { return YES; } if (![self.description_ isEqual:aTeamFolderDowngradeType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTeamFolderDowngradeTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGTeamFolderDowngradeType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGTeamFolderDowngradeType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGTeamFolderDowngradeType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGTeamFolderPermanentlyDeleteDetails.h" #pragma mark - API Object @implementation DBTEAMLOGTeamFolderPermanentlyDeleteDetails #pragma mark - Constructors - (instancetype)initDefault { self = [super init]; if (self) { } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGTeamFolderPermanentlyDeleteDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTeamFolderPermanentlyDeleteDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTeamFolderPermanentlyDeleteDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 isEqualToTeamFolderPermanentlyDeleteDetails:other]; } - (BOOL)isEqualToTeamFolderPermanentlyDeleteDetails: (DBTEAMLOGTeamFolderPermanentlyDeleteDetails *)aTeamFolderPermanentlyDeleteDetails { if (self == aTeamFolderPermanentlyDeleteDetails) { return YES; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTeamFolderPermanentlyDeleteDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGTeamFolderPermanentlyDeleteDetails *)valueObj { #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; return jsonDict; } + (DBTEAMLOGTeamFolderPermanentlyDeleteDetails *)deserialize:(NSDictionary *)valueDict { #pragma unused(valueDict) return [[DBTEAMLOGTeamFolderPermanentlyDeleteDetails alloc] initDefault]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGTeamFolderPermanentlyDeleteType.h" #pragma mark - API Object @implementation DBTEAMLOGTeamFolderPermanentlyDeleteType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGTeamFolderPermanentlyDeleteTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTeamFolderPermanentlyDeleteTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTeamFolderPermanentlyDeleteTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToTeamFolderPermanentlyDeleteType:other]; } - (BOOL)isEqualToTeamFolderPermanentlyDeleteType: (DBTEAMLOGTeamFolderPermanentlyDeleteType *)aTeamFolderPermanentlyDeleteType { if (self == aTeamFolderPermanentlyDeleteType) { return YES; } if (![self.description_ isEqual:aTeamFolderPermanentlyDeleteType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTeamFolderPermanentlyDeleteTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGTeamFolderPermanentlyDeleteType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGTeamFolderPermanentlyDeleteType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGTeamFolderPermanentlyDeleteType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGTeamFolderRenameDetails.h" #pragma mark - API Object @implementation DBTEAMLOGTeamFolderRenameDetails #pragma mark - Constructors - (instancetype)initWithPreviousFolderName:(NSString *)previousFolderName dNewFolderName:(NSString *)dNewFolderName { [DBStoneValidators nonnullValidator:nil](previousFolderName); [DBStoneValidators nonnullValidator:nil](dNewFolderName); self = [super init]; if (self) { _previousFolderName = previousFolderName; _dNewFolderName = dNewFolderName; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGTeamFolderRenameDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTeamFolderRenameDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTeamFolderRenameDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.previousFolderName hash]; result = prime * result + [self.dNewFolderName hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToTeamFolderRenameDetails:other]; } - (BOOL)isEqualToTeamFolderRenameDetails:(DBTEAMLOGTeamFolderRenameDetails *)aTeamFolderRenameDetails { if (self == aTeamFolderRenameDetails) { return YES; } if (![self.previousFolderName isEqual:aTeamFolderRenameDetails.previousFolderName]) { return NO; } if (![self.dNewFolderName isEqual:aTeamFolderRenameDetails.dNewFolderName]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTeamFolderRenameDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGTeamFolderRenameDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"previous_folder_name"] = valueObj.previousFolderName; jsonDict[@"new_folder_name"] = valueObj.dNewFolderName; return jsonDict; } + (DBTEAMLOGTeamFolderRenameDetails *)deserialize:(NSDictionary *)valueDict { NSString *previousFolderName = valueDict[@"previous_folder_name"]; NSString *dNewFolderName = valueDict[@"new_folder_name"]; return [[DBTEAMLOGTeamFolderRenameDetails alloc] initWithPreviousFolderName:previousFolderName dNewFolderName:dNewFolderName]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGTeamFolderRenameType.h" #pragma mark - API Object @implementation DBTEAMLOGTeamFolderRenameType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGTeamFolderRenameTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTeamFolderRenameTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTeamFolderRenameTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToTeamFolderRenameType:other]; } - (BOOL)isEqualToTeamFolderRenameType:(DBTEAMLOGTeamFolderRenameType *)aTeamFolderRenameType { if (self == aTeamFolderRenameType) { return YES; } if (![self.description_ isEqual:aTeamFolderRenameType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTeamFolderRenameTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGTeamFolderRenameType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGTeamFolderRenameType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGTeamFolderRenameType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGInviteMethod.h" #import "DBTEAMLOGTeamInviteDetails.h" #pragma mark - API Object @implementation DBTEAMLOGTeamInviteDetails #pragma mark - Constructors - (instancetype)initWithInviteMethod:(DBTEAMLOGInviteMethod *)inviteMethod additionalLicensePurchase:(NSNumber *)additionalLicensePurchase { [DBStoneValidators nonnullValidator:nil](inviteMethod); self = [super init]; if (self) { _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 [DBTEAMLOGTeamInviteDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTeamInviteDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTeamInviteDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.inviteMethod hash]; if (self.additionalLicensePurchase != nil) { result = prime * result + [self.additionalLicensePurchase hash]; } return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToTeamInviteDetails:other]; } - (BOOL)isEqualToTeamInviteDetails:(DBTEAMLOGTeamInviteDetails *)aTeamInviteDetails { if (self == aTeamInviteDetails) { return YES; } if (![self.inviteMethod isEqual:aTeamInviteDetails.inviteMethod]) { return NO; } if (self.additionalLicensePurchase) { if (![self.additionalLicensePurchase isEqual:aTeamInviteDetails.additionalLicensePurchase]) { return NO; } } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTeamInviteDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGTeamInviteDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"invite_method"] = [DBTEAMLOGInviteMethodSerializer serialize:valueObj.inviteMethod]; if (valueObj.additionalLicensePurchase) { jsonDict[@"additional_license_purchase"] = valueObj.additionalLicensePurchase; } return jsonDict; } + (DBTEAMLOGTeamInviteDetails *)deserialize:(NSDictionary *)valueDict { DBTEAMLOGInviteMethod *inviteMethod = [DBTEAMLOGInviteMethodSerializer deserialize:valueDict[@"invite_method"]]; NSNumber *additionalLicensePurchase = valueDict[@"additional_license_purchase"] ?: nil; return [[DBTEAMLOGTeamInviteDetails alloc] initWithInviteMethod:inviteMethod additionalLicensePurchase:additionalLicensePurchase]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGAppLogInfo.h" #import "DBTEAMLOGTeamLinkedAppLogInfo.h" #pragma mark - API Object @implementation DBTEAMLOGTeamLinkedAppLogInfo #pragma mark - Constructors - (instancetype)initWithAppId:(NSString *)appId displayName:(NSString *)displayName { 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 [DBTEAMLOGTeamLinkedAppLogInfoSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTeamLinkedAppLogInfoSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTeamLinkedAppLogInfoSerializer serialize:self] description]; } #pragma mark - Copyable method - (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.appId != nil) { result = prime * result + [self.appId 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 isEqualToTeamLinkedAppLogInfo:other]; } - (BOOL)isEqualToTeamLinkedAppLogInfo:(DBTEAMLOGTeamLinkedAppLogInfo *)aTeamLinkedAppLogInfo { if (self == aTeamLinkedAppLogInfo) { return YES; } if (self.appId) { if (![self.appId isEqual:aTeamLinkedAppLogInfo.appId]) { return NO; } } if (self.displayName) { if (![self.displayName isEqual:aTeamLinkedAppLogInfo.displayName]) { return NO; } } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTeamLinkedAppLogInfoSerializer + (NSDictionary *)serialize:(DBTEAMLOGTeamLinkedAppLogInfo *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if (valueObj.appId) { jsonDict[@"app_id"] = valueObj.appId; } if (valueObj.displayName) { jsonDict[@"display_name"] = valueObj.displayName; } return jsonDict; } + (DBTEAMLOGTeamLinkedAppLogInfo *)deserialize:(NSDictionary *)valueDict { NSString *appId = valueDict[@"app_id"] ?: nil; NSString *displayName = valueDict[@"display_name"] ?: nil; return [[DBTEAMLOGTeamLinkedAppLogInfo alloc] initWithAppId:appId displayName:displayName]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGTeamLogInfo.h" #pragma mark - API Object @implementation DBTEAMLOGTeamLogInfo #pragma mark - Constructors - (instancetype)initWithDisplayName:(NSString *)displayName { [DBStoneValidators nonnullValidator:nil](displayName); self = [super init]; if (self) { _displayName = displayName; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGTeamLogInfoSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTeamLogInfoSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTeamLogInfoSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToTeamLogInfo:other]; } - (BOOL)isEqualToTeamLogInfo:(DBTEAMLOGTeamLogInfo *)aTeamLogInfo { if (self == aTeamLogInfo) { return YES; } if (![self.displayName isEqual:aTeamLogInfo.displayName]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTeamLogInfoSerializer + (NSDictionary *)serialize:(DBTEAMLOGTeamLogInfo *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"display_name"] = valueObj.displayName; return jsonDict; } + (DBTEAMLOGTeamLogInfo *)deserialize:(NSDictionary *)valueDict { NSString *displayName = valueDict[@"display_name"]; return [[DBTEAMLOGTeamLogInfo alloc] initWithDisplayName:displayName]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGTeamLogInfo.h" #import "DBTEAMLOGTeamMemberLogInfo.h" #import "DBTEAMLOGUserLogInfo.h" #pragma mark - API Object @implementation DBTEAMLOGTeamMemberLogInfo #pragma mark - Constructors - (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 initWithAccountId:accountId displayName:displayName email:email]; if (self) { _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 [DBTEAMLOGTeamMemberLogInfoSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTeamMemberLogInfoSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTeamMemberLogInfoSerializer serialize:self] description]; } #pragma mark - Copyable method - (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]; } 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToTeamMemberLogInfo:other]; } - (BOOL)isEqualToTeamMemberLogInfo:(DBTEAMLOGTeamMemberLogInfo *)aTeamMemberLogInfo { if (self == aTeamMemberLogInfo) { return YES; } if (self.accountId) { if (![self.accountId isEqual:aTeamMemberLogInfo.accountId]) { 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; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTeamMemberLogInfoSerializer + (NSDictionary *)serialize:(DBTEAMLOGTeamMemberLogInfo *)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.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; } + (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 [[DBTEAMLOGTeamMemberLogInfo alloc] initWithAccountId:accountId displayName:displayName email:email teamMemberId:teamMemberId memberExternalId:memberExternalId team:team]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGTeamMembershipType.h" #pragma mark - API Object @implementation DBTEAMLOGTeamMembershipType #pragma mark - Constructors - (instancetype)initWithFree { self = [super init]; if (self) { _tag = DBTEAMLOGTeamMembershipTypeFree; } return self; } - (instancetype)initWithFull { self = [super init]; if (self) { _tag = DBTEAMLOGTeamMembershipTypeFull; } return self; } - (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 [DBTEAMLOGTeamMembershipTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTeamMembershipTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTeamMembershipTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToTeamMembershipType:other]; } - (BOOL)isEqualToTeamMembershipType:(DBTEAMLOGTeamMembershipType *)aTeamMembershipType { if (self == aTeamMembershipType) { return YES; } if (self.tag != aTeamMembershipType.tag) { 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; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTeamMembershipTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGTeamMembershipType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; 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; } + (DBTEAMLOGTeamMembershipType *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; 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 "DBTEAMLOGTeamMergeFromDetails.h" #pragma mark - API Object @implementation DBTEAMLOGTeamMergeFromDetails #pragma mark - Constructors - (instancetype)initWithTeamName:(NSString *)teamName { [DBStoneValidators nonnullValidator:nil](teamName); self = [super init]; if (self) { _teamName = teamName; } 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 - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTeamMergeFromDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToTeamMergeFromDetails:other]; } - (BOOL)isEqualToTeamMergeFromDetails:(DBTEAMLOGTeamMergeFromDetails *)aTeamMergeFromDetails { if (self == aTeamMergeFromDetails) { return YES; } if (![self.teamName isEqual:aTeamMergeFromDetails.teamName]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTeamMergeFromDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGTeamMergeFromDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"team_name"] = valueObj.teamName; return jsonDict; } + (DBTEAMLOGTeamMergeFromDetails *)deserialize:(NSDictionary *)valueDict { NSString *teamName = valueDict[@"team_name"]; return [[DBTEAMLOGTeamMergeFromDetails alloc] initWithTeamName:teamName]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGTeamMergeFromType.h" #pragma mark - API Object @implementation DBTEAMLOGTeamMergeFromType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGTeamMergeFromTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTeamMergeFromTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTeamMergeFromTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToTeamMergeFromType:other]; } - (BOOL)isEqualToTeamMergeFromType:(DBTEAMLOGTeamMergeFromType *)aTeamMergeFromType { if (self == aTeamMergeFromType) { return YES; } if (![self.description_ isEqual:aTeamMergeFromType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTeamMergeFromTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGTeamMergeFromType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGTeamMergeFromType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGTeamMergeFromType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGTeamMergeRequestAcceptedDetails.h" #import "DBTEAMLOGTeamMergeRequestAcceptedExtraDetails.h" #pragma mark - API Object @implementation DBTEAMLOGTeamMergeRequestAcceptedDetails #pragma mark - Constructors - (instancetype)initWithRequestAcceptedDetails:(DBTEAMLOGTeamMergeRequestAcceptedExtraDetails *)requestAcceptedDetails { [DBStoneValidators nonnullValidator:nil](requestAcceptedDetails); self = [super init]; if (self) { _requestAcceptedDetails = requestAcceptedDetails; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGTeamMergeRequestAcceptedDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTeamMergeRequestAcceptedDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTeamMergeRequestAcceptedDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.requestAcceptedDetails hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToTeamMergeRequestAcceptedDetails:other]; } - (BOOL)isEqualToTeamMergeRequestAcceptedDetails: (DBTEAMLOGTeamMergeRequestAcceptedDetails *)aTeamMergeRequestAcceptedDetails { if (self == aTeamMergeRequestAcceptedDetails) { return YES; } if (![self.requestAcceptedDetails isEqual:aTeamMergeRequestAcceptedDetails.requestAcceptedDetails]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTeamMergeRequestAcceptedDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGTeamMergeRequestAcceptedDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"request_accepted_details"] = [DBTEAMLOGTeamMergeRequestAcceptedExtraDetailsSerializer serialize:valueObj.requestAcceptedDetails]; return jsonDict; } + (DBTEAMLOGTeamMergeRequestAcceptedDetails *)deserialize:(NSDictionary *)valueDict { DBTEAMLOGTeamMergeRequestAcceptedExtraDetails *requestAcceptedDetails = [DBTEAMLOGTeamMergeRequestAcceptedExtraDetailsSerializer deserialize:valueDict[@"request_accepted_details"]]; return [[DBTEAMLOGTeamMergeRequestAcceptedDetails alloc] initWithRequestAcceptedDetails:requestAcceptedDetails]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGPrimaryTeamRequestAcceptedDetails.h" #import "DBTEAMLOGSecondaryTeamRequestAcceptedDetails.h" #import "DBTEAMLOGTeamMergeRequestAcceptedExtraDetails.h" #pragma mark - API Object @implementation DBTEAMLOGTeamMergeRequestAcceptedExtraDetails @synthesize primaryTeam = _primaryTeam; @synthesize secondaryTeam = _secondaryTeam; #pragma mark - Constructors - (instancetype)initWithPrimaryTeam:(DBTEAMLOGPrimaryTeamRequestAcceptedDetails *)primaryTeam { self = [super init]; if (self) { _tag = DBTEAMLOGTeamMergeRequestAcceptedExtraDetailsPrimaryTeam; _primaryTeam = primaryTeam; } return self; } - (instancetype)initWithSecondaryTeam:(DBTEAMLOGSecondaryTeamRequestAcceptedDetails *)secondaryTeam { self = [super init]; if (self) { _tag = DBTEAMLOGTeamMergeRequestAcceptedExtraDetailsSecondaryTeam; _secondaryTeam = secondaryTeam; } return self; } - (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 [DBTEAMLOGTeamMergeRequestAcceptedExtraDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTeamMergeRequestAcceptedExtraDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTeamMergeRequestAcceptedExtraDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToTeamMergeRequestAcceptedExtraDetails:other]; } - (BOOL)isEqualToTeamMergeRequestAcceptedExtraDetails: (DBTEAMLOGTeamMergeRequestAcceptedExtraDetails *)aTeamMergeRequestAcceptedExtraDetails { if (self == aTeamMergeRequestAcceptedExtraDetails) { return YES; } if (self.tag != aTeamMergeRequestAcceptedExtraDetails.tag) { 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; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTeamMergeRequestAcceptedExtraDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGTeamMergeRequestAcceptedExtraDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; 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; } + (DBTEAMLOGTeamMergeRequestAcceptedExtraDetails *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; 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 "DBTEAMLOGTeamMergeRequestAcceptedShownToPrimaryTeamDetails.h" #pragma mark - API Object @implementation DBTEAMLOGTeamMergeRequestAcceptedShownToPrimaryTeamDetails #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 [DBTEAMLOGTeamMergeRequestAcceptedShownToPrimaryTeamDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTeamMergeRequestAcceptedShownToPrimaryTeamDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTeamMergeRequestAcceptedShownToPrimaryTeamDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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 isEqualToTeamMergeRequestAcceptedShownToPrimaryTeamDetails:other]; } - (BOOL)isEqualToTeamMergeRequestAcceptedShownToPrimaryTeamDetails: (DBTEAMLOGTeamMergeRequestAcceptedShownToPrimaryTeamDetails *)aTeamMergeRequestAcceptedShownToPrimaryTeamDetails { if (self == aTeamMergeRequestAcceptedShownToPrimaryTeamDetails) { return YES; } if (![self.secondaryTeam isEqual:aTeamMergeRequestAcceptedShownToPrimaryTeamDetails.secondaryTeam]) { return NO; } if (![self.sentBy isEqual:aTeamMergeRequestAcceptedShownToPrimaryTeamDetails.sentBy]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTeamMergeRequestAcceptedShownToPrimaryTeamDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGTeamMergeRequestAcceptedShownToPrimaryTeamDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"secondary_team"] = valueObj.secondaryTeam; jsonDict[@"sent_by"] = valueObj.sentBy; return jsonDict; } + (DBTEAMLOGTeamMergeRequestAcceptedShownToPrimaryTeamDetails *)deserialize:(NSDictionary *)valueDict { NSString *secondaryTeam = valueDict[@"secondary_team"]; NSString *sentBy = valueDict[@"sent_by"]; return [[DBTEAMLOGTeamMergeRequestAcceptedShownToPrimaryTeamDetails alloc] initWithSecondaryTeam:secondaryTeam sentBy:sentBy]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGTeamMergeRequestAcceptedShownToPrimaryTeamType.h" #pragma mark - API Object @implementation DBTEAMLOGTeamMergeRequestAcceptedShownToPrimaryTeamType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGTeamMergeRequestAcceptedShownToPrimaryTeamTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTeamMergeRequestAcceptedShownToPrimaryTeamTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTeamMergeRequestAcceptedShownToPrimaryTeamTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToTeamMergeRequestAcceptedShownToPrimaryTeamType:other]; } - (BOOL)isEqualToTeamMergeRequestAcceptedShownToPrimaryTeamType: (DBTEAMLOGTeamMergeRequestAcceptedShownToPrimaryTeamType *)aTeamMergeRequestAcceptedShownToPrimaryTeamType { if (self == aTeamMergeRequestAcceptedShownToPrimaryTeamType) { return YES; } if (![self.description_ isEqual:aTeamMergeRequestAcceptedShownToPrimaryTeamType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTeamMergeRequestAcceptedShownToPrimaryTeamTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGTeamMergeRequestAcceptedShownToPrimaryTeamType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGTeamMergeRequestAcceptedShownToPrimaryTeamType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGTeamMergeRequestAcceptedShownToPrimaryTeamType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGTeamMergeRequestAcceptedShownToSecondaryTeamDetails.h" #pragma mark - API Object @implementation DBTEAMLOGTeamMergeRequestAcceptedShownToSecondaryTeamDetails #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 [DBTEAMLOGTeamMergeRequestAcceptedShownToSecondaryTeamDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTeamMergeRequestAcceptedShownToSecondaryTeamDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTeamMergeRequestAcceptedShownToSecondaryTeamDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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 isEqualToTeamMergeRequestAcceptedShownToSecondaryTeamDetails:other]; } - (BOOL)isEqualToTeamMergeRequestAcceptedShownToSecondaryTeamDetails: (DBTEAMLOGTeamMergeRequestAcceptedShownToSecondaryTeamDetails *) aTeamMergeRequestAcceptedShownToSecondaryTeamDetails { if (self == aTeamMergeRequestAcceptedShownToSecondaryTeamDetails) { return YES; } if (![self.primaryTeam isEqual:aTeamMergeRequestAcceptedShownToSecondaryTeamDetails.primaryTeam]) { return NO; } if (![self.sentBy isEqual:aTeamMergeRequestAcceptedShownToSecondaryTeamDetails.sentBy]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTeamMergeRequestAcceptedShownToSecondaryTeamDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGTeamMergeRequestAcceptedShownToSecondaryTeamDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"primary_team"] = valueObj.primaryTeam; jsonDict[@"sent_by"] = valueObj.sentBy; return jsonDict; } + (DBTEAMLOGTeamMergeRequestAcceptedShownToSecondaryTeamDetails *)deserialize: (NSDictionary *)valueDict { NSString *primaryTeam = valueDict[@"primary_team"]; NSString *sentBy = valueDict[@"sent_by"]; return [[DBTEAMLOGTeamMergeRequestAcceptedShownToSecondaryTeamDetails alloc] initWithPrimaryTeam:primaryTeam sentBy:sentBy]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGTeamMergeRequestAcceptedShownToSecondaryTeamType.h" #pragma mark - API Object @implementation DBTEAMLOGTeamMergeRequestAcceptedShownToSecondaryTeamType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGTeamMergeRequestAcceptedShownToSecondaryTeamTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTeamMergeRequestAcceptedShownToSecondaryTeamTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTeamMergeRequestAcceptedShownToSecondaryTeamTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToTeamMergeRequestAcceptedShownToSecondaryTeamType:other]; } - (BOOL)isEqualToTeamMergeRequestAcceptedShownToSecondaryTeamType: (DBTEAMLOGTeamMergeRequestAcceptedShownToSecondaryTeamType *)aTeamMergeRequestAcceptedShownToSecondaryTeamType { if (self == aTeamMergeRequestAcceptedShownToSecondaryTeamType) { return YES; } if (![self.description_ isEqual:aTeamMergeRequestAcceptedShownToSecondaryTeamType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTeamMergeRequestAcceptedShownToSecondaryTeamTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGTeamMergeRequestAcceptedShownToSecondaryTeamType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGTeamMergeRequestAcceptedShownToSecondaryTeamType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGTeamMergeRequestAcceptedShownToSecondaryTeamType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGTeamMergeRequestAcceptedType.h" #pragma mark - API Object @implementation DBTEAMLOGTeamMergeRequestAcceptedType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGTeamMergeRequestAcceptedTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTeamMergeRequestAcceptedTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTeamMergeRequestAcceptedTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToTeamMergeRequestAcceptedType:other]; } - (BOOL)isEqualToTeamMergeRequestAcceptedType:(DBTEAMLOGTeamMergeRequestAcceptedType *)aTeamMergeRequestAcceptedType { if (self == aTeamMergeRequestAcceptedType) { return YES; } if (![self.description_ isEqual:aTeamMergeRequestAcceptedType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTeamMergeRequestAcceptedTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGTeamMergeRequestAcceptedType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGTeamMergeRequestAcceptedType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGTeamMergeRequestAcceptedType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGTeamMergeRequestAutoCanceledDetails.h" #pragma mark - API Object @implementation DBTEAMLOGTeamMergeRequestAutoCanceledDetails #pragma mark - Constructors - (instancetype)initWithDetails:(NSString *)details { self = [super init]; if (self) { _details = details; } return self; } - (instancetype)initDefault { return [self initWithDetails:nil]; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGTeamMergeRequestAutoCanceledDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTeamMergeRequestAutoCanceledDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTeamMergeRequestAutoCanceledDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (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.details != nil) { result = prime * result + [self.details hash]; } return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToTeamMergeRequestAutoCanceledDetails:other]; } - (BOOL)isEqualToTeamMergeRequestAutoCanceledDetails: (DBTEAMLOGTeamMergeRequestAutoCanceledDetails *)aTeamMergeRequestAutoCanceledDetails { if (self == aTeamMergeRequestAutoCanceledDetails) { return YES; } if (self.details) { if (![self.details isEqual:aTeamMergeRequestAutoCanceledDetails.details]) { return NO; } } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTeamMergeRequestAutoCanceledDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGTeamMergeRequestAutoCanceledDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if (valueObj.details) { jsonDict[@"details"] = valueObj.details; } return jsonDict; } + (DBTEAMLOGTeamMergeRequestAutoCanceledDetails *)deserialize:(NSDictionary *)valueDict { NSString *details = valueDict[@"details"] ?: nil; return [[DBTEAMLOGTeamMergeRequestAutoCanceledDetails alloc] initWithDetails:details]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGTeamMergeRequestAutoCanceledType.h" #pragma mark - API Object @implementation DBTEAMLOGTeamMergeRequestAutoCanceledType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGTeamMergeRequestAutoCanceledTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTeamMergeRequestAutoCanceledTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTeamMergeRequestAutoCanceledTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToTeamMergeRequestAutoCanceledType:other]; } - (BOOL)isEqualToTeamMergeRequestAutoCanceledType: (DBTEAMLOGTeamMergeRequestAutoCanceledType *)aTeamMergeRequestAutoCanceledType { if (self == aTeamMergeRequestAutoCanceledType) { return YES; } if (![self.description_ isEqual:aTeamMergeRequestAutoCanceledType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTeamMergeRequestAutoCanceledTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGTeamMergeRequestAutoCanceledType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGTeamMergeRequestAutoCanceledType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGTeamMergeRequestAutoCanceledType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGTeamMergeRequestCanceledDetails.h" #import "DBTEAMLOGTeamMergeRequestCanceledExtraDetails.h" #pragma mark - API Object @implementation DBTEAMLOGTeamMergeRequestCanceledDetails #pragma mark - Constructors - (instancetype)initWithRequestCanceledDetails:(DBTEAMLOGTeamMergeRequestCanceledExtraDetails *)requestCanceledDetails { [DBStoneValidators nonnullValidator:nil](requestCanceledDetails); self = [super init]; if (self) { _requestCanceledDetails = requestCanceledDetails; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGTeamMergeRequestCanceledDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTeamMergeRequestCanceledDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTeamMergeRequestCanceledDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.requestCanceledDetails hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToTeamMergeRequestCanceledDetails:other]; } - (BOOL)isEqualToTeamMergeRequestCanceledDetails: (DBTEAMLOGTeamMergeRequestCanceledDetails *)aTeamMergeRequestCanceledDetails { if (self == aTeamMergeRequestCanceledDetails) { return YES; } if (![self.requestCanceledDetails isEqual:aTeamMergeRequestCanceledDetails.requestCanceledDetails]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTeamMergeRequestCanceledDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGTeamMergeRequestCanceledDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"request_canceled_details"] = [DBTEAMLOGTeamMergeRequestCanceledExtraDetailsSerializer serialize:valueObj.requestCanceledDetails]; return jsonDict; } + (DBTEAMLOGTeamMergeRequestCanceledDetails *)deserialize:(NSDictionary *)valueDict { DBTEAMLOGTeamMergeRequestCanceledExtraDetails *requestCanceledDetails = [DBTEAMLOGTeamMergeRequestCanceledExtraDetailsSerializer deserialize:valueDict[@"request_canceled_details"]]; return [[DBTEAMLOGTeamMergeRequestCanceledDetails alloc] initWithRequestCanceledDetails:requestCanceledDetails]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGPrimaryTeamRequestCanceledDetails.h" #import "DBTEAMLOGSecondaryTeamRequestCanceledDetails.h" #import "DBTEAMLOGTeamMergeRequestCanceledExtraDetails.h" #pragma mark - API Object @implementation DBTEAMLOGTeamMergeRequestCanceledExtraDetails @synthesize primaryTeam = _primaryTeam; @synthesize secondaryTeam = _secondaryTeam; #pragma mark - Constructors - (instancetype)initWithPrimaryTeam:(DBTEAMLOGPrimaryTeamRequestCanceledDetails *)primaryTeam { self = [super init]; if (self) { _tag = DBTEAMLOGTeamMergeRequestCanceledExtraDetailsPrimaryTeam; _primaryTeam = primaryTeam; } return self; } - (instancetype)initWithSecondaryTeam:(DBTEAMLOGSecondaryTeamRequestCanceledDetails *)secondaryTeam { self = [super init]; if (self) { _tag = DBTEAMLOGTeamMergeRequestCanceledExtraDetailsSecondaryTeam; _secondaryTeam = secondaryTeam; } return self; } - (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 [DBTEAMLOGTeamMergeRequestCanceledExtraDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTeamMergeRequestCanceledExtraDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTeamMergeRequestCanceledExtraDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToTeamMergeRequestCanceledExtraDetails:other]; } - (BOOL)isEqualToTeamMergeRequestCanceledExtraDetails: (DBTEAMLOGTeamMergeRequestCanceledExtraDetails *)aTeamMergeRequestCanceledExtraDetails { if (self == aTeamMergeRequestCanceledExtraDetails) { return YES; } if (self.tag != aTeamMergeRequestCanceledExtraDetails.tag) { 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; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTeamMergeRequestCanceledExtraDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGTeamMergeRequestCanceledExtraDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; 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; } + (DBTEAMLOGTeamMergeRequestCanceledExtraDetails *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; 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 "DBTEAMLOGTeamMergeRequestCanceledShownToPrimaryTeamDetails.h" #pragma mark - API Object @implementation DBTEAMLOGTeamMergeRequestCanceledShownToPrimaryTeamDetails #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 [DBTEAMLOGTeamMergeRequestCanceledShownToPrimaryTeamDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTeamMergeRequestCanceledShownToPrimaryTeamDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTeamMergeRequestCanceledShownToPrimaryTeamDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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 isEqualToTeamMergeRequestCanceledShownToPrimaryTeamDetails:other]; } - (BOOL)isEqualToTeamMergeRequestCanceledShownToPrimaryTeamDetails: (DBTEAMLOGTeamMergeRequestCanceledShownToPrimaryTeamDetails *)aTeamMergeRequestCanceledShownToPrimaryTeamDetails { if (self == aTeamMergeRequestCanceledShownToPrimaryTeamDetails) { return YES; } if (![self.secondaryTeam isEqual:aTeamMergeRequestCanceledShownToPrimaryTeamDetails.secondaryTeam]) { return NO; } if (![self.sentBy isEqual:aTeamMergeRequestCanceledShownToPrimaryTeamDetails.sentBy]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTeamMergeRequestCanceledShownToPrimaryTeamDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGTeamMergeRequestCanceledShownToPrimaryTeamDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"secondary_team"] = valueObj.secondaryTeam; jsonDict[@"sent_by"] = valueObj.sentBy; return jsonDict; } + (DBTEAMLOGTeamMergeRequestCanceledShownToPrimaryTeamDetails *)deserialize:(NSDictionary *)valueDict { NSString *secondaryTeam = valueDict[@"secondary_team"]; NSString *sentBy = valueDict[@"sent_by"]; return [[DBTEAMLOGTeamMergeRequestCanceledShownToPrimaryTeamDetails alloc] initWithSecondaryTeam:secondaryTeam sentBy:sentBy]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGTeamMergeRequestCanceledShownToPrimaryTeamType.h" #pragma mark - API Object @implementation DBTEAMLOGTeamMergeRequestCanceledShownToPrimaryTeamType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGTeamMergeRequestCanceledShownToPrimaryTeamTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTeamMergeRequestCanceledShownToPrimaryTeamTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTeamMergeRequestCanceledShownToPrimaryTeamTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToTeamMergeRequestCanceledShownToPrimaryTeamType:other]; } - (BOOL)isEqualToTeamMergeRequestCanceledShownToPrimaryTeamType: (DBTEAMLOGTeamMergeRequestCanceledShownToPrimaryTeamType *)aTeamMergeRequestCanceledShownToPrimaryTeamType { if (self == aTeamMergeRequestCanceledShownToPrimaryTeamType) { return YES; } if (![self.description_ isEqual:aTeamMergeRequestCanceledShownToPrimaryTeamType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTeamMergeRequestCanceledShownToPrimaryTeamTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGTeamMergeRequestCanceledShownToPrimaryTeamType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGTeamMergeRequestCanceledShownToPrimaryTeamType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGTeamMergeRequestCanceledShownToPrimaryTeamType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGTeamMergeRequestCanceledShownToSecondaryTeamDetails.h" #pragma mark - API Object @implementation DBTEAMLOGTeamMergeRequestCanceledShownToSecondaryTeamDetails #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 [DBTEAMLOGTeamMergeRequestCanceledShownToSecondaryTeamDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTeamMergeRequestCanceledShownToSecondaryTeamDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTeamMergeRequestCanceledShownToSecondaryTeamDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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 isEqualToTeamMergeRequestCanceledShownToSecondaryTeamDetails:other]; } - (BOOL)isEqualToTeamMergeRequestCanceledShownToSecondaryTeamDetails: (DBTEAMLOGTeamMergeRequestCanceledShownToSecondaryTeamDetails *) aTeamMergeRequestCanceledShownToSecondaryTeamDetails { if (self == aTeamMergeRequestCanceledShownToSecondaryTeamDetails) { return YES; } if (![self.sentTo isEqual:aTeamMergeRequestCanceledShownToSecondaryTeamDetails.sentTo]) { return NO; } if (![self.sentBy isEqual:aTeamMergeRequestCanceledShownToSecondaryTeamDetails.sentBy]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTeamMergeRequestCanceledShownToSecondaryTeamDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGTeamMergeRequestCanceledShownToSecondaryTeamDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"sent_to"] = valueObj.sentTo; jsonDict[@"sent_by"] = valueObj.sentBy; return jsonDict; } + (DBTEAMLOGTeamMergeRequestCanceledShownToSecondaryTeamDetails *)deserialize: (NSDictionary *)valueDict { NSString *sentTo = valueDict[@"sent_to"]; NSString *sentBy = valueDict[@"sent_by"]; return [[DBTEAMLOGTeamMergeRequestCanceledShownToSecondaryTeamDetails alloc] initWithSentTo:sentTo sentBy:sentBy]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGTeamMergeRequestCanceledShownToSecondaryTeamType.h" #pragma mark - API Object @implementation DBTEAMLOGTeamMergeRequestCanceledShownToSecondaryTeamType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGTeamMergeRequestCanceledShownToSecondaryTeamTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTeamMergeRequestCanceledShownToSecondaryTeamTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTeamMergeRequestCanceledShownToSecondaryTeamTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToTeamMergeRequestCanceledShownToSecondaryTeamType:other]; } - (BOOL)isEqualToTeamMergeRequestCanceledShownToSecondaryTeamType: (DBTEAMLOGTeamMergeRequestCanceledShownToSecondaryTeamType *)aTeamMergeRequestCanceledShownToSecondaryTeamType { if (self == aTeamMergeRequestCanceledShownToSecondaryTeamType) { return YES; } if (![self.description_ isEqual:aTeamMergeRequestCanceledShownToSecondaryTeamType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTeamMergeRequestCanceledShownToSecondaryTeamTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGTeamMergeRequestCanceledShownToSecondaryTeamType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGTeamMergeRequestCanceledShownToSecondaryTeamType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGTeamMergeRequestCanceledShownToSecondaryTeamType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGTeamMergeRequestCanceledType.h" #pragma mark - API Object @implementation DBTEAMLOGTeamMergeRequestCanceledType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGTeamMergeRequestCanceledTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTeamMergeRequestCanceledTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTeamMergeRequestCanceledTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToTeamMergeRequestCanceledType:other]; } - (BOOL)isEqualToTeamMergeRequestCanceledType:(DBTEAMLOGTeamMergeRequestCanceledType *)aTeamMergeRequestCanceledType { if (self == aTeamMergeRequestCanceledType) { return YES; } if (![self.description_ isEqual:aTeamMergeRequestCanceledType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTeamMergeRequestCanceledTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGTeamMergeRequestCanceledType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGTeamMergeRequestCanceledType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGTeamMergeRequestCanceledType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGTeamMergeRequestExpiredDetails.h" #import "DBTEAMLOGTeamMergeRequestExpiredExtraDetails.h" #pragma mark - API Object @implementation DBTEAMLOGTeamMergeRequestExpiredDetails #pragma mark - Constructors - (instancetype)initWithRequestExpiredDetails:(DBTEAMLOGTeamMergeRequestExpiredExtraDetails *)requestExpiredDetails { [DBStoneValidators nonnullValidator:nil](requestExpiredDetails); self = [super init]; if (self) { _requestExpiredDetails = requestExpiredDetails; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGTeamMergeRequestExpiredDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTeamMergeRequestExpiredDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTeamMergeRequestExpiredDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.requestExpiredDetails hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToTeamMergeRequestExpiredDetails:other]; } - (BOOL)isEqualToTeamMergeRequestExpiredDetails: (DBTEAMLOGTeamMergeRequestExpiredDetails *)aTeamMergeRequestExpiredDetails { if (self == aTeamMergeRequestExpiredDetails) { return YES; } if (![self.requestExpiredDetails isEqual:aTeamMergeRequestExpiredDetails.requestExpiredDetails]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTeamMergeRequestExpiredDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGTeamMergeRequestExpiredDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"request_expired_details"] = [DBTEAMLOGTeamMergeRequestExpiredExtraDetailsSerializer serialize:valueObj.requestExpiredDetails]; return jsonDict; } + (DBTEAMLOGTeamMergeRequestExpiredDetails *)deserialize:(NSDictionary *)valueDict { DBTEAMLOGTeamMergeRequestExpiredExtraDetails *requestExpiredDetails = [DBTEAMLOGTeamMergeRequestExpiredExtraDetailsSerializer deserialize:valueDict[@"request_expired_details"]]; return [[DBTEAMLOGTeamMergeRequestExpiredDetails alloc] initWithRequestExpiredDetails:requestExpiredDetails]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGPrimaryTeamRequestExpiredDetails.h" #import "DBTEAMLOGSecondaryTeamRequestExpiredDetails.h" #import "DBTEAMLOGTeamMergeRequestExpiredExtraDetails.h" #pragma mark - API Object @implementation DBTEAMLOGTeamMergeRequestExpiredExtraDetails @synthesize primaryTeam = _primaryTeam; @synthesize secondaryTeam = _secondaryTeam; #pragma mark - Constructors - (instancetype)initWithPrimaryTeam:(DBTEAMLOGPrimaryTeamRequestExpiredDetails *)primaryTeam { self = [super init]; if (self) { _tag = DBTEAMLOGTeamMergeRequestExpiredExtraDetailsPrimaryTeam; _primaryTeam = primaryTeam; } return self; } - (instancetype)initWithSecondaryTeam:(DBTEAMLOGSecondaryTeamRequestExpiredDetails *)secondaryTeam { self = [super init]; if (self) { _tag = DBTEAMLOGTeamMergeRequestExpiredExtraDetailsSecondaryTeam; _secondaryTeam = secondaryTeam; } return self; } - (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 [DBTEAMLOGTeamMergeRequestExpiredExtraDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTeamMergeRequestExpiredExtraDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTeamMergeRequestExpiredExtraDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToTeamMergeRequestExpiredExtraDetails:other]; } - (BOOL)isEqualToTeamMergeRequestExpiredExtraDetails: (DBTEAMLOGTeamMergeRequestExpiredExtraDetails *)aTeamMergeRequestExpiredExtraDetails { if (self == aTeamMergeRequestExpiredExtraDetails) { return YES; } if (self.tag != aTeamMergeRequestExpiredExtraDetails.tag) { 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; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTeamMergeRequestExpiredExtraDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGTeamMergeRequestExpiredExtraDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; 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; } + (DBTEAMLOGTeamMergeRequestExpiredExtraDetails *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; 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 "DBTEAMLOGTeamMergeRequestExpiredShownToPrimaryTeamDetails.h" #pragma mark - API Object @implementation DBTEAMLOGTeamMergeRequestExpiredShownToPrimaryTeamDetails #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 [DBTEAMLOGTeamMergeRequestExpiredShownToPrimaryTeamDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTeamMergeRequestExpiredShownToPrimaryTeamDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTeamMergeRequestExpiredShownToPrimaryTeamDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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 isEqualToTeamMergeRequestExpiredShownToPrimaryTeamDetails:other]; } - (BOOL)isEqualToTeamMergeRequestExpiredShownToPrimaryTeamDetails: (DBTEAMLOGTeamMergeRequestExpiredShownToPrimaryTeamDetails *)aTeamMergeRequestExpiredShownToPrimaryTeamDetails { if (self == aTeamMergeRequestExpiredShownToPrimaryTeamDetails) { return YES; } if (![self.secondaryTeam isEqual:aTeamMergeRequestExpiredShownToPrimaryTeamDetails.secondaryTeam]) { return NO; } if (![self.sentBy isEqual:aTeamMergeRequestExpiredShownToPrimaryTeamDetails.sentBy]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTeamMergeRequestExpiredShownToPrimaryTeamDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGTeamMergeRequestExpiredShownToPrimaryTeamDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"secondary_team"] = valueObj.secondaryTeam; jsonDict[@"sent_by"] = valueObj.sentBy; return jsonDict; } + (DBTEAMLOGTeamMergeRequestExpiredShownToPrimaryTeamDetails *)deserialize:(NSDictionary *)valueDict { NSString *secondaryTeam = valueDict[@"secondary_team"]; NSString *sentBy = valueDict[@"sent_by"]; return [[DBTEAMLOGTeamMergeRequestExpiredShownToPrimaryTeamDetails alloc] initWithSecondaryTeam:secondaryTeam sentBy:sentBy]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGTeamMergeRequestExpiredShownToPrimaryTeamType.h" #pragma mark - API Object @implementation DBTEAMLOGTeamMergeRequestExpiredShownToPrimaryTeamType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGTeamMergeRequestExpiredShownToPrimaryTeamTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTeamMergeRequestExpiredShownToPrimaryTeamTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTeamMergeRequestExpiredShownToPrimaryTeamTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToTeamMergeRequestExpiredShownToPrimaryTeamType:other]; } - (BOOL)isEqualToTeamMergeRequestExpiredShownToPrimaryTeamType: (DBTEAMLOGTeamMergeRequestExpiredShownToPrimaryTeamType *)aTeamMergeRequestExpiredShownToPrimaryTeamType { if (self == aTeamMergeRequestExpiredShownToPrimaryTeamType) { return YES; } if (![self.description_ isEqual:aTeamMergeRequestExpiredShownToPrimaryTeamType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTeamMergeRequestExpiredShownToPrimaryTeamTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGTeamMergeRequestExpiredShownToPrimaryTeamType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGTeamMergeRequestExpiredShownToPrimaryTeamType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGTeamMergeRequestExpiredShownToPrimaryTeamType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGTeamMergeRequestExpiredShownToSecondaryTeamDetails.h" #pragma mark - API Object @implementation DBTEAMLOGTeamMergeRequestExpiredShownToSecondaryTeamDetails #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 [DBTEAMLOGTeamMergeRequestExpiredShownToSecondaryTeamDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTeamMergeRequestExpiredShownToSecondaryTeamDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTeamMergeRequestExpiredShownToSecondaryTeamDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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 isEqualToTeamMergeRequestExpiredShownToSecondaryTeamDetails:other]; } - (BOOL)isEqualToTeamMergeRequestExpiredShownToSecondaryTeamDetails: (DBTEAMLOGTeamMergeRequestExpiredShownToSecondaryTeamDetails *)aTeamMergeRequestExpiredShownToSecondaryTeamDetails { if (self == aTeamMergeRequestExpiredShownToSecondaryTeamDetails) { return YES; } if (![self.sentTo isEqual:aTeamMergeRequestExpiredShownToSecondaryTeamDetails.sentTo]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTeamMergeRequestExpiredShownToSecondaryTeamDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGTeamMergeRequestExpiredShownToSecondaryTeamDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"sent_to"] = valueObj.sentTo; return jsonDict; } + (DBTEAMLOGTeamMergeRequestExpiredShownToSecondaryTeamDetails *)deserialize:(NSDictionary *)valueDict { NSString *sentTo = valueDict[@"sent_to"]; return [[DBTEAMLOGTeamMergeRequestExpiredShownToSecondaryTeamDetails alloc] initWithSentTo:sentTo]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGTeamMergeRequestExpiredShownToSecondaryTeamType.h" #pragma mark - API Object @implementation DBTEAMLOGTeamMergeRequestExpiredShownToSecondaryTeamType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGTeamMergeRequestExpiredShownToSecondaryTeamTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTeamMergeRequestExpiredShownToSecondaryTeamTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTeamMergeRequestExpiredShownToSecondaryTeamTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToTeamMergeRequestExpiredShownToSecondaryTeamType:other]; } - (BOOL)isEqualToTeamMergeRequestExpiredShownToSecondaryTeamType: (DBTEAMLOGTeamMergeRequestExpiredShownToSecondaryTeamType *)aTeamMergeRequestExpiredShownToSecondaryTeamType { if (self == aTeamMergeRequestExpiredShownToSecondaryTeamType) { return YES; } if (![self.description_ isEqual:aTeamMergeRequestExpiredShownToSecondaryTeamType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTeamMergeRequestExpiredShownToSecondaryTeamTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGTeamMergeRequestExpiredShownToSecondaryTeamType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGTeamMergeRequestExpiredShownToSecondaryTeamType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGTeamMergeRequestExpiredShownToSecondaryTeamType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGTeamMergeRequestExpiredType.h" #pragma mark - API Object @implementation DBTEAMLOGTeamMergeRequestExpiredType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGTeamMergeRequestExpiredTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTeamMergeRequestExpiredTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTeamMergeRequestExpiredTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToTeamMergeRequestExpiredType:other]; } - (BOOL)isEqualToTeamMergeRequestExpiredType:(DBTEAMLOGTeamMergeRequestExpiredType *)aTeamMergeRequestExpiredType { if (self == aTeamMergeRequestExpiredType) { return YES; } if (![self.description_ isEqual:aTeamMergeRequestExpiredType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTeamMergeRequestExpiredTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGTeamMergeRequestExpiredType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGTeamMergeRequestExpiredType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGTeamMergeRequestExpiredType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGTeamMergeRequestRejectedShownToPrimaryTeamDetails.h" #pragma mark - API Object @implementation DBTEAMLOGTeamMergeRequestRejectedShownToPrimaryTeamDetails #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 [DBTEAMLOGTeamMergeRequestRejectedShownToPrimaryTeamDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTeamMergeRequestRejectedShownToPrimaryTeamDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTeamMergeRequestRejectedShownToPrimaryTeamDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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 isEqualToTeamMergeRequestRejectedShownToPrimaryTeamDetails:other]; } - (BOOL)isEqualToTeamMergeRequestRejectedShownToPrimaryTeamDetails: (DBTEAMLOGTeamMergeRequestRejectedShownToPrimaryTeamDetails *)aTeamMergeRequestRejectedShownToPrimaryTeamDetails { if (self == aTeamMergeRequestRejectedShownToPrimaryTeamDetails) { return YES; } if (![self.secondaryTeam isEqual:aTeamMergeRequestRejectedShownToPrimaryTeamDetails.secondaryTeam]) { return NO; } if (![self.sentBy isEqual:aTeamMergeRequestRejectedShownToPrimaryTeamDetails.sentBy]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTeamMergeRequestRejectedShownToPrimaryTeamDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGTeamMergeRequestRejectedShownToPrimaryTeamDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"secondary_team"] = valueObj.secondaryTeam; jsonDict[@"sent_by"] = valueObj.sentBy; return jsonDict; } + (DBTEAMLOGTeamMergeRequestRejectedShownToPrimaryTeamDetails *)deserialize:(NSDictionary *)valueDict { NSString *secondaryTeam = valueDict[@"secondary_team"]; NSString *sentBy = valueDict[@"sent_by"]; return [[DBTEAMLOGTeamMergeRequestRejectedShownToPrimaryTeamDetails alloc] initWithSecondaryTeam:secondaryTeam sentBy:sentBy]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGTeamMergeRequestRejectedShownToPrimaryTeamType.h" #pragma mark - API Object @implementation DBTEAMLOGTeamMergeRequestRejectedShownToPrimaryTeamType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGTeamMergeRequestRejectedShownToPrimaryTeamTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTeamMergeRequestRejectedShownToPrimaryTeamTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTeamMergeRequestRejectedShownToPrimaryTeamTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToTeamMergeRequestRejectedShownToPrimaryTeamType:other]; } - (BOOL)isEqualToTeamMergeRequestRejectedShownToPrimaryTeamType: (DBTEAMLOGTeamMergeRequestRejectedShownToPrimaryTeamType *)aTeamMergeRequestRejectedShownToPrimaryTeamType { if (self == aTeamMergeRequestRejectedShownToPrimaryTeamType) { return YES; } if (![self.description_ isEqual:aTeamMergeRequestRejectedShownToPrimaryTeamType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTeamMergeRequestRejectedShownToPrimaryTeamTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGTeamMergeRequestRejectedShownToPrimaryTeamType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGTeamMergeRequestRejectedShownToPrimaryTeamType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGTeamMergeRequestRejectedShownToPrimaryTeamType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGTeamMergeRequestRejectedShownToSecondaryTeamDetails.h" #pragma mark - API Object @implementation DBTEAMLOGTeamMergeRequestRejectedShownToSecondaryTeamDetails #pragma mark - Constructors - (instancetype)initWithSentBy:(NSString *)sentBy { [DBStoneValidators nonnullValidator:nil](sentBy); self = [super init]; if (self) { _sentBy = sentBy; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGTeamMergeRequestRejectedShownToSecondaryTeamDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTeamMergeRequestRejectedShownToSecondaryTeamDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTeamMergeRequestRejectedShownToSecondaryTeamDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; 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 isEqualToTeamMergeRequestRejectedShownToSecondaryTeamDetails:other]; } - (BOOL)isEqualToTeamMergeRequestRejectedShownToSecondaryTeamDetails: (DBTEAMLOGTeamMergeRequestRejectedShownToSecondaryTeamDetails *) aTeamMergeRequestRejectedShownToSecondaryTeamDetails { if (self == aTeamMergeRequestRejectedShownToSecondaryTeamDetails) { return YES; } if (![self.sentBy isEqual:aTeamMergeRequestRejectedShownToSecondaryTeamDetails.sentBy]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTeamMergeRequestRejectedShownToSecondaryTeamDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGTeamMergeRequestRejectedShownToSecondaryTeamDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"sent_by"] = valueObj.sentBy; return jsonDict; } + (DBTEAMLOGTeamMergeRequestRejectedShownToSecondaryTeamDetails *)deserialize: (NSDictionary *)valueDict { NSString *sentBy = valueDict[@"sent_by"]; return [[DBTEAMLOGTeamMergeRequestRejectedShownToSecondaryTeamDetails alloc] initWithSentBy:sentBy]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGTeamMergeRequestRejectedShownToSecondaryTeamType.h" #pragma mark - API Object @implementation DBTEAMLOGTeamMergeRequestRejectedShownToSecondaryTeamType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGTeamMergeRequestRejectedShownToSecondaryTeamTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTeamMergeRequestRejectedShownToSecondaryTeamTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTeamMergeRequestRejectedShownToSecondaryTeamTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToTeamMergeRequestRejectedShownToSecondaryTeamType:other]; } - (BOOL)isEqualToTeamMergeRequestRejectedShownToSecondaryTeamType: (DBTEAMLOGTeamMergeRequestRejectedShownToSecondaryTeamType *)aTeamMergeRequestRejectedShownToSecondaryTeamType { if (self == aTeamMergeRequestRejectedShownToSecondaryTeamType) { return YES; } if (![self.description_ isEqual:aTeamMergeRequestRejectedShownToSecondaryTeamType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTeamMergeRequestRejectedShownToSecondaryTeamTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGTeamMergeRequestRejectedShownToSecondaryTeamType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGTeamMergeRequestRejectedShownToSecondaryTeamType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGTeamMergeRequestRejectedShownToSecondaryTeamType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGTeamMergeRequestReminderDetails.h" #import "DBTEAMLOGTeamMergeRequestReminderExtraDetails.h" #pragma mark - API Object @implementation DBTEAMLOGTeamMergeRequestReminderDetails #pragma mark - Constructors - (instancetype)initWithRequestReminderDetails:(DBTEAMLOGTeamMergeRequestReminderExtraDetails *)requestReminderDetails { [DBStoneValidators nonnullValidator:nil](requestReminderDetails); self = [super init]; if (self) { _requestReminderDetails = requestReminderDetails; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGTeamMergeRequestReminderDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTeamMergeRequestReminderDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTeamMergeRequestReminderDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.requestReminderDetails hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToTeamMergeRequestReminderDetails:other]; } - (BOOL)isEqualToTeamMergeRequestReminderDetails: (DBTEAMLOGTeamMergeRequestReminderDetails *)aTeamMergeRequestReminderDetails { if (self == aTeamMergeRequestReminderDetails) { return YES; } if (![self.requestReminderDetails isEqual:aTeamMergeRequestReminderDetails.requestReminderDetails]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTeamMergeRequestReminderDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGTeamMergeRequestReminderDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"request_reminder_details"] = [DBTEAMLOGTeamMergeRequestReminderExtraDetailsSerializer serialize:valueObj.requestReminderDetails]; return jsonDict; } + (DBTEAMLOGTeamMergeRequestReminderDetails *)deserialize:(NSDictionary *)valueDict { DBTEAMLOGTeamMergeRequestReminderExtraDetails *requestReminderDetails = [DBTEAMLOGTeamMergeRequestReminderExtraDetailsSerializer deserialize:valueDict[@"request_reminder_details"]]; return [[DBTEAMLOGTeamMergeRequestReminderDetails alloc] initWithRequestReminderDetails:requestReminderDetails]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGPrimaryTeamRequestReminderDetails.h" #import "DBTEAMLOGSecondaryTeamRequestReminderDetails.h" #import "DBTEAMLOGTeamMergeRequestReminderExtraDetails.h" #pragma mark - API Object @implementation DBTEAMLOGTeamMergeRequestReminderExtraDetails @synthesize primaryTeam = _primaryTeam; @synthesize secondaryTeam = _secondaryTeam; #pragma mark - Constructors - (instancetype)initWithPrimaryTeam:(DBTEAMLOGPrimaryTeamRequestReminderDetails *)primaryTeam { self = [super init]; if (self) { _tag = DBTEAMLOGTeamMergeRequestReminderExtraDetailsPrimaryTeam; _primaryTeam = primaryTeam; } return self; } - (instancetype)initWithSecondaryTeam:(DBTEAMLOGSecondaryTeamRequestReminderDetails *)secondaryTeam { self = [super init]; if (self) { _tag = DBTEAMLOGTeamMergeRequestReminderExtraDetailsSecondaryTeam; _secondaryTeam = secondaryTeam; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBTEAMLOGTeamMergeRequestReminderExtraDetailsOther; } return self; } #pragma mark - Instance field accessors - (DBTEAMLOGPrimaryTeamRequestReminderDetails *)primaryTeam { if (![self isPrimaryTeam]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGTeamMergeRequestReminderExtraDetailsPrimaryTeam, but was %@.", [self tagName]]; } return _primaryTeam; } - (DBTEAMLOGSecondaryTeamRequestReminderDetails *)secondaryTeam { if (![self isSecondaryTeam]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGTeamMergeRequestReminderExtraDetailsSecondaryTeam, but was %@.", [self tagName]]; } return _secondaryTeam; } #pragma mark - Tag state methods - (BOOL)isPrimaryTeam { return _tag == DBTEAMLOGTeamMergeRequestReminderExtraDetailsPrimaryTeam; } - (BOOL)isSecondaryTeam { return _tag == DBTEAMLOGTeamMergeRequestReminderExtraDetailsSecondaryTeam; } - (BOOL)isOther { return _tag == DBTEAMLOGTeamMergeRequestReminderExtraDetailsOther; } - (NSString *)tagName { switch (_tag) { case DBTEAMLOGTeamMergeRequestReminderExtraDetailsPrimaryTeam: return @"DBTEAMLOGTeamMergeRequestReminderExtraDetailsPrimaryTeam"; case DBTEAMLOGTeamMergeRequestReminderExtraDetailsSecondaryTeam: return @"DBTEAMLOGTeamMergeRequestReminderExtraDetailsSecondaryTeam"; case DBTEAMLOGTeamMergeRequestReminderExtraDetailsOther: return @"DBTEAMLOGTeamMergeRequestReminderExtraDetailsOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGTeamMergeRequestReminderExtraDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTeamMergeRequestReminderExtraDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTeamMergeRequestReminderExtraDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToTeamMergeRequestReminderExtraDetails:other]; } - (BOOL)isEqualToTeamMergeRequestReminderExtraDetails: (DBTEAMLOGTeamMergeRequestReminderExtraDetails *)aTeamMergeRequestReminderExtraDetails { if (self == aTeamMergeRequestReminderExtraDetails) { return YES; } if (self.tag != aTeamMergeRequestReminderExtraDetails.tag) { return NO; } switch (_tag) { 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; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTeamMergeRequestReminderExtraDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGTeamMergeRequestReminderExtraDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; 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; } + (DBTEAMLOGTeamMergeRequestReminderExtraDetails *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; 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 [[DBTEAMLOGTeamMergeRequestReminderExtraDetails alloc] initWithOther]; } else { return [[DBTEAMLOGTeamMergeRequestReminderExtraDetails alloc] initWithOther]; } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGTeamMergeRequestReminderShownToPrimaryTeamDetails.h" #pragma mark - API Object @implementation DBTEAMLOGTeamMergeRequestReminderShownToPrimaryTeamDetails #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 [DBTEAMLOGTeamMergeRequestReminderShownToPrimaryTeamDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTeamMergeRequestReminderShownToPrimaryTeamDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTeamMergeRequestReminderShownToPrimaryTeamDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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 isEqualToTeamMergeRequestReminderShownToPrimaryTeamDetails:other]; } - (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; } @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 [DBTEAMLOGTeamMergeRequestReminderShownToPrimaryTeamTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTeamMergeRequestReminderShownToPrimaryTeamTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTeamMergeRequestReminderShownToPrimaryTeamTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToTeamMergeRequestReminderShownToPrimaryTeamType:other]; } - (BOOL)isEqualToTeamMergeRequestReminderShownToPrimaryTeamType: (DBTEAMLOGTeamMergeRequestReminderShownToPrimaryTeamType *)aTeamMergeRequestReminderShownToPrimaryTeamType { if (self == aTeamMergeRequestReminderShownToPrimaryTeamType) { return YES; } if (![self.description_ isEqual:aTeamMergeRequestReminderShownToPrimaryTeamType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTeamMergeRequestReminderShownToPrimaryTeamTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGTeamMergeRequestReminderShownToPrimaryTeamType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGTeamMergeRequestReminderShownToPrimaryTeamType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGTeamMergeRequestReminderShownToPrimaryTeamType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGTeamMergeRequestReminderShownToSecondaryTeamDetails.h" #pragma mark - API Object @implementation DBTEAMLOGTeamMergeRequestReminderShownToSecondaryTeamDetails #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 [DBTEAMLOGTeamMergeRequestReminderShownToSecondaryTeamDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTeamMergeRequestReminderShownToSecondaryTeamDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTeamMergeRequestReminderShownToSecondaryTeamDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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 isEqualToTeamMergeRequestReminderShownToSecondaryTeamDetails:other]; } - (BOOL)isEqualToTeamMergeRequestReminderShownToSecondaryTeamDetails: (DBTEAMLOGTeamMergeRequestReminderShownToSecondaryTeamDetails *) aTeamMergeRequestReminderShownToSecondaryTeamDetails { if (self == aTeamMergeRequestReminderShownToSecondaryTeamDetails) { return YES; } if (![self.sentTo isEqual:aTeamMergeRequestReminderShownToSecondaryTeamDetails.sentTo]) { return NO; } return YES; } @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 [DBTEAMLOGTeamMergeRequestReminderShownToSecondaryTeamTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTeamMergeRequestReminderShownToSecondaryTeamTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTeamMergeRequestReminderShownToSecondaryTeamTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToTeamMergeRequestReminderShownToSecondaryTeamType:other]; } - (BOOL)isEqualToTeamMergeRequestReminderShownToSecondaryTeamType: (DBTEAMLOGTeamMergeRequestReminderShownToSecondaryTeamType *)aTeamMergeRequestReminderShownToSecondaryTeamType { if (self == aTeamMergeRequestReminderShownToSecondaryTeamType) { return YES; } if (![self.description_ isEqual:aTeamMergeRequestReminderShownToSecondaryTeamType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTeamMergeRequestReminderShownToSecondaryTeamTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGTeamMergeRequestReminderShownToSecondaryTeamType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGTeamMergeRequestReminderShownToSecondaryTeamType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGTeamMergeRequestReminderShownToSecondaryTeamType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGTeamMergeRequestReminderType.h" #pragma mark - API Object @implementation DBTEAMLOGTeamMergeRequestReminderType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGTeamMergeRequestReminderTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTeamMergeRequestReminderTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTeamMergeRequestReminderTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToTeamMergeRequestReminderType:other]; } - (BOOL)isEqualToTeamMergeRequestReminderType:(DBTEAMLOGTeamMergeRequestReminderType *)aTeamMergeRequestReminderType { if (self == aTeamMergeRequestReminderType) { return YES; } if (![self.description_ isEqual:aTeamMergeRequestReminderType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTeamMergeRequestReminderTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGTeamMergeRequestReminderType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGTeamMergeRequestReminderType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGTeamMergeRequestReminderType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGTeamMergeRequestRevokedDetails.h" #pragma mark - API Object @implementation DBTEAMLOGTeamMergeRequestRevokedDetails #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 [DBTEAMLOGTeamMergeRequestRevokedDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTeamMergeRequestRevokedDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTeamMergeRequestRevokedDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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 isEqualToTeamMergeRequestRevokedDetails:other]; } - (BOOL)isEqualToTeamMergeRequestRevokedDetails: (DBTEAMLOGTeamMergeRequestRevokedDetails *)aTeamMergeRequestRevokedDetails { if (self == aTeamMergeRequestRevokedDetails) { return YES; } if (![self.team isEqual:aTeamMergeRequestRevokedDetails.team]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTeamMergeRequestRevokedDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGTeamMergeRequestRevokedDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"team"] = valueObj.team; return jsonDict; } + (DBTEAMLOGTeamMergeRequestRevokedDetails *)deserialize:(NSDictionary *)valueDict { NSString *team = valueDict[@"team"]; return [[DBTEAMLOGTeamMergeRequestRevokedDetails alloc] initWithTeam:team]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGTeamMergeRequestRevokedType.h" #pragma mark - API Object @implementation DBTEAMLOGTeamMergeRequestRevokedType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGTeamMergeRequestRevokedTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTeamMergeRequestRevokedTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTeamMergeRequestRevokedTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToTeamMergeRequestRevokedType:other]; } - (BOOL)isEqualToTeamMergeRequestRevokedType:(DBTEAMLOGTeamMergeRequestRevokedType *)aTeamMergeRequestRevokedType { if (self == aTeamMergeRequestRevokedType) { return YES; } if (![self.description_ isEqual:aTeamMergeRequestRevokedType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTeamMergeRequestRevokedTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGTeamMergeRequestRevokedType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGTeamMergeRequestRevokedType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGTeamMergeRequestRevokedType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGTeamMergeRequestSentShownToPrimaryTeamDetails.h" #pragma mark - API Object @implementation DBTEAMLOGTeamMergeRequestSentShownToPrimaryTeamDetails #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 [DBTEAMLOGTeamMergeRequestSentShownToPrimaryTeamDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTeamMergeRequestSentShownToPrimaryTeamDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTeamMergeRequestSentShownToPrimaryTeamDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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 isEqualToTeamMergeRequestSentShownToPrimaryTeamDetails:other]; } - (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; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTeamMergeRequestSentShownToPrimaryTeamDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGTeamMergeRequestSentShownToPrimaryTeamDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"secondary_team"] = valueObj.secondaryTeam; jsonDict[@"sent_to"] = valueObj.sentTo; return jsonDict; } + (DBTEAMLOGTeamMergeRequestSentShownToPrimaryTeamDetails *)deserialize:(NSDictionary *)valueDict { NSString *secondaryTeam = valueDict[@"secondary_team"]; NSString *sentTo = valueDict[@"sent_to"]; return [[DBTEAMLOGTeamMergeRequestSentShownToPrimaryTeamDetails alloc] initWithSecondaryTeam:secondaryTeam sentTo:sentTo]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGTeamMergeRequestSentShownToPrimaryTeamType.h" #pragma mark - API Object @implementation DBTEAMLOGTeamMergeRequestSentShownToPrimaryTeamType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGTeamMergeRequestSentShownToPrimaryTeamTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTeamMergeRequestSentShownToPrimaryTeamTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTeamMergeRequestSentShownToPrimaryTeamTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToTeamMergeRequestSentShownToPrimaryTeamType:other]; } - (BOOL)isEqualToTeamMergeRequestSentShownToPrimaryTeamType: (DBTEAMLOGTeamMergeRequestSentShownToPrimaryTeamType *)aTeamMergeRequestSentShownToPrimaryTeamType { if (self == aTeamMergeRequestSentShownToPrimaryTeamType) { return YES; } if (![self.description_ isEqual:aTeamMergeRequestSentShownToPrimaryTeamType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTeamMergeRequestSentShownToPrimaryTeamTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGTeamMergeRequestSentShownToPrimaryTeamType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGTeamMergeRequestSentShownToPrimaryTeamType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGTeamMergeRequestSentShownToPrimaryTeamType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGTeamMergeRequestSentShownToSecondaryTeamDetails.h" #pragma mark - API Object @implementation DBTEAMLOGTeamMergeRequestSentShownToSecondaryTeamDetails #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 [DBTEAMLOGTeamMergeRequestSentShownToSecondaryTeamDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTeamMergeRequestSentShownToSecondaryTeamDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTeamMergeRequestSentShownToSecondaryTeamDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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 isEqualToTeamMergeRequestSentShownToSecondaryTeamDetails:other]; } - (BOOL)isEqualToTeamMergeRequestSentShownToSecondaryTeamDetails: (DBTEAMLOGTeamMergeRequestSentShownToSecondaryTeamDetails *)aTeamMergeRequestSentShownToSecondaryTeamDetails { if (self == aTeamMergeRequestSentShownToSecondaryTeamDetails) { return YES; } if (![self.sentTo isEqual:aTeamMergeRequestSentShownToSecondaryTeamDetails.sentTo]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTeamMergeRequestSentShownToSecondaryTeamDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGTeamMergeRequestSentShownToSecondaryTeamDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"sent_to"] = valueObj.sentTo; return jsonDict; } + (DBTEAMLOGTeamMergeRequestSentShownToSecondaryTeamDetails *)deserialize:(NSDictionary *)valueDict { NSString *sentTo = valueDict[@"sent_to"]; return [[DBTEAMLOGTeamMergeRequestSentShownToSecondaryTeamDetails alloc] initWithSentTo:sentTo]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGTeamMergeRequestSentShownToSecondaryTeamType.h" #pragma mark - API Object @implementation DBTEAMLOGTeamMergeRequestSentShownToSecondaryTeamType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGTeamMergeRequestSentShownToSecondaryTeamTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTeamMergeRequestSentShownToSecondaryTeamTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTeamMergeRequestSentShownToSecondaryTeamTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToTeamMergeRequestSentShownToSecondaryTeamType:other]; } - (BOOL)isEqualToTeamMergeRequestSentShownToSecondaryTeamType: (DBTEAMLOGTeamMergeRequestSentShownToSecondaryTeamType *)aTeamMergeRequestSentShownToSecondaryTeamType { if (self == aTeamMergeRequestSentShownToSecondaryTeamType) { return YES; } if (![self.description_ isEqual:aTeamMergeRequestSentShownToSecondaryTeamType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTeamMergeRequestSentShownToSecondaryTeamTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGTeamMergeRequestSentShownToSecondaryTeamType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGTeamMergeRequestSentShownToSecondaryTeamType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGTeamMergeRequestSentShownToSecondaryTeamType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGTeamMergeToDetails.h" #pragma mark - API Object @implementation DBTEAMLOGTeamMergeToDetails #pragma mark - Constructors - (instancetype)initWithTeamName:(NSString *)teamName { [DBStoneValidators nonnullValidator:nil](teamName); self = [super init]; if (self) { _teamName = teamName; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGTeamMergeToDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTeamMergeToDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTeamMergeToDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToTeamMergeToDetails:other]; } - (BOOL)isEqualToTeamMergeToDetails:(DBTEAMLOGTeamMergeToDetails *)aTeamMergeToDetails { if (self == aTeamMergeToDetails) { return YES; } if (![self.teamName isEqual:aTeamMergeToDetails.teamName]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTeamMergeToDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGTeamMergeToDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"team_name"] = valueObj.teamName; return jsonDict; } + (DBTEAMLOGTeamMergeToDetails *)deserialize:(NSDictionary *)valueDict { NSString *teamName = valueDict[@"team_name"]; return [[DBTEAMLOGTeamMergeToDetails alloc] initWithTeamName:teamName]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGTeamMergeToType.h" #pragma mark - API Object @implementation DBTEAMLOGTeamMergeToType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGTeamMergeToTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTeamMergeToTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTeamMergeToTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToTeamMergeToType:other]; } - (BOOL)isEqualToTeamMergeToType:(DBTEAMLOGTeamMergeToType *)aTeamMergeToType { if (self == aTeamMergeToType) { return YES; } if (![self.description_ isEqual:aTeamMergeToType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTeamMergeToTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGTeamMergeToType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGTeamMergeToType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGTeamMergeToType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGTeamName.h" #pragma mark - API Object @implementation DBTEAMLOGTeamName #pragma mark - Constructors - (instancetype)initWithTeamDisplayName:(NSString *)teamDisplayName teamLegalName:(NSString *)teamLegalName { [DBStoneValidators nonnullValidator:nil](teamDisplayName); [DBStoneValidators nonnullValidator:nil](teamLegalName); self = [super init]; if (self) { _teamDisplayName = teamDisplayName; _teamLegalName = teamLegalName; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGTeamNameSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTeamNameSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTeamNameSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.teamDisplayName hash]; result = prime * result + [self.teamLegalName hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToTeamName:other]; } - (BOOL)isEqualToTeamName:(DBTEAMLOGTeamName *)aTeamName { if (self == aTeamName) { return YES; } if (![self.teamDisplayName isEqual:aTeamName.teamDisplayName]) { return NO; } if (![self.teamLegalName isEqual:aTeamName.teamLegalName]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTeamNameSerializer + (NSDictionary *)serialize:(DBTEAMLOGTeamName *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"team_display_name"] = valueObj.teamDisplayName; jsonDict[@"team_legal_name"] = valueObj.teamLegalName; return jsonDict; } + (DBTEAMLOGTeamName *)deserialize:(NSDictionary *)valueDict { NSString *teamDisplayName = valueDict[@"team_display_name"]; NSString *teamLegalName = valueDict[@"team_legal_name"]; return [[DBTEAMLOGTeamName alloc] initWithTeamDisplayName:teamDisplayName teamLegalName:teamLegalName]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGTeamProfileAddBackgroundDetails.h" #pragma mark - API Object @implementation DBTEAMLOGTeamProfileAddBackgroundDetails #pragma mark - Constructors - (instancetype)initDefault { self = [super init]; if (self) { } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGTeamProfileAddBackgroundDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTeamProfileAddBackgroundDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTeamProfileAddBackgroundDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 isEqualToTeamProfileAddBackgroundDetails:other]; } - (BOOL)isEqualToTeamProfileAddBackgroundDetails: (DBTEAMLOGTeamProfileAddBackgroundDetails *)aTeamProfileAddBackgroundDetails { if (self == aTeamProfileAddBackgroundDetails) { return YES; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTeamProfileAddBackgroundDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGTeamProfileAddBackgroundDetails *)valueObj { #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; return jsonDict; } + (DBTEAMLOGTeamProfileAddBackgroundDetails *)deserialize:(NSDictionary *)valueDict { #pragma unused(valueDict) return [[DBTEAMLOGTeamProfileAddBackgroundDetails alloc] initDefault]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGTeamProfileAddBackgroundType.h" #pragma mark - API Object @implementation DBTEAMLOGTeamProfileAddBackgroundType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGTeamProfileAddBackgroundTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTeamProfileAddBackgroundTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTeamProfileAddBackgroundTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToTeamProfileAddBackgroundType:other]; } - (BOOL)isEqualToTeamProfileAddBackgroundType:(DBTEAMLOGTeamProfileAddBackgroundType *)aTeamProfileAddBackgroundType { if (self == aTeamProfileAddBackgroundType) { return YES; } if (![self.description_ isEqual:aTeamProfileAddBackgroundType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTeamProfileAddBackgroundTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGTeamProfileAddBackgroundType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGTeamProfileAddBackgroundType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGTeamProfileAddBackgroundType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGTeamProfileAddLogoDetails.h" #pragma mark - API Object @implementation DBTEAMLOGTeamProfileAddLogoDetails #pragma mark - Constructors - (instancetype)initDefault { self = [super init]; if (self) { } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGTeamProfileAddLogoDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTeamProfileAddLogoDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTeamProfileAddLogoDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 isEqualToTeamProfileAddLogoDetails:other]; } - (BOOL)isEqualToTeamProfileAddLogoDetails:(DBTEAMLOGTeamProfileAddLogoDetails *)aTeamProfileAddLogoDetails { if (self == aTeamProfileAddLogoDetails) { return YES; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTeamProfileAddLogoDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGTeamProfileAddLogoDetails *)valueObj { #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; return jsonDict; } + (DBTEAMLOGTeamProfileAddLogoDetails *)deserialize:(NSDictionary *)valueDict { #pragma unused(valueDict) return [[DBTEAMLOGTeamProfileAddLogoDetails alloc] initDefault]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGTeamProfileAddLogoType.h" #pragma mark - API Object @implementation DBTEAMLOGTeamProfileAddLogoType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGTeamProfileAddLogoTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTeamProfileAddLogoTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTeamProfileAddLogoTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToTeamProfileAddLogoType:other]; } - (BOOL)isEqualToTeamProfileAddLogoType:(DBTEAMLOGTeamProfileAddLogoType *)aTeamProfileAddLogoType { if (self == aTeamProfileAddLogoType) { return YES; } if (![self.description_ isEqual:aTeamProfileAddLogoType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTeamProfileAddLogoTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGTeamProfileAddLogoType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGTeamProfileAddLogoType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGTeamProfileAddLogoType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGTeamProfileChangeBackgroundDetails.h" #pragma mark - API Object @implementation DBTEAMLOGTeamProfileChangeBackgroundDetails #pragma mark - Constructors - (instancetype)initDefault { self = [super init]; if (self) { } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGTeamProfileChangeBackgroundDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTeamProfileChangeBackgroundDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTeamProfileChangeBackgroundDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 isEqualToTeamProfileChangeBackgroundDetails:other]; } - (BOOL)isEqualToTeamProfileChangeBackgroundDetails: (DBTEAMLOGTeamProfileChangeBackgroundDetails *)aTeamProfileChangeBackgroundDetails { if (self == aTeamProfileChangeBackgroundDetails) { return YES; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTeamProfileChangeBackgroundDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGTeamProfileChangeBackgroundDetails *)valueObj { #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; return jsonDict; } + (DBTEAMLOGTeamProfileChangeBackgroundDetails *)deserialize:(NSDictionary *)valueDict { #pragma unused(valueDict) return [[DBTEAMLOGTeamProfileChangeBackgroundDetails alloc] initDefault]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGTeamProfileChangeBackgroundType.h" #pragma mark - API Object @implementation DBTEAMLOGTeamProfileChangeBackgroundType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGTeamProfileChangeBackgroundTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTeamProfileChangeBackgroundTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTeamProfileChangeBackgroundTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToTeamProfileChangeBackgroundType:other]; } - (BOOL)isEqualToTeamProfileChangeBackgroundType: (DBTEAMLOGTeamProfileChangeBackgroundType *)aTeamProfileChangeBackgroundType { if (self == aTeamProfileChangeBackgroundType) { return YES; } if (![self.description_ isEqual:aTeamProfileChangeBackgroundType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTeamProfileChangeBackgroundTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGTeamProfileChangeBackgroundType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGTeamProfileChangeBackgroundType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGTeamProfileChangeBackgroundType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGTeamProfileChangeDefaultLanguageDetails.h" #pragma mark - API Object @implementation DBTEAMLOGTeamProfileChangeDefaultLanguageDetails #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); self = [super init]; if (self) { _dNewValue = dNewValue; _previousValue = previousValue; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGTeamProfileChangeDefaultLanguageDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTeamProfileChangeDefaultLanguageDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTeamProfileChangeDefaultLanguageDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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 isEqualToTeamProfileChangeDefaultLanguageDetails:other]; } - (BOOL)isEqualToTeamProfileChangeDefaultLanguageDetails: (DBTEAMLOGTeamProfileChangeDefaultLanguageDetails *)aTeamProfileChangeDefaultLanguageDetails { if (self == aTeamProfileChangeDefaultLanguageDetails) { return YES; } if (![self.dNewValue isEqual:aTeamProfileChangeDefaultLanguageDetails.dNewValue]) { return NO; } if (![self.previousValue isEqual:aTeamProfileChangeDefaultLanguageDetails.previousValue]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTeamProfileChangeDefaultLanguageDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGTeamProfileChangeDefaultLanguageDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"new_value"] = valueObj.dNewValue; jsonDict[@"previous_value"] = valueObj.previousValue; return jsonDict; } + (DBTEAMLOGTeamProfileChangeDefaultLanguageDetails *)deserialize:(NSDictionary *)valueDict { NSString *dNewValue = valueDict[@"new_value"]; NSString *previousValue = valueDict[@"previous_value"]; return [[DBTEAMLOGTeamProfileChangeDefaultLanguageDetails alloc] initWithDNewValue:dNewValue previousValue:previousValue]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGTeamProfileChangeDefaultLanguageType.h" #pragma mark - API Object @implementation DBTEAMLOGTeamProfileChangeDefaultLanguageType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGTeamProfileChangeDefaultLanguageTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTeamProfileChangeDefaultLanguageTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTeamProfileChangeDefaultLanguageTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToTeamProfileChangeDefaultLanguageType:other]; } - (BOOL)isEqualToTeamProfileChangeDefaultLanguageType: (DBTEAMLOGTeamProfileChangeDefaultLanguageType *)aTeamProfileChangeDefaultLanguageType { if (self == aTeamProfileChangeDefaultLanguageType) { return YES; } if (![self.description_ isEqual:aTeamProfileChangeDefaultLanguageType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTeamProfileChangeDefaultLanguageTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGTeamProfileChangeDefaultLanguageType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGTeamProfileChangeDefaultLanguageType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGTeamProfileChangeDefaultLanguageType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGTeamProfileChangeLogoDetails.h" #pragma mark - API Object @implementation DBTEAMLOGTeamProfileChangeLogoDetails #pragma mark - Constructors - (instancetype)initDefault { self = [super init]; if (self) { } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGTeamProfileChangeLogoDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTeamProfileChangeLogoDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTeamProfileChangeLogoDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 isEqualToTeamProfileChangeLogoDetails:other]; } - (BOOL)isEqualToTeamProfileChangeLogoDetails:(DBTEAMLOGTeamProfileChangeLogoDetails *)aTeamProfileChangeLogoDetails { if (self == aTeamProfileChangeLogoDetails) { return YES; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTeamProfileChangeLogoDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGTeamProfileChangeLogoDetails *)valueObj { #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; return jsonDict; } + (DBTEAMLOGTeamProfileChangeLogoDetails *)deserialize:(NSDictionary *)valueDict { #pragma unused(valueDict) return [[DBTEAMLOGTeamProfileChangeLogoDetails alloc] initDefault]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGTeamProfileChangeLogoType.h" #pragma mark - API Object @implementation DBTEAMLOGTeamProfileChangeLogoType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGTeamProfileChangeLogoTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTeamProfileChangeLogoTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTeamProfileChangeLogoTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToTeamProfileChangeLogoType:other]; } - (BOOL)isEqualToTeamProfileChangeLogoType:(DBTEAMLOGTeamProfileChangeLogoType *)aTeamProfileChangeLogoType { if (self == aTeamProfileChangeLogoType) { return YES; } if (![self.description_ isEqual:aTeamProfileChangeLogoType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTeamProfileChangeLogoTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGTeamProfileChangeLogoType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGTeamProfileChangeLogoType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGTeamProfileChangeLogoType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGTeamName.h" #import "DBTEAMLOGTeamProfileChangeNameDetails.h" #pragma mark - API Object @implementation DBTEAMLOGTeamProfileChangeNameDetails #pragma mark - Constructors - (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 [DBTEAMLOGTeamProfileChangeNameDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTeamProfileChangeNameDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTeamProfileChangeNameDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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 isEqualToTeamProfileChangeNameDetails:other]; } - (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; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTeamProfileChangeNameDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGTeamProfileChangeNameDetails *)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; } + (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; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * 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 "DBTEAMLOGTeamProfileRemoveBackgroundDetails.h" #pragma mark - API Object @implementation DBTEAMLOGTeamProfileRemoveBackgroundDetails #pragma mark - Constructors - (instancetype)initDefault { self = [super init]; if (self) { } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGTeamProfileRemoveBackgroundDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTeamProfileRemoveBackgroundDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTeamProfileRemoveBackgroundDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 isEqualToTeamProfileRemoveBackgroundDetails:other]; } - (BOOL)isEqualToTeamProfileRemoveBackgroundDetails: (DBTEAMLOGTeamProfileRemoveBackgroundDetails *)aTeamProfileRemoveBackgroundDetails { if (self == aTeamProfileRemoveBackgroundDetails) { return YES; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTeamProfileRemoveBackgroundDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGTeamProfileRemoveBackgroundDetails *)valueObj { #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; return jsonDict; } + (DBTEAMLOGTeamProfileRemoveBackgroundDetails *)deserialize:(NSDictionary *)valueDict { #pragma unused(valueDict) 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 "DBTEAMLOGTeamProfileRemoveLogoDetails.h" #pragma mark - API Object @implementation DBTEAMLOGTeamProfileRemoveLogoDetails #pragma mark - Constructors - (instancetype)initDefault { self = [super init]; if (self) { } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGTeamProfileRemoveLogoDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTeamProfileRemoveLogoDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTeamProfileRemoveLogoDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 isEqualToTeamProfileRemoveLogoDetails:other]; } - (BOOL)isEqualToTeamProfileRemoveLogoDetails:(DBTEAMLOGTeamProfileRemoveLogoDetails *)aTeamProfileRemoveLogoDetails { if (self == aTeamProfileRemoveLogoDetails) { return YES; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTeamProfileRemoveLogoDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGTeamProfileRemoveLogoDetails *)valueObj { #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; return jsonDict; } + (DBTEAMLOGTeamProfileRemoveLogoDetails *)deserialize:(NSDictionary *)valueDict { #pragma unused(valueDict) return [[DBTEAMLOGTeamProfileRemoveLogoDetails alloc] initDefault]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGTeamProfileRemoveLogoType.h" #pragma mark - API Object @implementation DBTEAMLOGTeamProfileRemoveLogoType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGTeamProfileRemoveLogoTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTeamProfileRemoveLogoTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTeamProfileRemoveLogoTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToTeamProfileRemoveLogoType:other]; } - (BOOL)isEqualToTeamProfileRemoveLogoType:(DBTEAMLOGTeamProfileRemoveLogoType *)aTeamProfileRemoveLogoType { if (self == aTeamProfileRemoveLogoType) { return YES; } if (![self.description_ isEqual:aTeamProfileRemoveLogoType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTeamProfileRemoveLogoTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGTeamProfileRemoveLogoType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGTeamProfileRemoveLogoType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGTeamProfileRemoveLogoType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGTeamSelectiveSyncPolicy.h" #pragma mark - API Object @implementation DBTEAMLOGTeamSelectiveSyncPolicy #pragma mark - Constructors - (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 [DBTEAMLOGTeamSelectiveSyncPolicySerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTeamSelectiveSyncPolicySerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTeamSelectiveSyncPolicySerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToTeamSelectiveSyncPolicy:other]; } - (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; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTeamSelectiveSyncPolicySerializer + (NSDictionary *)serialize:(DBTEAMLOGTeamSelectiveSyncPolicy *)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; } + (DBTEAMLOGTeamSelectiveSyncPolicy *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; 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 "DBTEAMLOGTeamSelectiveSyncPolicy.h" #import "DBTEAMLOGTeamSelectiveSyncPolicyChangedDetails.h" #pragma mark - API Object @implementation DBTEAMLOGTeamSelectiveSyncPolicyChangedDetails #pragma mark - Constructors - (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 [DBTEAMLOGTeamSelectiveSyncPolicyChangedDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTeamSelectiveSyncPolicyChangedDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTeamSelectiveSyncPolicyChangedDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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 isEqualToTeamSelectiveSyncPolicyChangedDetails:other]; } - (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; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTeamSelectiveSyncPolicyChangedDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGTeamSelectiveSyncPolicyChangedDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"new_value"] = [DBTEAMLOGTeamSelectiveSyncPolicySerializer serialize:valueObj.dNewValue]; jsonDict[@"previous_value"] = [DBTEAMLOGTeamSelectiveSyncPolicySerializer serialize:valueObj.previousValue]; return jsonDict; } + (DBTEAMLOGTeamSelectiveSyncPolicyChangedDetails *)deserialize:(NSDictionary *)valueDict { DBTEAMLOGTeamSelectiveSyncPolicy *dNewValue = [DBTEAMLOGTeamSelectiveSyncPolicySerializer deserialize:valueDict[@"new_value"]]; DBTEAMLOGTeamSelectiveSyncPolicy *previousValue = [DBTEAMLOGTeamSelectiveSyncPolicySerializer deserialize:valueDict[@"previous_value"]]; return [[DBTEAMLOGTeamSelectiveSyncPolicyChangedDetails alloc] initWithDNewValue:dNewValue previousValue:previousValue]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGTeamSelectiveSyncPolicyChangedType.h" #pragma mark - API Object @implementation DBTEAMLOGTeamSelectiveSyncPolicyChangedType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGTeamSelectiveSyncPolicyChangedTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTeamSelectiveSyncPolicyChangedTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTeamSelectiveSyncPolicyChangedTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToTeamSelectiveSyncPolicyChangedType:other]; } - (BOOL)isEqualToTeamSelectiveSyncPolicyChangedType: (DBTEAMLOGTeamSelectiveSyncPolicyChangedType *)aTeamSelectiveSyncPolicyChangedType { if (self == aTeamSelectiveSyncPolicyChangedType) { return YES; } if (![self.description_ isEqual:aTeamSelectiveSyncPolicyChangedType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTeamSelectiveSyncPolicyChangedTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGTeamSelectiveSyncPolicyChangedType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGTeamSelectiveSyncPolicyChangedType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGTeamSelectiveSyncPolicyChangedType alloc] initWithDescription_:description_]; } @end #import "DBFILESSyncSetting.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGTeamSelectiveSyncSettingsChangedDetails.h" #pragma mark - API Object @implementation DBTEAMLOGTeamSelectiveSyncSettingsChangedDetails #pragma mark - Constructors - (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 [DBTEAMLOGTeamSelectiveSyncSettingsChangedDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTeamSelectiveSyncSettingsChangedDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTeamSelectiveSyncSettingsChangedDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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 isEqualToTeamSelectiveSyncSettingsChangedDetails:other]; } - (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; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTeamSelectiveSyncSettingsChangedDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGTeamSelectiveSyncSettingsChangedDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"previous_value"] = [DBFILESSyncSettingSerializer serialize:valueObj.previousValue]; jsonDict[@"new_value"] = [DBFILESSyncSettingSerializer serialize:valueObj.dNewValue]; return jsonDict; } + (DBTEAMLOGTeamSelectiveSyncSettingsChangedDetails *)deserialize:(NSDictionary *)valueDict { DBFILESSyncSetting *previousValue = [DBFILESSyncSettingSerializer deserialize:valueDict[@"previous_value"]]; DBFILESSyncSetting *dNewValue = [DBFILESSyncSettingSerializer deserialize:valueDict[@"new_value"]]; return [[DBTEAMLOGTeamSelectiveSyncSettingsChangedDetails alloc] initWithPreviousValue:previousValue dNewValue:dNewValue]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGTeamSelectiveSyncSettingsChangedType.h" #pragma mark - API Object @implementation DBTEAMLOGTeamSelectiveSyncSettingsChangedType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGTeamSelectiveSyncSettingsChangedTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTeamSelectiveSyncSettingsChangedTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTeamSelectiveSyncSettingsChangedTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToTeamSelectiveSyncSettingsChangedType:other]; } - (BOOL)isEqualToTeamSelectiveSyncSettingsChangedType: (DBTEAMLOGTeamSelectiveSyncSettingsChangedType *)aTeamSelectiveSyncSettingsChangedType { if (self == aTeamSelectiveSyncSettingsChangedType) { return YES; } if (![self.description_ isEqual:aTeamSelectiveSyncSettingsChangedType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTeamSelectiveSyncSettingsChangedTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGTeamSelectiveSyncSettingsChangedType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGTeamSelectiveSyncSettingsChangedType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGTeamSelectiveSyncSettingsChangedType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGTeamSharingWhitelistSubjectsChangedDetails.h" #pragma mark - API Object @implementation DBTEAMLOGTeamSharingWhitelistSubjectsChangedDetails #pragma mark - Constructors - (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) { _addedWhitelistSubjects = addedWhitelistSubjects; _removedWhitelistSubjects = removedWhitelistSubjects; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGTeamSharingWhitelistSubjectsChangedDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTeamSharingWhitelistSubjectsChangedDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTeamSharingWhitelistSubjectsChangedDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.addedWhitelistSubjects hash]; result = prime * result + [self.removedWhitelistSubjects hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToTeamSharingWhitelistSubjectsChangedDetails:other]; } - (BOOL)isEqualToTeamSharingWhitelistSubjectsChangedDetails: (DBTEAMLOGTeamSharingWhitelistSubjectsChangedDetails *)aTeamSharingWhitelistSubjectsChangedDetails { if (self == aTeamSharingWhitelistSubjectsChangedDetails) { return YES; } if (![self.addedWhitelistSubjects isEqual:aTeamSharingWhitelistSubjectsChangedDetails.addedWhitelistSubjects]) { return NO; } if (![self.removedWhitelistSubjects isEqual:aTeamSharingWhitelistSubjectsChangedDetails.removedWhitelistSubjects]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTeamSharingWhitelistSubjectsChangedDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGTeamSharingWhitelistSubjectsChangedDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; 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 [[DBTEAMLOGTeamSharingWhitelistSubjectsChangedDetails alloc] initWithAddedWhitelistSubjects:addedWhitelistSubjects removedWhitelistSubjects:removedWhitelistSubjects]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGTeamSharingWhitelistSubjectsChangedType.h" #pragma mark - API Object @implementation DBTEAMLOGTeamSharingWhitelistSubjectsChangedType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGTeamSharingWhitelistSubjectsChangedTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTeamSharingWhitelistSubjectsChangedTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTeamSharingWhitelistSubjectsChangedTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToTeamSharingWhitelistSubjectsChangedType:other]; } - (BOOL)isEqualToTeamSharingWhitelistSubjectsChangedType: (DBTEAMLOGTeamSharingWhitelistSubjectsChangedType *)aTeamSharingWhitelistSubjectsChangedType { if (self == aTeamSharingWhitelistSubjectsChangedType) { return YES; } if (![self.description_ isEqual:aTeamSharingWhitelistSubjectsChangedType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTeamSharingWhitelistSubjectsChangedTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGTeamSharingWhitelistSubjectsChangedType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGTeamSharingWhitelistSubjectsChangedType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGTeamSharingWhitelistSubjectsChangedType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGTfaAddBackupPhoneDetails.h" #pragma mark - API Object @implementation DBTEAMLOGTfaAddBackupPhoneDetails #pragma mark - Constructors - (instancetype)initDefault { self = [super init]; if (self) { } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGTfaAddBackupPhoneDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTfaAddBackupPhoneDetailsSerializer deserialize:dict]; } #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 - 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 isEqualToTfaAddBackupPhoneDetails:other]; } - (BOOL)isEqualToTfaAddBackupPhoneDetails:(DBTEAMLOGTfaAddBackupPhoneDetails *)aTfaAddBackupPhoneDetails { if (self == aTfaAddBackupPhoneDetails) { return YES; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTfaAddBackupPhoneDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGTfaAddBackupPhoneDetails *)valueObj { #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; return jsonDict; } + (DBTEAMLOGTfaAddBackupPhoneDetails *)deserialize:(NSDictionary *)valueDict { #pragma unused(valueDict) 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 [DBTEAMLOGTfaAddBackupPhoneTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTfaAddBackupPhoneTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTfaAddBackupPhoneTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToTfaAddBackupPhoneType:other]; } - (BOOL)isEqualToTfaAddBackupPhoneType:(DBTEAMLOGTfaAddBackupPhoneType *)aTfaAddBackupPhoneType { if (self == aTfaAddBackupPhoneType) { return YES; } if (![self.description_ isEqual:aTfaAddBackupPhoneType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTfaAddBackupPhoneTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGTfaAddBackupPhoneType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGTfaAddBackupPhoneType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGTfaAddBackupPhoneType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGTfaAddExceptionDetails.h" #pragma mark - API Object @implementation DBTEAMLOGTfaAddExceptionDetails #pragma mark - Constructors - (instancetype)initDefault { self = [super init]; if (self) { } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGTfaAddExceptionDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTfaAddExceptionDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTfaAddExceptionDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 isEqualToTfaAddExceptionDetails:other]; } - (BOOL)isEqualToTfaAddExceptionDetails:(DBTEAMLOGTfaAddExceptionDetails *)aTfaAddExceptionDetails { if (self == aTfaAddExceptionDetails) { return YES; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTfaAddExceptionDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGTfaAddExceptionDetails *)valueObj { #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; return jsonDict; } + (DBTEAMLOGTfaAddExceptionDetails *)deserialize:(NSDictionary *)valueDict { #pragma unused(valueDict) return [[DBTEAMLOGTfaAddExceptionDetails alloc] initDefault]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGTfaAddExceptionType.h" #pragma mark - API Object @implementation DBTEAMLOGTfaAddExceptionType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGTfaAddExceptionTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTfaAddExceptionTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTfaAddExceptionTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToTfaAddExceptionType:other]; } - (BOOL)isEqualToTfaAddExceptionType:(DBTEAMLOGTfaAddExceptionType *)aTfaAddExceptionType { if (self == aTfaAddExceptionType) { return YES; } if (![self.description_ isEqual:aTfaAddExceptionType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTfaAddExceptionTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGTfaAddExceptionType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGTfaAddExceptionType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGTfaAddExceptionType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGTfaAddSecurityKeyDetails.h" #pragma mark - API Object @implementation DBTEAMLOGTfaAddSecurityKeyDetails #pragma mark - Constructors - (instancetype)initDefault { self = [super init]; if (self) { } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGTfaAddSecurityKeyDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTfaAddSecurityKeyDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTfaAddSecurityKeyDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 isEqualToTfaAddSecurityKeyDetails:other]; } - (BOOL)isEqualToTfaAddSecurityKeyDetails:(DBTEAMLOGTfaAddSecurityKeyDetails *)aTfaAddSecurityKeyDetails { if (self == aTfaAddSecurityKeyDetails) { return YES; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTfaAddSecurityKeyDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGTfaAddSecurityKeyDetails *)valueObj { #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; return jsonDict; } + (DBTEAMLOGTfaAddSecurityKeyDetails *)deserialize:(NSDictionary *)valueDict { #pragma unused(valueDict) return [[DBTEAMLOGTfaAddSecurityKeyDetails alloc] initDefault]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGTfaAddSecurityKeyType.h" #pragma mark - API Object @implementation DBTEAMLOGTfaAddSecurityKeyType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGTfaAddSecurityKeyTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTfaAddSecurityKeyTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTfaAddSecurityKeyTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToTfaAddSecurityKeyType:other]; } - (BOOL)isEqualToTfaAddSecurityKeyType:(DBTEAMLOGTfaAddSecurityKeyType *)aTfaAddSecurityKeyType { if (self == aTfaAddSecurityKeyType) { return YES; } if (![self.description_ isEqual:aTfaAddSecurityKeyType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTfaAddSecurityKeyTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGTfaAddSecurityKeyType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGTfaAddSecurityKeyType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGTfaAddSecurityKeyType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGTfaChangeBackupPhoneDetails.h" #pragma mark - API Object @implementation DBTEAMLOGTfaChangeBackupPhoneDetails #pragma mark - Constructors - (instancetype)initDefault { self = [super init]; if (self) { } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGTfaChangeBackupPhoneDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTfaChangeBackupPhoneDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTfaChangeBackupPhoneDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 isEqualToTfaChangeBackupPhoneDetails:other]; } - (BOOL)isEqualToTfaChangeBackupPhoneDetails:(DBTEAMLOGTfaChangeBackupPhoneDetails *)aTfaChangeBackupPhoneDetails { if (self == aTfaChangeBackupPhoneDetails) { return YES; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTfaChangeBackupPhoneDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGTfaChangeBackupPhoneDetails *)valueObj { #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; return jsonDict; } + (DBTEAMLOGTfaChangeBackupPhoneDetails *)deserialize:(NSDictionary *)valueDict { #pragma unused(valueDict) return [[DBTEAMLOGTfaChangeBackupPhoneDetails alloc] initDefault]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGTfaChangeBackupPhoneType.h" #pragma mark - API Object @implementation DBTEAMLOGTfaChangeBackupPhoneType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGTfaChangeBackupPhoneTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTfaChangeBackupPhoneTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTfaChangeBackupPhoneTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToTfaChangeBackupPhoneType:other]; } - (BOOL)isEqualToTfaChangeBackupPhoneType:(DBTEAMLOGTfaChangeBackupPhoneType *)aTfaChangeBackupPhoneType { if (self == aTfaChangeBackupPhoneType) { return YES; } if (![self.description_ isEqual:aTfaChangeBackupPhoneType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTfaChangeBackupPhoneTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGTfaChangeBackupPhoneType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGTfaChangeBackupPhoneType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGTfaChangeBackupPhoneType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGTfaChangePolicyDetails.h" #import "DBTEAMPOLICIESTwoStepVerificationPolicy.h" #pragma mark - API Object @implementation DBTEAMLOGTfaChangePolicyDetails #pragma mark - Constructors - (instancetype)initWithDNewValue:(DBTEAMPOLICIESTwoStepVerificationPolicy *)dNewValue previousValue:(DBTEAMPOLICIESTwoStepVerificationPolicy *)previousValue { [DBStoneValidators nonnullValidator:nil](dNewValue); self = [super init]; if (self) { _dNewValue = dNewValue; _previousValue = previousValue; } return self; } - (instancetype)initWithDNewValue:(DBTEAMPOLICIESTwoStepVerificationPolicy *)dNewValue { return [self initWithDNewValue:dNewValue previousValue:nil]; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGTfaChangePolicyDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTfaChangePolicyDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTfaChangePolicyDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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 isEqualToTfaChangePolicyDetails:other]; } - (BOOL)isEqualToTfaChangePolicyDetails:(DBTEAMLOGTfaChangePolicyDetails *)aTfaChangePolicyDetails { if (self == aTfaChangePolicyDetails) { return YES; } if (![self.dNewValue isEqual:aTfaChangePolicyDetails.dNewValue]) { return NO; } if (self.previousValue) { if (![self.previousValue isEqual:aTfaChangePolicyDetails.previousValue]) { return NO; } } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTfaChangePolicyDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGTfaChangePolicyDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"new_value"] = [DBTEAMPOLICIESTwoStepVerificationPolicySerializer serialize:valueObj.dNewValue]; if (valueObj.previousValue) { jsonDict[@"previous_value"] = [DBTEAMPOLICIESTwoStepVerificationPolicySerializer serialize:valueObj.previousValue]; } return jsonDict; } + (DBTEAMLOGTfaChangePolicyDetails *)deserialize:(NSDictionary *)valueDict { DBTEAMPOLICIESTwoStepVerificationPolicy *dNewValue = [DBTEAMPOLICIESTwoStepVerificationPolicySerializer deserialize:valueDict[@"new_value"]]; DBTEAMPOLICIESTwoStepVerificationPolicy *previousValue = valueDict[@"previous_value"] ? [DBTEAMPOLICIESTwoStepVerificationPolicySerializer deserialize:valueDict[@"previous_value"]] : nil; return [[DBTEAMLOGTfaChangePolicyDetails alloc] initWithDNewValue:dNewValue previousValue:previousValue]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGTfaChangePolicyType.h" #pragma mark - API Object @implementation DBTEAMLOGTfaChangePolicyType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGTfaChangePolicyTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTfaChangePolicyTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTfaChangePolicyTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToTfaChangePolicyType:other]; } - (BOOL)isEqualToTfaChangePolicyType:(DBTEAMLOGTfaChangePolicyType *)aTfaChangePolicyType { if (self == aTfaChangePolicyType) { return YES; } if (![self.description_ isEqual:aTfaChangePolicyType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTfaChangePolicyTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGTfaChangePolicyType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGTfaChangePolicyType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGTfaChangePolicyType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGTfaChangeStatusDetails.h" #import "DBTEAMLOGTfaConfiguration.h" #pragma mark - API Object @implementation DBTEAMLOGTfaChangeStatusDetails #pragma mark - Constructors - (instancetype)initWithDNewValue:(DBTEAMLOGTfaConfiguration *)dNewValue previousValue:(DBTEAMLOGTfaConfiguration *)previousValue usedRescueCode:(NSNumber *)usedRescueCode { [DBStoneValidators nonnullValidator:nil](dNewValue); self = [super init]; if (self) { _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 [DBTEAMLOGTfaChangeStatusDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTfaChangeStatusDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTfaChangeStatusDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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.usedRescueCode != nil) { result = prime * result + [self.usedRescueCode hash]; } return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToTfaChangeStatusDetails:other]; } - (BOOL)isEqualToTfaChangeStatusDetails:(DBTEAMLOGTfaChangeStatusDetails *)aTfaChangeStatusDetails { if (self == aTfaChangeStatusDetails) { return YES; } 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; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTfaChangeStatusDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGTfaChangeStatusDetails *)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.usedRescueCode) { jsonDict[@"used_rescue_code"] = valueObj.usedRescueCode; } 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; return [[DBTEAMLOGTfaChangeStatusDetails alloc] initWithDNewValue:dNewValue previousValue:previousValue usedRescueCode:usedRescueCode]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGTfaChangeStatusType.h" #pragma mark - API Object @implementation DBTEAMLOGTfaChangeStatusType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGTfaChangeStatusTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTfaChangeStatusTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTfaChangeStatusTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToTfaChangeStatusType:other]; } - (BOOL)isEqualToTfaChangeStatusType:(DBTEAMLOGTfaChangeStatusType *)aTfaChangeStatusType { if (self == aTfaChangeStatusType) { return YES; } if (![self.description_ isEqual:aTfaChangeStatusType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTfaChangeStatusTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGTfaChangeStatusType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGTfaChangeStatusType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGTfaChangeStatusType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGTfaConfiguration.h" #pragma mark - API Object @implementation DBTEAMLOGTfaConfiguration #pragma mark - Constructors - (instancetype)initWithAuthenticator { self = [super init]; if (self) { _tag = DBTEAMLOGTfaConfigurationAuthenticator; } return self; } - (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)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 [DBTEAMLOGTfaConfigurationSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTfaConfigurationSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTfaConfigurationSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToTfaConfiguration:other]; } - (BOOL)isEqualToTfaConfiguration:(DBTEAMLOGTfaConfiguration *)aTfaConfiguration { if (self == aTfaConfiguration) { return YES; } 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; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTfaConfigurationSerializer + (NSDictionary *)serialize:(DBTEAMLOGTfaConfiguration *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; 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; } + (DBTEAMLOGTfaConfiguration *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; 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 "DBTEAMLOGTfaRemoveBackupPhoneDetails.h" #pragma mark - API Object @implementation DBTEAMLOGTfaRemoveBackupPhoneDetails #pragma mark - Constructors - (instancetype)initDefault { self = [super init]; if (self) { } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGTfaRemoveBackupPhoneDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTfaRemoveBackupPhoneDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTfaRemoveBackupPhoneDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 isEqualToTfaRemoveBackupPhoneDetails:other]; } - (BOOL)isEqualToTfaRemoveBackupPhoneDetails:(DBTEAMLOGTfaRemoveBackupPhoneDetails *)aTfaRemoveBackupPhoneDetails { if (self == aTfaRemoveBackupPhoneDetails) { return YES; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTfaRemoveBackupPhoneDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGTfaRemoveBackupPhoneDetails *)valueObj { #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; return jsonDict; } + (DBTEAMLOGTfaRemoveBackupPhoneDetails *)deserialize:(NSDictionary *)valueDict { #pragma unused(valueDict) return [[DBTEAMLOGTfaRemoveBackupPhoneDetails alloc] initDefault]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGTfaRemoveBackupPhoneType.h" #pragma mark - API Object @implementation DBTEAMLOGTfaRemoveBackupPhoneType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGTfaRemoveBackupPhoneTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTfaRemoveBackupPhoneTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTfaRemoveBackupPhoneTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToTfaRemoveBackupPhoneType:other]; } - (BOOL)isEqualToTfaRemoveBackupPhoneType:(DBTEAMLOGTfaRemoveBackupPhoneType *)aTfaRemoveBackupPhoneType { if (self == aTfaRemoveBackupPhoneType) { return YES; } if (![self.description_ isEqual:aTfaRemoveBackupPhoneType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTfaRemoveBackupPhoneTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGTfaRemoveBackupPhoneType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGTfaRemoveBackupPhoneType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGTfaRemoveBackupPhoneType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGTfaRemoveExceptionDetails.h" #pragma mark - API Object @implementation DBTEAMLOGTfaRemoveExceptionDetails #pragma mark - Constructors - (instancetype)initDefault { self = [super init]; if (self) { } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGTfaRemoveExceptionDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTfaRemoveExceptionDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTfaRemoveExceptionDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 isEqualToTfaRemoveExceptionDetails:other]; } - (BOOL)isEqualToTfaRemoveExceptionDetails:(DBTEAMLOGTfaRemoveExceptionDetails *)aTfaRemoveExceptionDetails { if (self == aTfaRemoveExceptionDetails) { return YES; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTfaRemoveExceptionDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGTfaRemoveExceptionDetails *)valueObj { #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; return jsonDict; } + (DBTEAMLOGTfaRemoveExceptionDetails *)deserialize:(NSDictionary *)valueDict { #pragma unused(valueDict) return [[DBTEAMLOGTfaRemoveExceptionDetails alloc] initDefault]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGTfaRemoveExceptionType.h" #pragma mark - API Object @implementation DBTEAMLOGTfaRemoveExceptionType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGTfaRemoveExceptionTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTfaRemoveExceptionTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTfaRemoveExceptionTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToTfaRemoveExceptionType:other]; } - (BOOL)isEqualToTfaRemoveExceptionType:(DBTEAMLOGTfaRemoveExceptionType *)aTfaRemoveExceptionType { if (self == aTfaRemoveExceptionType) { return YES; } if (![self.description_ isEqual:aTfaRemoveExceptionType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTfaRemoveExceptionTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGTfaRemoveExceptionType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGTfaRemoveExceptionType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGTfaRemoveExceptionType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGTfaRemoveSecurityKeyDetails.h" #pragma mark - API Object @implementation DBTEAMLOGTfaRemoveSecurityKeyDetails #pragma mark - Constructors - (instancetype)initDefault { self = [super init]; if (self) { } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGTfaRemoveSecurityKeyDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTfaRemoveSecurityKeyDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTfaRemoveSecurityKeyDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 isEqualToTfaRemoveSecurityKeyDetails:other]; } - (BOOL)isEqualToTfaRemoveSecurityKeyDetails:(DBTEAMLOGTfaRemoveSecurityKeyDetails *)aTfaRemoveSecurityKeyDetails { if (self == aTfaRemoveSecurityKeyDetails) { return YES; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTfaRemoveSecurityKeyDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGTfaRemoveSecurityKeyDetails *)valueObj { #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; return jsonDict; } + (DBTEAMLOGTfaRemoveSecurityKeyDetails *)deserialize:(NSDictionary *)valueDict { #pragma unused(valueDict) return [[DBTEAMLOGTfaRemoveSecurityKeyDetails alloc] initDefault]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGTfaRemoveSecurityKeyType.h" #pragma mark - API Object @implementation DBTEAMLOGTfaRemoveSecurityKeyType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGTfaRemoveSecurityKeyTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTfaRemoveSecurityKeyTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTfaRemoveSecurityKeyTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToTfaRemoveSecurityKeyType:other]; } - (BOOL)isEqualToTfaRemoveSecurityKeyType:(DBTEAMLOGTfaRemoveSecurityKeyType *)aTfaRemoveSecurityKeyType { if (self == aTfaRemoveSecurityKeyType) { return YES; } if (![self.description_ isEqual:aTfaRemoveSecurityKeyType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTfaRemoveSecurityKeyTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGTfaRemoveSecurityKeyType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGTfaRemoveSecurityKeyType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGTfaRemoveSecurityKeyType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGTfaResetDetails.h" #pragma mark - API Object @implementation DBTEAMLOGTfaResetDetails #pragma mark - Constructors - (instancetype)initDefault { self = [super init]; if (self) { } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGTfaResetDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTfaResetDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTfaResetDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 isEqualToTfaResetDetails:other]; } - (BOOL)isEqualToTfaResetDetails:(DBTEAMLOGTfaResetDetails *)aTfaResetDetails { if (self == aTfaResetDetails) { return YES; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTfaResetDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGTfaResetDetails *)valueObj { #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; return jsonDict; } + (DBTEAMLOGTfaResetDetails *)deserialize:(NSDictionary *)valueDict { #pragma unused(valueDict) return [[DBTEAMLOGTfaResetDetails alloc] initDefault]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGTfaResetType.h" #pragma mark - API Object @implementation DBTEAMLOGTfaResetType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGTfaResetTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTfaResetTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTfaResetTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToTfaResetType:other]; } - (BOOL)isEqualToTfaResetType:(DBTEAMLOGTfaResetType *)aTfaResetType { if (self == aTfaResetType) { return YES; } if (![self.description_ isEqual:aTfaResetType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTfaResetTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGTfaResetType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGTfaResetType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGTfaResetType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGTimeUnit.h" #pragma mark - API Object @implementation DBTEAMLOGTimeUnit #pragma mark - Constructors - (instancetype)initWithDays { self = [super init]; if (self) { _tag = DBTEAMLOGTimeUnitDays; } return self; } - (instancetype)initWithHours { self = [super init]; if (self) { _tag = DBTEAMLOGTimeUnitHours; } return self; } - (instancetype)initWithMilliseconds { self = [super init]; if (self) { _tag = DBTEAMLOGTimeUnitMilliseconds; } return self; } - (instancetype)initWithMinutes { self = [super init]; if (self) { _tag = DBTEAMLOGTimeUnitMinutes; } return self; } - (instancetype)initWithMonths { self = [super init]; if (self) { _tag = DBTEAMLOGTimeUnitMonths; } return self; } - (instancetype)initWithSeconds { self = [super init]; if (self) { _tag = DBTEAMLOGTimeUnitSeconds; } return self; } - (instancetype)initWithWeeks { self = [super init]; if (self) { _tag = DBTEAMLOGTimeUnitWeeks; } return self; } - (instancetype)initWithYears { self = [super init]; if (self) { _tag = DBTEAMLOGTimeUnitYears; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBTEAMLOGTimeUnitOther; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isDays { return _tag == DBTEAMLOGTimeUnitDays; } - (BOOL)isHours { return _tag == DBTEAMLOGTimeUnitHours; } - (BOOL)isMilliseconds { return _tag == DBTEAMLOGTimeUnitMilliseconds; } - (BOOL)isMinutes { return _tag == DBTEAMLOGTimeUnitMinutes; } - (BOOL)isMonths { return _tag == DBTEAMLOGTimeUnitMonths; } - (BOOL)isSeconds { return _tag == DBTEAMLOGTimeUnitSeconds; } - (BOOL)isWeeks { return _tag == DBTEAMLOGTimeUnitWeeks; } - (BOOL)isYears { return _tag == DBTEAMLOGTimeUnitYears; } - (BOOL)isOther { return _tag == DBTEAMLOGTimeUnitOther; } - (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"; } @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]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTimeUnitSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTimeUnitSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToTimeUnit:other]; } - (BOOL)isEqualToTimeUnit:(DBTEAMLOGTimeUnit *)aTimeUnit { if (self == aTimeUnit) { return YES; } if (self.tag != aTimeUnit.tag) { 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; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTimeUnitSerializer + (NSDictionary *)serialize:(DBTEAMLOGTimeUnit *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; 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; } + (DBTEAMLOGTimeUnit *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; 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 "DBTEAMLOGTeamLogInfo.h" #import "DBTEAMLOGTrustedNonTeamMemberLogInfo.h" #import "DBTEAMLOGTrustedNonTeamMemberType.h" #import "DBTEAMLOGUserLogInfo.h" #pragma mark - API Object @implementation DBTEAMLOGTrustedNonTeamMemberLogInfo #pragma mark - Constructors - (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:nil maxLength:@(255) pattern:nil]](email); self = [super initWithAccountId:accountId displayName:displayName email:email]; if (self) { _trustedNonTeamMemberType = trustedNonTeamMemberType; _team = team; } return self; } - (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 [DBTEAMLOGTrustedNonTeamMemberLogInfoSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTrustedNonTeamMemberLogInfoSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTrustedNonTeamMemberLogInfoSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.trustedNonTeamMemberType 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.team != nil) { 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 isEqualToTrustedNonTeamMemberLogInfo:other]; } - (BOOL)isEqualToTrustedNonTeamMemberLogInfo:(DBTEAMLOGTrustedNonTeamMemberLogInfo *)aTrustedNonTeamMemberLogInfo { if (self == aTrustedNonTeamMemberLogInfo) { return YES; } if (![self.trustedNonTeamMemberType isEqual:aTrustedNonTeamMemberLogInfo.trustedNonTeamMemberType]) { return NO; } if (self.accountId) { if (![self.accountId isEqual:aTrustedNonTeamMemberLogInfo.accountId]) { return NO; } } if (self.displayName) { if (![self.displayName isEqual:aTrustedNonTeamMemberLogInfo.displayName]) { return NO; } } if (self.email) { if (![self.email isEqual:aTrustedNonTeamMemberLogInfo.email]) { return NO; } } if (self.team) { if (![self.team isEqual:aTrustedNonTeamMemberLogInfo.team]) { return NO; } } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTrustedNonTeamMemberLogInfoSerializer + (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; } if (valueObj.displayName) { jsonDict[@"display_name"] = valueObj.displayName; } if (valueObj.email) { jsonDict[@"email"] = valueObj.email; } if (valueObj.team) { jsonDict[@"team"] = [DBTEAMLOGTeamLogInfoSerializer serialize:valueObj.team]; } return jsonDict; } + (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; DBTEAMLOGTeamLogInfo *team = valueDict[@"team"] ? [DBTEAMLOGTeamLogInfoSerializer deserialize:valueDict[@"team"]] : nil; return [[DBTEAMLOGTrustedNonTeamMemberLogInfo alloc] initWithTrustedNonTeamMemberType:trustedNonTeamMemberType accountId:accountId displayName:displayName email:email team:team]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGTrustedNonTeamMemberType.h" #pragma mark - API Object @implementation DBTEAMLOGTrustedNonTeamMemberType #pragma mark - Constructors - (instancetype)initWithEnterpriseAdmin { self = [super init]; if (self) { _tag = DBTEAMLOGTrustedNonTeamMemberTypeEnterpriseAdmin; } return self; } - (instancetype)initWithMultiInstanceAdmin { self = [super init]; if (self) { _tag = DBTEAMLOGTrustedNonTeamMemberTypeMultiInstanceAdmin; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBTEAMLOGTrustedNonTeamMemberTypeOther; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isEnterpriseAdmin { return _tag == DBTEAMLOGTrustedNonTeamMemberTypeEnterpriseAdmin; } - (BOOL)isMultiInstanceAdmin { return _tag == DBTEAMLOGTrustedNonTeamMemberTypeMultiInstanceAdmin; } - (BOOL)isOther { return _tag == DBTEAMLOGTrustedNonTeamMemberTypeOther; } - (NSString *)tagName { switch (_tag) { case DBTEAMLOGTrustedNonTeamMemberTypeEnterpriseAdmin: return @"DBTEAMLOGTrustedNonTeamMemberTypeEnterpriseAdmin"; case DBTEAMLOGTrustedNonTeamMemberTypeMultiInstanceAdmin: return @"DBTEAMLOGTrustedNonTeamMemberTypeMultiInstanceAdmin"; case DBTEAMLOGTrustedNonTeamMemberTypeOther: return @"DBTEAMLOGTrustedNonTeamMemberTypeOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGTrustedNonTeamMemberTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTrustedNonTeamMemberTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTrustedNonTeamMemberTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 DBTEAMLOGTrustedNonTeamMemberTypeEnterpriseAdmin: result = prime * result + [[self tagName] hash]; break; case DBTEAMLOGTrustedNonTeamMemberTypeMultiInstanceAdmin: result = prime * result + [[self tagName] hash]; break; case DBTEAMLOGTrustedNonTeamMemberTypeOther: 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 isEqualToTrustedNonTeamMemberType:other]; } - (BOOL)isEqualToTrustedNonTeamMemberType:(DBTEAMLOGTrustedNonTeamMemberType *)aTrustedNonTeamMemberType { if (self == aTrustedNonTeamMemberType) { return YES; } if (self.tag != aTrustedNonTeamMemberType.tag) { return NO; } switch (_tag) { 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; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTrustedNonTeamMemberTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGTrustedNonTeamMemberType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; 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; } + (DBTEAMLOGTrustedNonTeamMemberType *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; 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 [[DBTEAMLOGTrustedNonTeamMemberType alloc] initWithOther]; } else { return [[DBTEAMLOGTrustedNonTeamMemberType alloc] initWithOther]; } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGTrustedTeamsRequestAction.h" #pragma mark - API Object @implementation DBTEAMLOGTrustedTeamsRequestAction #pragma mark - Constructors - (instancetype)initWithAccepted { self = [super init]; if (self) { _tag = DBTEAMLOGTrustedTeamsRequestActionAccepted; } return self; } - (instancetype)initWithDeclined { self = [super init]; if (self) { _tag = DBTEAMLOGTrustedTeamsRequestActionDeclined; } return self; } - (instancetype)initWithExpired { self = [super init]; if (self) { _tag = DBTEAMLOGTrustedTeamsRequestActionExpired; } return self; } - (instancetype)initWithInvited { self = [super init]; if (self) { _tag = DBTEAMLOGTrustedTeamsRequestActionInvited; } return self; } - (instancetype)initWithRevoked { self = [super init]; if (self) { _tag = DBTEAMLOGTrustedTeamsRequestActionRevoked; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBTEAMLOGTrustedTeamsRequestActionOther; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isAccepted { return _tag == DBTEAMLOGTrustedTeamsRequestActionAccepted; } - (BOOL)isDeclined { return _tag == DBTEAMLOGTrustedTeamsRequestActionDeclined; } - (BOOL)isExpired { return _tag == DBTEAMLOGTrustedTeamsRequestActionExpired; } - (BOOL)isInvited { return _tag == DBTEAMLOGTrustedTeamsRequestActionInvited; } - (BOOL)isRevoked { return _tag == DBTEAMLOGTrustedTeamsRequestActionRevoked; } - (BOOL)isOther { return _tag == DBTEAMLOGTrustedTeamsRequestActionOther; } - (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"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGTrustedTeamsRequestActionSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTrustedTeamsRequestActionSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTrustedTeamsRequestActionSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToTrustedTeamsRequestAction:other]; } - (BOOL)isEqualToTrustedTeamsRequestAction:(DBTEAMLOGTrustedTeamsRequestAction *)aTrustedTeamsRequestAction { if (self == aTrustedTeamsRequestAction) { return YES; } 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; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTrustedTeamsRequestActionSerializer + (NSDictionary *)serialize:(DBTEAMLOGTrustedTeamsRequestAction *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; 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; } + (DBTEAMLOGTrustedTeamsRequestAction *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; 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 "DBTEAMLOGTrustedTeamsRequestState.h" #pragma mark - API Object @implementation DBTEAMLOGTrustedTeamsRequestState #pragma mark - Constructors - (instancetype)initWithInvited { self = [super init]; if (self) { _tag = DBTEAMLOGTrustedTeamsRequestStateInvited; } return self; } - (instancetype)initWithLinked { self = [super init]; if (self) { _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 [DBTEAMLOGTrustedTeamsRequestStateSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTrustedTeamsRequestStateSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTrustedTeamsRequestStateSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToTrustedTeamsRequestState:other]; } - (BOOL)isEqualToTrustedTeamsRequestState:(DBTEAMLOGTrustedTeamsRequestState *)aTrustedTeamsRequestState { if (self == aTrustedTeamsRequestState) { return YES; } if (self.tag != aTrustedTeamsRequestState.tag) { 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; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTrustedTeamsRequestStateSerializer + (NSDictionary *)serialize:(DBTEAMLOGTrustedTeamsRequestState *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; 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; } + (DBTEAMLOGTrustedTeamsRequestState *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; 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 "DBTEAMLOGTwoAccountChangePolicyDetails.h" #import "DBTEAMLOGTwoAccountPolicy.h" #pragma mark - API Object @implementation DBTEAMLOGTwoAccountChangePolicyDetails #pragma mark - Constructors - (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 [DBTEAMLOGTwoAccountChangePolicyDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTwoAccountChangePolicyDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTwoAccountChangePolicyDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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 isEqualToTwoAccountChangePolicyDetails:other]; } - (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; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTwoAccountChangePolicyDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGTwoAccountChangePolicyDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"new_value"] = [DBTEAMLOGTwoAccountPolicySerializer serialize:valueObj.dNewValue]; if (valueObj.previousValue) { jsonDict[@"previous_value"] = [DBTEAMLOGTwoAccountPolicySerializer serialize:valueObj.previousValue]; } return jsonDict; } + (DBTEAMLOGTwoAccountChangePolicyDetails *)deserialize:(NSDictionary *)valueDict { DBTEAMLOGTwoAccountPolicy *dNewValue = [DBTEAMLOGTwoAccountPolicySerializer deserialize:valueDict[@"new_value"]]; DBTEAMLOGTwoAccountPolicy *previousValue = valueDict[@"previous_value"] ? [DBTEAMLOGTwoAccountPolicySerializer deserialize:valueDict[@"previous_value"]] : nil; return [[DBTEAMLOGTwoAccountChangePolicyDetails alloc] initWithDNewValue:dNewValue previousValue:previousValue]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGTwoAccountChangePolicyType.h" #pragma mark - API Object @implementation DBTEAMLOGTwoAccountChangePolicyType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGTwoAccountChangePolicyTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTwoAccountChangePolicyTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTwoAccountChangePolicyTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToTwoAccountChangePolicyType:other]; } - (BOOL)isEqualToTwoAccountChangePolicyType:(DBTEAMLOGTwoAccountChangePolicyType *)aTwoAccountChangePolicyType { if (self == aTwoAccountChangePolicyType) { return YES; } if (![self.description_ isEqual:aTwoAccountChangePolicyType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTwoAccountChangePolicyTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGTwoAccountChangePolicyType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGTwoAccountChangePolicyType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGTwoAccountChangePolicyType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGTwoAccountPolicy.h" #pragma mark - API Object @implementation DBTEAMLOGTwoAccountPolicy #pragma mark - Constructors - (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 [DBTEAMLOGTwoAccountPolicySerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGTwoAccountPolicySerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGTwoAccountPolicySerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToTwoAccountPolicy:other]; } - (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; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGTwoAccountPolicySerializer + (NSDictionary *)serialize:(DBTEAMLOGTwoAccountPolicy *)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; } + (DBTEAMLOGTwoAccountPolicy *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; 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 "DBTEAMLOGUndoNamingConventionDetails.h" #pragma mark - API Object @implementation DBTEAMLOGUndoNamingConventionDetails #pragma mark - Constructors - (instancetype)initDefault { self = [super init]; if (self) { } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGUndoNamingConventionDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGUndoNamingConventionDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGUndoNamingConventionDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 isEqualToUndoNamingConventionDetails:other]; } - (BOOL)isEqualToUndoNamingConventionDetails:(DBTEAMLOGUndoNamingConventionDetails *)anUndoNamingConventionDetails { if (self == anUndoNamingConventionDetails) { return YES; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGUndoNamingConventionDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGUndoNamingConventionDetails *)valueObj { #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; return jsonDict; } + (DBTEAMLOGUndoNamingConventionDetails *)deserialize:(NSDictionary *)valueDict { #pragma unused(valueDict) return [[DBTEAMLOGUndoNamingConventionDetails alloc] initDefault]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGUndoNamingConventionType.h" #pragma mark - API Object @implementation DBTEAMLOGUndoNamingConventionType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGUndoNamingConventionTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGUndoNamingConventionTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGUndoNamingConventionTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToUndoNamingConventionType:other]; } - (BOOL)isEqualToUndoNamingConventionType:(DBTEAMLOGUndoNamingConventionType *)anUndoNamingConventionType { if (self == anUndoNamingConventionType) { return YES; } if (![self.description_ isEqual:anUndoNamingConventionType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGUndoNamingConventionTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGUndoNamingConventionType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGUndoNamingConventionType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGUndoNamingConventionType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGUndoOrganizeFolderWithTidyDetails.h" #pragma mark - API Object @implementation DBTEAMLOGUndoOrganizeFolderWithTidyDetails #pragma mark - Constructors - (instancetype)initDefault { self = [super init]; if (self) { } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGUndoOrganizeFolderWithTidyDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGUndoOrganizeFolderWithTidyDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGUndoOrganizeFolderWithTidyDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 isEqualToUndoOrganizeFolderWithTidyDetails:other]; } - (BOOL)isEqualToUndoOrganizeFolderWithTidyDetails: (DBTEAMLOGUndoOrganizeFolderWithTidyDetails *)anUndoOrganizeFolderWithTidyDetails { if (self == anUndoOrganizeFolderWithTidyDetails) { return YES; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGUndoOrganizeFolderWithTidyDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGUndoOrganizeFolderWithTidyDetails *)valueObj { #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; return jsonDict; } + (DBTEAMLOGUndoOrganizeFolderWithTidyDetails *)deserialize:(NSDictionary *)valueDict { #pragma unused(valueDict) return [[DBTEAMLOGUndoOrganizeFolderWithTidyDetails alloc] initDefault]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGUndoOrganizeFolderWithTidyType.h" #pragma mark - API Object @implementation DBTEAMLOGUndoOrganizeFolderWithTidyType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGUndoOrganizeFolderWithTidyTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGUndoOrganizeFolderWithTidyTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGUndoOrganizeFolderWithTidyTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToUndoOrganizeFolderWithTidyType:other]; } - (BOOL)isEqualToUndoOrganizeFolderWithTidyType: (DBTEAMLOGUndoOrganizeFolderWithTidyType *)anUndoOrganizeFolderWithTidyType { if (self == anUndoOrganizeFolderWithTidyType) { return YES; } if (![self.description_ isEqual:anUndoOrganizeFolderWithTidyType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGUndoOrganizeFolderWithTidyTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGUndoOrganizeFolderWithTidyType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGUndoOrganizeFolderWithTidyType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGUndoOrganizeFolderWithTidyType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGAppLogInfo.h" #import "DBTEAMLOGUserLinkedAppLogInfo.h" #pragma mark - API Object @implementation DBTEAMLOGUserLinkedAppLogInfo #pragma mark - Constructors - (instancetype)initWithAppId:(NSString *)appId displayName:(NSString *)displayName { 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 [DBTEAMLOGUserLinkedAppLogInfoSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGUserLinkedAppLogInfoSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGUserLinkedAppLogInfoSerializer serialize:self] description]; } #pragma mark - Copyable method - (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.appId != nil) { result = prime * result + [self.appId 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 isEqualToUserLinkedAppLogInfo:other]; } - (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; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGUserLinkedAppLogInfoSerializer + (NSDictionary *)serialize:(DBTEAMLOGUserLinkedAppLogInfo *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if (valueObj.appId) { jsonDict[@"app_id"] = valueObj.appId; } if (valueObj.displayName) { jsonDict[@"display_name"] = valueObj.displayName; } return jsonDict; } + (DBTEAMLOGUserLinkedAppLogInfo *)deserialize:(NSDictionary *)valueDict { NSString *appId = valueDict[@"app_id"] ?: nil; NSString *displayName = valueDict[@"display_name"] ?: nil; return [[DBTEAMLOGUserLinkedAppLogInfo alloc] initWithAppId:appId displayName:displayName]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGUserNameLogInfo.h" #pragma mark - API Object @implementation DBTEAMLOGUserNameLogInfo #pragma mark - Constructors - (instancetype)initWithGivenName:(NSString *)givenName surname:(NSString *)surname locale:(NSString *)locale { [DBStoneValidators nonnullValidator:nil](givenName); [DBStoneValidators nonnullValidator:nil](surname); self = [super init]; if (self) { _givenName = givenName; _surname = surname; _locale = locale; } 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]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGUserNameLogInfoSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGUserNameLogInfoSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (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]; } return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToUserNameLogInfo:other]; } - (BOOL)isEqualToUserNameLogInfo:(DBTEAMLOGUserNameLogInfo *)anUserNameLogInfo { if (self == anUserNameLogInfo) { return YES; } if (![self.givenName isEqual:anUserNameLogInfo.givenName]) { return NO; } if (![self.surname isEqual:anUserNameLogInfo.surname]) { return NO; } if (self.locale) { if (![self.locale isEqual:anUserNameLogInfo.locale]) { return NO; } } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGUserNameLogInfoSerializer + (NSDictionary *)serialize:(DBTEAMLOGUserNameLogInfo *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"given_name"] = valueObj.givenName; jsonDict[@"surname"] = valueObj.surname; if (valueObj.locale) { jsonDict[@"locale"] = valueObj.locale; } return jsonDict; } + (DBTEAMLOGUserNameLogInfo *)deserialize:(NSDictionary *)valueDict { NSString *givenName = valueDict[@"given_name"]; NSString *surname = valueDict[@"surname"]; NSString *locale = valueDict[@"locale"] ?: nil; return [[DBTEAMLOGUserNameLogInfo alloc] initWithGivenName:givenName surname:surname locale:locale]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGAppLogInfo.h" #import "DBTEAMLOGUserOrTeamLinkedAppLogInfo.h" #pragma mark - API Object @implementation DBTEAMLOGUserOrTeamLinkedAppLogInfo #pragma mark - Constructors - (instancetype)initWithAppId:(NSString *)appId displayName:(NSString *)displayName { 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 [DBTEAMLOGUserOrTeamLinkedAppLogInfoSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGUserOrTeamLinkedAppLogInfoSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGUserOrTeamLinkedAppLogInfoSerializer serialize:self] description]; } #pragma mark - Copyable method - (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.appId != nil) { result = prime * result + [self.appId 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 isEqualToUserOrTeamLinkedAppLogInfo:other]; } - (BOOL)isEqualToUserOrTeamLinkedAppLogInfo:(DBTEAMLOGUserOrTeamLinkedAppLogInfo *)anUserOrTeamLinkedAppLogInfo { if (self == anUserOrTeamLinkedAppLogInfo) { return YES; } if (self.appId) { if (![self.appId isEqual:anUserOrTeamLinkedAppLogInfo.appId]) { return NO; } } if (self.displayName) { if (![self.displayName isEqual:anUserOrTeamLinkedAppLogInfo.displayName]) { return NO; } } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGUserOrTeamLinkedAppLogInfoSerializer + (NSDictionary *)serialize:(DBTEAMLOGUserOrTeamLinkedAppLogInfo *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if (valueObj.appId) { jsonDict[@"app_id"] = valueObj.appId; } if (valueObj.displayName) { jsonDict[@"display_name"] = valueObj.displayName; } return jsonDict; } + (DBTEAMLOGUserOrTeamLinkedAppLogInfo *)deserialize:(NSDictionary *)valueDict { NSString *appId = valueDict[@"app_id"] ?: nil; NSString *displayName = valueDict[@"display_name"] ?: nil; return [[DBTEAMLOGUserOrTeamLinkedAppLogInfo alloc] initWithAppId:appId displayName:displayName]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGUserTagsAddedDetails.h" #pragma mark - API Object @implementation DBTEAMLOGUserTagsAddedDetails #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 [DBTEAMLOGUserTagsAddedDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGUserTagsAddedDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGUserTagsAddedDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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 isEqualToUserTagsAddedDetails:other]; } - (BOOL)isEqualToUserTagsAddedDetails:(DBTEAMLOGUserTagsAddedDetails *)anUserTagsAddedDetails { if (self == anUserTagsAddedDetails) { return YES; } if (![self.values isEqual:anUserTagsAddedDetails.values]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGUserTagsAddedDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGUserTagsAddedDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"values"] = [DBArraySerializer serialize:valueObj.values withBlock:^id(id elem0) { return elem0; }]; return jsonDict; } + (DBTEAMLOGUserTagsAddedDetails *)deserialize:(NSDictionary *)valueDict { NSArray *values = [DBArraySerializer deserialize:valueDict[@"values"] withBlock:^id(id elem0) { return elem0; }]; return [[DBTEAMLOGUserTagsAddedDetails alloc] initWithValues:values]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGUserTagsAddedType.h" #pragma mark - API Object @implementation DBTEAMLOGUserTagsAddedType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGUserTagsAddedTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGUserTagsAddedTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGUserTagsAddedTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToUserTagsAddedType:other]; } - (BOOL)isEqualToUserTagsAddedType:(DBTEAMLOGUserTagsAddedType *)anUserTagsAddedType { if (self == anUserTagsAddedType) { return YES; } if (![self.description_ isEqual:anUserTagsAddedType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGUserTagsAddedTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGUserTagsAddedType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGUserTagsAddedType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGUserTagsAddedType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGUserTagsRemovedDetails.h" #pragma mark - API Object @implementation DBTEAMLOGUserTagsRemovedDetails #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 [DBTEAMLOGUserTagsRemovedDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGUserTagsRemovedDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGUserTagsRemovedDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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 isEqualToUserTagsRemovedDetails:other]; } - (BOOL)isEqualToUserTagsRemovedDetails:(DBTEAMLOGUserTagsRemovedDetails *)anUserTagsRemovedDetails { if (self == anUserTagsRemovedDetails) { return YES; } if (![self.values isEqual:anUserTagsRemovedDetails.values]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGUserTagsRemovedDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGUserTagsRemovedDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"values"] = [DBArraySerializer serialize:valueObj.values withBlock:^id(id elem0) { return elem0; }]; return jsonDict; } + (DBTEAMLOGUserTagsRemovedDetails *)deserialize:(NSDictionary *)valueDict { NSArray *values = [DBArraySerializer deserialize:valueDict[@"values"] withBlock:^id(id elem0) { return elem0; }]; return [[DBTEAMLOGUserTagsRemovedDetails alloc] initWithValues:values]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGUserTagsRemovedType.h" #pragma mark - API Object @implementation DBTEAMLOGUserTagsRemovedType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGUserTagsRemovedTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGUserTagsRemovedTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGUserTagsRemovedTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToUserTagsRemovedType:other]; } - (BOOL)isEqualToUserTagsRemovedType:(DBTEAMLOGUserTagsRemovedType *)anUserTagsRemovedType { if (self == anUserTagsRemovedType) { return YES; } if (![self.description_ isEqual:anUserTagsRemovedType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGUserTagsRemovedTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGUserTagsRemovedType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGUserTagsRemovedType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGUserTagsRemovedType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGPassPolicy.h" #import "DBTEAMLOGViewerInfoPolicyChangedDetails.h" #pragma mark - API Object @implementation DBTEAMLOGViewerInfoPolicyChangedDetails #pragma mark - Constructors - (instancetype)initWithPreviousValue:(DBTEAMLOGPassPolicy *)previousValue dNewValue:(DBTEAMLOGPassPolicy *)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 [DBTEAMLOGViewerInfoPolicyChangedDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGViewerInfoPolicyChangedDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGViewerInfoPolicyChangedDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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 isEqualToViewerInfoPolicyChangedDetails:other]; } - (BOOL)isEqualToViewerInfoPolicyChangedDetails: (DBTEAMLOGViewerInfoPolicyChangedDetails *)aViewerInfoPolicyChangedDetails { if (self == aViewerInfoPolicyChangedDetails) { return YES; } if (![self.previousValue isEqual:aViewerInfoPolicyChangedDetails.previousValue]) { return NO; } if (![self.dNewValue isEqual:aViewerInfoPolicyChangedDetails.dNewValue]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGViewerInfoPolicyChangedDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGViewerInfoPolicyChangedDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"previous_value"] = [DBTEAMLOGPassPolicySerializer serialize:valueObj.previousValue]; jsonDict[@"new_value"] = [DBTEAMLOGPassPolicySerializer serialize:valueObj.dNewValue]; return jsonDict; } + (DBTEAMLOGViewerInfoPolicyChangedDetails *)deserialize:(NSDictionary *)valueDict { DBTEAMLOGPassPolicy *previousValue = [DBTEAMLOGPassPolicySerializer deserialize:valueDict[@"previous_value"]]; DBTEAMLOGPassPolicy *dNewValue = [DBTEAMLOGPassPolicySerializer deserialize:valueDict[@"new_value"]]; return [[DBTEAMLOGViewerInfoPolicyChangedDetails alloc] initWithPreviousValue:previousValue dNewValue:dNewValue]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGViewerInfoPolicyChangedType.h" #pragma mark - API Object @implementation DBTEAMLOGViewerInfoPolicyChangedType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGViewerInfoPolicyChangedTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGViewerInfoPolicyChangedTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGViewerInfoPolicyChangedTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToViewerInfoPolicyChangedType:other]; } - (BOOL)isEqualToViewerInfoPolicyChangedType:(DBTEAMLOGViewerInfoPolicyChangedType *)aViewerInfoPolicyChangedType { if (self == aViewerInfoPolicyChangedType) { return YES; } if (![self.description_ isEqual:aViewerInfoPolicyChangedType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGViewerInfoPolicyChangedTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGViewerInfoPolicyChangedType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGViewerInfoPolicyChangedType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGViewerInfoPolicyChangedType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGWatermarkingPolicy.h" #pragma mark - API Object @implementation DBTEAMLOGWatermarkingPolicy #pragma mark - Constructors - (instancetype)initWithDisabled { self = [super init]; if (self) { _tag = DBTEAMLOGWatermarkingPolicyDisabled; } return self; } - (instancetype)initWithEnabled { self = [super init]; if (self) { _tag = DBTEAMLOGWatermarkingPolicyEnabled; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBTEAMLOGWatermarkingPolicyOther; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isDisabled { return _tag == DBTEAMLOGWatermarkingPolicyDisabled; } - (BOOL)isEnabled { return _tag == DBTEAMLOGWatermarkingPolicyEnabled; } - (BOOL)isOther { return _tag == DBTEAMLOGWatermarkingPolicyOther; } - (NSString *)tagName { switch (_tag) { case DBTEAMLOGWatermarkingPolicyDisabled: return @"DBTEAMLOGWatermarkingPolicyDisabled"; case DBTEAMLOGWatermarkingPolicyEnabled: return @"DBTEAMLOGWatermarkingPolicyEnabled"; case DBTEAMLOGWatermarkingPolicyOther: return @"DBTEAMLOGWatermarkingPolicyOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGWatermarkingPolicySerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGWatermarkingPolicySerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGWatermarkingPolicySerializer serialize:self] description]; } #pragma mark - Copyable method - (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 DBTEAMLOGWatermarkingPolicyDisabled: result = prime * result + [[self tagName] hash]; break; case DBTEAMLOGWatermarkingPolicyEnabled: result = prime * result + [[self tagName] hash]; break; case DBTEAMLOGWatermarkingPolicyOther: 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 isEqualToWatermarkingPolicy:other]; } - (BOOL)isEqualToWatermarkingPolicy:(DBTEAMLOGWatermarkingPolicy *)aWatermarkingPolicy { if (self == aWatermarkingPolicy) { return YES; } if (self.tag != aWatermarkingPolicy.tag) { return NO; } switch (_tag) { 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; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGWatermarkingPolicySerializer + (NSDictionary *)serialize:(DBTEAMLOGWatermarkingPolicy *)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; } + (DBTEAMLOGWatermarkingPolicy *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"disabled"]) { return [[DBTEAMLOGWatermarkingPolicy alloc] initWithDisabled]; } else if ([tag isEqualToString:@"enabled"]) { return [[DBTEAMLOGWatermarkingPolicy alloc] initWithEnabled]; } else if ([tag isEqualToString:@"other"]) { return [[DBTEAMLOGWatermarkingPolicy alloc] initWithOther]; } else { return [[DBTEAMLOGWatermarkingPolicy alloc] initWithOther]; } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGWatermarkingPolicy.h" #import "DBTEAMLOGWatermarkingPolicyChangedDetails.h" #pragma mark - API Object @implementation DBTEAMLOGWatermarkingPolicyChangedDetails #pragma mark - Constructors - (instancetype)initWithDNewValue:(DBTEAMLOGWatermarkingPolicy *)dNewValue previousValue:(DBTEAMLOGWatermarkingPolicy *)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 [DBTEAMLOGWatermarkingPolicyChangedDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGWatermarkingPolicyChangedDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGWatermarkingPolicyChangedDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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 isEqualToWatermarkingPolicyChangedDetails:other]; } - (BOOL)isEqualToWatermarkingPolicyChangedDetails: (DBTEAMLOGWatermarkingPolicyChangedDetails *)aWatermarkingPolicyChangedDetails { if (self == aWatermarkingPolicyChangedDetails) { return YES; } if (![self.dNewValue isEqual:aWatermarkingPolicyChangedDetails.dNewValue]) { return NO; } if (![self.previousValue isEqual:aWatermarkingPolicyChangedDetails.previousValue]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGWatermarkingPolicyChangedDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGWatermarkingPolicyChangedDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"new_value"] = [DBTEAMLOGWatermarkingPolicySerializer serialize:valueObj.dNewValue]; jsonDict[@"previous_value"] = [DBTEAMLOGWatermarkingPolicySerializer serialize:valueObj.previousValue]; return jsonDict; } + (DBTEAMLOGWatermarkingPolicyChangedDetails *)deserialize:(NSDictionary *)valueDict { DBTEAMLOGWatermarkingPolicy *dNewValue = [DBTEAMLOGWatermarkingPolicySerializer deserialize:valueDict[@"new_value"]]; DBTEAMLOGWatermarkingPolicy *previousValue = [DBTEAMLOGWatermarkingPolicySerializer deserialize:valueDict[@"previous_value"]]; return [[DBTEAMLOGWatermarkingPolicyChangedDetails alloc] initWithDNewValue:dNewValue previousValue:previousValue]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGWatermarkingPolicyChangedType.h" #pragma mark - API Object @implementation DBTEAMLOGWatermarkingPolicyChangedType #pragma mark - Constructors - (instancetype)initWithDescription_:(NSString *)description_ { [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { _description_ = description_; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGWatermarkingPolicyChangedTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGWatermarkingPolicyChangedTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGWatermarkingPolicyChangedTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.description_ hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToWatermarkingPolicyChangedType:other]; } - (BOOL)isEqualToWatermarkingPolicyChangedType: (DBTEAMLOGWatermarkingPolicyChangedType *)aWatermarkingPolicyChangedType { if (self == aWatermarkingPolicyChangedType) { return YES; } if (![self.description_ isEqual:aWatermarkingPolicyChangedType.description_]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGWatermarkingPolicyChangedTypeSerializer + (NSDictionary *)serialize:(DBTEAMLOGWatermarkingPolicyChangedType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"description"] = valueObj.description_; return jsonDict; } + (DBTEAMLOGWatermarkingPolicyChangedType *)deserialize:(NSDictionary *)valueDict { NSString *description_ = valueDict[@"description"]; return [[DBTEAMLOGWatermarkingPolicyChangedType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGDeviceSessionLogInfo.h" #import "DBTEAMLOGWebDeviceSessionLogInfo.h" #import "DBTEAMLOGWebSessionLogInfo.h" #pragma mark - API Object @implementation DBTEAMLOGWebDeviceSessionLogInfo #pragma mark - Constructors - (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 initWithIpAddress:ipAddress created:created updated:updated]; if (self) { _sessionInfo = sessionInfo; _userAgent = userAgent; _os = os; _browser = browser; } return self; } - (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 [DBTEAMLOGWebDeviceSessionLogInfoSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGWebDeviceSessionLogInfoSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGWebDeviceSessionLogInfoSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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]; result = prime * result + [self.os hash]; result = prime * result + [self.browser 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]; } return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToWebDeviceSessionLogInfo:other]; } - (BOOL)isEqualToWebDeviceSessionLogInfo:(DBTEAMLOGWebDeviceSessionLogInfo *)aWebDeviceSessionLogInfo { if (self == aWebDeviceSessionLogInfo) { return YES; } 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.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; } } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGWebDeviceSessionLogInfoSerializer + (NSDictionary *)serialize:(DBTEAMLOGWebDeviceSessionLogInfo *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"user_agent"] = valueObj.userAgent; jsonDict[@"os"] = valueObj.os; jsonDict[@"browser"] = valueObj.browser; 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"] = [DBTEAMLOGWebSessionLogInfoSerializer serialize:valueObj.sessionInfo]; } return jsonDict; } + (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 [[DBTEAMLOGWebDeviceSessionLogInfo alloc] initWithUserAgent:userAgent os:os browser:browser ipAddress:ipAddress created:created updated:updated sessionInfo:sessionInfo]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGSessionLogInfo.h" #import "DBTEAMLOGWebSessionLogInfo.h" #pragma mark - API Object @implementation DBTEAMLOGWebSessionLogInfo #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 [DBTEAMLOGWebSessionLogInfoSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGWebSessionLogInfoSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGWebSessionLogInfoSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 isEqualToWebSessionLogInfo:other]; } - (BOOL)isEqualToWebSessionLogInfo:(DBTEAMLOGWebSessionLogInfo *)aWebSessionLogInfo { if (self == aWebSessionLogInfo) { return YES; } if (self.sessionId) { if (![self.sessionId isEqual:aWebSessionLogInfo.sessionId]) { return NO; } } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGWebSessionLogInfoSerializer + (NSDictionary *)serialize:(DBTEAMLOGWebSessionLogInfo *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if (valueObj.sessionId) { jsonDict[@"session_id"] = valueObj.sessionId; } return jsonDict; } + (DBTEAMLOGWebSessionLogInfo *)deserialize:(NSDictionary *)valueDict { NSString *sessionId = valueDict[@"session_id"] ?: nil; return [[DBTEAMLOGWebSessionLogInfo alloc] initWithSessionId:sessionId]; } @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" #import "DBTEAMLOGWebSessionsFixedLengthPolicy.h" #pragma mark - API Object @implementation DBTEAMLOGWebSessionsChangeFixedLengthPolicyDetails #pragma mark - Constructors - (instancetype)initWithDNewValue:(DBTEAMLOGWebSessionsFixedLengthPolicy *)dNewValue previousValue:(DBTEAMLOGWebSessionsFixedLengthPolicy *)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 [DBTEAMLOGWebSessionsChangeFixedLengthPolicyDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGWebSessionsChangeFixedLengthPolicyDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGWebSessionsChangeFixedLengthPolicyDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 isEqualToWebSessionsChangeFixedLengthPolicyDetails:other]; } - (BOOL)isEqualToWebSessionsChangeFixedLengthPolicyDetails: (DBTEAMLOGWebSessionsChangeFixedLengthPolicyDetails *)aWebSessionsChangeFixedLengthPolicyDetails { if (self == aWebSessionsChangeFixedLengthPolicyDetails) { return YES; } if (self.dNewValue) { if (![self.dNewValue isEqual:aWebSessionsChangeFixedLengthPolicyDetails.dNewValue]) { return NO; } } if (self.previousValue) { if (![self.previousValue isEqual:aWebSessionsChangeFixedLengthPolicyDetails.previousValue]) { return NO; } } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGWebSessionsChangeFixedLengthPolicyDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGWebSessionsChangeFixedLengthPolicyDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if (valueObj.dNewValue) { jsonDict[@"new_value"] = [DBTEAMLOGWebSessionsFixedLengthPolicySerializer serialize:valueObj.dNewValue]; } if (valueObj.previousValue) { jsonDict[@"previous_value"] = [DBTEAMLOGWebSessionsFixedLengthPolicySerializer serialize:valueObj.previousValue]; } return jsonDict; } + (DBTEAMLOGWebSessionsChangeFixedLengthPolicyDetails *)deserialize:(NSDictionary *)valueDict { DBTEAMLOGWebSessionsFixedLengthPolicy *dNewValue = valueDict[@"new_value"] ? [DBTEAMLOGWebSessionsFixedLengthPolicySerializer deserialize:valueDict[@"new_value"]] : nil; DBTEAMLOGWebSessionsFixedLengthPolicy *previousValue = valueDict[@"previous_value"] ? [DBTEAMLOGWebSessionsFixedLengthPolicySerializer deserialize:valueDict[@"previous_value"]] : nil; return [[DBTEAMLOGWebSessionsChangeFixedLengthPolicyDetails alloc] initWithDNewValue:dNewValue previousValue:previousValue]; } @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" #import "DBTEAMLOGWebSessionsIdleLengthPolicy.h" #pragma mark - API Object @implementation DBTEAMLOGWebSessionsChangeIdleLengthPolicyDetails #pragma mark - Constructors - (instancetype)initWithDNewValue:(DBTEAMLOGWebSessionsIdleLengthPolicy *)dNewValue previousValue:(DBTEAMLOGWebSessionsIdleLengthPolicy *)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 [DBTEAMLOGWebSessionsChangeIdleLengthPolicyDetailsSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGWebSessionsChangeIdleLengthPolicyDetailsSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGWebSessionsChangeIdleLengthPolicyDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 isEqualToWebSessionsChangeIdleLengthPolicyDetails:other]; } - (BOOL)isEqualToWebSessionsChangeIdleLengthPolicyDetails: (DBTEAMLOGWebSessionsChangeIdleLengthPolicyDetails *)aWebSessionsChangeIdleLengthPolicyDetails { if (self == aWebSessionsChangeIdleLengthPolicyDetails) { return YES; } if (self.dNewValue) { if (![self.dNewValue isEqual:aWebSessionsChangeIdleLengthPolicyDetails.dNewValue]) { return NO; } } if (self.previousValue) { if (![self.previousValue isEqual:aWebSessionsChangeIdleLengthPolicyDetails.previousValue]) { return NO; } } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGWebSessionsChangeIdleLengthPolicyDetailsSerializer + (NSDictionary *)serialize:(DBTEAMLOGWebSessionsChangeIdleLengthPolicyDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if (valueObj.dNewValue) { jsonDict[@"new_value"] = [DBTEAMLOGWebSessionsIdleLengthPolicySerializer serialize:valueObj.dNewValue]; } if (valueObj.previousValue) { jsonDict[@"previous_value"] = [DBTEAMLOGWebSessionsIdleLengthPolicySerializer serialize:valueObj.previousValue]; } return jsonDict; } + (DBTEAMLOGWebSessionsChangeIdleLengthPolicyDetails *)deserialize:(NSDictionary *)valueDict { DBTEAMLOGWebSessionsIdleLengthPolicy *dNewValue = valueDict[@"new_value"] ? [DBTEAMLOGWebSessionsIdleLengthPolicySerializer deserialize:valueDict[@"new_value"]] : nil; DBTEAMLOGWebSessionsIdleLengthPolicy *previousValue = valueDict[@"previous_value"] ? [DBTEAMLOGWebSessionsIdleLengthPolicySerializer deserialize:valueDict[@"previous_value"]] : nil; return [[DBTEAMLOGWebSessionsChangeIdleLengthPolicyDetails alloc] initWithDNewValue:dNewValue previousValue:previousValue]; } @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" #import "DBTEAMLOGWebSessionsFixedLengthPolicy.h" #pragma mark - API Object @implementation DBTEAMLOGWebSessionsFixedLengthPolicy @synthesize defined = _defined; #pragma mark - Constructors - (instancetype)initWithDefined:(DBTEAMLOGDurationLogInfo *)defined { self = [super init]; if (self) { _tag = DBTEAMLOGWebSessionsFixedLengthPolicyDefined; _defined = defined; } return self; } - (instancetype)initWithUndefined { self = [super init]; if (self) { _tag = DBTEAMLOGWebSessionsFixedLengthPolicyUndefined; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBTEAMLOGWebSessionsFixedLengthPolicyOther; } return self; } #pragma mark - Instance field accessors - (DBTEAMLOGDurationLogInfo *)defined { if (![self isDefined]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGWebSessionsFixedLengthPolicyDefined, but was %@.", [self tagName]]; } return _defined; } #pragma mark - Tag state methods - (BOOL)isDefined { return _tag == DBTEAMLOGWebSessionsFixedLengthPolicyDefined; } - (BOOL)isUndefined { return _tag == DBTEAMLOGWebSessionsFixedLengthPolicyUndefined; } - (BOOL)isOther { return _tag == DBTEAMLOGWebSessionsFixedLengthPolicyOther; } - (NSString *)tagName { switch (_tag) { case DBTEAMLOGWebSessionsFixedLengthPolicyDefined: return @"DBTEAMLOGWebSessionsFixedLengthPolicyDefined"; case DBTEAMLOGWebSessionsFixedLengthPolicyUndefined: return @"DBTEAMLOGWebSessionsFixedLengthPolicyUndefined"; case DBTEAMLOGWebSessionsFixedLengthPolicyOther: return @"DBTEAMLOGWebSessionsFixedLengthPolicyOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGWebSessionsFixedLengthPolicySerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGWebSessionsFixedLengthPolicySerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGWebSessionsFixedLengthPolicySerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToWebSessionsFixedLengthPolicy:other]; } - (BOOL)isEqualToWebSessionsFixedLengthPolicy:(DBTEAMLOGWebSessionsFixedLengthPolicy *)aWebSessionsFixedLengthPolicy { if (self == aWebSessionsFixedLengthPolicy) { return YES; } if (self.tag != aWebSessionsFixedLengthPolicy.tag) { return NO; } switch (_tag) { case DBTEAMLOGWebSessionsFixedLengthPolicyDefined: return [self.defined isEqual:aWebSessionsFixedLengthPolicy.defined]; case DBTEAMLOGWebSessionsFixedLengthPolicyUndefined: return [[self tagName] isEqual:[aWebSessionsFixedLengthPolicy tagName]]; case DBTEAMLOGWebSessionsFixedLengthPolicyOther: return [[self tagName] isEqual:[aWebSessionsFixedLengthPolicy tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGWebSessionsFixedLengthPolicySerializer + (NSDictionary *)serialize:(DBTEAMLOGWebSessionsFixedLengthPolicy *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isDefined]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGDurationLogInfoSerializer serialize:valueObj.defined]]; jsonDict[@".tag"] = @"defined"; } else if ([valueObj isUndefined]) { jsonDict[@".tag"] = @"undefined"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBTEAMLOGWebSessionsFixedLengthPolicy *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"defined"]) { DBTEAMLOGDurationLogInfo *defined = [DBTEAMLOGDurationLogInfoSerializer deserialize:valueDict]; return [[DBTEAMLOGWebSessionsFixedLengthPolicy alloc] initWithDefined:defined]; } else if ([tag isEqualToString:@"undefined"]) { return [[DBTEAMLOGWebSessionsFixedLengthPolicy alloc] initWithUndefined]; } else if ([tag isEqualToString:@"other"]) { return [[DBTEAMLOGWebSessionsFixedLengthPolicy alloc] initWithOther]; } else { return [[DBTEAMLOGWebSessionsFixedLengthPolicy alloc] initWithOther]; } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGDurationLogInfo.h" #import "DBTEAMLOGWebSessionsIdleLengthPolicy.h" #pragma mark - API Object @implementation DBTEAMLOGWebSessionsIdleLengthPolicy @synthesize defined = _defined; #pragma mark - Constructors - (instancetype)initWithDefined:(DBTEAMLOGDurationLogInfo *)defined { self = [super init]; if (self) { _tag = DBTEAMLOGWebSessionsIdleLengthPolicyDefined; _defined = defined; } return self; } - (instancetype)initWithUndefined { self = [super init]; if (self) { _tag = DBTEAMLOGWebSessionsIdleLengthPolicyUndefined; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBTEAMLOGWebSessionsIdleLengthPolicyOther; } return self; } #pragma mark - Instance field accessors - (DBTEAMLOGDurationLogInfo *)defined { if (![self isDefined]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBTEAMLOGWebSessionsIdleLengthPolicyDefined, but was %@.", [self tagName]]; } return _defined; } #pragma mark - Tag state methods - (BOOL)isDefined { return _tag == DBTEAMLOGWebSessionsIdleLengthPolicyDefined; } - (BOOL)isUndefined { return _tag == DBTEAMLOGWebSessionsIdleLengthPolicyUndefined; } - (BOOL)isOther { return _tag == DBTEAMLOGWebSessionsIdleLengthPolicyOther; } - (NSString *)tagName { switch (_tag) { case DBTEAMLOGWebSessionsIdleLengthPolicyDefined: return @"DBTEAMLOGWebSessionsIdleLengthPolicyDefined"; case DBTEAMLOGWebSessionsIdleLengthPolicyUndefined: return @"DBTEAMLOGWebSessionsIdleLengthPolicyUndefined"; case DBTEAMLOGWebSessionsIdleLengthPolicyOther: return @"DBTEAMLOGWebSessionsIdleLengthPolicyOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGWebSessionsIdleLengthPolicySerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGWebSessionsIdleLengthPolicySerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMLOGWebSessionsIdleLengthPolicySerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToWebSessionsIdleLengthPolicy:other]; } - (BOOL)isEqualToWebSessionsIdleLengthPolicy:(DBTEAMLOGWebSessionsIdleLengthPolicy *)aWebSessionsIdleLengthPolicy { if (self == aWebSessionsIdleLengthPolicy) { return YES; } if (self.tag != aWebSessionsIdleLengthPolicy.tag) { return NO; } switch (_tag) { case DBTEAMLOGWebSessionsIdleLengthPolicyDefined: return [self.defined isEqual:aWebSessionsIdleLengthPolicy.defined]; case DBTEAMLOGWebSessionsIdleLengthPolicyUndefined: return [[self tagName] isEqual:[aWebSessionsIdleLengthPolicy tagName]]; case DBTEAMLOGWebSessionsIdleLengthPolicyOther: return [[self tagName] isEqual:[aWebSessionsIdleLengthPolicy tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMLOGWebSessionsIdleLengthPolicySerializer + (NSDictionary *)serialize:(DBTEAMLOGWebSessionsIdleLengthPolicy *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isDefined]) { [jsonDict addEntriesFromDictionary:[DBTEAMLOGDurationLogInfoSerializer serialize:valueObj.defined]]; jsonDict[@".tag"] = @"defined"; } else if ([valueObj isUndefined]) { jsonDict[@".tag"] = @"undefined"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBTEAMLOGWebSessionsIdleLengthPolicy *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"defined"]) { DBTEAMLOGDurationLogInfo *defined = [DBTEAMLOGDurationLogInfoSerializer deserialize:valueDict]; return [[DBTEAMLOGWebSessionsIdleLengthPolicy alloc] initWithDefined:defined]; } else if ([tag isEqualToString:@"undefined"]) { return [[DBTEAMLOGWebSessionsIdleLengthPolicy alloc] initWithUndefined]; } else if ([tag isEqualToString:@"other"]) { return [[DBTEAMLOGWebSessionsIdleLengthPolicy alloc] initWithOther]; } else { return [[DBTEAMLOGWebSessionsIdleLengthPolicy alloc] initWithOther]; } } @end ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAccessMethodLogInfo.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGAccessMethodLogInfo; @class DBTEAMLOGApiSessionLogInfo; @class DBTEAMLOGSessionLogInfo; @class DBTEAMLOGWebSessionLogInfo; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `AccessMethodLogInfo` union. /// /// Indicates the method in which the action was performed. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMLOGAccessMethodLogInfo : NSObject #pragma mark - Instance fields /// The `DBTEAMLOGAccessMethodLogInfoTag` enum type represents the possible tag /// states with which the `DBTEAMLOGAccessMethodLogInfo` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGAccessMethodLogInfoTag){ /// Admin console session details. DBTEAMLOGAccessMethodLogInfoAdminConsole, /// Api session details. DBTEAMLOGAccessMethodLogInfoApi, /// Content manager session details. DBTEAMLOGAccessMethodLogInfoContentManager, /// End user session details. DBTEAMLOGAccessMethodLogInfoEndUser, /// Enterprise console session details. DBTEAMLOGAccessMethodLogInfoEnterpriseConsole, /// Sign in as session details. DBTEAMLOGAccessMethodLogInfoSignInAs, /// (no description). DBTEAMLOGAccessMethodLogInfoOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMLOGAccessMethodLogInfoTag tag; /// 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; /// Api session details. @note Ensure the `isApi` method returns true before /// 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 "admin_console". /// /// Description of the "admin_console" tag state: Admin console session details. /// /// @param adminConsole Admin console session details. /// /// @return An initialized instance. /// - (instancetype)initWithAdminConsole:(DBTEAMLOGWebSessionLogInfo *)adminConsole; /// /// Initializes union class with tag state of "api". /// /// Description of the "api" tag state: Api session details. /// /// @param api Api session details. /// /// @return An initialized instance. /// - (instancetype)initWithApi:(DBTEAMLOGApiSessionLogInfo *)api; /// /// Initializes union class with tag state of "content_manager". /// /// Description of the "content_manager" tag state: Content manager session /// details. /// /// @param contentManager Content manager session details. /// /// @return An initialized instance. /// - (instancetype)initWithContentManager:(DBTEAMLOGWebSessionLogInfo *)contentManager; /// /// Initializes union class with tag state of "end_user". /// /// Description of the "end_user" tag state: End user session details. /// /// @param endUser End user session details. /// /// @return An initialized instance. /// - (instancetype)initWithEndUser:(DBTEAMLOGSessionLogInfo *)endUser; /// /// Initializes union class with tag state of "enterprise_console". /// /// Description of the "enterprise_console" tag state: Enterprise console /// session details. /// /// @param enterpriseConsole Enterprise console session details. /// /// @return An initialized instance. /// - (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". /// /// @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_console". /// /// @note Call this method and ensure it returns true before accessing the /// `adminConsole` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value "admin_console". /// - (BOOL)isAdminConsole; /// /// Retrieves whether the union's current tag state has value "api". /// /// @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 "api". /// - (BOOL)isApi; /// /// Retrieves whether the union's current tag state has value "content_manager". /// /// @note Call this method and ensure it returns true before accessing the /// `contentManager` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value "content_manager". /// - (BOOL)isContentManager; /// /// Retrieves whether the union's current tag state has value "end_user". /// /// @note Call this method and ensure it returns true before accessing the /// `endUser` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value "end_user". /// - (BOOL)isEndUser; /// /// Retrieves whether the union's current tag state has value /// "enterprise_console". /// /// @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 /// "enterprise_console". /// - (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". /// /// @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 `DBTEAMLOGAccessMethodLogInfo` union. /// @interface DBTEAMLOGAccessMethodLogInfoSerializer : NSObject /// /// Serializes `DBTEAMLOGAccessMethodLogInfo` instances. /// /// @param instance An instance of the `DBTEAMLOGAccessMethodLogInfo` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGAccessMethodLogInfo` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGAccessMethodLogInfo *)instance; /// /// Deserializes `DBTEAMLOGAccessMethodLogInfo` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGAccessMethodLogInfo` API object. /// /// @return An instantiation of the `DBTEAMLOGAccessMethodLogInfo` object. /// + (DBTEAMLOGAccessMethodLogInfo *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAccountCaptureAvailability.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGAccountCaptureAvailability; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `AccountCaptureAvailability` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMLOGAccountCaptureAvailability : NSObject #pragma mark - Instance fields /// The `DBTEAMLOGAccountCaptureAvailabilityTag` enum type represents the /// possible tag states with which the `DBTEAMLOGAccountCaptureAvailability` /// union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGAccountCaptureAvailabilityTag){ /// (no description). DBTEAMLOGAccountCaptureAvailabilityAvailable, /// (no description). DBTEAMLOGAccountCaptureAvailabilityUnavailable, /// (no description). DBTEAMLOGAccountCaptureAvailabilityOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMLOGAccountCaptureAvailabilityTag tag; #pragma mark - Constructors /// /// Initializes union class with tag state of "available". /// /// @return An initialized instance. /// - (instancetype)initWithAvailable; /// /// Initializes union class with tag state of "unavailable". /// /// @return An initialized instance. /// - (instancetype)initWithUnavailable; /// /// 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 "available". /// /// @return Whether the union's current tag state has value "available". /// - (BOOL)isAvailable; /// /// Retrieves whether the union's current tag state has value "unavailable". /// /// @return Whether the union's current tag state has value "unavailable". /// - (BOOL)isUnavailable; /// /// 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 `DBTEAMLOGAccountCaptureAvailability` union. /// @interface DBTEAMLOGAccountCaptureAvailabilitySerializer : NSObject /// /// Serializes `DBTEAMLOGAccountCaptureAvailability` instances. /// /// @param instance An instance of the `DBTEAMLOGAccountCaptureAvailability` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGAccountCaptureAvailability` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGAccountCaptureAvailability *)instance; /// /// Deserializes `DBTEAMLOGAccountCaptureAvailability` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGAccountCaptureAvailability` API object. /// /// @return An instantiation of the `DBTEAMLOGAccountCaptureAvailability` /// object. /// + (DBTEAMLOGAccountCaptureAvailability *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAccountCaptureChangeAvailabilityDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGAccountCaptureAvailability; @class DBTEAMLOGAccountCaptureChangeAvailabilityDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `AccountCaptureChangeAvailabilityDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGAccountCaptureChangeAvailabilityDetails : NSObject #pragma mark - Instance fields /// New account capture availabilty value. @property (nonatomic, readonly) DBTEAMLOGAccountCaptureAvailability *dNewValue; /// Previous account capture availabilty value. Might be missing due to /// historical data gap. @property (nonatomic, readonly, nullable) DBTEAMLOGAccountCaptureAvailability *previousValue; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param dNewValue New account capture availabilty value. /// @param previousValue Previous account capture availabilty value. Might be /// missing due to historical data gap. /// /// @return An initialized instance. /// - (instancetype)initWithDNewValue:(DBTEAMLOGAccountCaptureAvailability *)dNewValue previousValue:(nullable DBTEAMLOGAccountCaptureAvailability *)previousValue; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param dNewValue New account capture availabilty value. /// /// @return An initialized instance. /// - (instancetype)initWithDNewValue:(DBTEAMLOGAccountCaptureAvailability *)dNewValue; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `AccountCaptureChangeAvailabilityDetails` /// struct. /// @interface DBTEAMLOGAccountCaptureChangeAvailabilityDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGAccountCaptureChangeAvailabilityDetails` instances. /// /// @param instance An instance of the /// `DBTEAMLOGAccountCaptureChangeAvailabilityDetails` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGAccountCaptureChangeAvailabilityDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGAccountCaptureChangeAvailabilityDetails *)instance; /// /// Deserializes `DBTEAMLOGAccountCaptureChangeAvailabilityDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGAccountCaptureChangeAvailabilityDetails` API object. /// /// @return An instantiation of the /// `DBTEAMLOGAccountCaptureChangeAvailabilityDetails` object. /// + (DBTEAMLOGAccountCaptureChangeAvailabilityDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAccountCaptureChangeAvailabilityType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAccountCaptureChangePolicyDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGAccountCaptureChangePolicyDetails; @class DBTEAMLOGAccountCapturePolicy; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `AccountCaptureChangePolicyDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGAccountCaptureChangePolicyDetails : NSObject #pragma mark - Instance fields /// New account capture policy. @property (nonatomic, readonly) DBTEAMLOGAccountCapturePolicy *dNewValue; /// Previous account capture policy. Might be missing due to historical data /// gap. @property (nonatomic, readonly, nullable) DBTEAMLOGAccountCapturePolicy *previousValue; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param dNewValue New account capture policy. /// @param previousValue Previous account capture policy. Might be missing due /// to historical data gap. /// /// @return An initialized instance. /// - (instancetype)initWithDNewValue:(DBTEAMLOGAccountCapturePolicy *)dNewValue previousValue:(nullable DBTEAMLOGAccountCapturePolicy *)previousValue; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param dNewValue New account capture policy. /// /// @return An initialized instance. /// - (instancetype)initWithDNewValue:(DBTEAMLOGAccountCapturePolicy *)dNewValue; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `AccountCaptureChangePolicyDetails` struct. /// @interface DBTEAMLOGAccountCaptureChangePolicyDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGAccountCaptureChangePolicyDetails` instances. /// /// @param instance An instance of the /// `DBTEAMLOGAccountCaptureChangePolicyDetails` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGAccountCaptureChangePolicyDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGAccountCaptureChangePolicyDetails *)instance; /// /// Deserializes `DBTEAMLOGAccountCaptureChangePolicyDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGAccountCaptureChangePolicyDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGAccountCaptureChangePolicyDetails` /// object. /// + (DBTEAMLOGAccountCaptureChangePolicyDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAccountCaptureChangePolicyType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAccountCaptureMigrateAccountDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGAccountCaptureMigrateAccountDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `AccountCaptureMigrateAccountDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGAccountCaptureMigrateAccountDetails : NSObject #pragma mark - Instance fields /// Domain name. @property (nonatomic, readonly, copy) NSString *domainName; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @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 `AccountCaptureMigrateAccountDetails` /// struct. /// @interface DBTEAMLOGAccountCaptureMigrateAccountDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGAccountCaptureMigrateAccountDetails` instances. /// /// @param instance An instance of the /// `DBTEAMLOGAccountCaptureMigrateAccountDetails` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGAccountCaptureMigrateAccountDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGAccountCaptureMigrateAccountDetails *)instance; /// /// Deserializes `DBTEAMLOGAccountCaptureMigrateAccountDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGAccountCaptureMigrateAccountDetails` API object. /// /// @return An instantiation of the /// `DBTEAMLOGAccountCaptureMigrateAccountDetails` object. /// + (DBTEAMLOGAccountCaptureMigrateAccountDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAccountCaptureMigrateAccountType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAccountCaptureNotificationEmailsSentDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAccountCaptureNotificationEmailsSentType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAccountCaptureNotificationType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAccountCapturePolicy.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGAccountCapturePolicy; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `AccountCapturePolicy` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMLOGAccountCapturePolicy : NSObject #pragma mark - Instance fields /// The `DBTEAMLOGAccountCapturePolicyTag` enum type represents the possible tag /// states with which the `DBTEAMLOGAccountCapturePolicy` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGAccountCapturePolicyTag){ /// (no description). DBTEAMLOGAccountCapturePolicyAllUsers, /// (no description). DBTEAMLOGAccountCapturePolicyDisabled, /// (no description). DBTEAMLOGAccountCapturePolicyInvitedUsers, /// (no description). DBTEAMLOGAccountCapturePolicyPreventPersonalCreation, /// (no description). DBTEAMLOGAccountCapturePolicyOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMLOGAccountCapturePolicyTag tag; #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". /// /// @return An initialized instance. /// - (instancetype)initWithDisabled; /// /// Initializes union class with tag state of "invited_users". /// /// @return An initialized instance. /// - (instancetype)initWithInvitedUsers; /// /// Initializes union class with tag state of "prevent_personal_creation". /// /// @return An initialized instance. /// - (instancetype)initWithPreventPersonalCreation; /// /// 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 "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". /// /// @return Whether the union's current tag state has value "disabled". /// - (BOOL)isDisabled; /// /// Retrieves whether the union's current tag state has value "invited_users". /// /// @return Whether the union's current tag state has value "invited_users". /// - (BOOL)isInvitedUsers; /// /// Retrieves whether the union's current tag state has value /// "prevent_personal_creation". /// /// @return Whether the union's current tag state has value /// "prevent_personal_creation". /// - (BOOL)isPreventPersonalCreation; /// /// 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 `DBTEAMLOGAccountCapturePolicy` union. /// @interface DBTEAMLOGAccountCapturePolicySerializer : NSObject /// /// Serializes `DBTEAMLOGAccountCapturePolicy` instances. /// /// @param instance An instance of the `DBTEAMLOGAccountCapturePolicy` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGAccountCapturePolicy` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGAccountCapturePolicy *)instance; /// /// Deserializes `DBTEAMLOGAccountCapturePolicy` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGAccountCapturePolicy` API object. /// /// @return An instantiation of the `DBTEAMLOGAccountCapturePolicy` object. /// + (DBTEAMLOGAccountCapturePolicy *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAccountCaptureRelinquishAccountDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGAccountCaptureRelinquishAccountDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `AccountCaptureRelinquishAccountDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGAccountCaptureRelinquishAccountDetails : NSObject #pragma mark - Instance fields /// Domain name. @property (nonatomic, readonly, copy) NSString *domainName; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @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 `AccountCaptureRelinquishAccountDetails` /// struct. /// @interface DBTEAMLOGAccountCaptureRelinquishAccountDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGAccountCaptureRelinquishAccountDetails` instances. /// /// @param instance An instance of the /// `DBTEAMLOGAccountCaptureRelinquishAccountDetails` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGAccountCaptureRelinquishAccountDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGAccountCaptureRelinquishAccountDetails *)instance; /// /// Deserializes `DBTEAMLOGAccountCaptureRelinquishAccountDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGAccountCaptureRelinquishAccountDetails` API object. /// /// @return An instantiation of the /// `DBTEAMLOGAccountCaptureRelinquishAccountDetails` object. /// + (DBTEAMLOGAccountCaptureRelinquishAccountDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAccountCaptureRelinquishAccountType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAccountLockOrUnlockedDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAccountLockOrUnlockedType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAccountState.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGActionDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGActorLogInfo.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGActorLogInfo; @class DBTEAMLOGAppLogInfo; @class DBTEAMLOGResellerLogInfo; @class DBTEAMLOGUserLogInfo; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `ActorLogInfo` union. /// /// The entity who performed the action. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMLOGActorLogInfo : NSObject #pragma mark - Instance fields /// The `DBTEAMLOGActorLogInfoTag` enum type represents the possible tag states /// with which the `DBTEAMLOGActorLogInfo` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGActorLogInfoTag){ /// The admin who did the action. DBTEAMLOGActorLogInfoAdmin, /// Anonymous actor. DBTEAMLOGActorLogInfoAnonymous, /// The application who did the action. DBTEAMLOGActorLogInfoApp, /// Action done by Dropbox. DBTEAMLOGActorLogInfoDropbox, /// Action done by reseller. DBTEAMLOGActorLogInfoReseller, /// The user who did the action. DBTEAMLOGActorLogInfoUser, /// (no description). DBTEAMLOGActorLogInfoOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMLOGActorLogInfoTag tag; /// 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; /// The application who did the action. @note Ensure the `isApp` method returns /// true before accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) DBTEAMLOGAppLogInfo *app; /// Action done by reseller. @note Ensure the `isReseller` method returns true /// 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 "admin". /// /// Description of the "admin" tag state: The admin who did the action. /// /// @param admin The admin who did the action. /// /// @return An initialized instance. /// - (instancetype)initWithAdmin:(DBTEAMLOGUserLogInfo *)admin; /// /// Initializes union class with tag state of "anonymous". /// /// Description of the "anonymous" tag state: Anonymous actor. /// /// @return An initialized instance. /// - (instancetype)initWithAnonymous; /// /// Initializes union class with tag state of "app". /// /// Description of the "app" tag state: The application who did the action. /// /// @param app The application who did the action. /// /// @return An initialized instance. /// - (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". /// /// Description of the "reseller" tag state: Action done by reseller. /// /// @param reseller Action done by reseller. /// /// @return An initialized instance. /// - (instancetype)initWithReseller:(DBTEAMLOGResellerLogInfo *)reseller; /// /// Initializes union class with tag state of "user". /// /// 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)initWithUser:(DBTEAMLOGUserLogInfo *)user; /// /// 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". /// /// @note Call this method and ensure it returns true before accessing the /// `admin` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value "admin". /// - (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". /// /// @note Call this method and ensure it returns true before accessing the `app` /// property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value "app". /// - (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". /// /// @note Call this method and ensure it returns true before accessing the /// `reseller` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value "reseller". /// - (BOOL)isReseller; /// /// 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 "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 `DBTEAMLOGActorLogInfo` union. /// @interface DBTEAMLOGActorLogInfoSerializer : NSObject /// /// Serializes `DBTEAMLOGActorLogInfo` instances. /// /// @param instance An instance of the `DBTEAMLOGActorLogInfo` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGActorLogInfo` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGActorLogInfo *)instance; /// /// Deserializes `DBTEAMLOGActorLogInfo` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGActorLogInfo` API object. /// /// @return An instantiation of the `DBTEAMLOGActorLogInfo` object. /// + (DBTEAMLOGActorLogInfo *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAdminAlertCategoryEnum.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAdminAlertGeneralStateEnum.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAdminAlertSeverityEnum.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAdminAlertingAlertConfiguration.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAdminAlertingAlertSensitivity.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAdminAlertingAlertStateChangedDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAdminAlertingAlertStateChangedType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAdminAlertingAlertStatePolicy.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAdminAlertingChangedAlertConfigDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAdminAlertingChangedAlertConfigType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAdminAlertingTriggeredAlertDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAdminAlertingTriggeredAlertType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAdminConsoleAppPermission.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAdminConsoleAppPolicy.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAdminEmailRemindersChangedDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAdminEmailRemindersChangedType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAdminEmailRemindersPolicy.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAdminRole.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGAdminRole; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `AdminRole` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMLOGAdminRole : NSObject #pragma mark - Instance fields /// The `DBTEAMLOGAdminRoleTag` enum type represents the possible tag states /// with which the `DBTEAMLOGAdminRole` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGAdminRoleTag){ /// (no description). DBTEAMLOGAdminRoleBillingAdmin, /// (no description). DBTEAMLOGAdminRoleComplianceAdmin, /// (no description). DBTEAMLOGAdminRoleContentAdmin, /// (no description). DBTEAMLOGAdminRoleLimitedAdmin, /// (no description). DBTEAMLOGAdminRoleMemberOnly, /// (no description). DBTEAMLOGAdminRoleReportingAdmin, /// (no description). DBTEAMLOGAdminRoleSecurityAdmin, /// (no description). DBTEAMLOGAdminRoleSupportAdmin, /// (no description). DBTEAMLOGAdminRoleTeamAdmin, /// (no description). DBTEAMLOGAdminRoleUserManagementAdmin, /// (no description). DBTEAMLOGAdminRoleOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMLOGAdminRoleTag tag; #pragma mark - Constructors /// /// 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)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". /// /// @return An initialized instance. /// - (instancetype)initWithLimitedAdmin; /// /// Initializes union class with tag state of "member_only". /// /// @return An initialized instance. /// - (instancetype)initWithMemberOnly; /// /// Initializes union class with tag state of "reporting_admin". /// /// @return An initialized instance. /// - (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". /// /// @return An initialized instance. /// - (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". /// /// @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 "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 "content_admin". /// - (BOOL)isContentAdmin; /// /// Retrieves whether the union's current tag state has value "limited_admin". /// /// @return Whether the union's current tag state has value "limited_admin". /// - (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". /// /// @return Whether the union's current tag state has value "support_admin". /// - (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". /// /// @return Whether the union's current tag state has value /// "user_management_admin". /// - (BOOL)isUserManagementAdmin; /// /// 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 `DBTEAMLOGAdminRole` union. /// @interface DBTEAMLOGAdminRoleSerializer : NSObject /// /// Serializes `DBTEAMLOGAdminRole` instances. /// /// @param instance An instance of the `DBTEAMLOGAdminRole` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGAdminRole` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGAdminRole *)instance; /// /// Deserializes `DBTEAMLOGAdminRole` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGAdminRole` API object. /// /// @return An instantiation of the `DBTEAMLOGAdminRole` object. /// + (DBTEAMLOGAdminRole *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAlertRecipientsSettingType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAllowDownloadDisabledDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGAllowDownloadDisabledDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `AllowDownloadDisabledDetails` 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 DBTEAMLOGAllowDownloadDisabledDetails : 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 `AllowDownloadDisabledDetails` struct. /// @interface DBTEAMLOGAllowDownloadDisabledDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGAllowDownloadDisabledDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGAllowDownloadDisabledDetails` /// API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGAllowDownloadDisabledDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGAllowDownloadDisabledDetails *)instance; /// /// Deserializes `DBTEAMLOGAllowDownloadDisabledDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGAllowDownloadDisabledDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGAllowDownloadDisabledDetails` /// object. /// + (DBTEAMLOGAllowDownloadDisabledDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAllowDownloadDisabledType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAllowDownloadEnabledDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGAllowDownloadEnabledDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `AllowDownloadEnabledDetails` 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 DBTEAMLOGAllowDownloadEnabledDetails : 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 `AllowDownloadEnabledDetails` struct. /// @interface DBTEAMLOGAllowDownloadEnabledDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGAllowDownloadEnabledDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGAllowDownloadEnabledDetails` /// API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGAllowDownloadEnabledDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGAllowDownloadEnabledDetails *)instance; /// /// Deserializes `DBTEAMLOGAllowDownloadEnabledDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGAllowDownloadEnabledDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGAllowDownloadEnabledDetails` /// object. /// + (DBTEAMLOGAllowDownloadEnabledDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAllowDownloadEnabledType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGApiSessionLogInfo.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGApiSessionLogInfo; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `ApiSessionLogInfo` struct. /// /// Api session. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMLOGApiSessionLogInfo : NSObject #pragma mark - Instance fields /// Api request ID. @property (nonatomic, readonly, copy) NSString *requestId; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param requestId Api request ID. /// /// @return An initialized instance. /// - (instancetype)initWithRequestId:(NSString *)requestId; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `ApiSessionLogInfo` struct. /// @interface DBTEAMLOGApiSessionLogInfoSerializer : NSObject /// /// Serializes `DBTEAMLOGApiSessionLogInfo` instances. /// /// @param instance An instance of the `DBTEAMLOGApiSessionLogInfo` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGApiSessionLogInfo` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGApiSessionLogInfo *)instance; /// /// Deserializes `DBTEAMLOGApiSessionLogInfo` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGApiSessionLogInfo` API object. /// /// @return An instantiation of the `DBTEAMLOGApiSessionLogInfo` object. /// + (DBTEAMLOGApiSessionLogInfo *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAppBlockedByPermissionsDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAppBlockedByPermissionsType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAppLinkTeamDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGAppLinkTeamDetails; @class DBTEAMLOGAppLogInfo; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `AppLinkTeamDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGAppLinkTeamDetails : 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 `AppLinkTeamDetails` struct. /// @interface DBTEAMLOGAppLinkTeamDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGAppLinkTeamDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGAppLinkTeamDetails` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGAppLinkTeamDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGAppLinkTeamDetails *)instance; /// /// Deserializes `DBTEAMLOGAppLinkTeamDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGAppLinkTeamDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGAppLinkTeamDetails` object. /// + (DBTEAMLOGAppLinkTeamDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAppLinkTeamType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAppLinkUserDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGAppLinkUserDetails; @class DBTEAMLOGAppLogInfo; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `AppLinkUserDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGAppLinkUserDetails : 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 `AppLinkUserDetails` struct. /// @interface DBTEAMLOGAppLinkUserDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGAppLinkUserDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGAppLinkUserDetails` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGAppLinkUserDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGAppLinkUserDetails *)instance; /// /// Deserializes `DBTEAMLOGAppLinkUserDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGAppLinkUserDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGAppLinkUserDetails` object. /// + (DBTEAMLOGAppLinkUserDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAppLinkUserType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAppLogInfo.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGAppLogInfo; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `AppLogInfo` struct. /// /// App'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 DBTEAMLOGAppLogInfo : NSObject #pragma mark - Instance fields /// App unique ID. @property (nonatomic, readonly, copy, nullable) NSString *appId; /// App display name. @property (nonatomic, readonly, copy, nullable) NSString *displayName; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param appId App unique ID. /// @param displayName App display name. /// /// @return An initialized instance. /// - (instancetype)initWithAppId:(nullable NSString *)appId displayName:(nullable NSString *)displayName; /// /// 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 `AppLogInfo` struct. /// @interface DBTEAMLOGAppLogInfoSerializer : NSObject /// /// Serializes `DBTEAMLOGAppLogInfo` instances. /// /// @param instance An instance of the `DBTEAMLOGAppLogInfo` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGAppLogInfo` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGAppLogInfo *)instance; /// /// Deserializes `DBTEAMLOGAppLogInfo` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGAppLogInfo` API object. /// /// @return An instantiation of the `DBTEAMLOGAppLogInfo` object. /// + (DBTEAMLOGAppLogInfo *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAppPermissionsChangedDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAppPermissionsChangedType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAppUnlinkTeamDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGAppLogInfo; @class DBTEAMLOGAppUnlinkTeamDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `AppUnlinkTeamDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGAppUnlinkTeamDetails : 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 `AppUnlinkTeamDetails` struct. /// @interface DBTEAMLOGAppUnlinkTeamDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGAppUnlinkTeamDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGAppUnlinkTeamDetails` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGAppUnlinkTeamDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGAppUnlinkTeamDetails *)instance; /// /// Deserializes `DBTEAMLOGAppUnlinkTeamDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGAppUnlinkTeamDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGAppUnlinkTeamDetails` object. /// + (DBTEAMLOGAppUnlinkTeamDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAppUnlinkTeamType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAppUnlinkUserDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGAppLogInfo; @class DBTEAMLOGAppUnlinkUserDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `AppUnlinkUserDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGAppUnlinkUserDetails : 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 `AppUnlinkUserDetails` struct. /// @interface DBTEAMLOGAppUnlinkUserDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGAppUnlinkUserDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGAppUnlinkUserDetails` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGAppUnlinkUserDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGAppUnlinkUserDetails *)instance; /// /// Deserializes `DBTEAMLOGAppUnlinkUserDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGAppUnlinkUserDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGAppUnlinkUserDetails` object. /// + (DBTEAMLOGAppUnlinkUserDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAppUnlinkUserType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGApplyNamingConventionDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGApplyNamingConventionType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAssetLogInfo.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGAssetLogInfo; @class DBTEAMLOGFileLogInfo; @class DBTEAMLOGFolderLogInfo; @class DBTEAMLOGPaperDocumentLogInfo; @class DBTEAMLOGPaperFolderLogInfo; @class DBTEAMLOGShowcaseDocumentLogInfo; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `AssetLogInfo` union. /// /// Asset details. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMLOGAssetLogInfo : NSObject #pragma mark - Instance fields /// The `DBTEAMLOGAssetLogInfoTag` enum type represents the possible tag states /// with which the `DBTEAMLOGAssetLogInfo` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGAssetLogInfoTag){ /// File's details. DBTEAMLOGAssetLogInfoFile, /// Folder's details. DBTEAMLOGAssetLogInfoFolder, /// Paper document's details. DBTEAMLOGAssetLogInfoPaperDocument, /// Paper folder's details. DBTEAMLOGAssetLogInfoPaperFolder, /// Showcase document's details. DBTEAMLOGAssetLogInfoShowcaseDocument, /// (no description). DBTEAMLOGAssetLogInfoOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMLOGAssetLogInfoTag tag; /// File's details. @note Ensure the `isFile` method returns true before /// accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) DBTEAMLOGFileLogInfo *file; /// Folder's details. @note Ensure the `isFolder` method returns true before /// accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) DBTEAMLOGFolderLogInfo *folder; /// 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; /// Paper folder's details. @note Ensure the `isPaperFolder` method returns true /// 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 /// /// Initializes union class with tag state of "file". /// /// Description of the "file" tag state: File's details. /// /// @param file File's details. /// /// @return An initialized instance. /// - (instancetype)initWithFile:(DBTEAMLOGFileLogInfo *)file; /// /// Initializes union class with tag state of "folder". /// /// Description of the "folder" tag state: Folder's details. /// /// @param folder Folder's details. /// /// @return An initialized instance. /// - (instancetype)initWithFolder:(DBTEAMLOGFolderLogInfo *)folder; /// /// Initializes union class with tag state of "paper_document". /// /// Description of the "paper_document" tag state: Paper document's details. /// /// @param paperDocument Paper document's details. /// /// @return An initialized instance. /// - (instancetype)initWithPaperDocument:(DBTEAMLOGPaperDocumentLogInfo *)paperDocument; /// /// Initializes union class with tag state of "paper_folder". /// /// Description of the "paper_folder" tag state: Paper folder's details. /// /// @param paperFolder Paper folder's details. /// /// @return An initialized instance. /// - (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". /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `file` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value "file". /// - (BOOL)isFile; /// /// Retrieves whether the union's current tag state has value "folder". /// /// @note Call this method and ensure it returns true before accessing the /// `folder` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value "folder". /// - (BOOL)isFolder; /// /// Retrieves whether the union's current tag state has value "paper_document". /// /// @note Call this method and ensure it returns true before accessing the /// `paperDocument` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value "paper_document". /// - (BOOL)isPaperDocument; /// /// Retrieves whether the union's current tag state has value "paper_folder". /// /// @note Call this method and ensure it returns true before accessing the /// `paperFolder` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value "paper_folder". /// - (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". /// /// @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 `DBTEAMLOGAssetLogInfo` union. /// @interface DBTEAMLOGAssetLogInfoSerializer : NSObject /// /// Serializes `DBTEAMLOGAssetLogInfo` instances. /// /// @param instance An instance of the `DBTEAMLOGAssetLogInfo` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGAssetLogInfo` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGAssetLogInfo *)instance; /// /// Deserializes `DBTEAMLOGAssetLogInfo` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGAssetLogInfo` API object. /// /// @return An instantiation of the `DBTEAMLOGAssetLogInfo` object. /// + (DBTEAMLOGAssetLogInfo *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGBackupAdminInvitationSentDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGBackupAdminInvitationSentDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `BackupAdminInvitationSentDetails` struct. /// /// 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 DBTEAMLOGBackupAdminInvitationSentDetails : 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 `BackupAdminInvitationSentDetails` struct. /// @interface DBTEAMLOGBackupAdminInvitationSentDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGBackupAdminInvitationSentDetails` instances. /// /// @param instance An instance of the /// `DBTEAMLOGBackupAdminInvitationSentDetails` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGBackupAdminInvitationSentDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGBackupAdminInvitationSentDetails *)instance; /// /// Deserializes `DBTEAMLOGBackupAdminInvitationSentDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGBackupAdminInvitationSentDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGBackupAdminInvitationSentDetails` /// object. /// + (DBTEAMLOGBackupAdminInvitationSentDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGBackupAdminInvitationSentType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGBackupInvitationOpenedDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGBackupInvitationOpenedType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGBackupStatus.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGBinderAddPageDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGBinderAddPageType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGBinderAddSectionDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGBinderAddSectionType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGBinderRemovePageDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGBinderRemovePageType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGBinderRemoveSectionDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGBinderRemoveSectionType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGBinderRenamePageDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGBinderRenamePageType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGBinderRenameSectionDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGBinderRenameSectionType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGBinderReorderPageDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGBinderReorderPageType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGBinderReorderSectionDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGBinderReorderSectionType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGCameraUploadsPolicy.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGCameraUploadsPolicyChangedDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGCameraUploadsPolicyChangedType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGCaptureTranscriptPolicy.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGCaptureTranscriptPolicyChangedDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGCaptureTranscriptPolicyChangedType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGCertificate.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGCertificate; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `Certificate` struct. /// /// Certificate details. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMLOGCertificate : NSObject #pragma mark - Instance fields /// Certificate subject. @property (nonatomic, readonly, copy) NSString *subject; /// Certificate issuer. @property (nonatomic, readonly, copy) NSString *issuer; /// Certificate issue date. @property (nonatomic, readonly, copy) NSString *issueDate; /// Certificate expiration date. @property (nonatomic, readonly, copy) NSString *expirationDate; /// Certificate serial number. @property (nonatomic, readonly, copy) NSString *serialNumber; /// Certificate sha1 fingerprint. @property (nonatomic, readonly, copy) NSString *sha1Fingerprint; /// Certificate common name. @property (nonatomic, readonly, copy, nullable) NSString *commonName; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param subject Certificate subject. /// @param issuer Certificate issuer. /// @param issueDate Certificate issue date. /// @param expirationDate Certificate expiration date. /// @param serialNumber Certificate serial number. /// @param sha1Fingerprint Certificate sha1 fingerprint. /// @param commonName Certificate common name. /// /// @return An initialized instance. /// - (instancetype)initWithSubject:(NSString *)subject issuer:(NSString *)issuer issueDate:(NSString *)issueDate expirationDate:(NSString *)expirationDate serialNumber:(NSString *)serialNumber sha1Fingerprint:(NSString *)sha1Fingerprint commonName:(nullable NSString *)commonName; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param subject Certificate subject. /// @param issuer Certificate issuer. /// @param issueDate Certificate issue date. /// @param expirationDate Certificate expiration date. /// @param serialNumber Certificate serial number. /// @param sha1Fingerprint Certificate sha1 fingerprint. /// /// @return An initialized instance. /// - (instancetype)initWithSubject:(NSString *)subject issuer:(NSString *)issuer issueDate:(NSString *)issueDate expirationDate:(NSString *)expirationDate serialNumber:(NSString *)serialNumber sha1Fingerprint:(NSString *)sha1Fingerprint; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `Certificate` struct. /// @interface DBTEAMLOGCertificateSerializer : NSObject /// /// Serializes `DBTEAMLOGCertificate` instances. /// /// @param instance An instance of the `DBTEAMLOGCertificate` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGCertificate` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGCertificate *)instance; /// /// Deserializes `DBTEAMLOGCertificate` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGCertificate` API object. /// /// @return An instantiation of the `DBTEAMLOGCertificate` object. /// + (DBTEAMLOGCertificate *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGChangeLinkExpirationPolicy.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGChangedEnterpriseAdminRoleDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGChangedEnterpriseAdminRoleType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGChangedEnterpriseConnectedTeamStatusDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGChangedEnterpriseConnectedTeamStatusType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGClassificationChangePolicyDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGClassificationChangePolicyType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGClassificationCreateReportDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGClassificationCreateReportFailDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGClassificationCreateReportFailType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGClassificationCreateReportType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGClassificationPolicyEnumWrapper.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGClassificationType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGCollectionShareDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGCollectionShareDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `CollectionShareDetails` struct. /// /// Shared album. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMLOGCollectionShareDetails : NSObject #pragma mark - Instance fields /// Album name. @property (nonatomic, readonly, copy) NSString *albumName; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param albumName Album name. /// /// @return An initialized instance. /// - (instancetype)initWithAlbumName:(NSString *)albumName; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `CollectionShareDetails` struct. /// @interface DBTEAMLOGCollectionShareDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGCollectionShareDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGCollectionShareDetails` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGCollectionShareDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGCollectionShareDetails *)instance; /// /// Deserializes `DBTEAMLOGCollectionShareDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGCollectionShareDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGCollectionShareDetails` object. /// + (DBTEAMLOGCollectionShareDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGCollectionShareType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGComputerBackupPolicy.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGComputerBackupPolicyChangedDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGComputerBackupPolicyChangedType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGConnectedTeamName.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGContentAdministrationPolicyChangedDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGContentAdministrationPolicyChangedType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGContentPermanentDeletePolicy.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGContentPermanentDeletePolicy; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `ContentPermanentDeletePolicy` union. /// /// Policy for pemanent content deletion /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMLOGContentPermanentDeletePolicy : NSObject #pragma mark - Instance fields /// The `DBTEAMLOGContentPermanentDeletePolicyTag` enum type represents the /// possible tag states with which the `DBTEAMLOGContentPermanentDeletePolicy` /// union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGContentPermanentDeletePolicyTag){ /// (no description). DBTEAMLOGContentPermanentDeletePolicyDisabled, /// (no description). DBTEAMLOGContentPermanentDeletePolicyEnabled, /// (no description). DBTEAMLOGContentPermanentDeletePolicyOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMLOGContentPermanentDeletePolicyTag 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 `DBTEAMLOGContentPermanentDeletePolicy` /// union. /// @interface DBTEAMLOGContentPermanentDeletePolicySerializer : NSObject /// /// Serializes `DBTEAMLOGContentPermanentDeletePolicy` instances. /// /// @param instance An instance of the `DBTEAMLOGContentPermanentDeletePolicy` /// API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGContentPermanentDeletePolicy` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGContentPermanentDeletePolicy *)instance; /// /// Deserializes `DBTEAMLOGContentPermanentDeletePolicy` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGContentPermanentDeletePolicy` API object. /// /// @return An instantiation of the `DBTEAMLOGContentPermanentDeletePolicy` /// object. /// + (DBTEAMLOGContentPermanentDeletePolicy *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGContextLogInfo.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGContextLogInfo; @class DBTEAMLOGNonTeamMemberLogInfo; @class DBTEAMLOGTeamLogInfo; @class DBTEAMLOGTeamMemberLogInfo; @class DBTEAMLOGTrustedNonTeamMemberLogInfo; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `ContextLogInfo` union. /// /// The primary entity on which the action was done. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMLOGContextLogInfo : NSObject #pragma mark - Instance fields /// The `DBTEAMLOGContextLogInfoTag` enum type represents the possible tag /// states with which the `DBTEAMLOGContextLogInfo` union can exist. 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 team that's part of an organization. DBTEAMLOGContextLogInfoOrganizationTeam, /// 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 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 "anonymous". /// /// Description of the "anonymous" tag state: Anonymous context. /// /// @return An initialized instance. /// - (instancetype)initWithAnonymous; /// /// Initializes union class with tag state of "non_team_member". /// /// Description of the "non_team_member" tag state: Action was done on behalf of /// a non team member. /// /// @param nonTeamMember Action was done on behalf of a non team member. /// /// @return An initialized instance. /// - (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". /// /// Description of the "team" tag state: Action was done on behalf of the team. /// /// @return An initialized instance. /// - (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". /// /// @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 "anonymous". /// /// @return Whether the union's current tag state has value "anonymous". /// - (BOOL)isAnonymous; /// /// Retrieves whether the union's current tag state has value "non_team_member". /// /// @note Call this method and ensure it returns true before accessing the /// `nonTeamMember` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value "non_team_member". /// - (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". /// /// @return Whether the union's current tag state has value "team". /// - (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". /// /// @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 `DBTEAMLOGContextLogInfo` union. /// @interface DBTEAMLOGContextLogInfoSerializer : NSObject /// /// Serializes `DBTEAMLOGContextLogInfo` instances. /// /// @param instance An instance of the `DBTEAMLOGContextLogInfo` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGContextLogInfo` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGContextLogInfo *)instance; /// /// Deserializes `DBTEAMLOGContextLogInfo` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGContextLogInfo` API object. /// /// @return An instantiation of the `DBTEAMLOGContextLogInfo` object. /// + (DBTEAMLOGContextLogInfo *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGCreateFolderDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGCreateFolderDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `CreateFolderDetails` struct. /// /// Created folders. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMLOGCreateFolderDetails : 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 `CreateFolderDetails` struct. /// @interface DBTEAMLOGCreateFolderDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGCreateFolderDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGCreateFolderDetails` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGCreateFolderDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGCreateFolderDetails *)instance; /// /// Deserializes `DBTEAMLOGCreateFolderDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGCreateFolderDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGCreateFolderDetails` object. /// + (DBTEAMLOGCreateFolderDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGCreateFolderType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGCreateTeamInviteLinkDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGCreateTeamInviteLinkType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDataPlacementRestrictionChangePolicyDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGDataPlacementRestrictionChangePolicyDetails; @class DBTEAMLOGPlacementRestriction; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `DataPlacementRestrictionChangePolicyDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGDataPlacementRestrictionChangePolicyDetails : NSObject #pragma mark - Instance fields /// Previous placement restriction. @property (nonatomic, readonly) DBTEAMLOGPlacementRestriction *previousValue; /// New placement restriction. @property (nonatomic, readonly) DBTEAMLOGPlacementRestriction *dNewValue; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param previousValue Previous placement restriction. /// @param dNewValue New placement restriction. /// /// @return An initialized instance. /// - (instancetype)initWithPreviousValue:(DBTEAMLOGPlacementRestriction *)previousValue dNewValue:(DBTEAMLOGPlacementRestriction *)dNewValue; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the /// `DataPlacementRestrictionChangePolicyDetails` struct. /// @interface DBTEAMLOGDataPlacementRestrictionChangePolicyDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGDataPlacementRestrictionChangePolicyDetails` instances. /// /// @param instance An instance of the /// `DBTEAMLOGDataPlacementRestrictionChangePolicyDetails` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGDataPlacementRestrictionChangePolicyDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGDataPlacementRestrictionChangePolicyDetails *)instance; /// /// Deserializes `DBTEAMLOGDataPlacementRestrictionChangePolicyDetails` /// instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGDataPlacementRestrictionChangePolicyDetails` API object. /// /// @return An instantiation of the /// `DBTEAMLOGDataPlacementRestrictionChangePolicyDetails` object. /// + (DBTEAMLOGDataPlacementRestrictionChangePolicyDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDataPlacementRestrictionChangePolicyType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDataPlacementRestrictionSatisfyPolicyDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGDataPlacementRestrictionSatisfyPolicyDetails; @class DBTEAMLOGPlacementRestriction; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `DataPlacementRestrictionSatisfyPolicyDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGDataPlacementRestrictionSatisfyPolicyDetails : NSObject #pragma mark - Instance fields /// Placement restriction. @property (nonatomic, readonly) DBTEAMLOGPlacementRestriction *placementRestriction; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param placementRestriction Placement restriction. /// /// @return An initialized instance. /// - (instancetype)initWithPlacementRestriction:(DBTEAMLOGPlacementRestriction *)placementRestriction; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the /// `DataPlacementRestrictionSatisfyPolicyDetails` struct. /// @interface DBTEAMLOGDataPlacementRestrictionSatisfyPolicyDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGDataPlacementRestrictionSatisfyPolicyDetails` /// instances. /// /// @param instance An instance of the /// `DBTEAMLOGDataPlacementRestrictionSatisfyPolicyDetails` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGDataPlacementRestrictionSatisfyPolicyDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGDataPlacementRestrictionSatisfyPolicyDetails *)instance; /// /// Deserializes `DBTEAMLOGDataPlacementRestrictionSatisfyPolicyDetails` /// instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGDataPlacementRestrictionSatisfyPolicyDetails` API object. /// /// @return An instantiation of the /// `DBTEAMLOGDataPlacementRestrictionSatisfyPolicyDetails` object. /// + (DBTEAMLOGDataPlacementRestrictionSatisfyPolicyDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDataPlacementRestrictionSatisfyPolicyType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDataResidencyMigrationRequestSuccessfulDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDataResidencyMigrationRequestSuccessfulType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDataResidencyMigrationRequestUnsuccessfulDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDataResidencyMigrationRequestUnsuccessfulType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDefaultLinkExpirationDaysPolicy.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeleteTeamInviteLinkDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeleteTeamInviteLinkType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDesktopDeviceSessionLogInfo.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDesktopSessionLogInfo.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" #import "DBTEAMLOGSessionLogInfo.h" @class DBTEAMLOGDesktopSessionLogInfo; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `DesktopSessionLogInfo` struct. /// /// Desktop session. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMLOGDesktopSessionLogInfo : DBTEAMLOGSessionLogInfo #pragma mark - Instance fields #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param sessionId Session ID. /// /// @return An initialized instance. /// - (instancetype)initWithSessionId:(nullable NSString *)sessionId; /// /// 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 `DesktopSessionLogInfo` struct. /// @interface DBTEAMLOGDesktopSessionLogInfoSerializer : NSObject /// /// Serializes `DBTEAMLOGDesktopSessionLogInfo` instances. /// /// @param instance An instance of the `DBTEAMLOGDesktopSessionLogInfo` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGDesktopSessionLogInfo` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGDesktopSessionLogInfo *)instance; /// /// Deserializes `DBTEAMLOGDesktopSessionLogInfo` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGDesktopSessionLogInfo` API object. /// /// @return An instantiation of the `DBTEAMLOGDesktopSessionLogInfo` object. /// + (DBTEAMLOGDesktopSessionLogInfo *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceApprovalsAddExceptionDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceApprovalsAddExceptionType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceApprovalsChangeDesktopPolicyDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGDeviceApprovalsChangeDesktopPolicyDetails; @class DBTEAMLOGDeviceApprovalsPolicy; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `DeviceApprovalsChangeDesktopPolicyDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGDeviceApprovalsChangeDesktopPolicyDetails : NSObject #pragma mark - Instance fields /// New desktop device approvals policy. Might be missing due to historical data /// gap. @property (nonatomic, readonly, nullable) DBTEAMLOGDeviceApprovalsPolicy *dNewValue; /// Previous desktop device approvals policy. Might be missing due to historical /// data gap. @property (nonatomic, readonly, nullable) DBTEAMLOGDeviceApprovalsPolicy *previousValue; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param dNewValue New desktop device approvals policy. Might be missing due /// to historical data gap. /// @param previousValue Previous desktop device approvals policy. Might be /// missing due to historical data gap. /// /// @return An initialized instance. /// - (instancetype)initWithDNewValue:(nullable DBTEAMLOGDeviceApprovalsPolicy *)dNewValue previousValue:(nullable DBTEAMLOGDeviceApprovalsPolicy *)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 `DeviceApprovalsChangeDesktopPolicyDetails` /// struct. /// @interface DBTEAMLOGDeviceApprovalsChangeDesktopPolicyDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGDeviceApprovalsChangeDesktopPolicyDetails` instances. /// /// @param instance An instance of the /// `DBTEAMLOGDeviceApprovalsChangeDesktopPolicyDetails` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGDeviceApprovalsChangeDesktopPolicyDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGDeviceApprovalsChangeDesktopPolicyDetails *)instance; /// /// Deserializes `DBTEAMLOGDeviceApprovalsChangeDesktopPolicyDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGDeviceApprovalsChangeDesktopPolicyDetails` API object. /// /// @return An instantiation of the /// `DBTEAMLOGDeviceApprovalsChangeDesktopPolicyDetails` object. /// + (DBTEAMLOGDeviceApprovalsChangeDesktopPolicyDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceApprovalsChangeDesktopPolicyType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceApprovalsChangeMobilePolicyDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGDeviceApprovalsChangeMobilePolicyDetails; @class DBTEAMLOGDeviceApprovalsPolicy; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `DeviceApprovalsChangeMobilePolicyDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGDeviceApprovalsChangeMobilePolicyDetails : NSObject #pragma mark - Instance fields /// New mobile device approvals policy. Might be missing due to historical data /// gap. @property (nonatomic, readonly, nullable) DBTEAMLOGDeviceApprovalsPolicy *dNewValue; /// Previous mobile device approvals policy. Might be missing due to historical /// data gap. @property (nonatomic, readonly, nullable) DBTEAMLOGDeviceApprovalsPolicy *previousValue; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param dNewValue New mobile device approvals policy. Might be missing due to /// historical data gap. /// @param previousValue Previous mobile device approvals policy. Might be /// missing due to historical data gap. /// /// @return An initialized instance. /// - (instancetype)initWithDNewValue:(nullable DBTEAMLOGDeviceApprovalsPolicy *)dNewValue previousValue:(nullable DBTEAMLOGDeviceApprovalsPolicy *)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 `DeviceApprovalsChangeMobilePolicyDetails` /// struct. /// @interface DBTEAMLOGDeviceApprovalsChangeMobilePolicyDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGDeviceApprovalsChangeMobilePolicyDetails` instances. /// /// @param instance An instance of the /// `DBTEAMLOGDeviceApprovalsChangeMobilePolicyDetails` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGDeviceApprovalsChangeMobilePolicyDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGDeviceApprovalsChangeMobilePolicyDetails *)instance; /// /// Deserializes `DBTEAMLOGDeviceApprovalsChangeMobilePolicyDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGDeviceApprovalsChangeMobilePolicyDetails` API object. /// /// @return An instantiation of the /// `DBTEAMLOGDeviceApprovalsChangeMobilePolicyDetails` object. /// + (DBTEAMLOGDeviceApprovalsChangeMobilePolicyDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceApprovalsChangeMobilePolicyType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceApprovalsChangeOverageActionDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGDeviceApprovalsChangeOverageActionDetails; @class DBTEAMPOLICIESRolloutMethod; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `DeviceApprovalsChangeOverageActionDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGDeviceApprovalsChangeOverageActionDetails : NSObject #pragma mark - Instance fields /// New over the limits policy. Might be missing due to historical data gap. @property (nonatomic, readonly, nullable) DBTEAMPOLICIESRolloutMethod *dNewValue; /// Previous over the limit policy. Might be missing due to historical data gap. @property (nonatomic, readonly, nullable) DBTEAMPOLICIESRolloutMethod *previousValue; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param dNewValue New over the limits policy. Might be missing due to /// historical data gap. /// @param previousValue Previous over the limit policy. Might be missing due to /// historical data gap. /// /// @return An initialized instance. /// - (instancetype)initWithDNewValue:(nullable DBTEAMPOLICIESRolloutMethod *)dNewValue previousValue:(nullable DBTEAMPOLICIESRolloutMethod *)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 `DeviceApprovalsChangeOverageActionDetails` /// struct. /// @interface DBTEAMLOGDeviceApprovalsChangeOverageActionDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGDeviceApprovalsChangeOverageActionDetails` instances. /// /// @param instance An instance of the /// `DBTEAMLOGDeviceApprovalsChangeOverageActionDetails` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGDeviceApprovalsChangeOverageActionDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGDeviceApprovalsChangeOverageActionDetails *)instance; /// /// Deserializes `DBTEAMLOGDeviceApprovalsChangeOverageActionDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGDeviceApprovalsChangeOverageActionDetails` API object. /// /// @return An instantiation of the /// `DBTEAMLOGDeviceApprovalsChangeOverageActionDetails` object. /// + (DBTEAMLOGDeviceApprovalsChangeOverageActionDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceApprovalsChangeOverageActionType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceApprovalsChangeUnlinkActionDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGDeviceApprovalsChangeUnlinkActionDetails; @class DBTEAMLOGDeviceUnlinkPolicy; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `DeviceApprovalsChangeUnlinkActionDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGDeviceApprovalsChangeUnlinkActionDetails : NSObject #pragma mark - Instance fields /// New device unlink policy. Might be missing due to historical data gap. @property (nonatomic, readonly, nullable) DBTEAMLOGDeviceUnlinkPolicy *dNewValue; /// Previous device unlink policy. Might be missing due to historical data gap. @property (nonatomic, readonly, nullable) DBTEAMLOGDeviceUnlinkPolicy *previousValue; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param dNewValue New device unlink policy. Might be missing due to /// historical data gap. /// @param previousValue Previous device unlink policy. Might be missing due to /// historical data gap. /// /// @return An initialized instance. /// - (instancetype)initWithDNewValue:(nullable DBTEAMLOGDeviceUnlinkPolicy *)dNewValue previousValue:(nullable DBTEAMLOGDeviceUnlinkPolicy *)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 `DeviceApprovalsChangeUnlinkActionDetails` /// struct. /// @interface DBTEAMLOGDeviceApprovalsChangeUnlinkActionDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGDeviceApprovalsChangeUnlinkActionDetails` instances. /// /// @param instance An instance of the /// `DBTEAMLOGDeviceApprovalsChangeUnlinkActionDetails` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGDeviceApprovalsChangeUnlinkActionDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGDeviceApprovalsChangeUnlinkActionDetails *)instance; /// /// Deserializes `DBTEAMLOGDeviceApprovalsChangeUnlinkActionDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGDeviceApprovalsChangeUnlinkActionDetails` API object. /// /// @return An instantiation of the /// `DBTEAMLOGDeviceApprovalsChangeUnlinkActionDetails` object. /// + (DBTEAMLOGDeviceApprovalsChangeUnlinkActionDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceApprovalsChangeUnlinkActionType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceApprovalsPolicy.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGDeviceApprovalsPolicy; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `DeviceApprovalsPolicy` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMLOGDeviceApprovalsPolicy : NSObject #pragma mark - Instance fields /// The `DBTEAMLOGDeviceApprovalsPolicyTag` enum type represents the possible /// tag states with which the `DBTEAMLOGDeviceApprovalsPolicy` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGDeviceApprovalsPolicyTag){ /// (no description). DBTEAMLOGDeviceApprovalsPolicyLimited, /// (no description). DBTEAMLOGDeviceApprovalsPolicyUnlimited, /// (no description). DBTEAMLOGDeviceApprovalsPolicyOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMLOGDeviceApprovalsPolicyTag tag; #pragma mark - Constructors /// /// Initializes union class with tag state of "limited". /// /// @return An initialized instance. /// - (instancetype)initWithLimited; /// /// Initializes union class with tag state of "unlimited". /// /// @return An initialized instance. /// - (instancetype)initWithUnlimited; /// /// 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 "limited". /// /// @return Whether the union's current tag state has value "limited". /// - (BOOL)isLimited; /// /// Retrieves whether the union's current tag state has value "unlimited". /// /// @return Whether the union's current tag state has value "unlimited". /// - (BOOL)isUnlimited; /// /// 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 `DBTEAMLOGDeviceApprovalsPolicy` union. /// @interface DBTEAMLOGDeviceApprovalsPolicySerializer : NSObject /// /// Serializes `DBTEAMLOGDeviceApprovalsPolicy` instances. /// /// @param instance An instance of the `DBTEAMLOGDeviceApprovalsPolicy` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGDeviceApprovalsPolicy` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGDeviceApprovalsPolicy *)instance; /// /// Deserializes `DBTEAMLOGDeviceApprovalsPolicy` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGDeviceApprovalsPolicy` API object. /// /// @return An instantiation of the `DBTEAMLOGDeviceApprovalsPolicy` object. /// + (DBTEAMLOGDeviceApprovalsPolicy *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceApprovalsRemoveExceptionDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceApprovalsRemoveExceptionType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceChangeIpDesktopDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGDeviceChangeIpDesktopDetails; @class DBTEAMLOGDeviceSessionLogInfo; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `DeviceChangeIpDesktopDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGDeviceChangeIpDesktopDetails : NSObject #pragma mark - Instance fields /// Device's session logged information. @property (nonatomic, readonly) DBTEAMLOGDeviceSessionLogInfo *deviceSessionInfo; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param deviceSessionInfo Device's session logged information. /// /// @return An initialized instance. /// - (instancetype)initWithDeviceSessionInfo:(DBTEAMLOGDeviceSessionLogInfo *)deviceSessionInfo; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `DeviceChangeIpDesktopDetails` struct. /// @interface DBTEAMLOGDeviceChangeIpDesktopDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGDeviceChangeIpDesktopDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGDeviceChangeIpDesktopDetails` /// API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGDeviceChangeIpDesktopDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGDeviceChangeIpDesktopDetails *)instance; /// /// Deserializes `DBTEAMLOGDeviceChangeIpDesktopDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGDeviceChangeIpDesktopDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGDeviceChangeIpDesktopDetails` /// object. /// + (DBTEAMLOGDeviceChangeIpDesktopDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceChangeIpDesktopType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceChangeIpMobileDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGDeviceChangeIpMobileDetails; @class DBTEAMLOGDeviceSessionLogInfo; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `DeviceChangeIpMobileDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGDeviceChangeIpMobileDetails : NSObject #pragma mark - Instance fields /// Device's session logged information. @property (nonatomic, readonly, nullable) DBTEAMLOGDeviceSessionLogInfo *deviceSessionInfo; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param deviceSessionInfo Device's session logged information. /// /// @return An initialized instance. /// - (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; @end #pragma mark - Serializer Object /// /// The serialization class for the `DeviceChangeIpMobileDetails` struct. /// @interface DBTEAMLOGDeviceChangeIpMobileDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGDeviceChangeIpMobileDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGDeviceChangeIpMobileDetails` /// API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGDeviceChangeIpMobileDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGDeviceChangeIpMobileDetails *)instance; /// /// Deserializes `DBTEAMLOGDeviceChangeIpMobileDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGDeviceChangeIpMobileDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGDeviceChangeIpMobileDetails` /// object. /// + (DBTEAMLOGDeviceChangeIpMobileDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceChangeIpMobileType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceChangeIpWebDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGDeviceChangeIpWebDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `DeviceChangeIpWebDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGDeviceChangeIpWebDetails : NSObject #pragma mark - Instance fields /// Web browser name. @property (nonatomic, readonly, copy) NSString *userAgent; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param userAgent Web browser name. /// /// @return An initialized instance. /// - (instancetype)initWithUserAgent:(NSString *)userAgent; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `DeviceChangeIpWebDetails` struct. /// @interface DBTEAMLOGDeviceChangeIpWebDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGDeviceChangeIpWebDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGDeviceChangeIpWebDetails` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGDeviceChangeIpWebDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGDeviceChangeIpWebDetails *)instance; /// /// Deserializes `DBTEAMLOGDeviceChangeIpWebDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGDeviceChangeIpWebDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGDeviceChangeIpWebDetails` object. /// + (DBTEAMLOGDeviceChangeIpWebDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceChangeIpWebType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceDeleteOnUnlinkFailDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGDeviceDeleteOnUnlinkFailDetails; @class DBTEAMLOGSessionLogInfo; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `DeviceDeleteOnUnlinkFailDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGDeviceDeleteOnUnlinkFailDetails : NSObject #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; /// The number of times that remote file deletion failed. @property (nonatomic, readonly) NSNumber *numFailures; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @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)initWithNumFailures:(NSNumber *)numFailures; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `DeviceDeleteOnUnlinkFailDetails` struct. /// @interface DBTEAMLOGDeviceDeleteOnUnlinkFailDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGDeviceDeleteOnUnlinkFailDetails` instances. /// /// @param instance An instance of the /// `DBTEAMLOGDeviceDeleteOnUnlinkFailDetails` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGDeviceDeleteOnUnlinkFailDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGDeviceDeleteOnUnlinkFailDetails *)instance; /// /// Deserializes `DBTEAMLOGDeviceDeleteOnUnlinkFailDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGDeviceDeleteOnUnlinkFailDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGDeviceDeleteOnUnlinkFailDetails` /// object. /// + (DBTEAMLOGDeviceDeleteOnUnlinkFailDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceDeleteOnUnlinkFailType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceDeleteOnUnlinkSuccessDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGDeviceDeleteOnUnlinkSuccessDetails; @class DBTEAMLOGSessionLogInfo; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `DeviceDeleteOnUnlinkSuccessDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGDeviceDeleteOnUnlinkSuccessDetails : NSObject #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; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @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)initDefault; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `DeviceDeleteOnUnlinkSuccessDetails` struct. /// @interface DBTEAMLOGDeviceDeleteOnUnlinkSuccessDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGDeviceDeleteOnUnlinkSuccessDetails` instances. /// /// @param instance An instance of the /// `DBTEAMLOGDeviceDeleteOnUnlinkSuccessDetails` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGDeviceDeleteOnUnlinkSuccessDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGDeviceDeleteOnUnlinkSuccessDetails *)instance; /// /// Deserializes `DBTEAMLOGDeviceDeleteOnUnlinkSuccessDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGDeviceDeleteOnUnlinkSuccessDetails` API object. /// /// @return An instantiation of the /// `DBTEAMLOGDeviceDeleteOnUnlinkSuccessDetails` object. /// + (DBTEAMLOGDeviceDeleteOnUnlinkSuccessDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceDeleteOnUnlinkSuccessType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceLinkFailDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGDeviceLinkFailDetails; @class DBTEAMLOGDeviceType; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `DeviceLinkFailDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGDeviceLinkFailDetails : NSObject #pragma mark - Instance fields /// 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; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param deviceType A description of the device used while user approval /// blocked. /// @param ipAddress IP address. Might be missing due to historical data gap. /// /// @return An initialized instance. /// - (instancetype)initWithDeviceType:(DBTEAMLOGDeviceType *)deviceType ipAddress:(nullable NSString *)ipAddress; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param deviceType A description of the device used while user approval /// blocked. /// /// @return An initialized instance. /// - (instancetype)initWithDeviceType:(DBTEAMLOGDeviceType *)deviceType; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `DeviceLinkFailDetails` struct. /// @interface DBTEAMLOGDeviceLinkFailDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGDeviceLinkFailDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGDeviceLinkFailDetails` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGDeviceLinkFailDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGDeviceLinkFailDetails *)instance; /// /// Deserializes `DBTEAMLOGDeviceLinkFailDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGDeviceLinkFailDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGDeviceLinkFailDetails` object. /// + (DBTEAMLOGDeviceLinkFailDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceLinkFailType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceLinkSuccessDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGDeviceLinkSuccessDetails; @class DBTEAMLOGDeviceSessionLogInfo; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `DeviceLinkSuccessDetails` struct. /// /// Linked device. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMLOGDeviceLinkSuccessDetails : NSObject #pragma mark - Instance fields /// Device's session logged information. @property (nonatomic, readonly, nullable) DBTEAMLOGDeviceSessionLogInfo *deviceSessionInfo; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param deviceSessionInfo Device's session logged information. /// /// @return An initialized instance. /// - (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; @end #pragma mark - Serializer Object /// /// The serialization class for the `DeviceLinkSuccessDetails` struct. /// @interface DBTEAMLOGDeviceLinkSuccessDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGDeviceLinkSuccessDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGDeviceLinkSuccessDetails` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGDeviceLinkSuccessDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGDeviceLinkSuccessDetails *)instance; /// /// Deserializes `DBTEAMLOGDeviceLinkSuccessDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGDeviceLinkSuccessDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGDeviceLinkSuccessDetails` object. /// + (DBTEAMLOGDeviceLinkSuccessDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceLinkSuccessType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceManagementDisabledDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGDeviceManagementDisabledDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `DeviceManagementDisabledDetails` struct. /// /// Disabled device management. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMLOGDeviceManagementDisabledDetails : 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 `DeviceManagementDisabledDetails` struct. /// @interface DBTEAMLOGDeviceManagementDisabledDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGDeviceManagementDisabledDetails` instances. /// /// @param instance An instance of the /// `DBTEAMLOGDeviceManagementDisabledDetails` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGDeviceManagementDisabledDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGDeviceManagementDisabledDetails *)instance; /// /// Deserializes `DBTEAMLOGDeviceManagementDisabledDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGDeviceManagementDisabledDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGDeviceManagementDisabledDetails` /// object. /// + (DBTEAMLOGDeviceManagementDisabledDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceManagementDisabledType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceManagementEnabledDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGDeviceManagementEnabledDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `DeviceManagementEnabledDetails` struct. /// /// Enabled device management. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMLOGDeviceManagementEnabledDetails : 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 `DeviceManagementEnabledDetails` struct. /// @interface DBTEAMLOGDeviceManagementEnabledDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGDeviceManagementEnabledDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGDeviceManagementEnabledDetails` /// API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGDeviceManagementEnabledDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGDeviceManagementEnabledDetails *)instance; /// /// Deserializes `DBTEAMLOGDeviceManagementEnabledDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGDeviceManagementEnabledDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGDeviceManagementEnabledDetails` /// object. /// + (DBTEAMLOGDeviceManagementEnabledDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceManagementEnabledType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceSessionLogInfo.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceSyncBackupStatusChangedDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceSyncBackupStatusChangedType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceType.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGDeviceType; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `DeviceType` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMLOGDeviceType : NSObject #pragma mark - Instance fields /// The `DBTEAMLOGDeviceTypeTag` enum type represents the possible tag states /// with which the `DBTEAMLOGDeviceType` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGDeviceTypeTag){ /// (no description). DBTEAMLOGDeviceTypeDesktop, /// (no description). DBTEAMLOGDeviceTypeMobile, /// (no description). DBTEAMLOGDeviceTypeOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMLOGDeviceTypeTag tag; #pragma mark - Constructors /// /// Initializes union class with tag state of "desktop". /// /// @return An initialized instance. /// - (instancetype)initWithDesktop; /// /// Initializes union class with tag state of "mobile". /// /// @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 "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". /// /// @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 `DBTEAMLOGDeviceType` union. /// @interface DBTEAMLOGDeviceTypeSerializer : NSObject /// /// Serializes `DBTEAMLOGDeviceType` instances. /// /// @param instance An instance of the `DBTEAMLOGDeviceType` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGDeviceType` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGDeviceType *)instance; /// /// Deserializes `DBTEAMLOGDeviceType` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGDeviceType` API object. /// /// @return An instantiation of the `DBTEAMLOGDeviceType` object. /// + (DBTEAMLOGDeviceType *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceUnlinkDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGDeviceUnlinkDetails; @class DBTEAMLOGSessionLogInfo; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `DeviceUnlinkDetails` struct. /// /// Disconnected device. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMLOGDeviceUnlinkDetails : NSObject #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; /// True if the user requested to delete data after device unlink, false /// otherwise. @property (nonatomic, readonly) NSNumber *deleteData; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @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)initWithDeleteData:(NSNumber *)deleteData; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `DeviceUnlinkDetails` struct. /// @interface DBTEAMLOGDeviceUnlinkDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGDeviceUnlinkDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGDeviceUnlinkDetails` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGDeviceUnlinkDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGDeviceUnlinkDetails *)instance; /// /// Deserializes `DBTEAMLOGDeviceUnlinkDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGDeviceUnlinkDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGDeviceUnlinkDetails` object. /// + (DBTEAMLOGDeviceUnlinkDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceUnlinkPolicy.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGDeviceUnlinkPolicy; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `DeviceUnlinkPolicy` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMLOGDeviceUnlinkPolicy : NSObject #pragma mark - Instance fields /// The `DBTEAMLOGDeviceUnlinkPolicyTag` enum type represents the possible tag /// states with which the `DBTEAMLOGDeviceUnlinkPolicy` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGDeviceUnlinkPolicyTag){ /// (no description). DBTEAMLOGDeviceUnlinkPolicyKeep, /// (no description). DBTEAMLOGDeviceUnlinkPolicyRemove, /// (no description). DBTEAMLOGDeviceUnlinkPolicyOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMLOGDeviceUnlinkPolicyTag tag; #pragma mark - Constructors /// /// Initializes union class with tag state of "keep". /// /// @return An initialized instance. /// - (instancetype)initWithKeep; /// /// Initializes union class with tag state of "remove". /// /// @return An initialized instance. /// - (instancetype)initWithRemove; /// /// 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 "keep". /// /// @return Whether the union's current tag state has value "keep". /// - (BOOL)isKeep; /// /// Retrieves whether the union's current tag state has value "remove". /// /// @return Whether the union's current tag state has value "remove". /// - (BOOL)isRemove; /// /// 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 `DBTEAMLOGDeviceUnlinkPolicy` union. /// @interface DBTEAMLOGDeviceUnlinkPolicySerializer : NSObject /// /// Serializes `DBTEAMLOGDeviceUnlinkPolicy` instances. /// /// @param instance An instance of the `DBTEAMLOGDeviceUnlinkPolicy` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGDeviceUnlinkPolicy` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGDeviceUnlinkPolicy *)instance; /// /// Deserializes `DBTEAMLOGDeviceUnlinkPolicy` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGDeviceUnlinkPolicy` API object. /// /// @return An instantiation of the `DBTEAMLOGDeviceUnlinkPolicy` object. /// + (DBTEAMLOGDeviceUnlinkPolicy *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceUnlinkType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDirectoryRestrictionsAddMembersDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDirectoryRestrictionsAddMembersType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDirectoryRestrictionsRemoveMembersDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDirectoryRestrictionsRemoveMembersType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDisabledDomainInvitesDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGDisabledDomainInvitesDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `DisabledDomainInvitesDetails` struct. /// /// Disabled domain invites. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMLOGDisabledDomainInvitesDetails : 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 `DisabledDomainInvitesDetails` struct. /// @interface DBTEAMLOGDisabledDomainInvitesDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGDisabledDomainInvitesDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGDisabledDomainInvitesDetails` /// API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGDisabledDomainInvitesDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGDisabledDomainInvitesDetails *)instance; /// /// Deserializes `DBTEAMLOGDisabledDomainInvitesDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGDisabledDomainInvitesDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGDisabledDomainInvitesDetails` /// object. /// + (DBTEAMLOGDisabledDomainInvitesDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDisabledDomainInvitesType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDispositionActionType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDomainInvitesApproveRequestToJoinTeamDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGDomainInvitesApproveRequestToJoinTeamDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `DomainInvitesApproveRequestToJoinTeamDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGDomainInvitesApproveRequestToJoinTeamDetails : 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 /// `DomainInvitesApproveRequestToJoinTeamDetails` struct. /// @interface DBTEAMLOGDomainInvitesApproveRequestToJoinTeamDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGDomainInvitesApproveRequestToJoinTeamDetails` /// instances. /// /// @param instance An instance of the /// `DBTEAMLOGDomainInvitesApproveRequestToJoinTeamDetails` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGDomainInvitesApproveRequestToJoinTeamDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGDomainInvitesApproveRequestToJoinTeamDetails *)instance; /// /// Deserializes `DBTEAMLOGDomainInvitesApproveRequestToJoinTeamDetails` /// instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGDomainInvitesApproveRequestToJoinTeamDetails` API object. /// /// @return An instantiation of the /// `DBTEAMLOGDomainInvitesApproveRequestToJoinTeamDetails` object. /// + (DBTEAMLOGDomainInvitesApproveRequestToJoinTeamDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDomainInvitesApproveRequestToJoinTeamType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `DomainInvitesDeclineRequestToJoinTeamDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamDetails : 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 /// `DomainInvitesDeclineRequestToJoinTeamDetails` struct. /// @interface DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamDetails` /// instances. /// /// @param instance An instance of the /// `DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamDetails` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamDetails *)instance; /// /// Deserializes `DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamDetails` /// instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamDetails` API object. /// /// @return An instantiation of the /// `DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamDetails` object. /// + (DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDomainInvitesEmailExistingUsersDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGDomainInvitesEmailExistingUsersDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `DomainInvitesEmailExistingUsersDetails` struct. /// /// Sent domain invites to existing domain accounts. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMLOGDomainInvitesEmailExistingUsersDetails : NSObject #pragma mark - Instance fields /// Domain names. @property (nonatomic, readonly, copy) NSString *domainName; /// Number of recipients. @property (nonatomic, readonly) NSNumber *numRecipients; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param domainName Domain names. /// @param numRecipients Number of recipients. /// /// @return An initialized instance. /// - (instancetype)initWithDomainName:(NSString *)domainName numRecipients:(NSNumber *)numRecipients; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `DomainInvitesEmailExistingUsersDetails` /// struct. /// @interface DBTEAMLOGDomainInvitesEmailExistingUsersDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGDomainInvitesEmailExistingUsersDetails` instances. /// /// @param instance An instance of the /// `DBTEAMLOGDomainInvitesEmailExistingUsersDetails` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGDomainInvitesEmailExistingUsersDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGDomainInvitesEmailExistingUsersDetails *)instance; /// /// Deserializes `DBTEAMLOGDomainInvitesEmailExistingUsersDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGDomainInvitesEmailExistingUsersDetails` API object. /// /// @return An instantiation of the /// `DBTEAMLOGDomainInvitesEmailExistingUsersDetails` object. /// + (DBTEAMLOGDomainInvitesEmailExistingUsersDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDomainInvitesEmailExistingUsersType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDomainInvitesRequestToJoinTeamDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGDomainInvitesRequestToJoinTeamDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `DomainInvitesRequestToJoinTeamDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGDomainInvitesRequestToJoinTeamDetails : 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 `DomainInvitesRequestToJoinTeamDetails` /// struct. /// @interface DBTEAMLOGDomainInvitesRequestToJoinTeamDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGDomainInvitesRequestToJoinTeamDetails` instances. /// /// @param instance An instance of the /// `DBTEAMLOGDomainInvitesRequestToJoinTeamDetails` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGDomainInvitesRequestToJoinTeamDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGDomainInvitesRequestToJoinTeamDetails *)instance; /// /// Deserializes `DBTEAMLOGDomainInvitesRequestToJoinTeamDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGDomainInvitesRequestToJoinTeamDetails` API object. /// /// @return An instantiation of the /// `DBTEAMLOGDomainInvitesRequestToJoinTeamDetails` object. /// + (DBTEAMLOGDomainInvitesRequestToJoinTeamDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDomainInvitesRequestToJoinTeamType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `DomainInvitesSetInviteNewUserPrefToNoDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoDetails : 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 /// `DomainInvitesSetInviteNewUserPrefToNoDetails` struct. /// @interface DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoDetails` /// instances. /// /// @param instance An instance of the /// `DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoDetails` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoDetails *)instance; /// /// Deserializes `DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoDetails` /// instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoDetails` API object. /// /// @return An instantiation of the /// `DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoDetails` object. /// + (DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `DomainInvitesSetInviteNewUserPrefToYesDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesDetails : 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 /// `DomainInvitesSetInviteNewUserPrefToYesDetails` struct. /// @interface DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesDetails` /// instances. /// /// @param instance An instance of the /// `DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesDetails` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesDetails *)instance; /// /// Deserializes `DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesDetails` /// instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesDetails` API object. /// /// @return An instantiation of the /// `DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesDetails` object. /// + (DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDomainVerificationAddDomainFailDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGDomainVerificationAddDomainFailDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `DomainVerificationAddDomainFailDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGDomainVerificationAddDomainFailDetails : NSObject #pragma mark - Instance fields /// Domain name. @property (nonatomic, readonly, copy) NSString *domainName; /// Domain name verification method. Might be missing due to historical data /// gap. @property (nonatomic, readonly, copy, nullable) NSString *verificationMethod; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param domainName Domain name. /// @param verificationMethod Domain name verification method. Might be missing /// due to historical data gap. /// /// @return An initialized instance. /// - (instancetype)initWithDomainName:(NSString *)domainName verificationMethod:(nullable NSString *)verificationMethod; /// /// 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 `DomainVerificationAddDomainFailDetails` /// struct. /// @interface DBTEAMLOGDomainVerificationAddDomainFailDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGDomainVerificationAddDomainFailDetails` instances. /// /// @param instance An instance of the /// `DBTEAMLOGDomainVerificationAddDomainFailDetails` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGDomainVerificationAddDomainFailDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGDomainVerificationAddDomainFailDetails *)instance; /// /// Deserializes `DBTEAMLOGDomainVerificationAddDomainFailDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGDomainVerificationAddDomainFailDetails` API object. /// /// @return An instantiation of the /// `DBTEAMLOGDomainVerificationAddDomainFailDetails` object. /// + (DBTEAMLOGDomainVerificationAddDomainFailDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDomainVerificationAddDomainFailType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDomainVerificationAddDomainSuccessDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGDomainVerificationAddDomainSuccessDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `DomainVerificationAddDomainSuccessDetails` struct. /// /// Verified team domain. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMLOGDomainVerificationAddDomainSuccessDetails : NSObject #pragma mark - Instance fields /// Domain names. @property (nonatomic, readonly) NSArray *domainNames; /// Domain name verification method. Might be missing due to historical data /// gap. @property (nonatomic, readonly, copy, nullable) NSString *verificationMethod; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param domainNames Domain names. /// @param verificationMethod Domain name verification method. Might be missing /// due to historical data gap. /// /// @return An initialized instance. /// - (instancetype)initWithDomainNames:(NSArray *)domainNames verificationMethod:(nullable NSString *)verificationMethod; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param domainNames Domain names. /// /// @return An initialized instance. /// - (instancetype)initWithDomainNames:(NSArray *)domainNames; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `DomainVerificationAddDomainSuccessDetails` /// struct. /// @interface DBTEAMLOGDomainVerificationAddDomainSuccessDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGDomainVerificationAddDomainSuccessDetails` instances. /// /// @param instance An instance of the /// `DBTEAMLOGDomainVerificationAddDomainSuccessDetails` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGDomainVerificationAddDomainSuccessDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGDomainVerificationAddDomainSuccessDetails *)instance; /// /// Deserializes `DBTEAMLOGDomainVerificationAddDomainSuccessDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGDomainVerificationAddDomainSuccessDetails` API object. /// /// @return An instantiation of the /// `DBTEAMLOGDomainVerificationAddDomainSuccessDetails` object. /// + (DBTEAMLOGDomainVerificationAddDomainSuccessDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDomainVerificationAddDomainSuccessType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDomainVerificationRemoveDomainDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGDomainVerificationRemoveDomainDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `DomainVerificationRemoveDomainDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGDomainVerificationRemoveDomainDetails : NSObject #pragma mark - Instance fields /// Domain names. @property (nonatomic, readonly) NSArray *domainNames; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param domainNames Domain names. /// /// @return An initialized instance. /// - (instancetype)initWithDomainNames:(NSArray *)domainNames; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `DomainVerificationRemoveDomainDetails` /// struct. /// @interface DBTEAMLOGDomainVerificationRemoveDomainDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGDomainVerificationRemoveDomainDetails` instances. /// /// @param instance An instance of the /// `DBTEAMLOGDomainVerificationRemoveDomainDetails` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGDomainVerificationRemoveDomainDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGDomainVerificationRemoveDomainDetails *)instance; /// /// Deserializes `DBTEAMLOGDomainVerificationRemoveDomainDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGDomainVerificationRemoveDomainDetails` API object. /// /// @return An instantiation of the /// `DBTEAMLOGDomainVerificationRemoveDomainDetails` object. /// + (DBTEAMLOGDomainVerificationRemoveDomainDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDomainVerificationRemoveDomainType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDownloadPolicyType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDropboxPasswordsExportedDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDropboxPasswordsExportedType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDropboxPasswordsNewDeviceEnrolledDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDropboxPasswordsNewDeviceEnrolledType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDropboxPasswordsPolicy.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDropboxPasswordsPolicyChangedDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDropboxPasswordsPolicyChangedType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDurationLogInfo.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGDurationLogInfo; @class DBTEAMLOGTimeUnit; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `DurationLogInfo` struct. /// /// Represents a time duration: unit and amount /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMLOGDurationLogInfo : NSObject #pragma mark - Instance fields /// Time unit. @property (nonatomic, readonly) DBTEAMLOGTimeUnit *unit; /// Amount of time. @property (nonatomic, readonly) NSNumber *amount; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param unit Time unit. /// @param amount Amount of time. /// /// @return An initialized instance. /// - (instancetype)initWithUnit:(DBTEAMLOGTimeUnit *)unit amount:(NSNumber *)amount; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `DurationLogInfo` struct. /// @interface DBTEAMLOGDurationLogInfoSerializer : NSObject /// /// Serializes `DBTEAMLOGDurationLogInfo` instances. /// /// @param instance An instance of the `DBTEAMLOGDurationLogInfo` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGDurationLogInfo` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGDurationLogInfo *)instance; /// /// Deserializes `DBTEAMLOGDurationLogInfo` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGDurationLogInfo` API object. /// /// @return An instantiation of the `DBTEAMLOGDurationLogInfo` object. /// + (DBTEAMLOGDurationLogInfo *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEmailIngestPolicy.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEmailIngestPolicyChangedDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEmailIngestPolicyChangedType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEmailIngestReceiveFileDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEmailIngestReceiveFileType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEmmAddExceptionDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGEmmAddExceptionDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `EmmAddExceptionDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGEmmAddExceptionDetails : 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 `EmmAddExceptionDetails` struct. /// @interface DBTEAMLOGEmmAddExceptionDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGEmmAddExceptionDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGEmmAddExceptionDetails` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGEmmAddExceptionDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGEmmAddExceptionDetails *)instance; /// /// Deserializes `DBTEAMLOGEmmAddExceptionDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGEmmAddExceptionDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGEmmAddExceptionDetails` object. /// + (DBTEAMLOGEmmAddExceptionDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEmmAddExceptionType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEmmChangePolicyDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGEmmChangePolicyDetails; @class DBTEAMPOLICIESEmmState; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `EmmChangePolicyDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGEmmChangePolicyDetails : NSObject #pragma mark - Instance fields /// New enterprise mobility management policy. @property (nonatomic, readonly) DBTEAMPOLICIESEmmState *dNewValue; /// Previous enterprise mobility management policy. Might be missing due to /// historical data gap. @property (nonatomic, readonly, nullable) DBTEAMPOLICIESEmmState *previousValue; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param dNewValue New enterprise mobility management policy. /// @param previousValue Previous enterprise mobility management policy. Might /// be missing due to historical data gap. /// /// @return An initialized instance. /// - (instancetype)initWithDNewValue:(DBTEAMPOLICIESEmmState *)dNewValue previousValue:(nullable DBTEAMPOLICIESEmmState *)previousValue; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param dNewValue New enterprise mobility management policy. /// /// @return An initialized instance. /// - (instancetype)initWithDNewValue:(DBTEAMPOLICIESEmmState *)dNewValue; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `EmmChangePolicyDetails` struct. /// @interface DBTEAMLOGEmmChangePolicyDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGEmmChangePolicyDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGEmmChangePolicyDetails` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGEmmChangePolicyDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGEmmChangePolicyDetails *)instance; /// /// Deserializes `DBTEAMLOGEmmChangePolicyDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGEmmChangePolicyDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGEmmChangePolicyDetails` object. /// + (DBTEAMLOGEmmChangePolicyDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEmmChangePolicyType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEmmCreateExceptionsReportDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGEmmCreateExceptionsReportDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `EmmCreateExceptionsReportDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGEmmCreateExceptionsReportDetails : 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 `EmmCreateExceptionsReportDetails` struct. /// @interface DBTEAMLOGEmmCreateExceptionsReportDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGEmmCreateExceptionsReportDetails` instances. /// /// @param instance An instance of the /// `DBTEAMLOGEmmCreateExceptionsReportDetails` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGEmmCreateExceptionsReportDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGEmmCreateExceptionsReportDetails *)instance; /// /// Deserializes `DBTEAMLOGEmmCreateExceptionsReportDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGEmmCreateExceptionsReportDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGEmmCreateExceptionsReportDetails` /// object. /// + (DBTEAMLOGEmmCreateExceptionsReportDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEmmCreateExceptionsReportType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEmmCreateUsageReportDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGEmmCreateUsageReportDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `EmmCreateUsageReportDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGEmmCreateUsageReportDetails : 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 `EmmCreateUsageReportDetails` struct. /// @interface DBTEAMLOGEmmCreateUsageReportDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGEmmCreateUsageReportDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGEmmCreateUsageReportDetails` /// API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGEmmCreateUsageReportDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGEmmCreateUsageReportDetails *)instance; /// /// Deserializes `DBTEAMLOGEmmCreateUsageReportDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGEmmCreateUsageReportDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGEmmCreateUsageReportDetails` /// object. /// + (DBTEAMLOGEmmCreateUsageReportDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEmmCreateUsageReportType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEmmErrorDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGEmmErrorDetails; @class DBTEAMLOGFailureDetailsLogInfo; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `EmmErrorDetails` struct. /// /// Failed to sign in via EMM. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMLOGEmmErrorDetails : NSObject #pragma mark - Instance fields /// Error details. @property (nonatomic, readonly) DBTEAMLOGFailureDetailsLogInfo *errorDetails; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param errorDetails Error details. /// /// @return An initialized instance. /// - (instancetype)initWithErrorDetails:(DBTEAMLOGFailureDetailsLogInfo *)errorDetails; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `EmmErrorDetails` struct. /// @interface DBTEAMLOGEmmErrorDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGEmmErrorDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGEmmErrorDetails` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGEmmErrorDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGEmmErrorDetails *)instance; /// /// Deserializes `DBTEAMLOGEmmErrorDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGEmmErrorDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGEmmErrorDetails` object. /// + (DBTEAMLOGEmmErrorDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEmmErrorType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEmmRefreshAuthTokenDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGEmmRefreshAuthTokenDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `EmmRefreshAuthTokenDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGEmmRefreshAuthTokenDetails : 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 `EmmRefreshAuthTokenDetails` struct. /// @interface DBTEAMLOGEmmRefreshAuthTokenDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGEmmRefreshAuthTokenDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGEmmRefreshAuthTokenDetails` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGEmmRefreshAuthTokenDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGEmmRefreshAuthTokenDetails *)instance; /// /// Deserializes `DBTEAMLOGEmmRefreshAuthTokenDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGEmmRefreshAuthTokenDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGEmmRefreshAuthTokenDetails` /// object. /// + (DBTEAMLOGEmmRefreshAuthTokenDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEmmRefreshAuthTokenType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEmmRemoveExceptionDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGEmmRemoveExceptionDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `EmmRemoveExceptionDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGEmmRemoveExceptionDetails : 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 `EmmRemoveExceptionDetails` struct. /// @interface DBTEAMLOGEmmRemoveExceptionDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGEmmRemoveExceptionDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGEmmRemoveExceptionDetails` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGEmmRemoveExceptionDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGEmmRemoveExceptionDetails *)instance; /// /// Deserializes `DBTEAMLOGEmmRemoveExceptionDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGEmmRemoveExceptionDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGEmmRemoveExceptionDetails` object. /// + (DBTEAMLOGEmmRemoveExceptionDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEmmRemoveExceptionType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEnabledDomainInvitesDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGEnabledDomainInvitesDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `EnabledDomainInvitesDetails` struct. /// /// Enabled domain invites. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMLOGEnabledDomainInvitesDetails : 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 `EnabledDomainInvitesDetails` struct. /// @interface DBTEAMLOGEnabledDomainInvitesDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGEnabledDomainInvitesDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGEnabledDomainInvitesDetails` /// API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGEnabledDomainInvitesDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGEnabledDomainInvitesDetails *)instance; /// /// Deserializes `DBTEAMLOGEnabledDomainInvitesDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGEnabledDomainInvitesDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGEnabledDomainInvitesDetails` /// object. /// + (DBTEAMLOGEnabledDomainInvitesDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEnabledDomainInvitesType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEndedEnterpriseAdminSessionDeprecatedDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEndedEnterpriseAdminSessionDeprecatedType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEndedEnterpriseAdminSessionDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEndedEnterpriseAdminSessionType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEnforceLinkPasswordPolicy.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEnterpriseSettingsLockingDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEnterpriseSettingsLockingType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEventCategory.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGEventCategory; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `EventCategory` union. /// /// Category of events in event audit log. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMLOGEventCategory : NSObject #pragma mark - Instance fields /// The `DBTEAMLOGEventCategoryTag` enum type represents the possible tag states /// with which the `DBTEAMLOGEventCategory` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGEventCategoryTag){ /// Events that involve team related alerts. DBTEAMLOGEventCategoryAdminAlerting, /// Events that apply to management of linked apps. DBTEAMLOGEventCategoryApps, /// Events that have to do with comments on files and Paper documents. DBTEAMLOGEventCategoryComments, /// Events that involve data governance actions DBTEAMLOGEventCategoryDataGovernance, /// Events that apply to linked devices on mobile, desktop and Web /// platforms. DBTEAMLOGEventCategoryDevices, /// Events that involve domain management feature: domain verification, /// invite enforcement and account capture. DBTEAMLOGEventCategoryDomains, /// Events that involve encryption. DBTEAMLOGEventCategoryEncryption, /// Events that have to do with filesystem operations on files and folders: /// copy, move, delete, etc. DBTEAMLOGEventCategoryFileOperations, /// Events that apply to the file requests feature. DBTEAMLOGEventCategoryFileRequests, /// Events that involve group management. DBTEAMLOGEventCategoryGroups, /// Events that involve users signing in to or out of Dropbox. DBTEAMLOGEventCategoryLogins, /// Events that involve team member management. DBTEAMLOGEventCategoryMembers, /// Events that apply to Dropbox Paper. DBTEAMLOGEventCategoryPaper, /// Events that involve using, changing or resetting passwords. DBTEAMLOGEventCategoryPasswords, /// Events that concern generation of admin reports, including team activity /// and device usage. DBTEAMLOGEventCategoryReports, /// Events that apply to all types of sharing and collaboration. DBTEAMLOGEventCategorySharing, /// Events that apply to Dropbox Showcase. DBTEAMLOGEventCategoryShowcase, /// 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, /// Events that apply to cross-team trust establishment. DBTEAMLOGEventCategoryTrustedTeams, /// (no description). DBTEAMLOGEventCategoryOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMLOGEventCategoryTag tag; #pragma mark - Constructors /// /// Initializes union class with tag state of "admin_alerting". /// /// Description of the "admin_alerting" tag state: Events that involve team /// related alerts. /// /// @return An initialized instance. /// - (instancetype)initWithAdminAlerting; /// /// Initializes union class with tag state of "apps". /// /// Description of the "apps" tag state: Events that apply to management of /// linked apps. /// /// @return An initialized instance. /// - (instancetype)initWithApps; /// /// Initializes union class with tag state of "comments". /// /// Description of the "comments" tag state: Events that have to do with /// comments on files and Paper documents. /// /// @return An initialized instance. /// - (instancetype)initWithComments; /// /// Initializes union class with tag state of "data_governance". /// /// Description of the "data_governance" tag state: Events that involve data /// governance actions /// /// @return An initialized instance. /// - (instancetype)initWithDataGovernance; /// /// Initializes union class with tag state of "devices". /// /// Description of the "devices" tag state: Events that apply to linked devices /// on mobile, desktop and Web platforms. /// /// @return An initialized instance. /// - (instancetype)initWithDevices; /// /// Initializes union class with tag state of "domains". /// /// Description of the "domains" tag state: Events that involve domain /// management feature: domain verification, invite enforcement and account /// capture. /// /// @return An initialized instance. /// - (instancetype)initWithDomains; /// /// Initializes union class with tag state of "encryption". /// /// Description of the "encryption" tag state: Events that involve encryption. /// /// @return An initialized instance. /// - (instancetype)initWithEncryption; /// /// Initializes union class with tag state of "file_operations". /// /// Description of the "file_operations" tag state: Events that have to do with /// filesystem operations on files and folders: copy, move, delete, etc. /// /// @return An initialized instance. /// - (instancetype)initWithFileOperations; /// /// Initializes union class with tag state of "file_requests". /// /// Description of the "file_requests" tag state: Events that apply to the file /// requests feature. /// /// @return An initialized instance. /// - (instancetype)initWithFileRequests; /// /// Initializes union class with tag state of "groups". /// /// Description of the "groups" tag state: Events that involve group management. /// /// @return An initialized instance. /// - (instancetype)initWithGroups; /// /// Initializes union class with tag state of "logins". /// /// Description of the "logins" tag state: Events that involve users signing in /// to or out of Dropbox. /// /// @return An initialized instance. /// - (instancetype)initWithLogins; /// /// Initializes union class with tag state of "members". /// /// Description of the "members" tag state: Events that involve team member /// management. /// /// @return An initialized instance. /// - (instancetype)initWithMembers; /// /// Initializes union class with tag state of "paper". /// /// Description of the "paper" tag state: Events that apply to Dropbox Paper. /// /// @return An initialized instance. /// - (instancetype)initWithPaper; /// /// Initializes union class with tag state of "passwords". /// /// Description of the "passwords" tag state: Events that involve using, /// changing or resetting passwords. /// /// @return An initialized instance. /// - (instancetype)initWithPasswords; /// /// Initializes union class with tag state of "reports". /// /// Description of the "reports" tag state: Events that concern generation of /// admin reports, including team activity and device usage. /// /// @return An initialized instance. /// - (instancetype)initWithReports; /// /// Initializes union class with tag state of "sharing". /// /// Description of the "sharing" tag state: Events that apply to all types of /// sharing and collaboration. /// /// @return An initialized instance. /// - (instancetype)initWithSharing; /// /// Initializes union class with tag state of "showcase". /// /// Description of the "showcase" tag state: Events that apply to Dropbox /// Showcase. /// /// @return An initialized instance. /// - (instancetype)initWithShowcase; /// /// Initializes union class with tag state of "sso". /// /// Description of the "sso" tag state: Events that involve using or configuring /// single sign-on as well as administrative policies concerning single sign-on. /// /// @return An initialized instance. /// - (instancetype)initWithSso; /// /// Initializes union class with tag state of "team_folders". /// /// Description of the "team_folders" tag state: Events that involve team folder /// management. /// /// @return An initialized instance. /// - (instancetype)initWithTeamFolders; /// /// Initializes union class with tag state of "team_policies". /// /// Description of the "team_policies" tag state: Events that involve a change /// in team-wide policies. /// /// @return An initialized instance. /// - (instancetype)initWithTeamPolicies; /// /// Initializes union class with tag state of "team_profile". /// /// Description of the "team_profile" tag state: Events that involve a change in /// the team profile. /// /// @return An initialized instance. /// - (instancetype)initWithTeamProfile; /// /// Initializes union class with tag state of "tfa". /// /// Description of the "tfa" tag state: Events that involve using or configuring /// two factor authentication as well as administrative policies concerning two /// factor authentication. /// /// @return An initialized instance. /// - (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". /// /// @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". /// /// @return Whether the union's current tag state has value "admin_alerting". /// - (BOOL)isAdminAlerting; /// /// Retrieves whether the union's current tag state has value "apps". /// /// @return Whether the union's current tag state has value "apps". /// - (BOOL)isApps; /// /// Retrieves whether the union's current tag state has value "comments". /// /// @return Whether the union's current tag state has value "comments". /// - (BOOL)isComments; /// /// Retrieves whether the union's current tag state has value "data_governance". /// /// @return Whether the union's current tag state has value "data_governance". /// - (BOOL)isDataGovernance; /// /// Retrieves whether the union's current tag state has value "devices". /// /// @return Whether the union's current tag state has value "devices". /// - (BOOL)isDevices; /// /// Retrieves whether the union's current tag state has value "domains". /// /// @return Whether the union's current tag state has value "domains". /// - (BOOL)isDomains; /// /// Retrieves whether the union's current tag state has value "encryption". /// /// @return Whether the union's current tag state has value "encryption". /// - (BOOL)isEncryption; /// /// Retrieves whether the union's current tag state has value "file_operations". /// /// @return Whether the union's current tag state has value "file_operations". /// - (BOOL)isFileOperations; /// /// Retrieves whether the union's current tag state has value "file_requests". /// /// @return Whether the union's current tag state has value "file_requests". /// - (BOOL)isFileRequests; /// /// Retrieves whether the union's current tag state has value "groups". /// /// @return Whether the union's current tag state has value "groups". /// - (BOOL)isGroups; /// /// Retrieves whether the union's current tag state has value "logins". /// /// @return Whether the union's current tag state has value "logins". /// - (BOOL)isLogins; /// /// 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 "paper". /// /// @return Whether the union's current tag state has value "paper". /// - (BOOL)isPaper; /// /// Retrieves whether the union's current tag state has value "passwords". /// /// @return Whether the union's current tag state has value "passwords". /// - (BOOL)isPasswords; /// /// Retrieves whether the union's current tag state has value "reports". /// /// @return Whether the union's current tag state has value "reports". /// - (BOOL)isReports; /// /// Retrieves whether the union's current tag state has value "sharing". /// /// @return Whether the union's current tag state has value "sharing". /// - (BOOL)isSharing; /// /// Retrieves whether the union's current tag state has value "showcase". /// /// @return Whether the union's current tag state has value "showcase". /// - (BOOL)isShowcase; /// /// Retrieves whether the union's current tag state has value "sso". /// /// @return Whether the union's current tag state has value "sso". /// - (BOOL)isSso; /// /// 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 "team_policies". /// /// @return Whether the union's current tag state has value "team_policies". /// - (BOOL)isTeamPolicies; /// /// Retrieves whether the union's current tag state has value "team_profile". /// /// @return Whether the union's current tag state has value "team_profile". /// - (BOOL)isTeamProfile; /// /// Retrieves whether the union's current tag state has value "tfa". /// /// @return Whether the union's current tag state has value "tfa". /// - (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". /// /// @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 `DBTEAMLOGEventCategory` union. /// @interface DBTEAMLOGEventCategorySerializer : NSObject /// /// Serializes `DBTEAMLOGEventCategory` instances. /// /// @param instance An instance of the `DBTEAMLOGEventCategory` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGEventCategory` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGEventCategory *)instance; /// /// Deserializes `DBTEAMLOGEventCategory` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGEventCategory` API object. /// /// @return An instantiation of the `DBTEAMLOGEventCategory` object. /// + (DBTEAMLOGEventCategory *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEventDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @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; @class DBTEAMLOGDeviceDeleteOnUnlinkFailDetails; @class DBTEAMLOGDeviceDeleteOnUnlinkSuccessDetails; @class DBTEAMLOGDeviceLinkFailDetails; @class DBTEAMLOGDeviceLinkSuccessDetails; @class DBTEAMLOGDeviceManagementDisabledDetails; @class DBTEAMLOGDeviceManagementEnabledDetails; @class DBTEAMLOGDeviceSyncBackupStatusChangedDetails; @class DBTEAMLOGDeviceUnlinkDetails; @class DBTEAMLOGDirectoryRestrictionsAddMembersDetails; @class DBTEAMLOGDirectoryRestrictionsRemoveMembersDetails; @class DBTEAMLOGDisabledDomainInvitesDetails; @class DBTEAMLOGDomainInvitesApproveRequestToJoinTeamDetails; @class DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamDetails; @class DBTEAMLOGDomainInvitesEmailExistingUsersDetails; @class DBTEAMLOGDomainInvitesRequestToJoinTeamDetails; @class DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoDetails; @class DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesDetails; @class DBTEAMLOGDomainVerificationAddDomainFailDetails; @class DBTEAMLOGDomainVerificationAddDomainSuccessDetails; @class DBTEAMLOGDomainVerificationRemoveDomainDetails; @class DBTEAMLOGDropboxPasswordsExportedDetails; @class DBTEAMLOGDropboxPasswordsNewDeviceEnrolledDetails; @class DBTEAMLOGDropboxPasswordsPolicyChangedDetails; @class DBTEAMLOGEmailIngestPolicyChangedDetails; @class DBTEAMLOGEmailIngestReceiveFileDetails; @class DBTEAMLOGEmmAddExceptionDetails; @class DBTEAMLOGEmmChangePolicyDetails; @class DBTEAMLOGEmmCreateExceptionsReportDetails; @class DBTEAMLOGEmmCreateUsageReportDetails; @class DBTEAMLOGEmmErrorDetails; @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 DBTEAMLOGFileRequestChangeDetails; @class DBTEAMLOGFileRequestCloseDetails; @class DBTEAMLOGFileRequestCreateDetails; @class DBTEAMLOGFileRequestDeleteDetails; @class DBTEAMLOGFileRequestReceiveFileDetails; @class DBTEAMLOGFileRequestsChangePolicyDetails; @class DBTEAMLOGFileRequestsEmailsEnabledDetails; @class DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyDetails; @class DBTEAMLOGFileResolveCommentDetails; @class DBTEAMLOGFileRestoreDetails; @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; @class DBTEAMLOGGroupChangeManagementTypeDetails; @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; @class DBTEAMLOGMemberTransferAccountContentsDetails; @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; @class DBTEAMLOGPaperChangeMemberPolicyDetails; @class DBTEAMLOGPaperChangePolicyDetails; @class DBTEAMLOGPaperContentAddMemberDetails; @class DBTEAMLOGPaperContentAddToFolderDetails; @class DBTEAMLOGPaperContentArchiveDetails; @class DBTEAMLOGPaperContentCreateDetails; @class DBTEAMLOGPaperContentPermanentlyDeleteDetails; @class DBTEAMLOGPaperContentRemoveFromFolderDetails; @class DBTEAMLOGPaperContentRemoveMemberDetails; @class DBTEAMLOGPaperContentRenameDetails; @class DBTEAMLOGPaperContentRestoreDetails; @class DBTEAMLOGPaperDefaultFolderPolicyChangedDetails; @class DBTEAMLOGPaperDesktopPolicyChangedDetails; @class DBTEAMLOGPaperDocAddCommentDetails; @class DBTEAMLOGPaperDocChangeMemberRoleDetails; @class DBTEAMLOGPaperDocChangeSharingPolicyDetails; @class DBTEAMLOGPaperDocChangeSubscriptionDetails; @class DBTEAMLOGPaperDocDeleteCommentDetails; @class DBTEAMLOGPaperDocDeletedDetails; @class DBTEAMLOGPaperDocDownloadDetails; @class DBTEAMLOGPaperDocEditCommentDetails; @class DBTEAMLOGPaperDocEditDetails; @class DBTEAMLOGPaperDocFollowedDetails; @class DBTEAMLOGPaperDocMentionDetails; @class DBTEAMLOGPaperDocOwnershipChangedDetails; @class DBTEAMLOGPaperDocRequestAccessDetails; @class DBTEAMLOGPaperDocResolveCommentDetails; @class DBTEAMLOGPaperDocRevertDetails; @class DBTEAMLOGPaperDocSlackShareDetails; @class DBTEAMLOGPaperDocTeamInviteDetails; @class DBTEAMLOGPaperDocTrashedDetails; @class DBTEAMLOGPaperDocUnresolveCommentDetails; @class DBTEAMLOGPaperDocUntrashedDetails; @class DBTEAMLOGPaperDocViewDetails; @class DBTEAMLOGPaperEnabledUsersGroupAdditionDetails; @class DBTEAMLOGPaperEnabledUsersGroupRemovalDetails; @class DBTEAMLOGPaperExternalViewAllowDetails; @class DBTEAMLOGPaperExternalViewDefaultTeamDetails; @class DBTEAMLOGPaperExternalViewForbidDetails; @class DBTEAMLOGPaperFolderChangeSubscriptionDetails; @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 DBTEAMLOGSfTeamGrantAccessDetails; @class DBTEAMLOGSfTeamInviteChangeRoleDetails; @class DBTEAMLOGSfTeamInviteDetails; @class DBTEAMLOGSfTeamJoinDetails; @class DBTEAMLOGSfTeamJoinFromOobLinkDetails; @class DBTEAMLOGSfTeamUninviteDetails; @class DBTEAMLOGSharedContentAddInviteesDetails; @class DBTEAMLOGSharedContentAddLinkExpiryDetails; @class DBTEAMLOGSharedContentAddLinkPasswordDetails; @class DBTEAMLOGSharedContentAddMemberDetails; @class DBTEAMLOGSharedContentChangeDownloadsPolicyDetails; @class DBTEAMLOGSharedContentChangeInviteeRoleDetails; @class DBTEAMLOGSharedContentChangeLinkAudienceDetails; @class DBTEAMLOGSharedContentChangeLinkExpiryDetails; @class DBTEAMLOGSharedContentChangeLinkPasswordDetails; @class DBTEAMLOGSharedContentChangeMemberRoleDetails; @class DBTEAMLOGSharedContentChangeViewerInfoPolicyDetails; @class DBTEAMLOGSharedContentClaimInvitationDetails; @class DBTEAMLOGSharedContentCopyDetails; @class DBTEAMLOGSharedContentDownloadDetails; @class DBTEAMLOGSharedContentRelinquishMembershipDetails; @class DBTEAMLOGSharedContentRemoveInviteesDetails; @class DBTEAMLOGSharedContentRemoveLinkExpiryDetails; @class DBTEAMLOGSharedContentRemoveLinkPasswordDetails; @class DBTEAMLOGSharedContentRemoveMemberDetails; @class DBTEAMLOGSharedContentRequestAccessDetails; @class DBTEAMLOGSharedContentRestoreInviteesDetails; @class DBTEAMLOGSharedContentRestoreMemberDetails; @class DBTEAMLOGSharedContentUnshareDetails; @class DBTEAMLOGSharedContentViewDetails; @class DBTEAMLOGSharedFolderChangeLinkPolicyDetails; @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 DBTEAMLOGShmodelDisableDownloadsDetails; @class DBTEAMLOGShmodelEnableDownloadsDetails; @class DBTEAMLOGShmodelGroupShareDetails; @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; @class DBTEAMLOGSsoChangeCertDetails; @class DBTEAMLOGSsoChangeLoginUrlDetails; @class DBTEAMLOGSsoChangeLogoutUrlDetails; @class DBTEAMLOGSsoChangePolicyDetails; @class DBTEAMLOGSsoChangeSamlIdentityModeDetails; @class DBTEAMLOGSsoErrorDetails; @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; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `EventDetails` union. /// /// Additional fields depending on the event type. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMLOGEventDetails : NSObject #pragma mark - Instance fields /// The `DBTEAMLOGEventDetailsTag` enum type represents the possible tag states /// with which the `DBTEAMLOGEventDetails` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGEventDetailsTag){ /// (no description). DBTEAMLOGEventDetailsAdminAlertingAlertStateChangedDetails, /// (no description). DBTEAMLOGEventDetailsAdminAlertingChangedAlertConfigDetails, /// (no description). DBTEAMLOGEventDetailsAdminAlertingTriggeredAlertDetails, /// (no description). DBTEAMLOGEventDetailsRansomwareRestoreProcessCompletedDetails, /// (no description). DBTEAMLOGEventDetailsRansomwareRestoreProcessStartedDetails, /// (no description). DBTEAMLOGEventDetailsAppBlockedByPermissionsDetails, /// (no description). DBTEAMLOGEventDetailsAppLinkTeamDetails, /// (no description). DBTEAMLOGEventDetailsAppLinkUserDetails, /// (no description). DBTEAMLOGEventDetailsAppUnlinkTeamDetails, /// (no description). DBTEAMLOGEventDetailsAppUnlinkUserDetails, /// (no description). DBTEAMLOGEventDetailsIntegrationConnectedDetails, /// (no description). DBTEAMLOGEventDetailsIntegrationDisconnectedDetails, /// (no description). DBTEAMLOGEventDetailsFileAddCommentDetails, /// (no description). DBTEAMLOGEventDetailsFileChangeCommentSubscriptionDetails, /// (no description). DBTEAMLOGEventDetailsFileDeleteCommentDetails, /// (no description). DBTEAMLOGEventDetailsFileEditCommentDetails, /// (no description). DBTEAMLOGEventDetailsFileLikeCommentDetails, /// (no description). DBTEAMLOGEventDetailsFileResolveCommentDetails, /// (no description). DBTEAMLOGEventDetailsFileUnlikeCommentDetails, /// (no description). DBTEAMLOGEventDetailsFileUnresolveCommentDetails, /// (no description). DBTEAMLOGEventDetailsGovernancePolicyAddFoldersDetails, /// (no description). DBTEAMLOGEventDetailsGovernancePolicyAddFolderFailedDetails, /// (no description). DBTEAMLOGEventDetailsGovernancePolicyContentDisposedDetails, /// (no description). DBTEAMLOGEventDetailsGovernancePolicyCreateDetails, /// (no description). DBTEAMLOGEventDetailsGovernancePolicyDeleteDetails, /// (no description). DBTEAMLOGEventDetailsGovernancePolicyEditDetailsDetails, /// (no description). DBTEAMLOGEventDetailsGovernancePolicyEditDurationDetails, /// (no description). DBTEAMLOGEventDetailsGovernancePolicyExportCreatedDetails, /// (no description). DBTEAMLOGEventDetailsGovernancePolicyExportRemovedDetails, /// (no description). DBTEAMLOGEventDetailsGovernancePolicyRemoveFoldersDetails, /// (no description). DBTEAMLOGEventDetailsGovernancePolicyReportCreatedDetails, /// (no description). DBTEAMLOGEventDetailsGovernancePolicyZipPartDownloadedDetails, /// (no description). DBTEAMLOGEventDetailsLegalHoldsActivateAHoldDetails, /// (no description). DBTEAMLOGEventDetailsLegalHoldsAddMembersDetails, /// (no description). DBTEAMLOGEventDetailsLegalHoldsChangeHoldDetailsDetails, /// (no description). DBTEAMLOGEventDetailsLegalHoldsChangeHoldNameDetails, /// (no description). DBTEAMLOGEventDetailsLegalHoldsExportAHoldDetails, /// (no description). DBTEAMLOGEventDetailsLegalHoldsExportCancelledDetails, /// (no description). DBTEAMLOGEventDetailsLegalHoldsExportDownloadedDetails, /// (no description). DBTEAMLOGEventDetailsLegalHoldsExportRemovedDetails, /// (no description). DBTEAMLOGEventDetailsLegalHoldsReleaseAHoldDetails, /// (no description). DBTEAMLOGEventDetailsLegalHoldsRemoveMembersDetails, /// (no description). DBTEAMLOGEventDetailsLegalHoldsReportAHoldDetails, /// (no description). DBTEAMLOGEventDetailsDeviceChangeIpDesktopDetails, /// (no description). DBTEAMLOGEventDetailsDeviceChangeIpMobileDetails, /// (no description). DBTEAMLOGEventDetailsDeviceChangeIpWebDetails, /// (no description). DBTEAMLOGEventDetailsDeviceDeleteOnUnlinkFailDetails, /// (no description). DBTEAMLOGEventDetailsDeviceDeleteOnUnlinkSuccessDetails, /// (no description). DBTEAMLOGEventDetailsDeviceLinkFailDetails, /// (no description). DBTEAMLOGEventDetailsDeviceLinkSuccessDetails, /// (no description). DBTEAMLOGEventDetailsDeviceManagementDisabledDetails, /// (no description). DBTEAMLOGEventDetailsDeviceManagementEnabledDetails, /// (no description). DBTEAMLOGEventDetailsDeviceSyncBackupStatusChangedDetails, /// (no description). DBTEAMLOGEventDetailsDeviceUnlinkDetails, /// (no description). DBTEAMLOGEventDetailsDropboxPasswordsExportedDetails, /// (no description). DBTEAMLOGEventDetailsDropboxPasswordsNewDeviceEnrolledDetails, /// (no description). DBTEAMLOGEventDetailsEmmRefreshAuthTokenDetails, /// (no description). DBTEAMLOGEventDetailsExternalDriveBackupEligibilityStatusCheckedDetails, /// (no description). DBTEAMLOGEventDetailsExternalDriveBackupStatusChangedDetails, /// (no description). DBTEAMLOGEventDetailsAccountCaptureChangeAvailabilityDetails, /// (no description). DBTEAMLOGEventDetailsAccountCaptureMigrateAccountDetails, /// (no description). DBTEAMLOGEventDetailsAccountCaptureNotificationEmailsSentDetails, /// (no description). DBTEAMLOGEventDetailsAccountCaptureRelinquishAccountDetails, /// (no description). DBTEAMLOGEventDetailsDisabledDomainInvitesDetails, /// (no description). DBTEAMLOGEventDetailsDomainInvitesApproveRequestToJoinTeamDetails, /// (no description). DBTEAMLOGEventDetailsDomainInvitesDeclineRequestToJoinTeamDetails, /// (no description). DBTEAMLOGEventDetailsDomainInvitesEmailExistingUsersDetails, /// (no description). DBTEAMLOGEventDetailsDomainInvitesRequestToJoinTeamDetails, /// (no description). DBTEAMLOGEventDetailsDomainInvitesSetInviteNewUserPrefToNoDetails, /// (no description). DBTEAMLOGEventDetailsDomainInvitesSetInviteNewUserPrefToYesDetails, /// (no description). DBTEAMLOGEventDetailsDomainVerificationAddDomainFailDetails, /// (no description). DBTEAMLOGEventDetailsDomainVerificationAddDomainSuccessDetails, /// (no description). DBTEAMLOGEventDetailsDomainVerificationRemoveDomainDetails, /// (no description). DBTEAMLOGEventDetailsEnabledDomainInvitesDetails, /// (no description). DBTEAMLOGEventDetailsTeamEncryptionKeyCancelKeyDeletionDetails, /// (no description). DBTEAMLOGEventDetailsTeamEncryptionKeyCreateKeyDetails, /// (no description). DBTEAMLOGEventDetailsTeamEncryptionKeyDeleteKeyDetails, /// (no description). DBTEAMLOGEventDetailsTeamEncryptionKeyDisableKeyDetails, /// (no description). DBTEAMLOGEventDetailsTeamEncryptionKeyEnableKeyDetails, /// (no description). DBTEAMLOGEventDetailsTeamEncryptionKeyRotateKeyDetails, /// (no description). DBTEAMLOGEventDetailsTeamEncryptionKeyScheduleKeyDeletionDetails, /// (no description). DBTEAMLOGEventDetailsApplyNamingConventionDetails, /// (no description). DBTEAMLOGEventDetailsCreateFolderDetails, /// (no description). DBTEAMLOGEventDetailsFileAddDetails, /// (no description). DBTEAMLOGEventDetailsFileAddFromAutomationDetails, /// (no description). DBTEAMLOGEventDetailsFileCopyDetails, /// (no description). DBTEAMLOGEventDetailsFileDeleteDetails, /// (no description). DBTEAMLOGEventDetailsFileDownloadDetails, /// (no description). DBTEAMLOGEventDetailsFileEditDetails, /// (no description). DBTEAMLOGEventDetailsFileGetCopyReferenceDetails, /// (no description). DBTEAMLOGEventDetailsFileLockingLockStatusChangedDetails, /// (no description). DBTEAMLOGEventDetailsFileMoveDetails, /// (no description). DBTEAMLOGEventDetailsFilePermanentlyDeleteDetails, /// (no description). DBTEAMLOGEventDetailsFilePreviewDetails, /// (no description). DBTEAMLOGEventDetailsFileRenameDetails, /// (no description). DBTEAMLOGEventDetailsFileRestoreDetails, /// (no description). DBTEAMLOGEventDetailsFileRevertDetails, /// (no description). DBTEAMLOGEventDetailsFileRollbackChangesDetails, /// (no description). DBTEAMLOGEventDetailsFileSaveCopyReferenceDetails, /// (no description). DBTEAMLOGEventDetailsFolderOverviewDescriptionChangedDetails, /// (no description). DBTEAMLOGEventDetailsFolderOverviewItemPinnedDetails, /// (no description). DBTEAMLOGEventDetailsFolderOverviewItemUnpinnedDetails, /// (no description). DBTEAMLOGEventDetailsObjectLabelAddedDetails, /// (no description). DBTEAMLOGEventDetailsObjectLabelRemovedDetails, /// (no description). DBTEAMLOGEventDetailsObjectLabelUpdatedValueDetails, /// (no description). DBTEAMLOGEventDetailsOrganizeFolderWithTidyDetails, /// (no description). DBTEAMLOGEventDetailsReplayFileDeleteDetails, /// (no description). DBTEAMLOGEventDetailsRewindFolderDetails, /// (no description). DBTEAMLOGEventDetailsUndoNamingConventionDetails, /// (no description). DBTEAMLOGEventDetailsUndoOrganizeFolderWithTidyDetails, /// (no description). DBTEAMLOGEventDetailsUserTagsAddedDetails, /// (no description). DBTEAMLOGEventDetailsUserTagsRemovedDetails, /// (no description). DBTEAMLOGEventDetailsEmailIngestReceiveFileDetails, /// (no description). DBTEAMLOGEventDetailsFileRequestChangeDetails, /// (no description). DBTEAMLOGEventDetailsFileRequestCloseDetails, /// (no description). DBTEAMLOGEventDetailsFileRequestCreateDetails, /// (no description). DBTEAMLOGEventDetailsFileRequestDeleteDetails, /// (no description). DBTEAMLOGEventDetailsFileRequestReceiveFileDetails, /// (no description). DBTEAMLOGEventDetailsGroupAddExternalIdDetails, /// (no description). DBTEAMLOGEventDetailsGroupAddMemberDetails, /// (no description). DBTEAMLOGEventDetailsGroupChangeExternalIdDetails, /// (no description). DBTEAMLOGEventDetailsGroupChangeManagementTypeDetails, /// (no description). DBTEAMLOGEventDetailsGroupChangeMemberRoleDetails, /// (no description). DBTEAMLOGEventDetailsGroupCreateDetails, /// (no description). DBTEAMLOGEventDetailsGroupDeleteDetails, /// (no description). DBTEAMLOGEventDetailsGroupDescriptionUpdatedDetails, /// (no description). DBTEAMLOGEventDetailsGroupJoinPolicyUpdatedDetails, /// (no description). DBTEAMLOGEventDetailsGroupMovedDetails, /// (no description). DBTEAMLOGEventDetailsGroupRemoveExternalIdDetails, /// (no description). DBTEAMLOGEventDetailsGroupRemoveMemberDetails, /// (no description). DBTEAMLOGEventDetailsGroupRenameDetails, /// (no description). DBTEAMLOGEventDetailsAccountLockOrUnlockedDetails, /// (no description). DBTEAMLOGEventDetailsEmmErrorDetails, /// (no description). DBTEAMLOGEventDetailsGuestAdminSignedInViaTrustedTeamsDetails, /// (no description). DBTEAMLOGEventDetailsGuestAdminSignedOutViaTrustedTeamsDetails, /// (no description). DBTEAMLOGEventDetailsLoginFailDetails, /// (no description). DBTEAMLOGEventDetailsLoginSuccessDetails, /// (no description). DBTEAMLOGEventDetailsLogoutDetails, /// (no description). DBTEAMLOGEventDetailsResellerSupportSessionEndDetails, /// (no description). DBTEAMLOGEventDetailsResellerSupportSessionStartDetails, /// (no description). DBTEAMLOGEventDetailsSignInAsSessionEndDetails, /// (no description). DBTEAMLOGEventDetailsSignInAsSessionStartDetails, /// (no description). DBTEAMLOGEventDetailsSsoErrorDetails, /// (no description). DBTEAMLOGEventDetailsBackupAdminInvitationSentDetails, /// (no description). DBTEAMLOGEventDetailsBackupInvitationOpenedDetails, /// (no description). DBTEAMLOGEventDetailsCreateTeamInviteLinkDetails, /// (no description). DBTEAMLOGEventDetailsDeleteTeamInviteLinkDetails, /// (no description). DBTEAMLOGEventDetailsMemberAddExternalIdDetails, /// (no description). DBTEAMLOGEventDetailsMemberAddNameDetails, /// (no description). DBTEAMLOGEventDetailsMemberChangeAdminRoleDetails, /// (no description). DBTEAMLOGEventDetailsMemberChangeEmailDetails, /// (no description). DBTEAMLOGEventDetailsMemberChangeExternalIdDetails, /// (no description). DBTEAMLOGEventDetailsMemberChangeMembershipTypeDetails, /// (no description). DBTEAMLOGEventDetailsMemberChangeNameDetails, /// (no description). DBTEAMLOGEventDetailsMemberChangeResellerRoleDetails, /// (no description). DBTEAMLOGEventDetailsMemberChangeStatusDetails, /// (no description). DBTEAMLOGEventDetailsMemberDeleteManualContactsDetails, /// (no description). DBTEAMLOGEventDetailsMemberDeleteProfilePhotoDetails, /// (no description). DBTEAMLOGEventDetailsMemberPermanentlyDeleteAccountContentsDetails, /// (no description). DBTEAMLOGEventDetailsMemberRemoveExternalIdDetails, /// (no description). DBTEAMLOGEventDetailsMemberSetProfilePhotoDetails, /// (no description). DBTEAMLOGEventDetailsMemberSpaceLimitsAddCustomQuotaDetails, /// (no description). DBTEAMLOGEventDetailsMemberSpaceLimitsChangeCustomQuotaDetails, /// (no description). DBTEAMLOGEventDetailsMemberSpaceLimitsChangeStatusDetails, /// (no description). DBTEAMLOGEventDetailsMemberSpaceLimitsRemoveCustomQuotaDetails, /// (no description). DBTEAMLOGEventDetailsMemberSuggestDetails, /// (no description). DBTEAMLOGEventDetailsMemberTransferAccountContentsDetails, /// (no description). DBTEAMLOGEventDetailsPendingSecondaryEmailAddedDetails, /// (no description). DBTEAMLOGEventDetailsSecondaryEmailDeletedDetails, /// (no description). DBTEAMLOGEventDetailsSecondaryEmailVerifiedDetails, /// (no description). DBTEAMLOGEventDetailsSecondaryMailsPolicyChangedDetails, /// (no description). DBTEAMLOGEventDetailsBinderAddPageDetails, /// (no description). DBTEAMLOGEventDetailsBinderAddSectionDetails, /// (no description). DBTEAMLOGEventDetailsBinderRemovePageDetails, /// (no description). DBTEAMLOGEventDetailsBinderRemoveSectionDetails, /// (no description). DBTEAMLOGEventDetailsBinderRenamePageDetails, /// (no description). DBTEAMLOGEventDetailsBinderRenameSectionDetails, /// (no description). DBTEAMLOGEventDetailsBinderReorderPageDetails, /// (no description). DBTEAMLOGEventDetailsBinderReorderSectionDetails, /// (no description). DBTEAMLOGEventDetailsPaperContentAddMemberDetails, /// (no description). DBTEAMLOGEventDetailsPaperContentAddToFolderDetails, /// (no description). DBTEAMLOGEventDetailsPaperContentArchiveDetails, /// (no description). DBTEAMLOGEventDetailsPaperContentCreateDetails, /// (no description). DBTEAMLOGEventDetailsPaperContentPermanentlyDeleteDetails, /// (no description). DBTEAMLOGEventDetailsPaperContentRemoveFromFolderDetails, /// (no description). DBTEAMLOGEventDetailsPaperContentRemoveMemberDetails, /// (no description). DBTEAMLOGEventDetailsPaperContentRenameDetails, /// (no description). DBTEAMLOGEventDetailsPaperContentRestoreDetails, /// (no description). DBTEAMLOGEventDetailsPaperDocAddCommentDetails, /// (no description). DBTEAMLOGEventDetailsPaperDocChangeMemberRoleDetails, /// (no description). DBTEAMLOGEventDetailsPaperDocChangeSharingPolicyDetails, /// (no description). DBTEAMLOGEventDetailsPaperDocChangeSubscriptionDetails, /// (no description). DBTEAMLOGEventDetailsPaperDocDeletedDetails, /// (no description). DBTEAMLOGEventDetailsPaperDocDeleteCommentDetails, /// (no description). DBTEAMLOGEventDetailsPaperDocDownloadDetails, /// (no description). DBTEAMLOGEventDetailsPaperDocEditDetails, /// (no description). DBTEAMLOGEventDetailsPaperDocEditCommentDetails, /// (no description). DBTEAMLOGEventDetailsPaperDocFollowedDetails, /// (no description). DBTEAMLOGEventDetailsPaperDocMentionDetails, /// (no description). DBTEAMLOGEventDetailsPaperDocOwnershipChangedDetails, /// (no description). DBTEAMLOGEventDetailsPaperDocRequestAccessDetails, /// (no description). DBTEAMLOGEventDetailsPaperDocResolveCommentDetails, /// (no description). DBTEAMLOGEventDetailsPaperDocRevertDetails, /// (no description). DBTEAMLOGEventDetailsPaperDocSlackShareDetails, /// (no description). DBTEAMLOGEventDetailsPaperDocTeamInviteDetails, /// (no description). DBTEAMLOGEventDetailsPaperDocTrashedDetails, /// (no description). DBTEAMLOGEventDetailsPaperDocUnresolveCommentDetails, /// (no description). DBTEAMLOGEventDetailsPaperDocUntrashedDetails, /// (no description). DBTEAMLOGEventDetailsPaperDocViewDetails, /// (no description). DBTEAMLOGEventDetailsPaperExternalViewAllowDetails, /// (no description). DBTEAMLOGEventDetailsPaperExternalViewDefaultTeamDetails, /// (no description). DBTEAMLOGEventDetailsPaperExternalViewForbidDetails, /// (no description). DBTEAMLOGEventDetailsPaperFolderChangeSubscriptionDetails, /// (no description). DBTEAMLOGEventDetailsPaperFolderDeletedDetails, /// (no description). DBTEAMLOGEventDetailsPaperFolderFollowedDetails, /// (no description). DBTEAMLOGEventDetailsPaperFolderTeamInviteDetails, /// (no description). DBTEAMLOGEventDetailsPaperPublishedLinkChangePermissionDetails, /// (no description). DBTEAMLOGEventDetailsPaperPublishedLinkCreateDetails, /// (no description). DBTEAMLOGEventDetailsPaperPublishedLinkDisabledDetails, /// (no description). DBTEAMLOGEventDetailsPaperPublishedLinkViewDetails, /// (no description). DBTEAMLOGEventDetailsPasswordChangeDetails, /// (no description). DBTEAMLOGEventDetailsPasswordResetDetails, /// (no description). DBTEAMLOGEventDetailsPasswordResetAllDetails, /// (no description). DBTEAMLOGEventDetailsClassificationCreateReportDetails, /// (no description). DBTEAMLOGEventDetailsClassificationCreateReportFailDetails, /// (no description). DBTEAMLOGEventDetailsEmmCreateExceptionsReportDetails, /// (no description). DBTEAMLOGEventDetailsEmmCreateUsageReportDetails, /// (no description). DBTEAMLOGEventDetailsExportMembersReportDetails, /// (no description). DBTEAMLOGEventDetailsExportMembersReportFailDetails, /// (no description). DBTEAMLOGEventDetailsExternalSharingCreateReportDetails, /// (no description). DBTEAMLOGEventDetailsExternalSharingReportFailedDetails, /// (no description). DBTEAMLOGEventDetailsNoExpirationLinkGenCreateReportDetails, /// (no description). DBTEAMLOGEventDetailsNoExpirationLinkGenReportFailedDetails, /// (no description). DBTEAMLOGEventDetailsNoPasswordLinkGenCreateReportDetails, /// (no description). DBTEAMLOGEventDetailsNoPasswordLinkGenReportFailedDetails, /// (no description). DBTEAMLOGEventDetailsNoPasswordLinkViewCreateReportDetails, /// (no description). DBTEAMLOGEventDetailsNoPasswordLinkViewReportFailedDetails, /// (no description). DBTEAMLOGEventDetailsOutdatedLinkViewCreateReportDetails, /// (no description). DBTEAMLOGEventDetailsOutdatedLinkViewReportFailedDetails, /// (no description). DBTEAMLOGEventDetailsPaperAdminExportStartDetails, /// (no description). DBTEAMLOGEventDetailsRansomwareAlertCreateReportDetails, /// (no description). DBTEAMLOGEventDetailsRansomwareAlertCreateReportFailedDetails, /// (no description). DBTEAMLOGEventDetailsSmartSyncCreateAdminPrivilegeReportDetails, /// (no description). DBTEAMLOGEventDetailsTeamActivityCreateReportDetails, /// (no description). DBTEAMLOGEventDetailsTeamActivityCreateReportFailDetails, /// (no description). DBTEAMLOGEventDetailsCollectionShareDetails, /// (no description). DBTEAMLOGEventDetailsFileTransfersFileAddDetails, /// (no description). DBTEAMLOGEventDetailsFileTransfersTransferDeleteDetails, /// (no description). DBTEAMLOGEventDetailsFileTransfersTransferDownloadDetails, /// (no description). DBTEAMLOGEventDetailsFileTransfersTransferSendDetails, /// (no description). DBTEAMLOGEventDetailsFileTransfersTransferViewDetails, /// (no description). DBTEAMLOGEventDetailsNoteAclInviteOnlyDetails, /// (no description). DBTEAMLOGEventDetailsNoteAclLinkDetails, /// (no description). DBTEAMLOGEventDetailsNoteAclTeamLinkDetails, /// (no description). DBTEAMLOGEventDetailsNoteSharedDetails, /// (no description). DBTEAMLOGEventDetailsNoteShareReceiveDetails, /// (no description). DBTEAMLOGEventDetailsOpenNoteSharedDetails, /// (no description). DBTEAMLOGEventDetailsReplayFileSharedLinkCreatedDetails, /// (no description). DBTEAMLOGEventDetailsReplayFileSharedLinkModifiedDetails, /// (no description). DBTEAMLOGEventDetailsReplayProjectTeamAddDetails, /// (no description). DBTEAMLOGEventDetailsReplayProjectTeamDeleteDetails, /// (no description). DBTEAMLOGEventDetailsSfAddGroupDetails, /// (no description). DBTEAMLOGEventDetailsSfAllowNonMembersToViewSharedLinksDetails, /// (no description). DBTEAMLOGEventDetailsSfExternalInviteWarnDetails, /// (no description). DBTEAMLOGEventDetailsSfFbInviteDetails, /// (no description). DBTEAMLOGEventDetailsSfFbInviteChangeRoleDetails, /// (no description). DBTEAMLOGEventDetailsSfFbUninviteDetails, /// (no description). DBTEAMLOGEventDetailsSfInviteGroupDetails, /// (no description). DBTEAMLOGEventDetailsSfTeamGrantAccessDetails, /// (no description). DBTEAMLOGEventDetailsSfTeamInviteDetails, /// (no description). DBTEAMLOGEventDetailsSfTeamInviteChangeRoleDetails, /// (no description). DBTEAMLOGEventDetailsSfTeamJoinDetails, /// (no description). DBTEAMLOGEventDetailsSfTeamJoinFromOobLinkDetails, /// (no description). DBTEAMLOGEventDetailsSfTeamUninviteDetails, /// (no description). DBTEAMLOGEventDetailsSharedContentAddInviteesDetails, /// (no description). DBTEAMLOGEventDetailsSharedContentAddLinkExpiryDetails, /// (no description). DBTEAMLOGEventDetailsSharedContentAddLinkPasswordDetails, /// (no description). DBTEAMLOGEventDetailsSharedContentAddMemberDetails, /// (no description). DBTEAMLOGEventDetailsSharedContentChangeDownloadsPolicyDetails, /// (no description). DBTEAMLOGEventDetailsSharedContentChangeInviteeRoleDetails, /// (no description). DBTEAMLOGEventDetailsSharedContentChangeLinkAudienceDetails, /// (no description). DBTEAMLOGEventDetailsSharedContentChangeLinkExpiryDetails, /// (no description). DBTEAMLOGEventDetailsSharedContentChangeLinkPasswordDetails, /// (no description). DBTEAMLOGEventDetailsSharedContentChangeMemberRoleDetails, /// (no description). DBTEAMLOGEventDetailsSharedContentChangeViewerInfoPolicyDetails, /// (no description). DBTEAMLOGEventDetailsSharedContentClaimInvitationDetails, /// (no description). DBTEAMLOGEventDetailsSharedContentCopyDetails, /// (no description). DBTEAMLOGEventDetailsSharedContentDownloadDetails, /// (no description). DBTEAMLOGEventDetailsSharedContentRelinquishMembershipDetails, /// (no description). DBTEAMLOGEventDetailsSharedContentRemoveInviteesDetails, /// (no description). DBTEAMLOGEventDetailsSharedContentRemoveLinkExpiryDetails, /// (no description). DBTEAMLOGEventDetailsSharedContentRemoveLinkPasswordDetails, /// (no description). DBTEAMLOGEventDetailsSharedContentRemoveMemberDetails, /// (no description). DBTEAMLOGEventDetailsSharedContentRequestAccessDetails, /// (no description). DBTEAMLOGEventDetailsSharedContentRestoreInviteesDetails, /// (no description). DBTEAMLOGEventDetailsSharedContentRestoreMemberDetails, /// (no description). DBTEAMLOGEventDetailsSharedContentUnshareDetails, /// (no description). DBTEAMLOGEventDetailsSharedContentViewDetails, /// (no description). DBTEAMLOGEventDetailsSharedFolderChangeLinkPolicyDetails, /// (no description). DBTEAMLOGEventDetailsSharedFolderChangeMembersInheritancePolicyDetails, /// (no description). DBTEAMLOGEventDetailsSharedFolderChangeMembersManagementPolicyDetails, /// (no description). DBTEAMLOGEventDetailsSharedFolderChangeMembersPolicyDetails, /// (no description). DBTEAMLOGEventDetailsSharedFolderCreateDetails, /// (no description). DBTEAMLOGEventDetailsSharedFolderDeclineInvitationDetails, /// (no description). DBTEAMLOGEventDetailsSharedFolderMountDetails, /// (no description). DBTEAMLOGEventDetailsSharedFolderNestDetails, /// (no description). DBTEAMLOGEventDetailsSharedFolderTransferOwnershipDetails, /// (no description). DBTEAMLOGEventDetailsSharedFolderUnmountDetails, /// (no description). DBTEAMLOGEventDetailsSharedLinkAddExpiryDetails, /// (no description). DBTEAMLOGEventDetailsSharedLinkChangeExpiryDetails, /// (no description). DBTEAMLOGEventDetailsSharedLinkChangeVisibilityDetails, /// (no description). DBTEAMLOGEventDetailsSharedLinkCopyDetails, /// (no description). DBTEAMLOGEventDetailsSharedLinkCreateDetails, /// (no description). DBTEAMLOGEventDetailsSharedLinkDisableDetails, /// (no description). DBTEAMLOGEventDetailsSharedLinkDownloadDetails, /// (no description). DBTEAMLOGEventDetailsSharedLinkRemoveExpiryDetails, /// (no description). DBTEAMLOGEventDetailsSharedLinkSettingsAddExpirationDetails, /// (no description). DBTEAMLOGEventDetailsSharedLinkSettingsAddPasswordDetails, /// (no description). DBTEAMLOGEventDetailsSharedLinkSettingsAllowDownloadDisabledDetails, /// (no description). DBTEAMLOGEventDetailsSharedLinkSettingsAllowDownloadEnabledDetails, /// (no description). DBTEAMLOGEventDetailsSharedLinkSettingsChangeAudienceDetails, /// (no description). DBTEAMLOGEventDetailsSharedLinkSettingsChangeExpirationDetails, /// (no description). DBTEAMLOGEventDetailsSharedLinkSettingsChangePasswordDetails, /// (no description). DBTEAMLOGEventDetailsSharedLinkSettingsRemoveExpirationDetails, /// (no description). DBTEAMLOGEventDetailsSharedLinkSettingsRemovePasswordDetails, /// (no description). DBTEAMLOGEventDetailsSharedLinkShareDetails, /// (no description). DBTEAMLOGEventDetailsSharedLinkViewDetails, /// (no description). DBTEAMLOGEventDetailsSharedNoteOpenedDetails, /// (no description). DBTEAMLOGEventDetailsShmodelDisableDownloadsDetails, /// (no description). DBTEAMLOGEventDetailsShmodelEnableDownloadsDetails, /// (no description). DBTEAMLOGEventDetailsShmodelGroupShareDetails, /// (no description). DBTEAMLOGEventDetailsShowcaseAccessGrantedDetails, /// (no description). DBTEAMLOGEventDetailsShowcaseAddMemberDetails, /// (no description). DBTEAMLOGEventDetailsShowcaseArchivedDetails, /// (no description). DBTEAMLOGEventDetailsShowcaseCreatedDetails, /// (no description). DBTEAMLOGEventDetailsShowcaseDeleteCommentDetails, /// (no description). DBTEAMLOGEventDetailsShowcaseEditedDetails, /// (no description). DBTEAMLOGEventDetailsShowcaseEditCommentDetails, /// (no description). DBTEAMLOGEventDetailsShowcaseFileAddedDetails, /// (no description). DBTEAMLOGEventDetailsShowcaseFileDownloadDetails, /// (no description). DBTEAMLOGEventDetailsShowcaseFileRemovedDetails, /// (no description). DBTEAMLOGEventDetailsShowcaseFileViewDetails, /// (no description). DBTEAMLOGEventDetailsShowcasePermanentlyDeletedDetails, /// (no description). DBTEAMLOGEventDetailsShowcasePostCommentDetails, /// (no description). DBTEAMLOGEventDetailsShowcaseRemoveMemberDetails, /// (no description). DBTEAMLOGEventDetailsShowcaseRenamedDetails, /// (no description). DBTEAMLOGEventDetailsShowcaseRequestAccessDetails, /// (no description). DBTEAMLOGEventDetailsShowcaseResolveCommentDetails, /// (no description). DBTEAMLOGEventDetailsShowcaseRestoredDetails, /// (no description). DBTEAMLOGEventDetailsShowcaseTrashedDetails, /// (no description). DBTEAMLOGEventDetailsShowcaseTrashedDeprecatedDetails, /// (no description). DBTEAMLOGEventDetailsShowcaseUnresolveCommentDetails, /// (no description). DBTEAMLOGEventDetailsShowcaseUntrashedDetails, /// (no description). DBTEAMLOGEventDetailsShowcaseUntrashedDeprecatedDetails, /// (no description). DBTEAMLOGEventDetailsShowcaseViewDetails, /// (no description). DBTEAMLOGEventDetailsSsoAddCertDetails, /// (no description). DBTEAMLOGEventDetailsSsoAddLoginUrlDetails, /// (no description). DBTEAMLOGEventDetailsSsoAddLogoutUrlDetails, /// (no description). DBTEAMLOGEventDetailsSsoChangeCertDetails, /// (no description). DBTEAMLOGEventDetailsSsoChangeLoginUrlDetails, /// (no description). DBTEAMLOGEventDetailsSsoChangeLogoutUrlDetails, /// (no description). DBTEAMLOGEventDetailsSsoChangeSamlIdentityModeDetails, /// (no description). DBTEAMLOGEventDetailsSsoRemoveCertDetails, /// (no description). DBTEAMLOGEventDetailsSsoRemoveLoginUrlDetails, /// (no description). DBTEAMLOGEventDetailsSsoRemoveLogoutUrlDetails, /// (no description). DBTEAMLOGEventDetailsTeamFolderChangeStatusDetails, /// (no description). DBTEAMLOGEventDetailsTeamFolderCreateDetails, /// (no description). DBTEAMLOGEventDetailsTeamFolderDowngradeDetails, /// (no description). DBTEAMLOGEventDetailsTeamFolderPermanentlyDeleteDetails, /// (no description). DBTEAMLOGEventDetailsTeamFolderRenameDetails, /// (no description). DBTEAMLOGEventDetailsTeamSelectiveSyncSettingsChangedDetails, /// (no description). DBTEAMLOGEventDetailsAccountCaptureChangePolicyDetails, /// (no description). DBTEAMLOGEventDetailsAdminEmailRemindersChangedDetails, /// (no description). DBTEAMLOGEventDetailsAllowDownloadDisabledDetails, /// (no description). DBTEAMLOGEventDetailsAllowDownloadEnabledDetails, /// (no description). DBTEAMLOGEventDetailsAppPermissionsChangedDetails, /// (no description). DBTEAMLOGEventDetailsCameraUploadsPolicyChangedDetails, /// (no description). DBTEAMLOGEventDetailsCaptureTranscriptPolicyChangedDetails, /// (no description). DBTEAMLOGEventDetailsClassificationChangePolicyDetails, /// (no description). DBTEAMLOGEventDetailsComputerBackupPolicyChangedDetails, /// (no description). DBTEAMLOGEventDetailsContentAdministrationPolicyChangedDetails, /// (no description). DBTEAMLOGEventDetailsDataPlacementRestrictionChangePolicyDetails, /// (no description). DBTEAMLOGEventDetailsDataPlacementRestrictionSatisfyPolicyDetails, /// (no description). DBTEAMLOGEventDetailsDeviceApprovalsAddExceptionDetails, /// (no description). DBTEAMLOGEventDetailsDeviceApprovalsChangeDesktopPolicyDetails, /// (no description). DBTEAMLOGEventDetailsDeviceApprovalsChangeMobilePolicyDetails, /// (no description). DBTEAMLOGEventDetailsDeviceApprovalsChangeOverageActionDetails, /// (no description). DBTEAMLOGEventDetailsDeviceApprovalsChangeUnlinkActionDetails, /// (no description). DBTEAMLOGEventDetailsDeviceApprovalsRemoveExceptionDetails, /// (no description). DBTEAMLOGEventDetailsDirectoryRestrictionsAddMembersDetails, /// (no description). DBTEAMLOGEventDetailsDirectoryRestrictionsRemoveMembersDetails, /// (no description). DBTEAMLOGEventDetailsDropboxPasswordsPolicyChangedDetails, /// (no description). DBTEAMLOGEventDetailsEmailIngestPolicyChangedDetails, /// (no description). DBTEAMLOGEventDetailsEmmAddExceptionDetails, /// (no description). DBTEAMLOGEventDetailsEmmChangePolicyDetails, /// (no description). DBTEAMLOGEventDetailsEmmRemoveExceptionDetails, /// (no description). DBTEAMLOGEventDetailsExtendedVersionHistoryChangePolicyDetails, /// (no description). DBTEAMLOGEventDetailsExternalDriveBackupPolicyChangedDetails, /// (no description). DBTEAMLOGEventDetailsFileCommentsChangePolicyDetails, /// (no description). DBTEAMLOGEventDetailsFileLockingPolicyChangedDetails, /// (no description). DBTEAMLOGEventDetailsFileProviderMigrationPolicyChangedDetails, /// (no description). DBTEAMLOGEventDetailsFileRequestsChangePolicyDetails, /// (no description). DBTEAMLOGEventDetailsFileRequestsEmailsEnabledDetails, /// (no description). DBTEAMLOGEventDetailsFileRequestsEmailsRestrictedToTeamOnlyDetails, /// (no description). DBTEAMLOGEventDetailsFileTransfersPolicyChangedDetails, /// (no description). DBTEAMLOGEventDetailsFolderLinkRestrictionPolicyChangedDetails, /// (no description). DBTEAMLOGEventDetailsGoogleSsoChangePolicyDetails, /// (no description). DBTEAMLOGEventDetailsGroupUserManagementChangePolicyDetails, /// (no description). DBTEAMLOGEventDetailsIntegrationPolicyChangedDetails, /// (no description). DBTEAMLOGEventDetailsInviteAcceptanceEmailPolicyChangedDetails, /// (no description). DBTEAMLOGEventDetailsMemberRequestsChangePolicyDetails, /// (no description). DBTEAMLOGEventDetailsMemberSendInvitePolicyChangedDetails, /// (no description). DBTEAMLOGEventDetailsMemberSpaceLimitsAddExceptionDetails, /// (no description). DBTEAMLOGEventDetailsMemberSpaceLimitsChangeCapsTypePolicyDetails, /// (no description). DBTEAMLOGEventDetailsMemberSpaceLimitsChangePolicyDetails, /// (no description). DBTEAMLOGEventDetailsMemberSpaceLimitsRemoveExceptionDetails, /// (no description). DBTEAMLOGEventDetailsMemberSuggestionsChangePolicyDetails, /// (no description). DBTEAMLOGEventDetailsMicrosoftOfficeAddinChangePolicyDetails, /// (no description). DBTEAMLOGEventDetailsNetworkControlChangePolicyDetails, /// (no description). DBTEAMLOGEventDetailsPaperChangeDeploymentPolicyDetails, /// (no description). DBTEAMLOGEventDetailsPaperChangeMemberLinkPolicyDetails, /// (no description). DBTEAMLOGEventDetailsPaperChangeMemberPolicyDetails, /// (no description). DBTEAMLOGEventDetailsPaperChangePolicyDetails, /// (no description). DBTEAMLOGEventDetailsPaperDefaultFolderPolicyChangedDetails, /// (no description). DBTEAMLOGEventDetailsPaperDesktopPolicyChangedDetails, /// (no description). DBTEAMLOGEventDetailsPaperEnabledUsersGroupAdditionDetails, /// (no description). DBTEAMLOGEventDetailsPaperEnabledUsersGroupRemovalDetails, /// (no description). DBTEAMLOGEventDetailsPasswordStrengthRequirementsChangePolicyDetails, /// (no description). DBTEAMLOGEventDetailsPermanentDeleteChangePolicyDetails, /// (no description). DBTEAMLOGEventDetailsResellerSupportChangePolicyDetails, /// (no description). DBTEAMLOGEventDetailsRewindPolicyChangedDetails, /// (no description). DBTEAMLOGEventDetailsSendForSignaturePolicyChangedDetails, /// (no description). DBTEAMLOGEventDetailsSharingChangeFolderJoinPolicyDetails, /// (no description). DBTEAMLOGEventDetailsSharingChangeLinkAllowChangeExpirationPolicyDetails, /// (no description). DBTEAMLOGEventDetailsSharingChangeLinkDefaultExpirationPolicyDetails, /// (no description). DBTEAMLOGEventDetailsSharingChangeLinkEnforcePasswordPolicyDetails, /// (no description). DBTEAMLOGEventDetailsSharingChangeLinkPolicyDetails, /// (no description). DBTEAMLOGEventDetailsSharingChangeMemberPolicyDetails, /// (no description). DBTEAMLOGEventDetailsShowcaseChangeDownloadPolicyDetails, /// (no description). DBTEAMLOGEventDetailsShowcaseChangeEnabledPolicyDetails, /// (no description). DBTEAMLOGEventDetailsShowcaseChangeExternalSharingPolicyDetails, /// (no description). DBTEAMLOGEventDetailsSmarterSmartSyncPolicyChangedDetails, /// (no description). DBTEAMLOGEventDetailsSmartSyncChangePolicyDetails, /// (no description). DBTEAMLOGEventDetailsSmartSyncNotOptOutDetails, /// (no description). DBTEAMLOGEventDetailsSmartSyncOptOutDetails, /// (no description). DBTEAMLOGEventDetailsSsoChangePolicyDetails, /// (no description). DBTEAMLOGEventDetailsTeamBrandingPolicyChangedDetails, /// (no description). DBTEAMLOGEventDetailsTeamExtensionsPolicyChangedDetails, /// (no description). DBTEAMLOGEventDetailsTeamSelectiveSyncPolicyChangedDetails, /// (no description). DBTEAMLOGEventDetailsTeamSharingWhitelistSubjectsChangedDetails, /// (no description). DBTEAMLOGEventDetailsTfaAddExceptionDetails, /// (no description). DBTEAMLOGEventDetailsTfaChangePolicyDetails, /// (no description). DBTEAMLOGEventDetailsTfaRemoveExceptionDetails, /// (no description). DBTEAMLOGEventDetailsTwoAccountChangePolicyDetails, /// (no description). DBTEAMLOGEventDetailsViewerInfoPolicyChangedDetails, /// (no description). DBTEAMLOGEventDetailsWatermarkingPolicyChangedDetails, /// (no description). DBTEAMLOGEventDetailsWebSessionsChangeActiveSessionLimitDetails, /// (no description). DBTEAMLOGEventDetailsWebSessionsChangeFixedLengthPolicyDetails, /// (no description). DBTEAMLOGEventDetailsWebSessionsChangeIdleLengthPolicyDetails, /// (no description). DBTEAMLOGEventDetailsDataResidencyMigrationRequestSuccessfulDetails, /// (no description). DBTEAMLOGEventDetailsDataResidencyMigrationRequestUnsuccessfulDetails, /// (no description). DBTEAMLOGEventDetailsTeamMergeFromDetails, /// (no description). DBTEAMLOGEventDetailsTeamMergeToDetails, /// (no description). DBTEAMLOGEventDetailsTeamProfileAddBackgroundDetails, /// (no description). DBTEAMLOGEventDetailsTeamProfileAddLogoDetails, /// (no description). DBTEAMLOGEventDetailsTeamProfileChangeBackgroundDetails, /// (no description). DBTEAMLOGEventDetailsTeamProfileChangeDefaultLanguageDetails, /// (no description). DBTEAMLOGEventDetailsTeamProfileChangeLogoDetails, /// (no description). DBTEAMLOGEventDetailsTeamProfileChangeNameDetails, /// (no description). DBTEAMLOGEventDetailsTeamProfileRemoveBackgroundDetails, /// (no description). DBTEAMLOGEventDetailsTeamProfileRemoveLogoDetails, /// (no description). DBTEAMLOGEventDetailsTfaAddBackupPhoneDetails, /// (no description). DBTEAMLOGEventDetailsTfaAddSecurityKeyDetails, /// (no description). DBTEAMLOGEventDetailsTfaChangeBackupPhoneDetails, /// (no description). DBTEAMLOGEventDetailsTfaChangeStatusDetails, /// (no description). DBTEAMLOGEventDetailsTfaRemoveBackupPhoneDetails, /// (no description). DBTEAMLOGEventDetailsTfaRemoveSecurityKeyDetails, /// (no description). DBTEAMLOGEventDetailsTfaResetDetails, /// (no description). DBTEAMLOGEventDetailsChangedEnterpriseAdminRoleDetails, /// (no description). DBTEAMLOGEventDetailsChangedEnterpriseConnectedTeamStatusDetails, /// (no description). DBTEAMLOGEventDetailsEndedEnterpriseAdminSessionDetails, /// (no description). DBTEAMLOGEventDetailsEndedEnterpriseAdminSessionDeprecatedDetails, /// (no description). DBTEAMLOGEventDetailsEnterpriseSettingsLockingDetails, /// (no description). DBTEAMLOGEventDetailsGuestAdminChangeStatusDetails, /// (no description). DBTEAMLOGEventDetailsStartedEnterpriseAdminSessionDetails, /// (no description). DBTEAMLOGEventDetailsTeamMergeRequestAcceptedDetails, /// (no description). DBTEAMLOGEventDetailsTeamMergeRequestAcceptedShownToPrimaryTeamDetails, /// (no description). DBTEAMLOGEventDetailsTeamMergeRequestAcceptedShownToSecondaryTeamDetails, /// (no description). DBTEAMLOGEventDetailsTeamMergeRequestAutoCanceledDetails, /// (no description). DBTEAMLOGEventDetailsTeamMergeRequestCanceledDetails, /// (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; /// (no description). @note Ensure the `isAdminAlertingAlertStateChangedDetails` /// method returns true before accessing, otherwise a runtime exception will be /// raised. @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; /// (no description). @note Ensure the `isAdminAlertingTriggeredAlertDetails` /// method returns true before accessing, otherwise a runtime exception will be /// raised. @property (nonatomic, readonly) DBTEAMLOGAdminAlertingTriggeredAlertDetails *adminAlertingTriggeredAlertDetails; /// (no description). @note Ensure the /// `isRansomwareRestoreProcessCompletedDetails` method returns true before /// accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) DBTEAMLOGRansomwareRestoreProcessCompletedDetails *ransomwareRestoreProcessCompletedDetails; /// (no description). @note Ensure the /// `isRansomwareRestoreProcessStartedDetails` method returns true before /// accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) DBTEAMLOGRansomwareRestoreProcessStartedDetails *ransomwareRestoreProcessStartedDetails; /// (no description). @note Ensure the `isAppBlockedByPermissionsDetails` method /// returns true before accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) DBTEAMLOGAppBlockedByPermissionsDetails *appBlockedByPermissionsDetails; /// (no description). @note Ensure the `isAppLinkTeamDetails` method returns /// true before accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) DBTEAMLOGAppLinkTeamDetails *appLinkTeamDetails; /// (no description). @note Ensure the `isAppLinkUserDetails` method returns /// true before accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) DBTEAMLOGAppLinkUserDetails *appLinkUserDetails; /// (no description). @note Ensure the `isAppUnlinkTeamDetails` method returns /// true before accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) DBTEAMLOGAppUnlinkTeamDetails *appUnlinkTeamDetails; /// (no description). @note Ensure the `isAppUnlinkUserDetails` method returns /// true before accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) DBTEAMLOGAppUnlinkUserDetails *appUnlinkUserDetails; /// (no description). @note Ensure the `isIntegrationConnectedDetails` method /// returns true before accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) DBTEAMLOGIntegrationConnectedDetails *integrationConnectedDetails; /// (no description). @note Ensure the `isIntegrationDisconnectedDetails` method /// returns true before accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) DBTEAMLOGIntegrationDisconnectedDetails *integrationDisconnectedDetails; /// (no description). @note Ensure the `isFileAddCommentDetails` method returns /// true before accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) DBTEAMLOGFileAddCommentDetails *fileAddCommentDetails; /// (no description). @note Ensure the `isFileChangeCommentSubscriptionDetails` /// method returns true before accessing, otherwise a runtime exception will be /// raised. @property (nonatomic, readonly) DBTEAMLOGFileChangeCommentSubscriptionDetails *fileChangeCommentSubscriptionDetails; /// (no description). @note Ensure the `isFileDeleteCommentDetails` method /// returns true before accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) DBTEAMLOGFileDeleteCommentDetails *fileDeleteCommentDetails; /// (no description). @note Ensure the `isFileEditCommentDetails` method returns /// true before accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) DBTEAMLOGFileEditCommentDetails *fileEditCommentDetails; /// (no description). @note Ensure the `isFileLikeCommentDetails` method returns /// true before accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) DBTEAMLOGFileLikeCommentDetails *fileLikeCommentDetails; /// (no description). @note Ensure the `isFileResolveCommentDetails` method /// returns true before accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) DBTEAMLOGFileResolveCommentDetails *fileResolveCommentDetails; /// (no description). @note Ensure the `isFileUnlikeCommentDetails` method /// returns true before accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) DBTEAMLOGFileUnlikeCommentDetails *fileUnlikeCommentDetails; /// (no description). @note Ensure the `isFileUnresolveCommentDetails` method /// returns true before accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) DBTEAMLOGFileUnresolveCommentDetails *fileUnresolveCommentDetails; /// (no description). @note Ensure the `isGovernancePolicyAddFoldersDetails` /// method returns true before accessing, otherwise a runtime exception will be /// raised. @property (nonatomic, readonly) DBTEAMLOGGovernancePolicyAddFoldersDetails *governancePolicyAddFoldersDetails; /// (no description). @note Ensure the /// `isGovernancePolicyAddFolderFailedDetails` method returns true before /// accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) DBTEAMLOGGovernancePolicyAddFolderFailedDetails *governancePolicyAddFolderFailedDetails; /// (no description). @note Ensure the /// `isGovernancePolicyContentDisposedDetails` method returns true before /// accessing, otherwise a runtime exception will be raised. @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; /// (no description). @note Ensure the `isGovernancePolicyEditDetailsDetails` /// method returns true before accessing, otherwise a runtime exception will be /// raised. @property (nonatomic, readonly) DBTEAMLOGGovernancePolicyEditDetailsDetails *governancePolicyEditDetailsDetails; /// (no description). @note Ensure the `isGovernancePolicyEditDurationDetails` /// method returns true before accessing, otherwise a runtime exception will be /// raised. @property (nonatomic, readonly) DBTEAMLOGGovernancePolicyEditDurationDetails *governancePolicyEditDurationDetails; /// (no description). @note Ensure the `isGovernancePolicyExportCreatedDetails` /// method returns true before accessing, otherwise a runtime exception will be /// raised. @property (nonatomic, readonly) DBTEAMLOGGovernancePolicyExportCreatedDetails *governancePolicyExportCreatedDetails; /// (no description). @note Ensure the `isGovernancePolicyExportRemovedDetails` /// method returns true before accessing, otherwise a runtime exception will be /// raised. @property (nonatomic, readonly) DBTEAMLOGGovernancePolicyExportRemovedDetails *governancePolicyExportRemovedDetails; /// (no description). @note Ensure the `isGovernancePolicyRemoveFoldersDetails` /// method returns true before accessing, otherwise a runtime exception will be /// raised. @property (nonatomic, readonly) DBTEAMLOGGovernancePolicyRemoveFoldersDetails *governancePolicyRemoveFoldersDetails; /// (no description). @note Ensure the `isGovernancePolicyReportCreatedDetails` /// method returns true before accessing, otherwise a runtime exception will be /// raised. @property (nonatomic, readonly) DBTEAMLOGGovernancePolicyReportCreatedDetails *governancePolicyReportCreatedDetails; /// (no description). @note Ensure the /// `isGovernancePolicyZipPartDownloadedDetails` method returns true before /// accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) DBTEAMLOGGovernancePolicyZipPartDownloadedDetails *governancePolicyZipPartDownloadedDetails; /// (no description). @note Ensure the `isLegalHoldsActivateAHoldDetails` method /// returns true before accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) DBTEAMLOGLegalHoldsActivateAHoldDetails *legalHoldsActivateAHoldDetails; /// (no description). @note Ensure the `isLegalHoldsAddMembersDetails` method /// returns true before accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) DBTEAMLOGLegalHoldsAddMembersDetails *legalHoldsAddMembersDetails; /// (no description). @note Ensure the `isLegalHoldsChangeHoldDetailsDetails` /// method returns true before accessing, otherwise a runtime exception will be /// raised. @property (nonatomic, readonly) DBTEAMLOGLegalHoldsChangeHoldDetailsDetails *legalHoldsChangeHoldDetailsDetails; /// (no description). @note Ensure the `isLegalHoldsChangeHoldNameDetails` /// method returns true before accessing, otherwise a runtime exception will be /// raised. @property (nonatomic, readonly) DBTEAMLOGLegalHoldsChangeHoldNameDetails *legalHoldsChangeHoldNameDetails; /// (no description). @note Ensure the `isLegalHoldsExportAHoldDetails` method /// returns true before accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) DBTEAMLOGLegalHoldsExportAHoldDetails *legalHoldsExportAHoldDetails; /// (no description). @note Ensure the `isLegalHoldsExportCancelledDetails` /// method returns true before accessing, otherwise a runtime exception will be /// raised. @property (nonatomic, readonly) DBTEAMLOGLegalHoldsExportCancelledDetails *legalHoldsExportCancelledDetails; /// (no description). @note Ensure the `isLegalHoldsExportDownloadedDetails` /// method returns true before accessing, otherwise a runtime exception will be /// raised. @property (nonatomic, readonly) DBTEAMLOGLegalHoldsExportDownloadedDetails *legalHoldsExportDownloadedDetails; /// (no description). @note Ensure the `isLegalHoldsExportRemovedDetails` method /// returns true before accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) DBTEAMLOGLegalHoldsExportRemovedDetails *legalHoldsExportRemovedDetails; /// (no description). @note Ensure the `isLegalHoldsReleaseAHoldDetails` method /// returns true before accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) DBTEAMLOGLegalHoldsReleaseAHoldDetails *legalHoldsReleaseAHoldDetails; /// (no description). @note Ensure the `isLegalHoldsRemoveMembersDetails` method /// returns true before accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) DBTEAMLOGLegalHoldsRemoveMembersDetails *legalHoldsRemoveMembersDetails; /// (no description). @note Ensure the `isLegalHoldsReportAHoldDetails` method /// returns true before accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) DBTEAMLOGLegalHoldsReportAHoldDetails *legalHoldsReportAHoldDetails; /// (no description). @note Ensure the `isDeviceChangeIpDesktopDetails` method /// returns true before accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) DBTEAMLOGDeviceChangeIpDesktopDetails *deviceChangeIpDesktopDetails; /// (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) DBTEAMLOGDropboxPasswordsNewDeviceEnrolledDetails *dropboxPasswordsNewDeviceEnrolledDetails; /// (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; /// (no description). @note Ensure the `isAccountCaptureMigrateAccountDetails` /// method returns true before accessing, otherwise a runtime exception will be /// raised. @property (nonatomic, readonly) DBTEAMLOGAccountCaptureMigrateAccountDetails *accountCaptureMigrateAccountDetails; /// (no description). @note Ensure the /// `isAccountCaptureNotificationEmailsSentDetails` method returns true before /// accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) DBTEAMLOGAccountCaptureNotificationEmailsSentDetails *accountCaptureNotificationEmailsSentDetails; /// (no description). @note Ensure the /// `isAccountCaptureRelinquishAccountDetails` method returns true before /// accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) DBTEAMLOGAccountCaptureRelinquishAccountDetails *accountCaptureRelinquishAccountDetails; /// (no description). @note Ensure the `isDisabledDomainInvitesDetails` method /// returns true before accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) DBTEAMLOGDisabledDomainInvitesDetails *disabledDomainInvitesDetails; /// (no description). @note Ensure the /// `isDomainInvitesApproveRequestToJoinTeamDetails` method returns true before /// accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) DBTEAMLOGDomainInvitesApproveRequestToJoinTeamDetails *domainInvitesApproveRequestToJoinTeamDetails; /// (no description). @note Ensure the /// `isDomainInvitesDeclineRequestToJoinTeamDetails` method returns true before /// accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamDetails *domainInvitesDeclineRequestToJoinTeamDetails; /// (no description). @note Ensure the /// `isDomainInvitesEmailExistingUsersDetails` method returns true before /// accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) DBTEAMLOGDomainInvitesEmailExistingUsersDetails *domainInvitesEmailExistingUsersDetails; /// (no description). @note Ensure the `isDomainInvitesRequestToJoinTeamDetails` /// method returns true before accessing, otherwise a runtime exception will be /// raised. @property (nonatomic, readonly) DBTEAMLOGDomainInvitesRequestToJoinTeamDetails *domainInvitesRequestToJoinTeamDetails; /// (no description). @note Ensure the /// `isDomainInvitesSetInviteNewUserPrefToNoDetails` method returns true before /// accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoDetails *domainInvitesSetInviteNewUserPrefToNoDetails; /// (no description). @note Ensure the /// `isDomainInvitesSetInviteNewUserPrefToYesDetails` method returns true before /// accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesDetails *domainInvitesSetInviteNewUserPrefToYesDetails; /// (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 /// "data_residency_migration_request_successful_details". /// /// @param dataResidencyMigrationRequestSuccessfulDetails (no description). /// /// @return An initialized instance. /// - (instancetype)initWithDataResidencyMigrationRequestSuccessfulDetails: (DBTEAMLOGDataResidencyMigrationRequestSuccessfulDetails *)dataResidencyMigrationRequestSuccessfulDetails; /// /// Initializes union class with tag state of /// "data_residency_migration_request_unsuccessful_details". /// /// @param dataResidencyMigrationRequestUnsuccessfulDetails (no description). /// /// @return An initialized instance. /// - (instancetype)initWithDataResidencyMigrationRequestUnsuccessfulDetails: (DBTEAMLOGDataResidencyMigrationRequestUnsuccessfulDetails *)dataResidencyMigrationRequestUnsuccessfulDetails; /// /// Initializes union class with tag state of "team_merge_from_details". /// /// @param teamMergeFromDetails (no description). /// /// @return An initialized instance. /// - (instancetype)initWithTeamMergeFromDetails:(DBTEAMLOGTeamMergeFromDetails *)teamMergeFromDetails; /// /// Initializes union class with tag state of "team_merge_to_details". /// /// @param teamMergeToDetails (no description). /// /// @return An initialized instance. /// - (instancetype)initWithTeamMergeToDetails:(DBTEAMLOGTeamMergeToDetails *)teamMergeToDetails; /// /// Initializes union class with tag state of /// "team_profile_add_background_details". /// /// @param teamProfileAddBackgroundDetails (no description). /// /// @return An initialized instance. /// - (instancetype)initWithTeamProfileAddBackgroundDetails: (DBTEAMLOGTeamProfileAddBackgroundDetails *)teamProfileAddBackgroundDetails; /// /// Initializes union class with tag state of "team_profile_add_logo_details". /// /// @param teamProfileAddLogoDetails (no description). /// /// @return An initialized instance. /// - (instancetype)initWithTeamProfileAddLogoDetails:(DBTEAMLOGTeamProfileAddLogoDetails *)teamProfileAddLogoDetails; /// /// Initializes union class with tag state of /// "team_profile_change_background_details". /// /// @param teamProfileChangeBackgroundDetails (no description). /// /// @return An initialized instance. /// - (instancetype)initWithTeamProfileChangeBackgroundDetails: (DBTEAMLOGTeamProfileChangeBackgroundDetails *)teamProfileChangeBackgroundDetails; /// /// Initializes union class with tag state of /// "team_profile_change_default_language_details". /// /// @param teamProfileChangeDefaultLanguageDetails (no description). /// /// @return An initialized instance. /// - (instancetype)initWithTeamProfileChangeDefaultLanguageDetails: (DBTEAMLOGTeamProfileChangeDefaultLanguageDetails *)teamProfileChangeDefaultLanguageDetails; /// /// Initializes union class with tag state of /// "team_profile_change_logo_details". /// /// @param teamProfileChangeLogoDetails (no description). /// /// @return An initialized instance. /// - (instancetype)initWithTeamProfileChangeLogoDetails: (DBTEAMLOGTeamProfileChangeLogoDetails *)teamProfileChangeLogoDetails; /// /// Initializes union class with tag state of /// "team_profile_change_name_details". /// /// @param teamProfileChangeNameDetails (no description). /// /// @return An initialized instance. /// - (instancetype)initWithTeamProfileChangeNameDetails: (DBTEAMLOGTeamProfileChangeNameDetails *)teamProfileChangeNameDetails; /// /// Initializes union class with tag state of /// "team_profile_remove_background_details". /// /// @param teamProfileRemoveBackgroundDetails (no description). /// /// @return An initialized instance. /// - (instancetype)initWithTeamProfileRemoveBackgroundDetails: (DBTEAMLOGTeamProfileRemoveBackgroundDetails *)teamProfileRemoveBackgroundDetails; /// /// Initializes union class with tag state of /// "team_profile_remove_logo_details". /// /// @param teamProfileRemoveLogoDetails (no description). /// /// @return An initialized instance. /// - (instancetype)initWithTeamProfileRemoveLogoDetails: (DBTEAMLOGTeamProfileRemoveLogoDetails *)teamProfileRemoveLogoDetails; /// /// Initializes union class with tag state of "tfa_add_backup_phone_details". /// /// @param tfaAddBackupPhoneDetails (no description). /// /// @return An initialized instance. /// - (instancetype)initWithTfaAddBackupPhoneDetails:(DBTEAMLOGTfaAddBackupPhoneDetails *)tfaAddBackupPhoneDetails; /// /// Initializes union class with tag state of "tfa_add_security_key_details". /// /// @param tfaAddSecurityKeyDetails (no description). /// /// @return An initialized instance. /// - (instancetype)initWithTfaAddSecurityKeyDetails:(DBTEAMLOGTfaAddSecurityKeyDetails *)tfaAddSecurityKeyDetails; /// /// Initializes union class with tag state of "tfa_change_backup_phone_details". /// /// @param tfaChangeBackupPhoneDetails (no description). /// /// @return An initialized instance. /// - (instancetype)initWithTfaChangeBackupPhoneDetails:(DBTEAMLOGTfaChangeBackupPhoneDetails *)tfaChangeBackupPhoneDetails; /// /// Initializes union class with tag state of "tfa_change_status_details". /// /// @param tfaChangeStatusDetails (no description). /// /// @return An initialized instance. /// - (instancetype)initWithTfaChangeStatusDetails:(DBTEAMLOGTfaChangeStatusDetails *)tfaChangeStatusDetails; /// /// Initializes union class with tag state of "tfa_remove_backup_phone_details". /// /// @param tfaRemoveBackupPhoneDetails (no description). /// /// @return An initialized instance. /// - (instancetype)initWithTfaRemoveBackupPhoneDetails:(DBTEAMLOGTfaRemoveBackupPhoneDetails *)tfaRemoveBackupPhoneDetails; /// /// Initializes union class with tag state of "tfa_remove_security_key_details". /// /// @param tfaRemoveSecurityKeyDetails (no description). /// /// @return An initialized instance. /// - (instancetype)initWithTfaRemoveSecurityKeyDetails:(DBTEAMLOGTfaRemoveSecurityKeyDetails *)tfaRemoveSecurityKeyDetails; /// /// Initializes union class with tag state of "tfa_reset_details". /// /// @param tfaResetDetails (no description). /// /// @return An initialized instance. /// - (instancetype)initWithTfaResetDetails:(DBTEAMLOGTfaResetDetails *)tfaResetDetails; /// /// Initializes union class with tag state of /// "changed_enterprise_admin_role_details". /// /// @param changedEnterpriseAdminRoleDetails (no description). /// /// @return An initialized instance. /// - (instancetype)initWithChangedEnterpriseAdminRoleDetails: (DBTEAMLOGChangedEnterpriseAdminRoleDetails *)changedEnterpriseAdminRoleDetails; /// /// Initializes union class with tag state of /// "changed_enterprise_connected_team_status_details". /// /// @param changedEnterpriseConnectedTeamStatusDetails (no description). /// /// @return An initialized instance. /// - (instancetype)initWithChangedEnterpriseConnectedTeamStatusDetails: (DBTEAMLOGChangedEnterpriseConnectedTeamStatusDetails *)changedEnterpriseConnectedTeamStatusDetails; /// /// Initializes union class with tag state of /// "ended_enterprise_admin_session_details". /// /// @param endedEnterpriseAdminSessionDetails (no description). /// /// @return An initialized instance. /// - (instancetype)initWithEndedEnterpriseAdminSessionDetails: (DBTEAMLOGEndedEnterpriseAdminSessionDetails *)endedEnterpriseAdminSessionDetails; /// /// Initializes union class with tag state of /// "ended_enterprise_admin_session_deprecated_details". /// /// @param endedEnterpriseAdminSessionDeprecatedDetails (no description). /// /// @return An initialized instance. /// - (instancetype)initWithEndedEnterpriseAdminSessionDeprecatedDetails: (DBTEAMLOGEndedEnterpriseAdminSessionDeprecatedDetails *)endedEnterpriseAdminSessionDeprecatedDetails; /// /// Initializes union class with tag state of /// "enterprise_settings_locking_details". /// /// @param enterpriseSettingsLockingDetails (no description). /// /// @return An initialized instance. /// - (instancetype)initWithEnterpriseSettingsLockingDetails: (DBTEAMLOGEnterpriseSettingsLockingDetails *)enterpriseSettingsLockingDetails; /// /// Initializes union class with tag state of /// "guest_admin_change_status_details". /// /// @param guestAdminChangeStatusDetails (no description). /// /// @return An initialized instance. /// - (instancetype)initWithGuestAdminChangeStatusDetails: (DBTEAMLOGGuestAdminChangeStatusDetails *)guestAdminChangeStatusDetails; /// /// Initializes union class with tag state of /// "started_enterprise_admin_session_details". /// /// @param startedEnterpriseAdminSessionDetails (no description). /// /// @return An initialized instance. /// - (instancetype)initWithStartedEnterpriseAdminSessionDetails: (DBTEAMLOGStartedEnterpriseAdminSessionDetails *)startedEnterpriseAdminSessionDetails; /// /// Initializes union class with tag state of /// "team_merge_request_accepted_details". /// /// @param teamMergeRequestAcceptedDetails (no description). /// /// @return An initialized instance. /// - (instancetype)initWithTeamMergeRequestAcceptedDetails: (DBTEAMLOGTeamMergeRequestAcceptedDetails *)teamMergeRequestAcceptedDetails; /// /// Initializes union class with tag state of /// "team_merge_request_accepted_shown_to_primary_team_details". /// /// @param teamMergeRequestAcceptedShownToPrimaryTeamDetails (no description). /// /// @return An initialized instance. /// - (instancetype)initWithTeamMergeRequestAcceptedShownToPrimaryTeamDetails: (DBTEAMLOGTeamMergeRequestAcceptedShownToPrimaryTeamDetails *)teamMergeRequestAcceptedShownToPrimaryTeamDetails; /// /// Initializes union class with tag state of /// "team_merge_request_accepted_shown_to_secondary_team_details". /// /// @param teamMergeRequestAcceptedShownToSecondaryTeamDetails (no description). /// /// @return An initialized instance. /// - (instancetype)initWithTeamMergeRequestAcceptedShownToSecondaryTeamDetails: (DBTEAMLOGTeamMergeRequestAcceptedShownToSecondaryTeamDetails *)teamMergeRequestAcceptedShownToSecondaryTeamDetails; /// /// Initializes union class with tag state of /// "team_merge_request_auto_canceled_details". /// /// @param teamMergeRequestAutoCanceledDetails (no description). /// /// @return An initialized instance. /// - (instancetype)initWithTeamMergeRequestAutoCanceledDetails: (DBTEAMLOGTeamMergeRequestAutoCanceledDetails *)teamMergeRequestAutoCanceledDetails; /// /// Initializes union class with tag state of /// "team_merge_request_canceled_details". /// /// @param teamMergeRequestCanceledDetails (no description). /// /// @return An initialized instance. /// - (instancetype)initWithTeamMergeRequestCanceledDetails: (DBTEAMLOGTeamMergeRequestCanceledDetails *)teamMergeRequestCanceledDetails; /// /// Initializes union class with tag state of /// "team_merge_request_canceled_shown_to_primary_team_details". /// /// @param teamMergeRequestCanceledShownToPrimaryTeamDetails (no description). /// /// @return An initialized instance. /// - (instancetype)initWithTeamMergeRequestCanceledShownToPrimaryTeamDetails: (DBTEAMLOGTeamMergeRequestCanceledShownToPrimaryTeamDetails *)teamMergeRequestCanceledShownToPrimaryTeamDetails; /// /// Initializes union class with tag state of /// "team_merge_request_canceled_shown_to_secondary_team_details". /// /// @param teamMergeRequestCanceledShownToSecondaryTeamDetails (no description). /// /// @return An initialized instance. /// - (instancetype)initWithTeamMergeRequestCanceledShownToSecondaryTeamDetails: (DBTEAMLOGTeamMergeRequestCanceledShownToSecondaryTeamDetails *)teamMergeRequestCanceledShownToSecondaryTeamDetails; /// /// Initializes union class with tag state of /// "team_merge_request_expired_details". /// /// @param teamMergeRequestExpiredDetails (no description). /// /// @return An initialized instance. /// - (instancetype)initWithTeamMergeRequestExpiredDetails: (DBTEAMLOGTeamMergeRequestExpiredDetails *)teamMergeRequestExpiredDetails; /// /// Initializes union class with tag state of /// "team_merge_request_expired_shown_to_primary_team_details". /// /// @param teamMergeRequestExpiredShownToPrimaryTeamDetails (no description). /// /// @return An initialized instance. /// - (instancetype)initWithTeamMergeRequestExpiredShownToPrimaryTeamDetails: (DBTEAMLOGTeamMergeRequestExpiredShownToPrimaryTeamDetails *)teamMergeRequestExpiredShownToPrimaryTeamDetails; /// /// Initializes union class with tag state of /// "team_merge_request_expired_shown_to_secondary_team_details". /// /// @param teamMergeRequestExpiredShownToSecondaryTeamDetails (no description). /// /// @return An initialized instance. /// - (instancetype)initWithTeamMergeRequestExpiredShownToSecondaryTeamDetails: (DBTEAMLOGTeamMergeRequestExpiredShownToSecondaryTeamDetails *)teamMergeRequestExpiredShownToSecondaryTeamDetails; /// /// Initializes union class with tag state of /// "team_merge_request_rejected_shown_to_primary_team_details". /// /// @param teamMergeRequestRejectedShownToPrimaryTeamDetails (no description). /// /// @return An initialized instance. /// - (instancetype)initWithTeamMergeRequestRejectedShownToPrimaryTeamDetails: (DBTEAMLOGTeamMergeRequestRejectedShownToPrimaryTeamDetails *)teamMergeRequestRejectedShownToPrimaryTeamDetails; /// /// Initializes union class with tag state of /// "team_merge_request_rejected_shown_to_secondary_team_details". /// /// @param teamMergeRequestRejectedShownToSecondaryTeamDetails (no description). /// /// @return An initialized instance. /// - (instancetype)initWithTeamMergeRequestRejectedShownToSecondaryTeamDetails: (DBTEAMLOGTeamMergeRequestRejectedShownToSecondaryTeamDetails *)teamMergeRequestRejectedShownToSecondaryTeamDetails; /// /// Initializes union class with tag state of /// "team_merge_request_reminder_details". /// /// @param teamMergeRequestReminderDetails (no description). /// /// @return An initialized instance. /// - (instancetype)initWithTeamMergeRequestReminderDetails: (DBTEAMLOGTeamMergeRequestReminderDetails *)teamMergeRequestReminderDetails; /// /// Initializes union class with tag state of /// "team_merge_request_reminder_shown_to_primary_team_details". /// /// @param teamMergeRequestReminderShownToPrimaryTeamDetails (no description). /// /// @return An initialized instance. /// - (instancetype)initWithTeamMergeRequestReminderShownToPrimaryTeamDetails: (DBTEAMLOGTeamMergeRequestReminderShownToPrimaryTeamDetails *)teamMergeRequestReminderShownToPrimaryTeamDetails; /// /// Initializes union class with tag state of /// "team_merge_request_reminder_shown_to_secondary_team_details". /// /// @param teamMergeRequestReminderShownToSecondaryTeamDetails (no description). /// /// @return An initialized instance. /// - (instancetype)initWithTeamMergeRequestReminderShownToSecondaryTeamDetails: (DBTEAMLOGTeamMergeRequestReminderShownToSecondaryTeamDetails *)teamMergeRequestReminderShownToSecondaryTeamDetails; /// /// Initializes union class with tag state of /// "team_merge_request_revoked_details". /// /// @param teamMergeRequestRevokedDetails (no description). /// /// @return An initialized instance. /// - (instancetype)initWithTeamMergeRequestRevokedDetails: (DBTEAMLOGTeamMergeRequestRevokedDetails *)teamMergeRequestRevokedDetails; /// /// Initializes union class with tag state of /// "team_merge_request_sent_shown_to_primary_team_details". /// /// @param teamMergeRequestSentShownToPrimaryTeamDetails (no description). /// /// @return An initialized instance. /// - (instancetype)initWithTeamMergeRequestSentShownToPrimaryTeamDetails: (DBTEAMLOGTeamMergeRequestSentShownToPrimaryTeamDetails *)teamMergeRequestSentShownToPrimaryTeamDetails; /// /// Initializes union class with tag state of /// "team_merge_request_sent_shown_to_secondary_team_details". /// /// @param teamMergeRequestSentShownToSecondaryTeamDetails (no description). /// /// @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; /// /// 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_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; /// /// Retrieves whether the union's current tag state has value /// "ransomware_restore_process_completed_details". /// /// @note Call this method and ensure it returns true before accessing the /// `ransomwareRestoreProcessCompletedDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value /// "ransomware_restore_process_completed_details". /// - (BOOL)isRansomwareRestoreProcessCompletedDetails; /// /// Retrieves whether the union's current tag state has value /// "ransomware_restore_process_started_details". /// /// @note Call this method and ensure it returns true before accessing the /// `ransomwareRestoreProcessStartedDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value /// "ransomware_restore_process_started_details". /// - (BOOL)isRansomwareRestoreProcessStartedDetails; /// /// Retrieves whether the union's current tag state has value /// "app_blocked_by_permissions_details". /// /// @note Call this method and ensure it returns true before accessing the /// `appBlockedByPermissionsDetails` property, otherwise a runtime exception /// will be thrown. /// /// @return Whether the union's current tag state has value /// "app_blocked_by_permissions_details". /// - (BOOL)isAppBlockedByPermissionsDetails; /// /// Retrieves whether the union's current tag state has value /// "app_link_team_details". /// /// @note Call this method and ensure it returns true before accessing the /// `appLinkTeamDetails` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value /// "app_link_team_details". /// - (BOOL)isAppLinkTeamDetails; /// /// Retrieves whether the union's current tag state has value /// "app_link_user_details". /// /// @note Call this method and ensure it returns true before accessing the /// `appLinkUserDetails` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value /// "app_link_user_details". /// - (BOOL)isAppLinkUserDetails; /// /// Retrieves whether the union's current tag state has value /// "app_unlink_team_details". /// /// @note Call this method and ensure it returns true before accessing the /// `appUnlinkTeamDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "app_unlink_team_details". /// - (BOOL)isAppUnlinkTeamDetails; /// /// Retrieves whether the union's current tag state has value /// "app_unlink_user_details". /// /// @note Call this method and ensure it returns true before accessing the /// `appUnlinkUserDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "app_unlink_user_details". /// - (BOOL)isAppUnlinkUserDetails; /// /// Retrieves whether the union's current tag state has value /// "integration_connected_details". /// /// @note Call this method and ensure it returns true before accessing the /// `integrationConnectedDetails` property, otherwise a runtime exception will /// be thrown. /// /// @return Whether the union's current tag state has value /// "integration_connected_details". /// - (BOOL)isIntegrationConnectedDetails; /// /// Retrieves whether the union's current tag state has value /// "integration_disconnected_details". /// /// @note Call this method and ensure it returns true before accessing the /// `integrationDisconnectedDetails` property, otherwise a runtime exception /// will be thrown. /// /// @return Whether the union's current tag state has value /// "integration_disconnected_details". /// - (BOOL)isIntegrationDisconnectedDetails; /// /// Retrieves whether the union's current tag state has value /// "file_add_comment_details". /// /// @note Call this method and ensure it returns true before accessing the /// `fileAddCommentDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "file_add_comment_details". /// - (BOOL)isFileAddCommentDetails; /// /// Retrieves whether the union's current tag state has value /// "file_change_comment_subscription_details". /// /// @note Call this method and ensure it returns true before accessing the /// `fileChangeCommentSubscriptionDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value /// "file_change_comment_subscription_details". /// - (BOOL)isFileChangeCommentSubscriptionDetails; /// /// Retrieves whether the union's current tag state has value /// "file_delete_comment_details". /// /// @note Call this method and ensure it returns true before accessing the /// `fileDeleteCommentDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "file_delete_comment_details". /// - (BOOL)isFileDeleteCommentDetails; /// /// Retrieves whether the union's current tag state has value /// "file_edit_comment_details". /// /// @note Call this method and ensure it returns true before accessing the /// `fileEditCommentDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "file_edit_comment_details". /// - (BOOL)isFileEditCommentDetails; /// /// Retrieves whether the union's current tag state has value /// "file_like_comment_details". /// /// @note Call this method and ensure it returns true before accessing the /// `fileLikeCommentDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "file_like_comment_details". /// - (BOOL)isFileLikeCommentDetails; /// /// Retrieves whether the union's current tag state has value /// "file_resolve_comment_details". /// /// @note Call this method and ensure it returns true before accessing the /// `fileResolveCommentDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "file_resolve_comment_details". /// - (BOOL)isFileResolveCommentDetails; /// /// Retrieves whether the union's current tag state has value /// "file_unlike_comment_details". /// /// @note Call this method and ensure it returns true before accessing the /// `fileUnlikeCommentDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "file_unlike_comment_details". /// - (BOOL)isFileUnlikeCommentDetails; /// /// Retrieves whether the union's current tag state has value /// "file_unresolve_comment_details". /// /// @note Call this method and ensure it returns true before accessing the /// `fileUnresolveCommentDetails` property, otherwise a runtime exception will /// be thrown. /// /// @return Whether the union's current tag state has value /// "file_unresolve_comment_details". /// - (BOOL)isFileUnresolveCommentDetails; /// /// Retrieves whether the union's current tag state has value /// "governance_policy_add_folders_details". /// /// @note Call this method and ensure it returns true before accessing the /// `governancePolicyAddFoldersDetails` property, otherwise a runtime exception /// will be thrown. /// /// @return Whether the union's current tag state has value /// "governance_policy_add_folders_details". /// - (BOOL)isGovernancePolicyAddFoldersDetails; /// /// Retrieves whether the union's current tag state has value /// "governance_policy_add_folder_failed_details". /// /// @note Call this method and ensure it returns true before accessing the /// `governancePolicyAddFolderFailedDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value /// "governance_policy_add_folder_failed_details". /// - (BOOL)isGovernancePolicyAddFolderFailedDetails; /// /// Retrieves whether the union's current tag state has value /// "governance_policy_content_disposed_details". /// /// @note Call this method and ensure it returns true before accessing the /// `governancePolicyContentDisposedDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value /// "governance_policy_content_disposed_details". /// - (BOOL)isGovernancePolicyContentDisposedDetails; /// /// Retrieves whether the union's current tag state has value /// "governance_policy_create_details". /// /// @note Call this method and ensure it returns true before accessing the /// `governancePolicyCreateDetails` property, otherwise a runtime exception will /// be thrown. /// /// @return Whether the union's current tag state has value /// "governance_policy_create_details". /// - (BOOL)isGovernancePolicyCreateDetails; /// /// Retrieves whether the union's current tag state has value /// "governance_policy_delete_details". /// /// @note Call this method and ensure it returns true before accessing the /// `governancePolicyDeleteDetails` property, otherwise a runtime exception will /// be thrown. /// /// @return Whether the union's current tag state has value /// "governance_policy_delete_details". /// - (BOOL)isGovernancePolicyDeleteDetails; /// /// Retrieves whether the union's current tag state has value /// "governance_policy_edit_details_details". /// /// @note Call this method and ensure it returns true before accessing the /// `governancePolicyEditDetailsDetails` property, otherwise a runtime exception /// will be thrown. /// /// @return Whether the union's current tag state has value /// "governance_policy_edit_details_details". /// - (BOOL)isGovernancePolicyEditDetailsDetails; /// /// Retrieves whether the union's current tag state has value /// "governance_policy_edit_duration_details". /// /// @note Call this method and ensure it returns true before accessing the /// `governancePolicyEditDurationDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value /// "governance_policy_edit_duration_details". /// - (BOOL)isGovernancePolicyEditDurationDetails; /// /// Retrieves whether the union's current tag state has value /// "governance_policy_export_created_details". /// /// @note Call this method and ensure it returns true before accessing the /// `governancePolicyExportCreatedDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value /// "governance_policy_export_created_details". /// - (BOOL)isGovernancePolicyExportCreatedDetails; /// /// Retrieves whether the union's current tag state has value /// "governance_policy_export_removed_details". /// /// @note Call this method and ensure it returns true before accessing the /// `governancePolicyExportRemovedDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value /// "governance_policy_export_removed_details". /// - (BOOL)isGovernancePolicyExportRemovedDetails; /// /// Retrieves whether the union's current tag state has value /// "governance_policy_remove_folders_details". /// /// @note Call this method and ensure it returns true before accessing the /// `governancePolicyRemoveFoldersDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value /// "governance_policy_remove_folders_details". /// - (BOOL)isGovernancePolicyRemoveFoldersDetails; /// /// Retrieves whether the union's current tag state has value /// "governance_policy_report_created_details". /// /// @note Call this method and ensure it returns true before accessing the /// `governancePolicyReportCreatedDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value /// "governance_policy_report_created_details". /// - (BOOL)isGovernancePolicyReportCreatedDetails; /// /// Retrieves whether the union's current tag state has value /// "governance_policy_zip_part_downloaded_details". /// /// @note Call this method and ensure it returns true before accessing the /// `governancePolicyZipPartDownloadedDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value /// "governance_policy_zip_part_downloaded_details". /// - (BOOL)isGovernancePolicyZipPartDownloadedDetails; /// /// Retrieves whether the union's current tag state has value /// "legal_holds_activate_a_hold_details". /// /// @note Call this method and ensure it returns true before accessing the /// `legalHoldsActivateAHoldDetails` property, otherwise a runtime exception /// will be thrown. /// /// @return Whether the union's current tag state has value /// "legal_holds_activate_a_hold_details". /// - (BOOL)isLegalHoldsActivateAHoldDetails; /// /// Retrieves whether the union's current tag state has value /// "legal_holds_add_members_details". /// /// @note Call this method and ensure it returns true before accessing the /// `legalHoldsAddMembersDetails` property, otherwise a runtime exception will /// be thrown. /// /// @return Whether the union's current tag state has value /// "legal_holds_add_members_details". /// - (BOOL)isLegalHoldsAddMembersDetails; /// /// Retrieves whether the union's current tag state has value /// "legal_holds_change_hold_details_details". /// /// @note Call this method and ensure it returns true before accessing the /// `legalHoldsChangeHoldDetailsDetails` property, otherwise a runtime exception /// will be thrown. /// /// @return Whether the union's current tag state has value /// "legal_holds_change_hold_details_details". /// - (BOOL)isLegalHoldsChangeHoldDetailsDetails; /// /// Retrieves whether the union's current tag state has value /// "legal_holds_change_hold_name_details". /// /// @note Call this method and ensure it returns true before accessing the /// `legalHoldsChangeHoldNameDetails` property, otherwise a runtime exception /// will be thrown. /// /// @return Whether the union's current tag state has value /// "legal_holds_change_hold_name_details". /// - (BOOL)isLegalHoldsChangeHoldNameDetails; /// /// Retrieves whether the union's current tag state has value /// "legal_holds_export_a_hold_details". /// /// @note Call this method and ensure it returns true before accessing the /// `legalHoldsExportAHoldDetails` property, otherwise a runtime exception will /// be thrown. /// /// @return Whether the union's current tag state has value /// "legal_holds_export_a_hold_details". /// - (BOOL)isLegalHoldsExportAHoldDetails; /// /// Retrieves whether the union's current tag state has value /// "legal_holds_export_cancelled_details". /// /// @note Call this method and ensure it returns true before accessing the /// `legalHoldsExportCancelledDetails` property, otherwise a runtime exception /// will be thrown. /// /// @return Whether the union's current tag state has value /// "legal_holds_export_cancelled_details". /// - (BOOL)isLegalHoldsExportCancelledDetails; /// /// Retrieves whether the union's current tag state has value /// "legal_holds_export_downloaded_details". /// /// @note Call this method and ensure it returns true before accessing the /// `legalHoldsExportDownloadedDetails` property, otherwise a runtime exception /// will be thrown. /// /// @return Whether the union's current tag state has value /// "legal_holds_export_downloaded_details". /// - (BOOL)isLegalHoldsExportDownloadedDetails; /// /// Retrieves whether the union's current tag state has value /// "legal_holds_export_removed_details". /// /// @note Call this method and ensure it returns true before accessing the /// `legalHoldsExportRemovedDetails` property, otherwise a runtime exception /// will be thrown. /// /// @return Whether the union's current tag state has value /// "legal_holds_export_removed_details". /// - (BOOL)isLegalHoldsExportRemovedDetails; /// /// Retrieves whether the union's current tag state has value /// "legal_holds_release_a_hold_details". /// /// @note Call this method and ensure it returns true before accessing the /// `legalHoldsReleaseAHoldDetails` property, otherwise a runtime exception will /// be thrown. /// /// @return Whether the union's current tag state has value /// "legal_holds_release_a_hold_details". /// - (BOOL)isLegalHoldsReleaseAHoldDetails; /// /// Retrieves whether the union's current tag state has value /// "legal_holds_remove_members_details". /// /// @note Call this method and ensure it returns true before accessing the /// `legalHoldsRemoveMembersDetails` property, otherwise a runtime exception /// will be thrown. /// /// @return Whether the union's current tag state has value /// "legal_holds_remove_members_details". /// - (BOOL)isLegalHoldsRemoveMembersDetails; /// /// Retrieves whether the union's current tag state has value /// "legal_holds_report_a_hold_details". /// /// @note Call this method and ensure it returns true before accessing the /// `legalHoldsReportAHoldDetails` property, otherwise a runtime exception will /// be thrown. /// /// @return Whether the union's current tag state has value /// "legal_holds_report_a_hold_details". /// - (BOOL)isLegalHoldsReportAHoldDetails; /// /// Retrieves whether the union's current tag state has value /// "device_change_ip_desktop_details". /// /// @note Call this method and ensure it returns true before accessing the /// `deviceChangeIpDesktopDetails` property, otherwise a runtime exception will /// be thrown. /// /// @return Whether the union's current tag state has value /// "device_change_ip_desktop_details". /// - (BOOL)isDeviceChangeIpDesktopDetails; /// /// Retrieves whether the union's current tag state has value /// "device_change_ip_mobile_details". /// /// @note Call this method and ensure it returns true before accessing the /// `deviceChangeIpMobileDetails` property, otherwise a runtime exception will /// be thrown. /// /// @return Whether the union's current tag state has value /// "device_change_ip_mobile_details". /// - (BOOL)isDeviceChangeIpMobileDetails; /// /// Retrieves whether the union's current tag state has value /// "device_change_ip_web_details". /// /// @note Call this method and ensure it returns true before accessing the /// `deviceChangeIpWebDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "device_change_ip_web_details". /// - (BOOL)isDeviceChangeIpWebDetails; /// /// Retrieves whether the union's current tag state has value /// "device_delete_on_unlink_fail_details". /// /// @note Call this method and ensure it returns true before accessing the /// `deviceDeleteOnUnlinkFailDetails` property, otherwise a runtime exception /// will be thrown. /// /// @return Whether the union's current tag state has value /// "device_delete_on_unlink_fail_details". /// - (BOOL)isDeviceDeleteOnUnlinkFailDetails; /// /// Retrieves whether the union's current tag state has value /// "device_delete_on_unlink_success_details". /// /// @note Call this method and ensure it returns true before accessing the /// `deviceDeleteOnUnlinkSuccessDetails` property, otherwise a runtime exception /// will be thrown. /// /// @return Whether the union's current tag state has value /// "device_delete_on_unlink_success_details". /// - (BOOL)isDeviceDeleteOnUnlinkSuccessDetails; /// /// Retrieves whether the union's current tag state has value /// "device_link_fail_details". /// /// @note Call this method and ensure it returns true before accessing the /// `deviceLinkFailDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "device_link_fail_details". /// - (BOOL)isDeviceLinkFailDetails; /// /// Retrieves whether the union's current tag state has value /// "device_link_success_details". /// /// @note Call this method and ensure it returns true before accessing the /// `deviceLinkSuccessDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "device_link_success_details". /// - (BOOL)isDeviceLinkSuccessDetails; /// /// Retrieves whether the union's current tag state has value /// "device_management_disabled_details". /// /// @note Call this method and ensure it returns true before accessing the /// `deviceManagementDisabledDetails` property, otherwise a runtime exception /// will be thrown. /// /// @return Whether the union's current tag state has value /// "device_management_disabled_details". /// - (BOOL)isDeviceManagementDisabledDetails; /// /// Retrieves whether the union's current tag state has value /// "device_management_enabled_details". /// /// @note Call this method and ensure it returns true before accessing the /// `deviceManagementEnabledDetails` property, otherwise a runtime exception /// will be thrown. /// /// @return Whether the union's current tag state has value /// "device_management_enabled_details". /// - (BOOL)isDeviceManagementEnabledDetails; /// /// Retrieves whether the union's current tag state has value /// "device_sync_backup_status_changed_details". /// /// @note Call this method and ensure it returns true before accessing the /// `deviceSyncBackupStatusChangedDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value /// "device_sync_backup_status_changed_details". /// - (BOOL)isDeviceSyncBackupStatusChangedDetails; /// /// Retrieves whether the union's current tag state has value /// "device_unlink_details". /// /// @note Call this method and ensure it returns true before accessing the /// `deviceUnlinkDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "device_unlink_details". /// - (BOOL)isDeviceUnlinkDetails; /// /// Retrieves whether the union's current tag state has value /// "dropbox_passwords_exported_details". /// /// @note Call this method and ensure it returns true before accessing the /// `dropboxPasswordsExportedDetails` property, otherwise a runtime exception /// will be thrown. /// /// @return Whether the union's current tag state has value /// "dropbox_passwords_exported_details". /// - (BOOL)isDropboxPasswordsExportedDetails; /// /// Retrieves whether the union's current tag state has value /// "dropbox_passwords_new_device_enrolled_details". /// /// @note Call this method and ensure it returns true before accessing the /// `dropboxPasswordsNewDeviceEnrolledDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value /// "dropbox_passwords_new_device_enrolled_details". /// - (BOOL)isDropboxPasswordsNewDeviceEnrolledDetails; /// /// Retrieves whether the union's current tag state has value /// "emm_refresh_auth_token_details". /// /// @note Call this method and ensure it returns true before accessing the /// `emmRefreshAuthTokenDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "emm_refresh_auth_token_details". /// - (BOOL)isEmmRefreshAuthTokenDetails; /// /// Retrieves whether the union's current tag state has value /// "external_drive_backup_eligibility_status_checked_details". /// /// @note Call this method and ensure it returns true before accessing the /// `externalDriveBackupEligibilityStatusCheckedDetails` property, otherwise a /// runtime exception will be thrown. /// /// @return Whether the union's current tag state has value /// "external_drive_backup_eligibility_status_checked_details". /// - (BOOL)isExternalDriveBackupEligibilityStatusCheckedDetails; /// /// Retrieves whether the union's current tag state has value /// "external_drive_backup_status_changed_details". /// /// @note Call this method and ensure it returns true before accessing the /// `externalDriveBackupStatusChangedDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value /// "external_drive_backup_status_changed_details". /// - (BOOL)isExternalDriveBackupStatusChangedDetails; /// /// Retrieves whether the union's current tag state has value /// "account_capture_change_availability_details". /// /// @note Call this method and ensure it returns true before accessing the /// `accountCaptureChangeAvailabilityDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value /// "account_capture_change_availability_details". /// - (BOOL)isAccountCaptureChangeAvailabilityDetails; /// /// Retrieves whether the union's current tag state has value /// "account_capture_migrate_account_details". /// /// @note Call this method and ensure it returns true before accessing the /// `accountCaptureMigrateAccountDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value /// "account_capture_migrate_account_details". /// - (BOOL)isAccountCaptureMigrateAccountDetails; /// /// Retrieves whether the union's current tag state has value /// "account_capture_notification_emails_sent_details". /// /// @note Call this method and ensure it returns true before accessing the /// `accountCaptureNotificationEmailsSentDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value /// "account_capture_notification_emails_sent_details". /// - (BOOL)isAccountCaptureNotificationEmailsSentDetails; /// /// Retrieves whether the union's current tag state has value /// "account_capture_relinquish_account_details". /// /// @note Call this method and ensure it returns true before accessing the /// `accountCaptureRelinquishAccountDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value /// "account_capture_relinquish_account_details". /// - (BOOL)isAccountCaptureRelinquishAccountDetails; /// /// Retrieves whether the union's current tag state has value /// "disabled_domain_invites_details". /// /// @note Call this method and ensure it returns true before accessing the /// `disabledDomainInvitesDetails` property, otherwise a runtime exception will /// be thrown. /// /// @return Whether the union's current tag state has value /// "disabled_domain_invites_details". /// - (BOOL)isDisabledDomainInvitesDetails; /// /// Retrieves whether the union's current tag state has value /// "domain_invites_approve_request_to_join_team_details". /// /// @note Call this method and ensure it returns true before accessing the /// `domainInvitesApproveRequestToJoinTeamDetails` 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". /// - (BOOL)isDomainInvitesApproveRequestToJoinTeamDetails; /// /// Retrieves whether the union's current tag state has value /// "domain_invites_decline_request_to_join_team_details". /// /// @note Call this method and ensure it returns true before accessing the /// `domainInvitesDeclineRequestToJoinTeamDetails` 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". /// - (BOOL)isDomainInvitesDeclineRequestToJoinTeamDetails; /// /// Retrieves whether the union's current tag state has value /// "domain_invites_email_existing_users_details". /// /// @note Call this method and ensure it returns true before accessing the /// `domainInvitesEmailExistingUsersDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value /// "domain_invites_email_existing_users_details". /// - (BOOL)isDomainInvitesEmailExistingUsersDetails; /// /// Retrieves whether the union's current tag state has value /// "domain_invites_request_to_join_team_details". /// /// @note Call this method and ensure it returns true before accessing the /// `domainInvitesRequestToJoinTeamDetails` 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". /// - (BOOL)isDomainInvitesRequestToJoinTeamDetails; /// /// Retrieves whether the union's current tag state has value /// "domain_invites_set_invite_new_user_pref_to_no_details". /// /// @note Call this method and ensure it returns true before accessing the /// `domainInvitesSetInviteNewUserPrefToNoDetails` 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". /// - (BOOL)isDomainInvitesSetInviteNewUserPrefToNoDetails; /// /// Retrieves whether the union's current tag state has value /// "domain_invites_set_invite_new_user_pref_to_yes_details". /// /// @note Call this method and ensure it returns true before accessing the /// `domainInvitesSetInviteNewUserPrefToYesDetails` 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". /// - (BOOL)isDomainInvitesSetInviteNewUserPrefToYesDetails; /// /// Retrieves whether the union's current tag state has value /// "domain_verification_add_domain_fail_details". /// /// @note Call this method and ensure it returns true before accessing the /// `domainVerificationAddDomainFailDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value /// "domain_verification_add_domain_fail_details". /// - (BOOL)isDomainVerificationAddDomainFailDetails; /// /// Retrieves whether the union's current tag state has value /// "domain_verification_add_domain_success_details". /// /// @note Call this method and ensure it returns true before accessing the /// `domainVerificationAddDomainSuccessDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value /// "domain_verification_add_domain_success_details". /// - (BOOL)isDomainVerificationAddDomainSuccessDetails; /// /// Retrieves whether the union's current tag state has value /// "domain_verification_remove_domain_details". /// /// @note Call this method and ensure it returns true before accessing the /// `domainVerificationRemoveDomainDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value /// "domain_verification_remove_domain_details". /// - (BOOL)isDomainVerificationRemoveDomainDetails; /// /// Retrieves whether the union's current tag state has value /// "enabled_domain_invites_details". /// /// @note Call this method and ensure it returns true before accessing the /// `enabledDomainInvitesDetails` property, otherwise a runtime exception will /// be thrown. /// /// @return Whether the union's current tag state has value /// "enabled_domain_invites_details". /// - (BOOL)isEnabledDomainInvitesDetails; /// /// Retrieves whether the union's current tag state has value /// "team_encryption_key_cancel_key_deletion_details". /// /// @note Call this method and ensure it returns true before accessing the /// `teamEncryptionKeyCancelKeyDeletionDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value /// "team_encryption_key_cancel_key_deletion_details". /// - (BOOL)isTeamEncryptionKeyCancelKeyDeletionDetails; /// /// Retrieves whether the union's current tag state has value /// "team_encryption_key_create_key_details". /// /// @note Call this method and ensure it returns true before accessing the /// `teamEncryptionKeyCreateKeyDetails` property, otherwise a runtime exception /// will be thrown. /// /// @return Whether the union's current tag state has value /// "team_encryption_key_create_key_details". /// - (BOOL)isTeamEncryptionKeyCreateKeyDetails; /// /// Retrieves whether the union's current tag state has value /// "team_encryption_key_delete_key_details". /// /// @note Call this method and ensure it returns true before accessing the /// `teamEncryptionKeyDeleteKeyDetails` property, otherwise a runtime exception /// will be thrown. /// /// @return Whether the union's current tag state has value /// "team_encryption_key_delete_key_details". /// - (BOOL)isTeamEncryptionKeyDeleteKeyDetails; /// /// Retrieves whether the union's current tag state has value /// "team_encryption_key_disable_key_details". /// /// @note Call this method and ensure it returns true before accessing the /// `teamEncryptionKeyDisableKeyDetails` property, otherwise a runtime exception /// will be thrown. /// /// @return Whether the union's current tag state has value /// "team_encryption_key_disable_key_details". /// - (BOOL)isTeamEncryptionKeyDisableKeyDetails; /// /// Retrieves whether the union's current tag state has value /// "team_encryption_key_enable_key_details". /// /// @note Call this method and ensure it returns true before accessing the /// `teamEncryptionKeyEnableKeyDetails` property, otherwise a runtime exception /// will be thrown. /// /// @return Whether the union's current tag state has value /// "team_encryption_key_enable_key_details". /// - (BOOL)isTeamEncryptionKeyEnableKeyDetails; /// /// Retrieves whether the union's current tag state has value /// "team_encryption_key_rotate_key_details". /// /// @note Call this method and ensure it returns true before accessing the /// `teamEncryptionKeyRotateKeyDetails` property, otherwise a runtime exception /// will be thrown. /// /// @return Whether the union's current tag state has value /// "team_encryption_key_rotate_key_details". /// - (BOOL)isTeamEncryptionKeyRotateKeyDetails; /// /// Retrieves whether the union's current tag state has value /// "team_encryption_key_schedule_key_deletion_details". /// /// @note Call this method and ensure it returns true before accessing the /// `teamEncryptionKeyScheduleKeyDeletionDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value /// "team_encryption_key_schedule_key_deletion_details". /// - (BOOL)isTeamEncryptionKeyScheduleKeyDeletionDetails; /// /// Retrieves whether the union's current tag state has value /// "apply_naming_convention_details". /// /// @note Call this method and ensure it returns true before accessing the /// `applyNamingConventionDetails` property, otherwise a runtime exception will /// be thrown. /// /// @return Whether the union's current tag state has value /// "apply_naming_convention_details". /// - (BOOL)isApplyNamingConventionDetails; /// /// Retrieves whether the union's current tag state has value /// "create_folder_details". /// /// @note Call this method and ensure it returns true before accessing the /// `createFolderDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "create_folder_details". /// - (BOOL)isCreateFolderDetails; /// /// Retrieves whether the union's current tag state has value /// "file_add_details". /// /// @note Call this method and ensure it returns true before accessing the /// `fileAddDetails` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value "file_add_details". /// - (BOOL)isFileAddDetails; /// /// Retrieves whether the union's current tag state has value /// "file_add_from_automation_details". /// /// @note Call this method and ensure it returns true before accessing the /// `fileAddFromAutomationDetails` property, otherwise a runtime exception will /// be thrown. /// /// @return Whether the union's current tag state has value /// "file_add_from_automation_details". /// - (BOOL)isFileAddFromAutomationDetails; /// /// Retrieves whether the union's current tag state has value /// "file_copy_details". /// /// @note Call this method and ensure it returns true before accessing the /// `fileCopyDetails` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value "file_copy_details". /// - (BOOL)isFileCopyDetails; /// /// Retrieves whether the union's current tag state has value /// "file_delete_details". /// /// @note Call this method and ensure it returns true before accessing the /// `fileDeleteDetails` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value /// "file_delete_details". /// - (BOOL)isFileDeleteDetails; /// /// Retrieves whether the union's current tag state has value /// "file_download_details". /// /// @note Call this method and ensure it returns true before accessing the /// `fileDownloadDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "file_download_details". /// - (BOOL)isFileDownloadDetails; /// /// Retrieves whether the union's current tag state has value /// "file_edit_details". /// /// @note Call this method and ensure it returns true before accessing the /// `fileEditDetails` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value "file_edit_details". /// - (BOOL)isFileEditDetails; /// /// Retrieves whether the union's current tag state has value /// "file_get_copy_reference_details". /// /// @note Call this method and ensure it returns true before accessing the /// `fileGetCopyReferenceDetails` property, otherwise a runtime exception will /// be thrown. /// /// @return Whether the union's current tag state has value /// "file_get_copy_reference_details". /// - (BOOL)isFileGetCopyReferenceDetails; /// /// Retrieves whether the union's current tag state has value /// "file_locking_lock_status_changed_details". /// /// @note Call this method and ensure it returns true before accessing the /// `fileLockingLockStatusChangedDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value /// "file_locking_lock_status_changed_details". /// - (BOOL)isFileLockingLockStatusChangedDetails; /// /// Retrieves whether the union's current tag state has value /// "file_move_details". /// /// @note Call this method and ensure it returns true before accessing the /// `fileMoveDetails` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value "file_move_details". /// - (BOOL)isFileMoveDetails; /// /// Retrieves whether the union's current tag state has value /// "file_permanently_delete_details". /// /// @note Call this method and ensure it returns true before accessing the /// `filePermanentlyDeleteDetails` property, otherwise a runtime exception will /// be thrown. /// /// @return Whether the union's current tag state has value /// "file_permanently_delete_details". /// - (BOOL)isFilePermanentlyDeleteDetails; /// /// Retrieves whether the union's current tag state has value /// "file_preview_details". /// /// @note Call this method and ensure it returns true before accessing the /// `filePreviewDetails` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value /// "file_preview_details". /// - (BOOL)isFilePreviewDetails; /// /// Retrieves whether the union's current tag state has value /// "file_rename_details". /// /// @note Call this method and ensure it returns true before accessing the /// `fileRenameDetails` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value /// "file_rename_details". /// - (BOOL)isFileRenameDetails; /// /// Retrieves whether the union's current tag state has value /// "file_restore_details". /// /// @note Call this method and ensure it returns true before accessing the /// `fileRestoreDetails` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value /// "file_restore_details". /// - (BOOL)isFileRestoreDetails; /// /// Retrieves whether the union's current tag state has value /// "file_revert_details". /// /// @note Call this method and ensure it returns true before accessing the /// `fileRevertDetails` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value /// "file_revert_details". /// - (BOOL)isFileRevertDetails; /// /// Retrieves whether the union's current tag state has value /// "file_rollback_changes_details". /// /// @note Call this method and ensure it returns true before accessing the /// `fileRollbackChangesDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "file_rollback_changes_details". /// - (BOOL)isFileRollbackChangesDetails; /// /// Retrieves whether the union's current tag state has value /// "file_save_copy_reference_details". /// /// @note Call this method and ensure it returns true before accessing the /// `fileSaveCopyReferenceDetails` property, otherwise a runtime exception will /// be thrown. /// /// @return Whether the union's current tag state has value /// "file_save_copy_reference_details". /// - (BOOL)isFileSaveCopyReferenceDetails; /// /// Retrieves whether the union's current tag state has value /// "folder_overview_description_changed_details". /// /// @note Call this method and ensure it returns true before accessing the /// `folderOverviewDescriptionChangedDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value /// "folder_overview_description_changed_details". /// - (BOOL)isFolderOverviewDescriptionChangedDetails; /// /// Retrieves whether the union's current tag state has value /// "folder_overview_item_pinned_details". /// /// @note Call this method and ensure it returns true before accessing the /// `folderOverviewItemPinnedDetails` property, otherwise a runtime exception /// will be thrown. /// /// @return Whether the union's current tag state has value /// "folder_overview_item_pinned_details". /// - (BOOL)isFolderOverviewItemPinnedDetails; /// /// Retrieves whether the union's current tag state has value /// "folder_overview_item_unpinned_details". /// /// @note Call this method and ensure it returns true before accessing the /// `folderOverviewItemUnpinnedDetails` property, otherwise a runtime exception /// will be thrown. /// /// @return Whether the union's current tag state has value /// "folder_overview_item_unpinned_details". /// - (BOOL)isFolderOverviewItemUnpinnedDetails; /// /// Retrieves whether the union's current tag state has value /// "object_label_added_details". /// /// @note Call this method and ensure it returns true before accessing the /// `objectLabelAddedDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "object_label_added_details". /// - (BOOL)isObjectLabelAddedDetails; /// /// Retrieves whether the union's current tag state has value /// "object_label_removed_details". /// /// @note Call this method and ensure it returns true before accessing the /// `objectLabelRemovedDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "object_label_removed_details". /// - (BOOL)isObjectLabelRemovedDetails; /// /// Retrieves whether the union's current tag state has value /// "object_label_updated_value_details". /// /// @note Call this method and ensure it returns true before accessing the /// `objectLabelUpdatedValueDetails` property, otherwise a runtime exception /// will be thrown. /// /// @return Whether the union's current tag state has value /// "object_label_updated_value_details". /// - (BOOL)isObjectLabelUpdatedValueDetails; /// /// Retrieves whether the union's current tag state has value /// "organize_folder_with_tidy_details". /// /// @note Call this method and ensure it returns true before accessing the /// `organizeFolderWithTidyDetails` property, otherwise a runtime exception will /// be thrown. /// /// @return Whether the union's current tag state has value /// "organize_folder_with_tidy_details". /// - (BOOL)isOrganizeFolderWithTidyDetails; /// /// Retrieves whether the union's current tag state has value /// "replay_file_delete_details". /// /// @note Call this method and ensure it returns true before accessing the /// `replayFileDeleteDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "replay_file_delete_details". /// - (BOOL)isReplayFileDeleteDetails; /// /// Retrieves whether the union's current tag state has value /// "rewind_folder_details". /// /// @note Call this method and ensure it returns true before accessing the /// `rewindFolderDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "rewind_folder_details". /// - (BOOL)isRewindFolderDetails; /// /// Retrieves whether the union's current tag state has value /// "undo_naming_convention_details". /// /// @note Call this method and ensure it returns true before accessing the /// `undoNamingConventionDetails` property, otherwise a runtime exception will /// be thrown. /// /// @return Whether the union's current tag state has value /// "undo_naming_convention_details". /// - (BOOL)isUndoNamingConventionDetails; /// /// Retrieves whether the union's current tag state has value /// "undo_organize_folder_with_tidy_details". /// /// @note Call this method and ensure it returns true before accessing the /// `undoOrganizeFolderWithTidyDetails` property, otherwise a runtime exception /// will be thrown. /// /// @return Whether the union's current tag state has value /// "undo_organize_folder_with_tidy_details". /// - (BOOL)isUndoOrganizeFolderWithTidyDetails; /// /// Retrieves whether the union's current tag state has value /// "user_tags_added_details". /// /// @note Call this method and ensure it returns true before accessing the /// `userTagsAddedDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "user_tags_added_details". /// - (BOOL)isUserTagsAddedDetails; /// /// Retrieves whether the union's current tag state has value /// "user_tags_removed_details". /// /// @note Call this method and ensure it returns true before accessing the /// `userTagsRemovedDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "user_tags_removed_details". /// - (BOOL)isUserTagsRemovedDetails; /// /// Retrieves whether the union's current tag state has value /// "email_ingest_receive_file_details". /// /// @note Call this method and ensure it returns true before accessing the /// `emailIngestReceiveFileDetails` property, otherwise a runtime exception will /// be thrown. /// /// @return Whether the union's current tag state has value /// "email_ingest_receive_file_details". /// - (BOOL)isEmailIngestReceiveFileDetails; /// /// Retrieves whether the union's current tag state has value /// "file_request_change_details". /// /// @note Call this method and ensure it returns true before accessing the /// `fileRequestChangeDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "file_request_change_details". /// - (BOOL)isFileRequestChangeDetails; /// /// Retrieves whether the union's current tag state has value /// "file_request_close_details". /// /// @note Call this method and ensure it returns true before accessing the /// `fileRequestCloseDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "file_request_close_details". /// - (BOOL)isFileRequestCloseDetails; /// /// Retrieves whether the union's current tag state has value /// "file_request_create_details". /// /// @note Call this method and ensure it returns true before accessing the /// `fileRequestCreateDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "file_request_create_details". /// - (BOOL)isFileRequestCreateDetails; /// /// Retrieves whether the union's current tag state has value /// "file_request_delete_details". /// /// @note Call this method and ensure it returns true before accessing the /// `fileRequestDeleteDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "file_request_delete_details". /// - (BOOL)isFileRequestDeleteDetails; /// /// Retrieves whether the union's current tag state has value /// "file_request_receive_file_details". /// /// @note Call this method and ensure it returns true before accessing the /// `fileRequestReceiveFileDetails` property, otherwise a runtime exception will /// be thrown. /// /// @return Whether the union's current tag state has value /// "file_request_receive_file_details". /// - (BOOL)isFileRequestReceiveFileDetails; /// /// Retrieves whether the union's current tag state has value /// "group_add_external_id_details". /// /// @note Call this method and ensure it returns true before accessing the /// `groupAddExternalIdDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "group_add_external_id_details". /// - (BOOL)isGroupAddExternalIdDetails; /// /// Retrieves whether the union's current tag state has value /// "group_add_member_details". /// /// @note Call this method and ensure it returns true before accessing the /// `groupAddMemberDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "group_add_member_details". /// - (BOOL)isGroupAddMemberDetails; /// /// Retrieves whether the union's current tag state has value /// "group_change_external_id_details". /// /// @note Call this method and ensure it returns true before accessing the /// `groupChangeExternalIdDetails` property, otherwise a runtime exception will /// be thrown. /// /// @return Whether the union's current tag state has value /// "group_change_external_id_details". /// - (BOOL)isGroupChangeExternalIdDetails; /// /// Retrieves whether the union's current tag state has value /// "group_change_management_type_details". /// /// @note Call this method and ensure it returns true before accessing the /// `groupChangeManagementTypeDetails` property, otherwise a runtime exception /// will be thrown. /// /// @return Whether the union's current tag state has value /// "group_change_management_type_details". /// - (BOOL)isGroupChangeManagementTypeDetails; /// /// Retrieves whether the union's current tag state has value /// "group_change_member_role_details". /// /// @note Call this method and ensure it returns true before accessing the /// `groupChangeMemberRoleDetails` property, otherwise a runtime exception will /// be thrown. /// /// @return Whether the union's current tag state has value /// "group_change_member_role_details". /// - (BOOL)isGroupChangeMemberRoleDetails; /// /// Retrieves whether the union's current tag state has value /// "group_create_details". /// /// @note Call this method and ensure it returns true before accessing the /// `groupCreateDetails` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value /// "group_create_details". /// - (BOOL)isGroupCreateDetails; /// /// Retrieves whether the union's current tag state has value /// "group_delete_details". /// /// @note Call this method and ensure it returns true before accessing the /// `groupDeleteDetails` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value /// "group_delete_details". /// - (BOOL)isGroupDeleteDetails; /// /// Retrieves whether the union's current tag state has value /// "group_description_updated_details". /// /// @note Call this method and ensure it returns true before accessing the /// `groupDescriptionUpdatedDetails` property, otherwise a runtime exception /// will be thrown. /// /// @return Whether the union's current tag state has value /// "group_description_updated_details". /// - (BOOL)isGroupDescriptionUpdatedDetails; /// /// Retrieves whether the union's current tag state has value /// "group_join_policy_updated_details". /// /// @note Call this method and ensure it returns true before accessing the /// `groupJoinPolicyUpdatedDetails` property, otherwise a runtime exception will /// be thrown. /// /// @return Whether the union's current tag state has value /// "group_join_policy_updated_details". /// - (BOOL)isGroupJoinPolicyUpdatedDetails; /// /// Retrieves whether the union's current tag state has value /// "group_moved_details". /// /// @note Call this method and ensure it returns true before accessing the /// `groupMovedDetails` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value /// "group_moved_details". /// - (BOOL)isGroupMovedDetails; /// /// Retrieves whether the union's current tag state has value /// "group_remove_external_id_details". /// /// @note Call this method and ensure it returns true before accessing the /// `groupRemoveExternalIdDetails` property, otherwise a runtime exception will /// be thrown. /// /// @return Whether the union's current tag state has value /// "group_remove_external_id_details". /// - (BOOL)isGroupRemoveExternalIdDetails; /// /// Retrieves whether the union's current tag state has value /// "group_remove_member_details". /// /// @note Call this method and ensure it returns true before accessing the /// `groupRemoveMemberDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "group_remove_member_details". /// - (BOOL)isGroupRemoveMemberDetails; /// /// Retrieves whether the union's current tag state has value /// "group_rename_details". /// /// @note Call this method and ensure it returns true before accessing the /// `groupRenameDetails` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value /// "group_rename_details". /// - (BOOL)isGroupRenameDetails; /// /// Retrieves whether the union's current tag state has value /// "account_lock_or_unlocked_details". /// /// @note Call this method and ensure it returns true before accessing the /// `accountLockOrUnlockedDetails` property, otherwise a runtime exception will /// be thrown. /// /// @return Whether the union's current tag state has value /// "account_lock_or_unlocked_details". /// - (BOOL)isAccountLockOrUnlockedDetails; /// /// Retrieves whether the union's current tag state has value /// "emm_error_details". /// /// @note Call this method and ensure it returns true before accessing the /// `emmErrorDetails` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value "emm_error_details". /// - (BOOL)isEmmErrorDetails; /// /// Retrieves whether the union's current tag state has value /// "guest_admin_signed_in_via_trusted_teams_details". /// /// @note Call this method and ensure it returns true before accessing the /// `guestAdminSignedInViaTrustedTeamsDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value /// "guest_admin_signed_in_via_trusted_teams_details". /// - (BOOL)isGuestAdminSignedInViaTrustedTeamsDetails; /// /// Retrieves whether the union's current tag state has value /// "guest_admin_signed_out_via_trusted_teams_details". /// /// @note Call this method and ensure it returns true before accessing the /// `guestAdminSignedOutViaTrustedTeamsDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value /// "guest_admin_signed_out_via_trusted_teams_details". /// - (BOOL)isGuestAdminSignedOutViaTrustedTeamsDetails; /// /// Retrieves whether the union's current tag state has value /// "login_fail_details". /// /// @note Call this method and ensure it returns true before accessing the /// `loginFailDetails` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value /// "login_fail_details". /// - (BOOL)isLoginFailDetails; /// /// Retrieves whether the union's current tag state has value /// "login_success_details". /// /// @note Call this method and ensure it returns true before accessing the /// `loginSuccessDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "login_success_details". /// - (BOOL)isLoginSuccessDetails; /// /// Retrieves whether the union's current tag state has value "logout_details". /// /// @note Call this method and ensure it returns true before accessing the /// `logoutDetails` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value "logout_details". /// - (BOOL)isLogoutDetails; /// /// Retrieves whether the union's current tag state has value /// "reseller_support_session_end_details". /// /// @note Call this method and ensure it returns true before accessing the /// `resellerSupportSessionEndDetails` property, otherwise a runtime exception /// will be thrown. /// /// @return Whether the union's current tag state has value /// "reseller_support_session_end_details". /// - (BOOL)isResellerSupportSessionEndDetails; /// /// Retrieves whether the union's current tag state has value /// "reseller_support_session_start_details". /// /// @note Call this method and ensure it returns true before accessing the /// `resellerSupportSessionStartDetails` property, otherwise a runtime exception /// will be thrown. /// /// @return Whether the union's current tag state has value /// "reseller_support_session_start_details". /// - (BOOL)isResellerSupportSessionStartDetails; /// /// Retrieves whether the union's current tag state has value /// "sign_in_as_session_end_details". /// /// @note Call this method and ensure it returns true before accessing the /// `signInAsSessionEndDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "sign_in_as_session_end_details". /// - (BOOL)isSignInAsSessionEndDetails; /// /// Retrieves whether the union's current tag state has value /// "sign_in_as_session_start_details". /// /// @note Call this method and ensure it returns true before accessing the /// `signInAsSessionStartDetails` property, otherwise a runtime exception will /// be thrown. /// /// @return Whether the union's current tag state has value /// "sign_in_as_session_start_details". /// - (BOOL)isSignInAsSessionStartDetails; /// /// Retrieves whether the union's current tag state has value /// "sso_error_details". /// /// @note Call this method and ensure it returns true before accessing the /// `ssoErrorDetails` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value "sso_error_details". /// - (BOOL)isSsoErrorDetails; /// /// Retrieves whether the union's current tag state has value /// "backup_admin_invitation_sent_details". /// /// @note Call this method and ensure it returns true before accessing the /// `backupAdminInvitationSentDetails` property, otherwise a runtime exception /// will be thrown. /// /// @return Whether the union's current tag state has value /// "backup_admin_invitation_sent_details". /// - (BOOL)isBackupAdminInvitationSentDetails; /// /// Retrieves whether the union's current tag state has value /// "backup_invitation_opened_details". /// /// @note Call this method and ensure it returns true before accessing the /// `backupInvitationOpenedDetails` property, otherwise a runtime exception will /// be thrown. /// /// @return Whether the union's current tag state has value /// "backup_invitation_opened_details". /// - (BOOL)isBackupInvitationOpenedDetails; /// /// Retrieves whether the union's current tag state has value /// "create_team_invite_link_details". /// /// @note Call this method and ensure it returns true before accessing the /// `createTeamInviteLinkDetails` property, otherwise a runtime exception will /// be thrown. /// /// @return Whether the union's current tag state has value /// "create_team_invite_link_details". /// - (BOOL)isCreateTeamInviteLinkDetails; /// /// Retrieves whether the union's current tag state has value /// "delete_team_invite_link_details". /// /// @note Call this method and ensure it returns true before accessing the /// `deleteTeamInviteLinkDetails` property, otherwise a runtime exception will /// be thrown. /// /// @return Whether the union's current tag state has value /// "delete_team_invite_link_details". /// - (BOOL)isDeleteTeamInviteLinkDetails; /// /// Retrieves whether the union's current tag state has value /// "member_add_external_id_details". /// /// @note Call this method and ensure it returns true before accessing the /// `memberAddExternalIdDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "member_add_external_id_details". /// - (BOOL)isMemberAddExternalIdDetails; /// /// Retrieves whether the union's current tag state has value /// "member_add_name_details". /// /// @note Call this method and ensure it returns true before accessing the /// `memberAddNameDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "member_add_name_details". /// - (BOOL)isMemberAddNameDetails; /// /// Retrieves whether the union's current tag state has value /// "member_change_admin_role_details". /// /// @note Call this method and ensure it returns true before accessing the /// `memberChangeAdminRoleDetails` property, otherwise a runtime exception will /// be thrown. /// /// @return Whether the union's current tag state has value /// "member_change_admin_role_details". /// - (BOOL)isMemberChangeAdminRoleDetails; /// /// Retrieves whether the union's current tag state has value /// "member_change_email_details". /// /// @note Call this method and ensure it returns true before accessing the /// `memberChangeEmailDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "member_change_email_details". /// - (BOOL)isMemberChangeEmailDetails; /// /// Retrieves whether the union's current tag state has value /// "member_change_external_id_details". /// /// @note Call this method and ensure it returns true before accessing the /// `memberChangeExternalIdDetails` property, otherwise a runtime exception will /// be thrown. /// /// @return Whether the union's current tag state has value /// "member_change_external_id_details". /// - (BOOL)isMemberChangeExternalIdDetails; /// /// Retrieves whether the union's current tag state has value /// "member_change_membership_type_details". /// /// @note Call this method and ensure it returns true before accessing the /// `memberChangeMembershipTypeDetails` property, otherwise a runtime exception /// will be thrown. /// /// @return Whether the union's current tag state has value /// "member_change_membership_type_details". /// - (BOOL)isMemberChangeMembershipTypeDetails; /// /// Retrieves whether the union's current tag state has value /// "member_change_name_details". /// /// @note Call this method and ensure it returns true before accessing the /// `memberChangeNameDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "member_change_name_details". /// - (BOOL)isMemberChangeNameDetails; /// /// Retrieves whether the union's current tag state has value /// "member_change_reseller_role_details". /// /// @note Call this method and ensure it returns true before accessing the /// `memberChangeResellerRoleDetails` property, otherwise a runtime exception /// will be thrown. /// /// @return Whether the union's current tag state has value /// "member_change_reseller_role_details". /// - (BOOL)isMemberChangeResellerRoleDetails; /// /// Retrieves whether the union's current tag state has value /// "member_change_status_details". /// /// @note Call this method and ensure it returns true before accessing the /// `memberChangeStatusDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "member_change_status_details". /// - (BOOL)isMemberChangeStatusDetails; /// /// Retrieves whether the union's current tag state has value /// "member_delete_manual_contacts_details". /// /// @note Call this method and ensure it returns true before accessing the /// `memberDeleteManualContactsDetails` property, otherwise a runtime exception /// will be thrown. /// /// @return Whether the union's current tag state has value /// "member_delete_manual_contacts_details". /// - (BOOL)isMemberDeleteManualContactsDetails; /// /// Retrieves whether the union's current tag state has value /// "member_delete_profile_photo_details". /// /// @note Call this method and ensure it returns true before accessing the /// `memberDeleteProfilePhotoDetails` property, otherwise a runtime exception /// will be thrown. /// /// @return Whether the union's current tag state has value /// "member_delete_profile_photo_details". /// - (BOOL)isMemberDeleteProfilePhotoDetails; /// /// Retrieves whether the union's current tag state has value /// "member_permanently_delete_account_contents_details". /// /// @note Call this method and ensure it returns true before accessing the /// `memberPermanentlyDeleteAccountContentsDetails` property, otherwise a /// runtime exception will be thrown. /// /// @return Whether the union's current tag state has value /// "member_permanently_delete_account_contents_details". /// - (BOOL)isMemberPermanentlyDeleteAccountContentsDetails; /// /// Retrieves whether the union's current tag state has value /// "member_remove_external_id_details". /// /// @note Call this method and ensure it returns true before accessing the /// `memberRemoveExternalIdDetails` property, otherwise a runtime exception will /// be thrown. /// /// @return Whether the union's current tag state has value /// "member_remove_external_id_details". /// - (BOOL)isMemberRemoveExternalIdDetails; /// /// Retrieves whether the union's current tag state has value /// "member_set_profile_photo_details". /// /// @note Call this method and ensure it returns true before accessing the /// `memberSetProfilePhotoDetails` property, otherwise a runtime exception will /// be thrown. /// /// @return Whether the union's current tag state has value /// "member_set_profile_photo_details". /// - (BOOL)isMemberSetProfilePhotoDetails; /// /// Retrieves whether the union's current tag state has value /// "member_space_limits_add_custom_quota_details". /// /// @note Call this method and ensure it returns true before accessing the /// `memberSpaceLimitsAddCustomQuotaDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value /// "member_space_limits_add_custom_quota_details". /// - (BOOL)isMemberSpaceLimitsAddCustomQuotaDetails; /// /// Retrieves whether the union's current tag state has value /// "member_space_limits_change_custom_quota_details". /// /// @note Call this method and ensure it returns true before accessing the /// `memberSpaceLimitsChangeCustomQuotaDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value /// "member_space_limits_change_custom_quota_details". /// - (BOOL)isMemberSpaceLimitsChangeCustomQuotaDetails; /// /// Retrieves whether the union's current tag state has value /// "member_space_limits_change_status_details". /// /// @note Call this method and ensure it returns true before accessing the /// `memberSpaceLimitsChangeStatusDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value /// "member_space_limits_change_status_details". /// - (BOOL)isMemberSpaceLimitsChangeStatusDetails; /// /// Retrieves whether the union's current tag state has value /// "member_space_limits_remove_custom_quota_details". /// /// @note Call this method and ensure it returns true before accessing the /// `memberSpaceLimitsRemoveCustomQuotaDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value /// "member_space_limits_remove_custom_quota_details". /// - (BOOL)isMemberSpaceLimitsRemoveCustomQuotaDetails; /// /// Retrieves whether the union's current tag state has value /// "member_suggest_details". /// /// @note Call this method and ensure it returns true before accessing the /// `memberSuggestDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "member_suggest_details". /// - (BOOL)isMemberSuggestDetails; /// /// Retrieves whether the union's current tag state has value /// "member_transfer_account_contents_details". /// /// @note Call this method and ensure it returns true before accessing the /// `memberTransferAccountContentsDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value /// "member_transfer_account_contents_details". /// - (BOOL)isMemberTransferAccountContentsDetails; /// /// Retrieves whether the union's current tag state has value /// "pending_secondary_email_added_details". /// /// @note Call this method and ensure it returns true before accessing the /// `pendingSecondaryEmailAddedDetails` property, otherwise a runtime exception /// will be thrown. /// /// @return Whether the union's current tag state has value /// "pending_secondary_email_added_details". /// - (BOOL)isPendingSecondaryEmailAddedDetails; /// /// Retrieves whether the union's current tag state has value /// "secondary_email_deleted_details". /// /// @note Call this method and ensure it returns true before accessing the /// `secondaryEmailDeletedDetails` property, otherwise a runtime exception will /// be thrown. /// /// @return Whether the union's current tag state has value /// "secondary_email_deleted_details". /// - (BOOL)isSecondaryEmailDeletedDetails; /// /// Retrieves whether the union's current tag state has value /// "secondary_email_verified_details". /// /// @note Call this method and ensure it returns true before accessing the /// `secondaryEmailVerifiedDetails` property, otherwise a runtime exception will /// be thrown. /// /// @return Whether the union's current tag state has value /// "secondary_email_verified_details". /// - (BOOL)isSecondaryEmailVerifiedDetails; /// /// Retrieves whether the union's current tag state has value /// "secondary_mails_policy_changed_details". /// /// @note Call this method and ensure it returns true before accessing the /// `secondaryMailsPolicyChangedDetails` property, otherwise a runtime exception /// will be thrown. /// /// @return Whether the union's current tag state has value /// "secondary_mails_policy_changed_details". /// - (BOOL)isSecondaryMailsPolicyChangedDetails; /// /// Retrieves whether the union's current tag state has value /// "binder_add_page_details". /// /// @note Call this method and ensure it returns true before accessing the /// `binderAddPageDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "binder_add_page_details". /// - (BOOL)isBinderAddPageDetails; /// /// Retrieves whether the union's current tag state has value /// "binder_add_section_details". /// /// @note Call this method and ensure it returns true before accessing the /// `binderAddSectionDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "binder_add_section_details". /// - (BOOL)isBinderAddSectionDetails; /// /// Retrieves whether the union's current tag state has value /// "binder_remove_page_details". /// /// @note Call this method and ensure it returns true before accessing the /// `binderRemovePageDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "binder_remove_page_details". /// - (BOOL)isBinderRemovePageDetails; /// /// Retrieves whether the union's current tag state has value /// "binder_remove_section_details". /// /// @note Call this method and ensure it returns true before accessing the /// `binderRemoveSectionDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "binder_remove_section_details". /// - (BOOL)isBinderRemoveSectionDetails; /// /// Retrieves whether the union's current tag state has value /// "binder_rename_page_details". /// /// @note Call this method and ensure it returns true before accessing the /// `binderRenamePageDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "binder_rename_page_details". /// - (BOOL)isBinderRenamePageDetails; /// /// Retrieves whether the union's current tag state has value /// "binder_rename_section_details". /// /// @note Call this method and ensure it returns true before accessing the /// `binderRenameSectionDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "binder_rename_section_details". /// - (BOOL)isBinderRenameSectionDetails; /// /// Retrieves whether the union's current tag state has value /// "binder_reorder_page_details". /// /// @note Call this method and ensure it returns true before accessing the /// `binderReorderPageDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "binder_reorder_page_details". /// - (BOOL)isBinderReorderPageDetails; /// /// Retrieves whether the union's current tag state has value /// "binder_reorder_section_details". /// /// @note Call this method and ensure it returns true before accessing the /// `binderReorderSectionDetails` property, otherwise a runtime exception will /// be thrown. /// /// @return Whether the union's current tag state has value /// "binder_reorder_section_details". /// - (BOOL)isBinderReorderSectionDetails; /// /// Retrieves whether the union's current tag state has value /// "paper_content_add_member_details". /// /// @note Call this method and ensure it returns true before accessing the /// `paperContentAddMemberDetails` property, otherwise a runtime exception will /// be thrown. /// /// @return Whether the union's current tag state has value /// "paper_content_add_member_details". /// - (BOOL)isPaperContentAddMemberDetails; /// /// Retrieves whether the union's current tag state has value /// "paper_content_add_to_folder_details". /// /// @note Call this method and ensure it returns true before accessing the /// `paperContentAddToFolderDetails` property, otherwise a runtime exception /// will be thrown. /// /// @return Whether the union's current tag state has value /// "paper_content_add_to_folder_details". /// - (BOOL)isPaperContentAddToFolderDetails; /// /// Retrieves whether the union's current tag state has value /// "paper_content_archive_details". /// /// @note Call this method and ensure it returns true before accessing the /// `paperContentArchiveDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "paper_content_archive_details". /// - (BOOL)isPaperContentArchiveDetails; /// /// Retrieves whether the union's current tag state has value /// "paper_content_create_details". /// /// @note Call this method and ensure it returns true before accessing the /// `paperContentCreateDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "paper_content_create_details". /// - (BOOL)isPaperContentCreateDetails; /// /// Retrieves whether the union's current tag state has value /// "paper_content_permanently_delete_details". /// /// @note Call this method and ensure it returns true before accessing the /// `paperContentPermanentlyDeleteDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value /// "paper_content_permanently_delete_details". /// - (BOOL)isPaperContentPermanentlyDeleteDetails; /// /// Retrieves whether the union's current tag state has value /// "paper_content_remove_from_folder_details". /// /// @note Call this method and ensure it returns true before accessing the /// `paperContentRemoveFromFolderDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value /// "paper_content_remove_from_folder_details". /// - (BOOL)isPaperContentRemoveFromFolderDetails; /// /// Retrieves whether the union's current tag state has value /// "paper_content_remove_member_details". /// /// @note Call this method and ensure it returns true before accessing the /// `paperContentRemoveMemberDetails` property, otherwise a runtime exception /// will be thrown. /// /// @return Whether the union's current tag state has value /// "paper_content_remove_member_details". /// - (BOOL)isPaperContentRemoveMemberDetails; /// /// Retrieves whether the union's current tag state has value /// "paper_content_rename_details". /// /// @note Call this method and ensure it returns true before accessing the /// `paperContentRenameDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "paper_content_rename_details". /// - (BOOL)isPaperContentRenameDetails; /// /// Retrieves whether the union's current tag state has value /// "paper_content_restore_details". /// /// @note Call this method and ensure it returns true before accessing the /// `paperContentRestoreDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "paper_content_restore_details". /// - (BOOL)isPaperContentRestoreDetails; /// /// Retrieves whether the union's current tag state has value /// "paper_doc_add_comment_details". /// /// @note Call this method and ensure it returns true before accessing the /// `paperDocAddCommentDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "paper_doc_add_comment_details". /// - (BOOL)isPaperDocAddCommentDetails; /// /// Retrieves whether the union's current tag state has value /// "paper_doc_change_member_role_details". /// /// @note Call this method and ensure it returns true before accessing the /// `paperDocChangeMemberRoleDetails` property, otherwise a runtime exception /// will be thrown. /// /// @return Whether the union's current tag state has value /// "paper_doc_change_member_role_details". /// - (BOOL)isPaperDocChangeMemberRoleDetails; /// /// Retrieves whether the union's current tag state has value /// "paper_doc_change_sharing_policy_details". /// /// @note Call this method and ensure it returns true before accessing the /// `paperDocChangeSharingPolicyDetails` property, otherwise a runtime exception /// will be thrown. /// /// @return Whether the union's current tag state has value /// "paper_doc_change_sharing_policy_details". /// - (BOOL)isPaperDocChangeSharingPolicyDetails; /// /// Retrieves whether the union's current tag state has value /// "paper_doc_change_subscription_details". /// /// @note Call this method and ensure it returns true before accessing the /// `paperDocChangeSubscriptionDetails` property, otherwise a runtime exception /// will be thrown. /// /// @return Whether the union's current tag state has value /// "paper_doc_change_subscription_details". /// - (BOOL)isPaperDocChangeSubscriptionDetails; /// /// Retrieves whether the union's current tag state has value /// "paper_doc_deleted_details". /// /// @note Call this method and ensure it returns true before accessing the /// `paperDocDeletedDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "paper_doc_deleted_details". /// - (BOOL)isPaperDocDeletedDetails; /// /// Retrieves whether the union's current tag state has value /// "paper_doc_delete_comment_details". /// /// @note Call this method and ensure it returns true before accessing the /// `paperDocDeleteCommentDetails` property, otherwise a runtime exception will /// be thrown. /// /// @return Whether the union's current tag state has value /// "paper_doc_delete_comment_details". /// - (BOOL)isPaperDocDeleteCommentDetails; /// /// Retrieves whether the union's current tag state has value /// "paper_doc_download_details". /// /// @note Call this method and ensure it returns true before accessing the /// `paperDocDownloadDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "paper_doc_download_details". /// - (BOOL)isPaperDocDownloadDetails; /// /// Retrieves whether the union's current tag state has value /// "paper_doc_edit_details". /// /// @note Call this method and ensure it returns true before accessing the /// `paperDocEditDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "paper_doc_edit_details". /// - (BOOL)isPaperDocEditDetails; /// /// Retrieves whether the union's current tag state has value /// "paper_doc_edit_comment_details". /// /// @note Call this method and ensure it returns true before accessing the /// `paperDocEditCommentDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "paper_doc_edit_comment_details". /// - (BOOL)isPaperDocEditCommentDetails; /// /// Retrieves whether the union's current tag state has value /// "paper_doc_followed_details". /// /// @note Call this method and ensure it returns true before accessing the /// `paperDocFollowedDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "paper_doc_followed_details". /// - (BOOL)isPaperDocFollowedDetails; /// /// Retrieves whether the union's current tag state has value /// "paper_doc_mention_details". /// /// @note Call this method and ensure it returns true before accessing the /// `paperDocMentionDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "paper_doc_mention_details". /// - (BOOL)isPaperDocMentionDetails; /// /// Retrieves whether the union's current tag state has value /// "paper_doc_ownership_changed_details". /// /// @note Call this method and ensure it returns true before accessing the /// `paperDocOwnershipChangedDetails` property, otherwise a runtime exception /// will be thrown. /// /// @return Whether the union's current tag state has value /// "paper_doc_ownership_changed_details". /// - (BOOL)isPaperDocOwnershipChangedDetails; /// /// Retrieves whether the union's current tag state has value /// "paper_doc_request_access_details". /// /// @note Call this method and ensure it returns true before accessing the /// `paperDocRequestAccessDetails` property, otherwise a runtime exception will /// be thrown. /// /// @return Whether the union's current tag state has value /// "paper_doc_request_access_details". /// - (BOOL)isPaperDocRequestAccessDetails; /// /// Retrieves whether the union's current tag state has value /// "paper_doc_resolve_comment_details". /// /// @note Call this method and ensure it returns true before accessing the /// `paperDocResolveCommentDetails` property, otherwise a runtime exception will /// be thrown. /// /// @return Whether the union's current tag state has value /// "paper_doc_resolve_comment_details". /// - (BOOL)isPaperDocResolveCommentDetails; /// /// Retrieves whether the union's current tag state has value /// "paper_doc_revert_details". /// /// @note Call this method and ensure it returns true before accessing the /// `paperDocRevertDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "paper_doc_revert_details". /// - (BOOL)isPaperDocRevertDetails; /// /// Retrieves whether the union's current tag state has value /// "paper_doc_slack_share_details". /// /// @note Call this method and ensure it returns true before accessing the /// `paperDocSlackShareDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "paper_doc_slack_share_details". /// - (BOOL)isPaperDocSlackShareDetails; /// /// Retrieves whether the union's current tag state has value /// "paper_doc_team_invite_details". /// /// @note Call this method and ensure it returns true before accessing the /// `paperDocTeamInviteDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "paper_doc_team_invite_details". /// - (BOOL)isPaperDocTeamInviteDetails; /// /// Retrieves whether the union's current tag state has value /// "paper_doc_trashed_details". /// /// @note Call this method and ensure it returns true before accessing the /// `paperDocTrashedDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "paper_doc_trashed_details". /// - (BOOL)isPaperDocTrashedDetails; /// /// Retrieves whether the union's current tag state has value /// "paper_doc_unresolve_comment_details". /// /// @note Call this method and ensure it returns true before accessing the /// `paperDocUnresolveCommentDetails` property, otherwise a runtime exception /// will be thrown. /// /// @return Whether the union's current tag state has value /// "paper_doc_unresolve_comment_details". /// - (BOOL)isPaperDocUnresolveCommentDetails; /// /// Retrieves whether the union's current tag state has value /// "paper_doc_untrashed_details". /// /// @note Call this method and ensure it returns true before accessing the /// `paperDocUntrashedDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "paper_doc_untrashed_details". /// - (BOOL)isPaperDocUntrashedDetails; /// /// Retrieves whether the union's current tag state has value /// "paper_doc_view_details". /// /// @note Call this method and ensure it returns true before accessing the /// `paperDocViewDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "paper_doc_view_details". /// - (BOOL)isPaperDocViewDetails; /// /// Retrieves whether the union's current tag state has value /// "paper_external_view_allow_details". /// /// @note Call this method and ensure it returns true before accessing the /// `paperExternalViewAllowDetails` property, otherwise a runtime exception will /// be thrown. /// /// @return Whether the union's current tag state has value /// "paper_external_view_allow_details". /// - (BOOL)isPaperExternalViewAllowDetails; /// /// Retrieves whether the union's current tag state has value /// "paper_external_view_default_team_details". /// /// @note Call this method and ensure it returns true before accessing the /// `paperExternalViewDefaultTeamDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value /// "paper_external_view_default_team_details". /// - (BOOL)isPaperExternalViewDefaultTeamDetails; /// /// Retrieves whether the union's current tag state has value /// "paper_external_view_forbid_details". /// /// @note Call this method and ensure it returns true before accessing the /// `paperExternalViewForbidDetails` property, otherwise a runtime exception /// will be thrown. /// /// @return Whether the union's current tag state has value /// "paper_external_view_forbid_details". /// - (BOOL)isPaperExternalViewForbidDetails; /// /// Retrieves whether the union's current tag state has value /// "paper_folder_change_subscription_details". /// /// @note Call this method and ensure it returns true before accessing the /// `paperFolderChangeSubscriptionDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value /// "paper_folder_change_subscription_details". /// - (BOOL)isPaperFolderChangeSubscriptionDetails; /// /// Retrieves whether the union's current tag state has value /// "paper_folder_deleted_details". /// /// @note Call this method and ensure it returns true before accessing the /// `paperFolderDeletedDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "paper_folder_deleted_details". /// - (BOOL)isPaperFolderDeletedDetails; /// /// Retrieves whether the union's current tag state has value /// "paper_folder_followed_details". /// /// @note Call this method and ensure it returns true before accessing the /// `paperFolderFollowedDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "paper_folder_followed_details". /// - (BOOL)isPaperFolderFollowedDetails; /// /// Retrieves whether the union's current tag state has value /// "paper_folder_team_invite_details". /// /// @note Call this method and ensure it returns true before accessing the /// `paperFolderTeamInviteDetails` property, otherwise a runtime exception will /// be thrown. /// /// @return Whether the union's current tag state has value /// "paper_folder_team_invite_details". /// - (BOOL)isPaperFolderTeamInviteDetails; /// /// Retrieves whether the union's current tag state has value /// "paper_published_link_change_permission_details". /// /// @note Call this method and ensure it returns true before accessing the /// `paperPublishedLinkChangePermissionDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value /// "paper_published_link_change_permission_details". /// - (BOOL)isPaperPublishedLinkChangePermissionDetails; /// /// Retrieves whether the union's current tag state has value /// "paper_published_link_create_details". /// /// @note Call this method and ensure it returns true before accessing the /// `paperPublishedLinkCreateDetails` property, otherwise a runtime exception /// will be thrown. /// /// @return Whether the union's current tag state has value /// "paper_published_link_create_details". /// - (BOOL)isPaperPublishedLinkCreateDetails; /// /// Retrieves whether the union's current tag state has value /// "paper_published_link_disabled_details". /// /// @note Call this method and ensure it returns true before accessing the /// `paperPublishedLinkDisabledDetails` property, otherwise a runtime exception /// will be thrown. /// /// @return Whether the union's current tag state has value /// "paper_published_link_disabled_details". /// - (BOOL)isPaperPublishedLinkDisabledDetails; /// /// Retrieves whether the union's current tag state has value /// "paper_published_link_view_details". /// /// @note Call this method and ensure it returns true before accessing the /// `paperPublishedLinkViewDetails` property, otherwise a runtime exception will /// be thrown. /// /// @return Whether the union's current tag state has value /// "paper_published_link_view_details". /// - (BOOL)isPaperPublishedLinkViewDetails; /// /// Retrieves whether the union's current tag state has value /// "password_change_details". /// /// @note Call this method and ensure it returns true before accessing the /// `passwordChangeDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "password_change_details". /// - (BOOL)isPasswordChangeDetails; /// /// Retrieves whether the union's current tag state has value /// "password_reset_details". /// /// @note Call this method and ensure it returns true before accessing the /// `passwordResetDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "password_reset_details". /// - (BOOL)isPasswordResetDetails; /// /// Retrieves whether the union's current tag state has value /// "password_reset_all_details". /// /// @note Call this method and ensure it returns true before accessing the /// `passwordResetAllDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "password_reset_all_details". /// - (BOOL)isPasswordResetAllDetails; /// /// Retrieves whether the union's current tag state has value /// "classification_create_report_details". /// /// @note Call this method and ensure it returns true before accessing the /// `classificationCreateReportDetails` property, otherwise a runtime exception /// will be thrown. /// /// @return Whether the union's current tag state has value /// "classification_create_report_details". /// - (BOOL)isClassificationCreateReportDetails; /// /// Retrieves whether the union's current tag state has value /// "classification_create_report_fail_details". /// /// @note Call this method and ensure it returns true before accessing the /// `classificationCreateReportFailDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value /// "classification_create_report_fail_details". /// - (BOOL)isClassificationCreateReportFailDetails; /// /// Retrieves whether the union's current tag state has value /// "emm_create_exceptions_report_details". /// /// @note Call this method and ensure it returns true before accessing the /// `emmCreateExceptionsReportDetails` property, otherwise a runtime exception /// will be thrown. /// /// @return Whether the union's current tag state has value /// "emm_create_exceptions_report_details". /// - (BOOL)isEmmCreateExceptionsReportDetails; /// /// Retrieves whether the union's current tag state has value /// "emm_create_usage_report_details". /// /// @note Call this method and ensure it returns true before accessing the /// `emmCreateUsageReportDetails` property, otherwise a runtime exception will /// be thrown. /// /// @return Whether the union's current tag state has value /// "emm_create_usage_report_details". /// - (BOOL)isEmmCreateUsageReportDetails; /// /// Retrieves whether the union's current tag state has value /// "export_members_report_details". /// /// @note Call this method and ensure it returns true before accessing the /// `exportMembersReportDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "export_members_report_details". /// - (BOOL)isExportMembersReportDetails; /// /// Retrieves whether the union's current tag state has value /// "export_members_report_fail_details". /// /// @note Call this method and ensure it returns true before accessing the /// `exportMembersReportFailDetails` property, otherwise a runtime exception /// will be thrown. /// /// @return Whether the union's current tag state has value /// "export_members_report_fail_details". /// - (BOOL)isExportMembersReportFailDetails; /// /// Retrieves whether the union's current tag state has value /// "external_sharing_create_report_details". /// /// @note Call this method and ensure it returns true before accessing the /// `externalSharingCreateReportDetails` property, otherwise a runtime exception /// will be thrown. /// /// @return Whether the union's current tag state has value /// "external_sharing_create_report_details". /// - (BOOL)isExternalSharingCreateReportDetails; /// /// Retrieves whether the union's current tag state has value /// "external_sharing_report_failed_details". /// /// @note Call this method and ensure it returns true before accessing the /// `externalSharingReportFailedDetails` property, otherwise a runtime exception /// will be thrown. /// /// @return Whether the union's current tag state has value /// "external_sharing_report_failed_details". /// - (BOOL)isExternalSharingReportFailedDetails; /// /// Retrieves whether the union's current tag state has value /// "no_expiration_link_gen_create_report_details". /// /// @note Call this method and ensure it returns true before accessing the /// `noExpirationLinkGenCreateReportDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value /// "no_expiration_link_gen_create_report_details". /// - (BOOL)isNoExpirationLinkGenCreateReportDetails; /// /// Retrieves whether the union's current tag state has value /// "no_expiration_link_gen_report_failed_details". /// /// @note Call this method and ensure it returns true before accessing the /// `noExpirationLinkGenReportFailedDetails` property, otherwise a runtime /// exception will be thrown. /// /// @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 /// "no_password_link_gen_create_report_details". /// /// @note Call this method and ensure it returns true before accessing the /// `noPasswordLinkGenCreateReportDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value /// "no_password_link_gen_create_report_details". /// - (BOOL)isNoPasswordLinkGenCreateReportDetails; /// /// Retrieves whether the union's current tag state has value /// "no_password_link_gen_report_failed_details". /// /// @note Call this method and ensure it returns true before accessing the /// `noPasswordLinkGenReportFailedDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value /// "no_password_link_gen_report_failed_details". /// - (BOOL)isNoPasswordLinkGenReportFailedDetails; /// /// Retrieves whether the union's current tag state has value /// "no_password_link_view_create_report_details". /// /// @note Call this method and ensure it returns true before accessing the /// `noPasswordLinkViewCreateReportDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value /// "no_password_link_view_create_report_details". /// - (BOOL)isNoPasswordLinkViewCreateReportDetails; /// /// Retrieves whether the union's current tag state has value /// "no_password_link_view_report_failed_details". /// /// @note Call this method and ensure it returns true before accessing the /// `noPasswordLinkViewReportFailedDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value /// "no_password_link_view_report_failed_details". /// - (BOOL)isNoPasswordLinkViewReportFailedDetails; /// /// Retrieves whether the union's current tag state has value /// "outdated_link_view_create_report_details". /// /// @note Call this method and ensure it returns true before accessing the /// `outdatedLinkViewCreateReportDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value /// "outdated_link_view_create_report_details". /// - (BOOL)isOutdatedLinkViewCreateReportDetails; /// /// Retrieves whether the union's current tag state has value /// "outdated_link_view_report_failed_details". /// /// @note Call this method and ensure it returns true before accessing the /// `outdatedLinkViewReportFailedDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value /// "outdated_link_view_report_failed_details". /// - (BOOL)isOutdatedLinkViewReportFailedDetails; /// /// Retrieves whether the union's current tag state has value /// "paper_admin_export_start_details". /// /// @note Call this method and ensure it returns true before accessing the /// `paperAdminExportStartDetails` property, otherwise a runtime exception will /// be thrown. /// /// @return Whether the union's current tag state has value /// "paper_admin_export_start_details". /// - (BOOL)isPaperAdminExportStartDetails; /// /// Retrieves whether the union's current tag state has value /// "ransomware_alert_create_report_details". /// /// @note Call this method and ensure it returns true before accessing the /// `ransomwareAlertCreateReportDetails` property, otherwise a runtime exception /// will be thrown. /// /// @return Whether the union's current tag state has value /// "ransomware_alert_create_report_details". /// - (BOOL)isRansomwareAlertCreateReportDetails; /// /// Retrieves whether the union's current tag state has value /// "ransomware_alert_create_report_failed_details". /// /// @note Call this method and ensure it returns true before accessing the /// `ransomwareAlertCreateReportFailedDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value /// "ransomware_alert_create_report_failed_details". /// - (BOOL)isRansomwareAlertCreateReportFailedDetails; /// /// Retrieves whether the union's current tag state has value /// "smart_sync_create_admin_privilege_report_details". /// /// @note Call this method and ensure it returns true before accessing the /// `smartSyncCreateAdminPrivilegeReportDetails` 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". /// - (BOOL)isSmartSyncCreateAdminPrivilegeReportDetails; /// /// Retrieves whether the union's current tag state has value /// "team_activity_create_report_details". /// /// @note Call this method and ensure it returns true before accessing the /// `teamActivityCreateReportDetails` property, otherwise a runtime exception /// will be thrown. /// /// @return Whether the union's current tag state has value /// "team_activity_create_report_details". /// - (BOOL)isTeamActivityCreateReportDetails; /// /// Retrieves whether the union's current tag state has value /// "team_activity_create_report_fail_details". /// /// @note Call this method and ensure it returns true before accessing the /// `teamActivityCreateReportFailDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value /// "team_activity_create_report_fail_details". /// - (BOOL)isTeamActivityCreateReportFailDetails; /// /// Retrieves whether the union's current tag state has value /// "collection_share_details". /// /// @note Call this method and ensure it returns true before accessing the /// `collectionShareDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "collection_share_details". /// - (BOOL)isCollectionShareDetails; /// /// Retrieves whether the union's current tag state has value /// "file_transfers_file_add_details". /// /// @note Call this method and ensure it returns true before accessing the /// `fileTransfersFileAddDetails` property, otherwise a runtime exception will /// be thrown. /// /// @return Whether the union's current tag state has value /// "file_transfers_file_add_details". /// - (BOOL)isFileTransfersFileAddDetails; /// /// Retrieves whether the union's current tag state has value /// "file_transfers_transfer_delete_details". /// /// @note Call this method and ensure it returns true before accessing the /// `fileTransfersTransferDeleteDetails` property, otherwise a runtime exception /// will be thrown. /// /// @return Whether the union's current tag state has value /// "file_transfers_transfer_delete_details". /// - (BOOL)isFileTransfersTransferDeleteDetails; /// /// Retrieves whether the union's current tag state has value /// "file_transfers_transfer_download_details". /// /// @note Call this method and ensure it returns true before accessing the /// `fileTransfersTransferDownloadDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value /// "file_transfers_transfer_download_details". /// - (BOOL)isFileTransfersTransferDownloadDetails; /// /// Retrieves whether the union's current tag state has value /// "file_transfers_transfer_send_details". /// /// @note Call this method and ensure it returns true before accessing the /// `fileTransfersTransferSendDetails` property, otherwise a runtime exception /// will be thrown. /// /// @return Whether the union's current tag state has value /// "file_transfers_transfer_send_details". /// - (BOOL)isFileTransfersTransferSendDetails; /// /// Retrieves whether the union's current tag state has value /// "file_transfers_transfer_view_details". /// /// @note Call this method and ensure it returns true before accessing the /// `fileTransfersTransferViewDetails` property, otherwise a runtime exception /// will be thrown. /// /// @return Whether the union's current tag state has value /// "file_transfers_transfer_view_details". /// - (BOOL)isFileTransfersTransferViewDetails; /// /// Retrieves whether the union's current tag state has value /// "note_acl_invite_only_details". /// /// @note Call this method and ensure it returns true before accessing the /// `noteAclInviteOnlyDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "note_acl_invite_only_details". /// - (BOOL)isNoteAclInviteOnlyDetails; /// /// Retrieves whether the union's current tag state has value /// "note_acl_link_details". /// /// @note Call this method and ensure it returns true before accessing the /// `noteAclLinkDetails` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value /// "note_acl_link_details". /// - (BOOL)isNoteAclLinkDetails; /// /// Retrieves whether the union's current tag state has value /// "note_acl_team_link_details". /// /// @note Call this method and ensure it returns true before accessing the /// `noteAclTeamLinkDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "note_acl_team_link_details". /// - (BOOL)isNoteAclTeamLinkDetails; /// /// Retrieves whether the union's current tag state has value /// "note_shared_details". /// /// @note Call this method and ensure it returns true before accessing the /// `noteSharedDetails` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value /// "note_shared_details". /// - (BOOL)isNoteSharedDetails; /// /// Retrieves whether the union's current tag state has value /// "note_share_receive_details". /// /// @note Call this method and ensure it returns true before accessing the /// `noteShareReceiveDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "note_share_receive_details". /// - (BOOL)isNoteShareReceiveDetails; /// /// Retrieves whether the union's current tag state has value /// "open_note_shared_details". /// /// @note Call this method and ensure it returns true before accessing the /// `openNoteSharedDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "open_note_shared_details". /// - (BOOL)isOpenNoteSharedDetails; /// /// Retrieves whether the union's current tag state has value /// "replay_file_shared_link_created_details". /// /// @note Call this method and ensure it returns true before accessing the /// `replayFileSharedLinkCreatedDetails` property, otherwise a runtime exception /// will be thrown. /// /// @return Whether the union's current tag state has value /// "replay_file_shared_link_created_details". /// - (BOOL)isReplayFileSharedLinkCreatedDetails; /// /// Retrieves whether the union's current tag state has value /// "replay_file_shared_link_modified_details". /// /// @note Call this method and ensure it returns true before accessing the /// `replayFileSharedLinkModifiedDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value /// "replay_file_shared_link_modified_details". /// - (BOOL)isReplayFileSharedLinkModifiedDetails; /// /// Retrieves whether the union's current tag state has value /// "replay_project_team_add_details". /// /// @note Call this method and ensure it returns true before accessing the /// `replayProjectTeamAddDetails` property, otherwise a runtime exception will /// be thrown. /// /// @return Whether the union's current tag state has value /// "replay_project_team_add_details". /// - (BOOL)isReplayProjectTeamAddDetails; /// /// Retrieves whether the union's current tag state has value /// "replay_project_team_delete_details". /// /// @note Call this method and ensure it returns true before accessing the /// `replayProjectTeamDeleteDetails` property, otherwise a runtime exception /// will be thrown. /// /// @return Whether the union's current tag state has value /// "replay_project_team_delete_details". /// - (BOOL)isReplayProjectTeamDeleteDetails; /// /// Retrieves whether the union's current tag state has value /// "sf_add_group_details". /// /// @note Call this method and ensure it returns true before accessing the /// `sfAddGroupDetails` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value /// "sf_add_group_details". /// - (BOOL)isSfAddGroupDetails; /// /// Retrieves whether the union's current tag state has value /// "sf_allow_non_members_to_view_shared_links_details". /// /// @note Call this method and ensure it returns true before accessing the /// `sfAllowNonMembersToViewSharedLinksDetails` 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". /// - (BOOL)isSfAllowNonMembersToViewSharedLinksDetails; /// /// Retrieves whether the union's current tag state has value /// "sf_external_invite_warn_details". /// /// @note Call this method and ensure it returns true before accessing the /// `sfExternalInviteWarnDetails` property, otherwise a runtime exception will /// be thrown. /// /// @return Whether the union's current tag state has value /// "sf_external_invite_warn_details". /// - (BOOL)isSfExternalInviteWarnDetails; /// /// Retrieves whether the union's current tag state has value /// "sf_fb_invite_details". /// /// @note Call this method and ensure it returns true before accessing the /// `sfFbInviteDetails` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value /// "sf_fb_invite_details". /// - (BOOL)isSfFbInviteDetails; /// /// Retrieves whether the union's current tag state has value /// "sf_fb_invite_change_role_details". /// /// @note Call this method and ensure it returns true before accessing the /// `sfFbInviteChangeRoleDetails` property, otherwise a runtime exception will /// be thrown. /// /// @return Whether the union's current tag state has value /// "sf_fb_invite_change_role_details". /// - (BOOL)isSfFbInviteChangeRoleDetails; /// /// Retrieves whether the union's current tag state has value /// "sf_fb_uninvite_details". /// /// @note Call this method and ensure it returns true before accessing the /// `sfFbUninviteDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "sf_fb_uninvite_details". /// - (BOOL)isSfFbUninviteDetails; /// /// Retrieves whether the union's current tag state has value /// "sf_invite_group_details". /// /// @note Call this method and ensure it returns true before accessing the /// `sfInviteGroupDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "sf_invite_group_details". /// - (BOOL)isSfInviteGroupDetails; /// /// Retrieves whether the union's current tag state has value /// "sf_team_grant_access_details". /// /// @note Call this method and ensure it returns true before accessing the /// `sfTeamGrantAccessDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "sf_team_grant_access_details". /// - (BOOL)isSfTeamGrantAccessDetails; /// /// Retrieves whether the union's current tag state has value /// "sf_team_invite_details". /// /// @note Call this method and ensure it returns true before accessing the /// `sfTeamInviteDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "sf_team_invite_details". /// - (BOOL)isSfTeamInviteDetails; /// /// Retrieves whether the union's current tag state has value /// "sf_team_invite_change_role_details". /// /// @note Call this method and ensure it returns true before accessing the /// `sfTeamInviteChangeRoleDetails` property, otherwise a runtime exception will /// be thrown. /// /// @return Whether the union's current tag state has value /// "sf_team_invite_change_role_details". /// - (BOOL)isSfTeamInviteChangeRoleDetails; /// /// Retrieves whether the union's current tag state has value /// "sf_team_join_details". /// /// @note Call this method and ensure it returns true before accessing the /// `sfTeamJoinDetails` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value /// "sf_team_join_details". /// - (BOOL)isSfTeamJoinDetails; /// /// Retrieves whether the union's current tag state has value /// "sf_team_join_from_oob_link_details". /// /// @note Call this method and ensure it returns true before accessing the /// `sfTeamJoinFromOobLinkDetails` 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". /// - (BOOL)isSfTeamJoinFromOobLinkDetails; /// /// Retrieves whether the union's current tag state has value /// "sf_team_uninvite_details". /// /// @note Call this method and ensure it returns true before accessing the /// `sfTeamUninviteDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "sf_team_uninvite_details". /// - (BOOL)isSfTeamUninviteDetails; /// /// Retrieves whether the union's current tag state has value /// "shared_content_add_invitees_details". /// /// @note Call this method and ensure it returns true before accessing the /// `sharedContentAddInviteesDetails` property, otherwise a runtime exception /// will be thrown. /// /// @return Whether the union's current tag state has value /// "shared_content_add_invitees_details". /// - (BOOL)isSharedContentAddInviteesDetails; /// /// Retrieves whether the union's current tag state has value /// "shared_content_add_link_expiry_details". /// /// @note Call this method and ensure it returns true before accessing the /// `sharedContentAddLinkExpiryDetails` property, otherwise a runtime exception /// will be thrown. /// /// @return Whether the union's current tag state has value /// "shared_content_add_link_expiry_details". /// - (BOOL)isSharedContentAddLinkExpiryDetails; /// /// Retrieves whether the union's current tag state has value /// "shared_content_add_link_password_details". /// /// @note Call this method and ensure it returns true before accessing the /// `sharedContentAddLinkPasswordDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value /// "shared_content_add_link_password_details". /// - (BOOL)isSharedContentAddLinkPasswordDetails; /// /// Retrieves whether the union's current tag state has value /// "shared_content_add_member_details". /// /// @note Call this method and ensure it returns true before accessing the /// `sharedContentAddMemberDetails` property, otherwise a runtime exception will /// be thrown. /// /// @return Whether the union's current tag state has value /// "shared_content_add_member_details". /// - (BOOL)isSharedContentAddMemberDetails; /// /// Retrieves whether the union's current tag state has value /// "shared_content_change_downloads_policy_details". /// /// @note Call this method and ensure it returns true before accessing the /// `sharedContentChangeDownloadsPolicyDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value /// "shared_content_change_downloads_policy_details". /// - (BOOL)isSharedContentChangeDownloadsPolicyDetails; /// /// Retrieves whether the union's current tag state has value /// "shared_content_change_invitee_role_details". /// /// @note Call this method and ensure it returns true before accessing the /// `sharedContentChangeInviteeRoleDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value /// "shared_content_change_invitee_role_details". /// - (BOOL)isSharedContentChangeInviteeRoleDetails; /// /// Retrieves whether the union's current tag state has value /// "shared_content_change_link_audience_details". /// /// @note Call this method and ensure it returns true before accessing the /// `sharedContentChangeLinkAudienceDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value /// "shared_content_change_link_audience_details". /// - (BOOL)isSharedContentChangeLinkAudienceDetails; /// /// Retrieves whether the union's current tag state has value /// "shared_content_change_link_expiry_details". /// /// @note Call this method and ensure it returns true before accessing the /// `sharedContentChangeLinkExpiryDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value /// "shared_content_change_link_expiry_details". /// - (BOOL)isSharedContentChangeLinkExpiryDetails; /// /// Retrieves whether the union's current tag state has value /// "shared_content_change_link_password_details". /// /// @note Call this method and ensure it returns true before accessing the /// `sharedContentChangeLinkPasswordDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value /// "shared_content_change_link_password_details". /// - (BOOL)isSharedContentChangeLinkPasswordDetails; /// /// Retrieves whether the union's current tag state has value /// "shared_content_change_member_role_details". /// /// @note Call this method and ensure it returns true before accessing the /// `sharedContentChangeMemberRoleDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value /// "shared_content_change_member_role_details". /// - (BOOL)isSharedContentChangeMemberRoleDetails; /// /// Retrieves whether the union's current tag state has value /// "shared_content_change_viewer_info_policy_details". /// /// @note Call this method and ensure it returns true before accessing the /// `sharedContentChangeViewerInfoPolicyDetails` 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". /// - (BOOL)isSharedContentChangeViewerInfoPolicyDetails; /// /// Retrieves whether the union's current tag state has value /// "shared_content_claim_invitation_details". /// /// @note Call this method and ensure it returns true before accessing the /// `sharedContentClaimInvitationDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value /// "shared_content_claim_invitation_details". /// - (BOOL)isSharedContentClaimInvitationDetails; /// /// Retrieves whether the union's current tag state has value /// "shared_content_copy_details". /// /// @note Call this method and ensure it returns true before accessing the /// `sharedContentCopyDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "shared_content_copy_details". /// - (BOOL)isSharedContentCopyDetails; /// /// Retrieves whether the union's current tag state has value /// "shared_content_download_details". /// /// @note Call this method and ensure it returns true before accessing the /// `sharedContentDownloadDetails` property, otherwise a runtime exception will /// be thrown. /// /// @return Whether the union's current tag state has value /// "shared_content_download_details". /// - (BOOL)isSharedContentDownloadDetails; /// /// Retrieves whether the union's current tag state has value /// "shared_content_relinquish_membership_details". /// /// @note Call this method and ensure it returns true before accessing the /// `sharedContentRelinquishMembershipDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value /// "shared_content_relinquish_membership_details". /// - (BOOL)isSharedContentRelinquishMembershipDetails; /// /// Retrieves whether the union's current tag state has value /// "shared_content_remove_invitees_details". /// /// @note Call this method and ensure it returns true before accessing the /// `sharedContentRemoveInviteesDetails` property, otherwise a runtime exception /// will be thrown. /// /// @return Whether the union's current tag state has value /// "shared_content_remove_invitees_details". /// - (BOOL)isSharedContentRemoveInviteesDetails; /// /// Retrieves whether the union's current tag state has value /// "shared_content_remove_link_expiry_details". /// /// @note Call this method and ensure it returns true before accessing the /// `sharedContentRemoveLinkExpiryDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value /// "shared_content_remove_link_expiry_details". /// - (BOOL)isSharedContentRemoveLinkExpiryDetails; /// /// Retrieves whether the union's current tag state has value /// "shared_content_remove_link_password_details". /// /// @note Call this method and ensure it returns true before accessing the /// `sharedContentRemoveLinkPasswordDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value /// "shared_content_remove_link_password_details". /// - (BOOL)isSharedContentRemoveLinkPasswordDetails; /// /// Retrieves whether the union's current tag state has value /// "shared_content_remove_member_details". /// /// @note Call this method and ensure it returns true before accessing the /// `sharedContentRemoveMemberDetails` property, otherwise a runtime exception /// will be thrown. /// /// @return Whether the union's current tag state has value /// "shared_content_remove_member_details". /// - (BOOL)isSharedContentRemoveMemberDetails; /// /// Retrieves whether the union's current tag state has value /// "shared_content_request_access_details". /// /// @note Call this method and ensure it returns true before accessing the /// `sharedContentRequestAccessDetails` property, otherwise a runtime exception /// will be thrown. /// /// @return Whether the union's current tag state has value /// "shared_content_request_access_details". /// - (BOOL)isSharedContentRequestAccessDetails; /// /// Retrieves whether the union's current tag state has value /// "shared_content_restore_invitees_details". /// /// @note Call this method and ensure it returns true before accessing the /// `sharedContentRestoreInviteesDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value /// "shared_content_restore_invitees_details". /// - (BOOL)isSharedContentRestoreInviteesDetails; /// /// Retrieves whether the union's current tag state has value /// "shared_content_restore_member_details". /// /// @note Call this method and ensure it returns true before accessing the /// `sharedContentRestoreMemberDetails` property, otherwise a runtime exception /// will be thrown. /// /// @return Whether the union's current tag state has value /// "shared_content_restore_member_details". /// - (BOOL)isSharedContentRestoreMemberDetails; /// /// Retrieves whether the union's current tag state has value /// "shared_content_unshare_details". /// /// @note Call this method and ensure it returns true before accessing the /// `sharedContentUnshareDetails` property, otherwise a runtime exception will /// be thrown. /// /// @return Whether the union's current tag state has value /// "shared_content_unshare_details". /// - (BOOL)isSharedContentUnshareDetails; /// /// Retrieves whether the union's current tag state has value /// "shared_content_view_details". /// /// @note Call this method and ensure it returns true before accessing the /// `sharedContentViewDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "shared_content_view_details". /// - (BOOL)isSharedContentViewDetails; /// /// Retrieves whether the union's current tag state has value /// "shared_folder_change_link_policy_details". /// /// @note Call this method and ensure it returns true before accessing the /// `sharedFolderChangeLinkPolicyDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value /// "shared_folder_change_link_policy_details". /// - (BOOL)isSharedFolderChangeLinkPolicyDetails; /// /// Retrieves whether the union's current tag state has value /// "shared_folder_change_members_inheritance_policy_details". /// /// @note Call this method and ensure it returns true before accessing the /// `sharedFolderChangeMembersInheritancePolicyDetails` property, otherwise a /// runtime exception will be thrown. /// /// @return Whether the union's current tag state has value /// "shared_folder_change_members_inheritance_policy_details". /// - (BOOL)isSharedFolderChangeMembersInheritancePolicyDetails; /// /// Retrieves whether the union's current tag state has value /// "shared_folder_change_members_management_policy_details". /// /// @note Call this method and ensure it returns true before accessing the /// `sharedFolderChangeMembersManagementPolicyDetails` property, otherwise a /// runtime exception will be thrown. /// /// @return Whether the union's current tag state has value /// "shared_folder_change_members_management_policy_details". /// - (BOOL)isSharedFolderChangeMembersManagementPolicyDetails; /// /// Retrieves whether the union's current tag state has value /// "shared_folder_change_members_policy_details". /// /// @note Call this method and ensure it returns true before accessing the /// `sharedFolderChangeMembersPolicyDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value /// "shared_folder_change_members_policy_details". /// - (BOOL)isSharedFolderChangeMembersPolicyDetails; /// /// Retrieves whether the union's current tag state has value /// "shared_folder_create_details". /// /// @note Call this method and ensure it returns true before accessing the /// `sharedFolderCreateDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "shared_folder_create_details". /// - (BOOL)isSharedFolderCreateDetails; /// /// Retrieves whether the union's current tag state has value /// "shared_folder_decline_invitation_details". /// /// @note Call this method and ensure it returns true before accessing the /// `sharedFolderDeclineInvitationDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value /// "shared_folder_decline_invitation_details". /// - (BOOL)isSharedFolderDeclineInvitationDetails; /// /// Retrieves whether the union's current tag state has value /// "shared_folder_mount_details". /// /// @note Call this method and ensure it returns true before accessing the /// `sharedFolderMountDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "shared_folder_mount_details". /// - (BOOL)isSharedFolderMountDetails; /// /// Retrieves whether the union's current tag state has value /// "shared_folder_nest_details". /// /// @note Call this method and ensure it returns true before accessing the /// `sharedFolderNestDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "shared_folder_nest_details". /// - (BOOL)isSharedFolderNestDetails; /// /// Retrieves whether the union's current tag state has value /// "shared_folder_transfer_ownership_details". /// /// @note Call this method and ensure it returns true before accessing the /// `sharedFolderTransferOwnershipDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value /// "shared_folder_transfer_ownership_details". /// - (BOOL)isSharedFolderTransferOwnershipDetails; /// /// Retrieves whether the union's current tag state has value /// "shared_folder_unmount_details". /// /// @note Call this method and ensure it returns true before accessing the /// `sharedFolderUnmountDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "shared_folder_unmount_details". /// - (BOOL)isSharedFolderUnmountDetails; /// /// Retrieves whether the union's current tag state has value /// "shared_link_add_expiry_details". /// /// @note Call this method and ensure it returns true before accessing the /// `sharedLinkAddExpiryDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "shared_link_add_expiry_details". /// - (BOOL)isSharedLinkAddExpiryDetails; /// /// Retrieves whether the union's current tag state has value /// "shared_link_change_expiry_details". /// /// @note Call this method and ensure it returns true before accessing the /// `sharedLinkChangeExpiryDetails` property, otherwise a runtime exception will /// be thrown. /// /// @return Whether the union's current tag state has value /// "shared_link_change_expiry_details". /// - (BOOL)isSharedLinkChangeExpiryDetails; /// /// Retrieves whether the union's current tag state has value /// "shared_link_change_visibility_details". /// /// @note Call this method and ensure it returns true before accessing the /// `sharedLinkChangeVisibilityDetails` property, otherwise a runtime exception /// will be thrown. /// /// @return Whether the union's current tag state has value /// "shared_link_change_visibility_details". /// - (BOOL)isSharedLinkChangeVisibilityDetails; /// /// Retrieves whether the union's current tag state has value /// "shared_link_copy_details". /// /// @note Call this method and ensure it returns true before accessing the /// `sharedLinkCopyDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "shared_link_copy_details". /// - (BOOL)isSharedLinkCopyDetails; /// /// Retrieves whether the union's current tag state has value /// "shared_link_create_details". /// /// @note Call this method and ensure it returns true before accessing the /// `sharedLinkCreateDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "shared_link_create_details". /// - (BOOL)isSharedLinkCreateDetails; /// /// Retrieves whether the union's current tag state has value /// "shared_link_disable_details". /// /// @note Call this method and ensure it returns true before accessing the /// `sharedLinkDisableDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "shared_link_disable_details". /// - (BOOL)isSharedLinkDisableDetails; /// /// Retrieves whether the union's current tag state has value /// "shared_link_download_details". /// /// @note Call this method and ensure it returns true before accessing the /// `sharedLinkDownloadDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "shared_link_download_details". /// - (BOOL)isSharedLinkDownloadDetails; /// /// Retrieves whether the union's current tag state has value /// "shared_link_remove_expiry_details". /// /// @note Call this method and ensure it returns true before accessing the /// `sharedLinkRemoveExpiryDetails` property, otherwise a runtime exception will /// be thrown. /// /// @return Whether the union's current tag state has value /// "shared_link_remove_expiry_details". /// - (BOOL)isSharedLinkRemoveExpiryDetails; /// /// Retrieves whether the union's current tag state has value /// "shared_link_settings_add_expiration_details". /// /// @note Call this method and ensure it returns true before accessing the /// `sharedLinkSettingsAddExpirationDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value /// "shared_link_settings_add_expiration_details". /// - (BOOL)isSharedLinkSettingsAddExpirationDetails; /// /// Retrieves whether the union's current tag state has value /// "shared_link_settings_add_password_details". /// /// @note Call this method and ensure it returns true before accessing the /// `sharedLinkSettingsAddPasswordDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value /// "shared_link_settings_add_password_details". /// - (BOOL)isSharedLinkSettingsAddPasswordDetails; /// /// Retrieves whether the union's current tag state has value /// "shared_link_settings_allow_download_disabled_details". /// /// @note Call this method and ensure it returns true before accessing the /// `sharedLinkSettingsAllowDownloadDisabledDetails` property, otherwise a /// runtime exception will be thrown. /// /// @return Whether the union's current tag state has value /// "shared_link_settings_allow_download_disabled_details". /// - (BOOL)isSharedLinkSettingsAllowDownloadDisabledDetails; /// /// 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 /// `sharedLinkSettingsAllowDownloadEnabledDetails` property, otherwise a /// runtime exception will be thrown. /// /// @return Whether the union's current tag state has value /// "shared_link_settings_allow_download_enabled_details". /// - (BOOL)isSharedLinkSettingsAllowDownloadEnabledDetails; /// /// Retrieves whether the union's current tag state has value /// "shared_link_settings_change_audience_details". /// /// @note Call this method and ensure it returns true before accessing the /// `sharedLinkSettingsChangeAudienceDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value /// "shared_link_settings_change_audience_details". /// - (BOOL)isSharedLinkSettingsChangeAudienceDetails; /// /// Retrieves whether the union's current tag state has value /// "shared_link_settings_change_expiration_details". /// /// @note Call this method and ensure it returns true before accessing the /// `sharedLinkSettingsChangeExpirationDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value /// "shared_link_settings_change_expiration_details". /// - (BOOL)isSharedLinkSettingsChangeExpirationDetails; /// /// Retrieves whether the union's current tag state has value /// "shared_link_settings_change_password_details". /// /// @note Call this method and ensure it returns true before accessing the /// `sharedLinkSettingsChangePasswordDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value /// "shared_link_settings_change_password_details". /// - (BOOL)isSharedLinkSettingsChangePasswordDetails; /// /// Retrieves whether the union's current tag state has value /// "shared_link_settings_remove_expiration_details". /// /// @note Call this method and ensure it returns true before accessing the /// `sharedLinkSettingsRemoveExpirationDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value /// "shared_link_settings_remove_expiration_details". /// - (BOOL)isSharedLinkSettingsRemoveExpirationDetails; /// /// Retrieves whether the union's current tag state has value /// "shared_link_settings_remove_password_details". /// /// @note Call this method and ensure it returns true before accessing the /// `sharedLinkSettingsRemovePasswordDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value /// "shared_link_settings_remove_password_details". /// - (BOOL)isSharedLinkSettingsRemovePasswordDetails; /// /// Retrieves whether the union's current tag state has value /// "shared_link_share_details". /// /// @note Call this method and ensure it returns true before accessing the /// `sharedLinkShareDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "shared_link_share_details". /// - (BOOL)isSharedLinkShareDetails; /// /// Retrieves whether the union's current tag state has value /// "shared_link_view_details". /// /// @note Call this method and ensure it returns true before accessing the /// `sharedLinkViewDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "shared_link_view_details". /// - (BOOL)isSharedLinkViewDetails; /// /// Retrieves whether the union's current tag state has value /// "shared_note_opened_details". /// /// @note Call this method and ensure it returns true before accessing the /// `sharedNoteOpenedDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "shared_note_opened_details". /// - (BOOL)isSharedNoteOpenedDetails; /// /// Retrieves whether the union's current tag state has value /// "shmodel_disable_downloads_details". /// /// @note Call this method and ensure it returns true before accessing the /// `shmodelDisableDownloadsDetails` property, otherwise a runtime exception /// will be thrown. /// /// @return Whether the union's current tag state has value /// "shmodel_disable_downloads_details". /// - (BOOL)isShmodelDisableDownloadsDetails; /// /// Retrieves whether the union's current tag state has value /// "shmodel_enable_downloads_details". /// /// @note Call this method and ensure it returns true before accessing the /// `shmodelEnableDownloadsDetails` property, otherwise a runtime exception will /// be thrown. /// /// @return Whether the union's current tag state has value /// "shmodel_enable_downloads_details". /// - (BOOL)isShmodelEnableDownloadsDetails; /// /// Retrieves whether the union's current tag state has value /// "shmodel_group_share_details". /// /// @note Call this method and ensure it returns true before accessing the /// `shmodelGroupShareDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "shmodel_group_share_details". /// - (BOOL)isShmodelGroupShareDetails; /// /// Retrieves whether the union's current tag state has value /// "showcase_access_granted_details". /// /// @note Call this method and ensure it returns true before accessing the /// `showcaseAccessGrantedDetails` property, otherwise a runtime exception will /// be thrown. /// /// @return Whether the union's current tag state has value /// "showcase_access_granted_details". /// - (BOOL)isShowcaseAccessGrantedDetails; /// /// Retrieves whether the union's current tag state has value /// "showcase_add_member_details". /// /// @note Call this method and ensure it returns true before accessing the /// `showcaseAddMemberDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "showcase_add_member_details". /// - (BOOL)isShowcaseAddMemberDetails; /// /// Retrieves whether the union's current tag state has value /// "showcase_archived_details". /// /// @note Call this method and ensure it returns true before accessing the /// `showcaseArchivedDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "showcase_archived_details". /// - (BOOL)isShowcaseArchivedDetails; /// /// Retrieves whether the union's current tag state has value /// "showcase_created_details". /// /// @note Call this method and ensure it returns true before accessing the /// `showcaseCreatedDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "showcase_created_details". /// - (BOOL)isShowcaseCreatedDetails; /// /// Retrieves whether the union's current tag state has value /// "showcase_delete_comment_details". /// /// @note Call this method and ensure it returns true before accessing the /// `showcaseDeleteCommentDetails` property, otherwise a runtime exception will /// be thrown. /// /// @return Whether the union's current tag state has value /// "showcase_delete_comment_details". /// - (BOOL)isShowcaseDeleteCommentDetails; /// /// Retrieves whether the union's current tag state has value /// "showcase_edited_details". /// /// @note Call this method and ensure it returns true before accessing the /// `showcaseEditedDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "showcase_edited_details". /// - (BOOL)isShowcaseEditedDetails; /// /// Retrieves whether the union's current tag state has value /// "showcase_edit_comment_details". /// /// @note Call this method and ensure it returns true before accessing the /// `showcaseEditCommentDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "showcase_edit_comment_details". /// - (BOOL)isShowcaseEditCommentDetails; /// /// Retrieves whether the union's current tag state has value /// "showcase_file_added_details". /// /// @note Call this method and ensure it returns true before accessing the /// `showcaseFileAddedDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "showcase_file_added_details". /// - (BOOL)isShowcaseFileAddedDetails; /// /// Retrieves whether the union's current tag state has value /// "showcase_file_download_details". /// /// @note Call this method and ensure it returns true before accessing the /// `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 /// "showcase_file_removed_details". /// - (BOOL)isShowcaseFileRemovedDetails; /// /// Retrieves whether the union's current tag state has value /// "showcase_file_view_details". /// /// @note Call this method and ensure it returns true before accessing the /// `showcaseFileViewDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "showcase_file_view_details". /// - (BOOL)isShowcaseFileViewDetails; /// /// Retrieves whether the union's current tag state has value /// "showcase_permanently_deleted_details". /// /// @note Call this method and ensure it returns true before accessing the /// `showcasePermanentlyDeletedDetails` property, otherwise a runtime exception /// will be thrown. /// /// @return Whether the union's current tag state has value /// "showcase_permanently_deleted_details". /// - (BOOL)isShowcasePermanentlyDeletedDetails; /// /// Retrieves whether the union's current tag state has value /// "showcase_post_comment_details". /// /// @note Call this method and ensure it returns true before accessing the /// `showcasePostCommentDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "showcase_post_comment_details". /// - (BOOL)isShowcasePostCommentDetails; /// /// Retrieves whether the union's current tag state has value /// "showcase_remove_member_details". /// /// @note Call this method and ensure it returns true before accessing the /// `showcaseRemoveMemberDetails` property, otherwise a runtime exception will /// be thrown. /// /// @return Whether the union's current tag state has value /// "showcase_remove_member_details". /// - (BOOL)isShowcaseRemoveMemberDetails; /// /// Retrieves whether the union's current tag state has value /// "showcase_renamed_details". /// /// @note Call this method and ensure it returns true before accessing the /// `showcaseRenamedDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "showcase_renamed_details". /// - (BOOL)isShowcaseRenamedDetails; /// /// Retrieves whether the union's current tag state has value /// "showcase_request_access_details". /// /// @note Call this method and ensure it returns true before accessing the /// `showcaseRequestAccessDetails` property, otherwise a runtime exception will /// be thrown. /// /// @return Whether the union's current tag state has value /// "showcase_request_access_details". /// - (BOOL)isShowcaseRequestAccessDetails; /// /// Retrieves whether the union's current tag state has value /// "showcase_resolve_comment_details". /// /// @note Call this method and ensure it returns true before accessing the /// `showcaseResolveCommentDetails` property, otherwise a runtime exception will /// be thrown. /// /// @return Whether the union's current tag state has value /// "showcase_resolve_comment_details". /// - (BOOL)isShowcaseResolveCommentDetails; /// /// Retrieves whether the union's current tag state has value /// "showcase_restored_details". /// /// @note Call this method and ensure it returns true before accessing the /// `showcaseRestoredDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "showcase_restored_details". /// - (BOOL)isShowcaseRestoredDetails; /// /// Retrieves whether the union's current tag state has value /// "showcase_trashed_details". /// /// @note Call this method and ensure it returns true before accessing the /// `showcaseTrashedDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "showcase_trashed_details". /// - (BOOL)isShowcaseTrashedDetails; /// /// Retrieves whether the union's current tag state has value /// "showcase_trashed_deprecated_details". /// /// @note Call this method and ensure it returns true before accessing the /// `showcaseTrashedDeprecatedDetails` property, otherwise a runtime exception /// will be thrown. /// /// @return Whether the union's current tag state has value /// "showcase_trashed_deprecated_details". /// - (BOOL)isShowcaseTrashedDeprecatedDetails; /// /// Retrieves whether the union's current tag state has value /// "showcase_unresolve_comment_details". /// /// @note Call this method and ensure it returns true before accessing the /// `showcaseUnresolveCommentDetails` property, otherwise a runtime exception /// will be thrown. /// /// @return Whether the union's current tag state has value /// "showcase_unresolve_comment_details". /// - (BOOL)isShowcaseUnresolveCommentDetails; /// /// Retrieves whether the union's current tag state has value /// "showcase_untrashed_details". /// /// @note Call this method and ensure it returns true before accessing the /// `showcaseUntrashedDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "showcase_untrashed_details". /// - (BOOL)isShowcaseUntrashedDetails; /// /// Retrieves whether the union's current tag state has value /// "showcase_untrashed_deprecated_details". /// /// @note Call this method and ensure it returns true before accessing the /// `showcaseUntrashedDeprecatedDetails` property, otherwise a runtime exception /// will be thrown. /// /// @return Whether the union's current tag state has value /// "showcase_untrashed_deprecated_details". /// - (BOOL)isShowcaseUntrashedDeprecatedDetails; /// /// Retrieves whether the union's current tag state has value /// "showcase_view_details". /// /// @note Call this method and ensure it returns true before accessing the /// `showcaseViewDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "showcase_view_details". /// - (BOOL)isShowcaseViewDetails; /// /// Retrieves whether the union's current tag state has value /// "sso_add_cert_details". /// /// @note Call this method and ensure it returns true before accessing the /// `ssoAddCertDetails` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value /// "sso_add_cert_details". /// - (BOOL)isSsoAddCertDetails; /// /// Retrieves whether the union's current tag state has value /// "sso_add_login_url_details". /// /// @note Call this method and ensure it returns true before accessing the /// `ssoAddLoginUrlDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "sso_add_login_url_details". /// - (BOOL)isSsoAddLoginUrlDetails; /// /// Retrieves whether the union's current tag state has value /// "sso_add_logout_url_details". /// /// @note Call this method and ensure it returns true before accessing the /// `ssoAddLogoutUrlDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "sso_add_logout_url_details". /// - (BOOL)isSsoAddLogoutUrlDetails; /// /// Retrieves whether the union's current tag state has value /// "sso_change_cert_details". /// /// @note Call this method and ensure it returns true before accessing the /// `ssoChangeCertDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "sso_change_cert_details". /// - (BOOL)isSsoChangeCertDetails; /// /// Retrieves whether the union's current tag state has value /// "sso_change_login_url_details". /// /// @note Call this method and ensure it returns true before accessing the /// `ssoChangeLoginUrlDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "sso_change_login_url_details". /// - (BOOL)isSsoChangeLoginUrlDetails; /// /// Retrieves whether the union's current tag state has value /// "sso_change_logout_url_details". /// /// @note Call this method and ensure it returns true before accessing the /// `ssoChangeLogoutUrlDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "sso_change_logout_url_details". /// - (BOOL)isSsoChangeLogoutUrlDetails; /// /// Retrieves whether the union's current tag state has value /// "sso_change_saml_identity_mode_details". /// /// @note Call this method and ensure it returns true before accessing the /// `ssoChangeSamlIdentityModeDetails` property, otherwise a runtime exception /// will be thrown. /// /// @return Whether the union's current tag state has value /// "sso_change_saml_identity_mode_details". /// - (BOOL)isSsoChangeSamlIdentityModeDetails; /// /// Retrieves whether the union's current tag state has value /// "sso_remove_cert_details". /// /// @note Call this method and ensure it returns true before accessing the /// `ssoRemoveCertDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "sso_remove_cert_details". /// - (BOOL)isSsoRemoveCertDetails; /// /// Retrieves whether the union's current tag state has value /// "sso_remove_login_url_details". /// /// @note Call this method and ensure it returns true before accessing the /// `ssoRemoveLoginUrlDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "sso_remove_login_url_details". /// - (BOOL)isSsoRemoveLoginUrlDetails; /// /// Retrieves whether the union's current tag state has value /// "sso_remove_logout_url_details". /// /// @note Call this method and ensure it returns true before accessing the /// `ssoRemoveLogoutUrlDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "sso_remove_logout_url_details". /// - (BOOL)isSsoRemoveLogoutUrlDetails; /// /// Retrieves whether the union's current tag state has value /// "team_folder_change_status_details". /// /// @note Call this method and ensure it returns true before accessing the /// `teamFolderChangeStatusDetails` property, otherwise a runtime exception will /// be thrown. /// /// @return Whether the union's current tag state has value /// "team_folder_change_status_details". /// - (BOOL)isTeamFolderChangeStatusDetails; /// /// Retrieves whether the union's current tag state has value /// "team_folder_create_details". /// /// @note Call this method and ensure it returns true before accessing the /// `teamFolderCreateDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "team_folder_create_details". /// - (BOOL)isTeamFolderCreateDetails; /// /// Retrieves whether the union's current tag state has value /// "team_folder_downgrade_details". /// /// @note Call this method and ensure it returns true before accessing the /// `teamFolderDowngradeDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "team_folder_downgrade_details". /// - (BOOL)isTeamFolderDowngradeDetails; /// /// Retrieves whether the union's current tag state has value /// "team_folder_permanently_delete_details". /// /// @note Call this method and ensure it returns true before accessing the /// `teamFolderPermanentlyDeleteDetails` property, otherwise a runtime exception /// will be thrown. /// /// @return Whether the union's current tag state has value /// "team_folder_permanently_delete_details". /// - (BOOL)isTeamFolderPermanentlyDeleteDetails; /// /// Retrieves whether the union's current tag state has value /// "team_folder_rename_details". /// /// @note Call this method and ensure it returns true before accessing the /// `teamFolderRenameDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "team_folder_rename_details". /// - (BOOL)isTeamFolderRenameDetails; /// /// Retrieves whether the union's current tag state has value /// "team_selective_sync_settings_changed_details". /// /// @note Call this method and ensure it returns true before accessing the /// `teamSelectiveSyncSettingsChangedDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value /// "team_selective_sync_settings_changed_details". /// - (BOOL)isTeamSelectiveSyncSettingsChangedDetails; /// /// Retrieves whether the union's current tag state has value /// "account_capture_change_policy_details". /// /// @note Call this method and ensure it returns true before accessing the /// `accountCaptureChangePolicyDetails` property, otherwise a runtime exception /// will be thrown. /// /// @return Whether the union's current tag state has value /// "account_capture_change_policy_details". /// - (BOOL)isAccountCaptureChangePolicyDetails; /// /// Retrieves whether the union's current tag state has value /// "admin_email_reminders_changed_details". /// /// @note Call this method and ensure it returns true before accessing the /// `adminEmailRemindersChangedDetails` property, otherwise a runtime exception /// will be thrown. /// /// @return Whether the union's current tag state has value /// "admin_email_reminders_changed_details". /// - (BOOL)isAdminEmailRemindersChangedDetails; /// /// Retrieves whether the union's current tag state has value /// "allow_download_disabled_details". /// /// @note Call this method and ensure it returns true before accessing the /// `allowDownloadDisabledDetails` property, otherwise a runtime exception will /// be thrown. /// /// @return Whether the union's current tag state has value /// "allow_download_disabled_details". /// - (BOOL)isAllowDownloadDisabledDetails; /// /// Retrieves whether the union's current tag state has value /// "allow_download_enabled_details". /// /// @note Call this method and ensure it returns true before accessing the /// `allowDownloadEnabledDetails` property, otherwise a runtime exception will /// be thrown. /// /// @return Whether the union's current tag state has value /// "allow_download_enabled_details". /// - (BOOL)isAllowDownloadEnabledDetails; /// /// Retrieves whether the union's current tag state has value /// "app_permissions_changed_details". /// /// @note Call this method and ensure it returns true before accessing the /// `appPermissionsChangedDetails` property, otherwise a runtime exception will /// be thrown. /// /// @return Whether the union's current tag state has value /// "app_permissions_changed_details". /// - (BOOL)isAppPermissionsChangedDetails; /// /// Retrieves whether the union's current tag state has value /// "camera_uploads_policy_changed_details". /// /// @note Call this method and ensure it returns true before accessing the /// `cameraUploadsPolicyChangedDetails` property, otherwise a runtime exception /// will be thrown. /// /// @return Whether the union's current tag state has value /// "camera_uploads_policy_changed_details". /// - (BOOL)isCameraUploadsPolicyChangedDetails; /// /// Retrieves whether the union's current tag state has value /// "capture_transcript_policy_changed_details". /// /// @note Call this method and ensure it returns true before accessing the /// `captureTranscriptPolicyChangedDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value /// "capture_transcript_policy_changed_details". /// - (BOOL)isCaptureTranscriptPolicyChangedDetails; /// /// Retrieves whether the union's current tag state has value /// "classification_change_policy_details". /// /// @note Call this method and ensure it returns true before accessing the /// `classificationChangePolicyDetails` property, otherwise a runtime exception /// will be thrown. /// /// @return Whether the union's current tag state has value /// "classification_change_policy_details". /// - (BOOL)isClassificationChangePolicyDetails; /// /// Retrieves whether the union's current tag state has value /// "computer_backup_policy_changed_details". /// /// @note Call this method and ensure it returns true before accessing the /// `computerBackupPolicyChangedDetails` property, otherwise a runtime exception /// will be thrown. /// /// @return Whether the union's current tag state has value /// "computer_backup_policy_changed_details". /// - (BOOL)isComputerBackupPolicyChangedDetails; /// /// Retrieves whether the union's current tag state has value /// "content_administration_policy_changed_details". /// /// @note Call this method and ensure it returns true before accessing the /// `contentAdministrationPolicyChangedDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value /// "content_administration_policy_changed_details". /// - (BOOL)isContentAdministrationPolicyChangedDetails; /// /// Retrieves whether the union's current tag state has value /// "data_placement_restriction_change_policy_details". /// /// @note Call this method and ensure it returns true before accessing the /// `dataPlacementRestrictionChangePolicyDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value /// "data_placement_restriction_change_policy_details". /// - (BOOL)isDataPlacementRestrictionChangePolicyDetails; /// /// 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 /// `dataPlacementRestrictionSatisfyPolicyDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value /// "data_placement_restriction_satisfy_policy_details". /// - (BOOL)isDataPlacementRestrictionSatisfyPolicyDetails; /// /// Retrieves whether the union's current tag state has value /// "device_approvals_add_exception_details". /// /// @note Call this method and ensure it returns true before accessing the /// `deviceApprovalsAddExceptionDetails` property, otherwise a runtime exception /// will be thrown. /// /// @return Whether the union's current tag state has value /// "device_approvals_add_exception_details". /// - (BOOL)isDeviceApprovalsAddExceptionDetails; /// /// Retrieves whether the union's current tag state has value /// "device_approvals_change_desktop_policy_details". /// /// @note Call this method and ensure it returns true before accessing the /// `deviceApprovalsChangeDesktopPolicyDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value /// "device_approvals_change_desktop_policy_details". /// - (BOOL)isDeviceApprovalsChangeDesktopPolicyDetails; /// /// Retrieves whether the union's current tag state has value /// "device_approvals_change_mobile_policy_details". /// /// @note Call this method and ensure it returns true before accessing the /// `deviceApprovalsChangeMobilePolicyDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value /// "device_approvals_change_mobile_policy_details". /// - (BOOL)isDeviceApprovalsChangeMobilePolicyDetails; /// /// Retrieves whether the union's current tag state has value /// "device_approvals_change_overage_action_details". /// /// @note Call this method and ensure it returns true before accessing the /// `deviceApprovalsChangeOverageActionDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value /// "device_approvals_change_overage_action_details". /// - (BOOL)isDeviceApprovalsChangeOverageActionDetails; /// /// Retrieves whether the union's current tag state has value /// "device_approvals_change_unlink_action_details". /// /// @note Call this method and ensure it returns true before accessing the /// `deviceApprovalsChangeUnlinkActionDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value /// "device_approvals_change_unlink_action_details". /// - (BOOL)isDeviceApprovalsChangeUnlinkActionDetails; /// /// Retrieves whether the union's current tag state has value /// "device_approvals_remove_exception_details". /// /// @note Call this method and ensure it returns true before accessing the /// `deviceApprovalsRemoveExceptionDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value /// "device_approvals_remove_exception_details". /// - (BOOL)isDeviceApprovalsRemoveExceptionDetails; /// /// Retrieves whether the union's current tag state has value /// "directory_restrictions_add_members_details". /// /// @note Call this method and ensure it returns true before accessing the /// `directoryRestrictionsAddMembersDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value /// "directory_restrictions_add_members_details". /// - (BOOL)isDirectoryRestrictionsAddMembersDetails; /// /// Retrieves whether the union's current tag state has value /// "directory_restrictions_remove_members_details". /// /// @note Call this method and ensure it returns true before accessing the /// `directoryRestrictionsRemoveMembersDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value /// "directory_restrictions_remove_members_details". /// - (BOOL)isDirectoryRestrictionsRemoveMembersDetails; /// /// Retrieves whether the union's current tag state has value /// "dropbox_passwords_policy_changed_details". /// /// @note Call this method and ensure it returns true before accessing the /// `dropboxPasswordsPolicyChangedDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value /// "dropbox_passwords_policy_changed_details". /// - (BOOL)isDropboxPasswordsPolicyChangedDetails; /// /// Retrieves whether the union's current tag state has value /// "email_ingest_policy_changed_details". /// /// @note Call this method and ensure it returns true before accessing the /// `emailIngestPolicyChangedDetails` property, otherwise a runtime exception /// will be thrown. /// /// @return Whether the union's current tag state has value /// "email_ingest_policy_changed_details". /// - (BOOL)isEmailIngestPolicyChangedDetails; /// /// Retrieves whether the union's current tag state has value /// "emm_add_exception_details". /// /// @note Call this method and ensure it returns true before accessing the /// `emmAddExceptionDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "emm_add_exception_details". /// - (BOOL)isEmmAddExceptionDetails; /// /// Retrieves whether the union's current tag state has value /// "emm_change_policy_details". /// /// @note Call this method and ensure it returns true before accessing the /// `emmChangePolicyDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "emm_change_policy_details". /// - (BOOL)isEmmChangePolicyDetails; /// /// Retrieves whether the union's current tag state has value /// "emm_remove_exception_details". /// /// @note Call this method and ensure it returns true before accessing the /// `emmRemoveExceptionDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "emm_remove_exception_details". /// - (BOOL)isEmmRemoveExceptionDetails; /// /// Retrieves whether the union's current tag state has value /// "extended_version_history_change_policy_details". /// /// @note Call this method and ensure it returns true before accessing the /// `extendedVersionHistoryChangePolicyDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value /// "extended_version_history_change_policy_details". /// - (BOOL)isExtendedVersionHistoryChangePolicyDetails; /// /// Retrieves whether the union's current tag state has value /// "external_drive_backup_policy_changed_details". /// /// @note Call this method and ensure it returns true before accessing the /// `externalDriveBackupPolicyChangedDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value /// "external_drive_backup_policy_changed_details". /// - (BOOL)isExternalDriveBackupPolicyChangedDetails; /// /// Retrieves whether the union's current tag state has value /// "file_comments_change_policy_details". /// /// @note Call this method and ensure it returns true before accessing the /// `fileCommentsChangePolicyDetails` property, otherwise a runtime exception /// will be thrown. /// /// @return Whether the union's current tag state has value /// "file_comments_change_policy_details". /// - (BOOL)isFileCommentsChangePolicyDetails; /// /// Retrieves whether the union's current tag state has value /// "file_locking_policy_changed_details". /// /// @note Call this method and ensure it returns true before accessing the /// `fileLockingPolicyChangedDetails` property, otherwise a runtime exception /// will be thrown. /// /// @return Whether the union's current tag state has value /// "file_locking_policy_changed_details". /// - (BOOL)isFileLockingPolicyChangedDetails; /// /// Retrieves whether the union's current tag state has value /// "file_provider_migration_policy_changed_details". /// /// @note Call this method and ensure it returns true before accessing the /// `fileProviderMigrationPolicyChangedDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value /// "file_provider_migration_policy_changed_details". /// - (BOOL)isFileProviderMigrationPolicyChangedDetails; /// /// Retrieves whether the union's current tag state has value /// "file_requests_change_policy_details". /// /// @note Call this method and ensure it returns true before accessing the /// `fileRequestsChangePolicyDetails` property, otherwise a runtime exception /// will be thrown. /// /// @return Whether the union's current tag state has value /// "file_requests_change_policy_details". /// - (BOOL)isFileRequestsChangePolicyDetails; /// /// Retrieves whether the union's current tag state has value /// "file_requests_emails_enabled_details". /// /// @note Call this method and ensure it returns true before accessing the /// `fileRequestsEmailsEnabledDetails` property, otherwise a runtime exception /// will be thrown. /// /// @return Whether the union's current tag state has value /// "file_requests_emails_enabled_details". /// - (BOOL)isFileRequestsEmailsEnabledDetails; /// /// Retrieves whether the union's current tag state has value /// "file_requests_emails_restricted_to_team_only_details". /// /// @note Call this method and ensure it returns true before accessing the /// `fileRequestsEmailsRestrictedToTeamOnlyDetails` 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". /// - (BOOL)isFileRequestsEmailsRestrictedToTeamOnlyDetails; /// /// Retrieves whether the union's current tag state has value /// "file_transfers_policy_changed_details". /// /// @note Call this method and ensure it returns true before accessing the /// `fileTransfersPolicyChangedDetails` property, otherwise a runtime exception /// will be thrown. /// /// @return Whether the union's current tag state has value /// "file_transfers_policy_changed_details". /// - (BOOL)isFileTransfersPolicyChangedDetails; /// /// Retrieves whether the union's current tag state has value /// "folder_link_restriction_policy_changed_details". /// /// @note Call this method and ensure it returns true before accessing the /// `folderLinkRestrictionPolicyChangedDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value /// "folder_link_restriction_policy_changed_details". /// - (BOOL)isFolderLinkRestrictionPolicyChangedDetails; /// /// Retrieves whether the union's current tag state has value /// "google_sso_change_policy_details". /// /// @note Call this method and ensure it returns true before accessing the /// `googleSsoChangePolicyDetails` property, otherwise a runtime exception will /// be thrown. /// /// @return Whether the union's current tag state has value /// "google_sso_change_policy_details". /// - (BOOL)isGoogleSsoChangePolicyDetails; /// /// Retrieves whether the union's current tag state has value /// "group_user_management_change_policy_details". /// /// @note Call this method and ensure it returns true before accessing the /// `groupUserManagementChangePolicyDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value /// "group_user_management_change_policy_details". /// - (BOOL)isGroupUserManagementChangePolicyDetails; /// /// Retrieves whether the union's current tag state has value /// "integration_policy_changed_details". /// /// @note Call this method and ensure it returns true before accessing the /// `integrationPolicyChangedDetails` property, otherwise a runtime exception /// will be thrown. /// /// @return Whether the union's current tag state has value /// "integration_policy_changed_details". /// - (BOOL)isIntegrationPolicyChangedDetails; /// /// Retrieves whether the union's current tag state has value /// "invite_acceptance_email_policy_changed_details". /// /// @note Call this method and ensure it returns true before accessing the /// `inviteAcceptanceEmailPolicyChangedDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value /// "invite_acceptance_email_policy_changed_details". /// - (BOOL)isInviteAcceptanceEmailPolicyChangedDetails; /// /// Retrieves whether the union's current tag state has value /// "member_requests_change_policy_details". /// /// @note Call this method and ensure it returns true before accessing the /// `memberRequestsChangePolicyDetails` property, otherwise a runtime exception /// will be thrown. /// /// @return Whether the union's current tag state has value /// "member_requests_change_policy_details". /// - (BOOL)isMemberRequestsChangePolicyDetails; /// /// Retrieves whether the union's current tag state has value /// "member_send_invite_policy_changed_details". /// /// @note Call this method and ensure it returns true before accessing the /// `memberSendInvitePolicyChangedDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value /// "member_send_invite_policy_changed_details". /// - (BOOL)isMemberSendInvitePolicyChangedDetails; /// /// Retrieves whether the union's current tag state has value /// "member_space_limits_add_exception_details". /// /// @note Call this method and ensure it returns true before accessing the /// `memberSpaceLimitsAddExceptionDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value /// "member_space_limits_add_exception_details". /// - (BOOL)isMemberSpaceLimitsAddExceptionDetails; /// /// Retrieves whether the union's current tag state has value /// "member_space_limits_change_caps_type_policy_details". /// /// @note Call this method and ensure it returns true before accessing the /// `memberSpaceLimitsChangeCapsTypePolicyDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value /// "member_space_limits_change_caps_type_policy_details". /// - (BOOL)isMemberSpaceLimitsChangeCapsTypePolicyDetails; /// /// Retrieves whether the union's current tag state has value /// "member_space_limits_change_policy_details". /// /// @note Call this method and ensure it returns true before accessing the /// `memberSpaceLimitsChangePolicyDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value /// "member_space_limits_change_policy_details". /// - (BOOL)isMemberSpaceLimitsChangePolicyDetails; /// /// Retrieves whether the union's current tag state has value /// "member_space_limits_remove_exception_details". /// /// @note Call this method and ensure it returns true before accessing the /// `memberSpaceLimitsRemoveExceptionDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value /// "member_space_limits_remove_exception_details". /// - (BOOL)isMemberSpaceLimitsRemoveExceptionDetails; /// /// Retrieves whether the union's current tag state has value /// "member_suggestions_change_policy_details". /// /// @note Call this method and ensure it returns true before accessing the /// `memberSuggestionsChangePolicyDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value /// "member_suggestions_change_policy_details". /// - (BOOL)isMemberSuggestionsChangePolicyDetails; /// /// Retrieves whether the union's current tag state has value /// "microsoft_office_addin_change_policy_details". /// /// @note Call this method and ensure it returns true before accessing the /// `microsoftOfficeAddinChangePolicyDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value /// "microsoft_office_addin_change_policy_details". /// - (BOOL)isMicrosoftOfficeAddinChangePolicyDetails; /// /// Retrieves whether the union's current tag state has value /// "network_control_change_policy_details". /// /// @note Call this method and ensure it returns true before accessing the /// `networkControlChangePolicyDetails` property, otherwise a runtime exception /// will be thrown. /// /// @return Whether the union's current tag state has value /// "network_control_change_policy_details". /// - (BOOL)isNetworkControlChangePolicyDetails; /// /// Retrieves whether the union's current tag state has value /// "paper_change_deployment_policy_details". /// /// @note Call this method and ensure it returns true before accessing the /// `paperChangeDeploymentPolicyDetails` property, otherwise a runtime exception /// will be thrown. /// /// @return Whether the union's current tag state has value /// "paper_change_deployment_policy_details". /// - (BOOL)isPaperChangeDeploymentPolicyDetails; /// /// Retrieves whether the union's current tag state has value /// "paper_change_member_link_policy_details". /// /// @note Call this method and ensure it returns true before accessing the /// `paperChangeMemberLinkPolicyDetails` property, otherwise a runtime exception /// will be thrown. /// /// @return Whether the union's current tag state has value /// "paper_change_member_link_policy_details". /// - (BOOL)isPaperChangeMemberLinkPolicyDetails; /// /// Retrieves whether the union's current tag state has value /// "paper_change_member_policy_details". /// /// @note Call this method and ensure it returns true before accessing the /// `paperChangeMemberPolicyDetails` property, otherwise a runtime exception /// will be thrown. /// /// @return Whether the union's current tag state has value /// "paper_change_member_policy_details". /// - (BOOL)isPaperChangeMemberPolicyDetails; /// /// Retrieves whether the union's current tag state has value /// "paper_change_policy_details". /// /// @note Call this method and ensure it returns true before accessing the /// `paperChangePolicyDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "paper_change_policy_details". /// - (BOOL)isPaperChangePolicyDetails; /// /// Retrieves whether the union's current tag state has value /// "paper_default_folder_policy_changed_details". /// /// @note Call this method and ensure it returns true before accessing the /// `paperDefaultFolderPolicyChangedDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value /// "paper_default_folder_policy_changed_details". /// - (BOOL)isPaperDefaultFolderPolicyChangedDetails; /// /// Retrieves whether the union's current tag state has value /// "paper_desktop_policy_changed_details". /// /// @note Call this method and ensure it returns true before accessing the /// `paperDesktopPolicyChangedDetails` property, otherwise a runtime exception /// will be thrown. /// /// @return Whether the union's current tag state has value /// "paper_desktop_policy_changed_details". /// - (BOOL)isPaperDesktopPolicyChangedDetails; /// /// Retrieves whether the union's current tag state has value /// "paper_enabled_users_group_addition_details". /// /// @note Call this method and ensure it returns true before accessing the /// `paperEnabledUsersGroupAdditionDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value /// "paper_enabled_users_group_addition_details". /// - (BOOL)isPaperEnabledUsersGroupAdditionDetails; /// /// Retrieves whether the union's current tag state has value /// "paper_enabled_users_group_removal_details". /// /// @note Call this method and ensure it returns true before accessing the /// `paperEnabledUsersGroupRemovalDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value /// "paper_enabled_users_group_removal_details". /// - (BOOL)isPaperEnabledUsersGroupRemovalDetails; /// /// Retrieves whether the union's current tag state has value /// "password_strength_requirements_change_policy_details". /// /// @note Call this method and ensure it returns true before accessing the /// `passwordStrengthRequirementsChangePolicyDetails` property, otherwise a /// runtime exception will be thrown. /// /// @return Whether the union's current tag state has value /// "password_strength_requirements_change_policy_details". /// - (BOOL)isPasswordStrengthRequirementsChangePolicyDetails; /// /// Retrieves whether the union's current tag state has value /// "permanent_delete_change_policy_details". /// /// @note Call this method and ensure it returns true before accessing the /// `permanentDeleteChangePolicyDetails` property, otherwise a runtime exception /// will be thrown. /// /// @return Whether the union's current tag state has value /// "permanent_delete_change_policy_details". /// - (BOOL)isPermanentDeleteChangePolicyDetails; /// /// Retrieves whether the union's current tag state has value /// "reseller_support_change_policy_details". /// /// @note Call this method and ensure it returns true before accessing the /// `resellerSupportChangePolicyDetails` property, otherwise a runtime exception /// will be thrown. /// /// @return Whether the union's current tag state has value /// "reseller_support_change_policy_details". /// - (BOOL)isResellerSupportChangePolicyDetails; /// /// Retrieves whether the union's current tag state has value /// "rewind_policy_changed_details". /// /// @note Call this method and ensure it returns true before accessing the /// `rewindPolicyChangedDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "rewind_policy_changed_details". /// - (BOOL)isRewindPolicyChangedDetails; /// /// Retrieves whether the union's current tag state has value /// "send_for_signature_policy_changed_details". /// /// @note Call this method and ensure it returns true before accessing the /// `sendForSignaturePolicyChangedDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value /// "send_for_signature_policy_changed_details". /// - (BOOL)isSendForSignaturePolicyChangedDetails; /// /// Retrieves whether the union's current tag state has value /// "sharing_change_folder_join_policy_details". /// /// @note Call this method and ensure it returns true before accessing the /// `sharingChangeFolderJoinPolicyDetails` 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_allow_change_expiration_policy_details". /// /// @note Call this method and ensure it returns true before accessing the /// `sharingChangeLinkAllowChangeExpirationPolicyDetails` property, otherwise a /// runtime exception will be thrown. /// /// @return Whether the union's current tag state has value /// "sharing_change_link_allow_change_expiration_policy_details". /// - (BOOL)isSharingChangeLinkAllowChangeExpirationPolicyDetails; /// /// Retrieves whether the union's current tag state has value /// "sharing_change_link_default_expiration_policy_details". /// /// @note Call this method and ensure it returns true before accessing the /// `sharingChangeLinkDefaultExpirationPolicyDetails` property, otherwise a /// runtime exception will be thrown. /// /// @return Whether the union's current tag state has value /// "sharing_change_link_default_expiration_policy_details". /// - (BOOL)isSharingChangeLinkDefaultExpirationPolicyDetails; /// /// Retrieves whether the union's current tag state has value /// "sharing_change_link_enforce_password_policy_details". /// /// @note Call this method and ensure it returns true before accessing the /// `sharingChangeLinkEnforcePasswordPolicyDetails` property, otherwise a /// runtime exception will be thrown. /// /// @return Whether the union's current tag state has value /// "sharing_change_link_enforce_password_policy_details". /// - (BOOL)isSharingChangeLinkEnforcePasswordPolicyDetails; /// /// 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". /// - (BOOL)isSharingChangeLinkPolicyDetails; /// /// Retrieves whether the union's current tag state has value /// "sharing_change_member_policy_details". /// /// @note Call this method and ensure it returns true before accessing the /// `sharingChangeMemberPolicyDetails` property, otherwise a runtime exception /// will be thrown. /// /// @return Whether the union's current tag state has value /// "sharing_change_member_policy_details". /// - (BOOL)isSharingChangeMemberPolicyDetails; /// /// Retrieves whether the union's current tag state has value /// "showcase_change_download_policy_details". /// /// @note Call this method and ensure it returns true before accessing the /// `showcaseChangeDownloadPolicyDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value /// "showcase_change_download_policy_details". /// - (BOOL)isShowcaseChangeDownloadPolicyDetails; /// /// Retrieves whether the union's current tag state has value /// "showcase_change_enabled_policy_details". /// /// @note Call this method and ensure it returns true before accessing the /// `showcaseChangeEnabledPolicyDetails` property, otherwise a runtime exception /// will be thrown. /// /// @return Whether the union's current tag state has value /// "showcase_change_enabled_policy_details". /// - (BOOL)isShowcaseChangeEnabledPolicyDetails; /// /// Retrieves whether the union's current tag state has value /// "showcase_change_external_sharing_policy_details". /// /// @note Call this method and ensure it returns true before accessing the /// `showcaseChangeExternalSharingPolicyDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value /// "showcase_change_external_sharing_policy_details". /// - (BOOL)isShowcaseChangeExternalSharingPolicyDetails; /// /// Retrieves whether the union's current tag state has value /// "smarter_smart_sync_policy_changed_details". /// /// @note Call this method and ensure it returns true before accessing the /// `smarterSmartSyncPolicyChangedDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value /// "smarter_smart_sync_policy_changed_details". /// - (BOOL)isSmarterSmartSyncPolicyChangedDetails; /// /// Retrieves whether the union's current tag state has value /// "smart_sync_change_policy_details". /// /// @note Call this method and ensure it returns true before accessing the /// `smartSyncChangePolicyDetails` property, otherwise a runtime exception will /// be thrown. /// /// @return Whether the union's current tag state has value /// "smart_sync_change_policy_details". /// - (BOOL)isSmartSyncChangePolicyDetails; /// /// Retrieves whether the union's current tag state has value /// "smart_sync_not_opt_out_details". /// /// @note Call this method and ensure it returns true before accessing the /// `smartSyncNotOptOutDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "smart_sync_not_opt_out_details". /// - (BOOL)isSmartSyncNotOptOutDetails; /// /// Retrieves whether the union's current tag state has value /// "smart_sync_opt_out_details". /// /// @note Call this method and ensure it returns true before accessing the /// `smartSyncOptOutDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "smart_sync_opt_out_details". /// - (BOOL)isSmartSyncOptOutDetails; /// /// Retrieves whether the union's current tag state has value /// "sso_change_policy_details". /// /// @note Call this method and ensure it returns true before accessing the /// `ssoChangePolicyDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "sso_change_policy_details". /// - (BOOL)isSsoChangePolicyDetails; /// /// Retrieves whether the union's current tag state has value /// "team_branding_policy_changed_details". /// /// @note Call this method and ensure it returns true before accessing the /// `teamBrandingPolicyChangedDetails` property, otherwise a runtime exception /// will be thrown. /// /// @return Whether the union's current tag state has value /// "team_branding_policy_changed_details". /// - (BOOL)isTeamBrandingPolicyChangedDetails; /// /// Retrieves whether the union's current tag state has value /// "team_extensions_policy_changed_details". /// /// @note Call this method and ensure it returns true before accessing the /// `teamExtensionsPolicyChangedDetails` property, otherwise a runtime exception /// will be thrown. /// /// @return Whether the union's current tag state has value /// "team_extensions_policy_changed_details". /// - (BOOL)isTeamExtensionsPolicyChangedDetails; /// /// Retrieves whether the union's current tag state has value /// "team_selective_sync_policy_changed_details". /// /// @note Call this method and ensure it returns true before accessing the /// `teamSelectiveSyncPolicyChangedDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value /// "team_selective_sync_policy_changed_details". /// - (BOOL)isTeamSelectiveSyncPolicyChangedDetails; /// /// Retrieves whether the union's current tag state has value /// "team_sharing_whitelist_subjects_changed_details". /// /// @note Call this method and ensure it returns true before accessing the /// `teamSharingWhitelistSubjectsChangedDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value /// "team_sharing_whitelist_subjects_changed_details". /// - (BOOL)isTeamSharingWhitelistSubjectsChangedDetails; /// /// Retrieves whether the union's current tag state has value /// "tfa_add_exception_details". /// /// @note Call this method and ensure it returns true before accessing the /// `tfaAddExceptionDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "tfa_add_exception_details". /// - (BOOL)isTfaAddExceptionDetails; /// /// Retrieves whether the union's current tag state has value /// "tfa_change_policy_details". /// /// @note Call this method and ensure it returns true before accessing the /// `tfaChangePolicyDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "tfa_change_policy_details". /// - (BOOL)isTfaChangePolicyDetails; /// /// Retrieves whether the union's current tag state has value /// "tfa_remove_exception_details". /// /// @note Call this method and ensure it returns true before accessing the /// `tfaRemoveExceptionDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "tfa_remove_exception_details". /// - (BOOL)isTfaRemoveExceptionDetails; /// /// Retrieves whether the union's current tag state has value /// "two_account_change_policy_details". /// /// @note Call this method and ensure it returns true before accessing the /// `twoAccountChangePolicyDetails` property, otherwise a runtime exception will /// be thrown. /// /// @return Whether the union's current tag state has value /// "two_account_change_policy_details". /// - (BOOL)isTwoAccountChangePolicyDetails; /// /// Retrieves whether the union's current tag state has value /// "viewer_info_policy_changed_details". /// /// @note Call this method and ensure it returns true before accessing the /// `viewerInfoPolicyChangedDetails` property, otherwise a runtime exception /// will be thrown. /// /// @return Whether the union's current tag state has value /// "viewer_info_policy_changed_details". /// - (BOOL)isViewerInfoPolicyChangedDetails; /// /// Retrieves whether the union's current tag state has value /// "watermarking_policy_changed_details". /// /// @note Call this method and ensure it returns true before accessing the /// `watermarkingPolicyChangedDetails` property, otherwise a runtime exception /// will be thrown. /// /// @return Whether the union's current tag state has value /// "watermarking_policy_changed_details". /// - (BOOL)isWatermarkingPolicyChangedDetails; /// /// Retrieves whether the union's current tag state has value /// "web_sessions_change_active_session_limit_details". /// /// @note Call this method and ensure it returns true before accessing the /// `webSessionsChangeActiveSessionLimitDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value /// "web_sessions_change_active_session_limit_details". /// - (BOOL)isWebSessionsChangeActiveSessionLimitDetails; /// /// Retrieves whether the union's current tag state has value /// "web_sessions_change_fixed_length_policy_details". /// /// @note Call this method and ensure it returns true before accessing the /// `webSessionsChangeFixedLengthPolicyDetails` 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". /// - (BOOL)isWebSessionsChangeFixedLengthPolicyDetails; /// /// Retrieves whether the union's current tag state has value /// "web_sessions_change_idle_length_policy_details". /// /// @note Call this method and ensure it returns true before accessing the /// `webSessionsChangeIdleLengthPolicyDetails` 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". /// - (BOOL)isWebSessionsChangeIdleLengthPolicyDetails; /// /// Retrieves whether the union's current tag state has value /// "data_residency_migration_request_successful_details". /// /// @note Call this method and ensure it returns true before accessing the /// `dataResidencyMigrationRequestSuccessfulDetails` property, otherwise a /// runtime exception will be thrown. /// /// @return Whether the union's current tag state has value /// "data_residency_migration_request_successful_details". /// - (BOOL)isDataResidencyMigrationRequestSuccessfulDetails; /// /// Retrieves whether the union's current tag state has value /// "data_residency_migration_request_unsuccessful_details". /// /// @note Call this method and ensure it returns true before accessing the /// `dataResidencyMigrationRequestUnsuccessfulDetails` property, otherwise a /// runtime exception will be thrown. /// /// @return Whether the union's current tag state has value /// "data_residency_migration_request_unsuccessful_details". /// - (BOOL)isDataResidencyMigrationRequestUnsuccessfulDetails; /// /// Retrieves whether the union's current tag state has value /// "team_merge_from_details". /// /// @note Call this method and ensure it returns true before accessing the /// `teamMergeFromDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "team_merge_from_details". /// - (BOOL)isTeamMergeFromDetails; /// /// Retrieves whether the union's current tag state has value /// "team_merge_to_details". /// /// @note Call this method and ensure it returns true before accessing the /// `teamMergeToDetails` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value /// "team_merge_to_details". /// - (BOOL)isTeamMergeToDetails; /// /// Retrieves whether the union's current tag state has value /// "team_profile_add_background_details". /// /// @note Call this method and ensure it returns true before accessing the /// `teamProfileAddBackgroundDetails` property, otherwise a runtime exception /// will be thrown. /// /// @return Whether the union's current tag state has value /// "team_profile_add_background_details". /// - (BOOL)isTeamProfileAddBackgroundDetails; /// /// Retrieves whether the union's current tag state has value /// "team_profile_add_logo_details". /// /// @note Call this method and ensure it returns true before accessing the /// `teamProfileAddLogoDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "team_profile_add_logo_details". /// - (BOOL)isTeamProfileAddLogoDetails; /// /// Retrieves whether the union's current tag state has value /// "team_profile_change_background_details". /// /// @note Call this method and ensure it returns true before accessing the /// `teamProfileChangeBackgroundDetails` property, otherwise a runtime exception /// will be thrown. /// /// @return Whether the union's current tag state has value /// "team_profile_change_background_details". /// - (BOOL)isTeamProfileChangeBackgroundDetails; /// /// Retrieves whether the union's current tag state has value /// "team_profile_change_default_language_details". /// /// @note Call this method and ensure it returns true before accessing the /// `teamProfileChangeDefaultLanguageDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value /// "team_profile_change_default_language_details". /// - (BOOL)isTeamProfileChangeDefaultLanguageDetails; /// /// Retrieves whether the union's current tag state has value /// "team_profile_change_logo_details". /// /// @note Call this method and ensure it returns true before accessing the /// `teamProfileChangeLogoDetails` property, otherwise a runtime exception will /// be thrown. /// /// @return Whether the union's current tag state has value /// "team_profile_change_logo_details". /// - (BOOL)isTeamProfileChangeLogoDetails; /// /// Retrieves whether the union's current tag state has value /// "team_profile_change_name_details". /// /// @note Call this method and ensure it returns true before accessing the /// `teamProfileChangeNameDetails` property, otherwise a runtime exception will /// be thrown. /// /// @return Whether the union's current tag state has value /// "team_profile_change_name_details". /// - (BOOL)isTeamProfileChangeNameDetails; /// /// Retrieves whether the union's current tag state has value /// "team_profile_remove_background_details". /// /// @note Call this method and ensure it returns true before accessing the /// `teamProfileRemoveBackgroundDetails` property, otherwise a runtime exception /// will be thrown. /// /// @return Whether the union's current tag state has value /// "team_profile_remove_background_details". /// - (BOOL)isTeamProfileRemoveBackgroundDetails; /// /// Retrieves whether the union's current tag state has value /// "team_profile_remove_logo_details". /// /// @note Call this method and ensure it returns true before accessing the /// `teamProfileRemoveLogoDetails` property, otherwise a runtime exception will /// be thrown. /// /// @return Whether the union's current tag state has value /// "team_profile_remove_logo_details". /// - (BOOL)isTeamProfileRemoveLogoDetails; /// /// Retrieves whether the union's current tag state has value /// "tfa_add_backup_phone_details". /// /// @note Call this method and ensure it returns true before accessing the /// `tfaAddBackupPhoneDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "tfa_add_backup_phone_details". /// - (BOOL)isTfaAddBackupPhoneDetails; /// /// Retrieves whether the union's current tag state has value /// "tfa_add_security_key_details". /// /// @note Call this method and ensure it returns true before accessing the /// `tfaAddSecurityKeyDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "tfa_add_security_key_details". /// - (BOOL)isTfaAddSecurityKeyDetails; /// /// Retrieves whether the union's current tag state has value /// "tfa_change_backup_phone_details". /// /// @note Call this method and ensure it returns true before accessing the /// `tfaChangeBackupPhoneDetails` property, otherwise a runtime exception will /// be thrown. /// /// @return Whether the union's current tag state has value /// "tfa_change_backup_phone_details". /// - (BOOL)isTfaChangeBackupPhoneDetails; /// /// Retrieves whether the union's current tag state has value /// "tfa_change_status_details". /// /// @note Call this method and ensure it returns true before accessing the /// `tfaChangeStatusDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value /// "tfa_change_status_details". /// - (BOOL)isTfaChangeStatusDetails; /// /// Retrieves whether the union's current tag state has value /// "tfa_remove_backup_phone_details". /// /// @note Call this method and ensure it returns true before accessing the /// `tfaRemoveBackupPhoneDetails` property, otherwise a runtime exception will /// be thrown. /// /// @return Whether the union's current tag state has value /// "tfa_remove_backup_phone_details". /// - (BOOL)isTfaRemoveBackupPhoneDetails; /// /// Retrieves whether the union's current tag state has value /// "tfa_remove_security_key_details". /// /// @note Call this method and ensure it returns true before accessing the /// `tfaRemoveSecurityKeyDetails` property, otherwise a runtime exception will /// be thrown. /// /// @return Whether the union's current tag state has value /// "tfa_remove_security_key_details". /// - (BOOL)isTfaRemoveSecurityKeyDetails; /// /// Retrieves whether the union's current tag state has value /// "tfa_reset_details". /// /// @note Call this method and ensure it returns true before accessing the /// `tfaResetDetails` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value "tfa_reset_details". /// - (BOOL)isTfaResetDetails; /// /// Retrieves whether the union's current tag state has value /// "changed_enterprise_admin_role_details". /// /// @note Call this method and ensure it returns true before accessing the /// `changedEnterpriseAdminRoleDetails` property, otherwise a runtime exception /// will be thrown. /// /// @return Whether the union's current tag state has value /// "changed_enterprise_admin_role_details". /// - (BOOL)isChangedEnterpriseAdminRoleDetails; /// /// Retrieves whether the union's current tag state has value /// "changed_enterprise_connected_team_status_details". /// /// @note Call this method and ensure it returns true before accessing the /// `changedEnterpriseConnectedTeamStatusDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value /// "changed_enterprise_connected_team_status_details". /// - (BOOL)isChangedEnterpriseConnectedTeamStatusDetails; /// /// Retrieves whether the union's current tag state has value /// "ended_enterprise_admin_session_details". /// /// @note Call this method and ensure it returns true before accessing the /// `endedEnterpriseAdminSessionDetails` property, otherwise a runtime exception /// will be thrown. /// /// @return Whether the union's current tag state has value /// "ended_enterprise_admin_session_details". /// - (BOOL)isEndedEnterpriseAdminSessionDetails; /// /// Retrieves whether the union's current tag state has value /// "ended_enterprise_admin_session_deprecated_details". /// /// @note Call this method and ensure it returns true before accessing the /// `endedEnterpriseAdminSessionDeprecatedDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value /// "ended_enterprise_admin_session_deprecated_details". /// - (BOOL)isEndedEnterpriseAdminSessionDeprecatedDetails; /// /// Retrieves whether the union's current tag state has value /// "enterprise_settings_locking_details". /// /// @note Call this method and ensure it returns true before accessing the /// `enterpriseSettingsLockingDetails` property, otherwise a runtime exception /// will be thrown. /// /// @return Whether the union's current tag state has value /// "enterprise_settings_locking_details". /// - (BOOL)isEnterpriseSettingsLockingDetails; /// /// Retrieves whether the union's current tag state has value /// "guest_admin_change_status_details". /// /// @note Call this method and ensure it returns true before accessing the /// `guestAdminChangeStatusDetails` property, otherwise a runtime exception will /// be thrown. /// /// @return Whether the union's current tag state has value /// "guest_admin_change_status_details". /// - (BOOL)isGuestAdminChangeStatusDetails; /// /// Retrieves whether the union's current tag state has value /// "started_enterprise_admin_session_details". /// /// @note Call this method and ensure it returns true before accessing the /// `startedEnterpriseAdminSessionDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value /// "started_enterprise_admin_session_details". /// - (BOOL)isStartedEnterpriseAdminSessionDetails; /// /// Retrieves whether the union's current tag state has value /// "team_merge_request_accepted_details". /// /// @note Call this method and ensure it returns true before accessing the /// `teamMergeRequestAcceptedDetails` property, otherwise a runtime exception /// will be thrown. /// /// @return Whether the union's current tag state has value /// "team_merge_request_accepted_details". /// - (BOOL)isTeamMergeRequestAcceptedDetails; /// /// Retrieves whether the union's current tag state has value /// "team_merge_request_accepted_shown_to_primary_team_details". /// /// @note Call this method and ensure it returns true before accessing the /// `teamMergeRequestAcceptedShownToPrimaryTeamDetails` property, otherwise a /// runtime exception will be thrown. /// /// @return Whether the union's current tag state has value /// "team_merge_request_accepted_shown_to_primary_team_details". /// - (BOOL)isTeamMergeRequestAcceptedShownToPrimaryTeamDetails; /// /// Retrieves whether the union's current tag state has value /// "team_merge_request_accepted_shown_to_secondary_team_details". /// /// @note Call this method and ensure it returns true before accessing the /// `teamMergeRequestAcceptedShownToSecondaryTeamDetails` property, otherwise a /// runtime exception will be thrown. /// /// @return Whether the union's current tag state has value /// "team_merge_request_accepted_shown_to_secondary_team_details". /// - (BOOL)isTeamMergeRequestAcceptedShownToSecondaryTeamDetails; /// /// Retrieves whether the union's current tag state has value /// "team_merge_request_auto_canceled_details". /// /// @note Call this method and ensure it returns true before accessing the /// `teamMergeRequestAutoCanceledDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value /// "team_merge_request_auto_canceled_details". /// - (BOOL)isTeamMergeRequestAutoCanceledDetails; /// /// Retrieves whether the union's current tag state has value /// "team_merge_request_canceled_details". /// /// @note Call this method and ensure it returns true before accessing the /// `teamMergeRequestCanceledDetails` property, otherwise a runtime exception /// will be thrown. /// /// @return Whether the union's current tag state has value /// "team_merge_request_canceled_details". /// - (BOOL)isTeamMergeRequestCanceledDetails; /// /// Retrieves whether the union's current tag state has value /// "team_merge_request_canceled_shown_to_primary_team_details". /// /// @note Call this method and ensure it returns true before accessing the /// `teamMergeRequestCanceledShownToPrimaryTeamDetails` property, otherwise a /// runtime exception will be thrown. /// /// @return Whether the union's current tag state has value /// "team_merge_request_canceled_shown_to_primary_team_details". /// - (BOOL)isTeamMergeRequestCanceledShownToPrimaryTeamDetails; /// /// Retrieves whether the union's current tag state has value /// "team_merge_request_canceled_shown_to_secondary_team_details". /// /// @note Call this method and ensure it returns true before accessing the /// `teamMergeRequestCanceledShownToSecondaryTeamDetails` property, otherwise a /// runtime exception will be thrown. /// /// @return Whether the union's current tag state has value /// "team_merge_request_canceled_shown_to_secondary_team_details". /// - (BOOL)isTeamMergeRequestCanceledShownToSecondaryTeamDetails; /// /// Retrieves whether the union's current tag state has value /// "team_merge_request_expired_details". /// /// @note Call this method and ensure it returns true before accessing the /// `teamMergeRequestExpiredDetails` property, otherwise a runtime exception /// will be thrown. /// /// @return Whether the union's current tag state has value /// "team_merge_request_expired_details". /// - (BOOL)isTeamMergeRequestExpiredDetails; /// /// Retrieves whether the union's current tag state has value /// "team_merge_request_expired_shown_to_primary_team_details". /// /// @note Call this method and ensure it returns true before accessing the /// `teamMergeRequestExpiredShownToPrimaryTeamDetails` property, otherwise a /// runtime exception will be thrown. /// /// @return Whether the union's current tag state has value /// "team_merge_request_expired_shown_to_primary_team_details". /// - (BOOL)isTeamMergeRequestExpiredShownToPrimaryTeamDetails; /// /// Retrieves whether the union's current tag state has value /// "team_merge_request_expired_shown_to_secondary_team_details". /// /// @note Call this method and ensure it returns true before accessing the /// `teamMergeRequestExpiredShownToSecondaryTeamDetails` property, otherwise a /// runtime exception will be thrown. /// /// @return Whether the union's current tag state has value /// "team_merge_request_expired_shown_to_secondary_team_details". /// - (BOOL)isTeamMergeRequestExpiredShownToSecondaryTeamDetails; /// /// Retrieves whether the union's current tag state has value /// "team_merge_request_rejected_shown_to_primary_team_details". /// /// @note Call this method and ensure it returns true before accessing the /// `teamMergeRequestRejectedShownToPrimaryTeamDetails` property, otherwise a /// runtime exception will be thrown. /// /// @return Whether the union's current tag state has value /// "team_merge_request_rejected_shown_to_primary_team_details". /// - (BOOL)isTeamMergeRequestRejectedShownToPrimaryTeamDetails; /// /// Retrieves whether the union's current tag state has value /// "team_merge_request_rejected_shown_to_secondary_team_details". /// /// @note Call this method and ensure it returns true before accessing the /// `teamMergeRequestRejectedShownToSecondaryTeamDetails` property, otherwise a /// runtime exception will be thrown. /// /// @return Whether the union's current tag state has value /// "team_merge_request_rejected_shown_to_secondary_team_details". /// - (BOOL)isTeamMergeRequestRejectedShownToSecondaryTeamDetails; /// /// Retrieves whether the union's current tag state has value /// "team_merge_request_reminder_details". /// /// @note Call this method and ensure it returns true before accessing the /// `teamMergeRequestReminderDetails` property, otherwise a runtime exception /// will be thrown. /// /// @return Whether the union's current tag state has value /// "team_merge_request_reminder_details". /// - (BOOL)isTeamMergeRequestReminderDetails; /// /// Retrieves whether the union's current tag state has value /// "team_merge_request_reminder_shown_to_primary_team_details". /// /// @note Call this method and ensure it returns true before accessing the /// `teamMergeRequestReminderShownToPrimaryTeamDetails` property, otherwise a /// runtime exception will be thrown. /// /// @return Whether the union's current tag state has value /// "team_merge_request_reminder_shown_to_primary_team_details". /// - (BOOL)isTeamMergeRequestReminderShownToPrimaryTeamDetails; /// /// Retrieves whether the union's current tag state has value /// "team_merge_request_reminder_shown_to_secondary_team_details". /// /// @note Call this method and ensure it returns true before accessing the /// `teamMergeRequestReminderShownToSecondaryTeamDetails` property, otherwise a /// runtime exception will be thrown. /// /// @return Whether the union's current tag state has value /// "team_merge_request_reminder_shown_to_secondary_team_details". /// - (BOOL)isTeamMergeRequestReminderShownToSecondaryTeamDetails; /// /// Retrieves whether the union's current tag state has value /// "team_merge_request_revoked_details". /// /// @note Call this method and ensure it returns true before accessing the /// `teamMergeRequestRevokedDetails` property, otherwise a runtime exception /// will be thrown. /// /// @return Whether the union's current tag state has value /// "team_merge_request_revoked_details". /// - (BOOL)isTeamMergeRequestRevokedDetails; /// /// Retrieves whether the union's current tag state has value /// "team_merge_request_sent_shown_to_primary_team_details". /// /// @note Call this method and ensure it returns true before accessing the /// `teamMergeRequestSentShownToPrimaryTeamDetails` property, otherwise a /// runtime exception will be thrown. /// /// @return Whether the union's current tag state has value /// "team_merge_request_sent_shown_to_primary_team_details". /// - (BOOL)isTeamMergeRequestSentShownToPrimaryTeamDetails; /// /// Retrieves whether the union's current tag state has value /// "team_merge_request_sent_shown_to_secondary_team_details". /// /// @note Call this method and ensure it returns true before accessing the /// `teamMergeRequestSentShownToSecondaryTeamDetails` property, otherwise a /// runtime exception will be thrown. /// /// @return Whether the union's current tag state has value /// "team_merge_request_sent_shown_to_secondary_team_details". /// - (BOOL)isTeamMergeRequestSentShownToSecondaryTeamDetails; /// /// Retrieves whether the union's current tag state has value "missing_details". /// /// @note Call this method and ensure it returns true before accessing the /// `missingDetails` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value "missing_details". /// - (BOOL)isMissingDetails; /// /// 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 `DBTEAMLOGEventDetails` union. /// @interface DBTEAMLOGEventDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGEventDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGEventDetails` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGEventDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGEventDetails *)instance; /// /// Deserializes `DBTEAMLOGEventDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGEventDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGEventDetails` object. /// + (DBTEAMLOGEventDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEventType.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #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 #pragma mark - API Object /// /// The `EventType` union. /// /// 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 /// objects. /// @interface DBTEAMLOGEventType : NSObject #pragma mark - Instance fields /// The `DBTEAMLOGEventTypeTag` enum type represents the possible tag states /// with which the `DBTEAMLOGEventType` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGEventTypeTag){ /// (admin_alerting) Changed an alert state DBTEAMLOGEventTypeAdminAlertingAlertStateChanged, /// (admin_alerting) Changed an alert setting DBTEAMLOGEventTypeAdminAlertingChangedAlertConfig, /// (admin_alerting) Triggered security alert DBTEAMLOGEventTypeAdminAlertingTriggeredAlert, /// (admin_alerting) Completed ransomware restore process DBTEAMLOGEventTypeRansomwareRestoreProcessCompleted, /// (admin_alerting) Started ransomware restore process DBTEAMLOGEventTypeRansomwareRestoreProcessStarted, /// (apps) Failed to connect app for member DBTEAMLOGEventTypeAppBlockedByPermissions, /// (apps) Linked app for team DBTEAMLOGEventTypeAppLinkTeam, /// (apps) Linked app for member DBTEAMLOGEventTypeAppLinkUser, /// (apps) Unlinked app for team DBTEAMLOGEventTypeAppUnlinkTeam, /// (apps) Unlinked app for member DBTEAMLOGEventTypeAppUnlinkUser, /// (apps) Connected integration for member DBTEAMLOGEventTypeIntegrationConnected, /// (apps) Disconnected integration for member DBTEAMLOGEventTypeIntegrationDisconnected, /// (comments) Added file comment DBTEAMLOGEventTypeFileAddComment, /// (comments) Subscribed to or unsubscribed from comment notifications for /// file DBTEAMLOGEventTypeFileChangeCommentSubscription, /// (comments) Deleted file comment DBTEAMLOGEventTypeFileDeleteComment, /// (comments) Edited file comment DBTEAMLOGEventTypeFileEditComment, /// (comments) Liked file comment (deprecated, no longer logged) DBTEAMLOGEventTypeFileLikeComment, /// (comments) Resolved file comment DBTEAMLOGEventTypeFileResolveComment, /// (comments) Unliked file comment (deprecated, no longer logged) DBTEAMLOGEventTypeFileUnlikeComment, /// (comments) Unresolved file comment DBTEAMLOGEventTypeFileUnresolveComment, /// (data_governance) Added folders to policy DBTEAMLOGEventTypeGovernancePolicyAddFolders, /// (data_governance) Couldn't add a folder to a policy DBTEAMLOGEventTypeGovernancePolicyAddFolderFailed, /// (data_governance) Content disposed DBTEAMLOGEventTypeGovernancePolicyContentDisposed, /// (data_governance) Activated a new policy DBTEAMLOGEventTypeGovernancePolicyCreate, /// (data_governance) Deleted a policy DBTEAMLOGEventTypeGovernancePolicyDelete, /// (data_governance) Edited policy DBTEAMLOGEventTypeGovernancePolicyEditDetails, /// (data_governance) Changed policy duration DBTEAMLOGEventTypeGovernancePolicyEditDuration, /// (data_governance) Created a policy download DBTEAMLOGEventTypeGovernancePolicyExportCreated, /// (data_governance) Removed a policy download DBTEAMLOGEventTypeGovernancePolicyExportRemoved, /// (data_governance) Removed folders from policy DBTEAMLOGEventTypeGovernancePolicyRemoveFolders, /// (data_governance) Created a summary report for a policy DBTEAMLOGEventTypeGovernancePolicyReportCreated, /// (data_governance) Downloaded content from a policy DBTEAMLOGEventTypeGovernancePolicyZipPartDownloaded, /// (data_governance) Activated a hold DBTEAMLOGEventTypeLegalHoldsActivateAHold, /// (data_governance) Added members to a hold DBTEAMLOGEventTypeLegalHoldsAddMembers, /// (data_governance) Edited details for a hold DBTEAMLOGEventTypeLegalHoldsChangeHoldDetails, /// (data_governance) Renamed a hold DBTEAMLOGEventTypeLegalHoldsChangeHoldName, /// (data_governance) Exported hold DBTEAMLOGEventTypeLegalHoldsExportAHold, /// (data_governance) Canceled export for a hold DBTEAMLOGEventTypeLegalHoldsExportCancelled, /// (data_governance) Downloaded export for a hold DBTEAMLOGEventTypeLegalHoldsExportDownloaded, /// (data_governance) Removed export for a hold DBTEAMLOGEventTypeLegalHoldsExportRemoved, /// (data_governance) Released a hold DBTEAMLOGEventTypeLegalHoldsReleaseAHold, /// (data_governance) Removed members from a hold DBTEAMLOGEventTypeLegalHoldsRemoveMembers, /// (data_governance) Created a summary report for a hold DBTEAMLOGEventTypeLegalHoldsReportAHold, /// (devices) Changed IP address associated with active desktop session DBTEAMLOGEventTypeDeviceChangeIpDesktop, /// (devices) Changed IP address associated with active mobile session DBTEAMLOGEventTypeDeviceChangeIpMobile, /// (devices) Changed IP address associated with active web session DBTEAMLOGEventTypeDeviceChangeIpWeb, /// (devices) Failed to delete all files from unlinked device DBTEAMLOGEventTypeDeviceDeleteOnUnlinkFail, /// (devices) Deleted all files from unlinked device DBTEAMLOGEventTypeDeviceDeleteOnUnlinkSuccess, /// (devices) Failed to link device DBTEAMLOGEventTypeDeviceLinkFail, /// (devices) Linked device DBTEAMLOGEventTypeDeviceLinkSuccess, /// (devices) Disabled device management (deprecated, no longer logged) DBTEAMLOGEventTypeDeviceManagementDisabled, /// (devices) Enabled device management (deprecated, no longer logged) DBTEAMLOGEventTypeDeviceManagementEnabled, /// (devices) Enabled/disabled backup for computer DBTEAMLOGEventTypeDeviceSyncBackupStatusChanged, /// (devices) Disconnected device DBTEAMLOGEventTypeDeviceUnlink, /// (devices) Exported passwords DBTEAMLOGEventTypeDropboxPasswordsExported, /// (devices) Enrolled new Dropbox Passwords device DBTEAMLOGEventTypeDropboxPasswordsNewDeviceEnrolled, /// (devices) Refreshed auth token used for setting up EMM DBTEAMLOGEventTypeEmmRefreshAuthToken, /// (devices) Checked external drive backup eligibility status DBTEAMLOGEventTypeExternalDriveBackupEligibilityStatusChecked, /// (devices) Modified external drive backup DBTEAMLOGEventTypeExternalDriveBackupStatusChanged, /// (domains) Granted/revoked option to enable account capture on team /// domains DBTEAMLOGEventTypeAccountCaptureChangeAvailability, /// (domains) Account-captured user migrated account to team DBTEAMLOGEventTypeAccountCaptureMigrateAccount, /// (domains) Sent account capture email to all unmanaged members DBTEAMLOGEventTypeAccountCaptureNotificationEmailsSent, /// (domains) Account-captured user changed account email to personal email DBTEAMLOGEventTypeAccountCaptureRelinquishAccount, /// (domains) Disabled domain invites (deprecated, no longer logged) DBTEAMLOGEventTypeDisabledDomainInvites, /// (domains) Approved user's request to join team DBTEAMLOGEventTypeDomainInvitesApproveRequestToJoinTeam, /// (domains) Declined user's request to join team DBTEAMLOGEventTypeDomainInvitesDeclineRequestToJoinTeam, /// (domains) Sent domain invites to existing domain accounts (deprecated, /// no longer logged) DBTEAMLOGEventTypeDomainInvitesEmailExistingUsers, /// (domains) Requested to join team DBTEAMLOGEventTypeDomainInvitesRequestToJoinTeam, /// (domains) Disabled "Automatically invite new users" (deprecated, no /// longer logged) DBTEAMLOGEventTypeDomainInvitesSetInviteNewUserPrefToNo, /// (domains) Enabled "Automatically invite new users" (deprecated, no /// longer logged) DBTEAMLOGEventTypeDomainInvitesSetInviteNewUserPrefToYes, /// (domains) Failed to verify team domain DBTEAMLOGEventTypeDomainVerificationAddDomainFail, /// (domains) Verified team domain DBTEAMLOGEventTypeDomainVerificationAddDomainSuccess, /// (domains) Removed domain from list of verified team domains DBTEAMLOGEventTypeDomainVerificationRemoveDomain, /// (domains) Enabled domain invites (deprecated, no longer logged) DBTEAMLOGEventTypeEnabledDomainInvites, /// (encryption) Canceled team encryption key deletion DBTEAMLOGEventTypeTeamEncryptionKeyCancelKeyDeletion, /// (encryption) Created team encryption key DBTEAMLOGEventTypeTeamEncryptionKeyCreateKey, /// (encryption) Deleted team encryption key DBTEAMLOGEventTypeTeamEncryptionKeyDeleteKey, /// (encryption) Disabled team encryption key DBTEAMLOGEventTypeTeamEncryptionKeyDisableKey, /// (encryption) Enabled team encryption key DBTEAMLOGEventTypeTeamEncryptionKeyEnableKey, /// (encryption) Rotated team encryption key (deprecated, no longer logged) DBTEAMLOGEventTypeTeamEncryptionKeyRotateKey, /// (encryption) Scheduled encryption key deletion DBTEAMLOGEventTypeTeamEncryptionKeyScheduleKeyDeletion, /// (file_operations) Applied naming convention DBTEAMLOGEventTypeApplyNamingConvention, /// (file_operations) Created folders (deprecated, no longer logged) DBTEAMLOGEventTypeCreateFolder, /// (file_operations) Added files and/or folders DBTEAMLOGEventTypeFileAdd, /// (file_operations) Added files and/or folders from automation DBTEAMLOGEventTypeFileAddFromAutomation, /// (file_operations) Copied files and/or folders DBTEAMLOGEventTypeFileCopy, /// (file_operations) Deleted files and/or folders DBTEAMLOGEventTypeFileDelete, /// (file_operations) Downloaded files and/or folders DBTEAMLOGEventTypeFileDownload, /// (file_operations) Edited files DBTEAMLOGEventTypeFileEdit, /// (file_operations) Created copy reference to file/folder DBTEAMLOGEventTypeFileGetCopyReference, /// (file_operations) Locked/unlocked editing for a file DBTEAMLOGEventTypeFileLockingLockStatusChanged, /// (file_operations) Moved files and/or folders DBTEAMLOGEventTypeFileMove, /// (file_operations) Permanently deleted files and/or folders DBTEAMLOGEventTypeFilePermanentlyDelete, /// (file_operations) Previewed files and/or folders DBTEAMLOGEventTypeFilePreview, /// (file_operations) Renamed files and/or folders DBTEAMLOGEventTypeFileRename, /// (file_operations) Restored deleted files and/or folders DBTEAMLOGEventTypeFileRestore, /// (file_operations) Reverted files to previous version DBTEAMLOGEventTypeFileRevert, /// (file_operations) Rolled back file actions DBTEAMLOGEventTypeFileRollbackChanges, /// (file_operations) Saved file/folder using copy reference DBTEAMLOGEventTypeFileSaveCopyReference, /// (file_operations) Updated folder overview DBTEAMLOGEventTypeFolderOverviewDescriptionChanged, /// (file_operations) Pinned item to folder overview DBTEAMLOGEventTypeFolderOverviewItemPinned, /// (file_operations) Unpinned item from folder overview DBTEAMLOGEventTypeFolderOverviewItemUnpinned, /// (file_operations) Added a label DBTEAMLOGEventTypeObjectLabelAdded, /// (file_operations) Removed a label DBTEAMLOGEventTypeObjectLabelRemoved, /// (file_operations) Updated a label's value DBTEAMLOGEventTypeObjectLabelUpdatedValue, /// (file_operations) Organized a folder with multi-file organize DBTEAMLOGEventTypeOrganizeFolderWithTidy, /// (file_operations) Deleted files in Replay DBTEAMLOGEventTypeReplayFileDelete, /// (file_operations) Rewound a folder DBTEAMLOGEventTypeRewindFolder, /// (file_operations) Reverted naming convention DBTEAMLOGEventTypeUndoNamingConvention, /// (file_operations) Removed multi-file organize DBTEAMLOGEventTypeUndoOrganizeFolderWithTidy, /// (file_operations) Tagged a file DBTEAMLOGEventTypeUserTagsAdded, /// (file_operations) Removed tags DBTEAMLOGEventTypeUserTagsRemoved, /// (file_requests) Received files via Email to Dropbox DBTEAMLOGEventTypeEmailIngestReceiveFile, /// (file_requests) Changed file request DBTEAMLOGEventTypeFileRequestChange, /// (file_requests) Closed file request DBTEAMLOGEventTypeFileRequestClose, /// (file_requests) Created file request DBTEAMLOGEventTypeFileRequestCreate, /// (file_requests) Delete file request DBTEAMLOGEventTypeFileRequestDelete, /// (file_requests) Received files for file request DBTEAMLOGEventTypeFileRequestReceiveFile, /// (groups) Added external ID for group DBTEAMLOGEventTypeGroupAddExternalId, /// (groups) Added team members to group DBTEAMLOGEventTypeGroupAddMember, /// (groups) Changed external ID for group DBTEAMLOGEventTypeGroupChangeExternalId, /// (groups) Changed group management type DBTEAMLOGEventTypeGroupChangeManagementType, /// (groups) Changed manager permissions of group member DBTEAMLOGEventTypeGroupChangeMemberRole, /// (groups) Created group DBTEAMLOGEventTypeGroupCreate, /// (groups) Deleted group DBTEAMLOGEventTypeGroupDelete, /// (groups) Updated group (deprecated, no longer logged) DBTEAMLOGEventTypeGroupDescriptionUpdated, /// (groups) Updated group join policy (deprecated, no longer logged) DBTEAMLOGEventTypeGroupJoinPolicyUpdated, /// (groups) Moved group (deprecated, no longer logged) DBTEAMLOGEventTypeGroupMoved, /// (groups) Removed external ID for group DBTEAMLOGEventTypeGroupRemoveExternalId, /// (groups) Removed team members from group DBTEAMLOGEventTypeGroupRemoveMember, /// (groups) Renamed group DBTEAMLOGEventTypeGroupRename, /// (logins) Unlocked/locked account after failed sign in attempts DBTEAMLOGEventTypeAccountLockOrUnlocked, /// (logins) Failed to sign in via EMM (deprecated, replaced by 'Failed to /// sign in') DBTEAMLOGEventTypeEmmError, /// (logins) Started trusted team admin session DBTEAMLOGEventTypeGuestAdminSignedInViaTrustedTeams, /// (logins) Ended trusted team admin session DBTEAMLOGEventTypeGuestAdminSignedOutViaTrustedTeams, /// (logins) Failed to sign in DBTEAMLOGEventTypeLoginFail, /// (logins) Signed in DBTEAMLOGEventTypeLoginSuccess, /// (logins) Signed out DBTEAMLOGEventTypeLogout, /// (logins) Ended reseller support session DBTEAMLOGEventTypeResellerSupportSessionEnd, /// (logins) Started reseller support session DBTEAMLOGEventTypeResellerSupportSessionStart, /// (logins) Ended admin sign-in-as session DBTEAMLOGEventTypeSignInAsSessionEnd, /// (logins) Started admin sign-in-as session DBTEAMLOGEventTypeSignInAsSessionStart, /// (logins) Failed to sign in via SSO (deprecated, replaced by 'Failed to /// sign in') DBTEAMLOGEventTypeSsoError, /// (members) Invited members to activate Backup DBTEAMLOGEventTypeBackupAdminInvitationSent, /// (members) Opened Backup invite DBTEAMLOGEventTypeBackupInvitationOpened, /// (members) Created team invite link DBTEAMLOGEventTypeCreateTeamInviteLink, /// (members) Deleted team invite link DBTEAMLOGEventTypeDeleteTeamInviteLink, /// (members) Added an external ID for team member DBTEAMLOGEventTypeMemberAddExternalId, /// (members) Added team member name DBTEAMLOGEventTypeMemberAddName, /// (members) Changed team member admin role DBTEAMLOGEventTypeMemberChangeAdminRole, /// (members) Changed team member email DBTEAMLOGEventTypeMemberChangeEmail, /// (members) Changed the external ID for team member DBTEAMLOGEventTypeMemberChangeExternalId, /// (members) Changed membership type (limited/full) of member (deprecated, /// no longer logged) DBTEAMLOGEventTypeMemberChangeMembershipType, /// (members) Changed team member name DBTEAMLOGEventTypeMemberChangeName, /// (members) Changed team member reseller role DBTEAMLOGEventTypeMemberChangeResellerRole, /// (members) Changed member status (invited, joined, suspended, etc.) DBTEAMLOGEventTypeMemberChangeStatus, /// (members) Cleared manually added contacts DBTEAMLOGEventTypeMemberDeleteManualContacts, /// (members) Deleted team member profile photo DBTEAMLOGEventTypeMemberDeleteProfilePhoto, /// (members) Permanently deleted contents of deleted team member account DBTEAMLOGEventTypeMemberPermanentlyDeleteAccountContents, /// (members) Removed the external ID for team member DBTEAMLOGEventTypeMemberRemoveExternalId, /// (members) Set team member profile photo DBTEAMLOGEventTypeMemberSetProfilePhoto, /// (members) Set custom member space limit DBTEAMLOGEventTypeMemberSpaceLimitsAddCustomQuota, /// (members) Changed custom member space limit DBTEAMLOGEventTypeMemberSpaceLimitsChangeCustomQuota, /// (members) Changed space limit status DBTEAMLOGEventTypeMemberSpaceLimitsChangeStatus, /// (members) Removed custom member space limit DBTEAMLOGEventTypeMemberSpaceLimitsRemoveCustomQuota, /// (members) Suggested person to add to team DBTEAMLOGEventTypeMemberSuggest, /// (members) Transferred contents of deleted member account to another /// member DBTEAMLOGEventTypeMemberTransferAccountContents, /// (members) Added pending secondary email DBTEAMLOGEventTypePendingSecondaryEmailAdded, /// (members) Deleted secondary email DBTEAMLOGEventTypeSecondaryEmailDeleted, /// (members) Verified secondary email DBTEAMLOGEventTypeSecondaryEmailVerified, /// (members) Secondary mails policy changed DBTEAMLOGEventTypeSecondaryMailsPolicyChanged, /// (paper) Added Binder page (deprecated, replaced by 'Edited files') DBTEAMLOGEventTypeBinderAddPage, /// (paper) Added Binder section (deprecated, replaced by 'Edited files') DBTEAMLOGEventTypeBinderAddSection, /// (paper) Removed Binder page (deprecated, replaced by 'Edited files') DBTEAMLOGEventTypeBinderRemovePage, /// (paper) Removed Binder section (deprecated, replaced by 'Edited files') DBTEAMLOGEventTypeBinderRemoveSection, /// (paper) Renamed Binder page (deprecated, replaced by 'Edited files') DBTEAMLOGEventTypeBinderRenamePage, /// (paper) Renamed Binder section (deprecated, replaced by 'Edited files') DBTEAMLOGEventTypeBinderRenameSection, /// (paper) Reordered Binder page (deprecated, replaced by 'Edited files') DBTEAMLOGEventTypeBinderReorderPage, /// (paper) Reordered Binder section (deprecated, replaced by 'Edited /// files') DBTEAMLOGEventTypeBinderReorderSection, /// (paper) Added users and/or groups to Paper doc/folder DBTEAMLOGEventTypePaperContentAddMember, /// (paper) Added Paper doc/folder to folder DBTEAMLOGEventTypePaperContentAddToFolder, /// (paper) Archived Paper doc/folder DBTEAMLOGEventTypePaperContentArchive, /// (paper) Created Paper doc/folder DBTEAMLOGEventTypePaperContentCreate, /// (paper) Permanently deleted Paper doc/folder DBTEAMLOGEventTypePaperContentPermanentlyDelete, /// (paper) Removed Paper doc/folder from folder DBTEAMLOGEventTypePaperContentRemoveFromFolder, /// (paper) Removed users and/or groups from Paper doc/folder DBTEAMLOGEventTypePaperContentRemoveMember, /// (paper) Renamed Paper doc/folder DBTEAMLOGEventTypePaperContentRename, /// (paper) Restored archived Paper doc/folder DBTEAMLOGEventTypePaperContentRestore, /// (paper) Added Paper doc comment DBTEAMLOGEventTypePaperDocAddComment, /// (paper) Changed member permissions for Paper doc DBTEAMLOGEventTypePaperDocChangeMemberRole, /// (paper) Changed sharing setting for Paper doc DBTEAMLOGEventTypePaperDocChangeSharingPolicy, /// (paper) Followed/unfollowed Paper doc DBTEAMLOGEventTypePaperDocChangeSubscription, /// (paper) Archived Paper doc (deprecated, no longer logged) DBTEAMLOGEventTypePaperDocDeleted, /// (paper) Deleted Paper doc comment DBTEAMLOGEventTypePaperDocDeleteComment, /// (paper) Downloaded Paper doc in specific format DBTEAMLOGEventTypePaperDocDownload, /// (paper) Edited Paper doc DBTEAMLOGEventTypePaperDocEdit, /// (paper) Edited Paper doc comment DBTEAMLOGEventTypePaperDocEditComment, /// (paper) Followed Paper doc (deprecated, replaced by 'Followed/unfollowed /// Paper doc') DBTEAMLOGEventTypePaperDocFollowed, /// (paper) Mentioned user in Paper doc DBTEAMLOGEventTypePaperDocMention, /// (paper) Transferred ownership of Paper doc DBTEAMLOGEventTypePaperDocOwnershipChanged, /// (paper) Requested access to Paper doc DBTEAMLOGEventTypePaperDocRequestAccess, /// (paper) Resolved Paper doc comment DBTEAMLOGEventTypePaperDocResolveComment, /// (paper) Restored Paper doc to previous version DBTEAMLOGEventTypePaperDocRevert, /// (paper) Shared Paper doc via Slack DBTEAMLOGEventTypePaperDocSlackShare, /// (paper) Shared Paper doc with users and/or groups (deprecated, no longer /// logged) DBTEAMLOGEventTypePaperDocTeamInvite, /// (paper) Deleted Paper doc DBTEAMLOGEventTypePaperDocTrashed, /// (paper) Unresolved Paper doc comment DBTEAMLOGEventTypePaperDocUnresolveComment, /// (paper) Restored Paper doc DBTEAMLOGEventTypePaperDocUntrashed, /// (paper) Viewed Paper doc DBTEAMLOGEventTypePaperDocView, /// (paper) Changed Paper external sharing setting to anyone (deprecated, no /// longer logged) DBTEAMLOGEventTypePaperExternalViewAllow, /// (paper) Changed Paper external sharing setting to default team /// (deprecated, no longer logged) DBTEAMLOGEventTypePaperExternalViewDefaultTeam, /// (paper) Changed Paper external sharing setting to team-only (deprecated, /// no longer logged) DBTEAMLOGEventTypePaperExternalViewForbid, /// (paper) Followed/unfollowed Paper folder DBTEAMLOGEventTypePaperFolderChangeSubscription, /// (paper) Archived Paper folder (deprecated, no longer logged) DBTEAMLOGEventTypePaperFolderDeleted, /// (paper) Followed Paper folder (deprecated, replaced by /// 'Followed/unfollowed Paper folder') DBTEAMLOGEventTypePaperFolderFollowed, /// (paper) Shared Paper folder with users and/or groups (deprecated, no /// longer logged) DBTEAMLOGEventTypePaperFolderTeamInvite, /// (paper) Changed permissions for published doc DBTEAMLOGEventTypePaperPublishedLinkChangePermission, /// (paper) Published doc DBTEAMLOGEventTypePaperPublishedLinkCreate, /// (paper) Unpublished doc DBTEAMLOGEventTypePaperPublishedLinkDisabled, /// (paper) Viewed published doc DBTEAMLOGEventTypePaperPublishedLinkView, /// (passwords) Changed password DBTEAMLOGEventTypePasswordChange, /// (passwords) Reset password DBTEAMLOGEventTypePasswordReset, /// (passwords) Reset all team member passwords DBTEAMLOGEventTypePasswordResetAll, /// (reports) Created Classification report DBTEAMLOGEventTypeClassificationCreateReport, /// (reports) Couldn't create Classification report DBTEAMLOGEventTypeClassificationCreateReportFail, /// (reports) Created EMM-excluded users report DBTEAMLOGEventTypeEmmCreateExceptionsReport, /// (reports) Created EMM mobile app usage report DBTEAMLOGEventTypeEmmCreateUsageReport, /// (reports) Created member data report DBTEAMLOGEventTypeExportMembersReport, /// (reports) Failed to create members data report DBTEAMLOGEventTypeExportMembersReportFail, /// (reports) Created External sharing report DBTEAMLOGEventTypeExternalSharingCreateReport, /// (reports) Couldn't create External sharing report DBTEAMLOGEventTypeExternalSharingReportFailed, /// (reports) Report created: Links created with no expiration DBTEAMLOGEventTypeNoExpirationLinkGenCreateReport, /// (reports) Couldn't create report: Links created with no expiration DBTEAMLOGEventTypeNoExpirationLinkGenReportFailed, /// (reports) Report created: Links created without passwords DBTEAMLOGEventTypeNoPasswordLinkGenCreateReport, /// (reports) Couldn't create report: Links created without passwords DBTEAMLOGEventTypeNoPasswordLinkGenReportFailed, /// (reports) Report created: Views of links without passwords DBTEAMLOGEventTypeNoPasswordLinkViewCreateReport, /// (reports) Couldn't create report: Views of links without passwords DBTEAMLOGEventTypeNoPasswordLinkViewReportFailed, /// (reports) Report created: Views of old links DBTEAMLOGEventTypeOutdatedLinkViewCreateReport, /// (reports) Couldn't create report: Views of old links DBTEAMLOGEventTypeOutdatedLinkViewReportFailed, /// (reports) Exported all team Paper docs DBTEAMLOGEventTypePaperAdminExportStart, /// (reports) Created ransomware report DBTEAMLOGEventTypeRansomwareAlertCreateReport, /// (reports) Couldn't generate ransomware report DBTEAMLOGEventTypeRansomwareAlertCreateReportFailed, /// (reports) Created Smart Sync non-admin devices report DBTEAMLOGEventTypeSmartSyncCreateAdminPrivilegeReport, /// (reports) Created team activity report DBTEAMLOGEventTypeTeamActivityCreateReport, /// (reports) Couldn't generate team activity report DBTEAMLOGEventTypeTeamActivityCreateReportFail, /// (sharing) Shared album DBTEAMLOGEventTypeCollectionShare, /// (sharing) Transfer files added DBTEAMLOGEventTypeFileTransfersFileAdd, /// (sharing) Deleted transfer DBTEAMLOGEventTypeFileTransfersTransferDelete, /// (sharing) Transfer downloaded DBTEAMLOGEventTypeFileTransfersTransferDownload, /// (sharing) Sent transfer DBTEAMLOGEventTypeFileTransfersTransferSend, /// (sharing) Viewed transfer DBTEAMLOGEventTypeFileTransfersTransferView, /// (sharing) Changed Paper doc to invite-only (deprecated, no longer /// logged) DBTEAMLOGEventTypeNoteAclInviteOnly, /// (sharing) Changed Paper doc to link-accessible (deprecated, no longer /// logged) DBTEAMLOGEventTypeNoteAclLink, /// (sharing) Changed Paper doc to link-accessible for team (deprecated, no /// longer logged) DBTEAMLOGEventTypeNoteAclTeamLink, /// (sharing) Shared Paper doc (deprecated, no longer logged) DBTEAMLOGEventTypeNoteShared, /// (sharing) Shared received Paper doc (deprecated, no longer logged) DBTEAMLOGEventTypeNoteShareReceive, /// (sharing) Opened shared Paper doc (deprecated, no longer logged) DBTEAMLOGEventTypeOpenNoteShared, /// (sharing) Created shared link in Replay DBTEAMLOGEventTypeReplayFileSharedLinkCreated, /// (sharing) Modified shared link in Replay DBTEAMLOGEventTypeReplayFileSharedLinkModified, /// (sharing) Added member to Replay Project DBTEAMLOGEventTypeReplayProjectTeamAdd, /// (sharing) Removed member from Replay Project DBTEAMLOGEventTypeReplayProjectTeamDelete, /// (sharing) Added team to shared folder (deprecated, no longer logged) DBTEAMLOGEventTypeSfAddGroup, /// (sharing) Allowed non-collaborators to view links to files in shared /// folder (deprecated, no longer logged) DBTEAMLOGEventTypeSfAllowNonMembersToViewSharedLinks, /// (sharing) Set team members to see warning before sharing folders outside /// team (deprecated, no longer logged) DBTEAMLOGEventTypeSfExternalInviteWarn, /// (sharing) Invited Facebook users to shared folder (deprecated, no longer /// logged) DBTEAMLOGEventTypeSfFbInvite, /// (sharing) Changed Facebook user's role in shared folder (deprecated, no /// longer logged) DBTEAMLOGEventTypeSfFbInviteChangeRole, /// (sharing) Uninvited Facebook user from shared folder (deprecated, no /// longer logged) DBTEAMLOGEventTypeSfFbUninvite, /// (sharing) Invited group to shared folder (deprecated, no longer logged) DBTEAMLOGEventTypeSfInviteGroup, /// (sharing) Granted access to shared folder (deprecated, no longer logged) DBTEAMLOGEventTypeSfTeamGrantAccess, /// (sharing) Invited team members to shared folder (deprecated, replaced by /// 'Invited user to Dropbox and added them to shared file/folder') DBTEAMLOGEventTypeSfTeamInvite, /// (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; /// (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; /// /// 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 "tfa_remove_exception". /// /// 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)initWithTfaRemoveException:(DBTEAMLOGTfaRemoveExceptionType *)tfaRemoveException; /// /// 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 /// /// @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)initWithWatermarkingPolicyChanged:(DBTEAMLOGWatermarkingPolicyChangedType *)watermarkingPolicyChanged; /// /// 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 /// /// @param webSessionsChangeActiveSessionLimit (team_policies) Changed limit on /// active sessions per member /// /// @return An initialized instance. /// - (instancetype)initWithWebSessionsChangeActiveSessionLimit: (DBTEAMLOGWebSessionsChangeActiveSessionLimitType *)webSessionsChangeActiveSessionLimit; /// /// 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 /// /// @param webSessionsChangeFixedLengthPolicy (team_policies) Changed how long /// members can stay signed in to Dropbox.com /// /// @return An initialized instance. /// - (instancetype)initWithWebSessionsChangeFixedLengthPolicy: (DBTEAMLOGWebSessionsChangeFixedLengthPolicyType *)webSessionsChangeFixedLengthPolicy; /// /// 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 /// /// @param webSessionsChangeIdleLengthPolicy (team_policies) Changed how long /// team members can be idle while signed in to Dropbox.com /// /// @return An initialized instance. /// - (instancetype)initWithWebSessionsChangeIdleLengthPolicy: (DBTEAMLOGWebSessionsChangeIdleLengthPolicyType *)webSessionsChangeIdleLengthPolicy; /// /// 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 /// /// @param dataResidencyMigrationRequestSuccessful (team_profile) Requested data /// residency migration for team data /// /// @return An initialized instance. /// - (instancetype)initWithDataResidencyMigrationRequestSuccessful: (DBTEAMLOGDataResidencyMigrationRequestSuccessfulType *)dataResidencyMigrationRequestSuccessful; /// /// 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 /// /// @param dataResidencyMigrationRequestUnsuccessful (team_profile) Request for /// data residency migration for team data has failed /// /// @return An initialized instance. /// - (instancetype)initWithDataResidencyMigrationRequestUnsuccessful: (DBTEAMLOGDataResidencyMigrationRequestUnsuccessfulType *)dataResidencyMigrationRequestUnsuccessful; /// /// 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 /// /// @param teamMergeTo (team_profile) Merged this team into another team /// /// @return An initialized instance. /// - (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 /// "team_profile_change_default_language". /// /// 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)initWithTeamProfileChangeDefaultLanguage: (DBTEAMLOGTeamProfileChangeDefaultLanguageType *)teamProfileChangeDefaultLanguage; /// /// 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 /// /// @param teamProfileChangeLogo (team_profile) Changed team logo displayed on /// shared link headers /// /// @return An initialized instance. /// - (instancetype)initWithTeamProfileChangeLogo:(DBTEAMLOGTeamProfileChangeLogoType *)teamProfileChangeLogo; /// /// 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 /// /// @param teamProfileChangeName (team_profile) Changed team name /// /// @return An initialized instance. /// - (instancetype)initWithTeamProfileChangeName:(DBTEAMLOGTeamProfileChangeNameType *)teamProfileChangeName; /// /// 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 /// /// @param teamProfileRemoveBackground (team_profile) Removed team background /// displayed on shared link headers /// /// @return An initialized instance. /// - (instancetype)initWithTeamProfileRemoveBackground: (DBTEAMLOGTeamProfileRemoveBackgroundType *)teamProfileRemoveBackground; /// /// 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 /// /// @param teamProfileRemoveLogo (team_profile) Removed team logo displayed on /// shared link headers /// /// @return An initialized instance. /// - (instancetype)initWithTeamProfileRemoveLogo:(DBTEAMLOGTeamProfileRemoveLogoType *)teamProfileRemoveLogo; /// /// 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 /// /// @param tfaAddBackupPhone (tfa) Added backup phone for two-step verification /// /// @return An initialized instance. /// - (instancetype)initWithTfaAddBackupPhone:(DBTEAMLOGTfaAddBackupPhoneType *)tfaAddBackupPhone; /// /// 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 /// /// @param tfaAddSecurityKey (tfa) Added security key for two-step verification /// /// @return An initialized instance. /// - (instancetype)initWithTfaAddSecurityKey:(DBTEAMLOGTfaAddSecurityKeyType *)tfaAddSecurityKey; /// /// 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 /// /// @param tfaChangeBackupPhone (tfa) Changed backup phone for two-step /// verification /// /// @return An initialized instance. /// - (instancetype)initWithTfaChangeBackupPhone:(DBTEAMLOGTfaChangeBackupPhoneType *)tfaChangeBackupPhone; /// /// 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 /// /// @param tfaChangeStatus (tfa) Enabled/disabled/changed two-step verification /// setting /// /// @return An initialized instance. /// - (instancetype)initWithTfaChangeStatus:(DBTEAMLOGTfaChangeStatusType *)tfaChangeStatus; /// /// 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; /// /// 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)initWithChangedEnterpriseAdminRole: (DBTEAMLOGChangedEnterpriseAdminRoleType *)changedEnterpriseAdminRole; /// /// 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 /// /// @param changedEnterpriseConnectedTeamStatus (trusted_teams) Changed /// enterprise-connected team status /// /// @return An initialized instance. /// - (instancetype)initWithChangedEnterpriseConnectedTeamStatus: (DBTEAMLOGChangedEnterpriseConnectedTeamStatusType *)changedEnterpriseConnectedTeamStatus; /// /// 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 /// /// @param endedEnterpriseAdminSession (trusted_teams) Ended enterprise admin /// session /// /// @return An initialized instance. /// - (instancetype)initWithEndedEnterpriseAdminSession: (DBTEAMLOGEndedEnterpriseAdminSessionType *)endedEnterpriseAdminSession; /// /// 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') /// /// @param endedEnterpriseAdminSessionDeprecated (trusted_teams) Ended /// enterprise admin session (deprecated, replaced by 'Ended enterprise admin /// session') /// /// @return An initialized instance. /// - (instancetype)initWithEndedEnterpriseAdminSessionDeprecated: (DBTEAMLOGEndedEnterpriseAdminSessionDeprecatedType *)endedEnterpriseAdminSessionDeprecated; /// /// 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 /// /// @param enterpriseSettingsLocking (trusted_teams) Changed who can update a /// setting /// /// @return An initialized instance. /// - (instancetype)initWithEnterpriseSettingsLocking:(DBTEAMLOGEnterpriseSettingsLockingType *)enterpriseSettingsLocking; /// /// 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 /// /// @param guestAdminChangeStatus (trusted_teams) Changed guest team admin /// status /// /// @return An initialized instance. /// - (instancetype)initWithGuestAdminChangeStatus:(DBTEAMLOGGuestAdminChangeStatusType *)guestAdminChangeStatus; /// /// 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 /// /// @param startedEnterpriseAdminSession (trusted_teams) Started enterprise /// admin session /// /// @return An initialized instance. /// - (instancetype)initWithStartedEnterpriseAdminSession: (DBTEAMLOGStartedEnterpriseAdminSessionType *)startedEnterpriseAdminSession; /// /// 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 /// /// @param teamMergeRequestAccepted (trusted_teams) Accepted a team merge /// request /// /// @return An initialized instance. /// - (instancetype)initWithTeamMergeRequestAccepted:(DBTEAMLOGTeamMergeRequestAcceptedType *)teamMergeRequestAccepted; /// /// 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') /// /// @param teamMergeRequestAcceptedShownToPrimaryTeam (trusted_teams) Accepted a /// team merge request (deprecated, replaced by 'Accepted a team merge request') /// /// @return An initialized instance. /// - (instancetype)initWithTeamMergeRequestAcceptedShownToPrimaryTeam: (DBTEAMLOGTeamMergeRequestAcceptedShownToPrimaryTeamType *)teamMergeRequestAcceptedShownToPrimaryTeam; /// /// 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') /// /// @param teamMergeRequestAcceptedShownToSecondaryTeam (trusted_teams) Accepted /// a team merge request (deprecated, replaced by 'Accepted a team merge /// request') /// /// @return An initialized instance. /// - (instancetype)initWithTeamMergeRequestAcceptedShownToSecondaryTeam: (DBTEAMLOGTeamMergeRequestAcceptedShownToSecondaryTeamType *)teamMergeRequestAcceptedShownToSecondaryTeam; /// /// 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 /// /// @param teamMergeRequestAutoCanceled (trusted_teams) Automatically canceled /// team merge request /// /// @return An initialized instance. /// - (instancetype)initWithTeamMergeRequestAutoCanceled: (DBTEAMLOGTeamMergeRequestAutoCanceledType *)teamMergeRequestAutoCanceled; /// /// 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 /// /// @param teamMergeRequestCanceled (trusted_teams) Canceled a team merge /// request /// /// @return An initialized instance. /// - (instancetype)initWithTeamMergeRequestCanceled:(DBTEAMLOGTeamMergeRequestCanceledType *)teamMergeRequestCanceled; /// /// 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') /// /// @param teamMergeRequestCanceledShownToPrimaryTeam (trusted_teams) Canceled a /// team merge request (deprecated, replaced by 'Canceled a team merge request') /// /// @return An initialized instance. /// - (instancetype)initWithTeamMergeRequestCanceledShownToPrimaryTeam: (DBTEAMLOGTeamMergeRequestCanceledShownToPrimaryTeamType *)teamMergeRequestCanceledShownToPrimaryTeam; /// /// 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') /// /// @param teamMergeRequestCanceledShownToSecondaryTeam (trusted_teams) Canceled /// a team merge request (deprecated, replaced by 'Canceled a team merge /// request') /// /// @return An initialized instance. /// - (instancetype)initWithTeamMergeRequestCanceledShownToSecondaryTeam: (DBTEAMLOGTeamMergeRequestCanceledShownToSecondaryTeamType *)teamMergeRequestCanceledShownToSecondaryTeam; /// /// 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 /// /// @param teamMergeRequestExpired (trusted_teams) Team merge request expired /// /// @return An initialized instance. /// - (instancetype)initWithTeamMergeRequestExpired:(DBTEAMLOGTeamMergeRequestExpiredType *)teamMergeRequestExpired; /// /// 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) /// /// @param teamMergeRequestRejectedShownToPrimaryTeam (trusted_teams) Rejected a /// team merge request (deprecated, no longer logged) /// /// @return An initialized instance. /// - (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 /// /// Retrieves whether the union's current tag state has value /// "admin_alerting_alert_state_changed". /// /// @note Call this method and ensure it returns true before accessing the /// `adminAlertingAlertStateChanged` property, otherwise a runtime exception /// will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `adminAlertingChangedAlertConfig` property, otherwise a runtime exception /// will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `adminAlertingTriggeredAlert` property, otherwise a runtime exception will /// be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `ransomwareRestoreProcessCompleted` property, otherwise a runtime exception /// will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `ransomwareRestoreProcessStarted` property, otherwise a runtime exception /// will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `appBlockedByPermissions` property, otherwise a runtime exception will be /// thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `appLinkTeam` property, otherwise a runtime exception will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `appLinkUser` property, otherwise a runtime exception will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `appUnlinkTeam` property, otherwise a runtime exception will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `appUnlinkUser` property, otherwise a runtime exception will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `integrationConnected` property, otherwise a runtime exception will be /// thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `integrationDisconnected` property, otherwise a runtime exception will be /// thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `fileAddComment` property, otherwise a runtime exception will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `fileChangeCommentSubscription` property, otherwise a runtime exception will /// be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `fileDeleteComment` property, otherwise a runtime exception will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `fileEditComment` property, otherwise a runtime exception will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `fileLikeComment` property, otherwise a runtime exception will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `fileResolveComment` property, otherwise a runtime exception will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `fileUnlikeComment` property, otherwise a runtime exception will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `fileUnresolveComment` property, otherwise a runtime exception will be /// thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `governancePolicyAddFolders` property, otherwise a runtime exception will be /// thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `governancePolicyAddFolderFailed` property, otherwise a runtime exception /// will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `governancePolicyContentDisposed` property, otherwise a runtime exception /// will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `governancePolicyCreate` property, otherwise a runtime exception will be /// thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `governancePolicyDelete` property, otherwise a runtime exception will be /// thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `governancePolicyEditDetails` property, otherwise a runtime exception will /// be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `governancePolicyEditDuration` property, otherwise a runtime exception will /// be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `governancePolicyExportCreated` property, otherwise a runtime exception will /// be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `governancePolicyExportRemoved` property, otherwise a runtime exception will /// be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `governancePolicyRemoveFolders` property, otherwise a runtime exception will /// be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `governancePolicyReportCreated` property, otherwise a runtime exception will /// be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `governancePolicyZipPartDownloaded` property, otherwise a runtime exception /// will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `legalHoldsActivateAHold` property, otherwise a runtime exception will be /// thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `legalHoldsAddMembers` property, otherwise a runtime exception will be /// thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `legalHoldsChangeHoldDetails` property, otherwise a runtime exception will /// be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `legalHoldsChangeHoldName` property, otherwise a runtime exception will be /// thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `legalHoldsExportAHold` property, otherwise a runtime exception will be /// thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `legalHoldsExportCancelled` property, otherwise a runtime exception will be /// thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `legalHoldsExportDownloaded` property, otherwise a runtime exception will be /// thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `legalHoldsExportRemoved` property, otherwise a runtime exception will be /// thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `legalHoldsReleaseAHold` property, otherwise a runtime exception will be /// thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `legalHoldsRemoveMembers` property, otherwise a runtime exception will be /// thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `legalHoldsReportAHold` property, otherwise a runtime exception will be /// thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `deviceChangeIpDesktop` property, otherwise a runtime exception will be /// thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `deviceChangeIpMobile` property, otherwise a runtime exception will be /// thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `deviceChangeIpWeb` property, otherwise a runtime exception will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `deviceDeleteOnUnlinkFail` property, otherwise a runtime exception will be /// thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `deviceDeleteOnUnlinkSuccess` property, otherwise a runtime exception will /// be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `deviceLinkFail` property, otherwise a runtime exception will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `deviceLinkSuccess` property, otherwise a runtime exception will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `deviceManagementDisabled` property, otherwise a runtime exception will be /// thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `deviceManagementEnabled` property, otherwise a runtime exception will be /// thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `deviceSyncBackupStatusChanged` property, otherwise a runtime exception will /// be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `deviceUnlink` property, otherwise a runtime exception will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `dropboxPasswordsExported` property, otherwise a runtime exception will be /// thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `dropboxPasswordsNewDeviceEnrolled` property, otherwise a runtime exception /// will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `emmRefreshAuthToken` property, otherwise a runtime exception will be /// thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `externalDriveBackupEligibilityStatusChecked` property, otherwise a runtime /// exception will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `externalDriveBackupStatusChanged` property, otherwise a runtime exception /// will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `accountCaptureChangeAvailability` property, otherwise a runtime exception /// will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `accountCaptureMigrateAccount` property, otherwise a runtime exception will /// be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `accountCaptureNotificationEmailsSent` property, otherwise a runtime /// exception will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `accountCaptureRelinquishAccount` property, otherwise a runtime exception /// will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `disabledDomainInvites` property, otherwise a runtime exception will be /// thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `domainInvitesApproveRequestToJoinTeam` 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". /// - (BOOL)isDomainInvitesApproveRequestToJoinTeam; /// /// Retrieves whether the union's current tag state has value /// "domain_invites_decline_request_to_join_team". /// /// @note Call this method and ensure it returns true before accessing the /// `domainInvitesDeclineRequestToJoinTeam` 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". /// - (BOOL)isDomainInvitesDeclineRequestToJoinTeam; /// /// Retrieves whether the union's current tag state has value /// "domain_invites_email_existing_users". /// /// @note Call this method and ensure it returns true before accessing the /// `domainInvitesEmailExistingUsers` property, otherwise a runtime exception /// will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `domainInvitesRequestToJoinTeam` property, otherwise a runtime exception /// will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `domainInvitesSetInviteNewUserPrefToNo` 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". /// - (BOOL)isDomainInvitesSetInviteNewUserPrefToNo; /// /// Retrieves whether the union's current tag state has value /// "domain_invites_set_invite_new_user_pref_to_yes". /// /// @note Call this method and ensure it returns true before accessing the /// `domainInvitesSetInviteNewUserPrefToYes` 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". /// - (BOOL)isDomainInvitesSetInviteNewUserPrefToYes; /// /// Retrieves whether the union's current tag state has value /// "domain_verification_add_domain_fail". /// /// @note Call this method and ensure it returns true before accessing the /// `domainVerificationAddDomainFail` property, otherwise a runtime exception /// will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `domainVerificationAddDomainSuccess` property, otherwise a runtime exception /// will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `domainVerificationRemoveDomain` property, otherwise a runtime exception /// will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `enabledDomainInvites` property, otherwise a runtime exception will be /// thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `teamEncryptionKeyCancelKeyDeletion` property, otherwise a runtime exception /// will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `teamEncryptionKeyCreateKey` property, otherwise a runtime exception will be /// thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `teamEncryptionKeyDeleteKey` property, otherwise a runtime exception will be /// thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `teamEncryptionKeyDisableKey` property, otherwise a runtime exception will /// be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `teamEncryptionKeyEnableKey` property, otherwise a runtime exception will be /// thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `teamEncryptionKeyRotateKey` property, otherwise a runtime exception will be /// thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `teamEncryptionKeyScheduleKeyDeletion` property, otherwise a runtime /// exception will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `applyNamingConvention` property, otherwise a runtime exception will be /// thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `createFolder` property, otherwise a runtime exception will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `fileAdd` property, otherwise a runtime exception will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `fileAddFromAutomation` property, otherwise a runtime exception will be /// thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `fileCopy` property, otherwise a runtime exception will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `fileDelete` property, otherwise a runtime exception will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `fileDownload` property, otherwise a runtime exception will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `fileEdit` property, otherwise a runtime exception will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `fileGetCopyReference` property, otherwise a runtime exception will be /// thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `fileLockingLockStatusChanged` property, otherwise a runtime exception will /// be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `fileMove` property, otherwise a runtime exception will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `filePermanentlyDelete` property, otherwise a runtime exception will be /// thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `filePreview` property, otherwise a runtime exception will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `fileRename` property, otherwise a runtime exception will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `fileRestore` property, otherwise a runtime exception will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `fileRevert` property, otherwise a runtime exception will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `fileRollbackChanges` property, otherwise a runtime exception will be /// thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `fileSaveCopyReference` property, otherwise a runtime exception will be /// thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `folderOverviewDescriptionChanged` property, otherwise a runtime exception /// will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `folderOverviewItemPinned` property, otherwise a runtime exception will be /// thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `folderOverviewItemUnpinned` property, otherwise a runtime exception will be /// thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `objectLabelAdded` property, otherwise a runtime exception will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `objectLabelRemoved` property, otherwise a runtime exception will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `objectLabelUpdatedValue` property, otherwise a runtime exception will be /// thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `organizeFolderWithTidy` property, otherwise a runtime exception will be /// thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `replayFileDelete` property, otherwise a runtime exception will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `rewindFolder` property, otherwise a runtime exception will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `undoNamingConvention` property, otherwise a runtime exception will be /// thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `undoOrganizeFolderWithTidy` property, otherwise a runtime exception will be /// thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `userTagsAdded` property, otherwise a runtime exception will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `userTagsRemoved` property, otherwise a runtime exception will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `emailIngestReceiveFile` property, otherwise a runtime exception will be /// thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `fileRequestChange` property, otherwise a runtime exception will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `fileRequestClose` property, otherwise a runtime exception will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `fileRequestCreate` property, otherwise a runtime exception will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `fileRequestDelete` property, otherwise a runtime exception will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `fileRequestReceiveFile` property, otherwise a runtime exception will be /// thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `groupAddExternalId` property, otherwise a runtime exception will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `groupAddMember` property, otherwise a runtime exception will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `groupChangeExternalId` property, otherwise a runtime exception will be /// thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `groupChangeManagementType` property, otherwise a runtime exception will be /// thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `groupChangeMemberRole` property, otherwise a runtime exception will be /// thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `groupCreate` property, otherwise a runtime exception will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `groupDelete` property, otherwise a runtime exception will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `groupDescriptionUpdated` property, otherwise a runtime exception will be /// thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `groupJoinPolicyUpdated` property, otherwise a runtime exception will be /// thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `groupMoved` property, otherwise a runtime exception will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `groupRemoveExternalId` property, otherwise a runtime exception will be /// thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `groupRemoveMember` property, otherwise a runtime exception will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `groupRename` property, otherwise a runtime exception will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `accountLockOrUnlocked` property, otherwise a runtime exception will be /// thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `emmError` property, otherwise a runtime exception will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `guestAdminSignedInViaTrustedTeams` property, otherwise a runtime exception /// will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `guestAdminSignedOutViaTrustedTeams` property, otherwise a runtime exception /// will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `loginFail` property, otherwise a runtime exception will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `loginSuccess` property, otherwise a runtime exception will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `logout` property, otherwise a runtime exception will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `resellerSupportSessionEnd` property, otherwise a runtime exception will be /// thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `resellerSupportSessionStart` property, otherwise a runtime exception will /// be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `signInAsSessionEnd` property, otherwise a runtime exception will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `signInAsSessionStart` property, otherwise a runtime exception will be /// thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `ssoError` property, otherwise a runtime exception will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `backupAdminInvitationSent` property, otherwise a runtime exception will be /// thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `backupInvitationOpened` property, otherwise a runtime exception will be /// thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `createTeamInviteLink` property, otherwise a runtime exception will be /// thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `deleteTeamInviteLink` property, otherwise a runtime exception will be /// thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `memberAddExternalId` property, otherwise a runtime exception will be /// thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `memberAddName` property, otherwise a runtime exception will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `memberChangeAdminRole` property, otherwise a runtime exception will be /// thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `memberChangeEmail` property, otherwise a runtime exception will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `memberChangeExternalId` property, otherwise a runtime exception will be /// thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `memberChangeMembershipType` property, otherwise a runtime exception will be /// thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `memberChangeName` property, otherwise a runtime exception will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `memberChangeResellerRole` property, otherwise a runtime exception will be /// thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `memberChangeStatus` property, otherwise a runtime exception will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `memberDeleteManualContacts` property, otherwise a runtime exception will be /// thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `memberDeleteProfilePhoto` property, otherwise a runtime exception will be /// thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `memberPermanentlyDeleteAccountContents` property, otherwise a runtime /// exception will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `memberRemoveExternalId` property, otherwise a runtime exception will be /// thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `memberSetProfilePhoto` property, otherwise a runtime exception will be /// thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `memberSpaceLimitsAddCustomQuota` property, otherwise a runtime exception /// will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `memberSpaceLimitsChangeCustomQuota` property, otherwise a runtime exception /// will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `memberSpaceLimitsChangeStatus` property, otherwise a runtime exception will /// be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `memberSpaceLimitsRemoveCustomQuota` property, otherwise a runtime exception /// will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `memberSuggest` property, otherwise a runtime exception will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `memberTransferAccountContents` property, otherwise a runtime exception will /// be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `pendingSecondaryEmailAdded` property, otherwise a runtime exception will be /// thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `secondaryEmailDeleted` property, otherwise a runtime exception will be /// thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `secondaryEmailVerified` property, otherwise a runtime exception will be /// thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `secondaryMailsPolicyChanged` property, otherwise a runtime exception will /// be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `binderAddPage` property, otherwise a runtime exception will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `binderAddSection` property, otherwise a runtime exception will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `binderRemovePage` property, otherwise a runtime exception will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `binderRemoveSection` property, otherwise a runtime exception will be /// thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `binderRenamePage` property, otherwise a runtime exception will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `binderRenameSection` property, otherwise a runtime exception will be /// thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `binderReorderPage` property, otherwise a runtime exception will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `binderReorderSection` property, otherwise a runtime exception will be /// thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `paperContentAddMember` property, otherwise a runtime exception will be /// thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `paperContentAddToFolder` property, otherwise a runtime exception will be /// thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `paperContentArchive` property, otherwise a runtime exception will be /// thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `paperContentCreate` property, otherwise a runtime exception will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `paperContentPermanentlyDelete` property, otherwise a runtime exception will /// be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `paperContentRemoveFromFolder` property, otherwise a runtime exception will /// be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `paperContentRemoveMember` property, otherwise a runtime exception will be /// thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `paperContentRename` property, otherwise a runtime exception will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `paperContentRestore` property, otherwise a runtime exception will be /// thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `paperDocAddComment` property, otherwise a runtime exception will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `paperDocChangeMemberRole` property, otherwise a runtime exception will be /// thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `paperDocChangeSharingPolicy` property, otherwise a runtime exception will /// be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `paperDocChangeSubscription` property, otherwise a runtime exception will be /// thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `paperDocDeleted` property, otherwise a runtime exception will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `paperDocDeleteComment` property, otherwise a runtime exception will be /// thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `paperDocDownload` property, otherwise a runtime exception will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `paperDocEdit` property, otherwise a runtime exception will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `paperDocEditComment` property, otherwise a runtime exception will be /// thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `paperDocFollowed` property, otherwise a runtime exception will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `paperDocMention` property, otherwise a runtime exception will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `paperDocOwnershipChanged` property, otherwise a runtime exception will be /// thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `paperDocRequestAccess` property, otherwise a runtime exception will be /// thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `paperDocResolveComment` property, otherwise a runtime exception will be /// thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `paperDocRevert` property, otherwise a runtime exception will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `paperDocSlackShare` property, otherwise a runtime exception will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `paperDocTeamInvite` property, otherwise a runtime exception will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `paperDocTrashed` property, otherwise a runtime exception will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `paperDocUnresolveComment` property, otherwise a runtime exception will be /// thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `paperDocUntrashed` property, otherwise a runtime exception will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `paperDocView` property, otherwise a runtime exception will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `paperExternalViewAllow` property, otherwise a runtime exception will be /// thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `paperExternalViewDefaultTeam` property, otherwise a runtime exception will /// be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `paperExternalViewForbid` property, otherwise a runtime exception will be /// thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `paperFolderChangeSubscription` property, otherwise a runtime exception will /// be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `paperFolderDeleted` property, otherwise a runtime exception will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `paperFolderFollowed` property, otherwise a runtime exception will be /// thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `paperFolderTeamInvite` property, otherwise a runtime exception will be /// thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `paperPublishedLinkChangePermission` property, otherwise a runtime exception /// will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `paperPublishedLinkCreate` property, otherwise a runtime exception will be /// thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `paperPublishedLinkDisabled` property, otherwise a runtime exception will be /// thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `paperPublishedLinkView` property, otherwise a runtime exception will be /// thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `passwordChange` property, otherwise a runtime exception will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `passwordReset` property, otherwise a runtime exception will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `passwordResetAll` property, otherwise a runtime exception will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `classificationCreateReport` property, otherwise a runtime exception will be /// thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `classificationCreateReportFail` property, otherwise a runtime exception /// will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `emmCreateExceptionsReport` property, otherwise a runtime exception will be /// thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `emmCreateUsageReport` property, otherwise a runtime exception will be /// thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `exportMembersReport` property, otherwise a runtime exception will be /// thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `exportMembersReportFail` property, otherwise a runtime exception will be /// thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `externalSharingCreateReport` property, otherwise a runtime exception will /// be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `externalSharingReportFailed` property, otherwise a runtime exception will /// be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `noExpirationLinkGenCreateReport` property, otherwise a runtime exception /// will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `noExpirationLinkGenReportFailed` property, otherwise a runtime exception /// will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `noPasswordLinkGenCreateReport` property, otherwise a runtime exception will /// be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `noPasswordLinkGenReportFailed` property, otherwise a runtime exception will /// be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `noPasswordLinkViewCreateReport` property, otherwise a runtime exception /// will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `noPasswordLinkViewReportFailed` property, otherwise a runtime exception /// will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `outdatedLinkViewCreateReport` property, otherwise a runtime exception will /// be thrown. /// /// @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". /// /// @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 /// "outdated_link_view_report_failed". /// - (BOOL)isOutdatedLinkViewReportFailed; /// /// Retrieves whether the union's current tag state has value /// "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 /// "paper_admin_export_start". /// - (BOOL)isPaperAdminExportStart; /// /// Retrieves whether the union's current tag state has value /// "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 /// "ransomware_alert_create_report". /// - (BOOL)isRansomwareAlertCreateReport; /// /// Retrieves whether the union's current tag state has value /// "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 /// "ransomware_alert_create_report_failed". /// - (BOOL)isRansomwareAlertCreateReportFailed; /// /// Retrieves whether the union's current tag state has value /// "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 /// "smart_sync_create_admin_privilege_report". /// - (BOOL)isSmartSyncCreateAdminPrivilegeReport; /// /// Retrieves whether the union's current tag state has value /// "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 /// "team_activity_create_report". /// - (BOOL)isTeamActivityCreateReport; /// /// Retrieves whether the union's current tag state has value /// "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 /// "team_activity_create_report_fail". /// - (BOOL)isTeamActivityCreateReportFail; /// /// Retrieves whether the union's current tag state has value /// "collection_share". /// /// @note Call this method and ensure it returns true before accessing the /// `collectionShare` property, otherwise a runtime exception will be thrown. /// /// @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". /// /// @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 /// "file_transfers_file_add". /// - (BOOL)isFileTransfersFileAdd; /// /// Retrieves whether the union's current tag state has value /// "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 /// "file_transfers_transfer_delete". /// - (BOOL)isFileTransfersTransferDelete; /// /// Retrieves whether the union's current tag state has value /// "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 /// "file_transfers_transfer_download". /// - (BOOL)isFileTransfersTransferDownload; /// /// Retrieves whether the union's current tag state has value /// "file_transfers_transfer_send". /// /// @note Call this method and ensure it returns true before accessing the /// `fileTransfersTransferSend` property, otherwise a runtime exception will be /// thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `fileTransfersTransferView` property, otherwise a runtime exception will be /// thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `noteAclInviteOnly` property, otherwise a runtime exception will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `noteAclLink` property, otherwise a runtime exception will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `noteAclTeamLink` property, otherwise a runtime exception will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `noteShared` property, otherwise a runtime exception will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `noteShareReceive` property, otherwise a runtime exception will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `openNoteShared` property, otherwise a runtime exception will be thrown. /// /// @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". /// /// @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 /// "replay_file_shared_link_created". /// - (BOOL)isReplayFileSharedLinkCreated; /// /// Retrieves whether the union's current tag state has value /// "replay_file_shared_link_modified". /// /// @note Call this method and ensure it returns true before accessing the /// `replayFileSharedLinkModified` property, otherwise a runtime exception will /// be thrown. /// /// @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". /// /// @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 /// "replay_project_team_add". /// - (BOOL)isReplayProjectTeamAdd; /// /// Retrieves whether the union's current tag state has value /// "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 /// "replay_project_team_delete". /// - (BOOL)isReplayProjectTeamDelete; /// /// 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 /// `sfAddGroup` property, otherwise a runtime exception will be thrown. /// /// @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". /// /// @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 /// "sf_allow_non_members_to_view_shared_links". /// - (BOOL)isSfAllowNonMembersToViewSharedLinks; /// /// Retrieves whether the union's current tag state has value /// "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 /// "sf_external_invite_warn". /// - (BOOL)isSfExternalInviteWarn; /// /// Retrieves whether the union's current tag state has value "sf_fb_invite". /// /// @note Call this method and ensure it returns true before accessing the /// `sfFbInvite` property, otherwise a runtime exception will be thrown. /// /// @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". /// /// @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 /// "sf_fb_invite_change_role". /// - (BOOL)isSfFbInviteChangeRole; /// /// Retrieves whether the union's current tag state has value "sf_fb_uninvite". /// /// @note Call this method and ensure it returns true before accessing the /// `sfFbUninvite` property, otherwise a runtime exception will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `sfInviteGroup` property, otherwise a runtime exception will be thrown. /// /// @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". /// /// @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 /// "sf_team_grant_access". /// - (BOOL)isSfTeamGrantAccess; /// /// Retrieves whether the union's current tag state has value "sf_team_invite". /// /// @note Call this method and ensure it returns true before accessing the /// `sfTeamInvite` property, otherwise a runtime exception will be thrown. /// /// @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". /// /// @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 /// "sf_team_invite_change_role". /// - (BOOL)isSfTeamInviteChangeRole; /// /// Retrieves whether the union's current tag state has value "sf_team_join". /// /// @note Call this method and ensure it returns true before accessing the /// `sfTeamJoin` property, otherwise a runtime exception will be thrown. /// /// @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". /// /// @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 /// "sf_team_join_from_oob_link". /// - (BOOL)isSfTeamJoinFromOobLink; /// /// Retrieves whether the union's current tag state has value /// "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 /// "shared_content_add_invitees". /// - (BOOL)isSharedContentAddInvitees; /// /// Retrieves whether the union's current tag state has value /// "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 /// "shared_content_add_link_expiry". /// - (BOOL)isSharedContentAddLinkExpiry; /// /// Retrieves whether the union's current tag state has value /// "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 /// "shared_content_add_link_password". /// - (BOOL)isSharedContentAddLinkPassword; /// /// Retrieves whether the union's current tag state has value /// "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 /// "shared_content_add_member". /// - (BOOL)isSharedContentAddMember; /// /// Retrieves 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 /// `sharedContentChangeDownloadsPolicy` property, otherwise a runtime exception /// will be thrown. /// /// @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". /// /// @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 /// "shared_content_change_invitee_role". /// - (BOOL)isSharedContentChangeInviteeRole; /// /// Retrieves whether the union's current tag state has value /// "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 /// "shared_content_change_link_audience". /// - (BOOL)isSharedContentChangeLinkAudience; /// /// Retrieves whether the union's current tag state has value /// "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 /// "shared_content_change_link_expiry". /// - (BOOL)isSharedContentChangeLinkExpiry; /// /// Retrieves whether the union's current tag state has value /// "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 /// "shared_content_change_link_password". /// - (BOOL)isSharedContentChangeLinkPassword; /// /// Retrieves whether the union's current tag state has value /// "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 /// "shared_content_change_member_role". /// - (BOOL)isSharedContentChangeMemberRole; /// /// Retrieves whether the union's current tag state has value /// "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 /// "shared_content_change_viewer_info_policy". /// - (BOOL)isSharedContentChangeViewerInfoPolicy; /// /// Retrieves whether the union's current tag state has value /// "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 /// "shared_content_claim_invitation". /// - (BOOL)isSharedContentClaimInvitation; /// /// Retrieves whether the union's current tag state has value /// "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 /// "shared_content_copy". /// - (BOOL)isSharedContentCopy; /// /// Retrieves whether the union's current tag state has value /// "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 /// "shared_content_download". /// - (BOOL)isSharedContentDownload; /// /// Retrieves whether the union's current tag state has value /// "shared_content_relinquish_membership". /// /// @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 /// "shared_content_relinquish_membership". /// - (BOOL)isSharedContentRelinquishMembership; /// /// Retrieves whether the union's current tag state has value /// "shared_content_remove_invitees". /// /// @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 /// "shared_content_remove_invitees". /// - (BOOL)isSharedContentRemoveInvitees; /// /// Retrieves whether the union's current tag state has value /// "shared_content_remove_link_expiry". /// /// @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 /// "shared_content_remove_link_expiry". /// - (BOOL)isSharedContentRemoveLinkExpiry; /// /// Retrieves whether the union's current tag state has value /// "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 /// "shared_content_remove_link_password". /// - (BOOL)isSharedContentRemoveLinkPassword; /// /// Retrieves whether the union's current tag state has value /// "shared_content_remove_member". /// /// @note Call this method and ensure it returns true before accessing the /// `sharedContentRemoveMember` property, otherwise a runtime exception will be /// thrown. /// /// @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". /// /// @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 /// "shared_content_request_access". /// - (BOOL)isSharedContentRequestAccess; /// /// Retrieves whether the union's current tag state has value /// "shared_content_restore_invitees". /// /// @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 /// "shared_content_restore_invitees". /// - (BOOL)isSharedContentRestoreInvitees; /// /// Retrieves whether the union's current tag state has value /// "shared_content_restore_member". /// /// @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 /// "shared_content_restore_member". /// - (BOOL)isSharedContentRestoreMember; /// /// Retrieves whether the union's current tag state has value /// "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 /// "shared_content_unshare". /// - (BOOL)isSharedContentUnshare; /// /// Retrieves whether the union's current tag state has value /// "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 /// "shared_content_view". /// - (BOOL)isSharedContentView; /// /// Retrieves whether the union's current tag state has value /// "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 /// "shared_folder_change_link_policy". /// - (BOOL)isSharedFolderChangeLinkPolicy; /// /// Retrieves whether the union's current tag state has value /// "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 /// "shared_folder_change_members_inheritance_policy". /// - (BOOL)isSharedFolderChangeMembersInheritancePolicy; /// /// Retrieves whether the union's current tag state has value /// "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 /// "shared_folder_change_members_management_policy". /// - (BOOL)isSharedFolderChangeMembersManagementPolicy; /// /// Retrieves whether the union's current tag state has value /// "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 /// "shared_folder_change_members_policy". /// - (BOOL)isSharedFolderChangeMembersPolicy; /// /// Retrieves whether the union's current tag state has value /// "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 /// "shared_folder_create". /// - (BOOL)isSharedFolderCreate; /// /// Retrieves whether the union's current tag state has value /// "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 /// "shared_folder_decline_invitation". /// - (BOOL)isSharedFolderDeclineInvitation; /// /// Retrieves whether the union's current tag state has value /// "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 /// "shared_folder_mount". /// - (BOOL)isSharedFolderMount; /// /// Retrieves whether the union's current tag state has value /// "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 /// "shared_folder_nest". /// - (BOOL)isSharedFolderNest; /// /// Retrieves whether the union's current tag state has value /// "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 /// "shared_folder_transfer_ownership". /// - (BOOL)isSharedFolderTransferOwnership; /// /// Retrieves whether the union's current tag state has value /// "shared_folder_unmount". /// /// @note Call this method and ensure it returns true before accessing the /// `sharedFolderUnmount` property, otherwise a runtime exception will be /// thrown. /// /// @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". /// /// @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 /// "shared_link_add_expiry". /// - (BOOL)isSharedLinkAddExpiry; /// /// Retrieves whether the union's current tag state has value /// "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 /// "shared_link_change_expiry". /// - (BOOL)isSharedLinkChangeExpiry; /// /// Retrieves whether the union's current tag state has value /// "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 /// "shared_link_change_visibility". /// - (BOOL)isSharedLinkChangeVisibility; /// /// Retrieves whether the union's current tag state has value /// "shared_link_copy". /// /// @note Call this method and ensure it returns true before accessing the /// `sharedLinkCopy` property, otherwise a runtime exception will be thrown. /// /// @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". /// /// @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)isSharedLinkCreate; /// /// Retrieves whether the union's current tag state has value /// "shared_link_disable". /// /// @note Call this method and ensure it returns true before accessing the /// `sharedLinkDisable` property, otherwise a runtime exception will be thrown. /// /// @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". /// /// @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 /// "shared_link_download". /// - (BOOL)isSharedLinkDownload; /// /// Retrieves whether the union's current tag state has value /// "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 /// "shared_link_remove_expiry". /// - (BOOL)isSharedLinkRemoveExpiry; /// /// Retrieves whether the union's current tag state has value /// "shared_link_settings_add_expiration". /// /// @note Call this method and ensure it returns true before accessing the /// `sharedLinkSettingsAddExpiration` property, otherwise a runtime exception /// will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `sharedLinkSettingsAddPassword` property, otherwise a runtime exception will /// be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `sharedLinkSettingsAllowDownloadDisabled` property, otherwise a runtime /// exception will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `sharedLinkSettingsAllowDownloadEnabled` property, otherwise a runtime /// exception will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `sharedLinkSettingsChangeAudience` property, otherwise a runtime exception /// will be thrown. /// /// @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". /// /// @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 /// "shared_link_settings_change_expiration". /// - (BOOL)isSharedLinkSettingsChangeExpiration; /// /// Retrieves whether the union's current tag state has value /// "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 /// "shared_link_settings_change_password". /// - (BOOL)isSharedLinkSettingsChangePassword; /// /// Retrieves whether the union's current tag state has value /// "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 /// "shared_link_settings_remove_expiration". /// - (BOOL)isSharedLinkSettingsRemoveExpiration; /// /// Retrieves whether the union's current tag state has value /// "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 /// "shared_link_settings_remove_password". /// - (BOOL)isSharedLinkSettingsRemovePassword; /// /// Retrieves whether the union's current tag state has value /// "shared_link_share". /// /// @note Call this method and ensure it returns true before accessing the /// `sharedLinkShare` property, otherwise a runtime exception will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `sharedLinkView` property, otherwise a runtime exception will be thrown. /// /// @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". /// /// @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 /// "shared_note_opened". /// - (BOOL)isSharedNoteOpened; /// /// Retrieves whether the union's current tag state has value /// "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 /// "shmodel_disable_downloads". /// - (BOOL)isShmodelDisableDownloads; /// /// Retrieves whether the union's current tag state has value /// "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 /// "shmodel_enable_downloads". /// - (BOOL)isShmodelEnableDownloads; /// /// Retrieves whether the union's current tag state has value /// "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 /// "shmodel_group_share". /// - (BOOL)isShmodelGroupShare; /// /// Retrieves whether the union's current tag state has value /// "showcase_access_granted". /// /// @note Call this method and ensure it returns true before accessing the /// `showcaseAccessGranted` property, otherwise a runtime exception will be /// thrown. /// /// @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". /// /// @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 /// "showcase_add_member". /// - (BOOL)isShowcaseAddMember; /// /// Retrieves whether the union's current tag state has value /// "showcase_archived". /// /// @note Call this method and ensure it returns true before accessing the /// `showcaseArchived` property, otherwise a runtime exception will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `showcaseCreated` property, otherwise a runtime exception will be thrown. /// /// @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". /// /// @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 /// "showcase_delete_comment". /// - (BOOL)isShowcaseDeleteComment; /// /// Retrieves whether the union's current tag state has value "showcase_edited". /// /// @note Call this method and ensure it returns true before accessing the /// `showcaseEdited` property, otherwise a runtime exception will be thrown. /// /// @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". /// /// @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 /// "showcase_edit_comment". /// - (BOOL)isShowcaseEditComment; /// /// Retrieves whether the union's current tag state has value /// "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 /// "showcase_file_added". /// - (BOOL)isShowcaseFileAdded; /// /// Retrieves whether the union's current tag state has value /// "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 /// "showcase_file_download". /// - (BOOL)isShowcaseFileDownload; /// /// Retrieves whether the union's current tag state has value /// "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 /// "showcase_file_removed". /// - (BOOL)isShowcaseFileRemoved; /// /// Retrieves whether the union's current tag state has value /// "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 /// "showcase_file_view". /// - (BOOL)isShowcaseFileView; /// /// Retrieves whether the union's current tag state has value /// "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 /// "showcase_permanently_deleted". /// - (BOOL)isShowcasePermanentlyDeleted; /// /// Retrieves whether the union's current tag state has value /// "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 /// "showcase_post_comment". /// - (BOOL)isShowcasePostComment; /// /// Retrieves whether the union's current tag state has value /// "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 /// "showcase_remove_member". /// - (BOOL)isShowcaseRemoveMember; /// /// Retrieves whether the union's current tag state has value /// "showcase_renamed". /// /// @note Call this method and ensure it returns true before accessing the /// `showcaseRenamed` property, otherwise a runtime exception will be thrown. /// /// @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". /// /// @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 /// "showcase_request_access". /// - (BOOL)isShowcaseRequestAccess; /// /// Retrieves whether the union's current tag state has value /// "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 /// "showcase_resolve_comment". /// - (BOOL)isShowcaseResolveComment; /// /// Retrieves whether the union's current tag state has value /// "showcase_restored". /// /// @note Call this method and ensure it returns true before accessing the /// `showcaseRestored` property, otherwise a runtime exception will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `showcaseTrashed` property, otherwise a runtime exception will be thrown. /// /// @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". /// /// @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 /// "showcase_trashed_deprecated". /// - (BOOL)isShowcaseTrashedDeprecated; /// /// Retrieves whether the union's current tag state has value /// "showcase_unresolve_comment". /// /// @note Call this method and ensure it returns true before accessing the /// `showcaseUnresolveComment` property, otherwise a runtime exception will be /// thrown. /// /// @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". /// /// @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 /// "showcase_untrashed". /// - (BOOL)isShowcaseUntrashed; /// /// Retrieves whether the union's current tag state has value /// "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 /// "showcase_untrashed_deprecated". /// - (BOOL)isShowcaseUntrashedDeprecated; /// /// Retrieves whether the union's current tag state has value "showcase_view". /// /// @note Call this method and ensure it returns true before accessing the /// `showcaseView` property, otherwise a runtime exception will be thrown. /// /// @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 /// "sso_add_login_url". /// /// @note Call this method and ensure it returns true before accessing the /// `ssoAddLoginUrl` property, otherwise a runtime exception will be thrown. /// /// @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". /// /// @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 /// "sso_add_logout_url". /// - (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 /// "sso_change_login_url". /// /// @note Call this method and ensure it returns true before accessing the /// `ssoChangeLoginUrl` property, otherwise a runtime exception will be thrown. /// /// @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". /// /// @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 /// "sso_change_logout_url". /// - (BOOL)isSsoChangeLogoutUrl; /// /// Retrieves whether the union's current tag state has value /// "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 /// "sso_change_saml_identity_mode". /// - (BOOL)isSsoChangeSamlIdentityMode; /// /// Retrieves whether the union's current tag state has value "sso_remove_cert". /// /// @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)isSsoRemoveCert; /// /// Retrieves whether the union's current tag state has value /// "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 /// "sso_remove_login_url". /// - (BOOL)isSsoRemoveLoginUrl; /// /// Retrieves whether the union's current tag state has value /// "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 /// "sso_remove_logout_url". /// - (BOOL)isSsoRemoveLogoutUrl; /// /// Retrieves whether the union's current tag state has value /// "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 /// "team_folder_change_status". /// - (BOOL)isTeamFolderChangeStatus; /// /// Retrieves whether the union's current tag state has value /// "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 /// "team_folder_create". /// - (BOOL)isTeamFolderCreate; /// /// Retrieves whether the union's current tag state has value /// "team_folder_downgrade". /// /// @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 /// "team_folder_downgrade". /// - (BOOL)isTeamFolderDowngrade; /// /// Retrieves whether the union's current tag state has value /// "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 /// "team_folder_permanently_delete". /// - (BOOL)isTeamFolderPermanentlyDelete; /// /// Retrieves whether the union's current tag state has value /// "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 /// "team_folder_rename". /// - (BOOL)isTeamFolderRename; /// /// Retrieves whether the union's current tag state has value /// "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 /// "team_selective_sync_settings_changed". /// - (BOOL)isTeamSelectiveSyncSettingsChanged; /// /// Retrieves whether the union's current tag state has value /// "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 /// "account_capture_change_policy". /// - (BOOL)isAccountCaptureChangePolicy; /// /// Retrieves whether the union's current tag state has value /// "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 /// "admin_email_reminders_changed". /// - (BOOL)isAdminEmailRemindersChanged; /// /// Retrieves whether the union's current tag state has value /// "allow_download_disabled". /// /// @note Call this method and ensure it returns true before accessing the /// `allowDownloadDisabled` property, otherwise a runtime exception will be /// thrown. /// /// @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". /// /// @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 /// "allow_download_enabled". /// - (BOOL)isAllowDownloadEnabled; /// /// Retrieves whether the union's current tag state has value /// "app_permissions_changed". /// /// @note Call this method and ensure it returns true before accessing the /// `appPermissionsChanged` property, otherwise a runtime exception will be /// thrown. /// /// @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". /// /// @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 /// "camera_uploads_policy_changed". /// - (BOOL)isCameraUploadsPolicyChanged; /// /// Retrieves whether the union's current tag state has value /// "capture_transcript_policy_changed". /// /// @note Call this method and ensure it returns true before accessing the /// `captureTranscriptPolicyChanged` property, otherwise a runtime exception /// will be thrown. /// /// @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". /// /// @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 /// "classification_change_policy". /// - (BOOL)isClassificationChangePolicy; /// /// Retrieves whether the union's current tag state has value /// "computer_backup_policy_changed". /// /// @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 /// "computer_backup_policy_changed". /// - (BOOL)isComputerBackupPolicyChanged; /// /// Retrieves whether the union's current tag state has value /// "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 /// "content_administration_policy_changed". /// - (BOOL)isContentAdministrationPolicyChanged; /// /// Retrieves whether the union's current tag state has value /// "data_placement_restriction_change_policy". /// /// @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 /// "data_placement_restriction_change_policy". /// - (BOOL)isDataPlacementRestrictionChangePolicy; /// /// 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 /// "data_placement_restriction_satisfy_policy". /// - (BOOL)isDataPlacementRestrictionSatisfyPolicy; /// /// Retrieves whether the union's current tag state has value /// "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 /// "device_approvals_add_exception". /// - (BOOL)isDeviceApprovalsAddException; /// /// Retrieves whether the union's current tag state has value /// "device_approvals_change_desktop_policy". /// /// @note Call this method and ensure it returns true before accessing the /// `deviceApprovalsChangeDesktopPolicy` property, otherwise a runtime exception /// will be thrown. /// /// @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". /// /// @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 /// "device_approvals_change_mobile_policy". /// - (BOOL)isDeviceApprovalsChangeMobilePolicy; /// /// Retrieves whether the union's current tag state has value /// "device_approvals_change_overage_action". /// /// @note Call this method and ensure it returns true before accessing the /// `deviceApprovalsChangeOverageAction` property, otherwise a runtime exception /// will be thrown. /// /// @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". /// /// @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 /// "device_approvals_change_unlink_action". /// - (BOOL)isDeviceApprovalsChangeUnlinkAction; /// /// Retrieves whether the union's current tag state has value /// "device_approvals_remove_exception". /// /// @note Call this method and ensure it returns true before accessing the /// `deviceApprovalsRemoveException` property, otherwise a runtime exception /// will be thrown. /// /// @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". /// /// @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 /// "directory_restrictions_add_members". /// - (BOOL)isDirectoryRestrictionsAddMembers; /// /// Retrieves whether the union's current tag state has value /// "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 /// "directory_restrictions_remove_members". /// - (BOOL)isDirectoryRestrictionsRemoveMembers; /// /// Retrieves whether the union's current tag state has value /// "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 /// "dropbox_passwords_policy_changed". /// - (BOOL)isDropboxPasswordsPolicyChanged; /// /// Retrieves whether the union's current tag state has value /// "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 /// "email_ingest_policy_changed". /// - (BOOL)isEmailIngestPolicyChanged; /// /// Retrieves whether the union's current tag state has value /// "emm_add_exception". /// /// @note Call this method and ensure it returns true before accessing the /// `emmAddException` property, otherwise a runtime exception will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `emmChangePolicy` property, otherwise a runtime exception will be thrown. /// /// @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". /// /// @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 /// "emm_remove_exception". /// - (BOOL)isEmmRemoveException; /// /// Retrieves 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 /// `extendedVersionHistoryChangePolicy` property, otherwise a runtime exception /// will be thrown. /// /// @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". /// /// @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 /// "external_drive_backup_policy_changed". /// - (BOOL)isExternalDriveBackupPolicyChanged; /// /// Retrieves 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 /// `fileCommentsChangePolicy` property, otherwise a runtime exception will be /// thrown. /// /// @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". /// /// @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 /// "file_locking_policy_changed". /// - (BOOL)isFileLockingPolicyChanged; /// /// Retrieves whether the union's current tag state has value /// "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 /// "file_provider_migration_policy_changed". /// - (BOOL)isFileProviderMigrationPolicyChanged; /// /// Retrieves whether the union's current tag state has value /// "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 /// "file_requests_change_policy". /// - (BOOL)isFileRequestsChangePolicy; /// /// 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 /// "file_requests_emails_enabled". /// - (BOOL)isFileRequestsEmailsEnabled; /// /// Retrieves whether the union's current tag state has value /// "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 /// "file_requests_emails_restricted_to_team_only". /// - (BOOL)isFileRequestsEmailsRestrictedToTeamOnly; /// /// Retrieves whether the union's current tag state has value /// "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 /// "file_transfers_policy_changed". /// - (BOOL)isFileTransfersPolicyChanged; /// /// Retrieves whether the union's current tag state has value /// "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 /// "folder_link_restriction_policy_changed". /// - (BOOL)isFolderLinkRestrictionPolicyChanged; /// /// Retrieves whether the union's current tag state has value /// "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 /// "google_sso_change_policy". /// - (BOOL)isGoogleSsoChangePolicy; /// /// Retrieves whether the union's current tag state has value /// "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 /// "group_user_management_change_policy". /// - (BOOL)isGroupUserManagementChangePolicy; /// /// Retrieves whether the union's current tag state has value /// "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 /// "integration_policy_changed". /// - (BOOL)isIntegrationPolicyChanged; /// /// Retrieves whether the union's current tag state has value /// "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 /// "invite_acceptance_email_policy_changed". /// - (BOOL)isInviteAcceptanceEmailPolicyChanged; /// /// Retrieves whether the union's current tag state has value /// "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 /// "member_requests_change_policy". /// - (BOOL)isMemberRequestsChangePolicy; /// /// Retrieves whether the union's current tag state has value /// "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 /// "member_send_invite_policy_changed". /// - (BOOL)isMemberSendInvitePolicyChanged; /// /// Retrieves whether the union's current tag state has value /// "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 /// "member_space_limits_add_exception". /// - (BOOL)isMemberSpaceLimitsAddException; /// /// Retrieves whether the union's current tag state has value /// "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 /// "member_space_limits_change_caps_type_policy". /// - (BOOL)isMemberSpaceLimitsChangeCapsTypePolicy; /// /// Retrieves whether the union's current tag state has value /// "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 /// "member_space_limits_change_policy". /// - (BOOL)isMemberSpaceLimitsChangePolicy; /// /// Retrieves whether the union's current tag state has value /// "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 /// "member_space_limits_remove_exception". /// - (BOOL)isMemberSpaceLimitsRemoveException; /// /// Retrieves whether the union's current tag state has value /// "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 /// "member_suggestions_change_policy". /// - (BOOL)isMemberSuggestionsChangePolicy; /// /// Retrieves whether the union's current tag state has value /// "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 /// "microsoft_office_addin_change_policy". /// - (BOOL)isMicrosoftOfficeAddinChangePolicy; /// /// Retrieves 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 /// `networkControlChangePolicy` property, otherwise a runtime exception will be /// thrown. /// /// @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". /// /// @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 /// "paper_change_deployment_policy". /// - (BOOL)isPaperChangeDeploymentPolicy; /// /// Retrieves whether the union's current tag state has value /// "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 /// "paper_change_member_link_policy". /// - (BOOL)isPaperChangeMemberLinkPolicy; /// /// 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 /// "paper_change_member_policy". /// - (BOOL)isPaperChangeMemberPolicy; /// /// 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 /// "paper_change_policy". /// - (BOOL)isPaperChangePolicy; /// /// Retrieves whether the union's current tag state has value /// "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 /// "paper_default_folder_policy_changed". /// - (BOOL)isPaperDefaultFolderPolicyChanged; /// /// Retrieves whether the union's current tag state has value /// "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 /// "paper_desktop_policy_changed". /// - (BOOL)isPaperDesktopPolicyChanged; /// /// Retrieves whether the union's current tag state has value /// "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 /// "paper_enabled_users_group_addition". /// - (BOOL)isPaperEnabledUsersGroupAddition; /// /// Retrieves whether the union's current tag state has value /// "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 /// "paper_enabled_users_group_removal". /// - (BOOL)isPaperEnabledUsersGroupRemoval; /// /// Retrieves whether the union's current tag state has value /// "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 /// "password_strength_requirements_change_policy". /// - (BOOL)isPasswordStrengthRequirementsChangePolicy; /// /// Retrieves whether the union's current tag state has value /// "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 /// "permanent_delete_change_policy". /// - (BOOL)isPermanentDeleteChangePolicy; /// /// Retrieves whether the union's current tag state has value /// "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 /// "reseller_support_change_policy". /// - (BOOL)isResellerSupportChangePolicy; /// /// Retrieves whether the union's current tag state has value /// "rewind_policy_changed". /// /// @note Call this method and ensure it returns true before accessing the /// `rewindPolicyChanged` property, otherwise a runtime exception will be /// thrown. /// /// @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". /// /// @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 /// "send_for_signature_policy_changed". /// - (BOOL)isSendForSignaturePolicyChanged; /// /// Retrieves whether the union's current tag state has value /// "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 /// "sharing_change_folder_join_policy". /// - (BOOL)isSharingChangeFolderJoinPolicy; /// /// Retrieves whether the union's current tag state has value /// "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 /// "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". /// /// @note Call this method and ensure it returns true before accessing the /// `sharingChangeLinkDefaultExpirationPolicy` property, otherwise a runtime /// exception will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `sharingChangeLinkEnforcePasswordPolicy` property, otherwise a runtime /// exception will be thrown. /// /// @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". /// /// @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 /// "sharing_change_link_policy". /// - (BOOL)isSharingChangeLinkPolicy; /// /// Retrieves whether the union's current tag state has value /// "sharing_change_member_policy". /// /// @note Call this method and ensure it returns true before accessing the /// `sharingChangeMemberPolicy` property, otherwise a runtime exception will be /// thrown. /// /// @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". /// /// @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 /// "showcase_change_download_policy". /// - (BOOL)isShowcaseChangeDownloadPolicy; /// /// Retrieves whether the union's current tag state has value /// "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 /// "showcase_change_enabled_policy". /// - (BOOL)isShowcaseChangeEnabledPolicy; /// /// Retrieves whether the union's current tag state has value /// "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 /// "showcase_change_external_sharing_policy". /// - (BOOL)isShowcaseChangeExternalSharingPolicy; /// /// Retrieves whether the union's current tag state has value /// "smarter_smart_sync_policy_changed". /// /// @note Call this method and ensure it returns true before accessing the /// `smarterSmartSyncPolicyChanged` property, otherwise a runtime exception will /// be thrown. /// /// @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". /// /// @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 /// "smart_sync_change_policy". /// - (BOOL)isSmartSyncChangePolicy; /// /// Retrieves whether the union's current tag state has value /// "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 /// "smart_sync_not_opt_out". /// - (BOOL)isSmartSyncNotOptOut; /// /// Retrieves whether the union's current tag state has value /// "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 /// "smart_sync_opt_out". /// - (BOOL)isSmartSyncOptOut; /// /// Retrieves whether the union's current tag state has value /// "sso_change_policy". /// /// @note Call this method and ensure it returns true before accessing the /// `ssoChangePolicy` property, otherwise a runtime exception will be thrown. /// /// @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". /// /// @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_branding_policy_changed". /// - (BOOL)isTeamBrandingPolicyChanged; /// /// Retrieves whether the union's current tag state has value /// "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_extensions_policy_changed". /// - (BOOL)isTeamExtensionsPolicyChanged; /// /// Retrieves whether the union's current tag state has value /// "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_selective_sync_policy_changed". /// - (BOOL)isTeamSelectiveSyncPolicyChanged; /// /// Retrieves whether the union's current tag state has value /// "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 /// "team_sharing_whitelist_subjects_changed". /// - (BOOL)isTeamSharingWhitelistSubjectsChanged; /// /// Retrieves whether the union's current tag state has value /// "tfa_add_exception". /// /// @note Call this method and ensure it returns true before accessing the /// `tfaAddException` property, otherwise a runtime exception will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `tfaChangePolicy` property, otherwise a runtime exception will be thrown. /// /// @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". /// /// @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 /// "tfa_remove_exception". /// - (BOOL)isTfaRemoveException; /// /// Retrieves whether the union's current tag state has value /// "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 /// "two_account_change_policy". /// - (BOOL)isTwoAccountChangePolicy; /// /// Retrieves whether the union's current tag state has value /// "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 /// "viewer_info_policy_changed". /// - (BOOL)isViewerInfoPolicyChanged; /// /// Retrieves whether the union's current tag state has value /// "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 /// "watermarking_policy_changed". /// - (BOOL)isWatermarkingPolicyChanged; /// /// Retrieves whether the union's current tag state has value /// "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 /// "web_sessions_change_active_session_limit". /// - (BOOL)isWebSessionsChangeActiveSessionLimit; /// /// Retrieves whether the union's current tag state has value /// "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 /// "web_sessions_change_fixed_length_policy". /// - (BOOL)isWebSessionsChangeFixedLengthPolicy; /// /// Retrieves whether the union's current tag state has value /// "web_sessions_change_idle_length_policy". /// /// @note Call this method and ensure it returns true before accessing the /// `webSessionsChangeIdleLengthPolicy` property, otherwise a runtime exception /// will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `dataResidencyMigrationRequestSuccessful` property, otherwise a runtime /// exception will be thrown. /// /// @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". /// /// @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 /// "data_residency_migration_request_unsuccessful". /// - (BOOL)isDataResidencyMigrationRequestUnsuccessful; /// /// Retrieves whether the union's current tag state has value "team_merge_from". /// /// @note Call this method and ensure it returns true before accessing the /// `teamMergeFrom` property, otherwise a runtime exception will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `teamMergeTo` property, otherwise a runtime exception will be thrown. /// /// @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". /// /// @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 /// "team_profile_add_background". /// - (BOOL)isTeamProfileAddBackground; /// /// Retrieves whether the union's current tag state has value /// "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 /// "team_profile_add_logo". /// - (BOOL)isTeamProfileAddLogo; /// /// Retrieves whether the union's current tag state has value /// "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 /// "team_profile_change_background". /// - (BOOL)isTeamProfileChangeBackground; /// /// Retrieves whether the union's current tag state has value /// "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 /// "team_profile_change_default_language". /// - (BOOL)isTeamProfileChangeDefaultLanguage; /// /// Retrieves whether the union's current tag state has value /// "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 /// "team_profile_change_logo". /// - (BOOL)isTeamProfileChangeLogo; /// /// Retrieves whether the union's current tag state has value /// "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 /// "team_profile_change_name". /// - (BOOL)isTeamProfileChangeName; /// /// Retrieves whether the union's current tag state has value /// "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 /// "team_profile_remove_background". /// - (BOOL)isTeamProfileRemoveBackground; /// /// Retrieves whether the union's current tag state has value /// "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 /// "team_profile_remove_logo". /// - (BOOL)isTeamProfileRemoveLogo; /// /// Retrieves whether the union's current tag state has value /// "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 /// "tfa_add_backup_phone". /// - (BOOL)isTfaAddBackupPhone; /// /// Retrieves whether the union's current tag state has value /// "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 /// "tfa_add_security_key". /// - (BOOL)isTfaAddSecurityKey; /// /// Retrieves whether the union's current tag state has value /// "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 /// "tfa_change_backup_phone". /// - (BOOL)isTfaChangeBackupPhone; /// /// Retrieves whether the union's current tag state has value /// "tfa_change_status". /// /// @note Call this method and ensure it returns true before accessing the /// `tfaChangeStatus` property, otherwise a runtime exception will be thrown. /// /// @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". /// /// @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 /// "tfa_remove_backup_phone". /// - (BOOL)isTfaRemoveBackupPhone; /// /// Retrieves whether the union's current tag state has value /// "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 /// "tfa_remove_security_key". /// - (BOOL)isTfaRemoveSecurityKey; /// /// Retrieves whether the union's current tag state has value "tfa_reset". /// /// @note Call this method and ensure it returns true before accessing the /// `tfaReset` property, otherwise a runtime exception will be thrown. /// /// @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". /// /// @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 /// "changed_enterprise_admin_role". /// - (BOOL)isChangedEnterpriseAdminRole; /// /// Retrieves whether the union's current tag state has value /// "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 /// "changed_enterprise_connected_team_status". /// - (BOOL)isChangedEnterpriseConnectedTeamStatus; /// /// Retrieves whether the union's current tag state has value /// "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 /// "ended_enterprise_admin_session". /// - (BOOL)isEndedEnterpriseAdminSession; /// /// Retrieves whether the union's current tag state has value /// "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 /// "ended_enterprise_admin_session_deprecated". /// - (BOOL)isEndedEnterpriseAdminSessionDeprecated; /// /// Retrieves whether the union's current tag state has value /// "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 /// "enterprise_settings_locking". /// - (BOOL)isEnterpriseSettingsLocking; /// /// Retrieves whether the union's current tag state has value /// "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 /// "guest_admin_change_status". /// - (BOOL)isGuestAdminChangeStatus; /// /// Retrieves whether the union's current tag state has value /// "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 /// "started_enterprise_admin_session". /// - (BOOL)isStartedEnterpriseAdminSession; /// /// Retrieves whether the union's current tag state has value /// "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 /// "team_merge_request_accepted". /// - (BOOL)isTeamMergeRequestAccepted; /// /// Retrieves whether the union's current tag state has value /// "team_merge_request_accepted_shown_to_primary_team". /// /// @note Call this method and ensure it returns true before accessing the /// `teamMergeRequestAcceptedShownToPrimaryTeam` property, otherwise a runtime /// exception will be thrown. /// /// @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". /// /// @note Call this method and ensure it returns true before accessing the /// `teamMergeRequestAcceptedShownToSecondaryTeam` property, otherwise a runtime /// exception will be thrown. /// /// @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". /// /// @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 /// "team_merge_request_auto_canceled". /// - (BOOL)isTeamMergeRequestAutoCanceled; /// /// Retrieves whether the union's current tag state has value /// "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 /// "team_merge_request_canceled". /// - (BOOL)isTeamMergeRequestCanceled; /// /// Retrieves whether the union's current tag state has value /// "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 /// "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". /// /// @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_merge_request_canceled_shown_to_secondary_team". /// - (BOOL)isTeamMergeRequestCanceledShownToSecondaryTeam; /// /// Retrieves whether the union's current tag state has value /// "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_merge_request_expired". /// - (BOOL)isTeamMergeRequestExpired; /// /// Retrieves whether the union's current tag state has value /// "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_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". /// /// @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_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". /// /// @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_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". /// /// @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 /// "team_merge_request_rejected_shown_to_secondary_team". /// - (BOOL)isTeamMergeRequestRejectedShownToSecondaryTeam; /// /// Retrieves whether the union's current tag state has value /// "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 /// "team_merge_request_reminder". /// - (BOOL)isTeamMergeRequestReminder; /// /// Retrieves whether the union's current tag state has value /// "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 /// "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". /// /// @note Call this method and ensure it returns true before accessing the /// `teamMergeRequestReminderShownToSecondaryTeam` property, otherwise a runtime /// exception will be thrown. /// /// @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". /// /// @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 /// "team_merge_request_revoked". /// - (BOOL)isTeamMergeRequestRevoked; /// /// Retrieves whether the union's current tag state has value /// "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 /// "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". /// /// @note Call this method and ensure it returns true before accessing the /// `teamMergeRequestSentShownToSecondaryTeam` property, otherwise a runtime /// exception will be thrown. /// /// @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 `DBTEAMLOGEventType` union. /// @interface DBTEAMLOGEventTypeSerializer : NSObject /// /// Serializes `DBTEAMLOGEventType` instances. /// /// @param instance An instance of the `DBTEAMLOGEventType` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGEventType` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGEventType *)instance; /// /// Deserializes `DBTEAMLOGEventType` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGEventType` API object. /// /// @return An instantiation of the `DBTEAMLOGEventType` object. /// + (DBTEAMLOGEventType *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEventTypeArg.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGExportMembersReportDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGExportMembersReportDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `ExportMembersReportDetails` struct. /// /// 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 DBTEAMLOGExportMembersReportDetails : 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 `ExportMembersReportDetails` struct. /// @interface DBTEAMLOGExportMembersReportDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGExportMembersReportDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGExportMembersReportDetails` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGExportMembersReportDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGExportMembersReportDetails *)instance; /// /// Deserializes `DBTEAMLOGExportMembersReportDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGExportMembersReportDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGExportMembersReportDetails` /// object. /// + (DBTEAMLOGExportMembersReportDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGExportMembersReportFailDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGExportMembersReportFailType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGExportMembersReportType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGExtendedVersionHistoryChangePolicyDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGExtendedVersionHistoryChangePolicyDetails; @class DBTEAMLOGExtendedVersionHistoryPolicy; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `ExtendedVersionHistoryChangePolicyDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGExtendedVersionHistoryChangePolicyDetails : NSObject #pragma mark - Instance fields /// New extended version history policy. @property (nonatomic, readonly) DBTEAMLOGExtendedVersionHistoryPolicy *dNewValue; /// Previous extended version history policy. Might be missing due to historical /// data gap. @property (nonatomic, readonly, nullable) DBTEAMLOGExtendedVersionHistoryPolicy *previousValue; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param dNewValue New extended version history policy. /// @param previousValue Previous extended version history policy. Might be /// missing due to historical data gap. /// /// @return An initialized instance. /// - (instancetype)initWithDNewValue:(DBTEAMLOGExtendedVersionHistoryPolicy *)dNewValue previousValue:(nullable DBTEAMLOGExtendedVersionHistoryPolicy *)previousValue; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param dNewValue New extended version history policy. /// /// @return An initialized instance. /// - (instancetype)initWithDNewValue:(DBTEAMLOGExtendedVersionHistoryPolicy *)dNewValue; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `ExtendedVersionHistoryChangePolicyDetails` /// struct. /// @interface DBTEAMLOGExtendedVersionHistoryChangePolicyDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGExtendedVersionHistoryChangePolicyDetails` instances. /// /// @param instance An instance of the /// `DBTEAMLOGExtendedVersionHistoryChangePolicyDetails` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGExtendedVersionHistoryChangePolicyDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGExtendedVersionHistoryChangePolicyDetails *)instance; /// /// Deserializes `DBTEAMLOGExtendedVersionHistoryChangePolicyDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGExtendedVersionHistoryChangePolicyDetails` API object. /// /// @return An instantiation of the /// `DBTEAMLOGExtendedVersionHistoryChangePolicyDetails` object. /// + (DBTEAMLOGExtendedVersionHistoryChangePolicyDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGExtendedVersionHistoryChangePolicyType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGExtendedVersionHistoryPolicy.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGExtendedVersionHistoryPolicy; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `ExtendedVersionHistoryPolicy` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMLOGExtendedVersionHistoryPolicy : NSObject #pragma mark - Instance fields /// The `DBTEAMLOGExtendedVersionHistoryPolicyTag` enum type represents the /// possible tag states with which the `DBTEAMLOGExtendedVersionHistoryPolicy` /// union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGExtendedVersionHistoryPolicyTag){ /// (no description). DBTEAMLOGExtendedVersionHistoryPolicyExplicitlyLimited, /// (no description). DBTEAMLOGExtendedVersionHistoryPolicyExplicitlyUnlimited, /// (no description). DBTEAMLOGExtendedVersionHistoryPolicyImplicitlyLimited, /// (no description). DBTEAMLOGExtendedVersionHistoryPolicyImplicitlyUnlimited, /// (no description). DBTEAMLOGExtendedVersionHistoryPolicyOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMLOGExtendedVersionHistoryPolicyTag tag; #pragma mark - Constructors /// /// Initializes union class with tag state of "explicitly_limited". /// /// @return An initialized instance. /// - (instancetype)initWithExplicitlyLimited; /// /// Initializes union class with tag state of "explicitly_unlimited". /// /// @return An initialized instance. /// - (instancetype)initWithExplicitlyUnlimited; /// /// Initializes union class with tag state of "implicitly_limited". /// /// @return An initialized instance. /// - (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". /// /// @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 /// "explicitly_limited". /// /// @return Whether the union's current tag state has value /// "explicitly_limited". /// - (BOOL)isExplicitlyLimited; /// /// Retrieves whether the union's current tag state has value /// "explicitly_unlimited". /// /// @return Whether the union's current tag state has value /// "explicitly_unlimited". /// - (BOOL)isExplicitlyUnlimited; /// /// Retrieves whether the union's current tag state has value /// "implicitly_limited". /// /// @return Whether the union's current tag state has value /// "implicitly_limited". /// - (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". /// /// @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 `DBTEAMLOGExtendedVersionHistoryPolicy` /// union. /// @interface DBTEAMLOGExtendedVersionHistoryPolicySerializer : NSObject /// /// Serializes `DBTEAMLOGExtendedVersionHistoryPolicy` instances. /// /// @param instance An instance of the `DBTEAMLOGExtendedVersionHistoryPolicy` /// API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGExtendedVersionHistoryPolicy` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGExtendedVersionHistoryPolicy *)instance; /// /// Deserializes `DBTEAMLOGExtendedVersionHistoryPolicy` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGExtendedVersionHistoryPolicy` API object. /// /// @return An instantiation of the `DBTEAMLOGExtendedVersionHistoryPolicy` /// object. /// + (DBTEAMLOGExtendedVersionHistoryPolicy *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGExternalDriveBackupEligibilityStatus.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGExternalDriveBackupEligibilityStatusCheckedDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGExternalDriveBackupEligibilityStatusCheckedType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGExternalDriveBackupPolicy.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGExternalDriveBackupPolicyChangedDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGExternalDriveBackupPolicyChangedType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGExternalDriveBackupStatus.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGExternalDriveBackupStatusChangedDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGExternalDriveBackupStatusChangedType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGExternalSharingCreateReportDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGExternalSharingCreateReportType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGExternalSharingReportFailedDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGExternalSharingReportFailedType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGExternalUserLogInfo.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFailureDetailsLogInfo.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGFailureDetailsLogInfo; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `FailureDetailsLogInfo` struct. /// /// Provides details about a failure /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMLOGFailureDetailsLogInfo : NSObject #pragma mark - Instance fields /// 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. @property (nonatomic, readonly, copy, nullable) NSString *technicalErrorMessage; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param userFriendlyMessage A user friendly explanation of the error. /// @param technicalErrorMessage A technical explanation of the error. This is /// relevant for some errors. /// /// @return An initialized instance. /// - (instancetype)initWithUserFriendlyMessage:(nullable NSString *)userFriendlyMessage technicalErrorMessage:(nullable NSString *)technicalErrorMessage; /// /// 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 `FailureDetailsLogInfo` struct. /// @interface DBTEAMLOGFailureDetailsLogInfoSerializer : NSObject /// /// Serializes `DBTEAMLOGFailureDetailsLogInfo` instances. /// /// @param instance An instance of the `DBTEAMLOGFailureDetailsLogInfo` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGFailureDetailsLogInfo` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGFailureDetailsLogInfo *)instance; /// /// Deserializes `DBTEAMLOGFailureDetailsLogInfo` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGFailureDetailsLogInfo` API object. /// /// @return An instantiation of the `DBTEAMLOGFailureDetailsLogInfo` object. /// + (DBTEAMLOGFailureDetailsLogInfo *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFedAdminRole.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFedExtraDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFedHandshakeAction.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFederationStatusChangeAdditionalInfo.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileAddCommentDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGFileAddCommentDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `FileAddCommentDetails` struct. /// /// Added 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 DBTEAMLOGFileAddCommentDetails : NSObject #pragma mark - Instance fields /// Comment text. @property (nonatomic, readonly, copy, nullable) NSString *commentText; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param commentText Comment text. /// /// @return An initialized instance. /// - (instancetype)initWithCommentText:(nullable NSString *)commentText; /// /// 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 `FileAddCommentDetails` struct. /// @interface DBTEAMLOGFileAddCommentDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGFileAddCommentDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGFileAddCommentDetails` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGFileAddCommentDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGFileAddCommentDetails *)instance; /// /// Deserializes `DBTEAMLOGFileAddCommentDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGFileAddCommentDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGFileAddCommentDetails` object. /// + (DBTEAMLOGFileAddCommentDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileAddCommentType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileAddDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGFileAddDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `FileAddDetails` struct. /// /// Added files and/or folders. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMLOGFileAddDetails : 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 `FileAddDetails` struct. /// @interface DBTEAMLOGFileAddDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGFileAddDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGFileAddDetails` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGFileAddDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGFileAddDetails *)instance; /// /// Deserializes `DBTEAMLOGFileAddDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGFileAddDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGFileAddDetails` object. /// + (DBTEAMLOGFileAddDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileAddFromAutomationDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileAddFromAutomationType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileAddType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileChangeCommentSubscriptionDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGFileChangeCommentSubscriptionDetails; @class DBTEAMLOGFileCommentNotificationPolicy; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `FileChangeCommentSubscriptionDetails` struct. /// /// Subscribed to or unsubscribed from comment notifications for file. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMLOGFileChangeCommentSubscriptionDetails : NSObject #pragma mark - Instance fields /// New file comment subscription. @property (nonatomic, readonly) DBTEAMLOGFileCommentNotificationPolicy *dNewValue; /// Previous file comment subscription. Might be missing due to historical data /// gap. @property (nonatomic, readonly, nullable) DBTEAMLOGFileCommentNotificationPolicy *previousValue; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param dNewValue New file comment subscription. /// @param previousValue Previous file comment subscription. Might be missing /// due to historical data gap. /// /// @return An initialized instance. /// - (instancetype)initWithDNewValue:(DBTEAMLOGFileCommentNotificationPolicy *)dNewValue previousValue:(nullable DBTEAMLOGFileCommentNotificationPolicy *)previousValue; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param dNewValue New file comment subscription. /// /// @return An initialized instance. /// - (instancetype)initWithDNewValue:(DBTEAMLOGFileCommentNotificationPolicy *)dNewValue; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `FileChangeCommentSubscriptionDetails` /// struct. /// @interface DBTEAMLOGFileChangeCommentSubscriptionDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGFileChangeCommentSubscriptionDetails` instances. /// /// @param instance An instance of the /// `DBTEAMLOGFileChangeCommentSubscriptionDetails` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGFileChangeCommentSubscriptionDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGFileChangeCommentSubscriptionDetails *)instance; /// /// Deserializes `DBTEAMLOGFileChangeCommentSubscriptionDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGFileChangeCommentSubscriptionDetails` API object. /// /// @return An instantiation of the /// `DBTEAMLOGFileChangeCommentSubscriptionDetails` object. /// + (DBTEAMLOGFileChangeCommentSubscriptionDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileChangeCommentSubscriptionType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileCommentNotificationPolicy.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGFileCommentNotificationPolicy; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `FileCommentNotificationPolicy` union. /// /// Enable or disable file comments notifications /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMLOGFileCommentNotificationPolicy : NSObject #pragma mark - Instance fields /// The `DBTEAMLOGFileCommentNotificationPolicyTag` enum type represents the /// possible tag states with which the `DBTEAMLOGFileCommentNotificationPolicy` /// union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGFileCommentNotificationPolicyTag){ /// (no description). DBTEAMLOGFileCommentNotificationPolicyDisabled, /// (no description). DBTEAMLOGFileCommentNotificationPolicyEnabled, /// (no description). DBTEAMLOGFileCommentNotificationPolicyOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMLOGFileCommentNotificationPolicyTag 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 `DBTEAMLOGFileCommentNotificationPolicy` /// union. /// @interface DBTEAMLOGFileCommentNotificationPolicySerializer : NSObject /// /// Serializes `DBTEAMLOGFileCommentNotificationPolicy` instances. /// /// @param instance An instance of the `DBTEAMLOGFileCommentNotificationPolicy` /// API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGFileCommentNotificationPolicy` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGFileCommentNotificationPolicy *)instance; /// /// Deserializes `DBTEAMLOGFileCommentNotificationPolicy` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGFileCommentNotificationPolicy` API object. /// /// @return An instantiation of the `DBTEAMLOGFileCommentNotificationPolicy` /// object. /// + (DBTEAMLOGFileCommentNotificationPolicy *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileCommentsChangePolicyDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGFileCommentsChangePolicyDetails; @class DBTEAMLOGFileCommentsPolicy; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `FileCommentsChangePolicyDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGFileCommentsChangePolicyDetails : NSObject #pragma mark - Instance fields /// New commenting on team files policy. @property (nonatomic, readonly) DBTEAMLOGFileCommentsPolicy *dNewValue; /// Previous commenting on team files policy. Might be missing due to historical /// data gap. @property (nonatomic, readonly, nullable) DBTEAMLOGFileCommentsPolicy *previousValue; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param dNewValue New commenting on team files policy. /// @param previousValue Previous commenting on team files policy. Might be /// missing due to historical data gap. /// /// @return An initialized instance. /// - (instancetype)initWithDNewValue:(DBTEAMLOGFileCommentsPolicy *)dNewValue previousValue:(nullable DBTEAMLOGFileCommentsPolicy *)previousValue; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param dNewValue New commenting on team files policy. /// /// @return An initialized instance. /// - (instancetype)initWithDNewValue:(DBTEAMLOGFileCommentsPolicy *)dNewValue; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `FileCommentsChangePolicyDetails` struct. /// @interface DBTEAMLOGFileCommentsChangePolicyDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGFileCommentsChangePolicyDetails` instances. /// /// @param instance An instance of the /// `DBTEAMLOGFileCommentsChangePolicyDetails` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGFileCommentsChangePolicyDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGFileCommentsChangePolicyDetails *)instance; /// /// Deserializes `DBTEAMLOGFileCommentsChangePolicyDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGFileCommentsChangePolicyDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGFileCommentsChangePolicyDetails` /// object. /// + (DBTEAMLOGFileCommentsChangePolicyDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileCommentsChangePolicyType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileCommentsPolicy.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGFileCommentsPolicy; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `FileCommentsPolicy` union. /// /// File comments policy /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMLOGFileCommentsPolicy : NSObject #pragma mark - Instance fields /// The `DBTEAMLOGFileCommentsPolicyTag` enum type represents the possible tag /// states with which the `DBTEAMLOGFileCommentsPolicy` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGFileCommentsPolicyTag){ /// (no description). DBTEAMLOGFileCommentsPolicyDisabled, /// (no description). DBTEAMLOGFileCommentsPolicyEnabled, /// (no description). DBTEAMLOGFileCommentsPolicyOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMLOGFileCommentsPolicyTag 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 `DBTEAMLOGFileCommentsPolicy` union. /// @interface DBTEAMLOGFileCommentsPolicySerializer : NSObject /// /// Serializes `DBTEAMLOGFileCommentsPolicy` instances. /// /// @param instance An instance of the `DBTEAMLOGFileCommentsPolicy` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGFileCommentsPolicy` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGFileCommentsPolicy *)instance; /// /// Deserializes `DBTEAMLOGFileCommentsPolicy` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGFileCommentsPolicy` API object. /// /// @return An instantiation of the `DBTEAMLOGFileCommentsPolicy` object. /// + (DBTEAMLOGFileCommentsPolicy *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileCopyDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGFileCopyDetails; @class DBTEAMLOGRelocateAssetReferencesLogInfo; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `FileCopyDetails` struct. /// /// Copied files and/or folders. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMLOGFileCopyDetails : NSObject #pragma mark - Instance fields /// Relocate action details. @property (nonatomic, readonly) NSArray *relocateActionDetails; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param relocateActionDetails Relocate action details. /// /// @return An initialized instance. /// - (instancetype)initWithRelocateActionDetails: (NSArray *)relocateActionDetails; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `FileCopyDetails` struct. /// @interface DBTEAMLOGFileCopyDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGFileCopyDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGFileCopyDetails` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGFileCopyDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGFileCopyDetails *)instance; /// /// Deserializes `DBTEAMLOGFileCopyDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGFileCopyDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGFileCopyDetails` object. /// + (DBTEAMLOGFileCopyDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileCopyType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileDeleteCommentDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGFileDeleteCommentDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `FileDeleteCommentDetails` struct. /// /// Deleted 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 DBTEAMLOGFileDeleteCommentDetails : NSObject #pragma mark - Instance fields /// Comment text. @property (nonatomic, readonly, copy, nullable) NSString *commentText; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param commentText Comment text. /// /// @return An initialized instance. /// - (instancetype)initWithCommentText:(nullable NSString *)commentText; /// /// 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 `FileDeleteCommentDetails` struct. /// @interface DBTEAMLOGFileDeleteCommentDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGFileDeleteCommentDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGFileDeleteCommentDetails` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGFileDeleteCommentDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGFileDeleteCommentDetails *)instance; /// /// Deserializes `DBTEAMLOGFileDeleteCommentDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGFileDeleteCommentDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGFileDeleteCommentDetails` object. /// + (DBTEAMLOGFileDeleteCommentDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileDeleteCommentType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileDeleteDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGFileDeleteDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `FileDeleteDetails` struct. /// /// Deleted files and/or folders. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMLOGFileDeleteDetails : 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 `FileDeleteDetails` struct. /// @interface DBTEAMLOGFileDeleteDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGFileDeleteDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGFileDeleteDetails` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGFileDeleteDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGFileDeleteDetails *)instance; /// /// Deserializes `DBTEAMLOGFileDeleteDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGFileDeleteDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGFileDeleteDetails` object. /// + (DBTEAMLOGFileDeleteDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileDeleteType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileDownloadDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGFileDownloadDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `FileDownloadDetails` struct. /// /// Downloaded files and/or folders. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMLOGFileDownloadDetails : 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 `FileDownloadDetails` struct. /// @interface DBTEAMLOGFileDownloadDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGFileDownloadDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGFileDownloadDetails` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGFileDownloadDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGFileDownloadDetails *)instance; /// /// Deserializes `DBTEAMLOGFileDownloadDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGFileDownloadDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGFileDownloadDetails` object. /// + (DBTEAMLOGFileDownloadDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileDownloadType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileEditCommentDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileEditCommentType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileEditDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGFileEditDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `FileEditDetails` struct. /// /// Edited files. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMLOGFileEditDetails : 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 `FileEditDetails` struct. /// @interface DBTEAMLOGFileEditDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGFileEditDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGFileEditDetails` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGFileEditDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGFileEditDetails *)instance; /// /// Deserializes `DBTEAMLOGFileEditDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGFileEditDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGFileEditDetails` object. /// + (DBTEAMLOGFileEditDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileEditType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileGetCopyReferenceDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGFileGetCopyReferenceDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `FileGetCopyReferenceDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGFileGetCopyReferenceDetails : 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 `FileGetCopyReferenceDetails` struct. /// @interface DBTEAMLOGFileGetCopyReferenceDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGFileGetCopyReferenceDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGFileGetCopyReferenceDetails` /// API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGFileGetCopyReferenceDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGFileGetCopyReferenceDetails *)instance; /// /// Deserializes `DBTEAMLOGFileGetCopyReferenceDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGFileGetCopyReferenceDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGFileGetCopyReferenceDetails` /// object. /// + (DBTEAMLOGFileGetCopyReferenceDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileGetCopyReferenceType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileLikeCommentDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGFileLikeCommentDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `FileLikeCommentDetails` struct. /// /// Liked 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 DBTEAMLOGFileLikeCommentDetails : NSObject #pragma mark - Instance fields /// Comment text. @property (nonatomic, readonly, copy, nullable) NSString *commentText; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param commentText Comment text. /// /// @return An initialized instance. /// - (instancetype)initWithCommentText:(nullable NSString *)commentText; /// /// 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 `FileLikeCommentDetails` struct. /// @interface DBTEAMLOGFileLikeCommentDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGFileLikeCommentDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGFileLikeCommentDetails` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGFileLikeCommentDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGFileLikeCommentDetails *)instance; /// /// Deserializes `DBTEAMLOGFileLikeCommentDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGFileLikeCommentDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGFileLikeCommentDetails` object. /// + (DBTEAMLOGFileLikeCommentDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileLikeCommentType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileLockingLockStatusChangedDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileLockingLockStatusChangedType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileLockingPolicyChangedDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileLockingPolicyChangedType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileLogInfo.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" #import "DBTEAMLOGFileOrFolderLogInfo.h" @class DBTEAMLOGFileLogInfo; @class DBTEAMLOGPathLogInfo; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `FileLogInfo` struct. /// /// File'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 DBTEAMLOGFileLogInfo : DBTEAMLOGFileOrFolderLogInfo #pragma mark - Instance fields #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param path Path relative to event context. /// @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 fileSize:(nullable NSNumber *)fileSize; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param path Path relative to event context. /// /// @return An initialized instance. /// - (instancetype)initWithPath:(DBTEAMLOGPathLogInfo *)path; @end #pragma mark - Serializer Object /// /// The serialization class for the `FileLogInfo` struct. /// @interface DBTEAMLOGFileLogInfoSerializer : NSObject /// /// Serializes `DBTEAMLOGFileLogInfo` instances. /// /// @param instance An instance of the `DBTEAMLOGFileLogInfo` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGFileLogInfo` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGFileLogInfo *)instance; /// /// Deserializes `DBTEAMLOGFileLogInfo` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGFileLogInfo` API object. /// /// @return An instantiation of the `DBTEAMLOGFileLogInfo` object. /// + (DBTEAMLOGFileLogInfo *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileMoveDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGFileMoveDetails; @class DBTEAMLOGRelocateAssetReferencesLogInfo; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `FileMoveDetails` struct. /// /// Moved files and/or folders. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMLOGFileMoveDetails : NSObject #pragma mark - Instance fields /// Relocate action details. @property (nonatomic, readonly) NSArray *relocateActionDetails; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param relocateActionDetails Relocate action details. /// /// @return An initialized instance. /// - (instancetype)initWithRelocateActionDetails: (NSArray *)relocateActionDetails; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `FileMoveDetails` struct. /// @interface DBTEAMLOGFileMoveDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGFileMoveDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGFileMoveDetails` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGFileMoveDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGFileMoveDetails *)instance; /// /// Deserializes `DBTEAMLOGFileMoveDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGFileMoveDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGFileMoveDetails` object. /// + (DBTEAMLOGFileMoveDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileMoveType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileOrFolderLogInfo.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGFileOrFolderLogInfo; @class DBTEAMLOGPathLogInfo; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `FileOrFolderLogInfo` struct. /// /// Generic information relevant both for files and folders /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMLOGFileOrFolderLogInfo : NSObject #pragma mark - Instance fields /// Path relative to event context. @property (nonatomic, readonly) DBTEAMLOGPathLogInfo *path; /// Display name. @property (nonatomic, readonly, copy, nullable) NSString *displayName; /// 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. /// @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 fileSize:(nullable NSNumber *)fileSize; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param path Path relative to event context. /// /// @return An initialized instance. /// - (instancetype)initWithPath:(DBTEAMLOGPathLogInfo *)path; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `FileOrFolderLogInfo` struct. /// @interface DBTEAMLOGFileOrFolderLogInfoSerializer : NSObject /// /// Serializes `DBTEAMLOGFileOrFolderLogInfo` instances. /// /// @param instance An instance of the `DBTEAMLOGFileOrFolderLogInfo` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGFileOrFolderLogInfo` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGFileOrFolderLogInfo *)instance; /// /// Deserializes `DBTEAMLOGFileOrFolderLogInfo` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGFileOrFolderLogInfo` API object. /// /// @return An instantiation of the `DBTEAMLOGFileOrFolderLogInfo` object. /// + (DBTEAMLOGFileOrFolderLogInfo *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFilePermanentlyDeleteDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGFilePermanentlyDeleteDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `FilePermanentlyDeleteDetails` struct. /// /// Permanently deleted files and/or folders. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMLOGFilePermanentlyDeleteDetails : 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 `FilePermanentlyDeleteDetails` struct. /// @interface DBTEAMLOGFilePermanentlyDeleteDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGFilePermanentlyDeleteDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGFilePermanentlyDeleteDetails` /// API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGFilePermanentlyDeleteDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGFilePermanentlyDeleteDetails *)instance; /// /// Deserializes `DBTEAMLOGFilePermanentlyDeleteDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGFilePermanentlyDeleteDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGFilePermanentlyDeleteDetails` /// object. /// + (DBTEAMLOGFilePermanentlyDeleteDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFilePermanentlyDeleteType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFilePreviewDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGFilePreviewDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `FilePreviewDetails` struct. /// /// Previewed files and/or folders. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMLOGFilePreviewDetails : 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 `FilePreviewDetails` struct. /// @interface DBTEAMLOGFilePreviewDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGFilePreviewDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGFilePreviewDetails` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGFilePreviewDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGFilePreviewDetails *)instance; /// /// Deserializes `DBTEAMLOGFilePreviewDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGFilePreviewDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGFilePreviewDetails` object. /// + (DBTEAMLOGFilePreviewDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFilePreviewType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileProviderMigrationPolicyChangedDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileProviderMigrationPolicyChangedType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRenameDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGFileRenameDetails; @class DBTEAMLOGRelocateAssetReferencesLogInfo; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `FileRenameDetails` struct. /// /// Renamed files and/or folders. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMLOGFileRenameDetails : NSObject #pragma mark - Instance fields /// Relocate action details. @property (nonatomic, readonly) NSArray *relocateActionDetails; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param relocateActionDetails Relocate action details. /// /// @return An initialized instance. /// - (instancetype)initWithRelocateActionDetails: (NSArray *)relocateActionDetails; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `FileRenameDetails` struct. /// @interface DBTEAMLOGFileRenameDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGFileRenameDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGFileRenameDetails` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGFileRenameDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGFileRenameDetails *)instance; /// /// Deserializes `DBTEAMLOGFileRenameDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGFileRenameDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGFileRenameDetails` object. /// + (DBTEAMLOGFileRenameDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRenameType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRequestChangeDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGFileRequestChangeDetails; @class DBTEAMLOGFileRequestDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `FileRequestChangeDetails` struct. /// /// Changed 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 DBTEAMLOGFileRequestChangeDetails : NSObject #pragma mark - Instance fields /// File request id. Might be missing due to historical data gap. @property (nonatomic, readonly, copy, nullable) NSString *fileRequestId; /// Previous file request details. Might be missing due to historical data gap. @property (nonatomic, readonly, nullable) DBTEAMLOGFileRequestDetails *previousDetails; /// New file request details. @property (nonatomic, readonly) DBTEAMLOGFileRequestDetails *dNewDetails; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param dNewDetails New file request details. /// @param fileRequestId File request id. Might be missing due to historical /// data gap. /// @param previousDetails Previous file request details. Might be missing due /// to historical data gap. /// /// @return An initialized instance. /// - (instancetype)initWithDNewDetails:(DBTEAMLOGFileRequestDetails *)dNewDetails fileRequestId:(nullable NSString *)fileRequestId previousDetails:(nullable DBTEAMLOGFileRequestDetails *)previousDetails; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param dNewDetails New file request details. /// /// @return An initialized instance. /// - (instancetype)initWithDNewDetails:(DBTEAMLOGFileRequestDetails *)dNewDetails; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `FileRequestChangeDetails` struct. /// @interface DBTEAMLOGFileRequestChangeDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGFileRequestChangeDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGFileRequestChangeDetails` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGFileRequestChangeDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGFileRequestChangeDetails *)instance; /// /// Deserializes `DBTEAMLOGFileRequestChangeDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGFileRequestChangeDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGFileRequestChangeDetails` object. /// + (DBTEAMLOGFileRequestChangeDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRequestChangeType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRequestCloseDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGFileRequestCloseDetails; @class DBTEAMLOGFileRequestDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `FileRequestCloseDetails` struct. /// /// Closed 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 DBTEAMLOGFileRequestCloseDetails : NSObject #pragma mark - Instance fields /// File request id. Might be missing due to historical data gap. @property (nonatomic, readonly, copy, nullable) NSString *fileRequestId; /// Previous file request details. Might be missing due to historical data gap. @property (nonatomic, readonly, nullable) DBTEAMLOGFileRequestDetails *previousDetails; #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 previousDetails Previous file request details. Might be missing due /// to historical data gap. /// /// @return An initialized instance. /// - (instancetype)initWithFileRequestId:(nullable NSString *)fileRequestId previousDetails:(nullable DBTEAMLOGFileRequestDetails *)previousDetails; /// /// 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 `FileRequestCloseDetails` struct. /// @interface DBTEAMLOGFileRequestCloseDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGFileRequestCloseDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGFileRequestCloseDetails` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGFileRequestCloseDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGFileRequestCloseDetails *)instance; /// /// Deserializes `DBTEAMLOGFileRequestCloseDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGFileRequestCloseDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGFileRequestCloseDetails` object. /// + (DBTEAMLOGFileRequestCloseDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRequestCloseType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRequestCreateDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGFileRequestCreateDetails; @class DBTEAMLOGFileRequestDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `FileRequestCreateDetails` struct. /// /// Created 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 DBTEAMLOGFileRequestCreateDetails : 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 details. Might be missing due to historical data gap. @property (nonatomic, readonly, nullable) DBTEAMLOGFileRequestDetails *requestDetails; #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 requestDetails File request details. Might be missing due to /// historical data gap. /// /// @return An initialized instance. /// - (instancetype)initWithFileRequestId:(nullable NSString *)fileRequestId requestDetails:(nullable DBTEAMLOGFileRequestDetails *)requestDetails; /// /// 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 `FileRequestCreateDetails` struct. /// @interface DBTEAMLOGFileRequestCreateDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGFileRequestCreateDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGFileRequestCreateDetails` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGFileRequestCreateDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGFileRequestCreateDetails *)instance; /// /// Deserializes `DBTEAMLOGFileRequestCreateDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGFileRequestCreateDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGFileRequestCreateDetails` object. /// + (DBTEAMLOGFileRequestCreateDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRequestCreateType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRequestDeadline.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRequestDeleteDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGFileRequestDeleteDetails; @class DBTEAMLOGFileRequestDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `FileRequestDeleteDetails` struct. /// /// 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 DBTEAMLOGFileRequestDeleteDetails : NSObject #pragma mark - Instance fields /// File request id. Might be missing due to historical data gap. @property (nonatomic, readonly, copy, nullable) NSString *fileRequestId; /// Previous file request details. Might be missing due to historical data gap. @property (nonatomic, readonly, nullable) DBTEAMLOGFileRequestDetails *previousDetails; #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 previousDetails Previous file request details. Might be missing due /// to historical data gap. /// /// @return An initialized instance. /// - (instancetype)initWithFileRequestId:(nullable NSString *)fileRequestId previousDetails:(nullable DBTEAMLOGFileRequestDetails *)previousDetails; /// /// 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 `FileRequestDeleteDetails` struct. /// @interface DBTEAMLOGFileRequestDeleteDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGFileRequestDeleteDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGFileRequestDeleteDetails` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGFileRequestDeleteDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGFileRequestDeleteDetails *)instance; /// /// Deserializes `DBTEAMLOGFileRequestDeleteDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGFileRequestDeleteDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGFileRequestDeleteDetails` object. /// + (DBTEAMLOGFileRequestDeleteDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRequestDeleteType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRequestDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGFileRequestDeadline; @class DBTEAMLOGFileRequestDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `FileRequestDetails` struct. /// /// File request details /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMLOGFileRequestDetails : NSObject #pragma mark - Instance fields /// Asset position in the Assets list. @property (nonatomic, readonly) NSNumber *assetIndex; /// File request deadline. @property (nonatomic, readonly, nullable) DBTEAMLOGFileRequestDeadline *deadline; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param assetIndex Asset position in the Assets list. /// @param deadline File request deadline. /// /// @return An initialized instance. /// - (instancetype)initWithAssetIndex:(NSNumber *)assetIndex deadline:(nullable DBTEAMLOGFileRequestDeadline *)deadline; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param assetIndex Asset position in the Assets list. /// /// @return An initialized instance. /// - (instancetype)initWithAssetIndex:(NSNumber *)assetIndex; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `FileRequestDetails` struct. /// @interface DBTEAMLOGFileRequestDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGFileRequestDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGFileRequestDetails` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGFileRequestDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGFileRequestDetails *)instance; /// /// Deserializes `DBTEAMLOGFileRequestDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGFileRequestDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGFileRequestDetails` object. /// + (DBTEAMLOGFileRequestDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRequestReceiveFileDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGFileRequestDetails; @class DBTEAMLOGFileRequestReceiveFileDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `FileRequestReceiveFileDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGFileRequestReceiveFileDetails : 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 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 /// /// Full constructor for the struct (exposes all instance variables). /// /// @param submittedFileNames Submitted file names. /// @param fileRequestId File request id. Might be missing due to historical /// data gap. /// @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 fileRequestDetails:(nullable DBTEAMLOGFileRequestDetails *)fileRequestDetails submitterName:(nullable NSString *)submitterName submitterEmail:(nullable NSString *)submitterEmail; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param submittedFileNames Submitted file names. /// /// @return An initialized instance. /// - (instancetype)initWithSubmittedFileNames:(NSArray *)submittedFileNames; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `FileRequestReceiveFileDetails` struct. /// @interface DBTEAMLOGFileRequestReceiveFileDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGFileRequestReceiveFileDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGFileRequestReceiveFileDetails` /// API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGFileRequestReceiveFileDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGFileRequestReceiveFileDetails *)instance; /// /// Deserializes `DBTEAMLOGFileRequestReceiveFileDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGFileRequestReceiveFileDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGFileRequestReceiveFileDetails` /// object. /// + (DBTEAMLOGFileRequestReceiveFileDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRequestReceiveFileType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRequestsChangePolicyDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGFileRequestsChangePolicyDetails; @class DBTEAMLOGFileRequestsPolicy; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `FileRequestsChangePolicyDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGFileRequestsChangePolicyDetails : NSObject #pragma mark - Instance fields /// New file requests policy. @property (nonatomic, readonly) DBTEAMLOGFileRequestsPolicy *dNewValue; /// Previous file requests policy. Might be missing due to historical data gap. @property (nonatomic, readonly, nullable) DBTEAMLOGFileRequestsPolicy *previousValue; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param dNewValue New file requests policy. /// @param previousValue Previous file requests policy. Might be missing due to /// historical data gap. /// /// @return An initialized instance. /// - (instancetype)initWithDNewValue:(DBTEAMLOGFileRequestsPolicy *)dNewValue previousValue:(nullable DBTEAMLOGFileRequestsPolicy *)previousValue; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param dNewValue New file requests policy. /// /// @return An initialized instance. /// - (instancetype)initWithDNewValue:(DBTEAMLOGFileRequestsPolicy *)dNewValue; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `FileRequestsChangePolicyDetails` struct. /// @interface DBTEAMLOGFileRequestsChangePolicyDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGFileRequestsChangePolicyDetails` instances. /// /// @param instance An instance of the /// `DBTEAMLOGFileRequestsChangePolicyDetails` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGFileRequestsChangePolicyDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGFileRequestsChangePolicyDetails *)instance; /// /// Deserializes `DBTEAMLOGFileRequestsChangePolicyDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGFileRequestsChangePolicyDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGFileRequestsChangePolicyDetails` /// object. /// + (DBTEAMLOGFileRequestsChangePolicyDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRequestsChangePolicyType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRequestsEmailsEnabledDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGFileRequestsEmailsEnabledDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `FileRequestsEmailsEnabledDetails` struct. /// /// Enabled file request emails for everyone. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMLOGFileRequestsEmailsEnabledDetails : 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 `FileRequestsEmailsEnabledDetails` struct. /// @interface DBTEAMLOGFileRequestsEmailsEnabledDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGFileRequestsEmailsEnabledDetails` instances. /// /// @param instance An instance of the /// `DBTEAMLOGFileRequestsEmailsEnabledDetails` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGFileRequestsEmailsEnabledDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGFileRequestsEmailsEnabledDetails *)instance; /// /// Deserializes `DBTEAMLOGFileRequestsEmailsEnabledDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGFileRequestsEmailsEnabledDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGFileRequestsEmailsEnabledDetails` /// object. /// + (DBTEAMLOGFileRequestsEmailsEnabledDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRequestsEmailsEnabledType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `FileRequestsEmailsRestrictedToTeamOnlyDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyDetails : 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 /// `FileRequestsEmailsRestrictedToTeamOnlyDetails` struct. /// @interface DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyDetails` /// instances. /// /// @param instance An instance of the /// `DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyDetails` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyDetails *)instance; /// /// Deserializes `DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyDetails` /// instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyDetails` API object. /// /// @return An instantiation of the /// `DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyDetails` object. /// + (DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRequestsPolicy.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGFileRequestsPolicy; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `FileRequestsPolicy` union. /// /// File requests policy /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMLOGFileRequestsPolicy : NSObject #pragma mark - Instance fields /// The `DBTEAMLOGFileRequestsPolicyTag` enum type represents the possible tag /// states with which the `DBTEAMLOGFileRequestsPolicy` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGFileRequestsPolicyTag){ /// (no description). DBTEAMLOGFileRequestsPolicyDisabled, /// (no description). DBTEAMLOGFileRequestsPolicyEnabled, /// (no description). DBTEAMLOGFileRequestsPolicyOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMLOGFileRequestsPolicyTag 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 `DBTEAMLOGFileRequestsPolicy` union. /// @interface DBTEAMLOGFileRequestsPolicySerializer : NSObject /// /// Serializes `DBTEAMLOGFileRequestsPolicy` instances. /// /// @param instance An instance of the `DBTEAMLOGFileRequestsPolicy` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGFileRequestsPolicy` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGFileRequestsPolicy *)instance; /// /// Deserializes `DBTEAMLOGFileRequestsPolicy` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGFileRequestsPolicy` API object. /// /// @return An instantiation of the `DBTEAMLOGFileRequestsPolicy` object. /// + (DBTEAMLOGFileRequestsPolicy *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileResolveCommentDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGFileResolveCommentDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `FileResolveCommentDetails` struct. /// /// Resolved 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 DBTEAMLOGFileResolveCommentDetails : NSObject #pragma mark - Instance fields /// Comment text. @property (nonatomic, readonly, copy, nullable) NSString *commentText; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param commentText Comment text. /// /// @return An initialized instance. /// - (instancetype)initWithCommentText:(nullable NSString *)commentText; /// /// 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 `FileResolveCommentDetails` struct. /// @interface DBTEAMLOGFileResolveCommentDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGFileResolveCommentDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGFileResolveCommentDetails` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGFileResolveCommentDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGFileResolveCommentDetails *)instance; /// /// Deserializes `DBTEAMLOGFileResolveCommentDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGFileResolveCommentDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGFileResolveCommentDetails` object. /// + (DBTEAMLOGFileResolveCommentDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileResolveCommentType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRestoreDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGFileRestoreDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `FileRestoreDetails` struct. /// /// Restored deleted files and/or folders. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMLOGFileRestoreDetails : 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 `FileRestoreDetails` struct. /// @interface DBTEAMLOGFileRestoreDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGFileRestoreDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGFileRestoreDetails` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGFileRestoreDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGFileRestoreDetails *)instance; /// /// Deserializes `DBTEAMLOGFileRestoreDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGFileRestoreDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGFileRestoreDetails` object. /// + (DBTEAMLOGFileRestoreDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRestoreType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRevertDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGFileRevertDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `FileRevertDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGFileRevertDetails : 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 `FileRevertDetails` struct. /// @interface DBTEAMLOGFileRevertDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGFileRevertDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGFileRevertDetails` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGFileRevertDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGFileRevertDetails *)instance; /// /// Deserializes `DBTEAMLOGFileRevertDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGFileRevertDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGFileRevertDetails` object. /// + (DBTEAMLOGFileRevertDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRevertType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRollbackChangesDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGFileRollbackChangesDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `FileRollbackChangesDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGFileRollbackChangesDetails : 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 `FileRollbackChangesDetails` struct. /// @interface DBTEAMLOGFileRollbackChangesDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGFileRollbackChangesDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGFileRollbackChangesDetails` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGFileRollbackChangesDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGFileRollbackChangesDetails *)instance; /// /// Deserializes `DBTEAMLOGFileRollbackChangesDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGFileRollbackChangesDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGFileRollbackChangesDetails` /// object. /// + (DBTEAMLOGFileRollbackChangesDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRollbackChangesType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileSaveCopyReferenceDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGFileSaveCopyReferenceDetails; @class DBTEAMLOGRelocateAssetReferencesLogInfo; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `FileSaveCopyReferenceDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGFileSaveCopyReferenceDetails : NSObject #pragma mark - Instance fields /// Relocate action details. @property (nonatomic, readonly) NSArray *relocateActionDetails; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param relocateActionDetails Relocate action details. /// /// @return An initialized instance. /// - (instancetype)initWithRelocateActionDetails: (NSArray *)relocateActionDetails; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `FileSaveCopyReferenceDetails` struct. /// @interface DBTEAMLOGFileSaveCopyReferenceDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGFileSaveCopyReferenceDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGFileSaveCopyReferenceDetails` /// API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGFileSaveCopyReferenceDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGFileSaveCopyReferenceDetails *)instance; /// /// Deserializes `DBTEAMLOGFileSaveCopyReferenceDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGFileSaveCopyReferenceDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGFileSaveCopyReferenceDetails` /// object. /// + (DBTEAMLOGFileSaveCopyReferenceDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileSaveCopyReferenceType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileTransfersFileAddDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileTransfersFileAddType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileTransfersPolicy.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileTransfersPolicyChangedDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileTransfersPolicyChangedType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileTransfersTransferDeleteDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileTransfersTransferDeleteType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileTransfersTransferDownloadDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileTransfersTransferDownloadType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileTransfersTransferSendDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileTransfersTransferSendType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileTransfersTransferViewDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileTransfersTransferViewType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileUnlikeCommentDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGFileUnlikeCommentDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `FileUnlikeCommentDetails` struct. /// /// Unliked 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 DBTEAMLOGFileUnlikeCommentDetails : NSObject #pragma mark - Instance fields /// Comment text. @property (nonatomic, readonly, copy, nullable) NSString *commentText; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param commentText Comment text. /// /// @return An initialized instance. /// - (instancetype)initWithCommentText:(nullable NSString *)commentText; /// /// 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 `FileUnlikeCommentDetails` struct. /// @interface DBTEAMLOGFileUnlikeCommentDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGFileUnlikeCommentDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGFileUnlikeCommentDetails` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGFileUnlikeCommentDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGFileUnlikeCommentDetails *)instance; /// /// Deserializes `DBTEAMLOGFileUnlikeCommentDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGFileUnlikeCommentDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGFileUnlikeCommentDetails` object. /// + (DBTEAMLOGFileUnlikeCommentDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileUnlikeCommentType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileUnresolveCommentDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGFileUnresolveCommentDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `FileUnresolveCommentDetails` struct. /// /// Unresolved 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 DBTEAMLOGFileUnresolveCommentDetails : NSObject #pragma mark - Instance fields /// Comment text. @property (nonatomic, readonly, copy, nullable) NSString *commentText; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param commentText Comment text. /// /// @return An initialized instance. /// - (instancetype)initWithCommentText:(nullable NSString *)commentText; /// /// 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 `FileUnresolveCommentDetails` struct. /// @interface DBTEAMLOGFileUnresolveCommentDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGFileUnresolveCommentDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGFileUnresolveCommentDetails` /// API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGFileUnresolveCommentDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGFileUnresolveCommentDetails *)instance; /// /// Deserializes `DBTEAMLOGFileUnresolveCommentDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGFileUnresolveCommentDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGFileUnresolveCommentDetails` /// object. /// + (DBTEAMLOGFileUnresolveCommentDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileUnresolveCommentType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFolderLinkRestrictionPolicy.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFolderLinkRestrictionPolicyChangedDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFolderLinkRestrictionPolicyChangedType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFolderLogInfo.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" #import "DBTEAMLOGFileOrFolderLogInfo.h" @class DBTEAMLOGFolderLogInfo; @class DBTEAMLOGPathLogInfo; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `FolderLogInfo` struct. /// /// Folder'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 DBTEAMLOGFolderLogInfo : DBTEAMLOGFileOrFolderLogInfo #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. /// @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 fileSize:(nullable NSNumber *)fileSize fileCount:(nullable NSNumber *)fileCount; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param path Path relative to event context. /// /// @return An initialized instance. /// - (instancetype)initWithPath:(DBTEAMLOGPathLogInfo *)path; @end #pragma mark - Serializer Object /// /// The serialization class for the `FolderLogInfo` struct. /// @interface DBTEAMLOGFolderLogInfoSerializer : NSObject /// /// Serializes `DBTEAMLOGFolderLogInfo` instances. /// /// @param instance An instance of the `DBTEAMLOGFolderLogInfo` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGFolderLogInfo` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGFolderLogInfo *)instance; /// /// Deserializes `DBTEAMLOGFolderLogInfo` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGFolderLogInfo` API object. /// /// @return An instantiation of the `DBTEAMLOGFolderLogInfo` object. /// + (DBTEAMLOGFolderLogInfo *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFolderOverviewDescriptionChangedDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFolderOverviewDescriptionChangedType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFolderOverviewItemPinnedDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFolderOverviewItemPinnedType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFolderOverviewItemUnpinnedDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFolderOverviewItemUnpinnedType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGeoLocationLogInfo.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGGeoLocationLogInfo; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `GeoLocationLogInfo` struct. /// /// Geographic location details. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMLOGGeoLocationLogInfo : NSObject #pragma mark - Instance fields /// City name. @property (nonatomic, readonly, copy, nullable) NSString *city; /// Region name. @property (nonatomic, readonly, copy, nullable) NSString *region; /// Country code. @property (nonatomic, readonly, copy, nullable) NSString *country; /// IP address. @property (nonatomic, readonly, copy) NSString *ipAddress; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param ipAddress IP address. /// @param city City name. /// @param region Region name. /// @param country Country code. /// /// @return An initialized instance. /// - (instancetype)initWithIpAddress:(NSString *)ipAddress city:(nullable NSString *)city region:(nullable NSString *)region country:(nullable NSString *)country; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param ipAddress IP address. /// /// @return An initialized instance. /// - (instancetype)initWithIpAddress:(NSString *)ipAddress; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `GeoLocationLogInfo` struct. /// @interface DBTEAMLOGGeoLocationLogInfoSerializer : NSObject /// /// Serializes `DBTEAMLOGGeoLocationLogInfo` instances. /// /// @param instance An instance of the `DBTEAMLOGGeoLocationLogInfo` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGGeoLocationLogInfo` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGGeoLocationLogInfo *)instance; /// /// Deserializes `DBTEAMLOGGeoLocationLogInfo` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGGeoLocationLogInfo` API object. /// /// @return An instantiation of the `DBTEAMLOGGeoLocationLogInfo` object. /// + (DBTEAMLOGGeoLocationLogInfo *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGetTeamEventsArg.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMCOMMONTimeRange; @class DBTEAMLOGEventCategory; @class DBTEAMLOGEventTypeArg; @class DBTEAMLOGGetTeamEventsArg; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `GetTeamEventsArg` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMLOGGetTeamEventsArg : NSObject #pragma mark - Instance fields /// 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 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. 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 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. 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 eventType:(nullable DBTEAMLOGEventTypeArg *)eventType; /// /// 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 `GetTeamEventsArg` struct. /// @interface DBTEAMLOGGetTeamEventsArgSerializer : NSObject /// /// Serializes `DBTEAMLOGGetTeamEventsArg` instances. /// /// @param instance An instance of the `DBTEAMLOGGetTeamEventsArg` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGGetTeamEventsArg` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGGetTeamEventsArg *)instance; /// /// Deserializes `DBTEAMLOGGetTeamEventsArg` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGGetTeamEventsArg` API object. /// /// @return An instantiation of the `DBTEAMLOGGetTeamEventsArg` object. /// + (DBTEAMLOGGetTeamEventsArg *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGetTeamEventsContinueArg.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGGetTeamEventsContinueArg; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `GetTeamEventsContinueArg` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMLOGGetTeamEventsContinueArg : NSObject #pragma mark - Instance fields /// Indicates from what point to get the next set of events. @property (nonatomic, readonly, copy) NSString *cursor; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param cursor Indicates from what point to get the next set of events. /// /// @return An initialized instance. /// - (instancetype)initWithCursor:(NSString *)cursor; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `GetTeamEventsContinueArg` struct. /// @interface DBTEAMLOGGetTeamEventsContinueArgSerializer : NSObject /// /// Serializes `DBTEAMLOGGetTeamEventsContinueArg` instances. /// /// @param instance An instance of the `DBTEAMLOGGetTeamEventsContinueArg` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGGetTeamEventsContinueArg` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGGetTeamEventsContinueArg *)instance; /// /// Deserializes `DBTEAMLOGGetTeamEventsContinueArg` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGGetTeamEventsContinueArg` API object. /// /// @return An instantiation of the `DBTEAMLOGGetTeamEventsContinueArg` object. /// + (DBTEAMLOGGetTeamEventsContinueArg *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGetTeamEventsContinueError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGGetTeamEventsContinueError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `GetTeamEventsContinueError` union. /// /// Errors that can be raised when calling `getEventsContinue`. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMLOGGetTeamEventsContinueError : NSObject #pragma mark - Instance fields /// The `DBTEAMLOGGetTeamEventsContinueErrorTag` enum type represents the /// possible tag states with which the `DBTEAMLOGGetTeamEventsContinueError` /// union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGGetTeamEventsContinueErrorTag){ /// Bad cursor. DBTEAMLOGGetTeamEventsContinueErrorBadCursor, /// 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 /// /// Initializes union class with tag state of "bad_cursor". /// /// Description of the "bad_cursor" tag state: Bad cursor. /// /// @return An initialized instance. /// - (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". /// /// @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 "bad_cursor". /// /// @return Whether the union's current tag state has value "bad_cursor". /// - (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". /// /// @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 `DBTEAMLOGGetTeamEventsContinueError` union. /// @interface DBTEAMLOGGetTeamEventsContinueErrorSerializer : NSObject /// /// Serializes `DBTEAMLOGGetTeamEventsContinueError` instances. /// /// @param instance An instance of the `DBTEAMLOGGetTeamEventsContinueError` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGGetTeamEventsContinueError` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGGetTeamEventsContinueError *)instance; /// /// Deserializes `DBTEAMLOGGetTeamEventsContinueError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGGetTeamEventsContinueError` API object. /// /// @return An instantiation of the `DBTEAMLOGGetTeamEventsContinueError` /// object. /// + (DBTEAMLOGGetTeamEventsContinueError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGetTeamEventsError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGGetTeamEventsError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `GetTeamEventsError` union. /// /// Errors that can be raised when calling `getEvents`. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMLOGGetTeamEventsError : NSObject #pragma mark - Instance fields /// The `DBTEAMLOGGetTeamEventsErrorTag` enum type represents the possible tag /// states with which the `DBTEAMLOGGetTeamEventsError` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGGetTeamEventsErrorTag){ /// No user found matching the provided account_id. DBTEAMLOGGetTeamEventsErrorAccountIdNotFound, /// Invalid time range. DBTEAMLOGGetTeamEventsErrorInvalidTimeRange, /// Invalid filters. Do not specify both event_type and category parameters /// for the same call. DBTEAMLOGGetTeamEventsErrorInvalidFilters, /// (no description). DBTEAMLOGGetTeamEventsErrorOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMLOGGetTeamEventsErrorTag tag; #pragma mark - Constructors /// /// Initializes union class with tag state of "account_id_not_found". /// /// Description of the "account_id_not_found" tag state: No user found matching /// the provided account_id. /// /// @return An initialized instance. /// - (instancetype)initWithAccountIdNotFound; /// /// Initializes union class with tag state of "invalid_time_range". /// /// Description of the "invalid_time_range" tag state: Invalid time range. /// /// @return An initialized instance. /// - (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". /// /// @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_id_not_found". /// /// @return Whether the union's current tag state has value /// "account_id_not_found". /// - (BOOL)isAccountIdNotFound; /// /// Retrieves whether the union's current tag state has value /// "invalid_time_range". /// /// @return Whether the union's current tag state has value /// "invalid_time_range". /// - (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". /// /// @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 `DBTEAMLOGGetTeamEventsError` union. /// @interface DBTEAMLOGGetTeamEventsErrorSerializer : NSObject /// /// Serializes `DBTEAMLOGGetTeamEventsError` instances. /// /// @param instance An instance of the `DBTEAMLOGGetTeamEventsError` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGGetTeamEventsError` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGGetTeamEventsError *)instance; /// /// Deserializes `DBTEAMLOGGetTeamEventsError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGGetTeamEventsError` API object. /// /// @return An instantiation of the `DBTEAMLOGGetTeamEventsError` object. /// + (DBTEAMLOGGetTeamEventsError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGetTeamEventsResult.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGGetTeamEventsResult; @class DBTEAMLOGTeamEvent; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `GetTeamEventsResult` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMLOGGetTeamEventsResult : NSObject #pragma mark - Instance fields /// 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. 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 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 /// /// Full constructor for the struct (exposes all instance variables). /// /// @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. 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. /// - (instancetype)initWithEvents:(NSArray *)events cursor:(NSString *)cursor hasMore:(NSNumber *)hasMore; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `GetTeamEventsResult` struct. /// @interface DBTEAMLOGGetTeamEventsResultSerializer : NSObject /// /// Serializes `DBTEAMLOGGetTeamEventsResult` instances. /// /// @param instance An instance of the `DBTEAMLOGGetTeamEventsResult` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGGetTeamEventsResult` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGGetTeamEventsResult *)instance; /// /// Deserializes `DBTEAMLOGGetTeamEventsResult` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGGetTeamEventsResult` API object. /// /// @return An instantiation of the `DBTEAMLOGGetTeamEventsResult` object. /// + (DBTEAMLOGGetTeamEventsResult *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGoogleSsoChangePolicyDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGGoogleSsoChangePolicyDetails; @class DBTEAMLOGGoogleSsoPolicy; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `GoogleSsoChangePolicyDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGGoogleSsoChangePolicyDetails : NSObject #pragma mark - Instance fields /// New Google single sign-on policy. @property (nonatomic, readonly) DBTEAMLOGGoogleSsoPolicy *dNewValue; /// Previous Google single sign-on policy. Might be missing due to historical /// data gap. @property (nonatomic, readonly, nullable) DBTEAMLOGGoogleSsoPolicy *previousValue; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param dNewValue New Google single sign-on policy. /// @param previousValue Previous Google single sign-on policy. Might be missing /// due to historical data gap. /// /// @return An initialized instance. /// - (instancetype)initWithDNewValue:(DBTEAMLOGGoogleSsoPolicy *)dNewValue previousValue:(nullable DBTEAMLOGGoogleSsoPolicy *)previousValue; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param dNewValue New Google single sign-on policy. /// /// @return An initialized instance. /// - (instancetype)initWithDNewValue:(DBTEAMLOGGoogleSsoPolicy *)dNewValue; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `GoogleSsoChangePolicyDetails` struct. /// @interface DBTEAMLOGGoogleSsoChangePolicyDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGGoogleSsoChangePolicyDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGGoogleSsoChangePolicyDetails` /// API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGGoogleSsoChangePolicyDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGGoogleSsoChangePolicyDetails *)instance; /// /// Deserializes `DBTEAMLOGGoogleSsoChangePolicyDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGGoogleSsoChangePolicyDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGGoogleSsoChangePolicyDetails` /// object. /// + (DBTEAMLOGGoogleSsoChangePolicyDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGoogleSsoChangePolicyType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGoogleSsoPolicy.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGGoogleSsoPolicy; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `GoogleSsoPolicy` union. /// /// Google SSO policy /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMLOGGoogleSsoPolicy : NSObject #pragma mark - Instance fields /// The `DBTEAMLOGGoogleSsoPolicyTag` enum type represents the possible tag /// states with which the `DBTEAMLOGGoogleSsoPolicy` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGGoogleSsoPolicyTag){ /// (no description). DBTEAMLOGGoogleSsoPolicyDisabled, /// (no description). DBTEAMLOGGoogleSsoPolicyEnabled, /// (no description). DBTEAMLOGGoogleSsoPolicyOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMLOGGoogleSsoPolicyTag 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 `DBTEAMLOGGoogleSsoPolicy` union. /// @interface DBTEAMLOGGoogleSsoPolicySerializer : NSObject /// /// Serializes `DBTEAMLOGGoogleSsoPolicy` instances. /// /// @param instance An instance of the `DBTEAMLOGGoogleSsoPolicy` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGGoogleSsoPolicy` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGGoogleSsoPolicy *)instance; /// /// Deserializes `DBTEAMLOGGoogleSsoPolicy` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGGoogleSsoPolicy` API object. /// /// @return An instantiation of the `DBTEAMLOGGoogleSsoPolicy` object. /// + (DBTEAMLOGGoogleSsoPolicy *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGovernancePolicyAddFolderFailedDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGovernancePolicyAddFolderFailedType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGovernancePolicyAddFoldersDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGovernancePolicyAddFoldersType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGovernancePolicyContentDisposedDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGovernancePolicyContentDisposedType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGovernancePolicyCreateDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGovernancePolicyCreateType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGovernancePolicyDeleteDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGovernancePolicyDeleteType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGovernancePolicyEditDetailsDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGovernancePolicyEditDetailsType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGovernancePolicyEditDurationDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGovernancePolicyEditDurationType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGovernancePolicyExportCreatedDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGovernancePolicyExportCreatedType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGovernancePolicyExportRemovedDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGovernancePolicyExportRemovedType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGovernancePolicyRemoveFoldersDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGovernancePolicyRemoveFoldersType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGovernancePolicyReportCreatedDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGovernancePolicyReportCreatedType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGovernancePolicyZipPartDownloadedDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGovernancePolicyZipPartDownloadedType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupAddExternalIdDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGGroupAddExternalIdDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `GroupAddExternalIdDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGGroupAddExternalIdDetails : 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 `GroupAddExternalIdDetails` struct. /// @interface DBTEAMLOGGroupAddExternalIdDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGGroupAddExternalIdDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGGroupAddExternalIdDetails` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGGroupAddExternalIdDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGGroupAddExternalIdDetails *)instance; /// /// Deserializes `DBTEAMLOGGroupAddExternalIdDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGGroupAddExternalIdDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGGroupAddExternalIdDetails` object. /// + (DBTEAMLOGGroupAddExternalIdDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupAddExternalIdType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupAddMemberDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGGroupAddMemberDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `GroupAddMemberDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGGroupAddMemberDetails : NSObject #pragma mark - Instance fields /// Is group owner. @property (nonatomic, readonly) NSNumber *isGroupOwner; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param isGroupOwner Is group owner. /// /// @return An initialized instance. /// - (instancetype)initWithIsGroupOwner:(NSNumber *)isGroupOwner; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `GroupAddMemberDetails` struct. /// @interface DBTEAMLOGGroupAddMemberDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGGroupAddMemberDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGGroupAddMemberDetails` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGGroupAddMemberDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGGroupAddMemberDetails *)instance; /// /// Deserializes `DBTEAMLOGGroupAddMemberDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGGroupAddMemberDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGGroupAddMemberDetails` object. /// + (DBTEAMLOGGroupAddMemberDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupAddMemberType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupChangeExternalIdDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGGroupChangeExternalIdDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `GroupChangeExternalIdDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGGroupChangeExternalIdDetails : 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 `GroupChangeExternalIdDetails` struct. /// @interface DBTEAMLOGGroupChangeExternalIdDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGGroupChangeExternalIdDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGGroupChangeExternalIdDetails` /// API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGGroupChangeExternalIdDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGGroupChangeExternalIdDetails *)instance; /// /// Deserializes `DBTEAMLOGGroupChangeExternalIdDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGGroupChangeExternalIdDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGGroupChangeExternalIdDetails` /// object. /// + (DBTEAMLOGGroupChangeExternalIdDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupChangeExternalIdType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupChangeManagementTypeDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMCOMMONGroupManagementType; @class DBTEAMLOGGroupChangeManagementTypeDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `GroupChangeManagementTypeDetails` struct. /// /// Changed group management type. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMLOGGroupChangeManagementTypeDetails : NSObject #pragma mark - Instance fields /// New group management type. @property (nonatomic, readonly) DBTEAMCOMMONGroupManagementType *dNewValue; /// Previous group management type. Might be missing due to historical data gap. @property (nonatomic, readonly, nullable) DBTEAMCOMMONGroupManagementType *previousValue; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param dNewValue New group management type. /// @param previousValue Previous group management type. Might be missing due to /// historical data gap. /// /// @return An initialized instance. /// - (instancetype)initWithDNewValue:(DBTEAMCOMMONGroupManagementType *)dNewValue previousValue:(nullable DBTEAMCOMMONGroupManagementType *)previousValue; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param dNewValue New group management type. /// /// @return An initialized instance. /// - (instancetype)initWithDNewValue:(DBTEAMCOMMONGroupManagementType *)dNewValue; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `GroupChangeManagementTypeDetails` struct. /// @interface DBTEAMLOGGroupChangeManagementTypeDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGGroupChangeManagementTypeDetails` instances. /// /// @param instance An instance of the /// `DBTEAMLOGGroupChangeManagementTypeDetails` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGGroupChangeManagementTypeDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGGroupChangeManagementTypeDetails *)instance; /// /// Deserializes `DBTEAMLOGGroupChangeManagementTypeDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGGroupChangeManagementTypeDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGGroupChangeManagementTypeDetails` /// object. /// + (DBTEAMLOGGroupChangeManagementTypeDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupChangeManagementTypeType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupChangeMemberRoleDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGGroupChangeMemberRoleDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `GroupChangeMemberRoleDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGGroupChangeMemberRoleDetails : NSObject #pragma mark - Instance fields /// Is group owner. @property (nonatomic, readonly) NSNumber *isGroupOwner; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param isGroupOwner Is group owner. /// /// @return An initialized instance. /// - (instancetype)initWithIsGroupOwner:(NSNumber *)isGroupOwner; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `GroupChangeMemberRoleDetails` struct. /// @interface DBTEAMLOGGroupChangeMemberRoleDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGGroupChangeMemberRoleDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGGroupChangeMemberRoleDetails` /// API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGGroupChangeMemberRoleDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGGroupChangeMemberRoleDetails *)instance; /// /// Deserializes `DBTEAMLOGGroupChangeMemberRoleDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGGroupChangeMemberRoleDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGGroupChangeMemberRoleDetails` /// object. /// + (DBTEAMLOGGroupChangeMemberRoleDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupChangeMemberRoleType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupCreateDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGGroupCreateDetails; @class DBTEAMLOGGroupJoinPolicy; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `GroupCreateDetails` struct. /// /// Created group. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMLOGGroupCreateDetails : 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 `GroupCreateDetails` struct. /// @interface DBTEAMLOGGroupCreateDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGGroupCreateDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGGroupCreateDetails` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGGroupCreateDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGGroupCreateDetails *)instance; /// /// Deserializes `DBTEAMLOGGroupCreateDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGGroupCreateDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGGroupCreateDetails` object. /// + (DBTEAMLOGGroupCreateDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupCreateType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupDeleteDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGGroupDeleteDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `GroupDeleteDetails` struct. /// /// Deleted group. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMLOGGroupDeleteDetails : NSObject #pragma mark - Instance fields /// Is company managed group. @property (nonatomic, readonly, nullable) NSNumber *isCompanyManaged; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param isCompanyManaged Is company managed group. /// /// @return An initialized instance. /// - (instancetype)initWithIsCompanyManaged:(nullable NSNumber *)isCompanyManaged; /// /// 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 `GroupDeleteDetails` struct. /// @interface DBTEAMLOGGroupDeleteDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGGroupDeleteDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGGroupDeleteDetails` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGGroupDeleteDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGGroupDeleteDetails *)instance; /// /// Deserializes `DBTEAMLOGGroupDeleteDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGGroupDeleteDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGGroupDeleteDetails` object. /// + (DBTEAMLOGGroupDeleteDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupDeleteType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupDescriptionUpdatedDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGGroupDescriptionUpdatedDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `GroupDescriptionUpdatedDetails` struct. /// /// 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 DBTEAMLOGGroupDescriptionUpdatedDetails : 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 `GroupDescriptionUpdatedDetails` struct. /// @interface DBTEAMLOGGroupDescriptionUpdatedDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGGroupDescriptionUpdatedDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGGroupDescriptionUpdatedDetails` /// API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGGroupDescriptionUpdatedDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGGroupDescriptionUpdatedDetails *)instance; /// /// Deserializes `DBTEAMLOGGroupDescriptionUpdatedDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGGroupDescriptionUpdatedDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGGroupDescriptionUpdatedDetails` /// object. /// + (DBTEAMLOGGroupDescriptionUpdatedDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupDescriptionUpdatedType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupJoinPolicy.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGGroupJoinPolicy; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `GroupJoinPolicy` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMLOGGroupJoinPolicy : NSObject #pragma mark - Instance fields /// The `DBTEAMLOGGroupJoinPolicyTag` enum type represents the possible tag /// states with which the `DBTEAMLOGGroupJoinPolicy` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGGroupJoinPolicyTag){ /// (no description). DBTEAMLOGGroupJoinPolicyOpen, /// (no description). DBTEAMLOGGroupJoinPolicyRequestToJoin, /// (no description). DBTEAMLOGGroupJoinPolicyOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMLOGGroupJoinPolicyTag tag; #pragma mark - Constructors /// /// Initializes union class with tag state of "open". /// /// @return An initialized instance. /// - (instancetype)initWithOpen; /// /// Initializes union class with tag state of "request_to_join". /// /// @return An initialized instance. /// - (instancetype)initWithRequestToJoin; /// /// 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 "open". /// /// @return Whether the union's current tag state has value "open". /// - (BOOL)isOpen; /// /// Retrieves whether the union's current tag state has value "request_to_join". /// /// @return Whether the union's current tag state has value "request_to_join". /// - (BOOL)isRequestToJoin; /// /// 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 `DBTEAMLOGGroupJoinPolicy` union. /// @interface DBTEAMLOGGroupJoinPolicySerializer : NSObject /// /// Serializes `DBTEAMLOGGroupJoinPolicy` instances. /// /// @param instance An instance of the `DBTEAMLOGGroupJoinPolicy` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGGroupJoinPolicy` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGGroupJoinPolicy *)instance; /// /// Deserializes `DBTEAMLOGGroupJoinPolicy` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGGroupJoinPolicy` API object. /// /// @return An instantiation of the `DBTEAMLOGGroupJoinPolicy` object. /// + (DBTEAMLOGGroupJoinPolicy *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupJoinPolicyUpdatedDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupJoinPolicyUpdatedType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupLogInfo.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGGroupLogInfo; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `GroupLogInfo` struct. /// /// Group'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 DBTEAMLOGGroupLogInfo : NSObject #pragma mark - Instance fields /// 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. @property (nonatomic, readonly, copy, nullable) NSString *externalId; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param displayName The name of this group. /// @param groupId The unique id of this group. /// @param externalId External group ID. /// /// @return An initialized instance. /// - (instancetype)initWithDisplayName:(NSString *)displayName groupId:(nullable NSString *)groupId externalId:(nullable NSString *)externalId; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param displayName The name of this group. /// /// @return An initialized instance. /// - (instancetype)initWithDisplayName:(NSString *)displayName; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `GroupLogInfo` struct. /// @interface DBTEAMLOGGroupLogInfoSerializer : NSObject /// /// Serializes `DBTEAMLOGGroupLogInfo` instances. /// /// @param instance An instance of the `DBTEAMLOGGroupLogInfo` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGGroupLogInfo` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGGroupLogInfo *)instance; /// /// Deserializes `DBTEAMLOGGroupLogInfo` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGGroupLogInfo` API object. /// /// @return An instantiation of the `DBTEAMLOGGroupLogInfo` object. /// + (DBTEAMLOGGroupLogInfo *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupMovedDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGGroupMovedDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `GroupMovedDetails` struct. /// /// Moved group. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMLOGGroupMovedDetails : 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 `GroupMovedDetails` struct. /// @interface DBTEAMLOGGroupMovedDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGGroupMovedDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGGroupMovedDetails` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGGroupMovedDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGGroupMovedDetails *)instance; /// /// Deserializes `DBTEAMLOGGroupMovedDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGGroupMovedDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGGroupMovedDetails` object. /// + (DBTEAMLOGGroupMovedDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupMovedType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupRemoveExternalIdDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGGroupRemoveExternalIdDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `GroupRemoveExternalIdDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGGroupRemoveExternalIdDetails : 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 `GroupRemoveExternalIdDetails` struct. /// @interface DBTEAMLOGGroupRemoveExternalIdDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGGroupRemoveExternalIdDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGGroupRemoveExternalIdDetails` /// API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGGroupRemoveExternalIdDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGGroupRemoveExternalIdDetails *)instance; /// /// Deserializes `DBTEAMLOGGroupRemoveExternalIdDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGGroupRemoveExternalIdDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGGroupRemoveExternalIdDetails` /// object. /// + (DBTEAMLOGGroupRemoveExternalIdDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupRemoveExternalIdType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupRemoveMemberDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGGroupRemoveMemberDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `GroupRemoveMemberDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGGroupRemoveMemberDetails : 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 `GroupRemoveMemberDetails` struct. /// @interface DBTEAMLOGGroupRemoveMemberDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGGroupRemoveMemberDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGGroupRemoveMemberDetails` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGGroupRemoveMemberDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGGroupRemoveMemberDetails *)instance; /// /// Deserializes `DBTEAMLOGGroupRemoveMemberDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGGroupRemoveMemberDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGGroupRemoveMemberDetails` object. /// + (DBTEAMLOGGroupRemoveMemberDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupRemoveMemberType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupRenameDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGGroupRenameDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `GroupRenameDetails` struct. /// /// Renamed group. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMLOGGroupRenameDetails : NSObject #pragma mark - Instance fields /// Previous display name. @property (nonatomic, readonly, copy) NSString *previousValue; /// New display name. @property (nonatomic, readonly, copy) NSString *dNewValue; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param previousValue Previous display name. /// @param dNewValue New display name. /// /// @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 `GroupRenameDetails` struct. /// @interface DBTEAMLOGGroupRenameDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGGroupRenameDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGGroupRenameDetails` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGGroupRenameDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGGroupRenameDetails *)instance; /// /// Deserializes `DBTEAMLOGGroupRenameDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGGroupRenameDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGGroupRenameDetails` object. /// + (DBTEAMLOGGroupRenameDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupRenameType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupUserManagementChangePolicyDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGGroupUserManagementChangePolicyDetails; @class DBTEAMPOLICIESGroupCreation; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `GroupUserManagementChangePolicyDetails` struct. /// /// Changed who can create groups. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMLOGGroupUserManagementChangePolicyDetails : NSObject #pragma mark - Instance fields /// New group users management policy. @property (nonatomic, readonly) DBTEAMPOLICIESGroupCreation *dNewValue; /// Previous group users management policy. Might be missing due to historical /// data gap. @property (nonatomic, readonly, nullable) DBTEAMPOLICIESGroupCreation *previousValue; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param dNewValue New group users management policy. /// @param previousValue Previous group users management policy. Might be /// missing due to historical data gap. /// /// @return An initialized instance. /// - (instancetype)initWithDNewValue:(DBTEAMPOLICIESGroupCreation *)dNewValue previousValue:(nullable DBTEAMPOLICIESGroupCreation *)previousValue; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param dNewValue New group users management policy. /// /// @return An initialized instance. /// - (instancetype)initWithDNewValue:(DBTEAMPOLICIESGroupCreation *)dNewValue; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `GroupUserManagementChangePolicyDetails` /// struct. /// @interface DBTEAMLOGGroupUserManagementChangePolicyDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGGroupUserManagementChangePolicyDetails` instances. /// /// @param instance An instance of the /// `DBTEAMLOGGroupUserManagementChangePolicyDetails` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGGroupUserManagementChangePolicyDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGGroupUserManagementChangePolicyDetails *)instance; /// /// Deserializes `DBTEAMLOGGroupUserManagementChangePolicyDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGGroupUserManagementChangePolicyDetails` API object. /// /// @return An instantiation of the /// `DBTEAMLOGGroupUserManagementChangePolicyDetails` object. /// + (DBTEAMLOGGroupUserManagementChangePolicyDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupUserManagementChangePolicyType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGuestAdminChangeStatusDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGuestAdminChangeStatusType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGuestAdminSignedInViaTrustedTeamsDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGuestAdminSignedInViaTrustedTeamsType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGuestAdminSignedOutViaTrustedTeamsDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGuestAdminSignedOutViaTrustedTeamsType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGIdentifierType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGIntegrationConnectedDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGIntegrationConnectedType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGIntegrationDisconnectedDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGIntegrationDisconnectedType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGIntegrationPolicy.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGIntegrationPolicyChangedDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGIntegrationPolicyChangedType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGInviteAcceptanceEmailPolicy.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGInviteAcceptanceEmailPolicyChangedDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGInviteAcceptanceEmailPolicyChangedType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGInviteMethod.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGJoinTeamDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGFolderLogInfo; @class DBTEAMLOGJoinTeamDetails; @class DBTEAMLOGLinkedDeviceLogInfo; @class DBTEAMLOGUserLinkedAppLogInfo; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `JoinTeamDetails` struct. /// /// Additional information relevant when a new member joins 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 DBTEAMLOGJoinTeamDetails : NSObject #pragma mark - Instance fields /// Linked applications. (Deprecated) Please use has_linked_apps boolean field /// instead. @property (nonatomic, readonly) NSArray *linkedApps; /// Linked devices. (Deprecated) Please use has_linked_devices boolean field /// instead. @property (nonatomic, readonly) NSArray *linkedDevices; /// 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. (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 linkedSharedFolders:(NSArray *)linkedSharedFolders; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `JoinTeamDetails` struct. /// @interface DBTEAMLOGJoinTeamDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGJoinTeamDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGJoinTeamDetails` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGJoinTeamDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGJoinTeamDetails *)instance; /// /// Deserializes `DBTEAMLOGJoinTeamDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGJoinTeamDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGJoinTeamDetails` object. /// + (DBTEAMLOGJoinTeamDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLabelType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLegacyDeviceSessionLogInfo.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLegalHoldsActivateAHoldDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLegalHoldsActivateAHoldType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLegalHoldsAddMembersDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLegalHoldsAddMembersType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLegalHoldsChangeHoldDetailsDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLegalHoldsChangeHoldDetailsType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLegalHoldsChangeHoldNameDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLegalHoldsChangeHoldNameType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLegalHoldsExportAHoldDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLegalHoldsExportAHoldType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLegalHoldsExportCancelledDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLegalHoldsExportCancelledType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLegalHoldsExportDownloadedDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLegalHoldsExportDownloadedType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLegalHoldsExportRemovedDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLegalHoldsExportRemovedType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLegalHoldsReleaseAHoldDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLegalHoldsReleaseAHoldType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLegalHoldsRemoveMembersDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLegalHoldsRemoveMembersType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLegalHoldsReportAHoldDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLegalHoldsReportAHoldType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLinkedDeviceLogInfo.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLockStatus.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLoginFailDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGFailureDetailsLogInfo; @class DBTEAMLOGLoginFailDetails; @class DBTEAMLOGLoginMethod; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `LoginFailDetails` struct. /// /// Failed to sign in. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMLOGLoginFailDetails : NSObject #pragma mark - Instance fields /// Tells if the login device is EMM managed. Might be missing due to historical /// data gap. @property (nonatomic, readonly, nullable) NSNumber *isEmmManaged; /// Login method. @property (nonatomic, readonly) DBTEAMLOGLoginMethod *loginMethod; /// Error details. @property (nonatomic, readonly) DBTEAMLOGFailureDetailsLogInfo *errorDetails; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param loginMethod Login method. /// @param errorDetails Error details. /// @param isEmmManaged Tells if the login device is EMM managed. Might be /// missing due to historical data gap. /// /// @return An initialized instance. /// - (instancetype)initWithLoginMethod:(DBTEAMLOGLoginMethod *)loginMethod errorDetails:(DBTEAMLOGFailureDetailsLogInfo *)errorDetails isEmmManaged:(nullable NSNumber *)isEmmManaged; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param loginMethod Login method. /// @param errorDetails Error details. /// /// @return An initialized instance. /// - (instancetype)initWithLoginMethod:(DBTEAMLOGLoginMethod *)loginMethod errorDetails:(DBTEAMLOGFailureDetailsLogInfo *)errorDetails; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `LoginFailDetails` struct. /// @interface DBTEAMLOGLoginFailDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGLoginFailDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGLoginFailDetails` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGLoginFailDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGLoginFailDetails *)instance; /// /// Deserializes `DBTEAMLOGLoginFailDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGLoginFailDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGLoginFailDetails` object. /// + (DBTEAMLOGLoginFailDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLoginFailType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLoginMethod.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGLoginMethod; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `LoginMethod` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMLOGLoginMethod : NSObject #pragma mark - Instance fields /// The `DBTEAMLOGLoginMethodTag` enum type represents the possible tag states /// with which the `DBTEAMLOGLoginMethod` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGLoginMethodTag){ /// (no description). DBTEAMLOGLoginMethodAppleOauth, /// (no description). DBTEAMLOGLoginMethodFirstPartyTokenExchange, /// (no description). DBTEAMLOGLoginMethodGoogleOauth, /// (no description). DBTEAMLOGLoginMethodLenovoOauth, /// (no description). DBTEAMLOGLoginMethodPassword, /// (no description). DBTEAMLOGLoginMethodQrCode, /// (no description). DBTEAMLOGLoginMethodSaml, /// (no description). DBTEAMLOGLoginMethodTwoFactorAuthentication, /// (no description). DBTEAMLOGLoginMethodWebSession, /// (no description). DBTEAMLOGLoginMethodOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMLOGLoginMethodTag tag; #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". /// /// @return An initialized instance. /// - (instancetype)initWithPassword; /// /// Initializes union class with tag state of "qr_code". /// /// @return An initialized instance. /// - (instancetype)initWithQrCode; /// /// Initializes union class with tag state of "saml". /// /// @return An initialized instance. /// - (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". /// /// @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 "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". /// /// @return Whether the union's current tag state has value "password". /// - (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". /// /// @return Whether the union's current tag state has value /// "two_factor_authentication". /// - (BOOL)isTwoFactorAuthentication; /// /// Retrieves whether the union's current tag state has value "web_session". /// /// @return Whether the union's current tag state has value "web_session". /// - (BOOL)isWebSession; /// /// 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 `DBTEAMLOGLoginMethod` union. /// @interface DBTEAMLOGLoginMethodSerializer : NSObject /// /// Serializes `DBTEAMLOGLoginMethod` instances. /// /// @param instance An instance of the `DBTEAMLOGLoginMethod` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGLoginMethod` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGLoginMethod *)instance; /// /// Deserializes `DBTEAMLOGLoginMethod` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGLoginMethod` API object. /// /// @return An instantiation of the `DBTEAMLOGLoginMethod` object. /// + (DBTEAMLOGLoginMethod *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLoginSuccessDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGLoginMethod; @class DBTEAMLOGLoginSuccessDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `LoginSuccessDetails` struct. /// /// Signed in. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMLOGLoginSuccessDetails : NSObject #pragma mark - Instance fields /// Tells if the login device is EMM managed. Might be missing due to historical /// data gap. @property (nonatomic, readonly, nullable) NSNumber *isEmmManaged; /// Login method. @property (nonatomic, readonly) DBTEAMLOGLoginMethod *loginMethod; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param loginMethod Login method. /// @param isEmmManaged Tells if the login device is EMM managed. Might be /// missing due to historical data gap. /// /// @return An initialized instance. /// - (instancetype)initWithLoginMethod:(DBTEAMLOGLoginMethod *)loginMethod isEmmManaged:(nullable NSNumber *)isEmmManaged; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param loginMethod Login method. /// /// @return An initialized instance. /// - (instancetype)initWithLoginMethod:(DBTEAMLOGLoginMethod *)loginMethod; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `LoginSuccessDetails` struct. /// @interface DBTEAMLOGLoginSuccessDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGLoginSuccessDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGLoginSuccessDetails` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGLoginSuccessDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGLoginSuccessDetails *)instance; /// /// Deserializes `DBTEAMLOGLoginSuccessDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGLoginSuccessDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGLoginSuccessDetails` object. /// + (DBTEAMLOGLoginSuccessDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLoginSuccessType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLogoutDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGLogoutDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `LogoutDetails` struct. /// /// Signed out. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMLOGLogoutDetails : NSObject #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; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `LogoutDetails` struct. /// @interface DBTEAMLOGLogoutDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGLogoutDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGLogoutDetails` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGLogoutDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGLogoutDetails *)instance; /// /// Deserializes `DBTEAMLOGLogoutDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGLogoutDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGLogoutDetails` object. /// + (DBTEAMLOGLogoutDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLogoutType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberAddExternalIdDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberAddExternalIdType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberAddNameDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGMemberAddNameDetails; @class DBTEAMLOGUserNameLogInfo; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `MemberAddNameDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGMemberAddNameDetails : NSObject #pragma mark - Instance fields /// New user's name. @property (nonatomic, readonly) DBTEAMLOGUserNameLogInfo *dNewValue; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param dNewValue New user's name. /// /// @return An initialized instance. /// - (instancetype)initWithDNewValue:(DBTEAMLOGUserNameLogInfo *)dNewValue; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `MemberAddNameDetails` struct. /// @interface DBTEAMLOGMemberAddNameDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGMemberAddNameDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGMemberAddNameDetails` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGMemberAddNameDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGMemberAddNameDetails *)instance; /// /// Deserializes `DBTEAMLOGMemberAddNameDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGMemberAddNameDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGMemberAddNameDetails` object. /// + (DBTEAMLOGMemberAddNameDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberAddNameType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberChangeAdminRoleDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGAdminRole; @class DBTEAMLOGMemberChangeAdminRoleDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `MemberChangeAdminRoleDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGMemberChangeAdminRoleDetails : NSObject #pragma mark - Instance fields /// New admin role. This field is relevant when the admin role is changed or /// whenthe user role changes from no admin rights to with admin rights. @property (nonatomic, readonly, nullable) DBTEAMLOGAdminRole *dNewValue; /// Previous admin role. This field is relevant when the admin role is changed /// or when the admin role is removed. @property (nonatomic, readonly, nullable) DBTEAMLOGAdminRole *previousValue; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param dNewValue New admin role. This field is relevant when the admin role /// is changed or whenthe user role changes from no admin rights to with admin /// rights. /// @param previousValue Previous admin role. This field is relevant when the /// admin role is changed or when the admin role is removed. /// /// @return An initialized instance. /// - (instancetype)initWithDNewValue:(nullable DBTEAMLOGAdminRole *)dNewValue previousValue:(nullable DBTEAMLOGAdminRole *)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 `MemberChangeAdminRoleDetails` struct. /// @interface DBTEAMLOGMemberChangeAdminRoleDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGMemberChangeAdminRoleDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGMemberChangeAdminRoleDetails` /// API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGMemberChangeAdminRoleDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGMemberChangeAdminRoleDetails *)instance; /// /// Deserializes `DBTEAMLOGMemberChangeAdminRoleDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGMemberChangeAdminRoleDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGMemberChangeAdminRoleDetails` /// object. /// + (DBTEAMLOGMemberChangeAdminRoleDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberChangeAdminRoleType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberChangeEmailDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGMemberChangeEmailDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `MemberChangeEmailDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGMemberChangeEmailDetails : NSObject #pragma mark - Instance fields /// New email. @property (nonatomic, readonly, copy) NSString *dNewValue; /// Previous email. Might be missing due to historical data gap. @property (nonatomic, readonly, copy, nullable) NSString *previousValue; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param dNewValue New email. /// @param previousValue Previous email. Might be missing due to historical data /// gap. /// /// @return An initialized instance. /// - (instancetype)initWithDNewValue:(NSString *)dNewValue previousValue:(nullable NSString *)previousValue; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param dNewValue New email. /// /// @return An initialized instance. /// - (instancetype)initWithDNewValue:(NSString *)dNewValue; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `MemberChangeEmailDetails` struct. /// @interface DBTEAMLOGMemberChangeEmailDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGMemberChangeEmailDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGMemberChangeEmailDetails` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGMemberChangeEmailDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGMemberChangeEmailDetails *)instance; /// /// Deserializes `DBTEAMLOGMemberChangeEmailDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGMemberChangeEmailDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGMemberChangeEmailDetails` object. /// + (DBTEAMLOGMemberChangeEmailDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberChangeEmailType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberChangeExternalIdDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberChangeExternalIdType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberChangeMembershipTypeDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGMemberChangeMembershipTypeDetails; @class DBTEAMLOGTeamMembershipType; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `MemberChangeMembershipTypeDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGMemberChangeMembershipTypeDetails : NSObject #pragma mark - Instance fields /// Previous membership type. @property (nonatomic, readonly) DBTEAMLOGTeamMembershipType *prevValue; /// New membership type. @property (nonatomic, readonly) DBTEAMLOGTeamMembershipType *dNewValue; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param prevValue Previous membership type. /// @param dNewValue New membership type. /// /// @return An initialized instance. /// - (instancetype)initWithPrevValue:(DBTEAMLOGTeamMembershipType *)prevValue dNewValue:(DBTEAMLOGTeamMembershipType *)dNewValue; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `MemberChangeMembershipTypeDetails` struct. /// @interface DBTEAMLOGMemberChangeMembershipTypeDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGMemberChangeMembershipTypeDetails` instances. /// /// @param instance An instance of the /// `DBTEAMLOGMemberChangeMembershipTypeDetails` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGMemberChangeMembershipTypeDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGMemberChangeMembershipTypeDetails *)instance; /// /// Deserializes `DBTEAMLOGMemberChangeMembershipTypeDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGMemberChangeMembershipTypeDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGMemberChangeMembershipTypeDetails` /// object. /// + (DBTEAMLOGMemberChangeMembershipTypeDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberChangeMembershipTypeType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberChangeNameDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGMemberChangeNameDetails; @class DBTEAMLOGUserNameLogInfo; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `MemberChangeNameDetails` struct. /// /// Changed team member name. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMLOGMemberChangeNameDetails : NSObject #pragma mark - Instance fields /// New user's name. @property (nonatomic, readonly) DBTEAMLOGUserNameLogInfo *dNewValue; /// Previous user's name. Might be missing due to historical data gap. @property (nonatomic, readonly, nullable) DBTEAMLOGUserNameLogInfo *previousValue; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param dNewValue New user's name. /// @param previousValue Previous user's name. Might be missing due to /// historical data gap. /// /// @return An initialized instance. /// - (instancetype)initWithDNewValue:(DBTEAMLOGUserNameLogInfo *)dNewValue previousValue:(nullable DBTEAMLOGUserNameLogInfo *)previousValue; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param dNewValue New user's name. /// /// @return An initialized instance. /// - (instancetype)initWithDNewValue:(DBTEAMLOGUserNameLogInfo *)dNewValue; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `MemberChangeNameDetails` struct. /// @interface DBTEAMLOGMemberChangeNameDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGMemberChangeNameDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGMemberChangeNameDetails` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGMemberChangeNameDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGMemberChangeNameDetails *)instance; /// /// Deserializes `DBTEAMLOGMemberChangeNameDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGMemberChangeNameDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGMemberChangeNameDetails` object. /// + (DBTEAMLOGMemberChangeNameDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberChangeNameType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberChangeResellerRoleDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberChangeResellerRoleType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberChangeStatusDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGActionDetails; @class DBTEAMLOGMemberChangeStatusDetails; @class DBTEAMLOGMemberStatus; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `MemberChangeStatusDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGMemberChangeStatusDetails : NSObject #pragma mark - Instance fields /// Previous member status. Might be missing due to historical data gap. @property (nonatomic, readonly, nullable) DBTEAMLOGMemberStatus *previousValue; /// New member status. @property (nonatomic, readonly) DBTEAMLOGMemberStatus *dNewValue; /// 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 /// /// Full constructor for the struct (exposes all instance variables). /// /// @param dNewValue New member status. /// @param previousValue Previous member status. Might be missing due to /// historical data gap. /// @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 action:(nullable DBTEAMLOGActionDetails *)action dNewTeam:(nullable NSString *)dNewTeam previousTeam:(nullable NSString *)previousTeam; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param dNewValue New member status. /// /// @return An initialized instance. /// - (instancetype)initWithDNewValue:(DBTEAMLOGMemberStatus *)dNewValue; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `MemberChangeStatusDetails` struct. /// @interface DBTEAMLOGMemberChangeStatusDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGMemberChangeStatusDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGMemberChangeStatusDetails` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGMemberChangeStatusDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGMemberChangeStatusDetails *)instance; /// /// Deserializes `DBTEAMLOGMemberChangeStatusDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGMemberChangeStatusDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGMemberChangeStatusDetails` object. /// + (DBTEAMLOGMemberChangeStatusDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberChangeStatusType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberDeleteManualContactsDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberDeleteManualContactsType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberDeleteProfilePhotoDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberDeleteProfilePhotoType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberPermanentlyDeleteAccountContentsDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGMemberPermanentlyDeleteAccountContentsDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `MemberPermanentlyDeleteAccountContentsDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGMemberPermanentlyDeleteAccountContentsDetails : 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 /// `MemberPermanentlyDeleteAccountContentsDetails` struct. /// @interface DBTEAMLOGMemberPermanentlyDeleteAccountContentsDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGMemberPermanentlyDeleteAccountContentsDetails` /// instances. /// /// @param instance An instance of the /// `DBTEAMLOGMemberPermanentlyDeleteAccountContentsDetails` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGMemberPermanentlyDeleteAccountContentsDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGMemberPermanentlyDeleteAccountContentsDetails *)instance; /// /// Deserializes `DBTEAMLOGMemberPermanentlyDeleteAccountContentsDetails` /// instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGMemberPermanentlyDeleteAccountContentsDetails` API object. /// /// @return An instantiation of the /// `DBTEAMLOGMemberPermanentlyDeleteAccountContentsDetails` object. /// + (DBTEAMLOGMemberPermanentlyDeleteAccountContentsDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberPermanentlyDeleteAccountContentsType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberRemoveActionType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberRemoveExternalIdDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberRemoveExternalIdType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberRequestsChangePolicyDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGMemberRequestsChangePolicyDetails; @class DBTEAMLOGMemberRequestsPolicy; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `MemberRequestsChangePolicyDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGMemberRequestsChangePolicyDetails : NSObject #pragma mark - Instance fields /// New member change requests policy. @property (nonatomic, readonly) DBTEAMLOGMemberRequestsPolicy *dNewValue; /// Previous member change requests policy. Might be missing due to historical /// data gap. @property (nonatomic, readonly, nullable) DBTEAMLOGMemberRequestsPolicy *previousValue; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param dNewValue New member change requests policy. /// @param previousValue Previous member change requests policy. Might be /// missing due to historical data gap. /// /// @return An initialized instance. /// - (instancetype)initWithDNewValue:(DBTEAMLOGMemberRequestsPolicy *)dNewValue previousValue:(nullable DBTEAMLOGMemberRequestsPolicy *)previousValue; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param dNewValue New member change requests policy. /// /// @return An initialized instance. /// - (instancetype)initWithDNewValue:(DBTEAMLOGMemberRequestsPolicy *)dNewValue; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `MemberRequestsChangePolicyDetails` struct. /// @interface DBTEAMLOGMemberRequestsChangePolicyDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGMemberRequestsChangePolicyDetails` instances. /// /// @param instance An instance of the /// `DBTEAMLOGMemberRequestsChangePolicyDetails` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGMemberRequestsChangePolicyDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGMemberRequestsChangePolicyDetails *)instance; /// /// Deserializes `DBTEAMLOGMemberRequestsChangePolicyDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGMemberRequestsChangePolicyDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGMemberRequestsChangePolicyDetails` /// object. /// + (DBTEAMLOGMemberRequestsChangePolicyDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberRequestsChangePolicyType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberRequestsPolicy.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGMemberRequestsPolicy; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `MemberRequestsPolicy` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMLOGMemberRequestsPolicy : NSObject #pragma mark - Instance fields /// The `DBTEAMLOGMemberRequestsPolicyTag` enum type represents the possible tag /// states with which the `DBTEAMLOGMemberRequestsPolicy` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGMemberRequestsPolicyTag){ /// (no description). DBTEAMLOGMemberRequestsPolicyAutoAccept, /// (no description). DBTEAMLOGMemberRequestsPolicyDisabled, /// (no description). DBTEAMLOGMemberRequestsPolicyRequireApproval, /// (no description). DBTEAMLOGMemberRequestsPolicyOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMLOGMemberRequestsPolicyTag tag; #pragma mark - Constructors /// /// Initializes union class with tag state of "auto_accept". /// /// @return An initialized instance. /// - (instancetype)initWithAutoAccept; /// /// Initializes union class with tag state of "disabled". /// /// @return An initialized instance. /// - (instancetype)initWithDisabled; /// /// Initializes union class with tag state of "require_approval". /// /// @return An initialized instance. /// - (instancetype)initWithRequireApproval; /// /// 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_accept". /// /// @return Whether the union's current tag state has value "auto_accept". /// - (BOOL)isAutoAccept; /// /// 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 /// "require_approval". /// /// @return Whether the union's current tag state has value "require_approval". /// - (BOOL)isRequireApproval; /// /// 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 `DBTEAMLOGMemberRequestsPolicy` union. /// @interface DBTEAMLOGMemberRequestsPolicySerializer : NSObject /// /// Serializes `DBTEAMLOGMemberRequestsPolicy` instances. /// /// @param instance An instance of the `DBTEAMLOGMemberRequestsPolicy` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGMemberRequestsPolicy` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGMemberRequestsPolicy *)instance; /// /// Deserializes `DBTEAMLOGMemberRequestsPolicy` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGMemberRequestsPolicy` API object. /// /// @return An instantiation of the `DBTEAMLOGMemberRequestsPolicy` object. /// + (DBTEAMLOGMemberRequestsPolicy *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberSendInvitePolicy.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberSendInvitePolicyChangedDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberSendInvitePolicyChangedType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberSetProfilePhotoDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberSetProfilePhotoType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberSpaceLimitsAddCustomQuotaDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberSpaceLimitsAddCustomQuotaType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberSpaceLimitsAddExceptionDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGMemberSpaceLimitsAddExceptionDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `MemberSpaceLimitsAddExceptionDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGMemberSpaceLimitsAddExceptionDetails : 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 `MemberSpaceLimitsAddExceptionDetails` /// struct. /// @interface DBTEAMLOGMemberSpaceLimitsAddExceptionDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGMemberSpaceLimitsAddExceptionDetails` instances. /// /// @param instance An instance of the /// `DBTEAMLOGMemberSpaceLimitsAddExceptionDetails` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGMemberSpaceLimitsAddExceptionDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGMemberSpaceLimitsAddExceptionDetails *)instance; /// /// Deserializes `DBTEAMLOGMemberSpaceLimitsAddExceptionDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGMemberSpaceLimitsAddExceptionDetails` API object. /// /// @return An instantiation of the /// `DBTEAMLOGMemberSpaceLimitsAddExceptionDetails` object. /// + (DBTEAMLOGMemberSpaceLimitsAddExceptionDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberSpaceLimitsAddExceptionType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberSpaceLimitsChangeCapsTypePolicyDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberSpaceLimitsChangeCapsTypePolicyType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberSpaceLimitsChangeCustomQuotaDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberSpaceLimitsChangeCustomQuotaType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberSpaceLimitsChangePolicyDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGMemberSpaceLimitsChangePolicyDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `MemberSpaceLimitsChangePolicyDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGMemberSpaceLimitsChangePolicyDetails : NSObject #pragma mark - Instance fields /// Previous team default limit value in bytes. Might be missing due to /// historical data gap. @property (nonatomic, readonly, nullable) NSNumber *previousValue; /// New team default limit value in bytes. Might be missing due to historical /// data gap. @property (nonatomic, readonly, nullable) NSNumber *dNewValue; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param previousValue Previous team default limit value in bytes. Might be /// missing due to historical data gap. /// @param dNewValue New team default limit value in bytes. Might be missing due /// to historical data gap. /// /// @return An initialized instance. /// - (instancetype)initWithPreviousValue:(nullable NSNumber *)previousValue dNewValue:(nullable NSNumber *)dNewValue; /// /// 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 `MemberSpaceLimitsChangePolicyDetails` /// struct. /// @interface DBTEAMLOGMemberSpaceLimitsChangePolicyDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGMemberSpaceLimitsChangePolicyDetails` instances. /// /// @param instance An instance of the /// `DBTEAMLOGMemberSpaceLimitsChangePolicyDetails` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGMemberSpaceLimitsChangePolicyDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGMemberSpaceLimitsChangePolicyDetails *)instance; /// /// Deserializes `DBTEAMLOGMemberSpaceLimitsChangePolicyDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGMemberSpaceLimitsChangePolicyDetails` API object. /// /// @return An instantiation of the /// `DBTEAMLOGMemberSpaceLimitsChangePolicyDetails` object. /// + (DBTEAMLOGMemberSpaceLimitsChangePolicyDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberSpaceLimitsChangePolicyType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberSpaceLimitsChangeStatusDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGMemberSpaceLimitsChangeStatusDetails; @class DBTEAMLOGSpaceLimitsStatus; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `MemberSpaceLimitsChangeStatusDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGMemberSpaceLimitsChangeStatusDetails : NSObject #pragma mark - Instance fields /// Previous storage quota status. @property (nonatomic, readonly) DBTEAMLOGSpaceLimitsStatus *previousValue; /// New storage quota status. @property (nonatomic, readonly) DBTEAMLOGSpaceLimitsStatus *dNewValue; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param previousValue Previous storage quota status. /// @param dNewValue New storage quota status. /// /// @return An initialized instance. /// - (instancetype)initWithPreviousValue:(DBTEAMLOGSpaceLimitsStatus *)previousValue dNewValue:(DBTEAMLOGSpaceLimitsStatus *)dNewValue; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `MemberSpaceLimitsChangeStatusDetails` /// struct. /// @interface DBTEAMLOGMemberSpaceLimitsChangeStatusDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGMemberSpaceLimitsChangeStatusDetails` instances. /// /// @param instance An instance of the /// `DBTEAMLOGMemberSpaceLimitsChangeStatusDetails` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGMemberSpaceLimitsChangeStatusDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGMemberSpaceLimitsChangeStatusDetails *)instance; /// /// Deserializes `DBTEAMLOGMemberSpaceLimitsChangeStatusDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGMemberSpaceLimitsChangeStatusDetails` API object. /// /// @return An instantiation of the /// `DBTEAMLOGMemberSpaceLimitsChangeStatusDetails` object. /// + (DBTEAMLOGMemberSpaceLimitsChangeStatusDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberSpaceLimitsChangeStatusType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberSpaceLimitsRemoveCustomQuotaDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberSpaceLimitsRemoveCustomQuotaType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberSpaceLimitsRemoveExceptionDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGMemberSpaceLimitsRemoveExceptionDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `MemberSpaceLimitsRemoveExceptionDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGMemberSpaceLimitsRemoveExceptionDetails : 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 `MemberSpaceLimitsRemoveExceptionDetails` /// struct. /// @interface DBTEAMLOGMemberSpaceLimitsRemoveExceptionDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGMemberSpaceLimitsRemoveExceptionDetails` instances. /// /// @param instance An instance of the /// `DBTEAMLOGMemberSpaceLimitsRemoveExceptionDetails` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGMemberSpaceLimitsRemoveExceptionDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGMemberSpaceLimitsRemoveExceptionDetails *)instance; /// /// Deserializes `DBTEAMLOGMemberSpaceLimitsRemoveExceptionDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGMemberSpaceLimitsRemoveExceptionDetails` API object. /// /// @return An instantiation of the /// `DBTEAMLOGMemberSpaceLimitsRemoveExceptionDetails` object. /// + (DBTEAMLOGMemberSpaceLimitsRemoveExceptionDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberSpaceLimitsRemoveExceptionType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberStatus.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGMemberStatus; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `MemberStatus` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMLOGMemberStatus : NSObject #pragma mark - Instance fields /// The `DBTEAMLOGMemberStatusTag` enum type represents the possible tag states /// with which the `DBTEAMLOGMemberStatus` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGMemberStatusTag){ /// (no description). DBTEAMLOGMemberStatusActive, /// (no description). DBTEAMLOGMemberStatusInvited, /// (no description). DBTEAMLOGMemberStatusMovedToAnotherTeam, /// (no description). DBTEAMLOGMemberStatusNotJoined, /// (no description). DBTEAMLOGMemberStatusRemoved, /// (no description). DBTEAMLOGMemberStatusSuspended, /// (no description). DBTEAMLOGMemberStatusOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMLOGMemberStatusTag 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 "invited". /// /// @return An initialized instance. /// - (instancetype)initWithInvited; /// /// Initializes union class with tag state of "moved_to_another_team". /// /// @return An initialized instance. /// - (instancetype)initWithMovedToAnotherTeam; /// /// Initializes union class with tag state of "not_joined". /// /// @return An initialized instance. /// - (instancetype)initWithNotJoined; /// /// Initializes union class with tag state of "removed". /// /// @return An initialized instance. /// - (instancetype)initWithRemoved; /// /// Initializes union class with tag state of "suspended". /// /// @return An initialized instance. /// - (instancetype)initWithSuspended; /// /// 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 "invited". /// /// @return Whether the union's current tag state has value "invited". /// - (BOOL)isInvited; /// /// Retrieves whether the union's current tag state has value /// "moved_to_another_team". /// /// @return Whether the union's current tag state has value /// "moved_to_another_team". /// - (BOOL)isMovedToAnotherTeam; /// /// Retrieves whether the union's current tag state has value "not_joined". /// /// @return Whether the union's current tag state has value "not_joined". /// - (BOOL)isNotJoined; /// /// Retrieves whether the union's current tag state has value "removed". /// /// @return Whether the union's current tag state has value "removed". /// - (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". /// /// @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 `DBTEAMLOGMemberStatus` union. /// @interface DBTEAMLOGMemberStatusSerializer : NSObject /// /// Serializes `DBTEAMLOGMemberStatus` instances. /// /// @param instance An instance of the `DBTEAMLOGMemberStatus` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGMemberStatus` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGMemberStatus *)instance; /// /// Deserializes `DBTEAMLOGMemberStatus` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGMemberStatus` API object. /// /// @return An instantiation of the `DBTEAMLOGMemberStatus` object. /// + (DBTEAMLOGMemberStatus *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberSuggestDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGMemberSuggestDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `MemberSuggestDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGMemberSuggestDetails : NSObject #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)initWithSuggestedMembers:(NSArray *)suggestedMembers; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `MemberSuggestDetails` struct. /// @interface DBTEAMLOGMemberSuggestDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGMemberSuggestDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGMemberSuggestDetails` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGMemberSuggestDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGMemberSuggestDetails *)instance; /// /// Deserializes `DBTEAMLOGMemberSuggestDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGMemberSuggestDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGMemberSuggestDetails` object. /// + (DBTEAMLOGMemberSuggestDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberSuggestType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberSuggestionsChangePolicyDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGMemberSuggestionsChangePolicyDetails; @class DBTEAMLOGMemberSuggestionsPolicy; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `MemberSuggestionsChangePolicyDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGMemberSuggestionsChangePolicyDetails : NSObject #pragma mark - Instance fields /// New team member suggestions policy. @property (nonatomic, readonly) DBTEAMLOGMemberSuggestionsPolicy *dNewValue; /// Previous team member suggestions policy. Might be missing due to historical /// data gap. @property (nonatomic, readonly, nullable) DBTEAMLOGMemberSuggestionsPolicy *previousValue; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param dNewValue New team member suggestions policy. /// @param previousValue Previous team member suggestions policy. Might be /// missing due to historical data gap. /// /// @return An initialized instance. /// - (instancetype)initWithDNewValue:(DBTEAMLOGMemberSuggestionsPolicy *)dNewValue previousValue:(nullable DBTEAMLOGMemberSuggestionsPolicy *)previousValue; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param dNewValue New team member suggestions policy. /// /// @return An initialized instance. /// - (instancetype)initWithDNewValue:(DBTEAMLOGMemberSuggestionsPolicy *)dNewValue; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `MemberSuggestionsChangePolicyDetails` /// struct. /// @interface DBTEAMLOGMemberSuggestionsChangePolicyDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGMemberSuggestionsChangePolicyDetails` instances. /// /// @param instance An instance of the /// `DBTEAMLOGMemberSuggestionsChangePolicyDetails` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGMemberSuggestionsChangePolicyDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGMemberSuggestionsChangePolicyDetails *)instance; /// /// Deserializes `DBTEAMLOGMemberSuggestionsChangePolicyDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGMemberSuggestionsChangePolicyDetails` API object. /// /// @return An instantiation of the /// `DBTEAMLOGMemberSuggestionsChangePolicyDetails` object. /// + (DBTEAMLOGMemberSuggestionsChangePolicyDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberSuggestionsChangePolicyType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberSuggestionsPolicy.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGMemberSuggestionsPolicy; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `MemberSuggestionsPolicy` union. /// /// Member suggestions policy /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMLOGMemberSuggestionsPolicy : NSObject #pragma mark - Instance fields /// The `DBTEAMLOGMemberSuggestionsPolicyTag` enum type represents the possible /// tag states with which the `DBTEAMLOGMemberSuggestionsPolicy` union can /// exist. typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGMemberSuggestionsPolicyTag){ /// (no description). DBTEAMLOGMemberSuggestionsPolicyDisabled, /// (no description). DBTEAMLOGMemberSuggestionsPolicyEnabled, /// (no description). DBTEAMLOGMemberSuggestionsPolicyOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMLOGMemberSuggestionsPolicyTag 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 `DBTEAMLOGMemberSuggestionsPolicy` union. /// @interface DBTEAMLOGMemberSuggestionsPolicySerializer : NSObject /// /// Serializes `DBTEAMLOGMemberSuggestionsPolicy` instances. /// /// @param instance An instance of the `DBTEAMLOGMemberSuggestionsPolicy` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGMemberSuggestionsPolicy` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGMemberSuggestionsPolicy *)instance; /// /// Deserializes `DBTEAMLOGMemberSuggestionsPolicy` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGMemberSuggestionsPolicy` API object. /// /// @return An instantiation of the `DBTEAMLOGMemberSuggestionsPolicy` object. /// + (DBTEAMLOGMemberSuggestionsPolicy *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberTransferAccountContentsDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGMemberTransferAccountContentsDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `MemberTransferAccountContentsDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGMemberTransferAccountContentsDetails : 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 `MemberTransferAccountContentsDetails` /// struct. /// @interface DBTEAMLOGMemberTransferAccountContentsDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGMemberTransferAccountContentsDetails` instances. /// /// @param instance An instance of the /// `DBTEAMLOGMemberTransferAccountContentsDetails` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGMemberTransferAccountContentsDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGMemberTransferAccountContentsDetails *)instance; /// /// Deserializes `DBTEAMLOGMemberTransferAccountContentsDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGMemberTransferAccountContentsDetails` API object. /// /// @return An instantiation of the /// `DBTEAMLOGMemberTransferAccountContentsDetails` object. /// + (DBTEAMLOGMemberTransferAccountContentsDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberTransferAccountContentsType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberTransferredInternalFields.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMicrosoftOfficeAddinChangePolicyDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGMicrosoftOfficeAddinChangePolicyDetails; @class DBTEAMLOGMicrosoftOfficeAddinPolicy; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `MicrosoftOfficeAddinChangePolicyDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGMicrosoftOfficeAddinChangePolicyDetails : NSObject #pragma mark - Instance fields /// New Microsoft Office addin policy. @property (nonatomic, readonly) DBTEAMLOGMicrosoftOfficeAddinPolicy *dNewValue; /// Previous Microsoft Office addin policy. Might be missing due to historical /// data gap. @property (nonatomic, readonly, nullable) DBTEAMLOGMicrosoftOfficeAddinPolicy *previousValue; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param dNewValue New Microsoft Office addin policy. /// @param previousValue Previous Microsoft Office addin policy. Might be /// missing due to historical data gap. /// /// @return An initialized instance. /// - (instancetype)initWithDNewValue:(DBTEAMLOGMicrosoftOfficeAddinPolicy *)dNewValue previousValue:(nullable DBTEAMLOGMicrosoftOfficeAddinPolicy *)previousValue; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param dNewValue New Microsoft Office addin policy. /// /// @return An initialized instance. /// - (instancetype)initWithDNewValue:(DBTEAMLOGMicrosoftOfficeAddinPolicy *)dNewValue; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `MicrosoftOfficeAddinChangePolicyDetails` /// struct. /// @interface DBTEAMLOGMicrosoftOfficeAddinChangePolicyDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGMicrosoftOfficeAddinChangePolicyDetails` instances. /// /// @param instance An instance of the /// `DBTEAMLOGMicrosoftOfficeAddinChangePolicyDetails` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGMicrosoftOfficeAddinChangePolicyDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGMicrosoftOfficeAddinChangePolicyDetails *)instance; /// /// Deserializes `DBTEAMLOGMicrosoftOfficeAddinChangePolicyDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGMicrosoftOfficeAddinChangePolicyDetails` API object. /// /// @return An instantiation of the /// `DBTEAMLOGMicrosoftOfficeAddinChangePolicyDetails` object. /// + (DBTEAMLOGMicrosoftOfficeAddinChangePolicyDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMicrosoftOfficeAddinChangePolicyType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMicrosoftOfficeAddinPolicy.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGMicrosoftOfficeAddinPolicy; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `MicrosoftOfficeAddinPolicy` union. /// /// Microsoft Office addin policy /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMLOGMicrosoftOfficeAddinPolicy : NSObject #pragma mark - Instance fields /// The `DBTEAMLOGMicrosoftOfficeAddinPolicyTag` enum type represents the /// possible tag states with which the `DBTEAMLOGMicrosoftOfficeAddinPolicy` /// union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGMicrosoftOfficeAddinPolicyTag){ /// (no description). DBTEAMLOGMicrosoftOfficeAddinPolicyDisabled, /// (no description). DBTEAMLOGMicrosoftOfficeAddinPolicyEnabled, /// (no description). DBTEAMLOGMicrosoftOfficeAddinPolicyOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMLOGMicrosoftOfficeAddinPolicyTag 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 `DBTEAMLOGMicrosoftOfficeAddinPolicy` union. /// @interface DBTEAMLOGMicrosoftOfficeAddinPolicySerializer : NSObject /// /// Serializes `DBTEAMLOGMicrosoftOfficeAddinPolicy` instances. /// /// @param instance An instance of the `DBTEAMLOGMicrosoftOfficeAddinPolicy` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGMicrosoftOfficeAddinPolicy` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGMicrosoftOfficeAddinPolicy *)instance; /// /// Deserializes `DBTEAMLOGMicrosoftOfficeAddinPolicy` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGMicrosoftOfficeAddinPolicy` API object. /// /// @return An instantiation of the `DBTEAMLOGMicrosoftOfficeAddinPolicy` /// object. /// + (DBTEAMLOGMicrosoftOfficeAddinPolicy *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMissingDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGMissingDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `MissingDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGMissingDetails : NSObject #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; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `MissingDetails` struct. /// @interface DBTEAMLOGMissingDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGMissingDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGMissingDetails` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGMissingDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGMissingDetails *)instance; /// /// Deserializes `DBTEAMLOGMissingDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGMissingDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGMissingDetails` object. /// + (DBTEAMLOGMissingDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMobileDeviceSessionLogInfo.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMobileSessionLogInfo.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" #import "DBTEAMLOGSessionLogInfo.h" @class DBTEAMLOGMobileSessionLogInfo; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `MobileSessionLogInfo` struct. /// /// Mobile session. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMLOGMobileSessionLogInfo : DBTEAMLOGSessionLogInfo #pragma mark - Instance fields #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param sessionId Session ID. /// /// @return An initialized instance. /// - (instancetype)initWithSessionId:(nullable NSString *)sessionId; /// /// 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 `MobileSessionLogInfo` struct. /// @interface DBTEAMLOGMobileSessionLogInfoSerializer : NSObject /// /// Serializes `DBTEAMLOGMobileSessionLogInfo` instances. /// /// @param instance An instance of the `DBTEAMLOGMobileSessionLogInfo` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGMobileSessionLogInfo` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGMobileSessionLogInfo *)instance; /// /// Deserializes `DBTEAMLOGMobileSessionLogInfo` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGMobileSessionLogInfo` API object. /// /// @return An instantiation of the `DBTEAMLOGMobileSessionLogInfo` object. /// + (DBTEAMLOGMobileSessionLogInfo *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGNamespaceRelativePathLogInfo.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGNamespaceRelativePathLogInfo; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `NamespaceRelativePathLogInfo` struct. /// /// Namespace relative path details. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMLOGNamespaceRelativePathLogInfo : NSObject #pragma mark - Instance fields /// Namespace ID. @property (nonatomic, readonly, copy, nullable) NSString *nsId; /// 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. /// @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 isSharedNamespace:(nullable NSNumber *)isSharedNamespace; /// /// 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 `NamespaceRelativePathLogInfo` struct. /// @interface DBTEAMLOGNamespaceRelativePathLogInfoSerializer : NSObject /// /// Serializes `DBTEAMLOGNamespaceRelativePathLogInfo` instances. /// /// @param instance An instance of the `DBTEAMLOGNamespaceRelativePathLogInfo` /// API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGNamespaceRelativePathLogInfo` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGNamespaceRelativePathLogInfo *)instance; /// /// Deserializes `DBTEAMLOGNamespaceRelativePathLogInfo` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGNamespaceRelativePathLogInfo` API object. /// /// @return An instantiation of the `DBTEAMLOGNamespaceRelativePathLogInfo` /// object. /// + (DBTEAMLOGNamespaceRelativePathLogInfo *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGNetworkControlChangePolicyDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGNetworkControlChangePolicyDetails; @class DBTEAMLOGNetworkControlPolicy; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `NetworkControlChangePolicyDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGNetworkControlChangePolicyDetails : NSObject #pragma mark - Instance fields /// New network control policy. @property (nonatomic, readonly) DBTEAMLOGNetworkControlPolicy *dNewValue; /// Previous network control policy. Might be missing due to historical data /// gap. @property (nonatomic, readonly, nullable) DBTEAMLOGNetworkControlPolicy *previousValue; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param dNewValue New network control policy. /// @param previousValue Previous network control policy. Might be missing due /// to historical data gap. /// /// @return An initialized instance. /// - (instancetype)initWithDNewValue:(DBTEAMLOGNetworkControlPolicy *)dNewValue previousValue:(nullable DBTEAMLOGNetworkControlPolicy *)previousValue; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param dNewValue New network control policy. /// /// @return An initialized instance. /// - (instancetype)initWithDNewValue:(DBTEAMLOGNetworkControlPolicy *)dNewValue; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `NetworkControlChangePolicyDetails` struct. /// @interface DBTEAMLOGNetworkControlChangePolicyDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGNetworkControlChangePolicyDetails` instances. /// /// @param instance An instance of the /// `DBTEAMLOGNetworkControlChangePolicyDetails` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGNetworkControlChangePolicyDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGNetworkControlChangePolicyDetails *)instance; /// /// Deserializes `DBTEAMLOGNetworkControlChangePolicyDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGNetworkControlChangePolicyDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGNetworkControlChangePolicyDetails` /// object. /// + (DBTEAMLOGNetworkControlChangePolicyDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGNetworkControlChangePolicyType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGNetworkControlPolicy.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGNetworkControlPolicy; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `NetworkControlPolicy` union. /// /// Network control policy /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMLOGNetworkControlPolicy : NSObject #pragma mark - Instance fields /// The `DBTEAMLOGNetworkControlPolicyTag` enum type represents the possible tag /// states with which the `DBTEAMLOGNetworkControlPolicy` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGNetworkControlPolicyTag){ /// (no description). DBTEAMLOGNetworkControlPolicyDisabled, /// (no description). DBTEAMLOGNetworkControlPolicyEnabled, /// (no description). DBTEAMLOGNetworkControlPolicyOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMLOGNetworkControlPolicyTag 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 `DBTEAMLOGNetworkControlPolicy` union. /// @interface DBTEAMLOGNetworkControlPolicySerializer : NSObject /// /// Serializes `DBTEAMLOGNetworkControlPolicy` instances. /// /// @param instance An instance of the `DBTEAMLOGNetworkControlPolicy` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGNetworkControlPolicy` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGNetworkControlPolicy *)instance; /// /// Deserializes `DBTEAMLOGNetworkControlPolicy` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGNetworkControlPolicy` API object. /// /// @return An instantiation of the `DBTEAMLOGNetworkControlPolicy` object. /// + (DBTEAMLOGNetworkControlPolicy *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGNoExpirationLinkGenCreateReportDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGNoExpirationLinkGenCreateReportType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGNoExpirationLinkGenReportFailedDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGNoExpirationLinkGenReportFailedType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGNoPasswordLinkGenCreateReportDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGNoPasswordLinkGenCreateReportType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGNoPasswordLinkGenReportFailedDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGNoPasswordLinkGenReportFailedType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGNoPasswordLinkViewCreateReportDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGNoPasswordLinkViewCreateReportType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGNoPasswordLinkViewReportFailedDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGNoPasswordLinkViewReportFailedType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGNonTeamMemberLogInfo.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" #import "DBTEAMLOGUserLogInfo.h" @class DBTEAMLOGNonTeamMemberLogInfo; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `NonTeamMemberLogInfo` struct. /// /// Non team member'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 DBTEAMLOGNonTeamMemberLogInfo : DBTEAMLOGUserLogInfo #pragma mark - Instance fields #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param accountId User unique ID. /// @param displayName User display name. /// @param email User email address. /// /// @return An initialized instance. /// - (instancetype)initWithAccountId:(nullable NSString *)accountId displayName:(nullable NSString *)displayName email:(nullable NSString *)email; /// /// 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 `NonTeamMemberLogInfo` struct. /// @interface DBTEAMLOGNonTeamMemberLogInfoSerializer : NSObject /// /// Serializes `DBTEAMLOGNonTeamMemberLogInfo` instances. /// /// @param instance An instance of the `DBTEAMLOGNonTeamMemberLogInfo` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGNonTeamMemberLogInfo` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGNonTeamMemberLogInfo *)instance; /// /// Deserializes `DBTEAMLOGNonTeamMemberLogInfo` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGNonTeamMemberLogInfo` API object. /// /// @return An instantiation of the `DBTEAMLOGNonTeamMemberLogInfo` object. /// + (DBTEAMLOGNonTeamMemberLogInfo *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGNonTrustedTeamDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGNoteAclInviteOnlyDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGNoteAclInviteOnlyDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `NoteAclInviteOnlyDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGNoteAclInviteOnlyDetails : 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 `NoteAclInviteOnlyDetails` struct. /// @interface DBTEAMLOGNoteAclInviteOnlyDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGNoteAclInviteOnlyDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGNoteAclInviteOnlyDetails` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGNoteAclInviteOnlyDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGNoteAclInviteOnlyDetails *)instance; /// /// Deserializes `DBTEAMLOGNoteAclInviteOnlyDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGNoteAclInviteOnlyDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGNoteAclInviteOnlyDetails` object. /// + (DBTEAMLOGNoteAclInviteOnlyDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGNoteAclInviteOnlyType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGNoteAclLinkDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGNoteAclLinkDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `NoteAclLinkDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGNoteAclLinkDetails : 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 `NoteAclLinkDetails` struct. /// @interface DBTEAMLOGNoteAclLinkDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGNoteAclLinkDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGNoteAclLinkDetails` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGNoteAclLinkDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGNoteAclLinkDetails *)instance; /// /// Deserializes `DBTEAMLOGNoteAclLinkDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGNoteAclLinkDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGNoteAclLinkDetails` object. /// + (DBTEAMLOGNoteAclLinkDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGNoteAclLinkType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGNoteAclTeamLinkDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGNoteAclTeamLinkDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `NoteAclTeamLinkDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGNoteAclTeamLinkDetails : 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 `NoteAclTeamLinkDetails` struct. /// @interface DBTEAMLOGNoteAclTeamLinkDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGNoteAclTeamLinkDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGNoteAclTeamLinkDetails` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGNoteAclTeamLinkDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGNoteAclTeamLinkDetails *)instance; /// /// Deserializes `DBTEAMLOGNoteAclTeamLinkDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGNoteAclTeamLinkDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGNoteAclTeamLinkDetails` object. /// + (DBTEAMLOGNoteAclTeamLinkDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGNoteAclTeamLinkType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGNoteShareReceiveDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGNoteShareReceiveDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `NoteShareReceiveDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGNoteShareReceiveDetails : 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 `NoteShareReceiveDetails` struct. /// @interface DBTEAMLOGNoteShareReceiveDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGNoteShareReceiveDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGNoteShareReceiveDetails` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGNoteShareReceiveDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGNoteShareReceiveDetails *)instance; /// /// Deserializes `DBTEAMLOGNoteShareReceiveDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGNoteShareReceiveDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGNoteShareReceiveDetails` object. /// + (DBTEAMLOGNoteShareReceiveDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGNoteShareReceiveType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGNoteSharedDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGNoteSharedDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `NoteSharedDetails` struct. /// /// Shared 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 DBTEAMLOGNoteSharedDetails : 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 `NoteSharedDetails` struct. /// @interface DBTEAMLOGNoteSharedDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGNoteSharedDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGNoteSharedDetails` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGNoteSharedDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGNoteSharedDetails *)instance; /// /// Deserializes `DBTEAMLOGNoteSharedDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGNoteSharedDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGNoteSharedDetails` object. /// + (DBTEAMLOGNoteSharedDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGNoteSharedType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGObjectLabelAddedDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGObjectLabelAddedType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGObjectLabelRemovedDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGObjectLabelRemovedType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGObjectLabelUpdatedValueDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGObjectLabelUpdatedValueType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGOpenNoteSharedDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGOpenNoteSharedDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `OpenNoteSharedDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGOpenNoteSharedDetails : 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 `OpenNoteSharedDetails` struct. /// @interface DBTEAMLOGOpenNoteSharedDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGOpenNoteSharedDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGOpenNoteSharedDetails` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGOpenNoteSharedDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGOpenNoteSharedDetails *)instance; /// /// Deserializes `DBTEAMLOGOpenNoteSharedDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGOpenNoteSharedDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGOpenNoteSharedDetails` object. /// + (DBTEAMLOGOpenNoteSharedDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGOpenNoteSharedType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGOrganizationDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGOrganizationName.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGOrganizeFolderWithTidyDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGOrganizeFolderWithTidyType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGOriginLogInfo.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGAccessMethodLogInfo; @class DBTEAMLOGGeoLocationLogInfo; @class DBTEAMLOGOriginLogInfo; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `OriginLogInfo` struct. /// /// The origin from which the actor performed the action. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMLOGOriginLogInfo : NSObject #pragma mark - Instance fields /// Geographic location details. @property (nonatomic, readonly, nullable) DBTEAMLOGGeoLocationLogInfo *geoLocation; /// The method that was used to perform the action. @property (nonatomic, readonly) DBTEAMLOGAccessMethodLogInfo *accessMethod; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param accessMethod The method that was used to perform the action. /// @param geoLocation Geographic location details. /// /// @return An initialized instance. /// - (instancetype)initWithAccessMethod:(DBTEAMLOGAccessMethodLogInfo *)accessMethod geoLocation:(nullable DBTEAMLOGGeoLocationLogInfo *)geoLocation; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param accessMethod The method that was used to perform the action. /// /// @return An initialized instance. /// - (instancetype)initWithAccessMethod:(DBTEAMLOGAccessMethodLogInfo *)accessMethod; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `OriginLogInfo` struct. /// @interface DBTEAMLOGOriginLogInfoSerializer : NSObject /// /// Serializes `DBTEAMLOGOriginLogInfo` instances. /// /// @param instance An instance of the `DBTEAMLOGOriginLogInfo` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGOriginLogInfo` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGOriginLogInfo *)instance; /// /// Deserializes `DBTEAMLOGOriginLogInfo` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGOriginLogInfo` API object. /// /// @return An instantiation of the `DBTEAMLOGOriginLogInfo` object. /// + (DBTEAMLOGOriginLogInfo *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGOutdatedLinkViewCreateReportDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGOutdatedLinkViewCreateReportType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGOutdatedLinkViewReportFailedDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGOutdatedLinkViewReportFailedType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperAccessType.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGPaperAccessType; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `PaperAccessType` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMLOGPaperAccessType : NSObject #pragma mark - Instance fields /// The `DBTEAMLOGPaperAccessTypeTag` enum type represents the possible tag /// states with which the `DBTEAMLOGPaperAccessType` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGPaperAccessTypeTag){ /// (no description). DBTEAMLOGPaperAccessTypeCommenter, /// (no description). DBTEAMLOGPaperAccessTypeEditor, /// (no description). DBTEAMLOGPaperAccessTypeViewer, /// (no description). DBTEAMLOGPaperAccessTypeOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMLOGPaperAccessTypeTag tag; #pragma mark - Constructors /// /// Initializes union class with tag state of "commenter". /// /// @return An initialized instance. /// - (instancetype)initWithCommenter; /// /// Initializes union class with tag state of "editor". /// /// @return An initialized instance. /// - (instancetype)initWithEditor; /// /// Initializes union class with tag state of "viewer". /// /// @return An initialized instance. /// - (instancetype)initWithViewer; /// /// 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 "commenter". /// /// @return Whether the union's current tag state has value "commenter". /// - (BOOL)isCommenter; /// /// 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 "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". /// /// @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 `DBTEAMLOGPaperAccessType` union. /// @interface DBTEAMLOGPaperAccessTypeSerializer : NSObject /// /// Serializes `DBTEAMLOGPaperAccessType` instances. /// /// @param instance An instance of the `DBTEAMLOGPaperAccessType` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGPaperAccessType` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGPaperAccessType *)instance; /// /// Deserializes `DBTEAMLOGPaperAccessType` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGPaperAccessType` API object. /// /// @return An instantiation of the `DBTEAMLOGPaperAccessType` object. /// + (DBTEAMLOGPaperAccessType *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperAdminExportStartDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGPaperAdminExportStartDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `PaperAdminExportStartDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGPaperAdminExportStartDetails : 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 `PaperAdminExportStartDetails` struct. /// @interface DBTEAMLOGPaperAdminExportStartDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGPaperAdminExportStartDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGPaperAdminExportStartDetails` /// API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGPaperAdminExportStartDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGPaperAdminExportStartDetails *)instance; /// /// Deserializes `DBTEAMLOGPaperAdminExportStartDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGPaperAdminExportStartDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGPaperAdminExportStartDetails` /// object. /// + (DBTEAMLOGPaperAdminExportStartDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperAdminExportStartType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperChangeDeploymentPolicyDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGPaperChangeDeploymentPolicyDetails; @class DBTEAMPOLICIESPaperDeploymentPolicy; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `PaperChangeDeploymentPolicyDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGPaperChangeDeploymentPolicyDetails : NSObject #pragma mark - Instance fields /// New Dropbox Paper deployment policy. @property (nonatomic, readonly) DBTEAMPOLICIESPaperDeploymentPolicy *dNewValue; /// Previous Dropbox Paper deployment policy. Might be missing due to historical /// data gap. @property (nonatomic, readonly, nullable) DBTEAMPOLICIESPaperDeploymentPolicy *previousValue; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param dNewValue New Dropbox Paper deployment policy. /// @param previousValue Previous Dropbox Paper deployment policy. Might be /// missing due to historical data gap. /// /// @return An initialized instance. /// - (instancetype)initWithDNewValue:(DBTEAMPOLICIESPaperDeploymentPolicy *)dNewValue previousValue:(nullable DBTEAMPOLICIESPaperDeploymentPolicy *)previousValue; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param dNewValue New Dropbox Paper deployment policy. /// /// @return An initialized instance. /// - (instancetype)initWithDNewValue:(DBTEAMPOLICIESPaperDeploymentPolicy *)dNewValue; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `PaperChangeDeploymentPolicyDetails` struct. /// @interface DBTEAMLOGPaperChangeDeploymentPolicyDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGPaperChangeDeploymentPolicyDetails` instances. /// /// @param instance An instance of the /// `DBTEAMLOGPaperChangeDeploymentPolicyDetails` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGPaperChangeDeploymentPolicyDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGPaperChangeDeploymentPolicyDetails *)instance; /// /// Deserializes `DBTEAMLOGPaperChangeDeploymentPolicyDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGPaperChangeDeploymentPolicyDetails` API object. /// /// @return An instantiation of the /// `DBTEAMLOGPaperChangeDeploymentPolicyDetails` object. /// + (DBTEAMLOGPaperChangeDeploymentPolicyDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperChangeDeploymentPolicyType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperChangeMemberLinkPolicyDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGPaperChangeMemberLinkPolicyDetails; @class DBTEAMLOGPaperMemberPolicy; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `PaperChangeMemberLinkPolicyDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGPaperChangeMemberLinkPolicyDetails : NSObject #pragma mark - Instance fields /// New paper external link accessibility policy. @property (nonatomic, readonly) DBTEAMLOGPaperMemberPolicy *dNewValue; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param dNewValue New paper external link accessibility policy. /// /// @return An initialized instance. /// - (instancetype)initWithDNewValue:(DBTEAMLOGPaperMemberPolicy *)dNewValue; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `PaperChangeMemberLinkPolicyDetails` struct. /// @interface DBTEAMLOGPaperChangeMemberLinkPolicyDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGPaperChangeMemberLinkPolicyDetails` instances. /// /// @param instance An instance of the /// `DBTEAMLOGPaperChangeMemberLinkPolicyDetails` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGPaperChangeMemberLinkPolicyDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGPaperChangeMemberLinkPolicyDetails *)instance; /// /// Deserializes `DBTEAMLOGPaperChangeMemberLinkPolicyDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGPaperChangeMemberLinkPolicyDetails` API object. /// /// @return An instantiation of the /// `DBTEAMLOGPaperChangeMemberLinkPolicyDetails` object. /// + (DBTEAMLOGPaperChangeMemberLinkPolicyDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperChangeMemberLinkPolicyType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperChangeMemberPolicyDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGPaperChangeMemberPolicyDetails; @class DBTEAMLOGPaperMemberPolicy; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `PaperChangeMemberPolicyDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGPaperChangeMemberPolicyDetails : NSObject #pragma mark - Instance fields /// New paper external accessibility policy. @property (nonatomic, readonly) DBTEAMLOGPaperMemberPolicy *dNewValue; /// Previous paper external accessibility policy. Might be missing due to /// historical data gap. @property (nonatomic, readonly, nullable) DBTEAMLOGPaperMemberPolicy *previousValue; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param dNewValue New paper external accessibility policy. /// @param previousValue Previous paper external accessibility policy. Might be /// missing due to historical data gap. /// /// @return An initialized instance. /// - (instancetype)initWithDNewValue:(DBTEAMLOGPaperMemberPolicy *)dNewValue previousValue:(nullable DBTEAMLOGPaperMemberPolicy *)previousValue; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param dNewValue New paper external accessibility policy. /// /// @return An initialized instance. /// - (instancetype)initWithDNewValue:(DBTEAMLOGPaperMemberPolicy *)dNewValue; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `PaperChangeMemberPolicyDetails` struct. /// @interface DBTEAMLOGPaperChangeMemberPolicyDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGPaperChangeMemberPolicyDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGPaperChangeMemberPolicyDetails` /// API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGPaperChangeMemberPolicyDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGPaperChangeMemberPolicyDetails *)instance; /// /// Deserializes `DBTEAMLOGPaperChangeMemberPolicyDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGPaperChangeMemberPolicyDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGPaperChangeMemberPolicyDetails` /// object. /// + (DBTEAMLOGPaperChangeMemberPolicyDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperChangeMemberPolicyType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperChangePolicyDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGPaperChangePolicyDetails; @class DBTEAMPOLICIESPaperEnabledPolicy; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `PaperChangePolicyDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGPaperChangePolicyDetails : NSObject #pragma mark - Instance fields /// New Dropbox Paper policy. @property (nonatomic, readonly) DBTEAMPOLICIESPaperEnabledPolicy *dNewValue; /// Previous Dropbox Paper policy. Might be missing due to historical data gap. @property (nonatomic, readonly, nullable) DBTEAMPOLICIESPaperEnabledPolicy *previousValue; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param dNewValue New Dropbox Paper policy. /// @param previousValue Previous Dropbox Paper policy. Might be missing due to /// historical data gap. /// /// @return An initialized instance. /// - (instancetype)initWithDNewValue:(DBTEAMPOLICIESPaperEnabledPolicy *)dNewValue previousValue:(nullable DBTEAMPOLICIESPaperEnabledPolicy *)previousValue; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param dNewValue New Dropbox Paper policy. /// /// @return An initialized instance. /// - (instancetype)initWithDNewValue:(DBTEAMPOLICIESPaperEnabledPolicy *)dNewValue; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `PaperChangePolicyDetails` struct. /// @interface DBTEAMLOGPaperChangePolicyDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGPaperChangePolicyDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGPaperChangePolicyDetails` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGPaperChangePolicyDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGPaperChangePolicyDetails *)instance; /// /// Deserializes `DBTEAMLOGPaperChangePolicyDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGPaperChangePolicyDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGPaperChangePolicyDetails` object. /// + (DBTEAMLOGPaperChangePolicyDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperChangePolicyType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperContentAddMemberDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGPaperContentAddMemberDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `PaperContentAddMemberDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGPaperContentAddMemberDetails : 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 `PaperContentAddMemberDetails` struct. /// @interface DBTEAMLOGPaperContentAddMemberDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGPaperContentAddMemberDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGPaperContentAddMemberDetails` /// API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGPaperContentAddMemberDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGPaperContentAddMemberDetails *)instance; /// /// Deserializes `DBTEAMLOGPaperContentAddMemberDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGPaperContentAddMemberDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGPaperContentAddMemberDetails` /// object. /// + (DBTEAMLOGPaperContentAddMemberDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperContentAddMemberType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperContentAddToFolderDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGPaperContentAddToFolderDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `PaperContentAddToFolderDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGPaperContentAddToFolderDetails : NSObject #pragma mark - Instance fields /// Event unique identifier. @property (nonatomic, readonly, copy) NSString *eventUuid; /// Target asset position in the Assets list. @property (nonatomic, readonly) NSNumber *targetAssetIndex; /// Parent asset position in the Assets list. @property (nonatomic, readonly) 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:(NSNumber *)targetAssetIndex parentAssetIndex:(NSNumber *)parentAssetIndex; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `PaperContentAddToFolderDetails` struct. /// @interface DBTEAMLOGPaperContentAddToFolderDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGPaperContentAddToFolderDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGPaperContentAddToFolderDetails` /// API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGPaperContentAddToFolderDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGPaperContentAddToFolderDetails *)instance; /// /// Deserializes `DBTEAMLOGPaperContentAddToFolderDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGPaperContentAddToFolderDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGPaperContentAddToFolderDetails` /// object. /// + (DBTEAMLOGPaperContentAddToFolderDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperContentAddToFolderType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperContentArchiveDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGPaperContentArchiveDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `PaperContentArchiveDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGPaperContentArchiveDetails : 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 `PaperContentArchiveDetails` struct. /// @interface DBTEAMLOGPaperContentArchiveDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGPaperContentArchiveDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGPaperContentArchiveDetails` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGPaperContentArchiveDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGPaperContentArchiveDetails *)instance; /// /// Deserializes `DBTEAMLOGPaperContentArchiveDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGPaperContentArchiveDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGPaperContentArchiveDetails` /// object. /// + (DBTEAMLOGPaperContentArchiveDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperContentArchiveType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperContentCreateDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGPaperContentCreateDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `PaperContentCreateDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGPaperContentCreateDetails : 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 `PaperContentCreateDetails` struct. /// @interface DBTEAMLOGPaperContentCreateDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGPaperContentCreateDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGPaperContentCreateDetails` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGPaperContentCreateDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGPaperContentCreateDetails *)instance; /// /// Deserializes `DBTEAMLOGPaperContentCreateDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGPaperContentCreateDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGPaperContentCreateDetails` object. /// + (DBTEAMLOGPaperContentCreateDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperContentCreateType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperContentPermanentlyDeleteDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGPaperContentPermanentlyDeleteDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `PaperContentPermanentlyDeleteDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGPaperContentPermanentlyDeleteDetails : 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 `PaperContentPermanentlyDeleteDetails` /// struct. /// @interface DBTEAMLOGPaperContentPermanentlyDeleteDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGPaperContentPermanentlyDeleteDetails` instances. /// /// @param instance An instance of the /// `DBTEAMLOGPaperContentPermanentlyDeleteDetails` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGPaperContentPermanentlyDeleteDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGPaperContentPermanentlyDeleteDetails *)instance; /// /// Deserializes `DBTEAMLOGPaperContentPermanentlyDeleteDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGPaperContentPermanentlyDeleteDetails` API object. /// /// @return An instantiation of the /// `DBTEAMLOGPaperContentPermanentlyDeleteDetails` object. /// + (DBTEAMLOGPaperContentPermanentlyDeleteDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperContentPermanentlyDeleteType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperContentRemoveFromFolderDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGPaperContentRemoveFromFolderDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `PaperContentRemoveFromFolderDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGPaperContentRemoveFromFolderDetails : NSObject #pragma mark - Instance fields /// 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. /// - (instancetype)initWithEventUuid:(NSString *)eventUuid; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `PaperContentRemoveFromFolderDetails` /// struct. /// @interface DBTEAMLOGPaperContentRemoveFromFolderDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGPaperContentRemoveFromFolderDetails` instances. /// /// @param instance An instance of the /// `DBTEAMLOGPaperContentRemoveFromFolderDetails` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGPaperContentRemoveFromFolderDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGPaperContentRemoveFromFolderDetails *)instance; /// /// Deserializes `DBTEAMLOGPaperContentRemoveFromFolderDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGPaperContentRemoveFromFolderDetails` API object. /// /// @return An instantiation of the /// `DBTEAMLOGPaperContentRemoveFromFolderDetails` object. /// + (DBTEAMLOGPaperContentRemoveFromFolderDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperContentRemoveFromFolderType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperContentRemoveMemberDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGPaperContentRemoveMemberDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `PaperContentRemoveMemberDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGPaperContentRemoveMemberDetails : 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 `PaperContentRemoveMemberDetails` struct. /// @interface DBTEAMLOGPaperContentRemoveMemberDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGPaperContentRemoveMemberDetails` instances. /// /// @param instance An instance of the /// `DBTEAMLOGPaperContentRemoveMemberDetails` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGPaperContentRemoveMemberDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGPaperContentRemoveMemberDetails *)instance; /// /// Deserializes `DBTEAMLOGPaperContentRemoveMemberDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGPaperContentRemoveMemberDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGPaperContentRemoveMemberDetails` /// object. /// + (DBTEAMLOGPaperContentRemoveMemberDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperContentRemoveMemberType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperContentRenameDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGPaperContentRenameDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `PaperContentRenameDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGPaperContentRenameDetails : 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 `PaperContentRenameDetails` struct. /// @interface DBTEAMLOGPaperContentRenameDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGPaperContentRenameDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGPaperContentRenameDetails` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGPaperContentRenameDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGPaperContentRenameDetails *)instance; /// /// Deserializes `DBTEAMLOGPaperContentRenameDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGPaperContentRenameDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGPaperContentRenameDetails` object. /// + (DBTEAMLOGPaperContentRenameDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperContentRenameType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperContentRestoreDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGPaperContentRestoreDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `PaperContentRestoreDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGPaperContentRestoreDetails : 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 `PaperContentRestoreDetails` struct. /// @interface DBTEAMLOGPaperContentRestoreDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGPaperContentRestoreDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGPaperContentRestoreDetails` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGPaperContentRestoreDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGPaperContentRestoreDetails *)instance; /// /// Deserializes `DBTEAMLOGPaperContentRestoreDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGPaperContentRestoreDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGPaperContentRestoreDetails` /// object. /// + (DBTEAMLOGPaperContentRestoreDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperContentRestoreType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDefaultFolderPolicy.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDefaultFolderPolicyChangedDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDefaultFolderPolicyChangedType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDesktopPolicy.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDesktopPolicyChangedDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDesktopPolicyChangedType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocAddCommentDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGPaperDocAddCommentDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `PaperDocAddCommentDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGPaperDocAddCommentDetails : 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 `PaperDocAddCommentDetails` struct. /// @interface DBTEAMLOGPaperDocAddCommentDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGPaperDocAddCommentDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGPaperDocAddCommentDetails` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGPaperDocAddCommentDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGPaperDocAddCommentDetails *)instance; /// /// Deserializes `DBTEAMLOGPaperDocAddCommentDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGPaperDocAddCommentDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGPaperDocAddCommentDetails` object. /// + (DBTEAMLOGPaperDocAddCommentDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocAddCommentType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocChangeMemberRoleDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGPaperAccessType; @class DBTEAMLOGPaperDocChangeMemberRoleDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `PaperDocChangeMemberRoleDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGPaperDocChangeMemberRoleDetails : NSObject #pragma mark - Instance fields /// Event unique identifier. @property (nonatomic, readonly, copy) NSString *eventUuid; /// Paper doc access type. @property (nonatomic, readonly) DBTEAMLOGPaperAccessType *accessType; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param eventUuid Event unique identifier. /// @param accessType Paper doc access type. /// /// @return An initialized instance. /// - (instancetype)initWithEventUuid:(NSString *)eventUuid accessType:(DBTEAMLOGPaperAccessType *)accessType; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `PaperDocChangeMemberRoleDetails` struct. /// @interface DBTEAMLOGPaperDocChangeMemberRoleDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGPaperDocChangeMemberRoleDetails` instances. /// /// @param instance An instance of the /// `DBTEAMLOGPaperDocChangeMemberRoleDetails` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGPaperDocChangeMemberRoleDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGPaperDocChangeMemberRoleDetails *)instance; /// /// Deserializes `DBTEAMLOGPaperDocChangeMemberRoleDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGPaperDocChangeMemberRoleDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGPaperDocChangeMemberRoleDetails` /// object. /// + (DBTEAMLOGPaperDocChangeMemberRoleDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocChangeMemberRoleType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocChangeSharingPolicyDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGPaperDocChangeSharingPolicyDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `PaperDocChangeSharingPolicyDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGPaperDocChangeSharingPolicyDetails : NSObject #pragma mark - Instance fields /// Event unique identifier. @property (nonatomic, readonly, copy) NSString *eventUuid; /// Sharing policy with external users. @property (nonatomic, readonly, copy, nullable) NSString *publicSharingPolicy; /// Sharing policy with team. @property (nonatomic, readonly, copy, nullable) NSString *teamSharingPolicy; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param eventUuid Event unique identifier. /// @param publicSharingPolicy Sharing policy with external users. /// @param teamSharingPolicy Sharing policy with team. /// /// @return An initialized instance. /// - (instancetype)initWithEventUuid:(NSString *)eventUuid publicSharingPolicy:(nullable NSString *)publicSharingPolicy teamSharingPolicy:(nullable NSString *)teamSharingPolicy; /// /// 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 `PaperDocChangeSharingPolicyDetails` struct. /// @interface DBTEAMLOGPaperDocChangeSharingPolicyDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGPaperDocChangeSharingPolicyDetails` instances. /// /// @param instance An instance of the /// `DBTEAMLOGPaperDocChangeSharingPolicyDetails` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGPaperDocChangeSharingPolicyDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGPaperDocChangeSharingPolicyDetails *)instance; /// /// Deserializes `DBTEAMLOGPaperDocChangeSharingPolicyDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGPaperDocChangeSharingPolicyDetails` API object. /// /// @return An instantiation of the /// `DBTEAMLOGPaperDocChangeSharingPolicyDetails` object. /// + (DBTEAMLOGPaperDocChangeSharingPolicyDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocChangeSharingPolicyType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocChangeSubscriptionDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGPaperDocChangeSubscriptionDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `PaperDocChangeSubscriptionDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGPaperDocChangeSubscriptionDetails : NSObject #pragma mark - Instance fields /// Event unique identifier. @property (nonatomic, readonly, copy) NSString *eventUuid; /// New doc subscription level. @property (nonatomic, readonly, copy) NSString *dNewSubscriptionLevel; /// Previous doc subscription level. Might be missing due to historical data /// gap. @property (nonatomic, readonly, copy, nullable) NSString *previousSubscriptionLevel; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param eventUuid Event unique identifier. /// @param dNewSubscriptionLevel New doc subscription level. /// @param previousSubscriptionLevel Previous doc subscription level. Might be /// missing due to historical data gap. /// /// @return An initialized instance. /// - (instancetype)initWithEventUuid:(NSString *)eventUuid dNewSubscriptionLevel:(NSString *)dNewSubscriptionLevel previousSubscriptionLevel:(nullable NSString *)previousSubscriptionLevel; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param eventUuid Event unique identifier. /// @param dNewSubscriptionLevel New doc subscription level. /// /// @return An initialized instance. /// - (instancetype)initWithEventUuid:(NSString *)eventUuid dNewSubscriptionLevel:(NSString *)dNewSubscriptionLevel; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `PaperDocChangeSubscriptionDetails` struct. /// @interface DBTEAMLOGPaperDocChangeSubscriptionDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGPaperDocChangeSubscriptionDetails` instances. /// /// @param instance An instance of the /// `DBTEAMLOGPaperDocChangeSubscriptionDetails` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGPaperDocChangeSubscriptionDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGPaperDocChangeSubscriptionDetails *)instance; /// /// Deserializes `DBTEAMLOGPaperDocChangeSubscriptionDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGPaperDocChangeSubscriptionDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGPaperDocChangeSubscriptionDetails` /// object. /// + (DBTEAMLOGPaperDocChangeSubscriptionDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocChangeSubscriptionType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocDeleteCommentDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGPaperDocDeleteCommentDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `PaperDocDeleteCommentDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGPaperDocDeleteCommentDetails : 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 `PaperDocDeleteCommentDetails` struct. /// @interface DBTEAMLOGPaperDocDeleteCommentDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGPaperDocDeleteCommentDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGPaperDocDeleteCommentDetails` /// API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGPaperDocDeleteCommentDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGPaperDocDeleteCommentDetails *)instance; /// /// Deserializes `DBTEAMLOGPaperDocDeleteCommentDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGPaperDocDeleteCommentDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGPaperDocDeleteCommentDetails` /// object. /// + (DBTEAMLOGPaperDocDeleteCommentDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocDeleteCommentType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocDeletedDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGPaperDocDeletedDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `PaperDocDeletedDetails` struct. /// /// Archived 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 DBTEAMLOGPaperDocDeletedDetails : 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 `PaperDocDeletedDetails` struct. /// @interface DBTEAMLOGPaperDocDeletedDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGPaperDocDeletedDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGPaperDocDeletedDetails` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGPaperDocDeletedDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGPaperDocDeletedDetails *)instance; /// /// Deserializes `DBTEAMLOGPaperDocDeletedDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGPaperDocDeletedDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGPaperDocDeletedDetails` object. /// + (DBTEAMLOGPaperDocDeletedDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocDeletedType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocDownloadDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGPaperDocDownloadDetails; @class DBTEAMLOGPaperDownloadFormat; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `PaperDocDownloadDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGPaperDocDownloadDetails : NSObject #pragma mark - Instance fields /// Event unique identifier. @property (nonatomic, readonly, copy) NSString *eventUuid; /// Export file format. @property (nonatomic, readonly) DBTEAMLOGPaperDownloadFormat *exportFileFormat; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param eventUuid Event unique identifier. /// @param exportFileFormat Export file format. /// /// @return An initialized instance. /// - (instancetype)initWithEventUuid:(NSString *)eventUuid exportFileFormat:(DBTEAMLOGPaperDownloadFormat *)exportFileFormat; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `PaperDocDownloadDetails` struct. /// @interface DBTEAMLOGPaperDocDownloadDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGPaperDocDownloadDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGPaperDocDownloadDetails` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGPaperDocDownloadDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGPaperDocDownloadDetails *)instance; /// /// Deserializes `DBTEAMLOGPaperDocDownloadDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGPaperDocDownloadDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGPaperDocDownloadDetails` object. /// + (DBTEAMLOGPaperDocDownloadDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocDownloadType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocEditCommentDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGPaperDocEditCommentDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `PaperDocEditCommentDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGPaperDocEditCommentDetails : 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 `PaperDocEditCommentDetails` struct. /// @interface DBTEAMLOGPaperDocEditCommentDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGPaperDocEditCommentDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGPaperDocEditCommentDetails` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGPaperDocEditCommentDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGPaperDocEditCommentDetails *)instance; /// /// Deserializes `DBTEAMLOGPaperDocEditCommentDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGPaperDocEditCommentDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGPaperDocEditCommentDetails` /// object. /// + (DBTEAMLOGPaperDocEditCommentDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocEditCommentType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocEditDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGPaperDocEditDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `PaperDocEditDetails` struct. /// /// Edited 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 DBTEAMLOGPaperDocEditDetails : 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 `PaperDocEditDetails` struct. /// @interface DBTEAMLOGPaperDocEditDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGPaperDocEditDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGPaperDocEditDetails` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGPaperDocEditDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGPaperDocEditDetails *)instance; /// /// Deserializes `DBTEAMLOGPaperDocEditDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGPaperDocEditDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGPaperDocEditDetails` object. /// + (DBTEAMLOGPaperDocEditDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocEditType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocFollowedDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGPaperDocFollowedDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `PaperDocFollowedDetails` struct. /// /// Followed 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 DBTEAMLOGPaperDocFollowedDetails : 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 `PaperDocFollowedDetails` struct. /// @interface DBTEAMLOGPaperDocFollowedDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGPaperDocFollowedDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGPaperDocFollowedDetails` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGPaperDocFollowedDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGPaperDocFollowedDetails *)instance; /// /// Deserializes `DBTEAMLOGPaperDocFollowedDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGPaperDocFollowedDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGPaperDocFollowedDetails` object. /// + (DBTEAMLOGPaperDocFollowedDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocFollowedType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocMentionDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGPaperDocMentionDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `PaperDocMentionDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGPaperDocMentionDetails : 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 `PaperDocMentionDetails` struct. /// @interface DBTEAMLOGPaperDocMentionDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGPaperDocMentionDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGPaperDocMentionDetails` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGPaperDocMentionDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGPaperDocMentionDetails *)instance; /// /// Deserializes `DBTEAMLOGPaperDocMentionDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGPaperDocMentionDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGPaperDocMentionDetails` object. /// + (DBTEAMLOGPaperDocMentionDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocMentionType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocOwnershipChangedDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocOwnershipChangedType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocRequestAccessDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGPaperDocRequestAccessDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `PaperDocRequestAccessDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGPaperDocRequestAccessDetails : 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 `PaperDocRequestAccessDetails` struct. /// @interface DBTEAMLOGPaperDocRequestAccessDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGPaperDocRequestAccessDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGPaperDocRequestAccessDetails` /// API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGPaperDocRequestAccessDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGPaperDocRequestAccessDetails *)instance; /// /// Deserializes `DBTEAMLOGPaperDocRequestAccessDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGPaperDocRequestAccessDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGPaperDocRequestAccessDetails` /// object. /// + (DBTEAMLOGPaperDocRequestAccessDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocRequestAccessType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocResolveCommentDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGPaperDocResolveCommentDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `PaperDocResolveCommentDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGPaperDocResolveCommentDetails : 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 `PaperDocResolveCommentDetails` struct. /// @interface DBTEAMLOGPaperDocResolveCommentDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGPaperDocResolveCommentDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGPaperDocResolveCommentDetails` /// API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGPaperDocResolveCommentDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGPaperDocResolveCommentDetails *)instance; /// /// Deserializes `DBTEAMLOGPaperDocResolveCommentDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGPaperDocResolveCommentDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGPaperDocResolveCommentDetails` /// object. /// + (DBTEAMLOGPaperDocResolveCommentDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocResolveCommentType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocRevertDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGPaperDocRevertDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `PaperDocRevertDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGPaperDocRevertDetails : 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 `PaperDocRevertDetails` struct. /// @interface DBTEAMLOGPaperDocRevertDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGPaperDocRevertDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGPaperDocRevertDetails` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGPaperDocRevertDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGPaperDocRevertDetails *)instance; /// /// Deserializes `DBTEAMLOGPaperDocRevertDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGPaperDocRevertDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGPaperDocRevertDetails` object. /// + (DBTEAMLOGPaperDocRevertDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocRevertType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocSlackShareDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGPaperDocSlackShareDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `PaperDocSlackShareDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGPaperDocSlackShareDetails : 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 `PaperDocSlackShareDetails` struct. /// @interface DBTEAMLOGPaperDocSlackShareDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGPaperDocSlackShareDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGPaperDocSlackShareDetails` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGPaperDocSlackShareDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGPaperDocSlackShareDetails *)instance; /// /// Deserializes `DBTEAMLOGPaperDocSlackShareDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGPaperDocSlackShareDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGPaperDocSlackShareDetails` object. /// + (DBTEAMLOGPaperDocSlackShareDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocSlackShareType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocTeamInviteDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGPaperDocTeamInviteDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `PaperDocTeamInviteDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGPaperDocTeamInviteDetails : 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 `PaperDocTeamInviteDetails` struct. /// @interface DBTEAMLOGPaperDocTeamInviteDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGPaperDocTeamInviteDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGPaperDocTeamInviteDetails` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGPaperDocTeamInviteDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGPaperDocTeamInviteDetails *)instance; /// /// Deserializes `DBTEAMLOGPaperDocTeamInviteDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGPaperDocTeamInviteDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGPaperDocTeamInviteDetails` object. /// + (DBTEAMLOGPaperDocTeamInviteDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocTeamInviteType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocTrashedDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGPaperDocTrashedDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `PaperDocTrashedDetails` struct. /// /// Deleted 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 DBTEAMLOGPaperDocTrashedDetails : 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 `PaperDocTrashedDetails` struct. /// @interface DBTEAMLOGPaperDocTrashedDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGPaperDocTrashedDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGPaperDocTrashedDetails` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGPaperDocTrashedDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGPaperDocTrashedDetails *)instance; /// /// Deserializes `DBTEAMLOGPaperDocTrashedDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGPaperDocTrashedDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGPaperDocTrashedDetails` object. /// + (DBTEAMLOGPaperDocTrashedDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocTrashedType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocUnresolveCommentDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGPaperDocUnresolveCommentDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `PaperDocUnresolveCommentDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGPaperDocUnresolveCommentDetails : 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 `PaperDocUnresolveCommentDetails` struct. /// @interface DBTEAMLOGPaperDocUnresolveCommentDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGPaperDocUnresolveCommentDetails` instances. /// /// @param instance An instance of the /// `DBTEAMLOGPaperDocUnresolveCommentDetails` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGPaperDocUnresolveCommentDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGPaperDocUnresolveCommentDetails *)instance; /// /// Deserializes `DBTEAMLOGPaperDocUnresolveCommentDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGPaperDocUnresolveCommentDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGPaperDocUnresolveCommentDetails` /// object. /// + (DBTEAMLOGPaperDocUnresolveCommentDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocUnresolveCommentType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocUntrashedDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGPaperDocUntrashedDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `PaperDocUntrashedDetails` struct. /// /// Restored 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 DBTEAMLOGPaperDocUntrashedDetails : 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 `PaperDocUntrashedDetails` struct. /// @interface DBTEAMLOGPaperDocUntrashedDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGPaperDocUntrashedDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGPaperDocUntrashedDetails` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGPaperDocUntrashedDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGPaperDocUntrashedDetails *)instance; /// /// Deserializes `DBTEAMLOGPaperDocUntrashedDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGPaperDocUntrashedDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGPaperDocUntrashedDetails` object. /// + (DBTEAMLOGPaperDocUntrashedDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocUntrashedType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocViewDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGPaperDocViewDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `PaperDocViewDetails` struct. /// /// Viewed 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 DBTEAMLOGPaperDocViewDetails : 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 `PaperDocViewDetails` struct. /// @interface DBTEAMLOGPaperDocViewDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGPaperDocViewDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGPaperDocViewDetails` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGPaperDocViewDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGPaperDocViewDetails *)instance; /// /// Deserializes `DBTEAMLOGPaperDocViewDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGPaperDocViewDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGPaperDocViewDetails` object. /// + (DBTEAMLOGPaperDocViewDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocViewType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocumentLogInfo.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGPaperDocumentLogInfo; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `PaperDocumentLogInfo` struct. /// /// Paper 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 DBTEAMLOGPaperDocumentLogInfo : NSObject #pragma mark - Instance fields /// Papers document Id. @property (nonatomic, readonly, copy) NSString *docId; /// Paper document title. @property (nonatomic, readonly, copy) NSString *docTitle; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param docId Papers document Id. /// @param docTitle Paper document title. /// /// @return An initialized instance. /// - (instancetype)initWithDocId:(NSString *)docId docTitle:(NSString *)docTitle; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `PaperDocumentLogInfo` struct. /// @interface DBTEAMLOGPaperDocumentLogInfoSerializer : NSObject /// /// Serializes `DBTEAMLOGPaperDocumentLogInfo` instances. /// /// @param instance An instance of the `DBTEAMLOGPaperDocumentLogInfo` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGPaperDocumentLogInfo` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGPaperDocumentLogInfo *)instance; /// /// Deserializes `DBTEAMLOGPaperDocumentLogInfo` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGPaperDocumentLogInfo` API object. /// /// @return An instantiation of the `DBTEAMLOGPaperDocumentLogInfo` object. /// + (DBTEAMLOGPaperDocumentLogInfo *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDownloadFormat.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGPaperDownloadFormat; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `PaperDownloadFormat` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMLOGPaperDownloadFormat : NSObject #pragma mark - Instance fields /// The `DBTEAMLOGPaperDownloadFormatTag` enum type represents the possible tag /// states with which the `DBTEAMLOGPaperDownloadFormat` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGPaperDownloadFormatTag){ /// (no description). DBTEAMLOGPaperDownloadFormatDocx, /// (no description). DBTEAMLOGPaperDownloadFormatHtml, /// (no description). DBTEAMLOGPaperDownloadFormatMarkdown, /// (no description). DBTEAMLOGPaperDownloadFormatPdf, /// (no description). DBTEAMLOGPaperDownloadFormatOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMLOGPaperDownloadFormatTag tag; #pragma mark - Constructors /// /// Initializes union class with tag state of "docx". /// /// @return An initialized instance. /// - (instancetype)initWithDocx; /// /// Initializes union class with tag state of "html". /// /// @return An initialized instance. /// - (instancetype)initWithHtml; /// /// Initializes union class with tag state of "markdown". /// /// @return An initialized instance. /// - (instancetype)initWithMarkdown; /// /// Initializes union class with tag state of "pdf". /// /// @return An initialized instance. /// - (instancetype)initWithPdf; /// /// 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 "docx". /// /// @return Whether the union's current tag state has value "docx". /// - (BOOL)isDocx; /// /// 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 "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". /// /// @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 `DBTEAMLOGPaperDownloadFormat` union. /// @interface DBTEAMLOGPaperDownloadFormatSerializer : NSObject /// /// Serializes `DBTEAMLOGPaperDownloadFormat` instances. /// /// @param instance An instance of the `DBTEAMLOGPaperDownloadFormat` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGPaperDownloadFormat` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGPaperDownloadFormat *)instance; /// /// Deserializes `DBTEAMLOGPaperDownloadFormat` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGPaperDownloadFormat` API object. /// /// @return An instantiation of the `DBTEAMLOGPaperDownloadFormat` object. /// + (DBTEAMLOGPaperDownloadFormat *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperEnabledUsersGroupAdditionDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGPaperEnabledUsersGroupAdditionDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `PaperEnabledUsersGroupAdditionDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGPaperEnabledUsersGroupAdditionDetails : 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 `PaperEnabledUsersGroupAdditionDetails` /// struct. /// @interface DBTEAMLOGPaperEnabledUsersGroupAdditionDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGPaperEnabledUsersGroupAdditionDetails` instances. /// /// @param instance An instance of the /// `DBTEAMLOGPaperEnabledUsersGroupAdditionDetails` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGPaperEnabledUsersGroupAdditionDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGPaperEnabledUsersGroupAdditionDetails *)instance; /// /// Deserializes `DBTEAMLOGPaperEnabledUsersGroupAdditionDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGPaperEnabledUsersGroupAdditionDetails` API object. /// /// @return An instantiation of the /// `DBTEAMLOGPaperEnabledUsersGroupAdditionDetails` object. /// + (DBTEAMLOGPaperEnabledUsersGroupAdditionDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperEnabledUsersGroupAdditionType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperEnabledUsersGroupRemovalDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGPaperEnabledUsersGroupRemovalDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `PaperEnabledUsersGroupRemovalDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGPaperEnabledUsersGroupRemovalDetails : 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 `PaperEnabledUsersGroupRemovalDetails` /// struct. /// @interface DBTEAMLOGPaperEnabledUsersGroupRemovalDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGPaperEnabledUsersGroupRemovalDetails` instances. /// /// @param instance An instance of the /// `DBTEAMLOGPaperEnabledUsersGroupRemovalDetails` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGPaperEnabledUsersGroupRemovalDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGPaperEnabledUsersGroupRemovalDetails *)instance; /// /// Deserializes `DBTEAMLOGPaperEnabledUsersGroupRemovalDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGPaperEnabledUsersGroupRemovalDetails` API object. /// /// @return An instantiation of the /// `DBTEAMLOGPaperEnabledUsersGroupRemovalDetails` object. /// + (DBTEAMLOGPaperEnabledUsersGroupRemovalDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperEnabledUsersGroupRemovalType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperExternalViewAllowDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGPaperExternalViewAllowDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `PaperExternalViewAllowDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGPaperExternalViewAllowDetails : 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 `PaperExternalViewAllowDetails` struct. /// @interface DBTEAMLOGPaperExternalViewAllowDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGPaperExternalViewAllowDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGPaperExternalViewAllowDetails` /// API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGPaperExternalViewAllowDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGPaperExternalViewAllowDetails *)instance; /// /// Deserializes `DBTEAMLOGPaperExternalViewAllowDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGPaperExternalViewAllowDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGPaperExternalViewAllowDetails` /// object. /// + (DBTEAMLOGPaperExternalViewAllowDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperExternalViewAllowType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperExternalViewDefaultTeamDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGPaperExternalViewDefaultTeamDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `PaperExternalViewDefaultTeamDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGPaperExternalViewDefaultTeamDetails : 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 `PaperExternalViewDefaultTeamDetails` /// struct. /// @interface DBTEAMLOGPaperExternalViewDefaultTeamDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGPaperExternalViewDefaultTeamDetails` instances. /// /// @param instance An instance of the /// `DBTEAMLOGPaperExternalViewDefaultTeamDetails` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGPaperExternalViewDefaultTeamDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGPaperExternalViewDefaultTeamDetails *)instance; /// /// Deserializes `DBTEAMLOGPaperExternalViewDefaultTeamDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGPaperExternalViewDefaultTeamDetails` API object. /// /// @return An instantiation of the /// `DBTEAMLOGPaperExternalViewDefaultTeamDetails` object. /// + (DBTEAMLOGPaperExternalViewDefaultTeamDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperExternalViewDefaultTeamType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperExternalViewForbidDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGPaperExternalViewForbidDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `PaperExternalViewForbidDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGPaperExternalViewForbidDetails : 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 `PaperExternalViewForbidDetails` struct. /// @interface DBTEAMLOGPaperExternalViewForbidDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGPaperExternalViewForbidDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGPaperExternalViewForbidDetails` /// API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGPaperExternalViewForbidDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGPaperExternalViewForbidDetails *)instance; /// /// Deserializes `DBTEAMLOGPaperExternalViewForbidDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGPaperExternalViewForbidDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGPaperExternalViewForbidDetails` /// object. /// + (DBTEAMLOGPaperExternalViewForbidDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperExternalViewForbidType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperFolderChangeSubscriptionDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGPaperFolderChangeSubscriptionDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `PaperFolderChangeSubscriptionDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGPaperFolderChangeSubscriptionDetails : NSObject #pragma mark - Instance fields /// Event unique identifier. @property (nonatomic, readonly, copy) NSString *eventUuid; /// New folder subscription level. @property (nonatomic, readonly, copy) NSString *dNewSubscriptionLevel; /// Previous folder subscription level. Might be missing due to historical data /// gap. @property (nonatomic, readonly, copy, nullable) NSString *previousSubscriptionLevel; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param eventUuid Event unique identifier. /// @param dNewSubscriptionLevel New folder subscription level. /// @param previousSubscriptionLevel Previous folder subscription level. Might /// be missing due to historical data gap. /// /// @return An initialized instance. /// - (instancetype)initWithEventUuid:(NSString *)eventUuid dNewSubscriptionLevel:(NSString *)dNewSubscriptionLevel previousSubscriptionLevel:(nullable NSString *)previousSubscriptionLevel; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param eventUuid Event unique identifier. /// @param dNewSubscriptionLevel New folder subscription level. /// /// @return An initialized instance. /// - (instancetype)initWithEventUuid:(NSString *)eventUuid dNewSubscriptionLevel:(NSString *)dNewSubscriptionLevel; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `PaperFolderChangeSubscriptionDetails` /// struct. /// @interface DBTEAMLOGPaperFolderChangeSubscriptionDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGPaperFolderChangeSubscriptionDetails` instances. /// /// @param instance An instance of the /// `DBTEAMLOGPaperFolderChangeSubscriptionDetails` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGPaperFolderChangeSubscriptionDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGPaperFolderChangeSubscriptionDetails *)instance; /// /// Deserializes `DBTEAMLOGPaperFolderChangeSubscriptionDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGPaperFolderChangeSubscriptionDetails` API object. /// /// @return An instantiation of the /// `DBTEAMLOGPaperFolderChangeSubscriptionDetails` object. /// + (DBTEAMLOGPaperFolderChangeSubscriptionDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperFolderChangeSubscriptionType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperFolderDeletedDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGPaperFolderDeletedDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `PaperFolderDeletedDetails` struct. /// /// Archived Paper folder. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMLOGPaperFolderDeletedDetails : 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 `PaperFolderDeletedDetails` struct. /// @interface DBTEAMLOGPaperFolderDeletedDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGPaperFolderDeletedDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGPaperFolderDeletedDetails` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGPaperFolderDeletedDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGPaperFolderDeletedDetails *)instance; /// /// Deserializes `DBTEAMLOGPaperFolderDeletedDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGPaperFolderDeletedDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGPaperFolderDeletedDetails` object. /// + (DBTEAMLOGPaperFolderDeletedDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperFolderDeletedType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperFolderFollowedDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGPaperFolderFollowedDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `PaperFolderFollowedDetails` struct. /// /// Followed Paper folder. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMLOGPaperFolderFollowedDetails : 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 `PaperFolderFollowedDetails` struct. /// @interface DBTEAMLOGPaperFolderFollowedDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGPaperFolderFollowedDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGPaperFolderFollowedDetails` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGPaperFolderFollowedDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGPaperFolderFollowedDetails *)instance; /// /// Deserializes `DBTEAMLOGPaperFolderFollowedDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGPaperFolderFollowedDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGPaperFolderFollowedDetails` /// object. /// + (DBTEAMLOGPaperFolderFollowedDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperFolderFollowedType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperFolderLogInfo.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGPaperFolderLogInfo; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `PaperFolderLogInfo` struct. /// /// Paper folder'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 DBTEAMLOGPaperFolderLogInfo : NSObject #pragma mark - Instance fields /// Papers folder Id. @property (nonatomic, readonly, copy) NSString *folderId; /// Paper folder name. @property (nonatomic, readonly, copy) NSString *folderName; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param folderId Papers folder Id. /// @param folderName Paper folder name. /// /// @return An initialized instance. /// - (instancetype)initWithFolderId:(NSString *)folderId folderName:(NSString *)folderName; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `PaperFolderLogInfo` struct. /// @interface DBTEAMLOGPaperFolderLogInfoSerializer : NSObject /// /// Serializes `DBTEAMLOGPaperFolderLogInfo` instances. /// /// @param instance An instance of the `DBTEAMLOGPaperFolderLogInfo` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGPaperFolderLogInfo` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGPaperFolderLogInfo *)instance; /// /// Deserializes `DBTEAMLOGPaperFolderLogInfo` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGPaperFolderLogInfo` API object. /// /// @return An instantiation of the `DBTEAMLOGPaperFolderLogInfo` object. /// + (DBTEAMLOGPaperFolderLogInfo *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperFolderTeamInviteDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGPaperFolderTeamInviteDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `PaperFolderTeamInviteDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGPaperFolderTeamInviteDetails : 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 `PaperFolderTeamInviteDetails` struct. /// @interface DBTEAMLOGPaperFolderTeamInviteDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGPaperFolderTeamInviteDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGPaperFolderTeamInviteDetails` /// API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGPaperFolderTeamInviteDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGPaperFolderTeamInviteDetails *)instance; /// /// Deserializes `DBTEAMLOGPaperFolderTeamInviteDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGPaperFolderTeamInviteDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGPaperFolderTeamInviteDetails` /// object. /// + (DBTEAMLOGPaperFolderTeamInviteDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperFolderTeamInviteType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperMemberPolicy.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGPaperMemberPolicy; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `PaperMemberPolicy` union. /// /// Policy for controlling if team members can share Paper documents externally. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMLOGPaperMemberPolicy : NSObject #pragma mark - Instance fields /// The `DBTEAMLOGPaperMemberPolicyTag` enum type represents the possible tag /// states with which the `DBTEAMLOGPaperMemberPolicy` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGPaperMemberPolicyTag){ /// (no description). DBTEAMLOGPaperMemberPolicyAnyoneWithLink, /// (no description). DBTEAMLOGPaperMemberPolicyOnlyTeam, /// (no description). DBTEAMLOGPaperMemberPolicyTeamAndExplicitlyShared, /// (no description). DBTEAMLOGPaperMemberPolicyOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMLOGPaperMemberPolicyTag tag; #pragma mark - Constructors /// /// Initializes union class with tag state of "anyone_with_link". /// /// @return An initialized instance. /// - (instancetype)initWithAnyoneWithLink; /// /// Initializes union class with tag state of "only_team". /// /// @return An initialized instance. /// - (instancetype)initWithOnlyTeam; /// /// Initializes union class with tag state of "team_and_explicitly_shared". /// /// @return An initialized instance. /// - (instancetype)initWithTeamAndExplicitlyShared; /// /// 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 /// "anyone_with_link". /// /// @return Whether the union's current tag state has value "anyone_with_link". /// - (BOOL)isAnyoneWithLink; /// /// Retrieves whether the union's current tag state has value "only_team". /// /// @return Whether the union's current tag state has value "only_team". /// - (BOOL)isOnlyTeam; /// /// Retrieves whether the union's current tag state has value /// "team_and_explicitly_shared". /// /// @return Whether the union's current tag state has value /// "team_and_explicitly_shared". /// - (BOOL)isTeamAndExplicitlyShared; /// /// 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 `DBTEAMLOGPaperMemberPolicy` union. /// @interface DBTEAMLOGPaperMemberPolicySerializer : NSObject /// /// Serializes `DBTEAMLOGPaperMemberPolicy` instances. /// /// @param instance An instance of the `DBTEAMLOGPaperMemberPolicy` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGPaperMemberPolicy` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGPaperMemberPolicy *)instance; /// /// Deserializes `DBTEAMLOGPaperMemberPolicy` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGPaperMemberPolicy` API object. /// /// @return An instantiation of the `DBTEAMLOGPaperMemberPolicy` object. /// + (DBTEAMLOGPaperMemberPolicy *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperPublishedLinkChangePermissionDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperPublishedLinkChangePermissionType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperPublishedLinkCreateDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperPublishedLinkCreateType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperPublishedLinkDisabledDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperPublishedLinkDisabledType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperPublishedLinkViewDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperPublishedLinkViewType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGParticipantLogInfo.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGGroupLogInfo; @class DBTEAMLOGParticipantLogInfo; @class DBTEAMLOGUserLogInfo; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `ParticipantLogInfo` union. /// /// A user or group /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMLOGParticipantLogInfo : NSObject #pragma mark - Instance fields /// The `DBTEAMLOGParticipantLogInfoTag` enum type represents the possible tag /// states with which the `DBTEAMLOGParticipantLogInfo` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGParticipantLogInfoTag){ /// Group details. DBTEAMLOGParticipantLogInfoGroup, /// A user with a Dropbox account. DBTEAMLOGParticipantLogInfoUser, /// (no description). DBTEAMLOGParticipantLogInfoOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMLOGParticipantLogInfoTag tag; /// 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 "group". /// /// Description of the "group" tag state: Group details. /// /// @param group Group details. /// /// @return An initialized instance. /// - (instancetype)initWithGroup:(DBTEAMLOGGroupLogInfo *)group; /// /// Initializes union class with tag state of "user". /// /// Description of the "user" tag state: A user with a Dropbox account. /// /// @param user A user with a Dropbox account. /// /// @return An initialized instance. /// - (instancetype)initWithUser:(DBTEAMLOGUserLogInfo *)user; /// /// 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 "group". /// /// @note Call this method and ensure it returns true before accessing the /// `group` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value "group". /// - (BOOL)isGroup; /// /// 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 "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 `DBTEAMLOGParticipantLogInfo` union. /// @interface DBTEAMLOGParticipantLogInfoSerializer : NSObject /// /// Serializes `DBTEAMLOGParticipantLogInfo` instances. /// /// @param instance An instance of the `DBTEAMLOGParticipantLogInfo` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGParticipantLogInfo` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGParticipantLogInfo *)instance; /// /// Deserializes `DBTEAMLOGParticipantLogInfo` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGParticipantLogInfo` API object. /// /// @return An instantiation of the `DBTEAMLOGParticipantLogInfo` object. /// + (DBTEAMLOGParticipantLogInfo *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPassPolicy.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPasswordChangeDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGPasswordChangeDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `PasswordChangeDetails` struct. /// /// Changed password. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMLOGPasswordChangeDetails : 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 `PasswordChangeDetails` struct. /// @interface DBTEAMLOGPasswordChangeDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGPasswordChangeDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGPasswordChangeDetails` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGPasswordChangeDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGPasswordChangeDetails *)instance; /// /// Deserializes `DBTEAMLOGPasswordChangeDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGPasswordChangeDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGPasswordChangeDetails` object. /// + (DBTEAMLOGPasswordChangeDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPasswordChangeType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPasswordResetAllDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGPasswordResetAllDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `PasswordResetAllDetails` struct. /// /// Reset all team member passwords. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMLOGPasswordResetAllDetails : 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 `PasswordResetAllDetails` struct. /// @interface DBTEAMLOGPasswordResetAllDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGPasswordResetAllDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGPasswordResetAllDetails` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGPasswordResetAllDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGPasswordResetAllDetails *)instance; /// /// Deserializes `DBTEAMLOGPasswordResetAllDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGPasswordResetAllDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGPasswordResetAllDetails` object. /// + (DBTEAMLOGPasswordResetAllDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPasswordResetAllType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPasswordResetDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGPasswordResetDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `PasswordResetDetails` struct. /// /// Reset password. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMLOGPasswordResetDetails : 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 `PasswordResetDetails` struct. /// @interface DBTEAMLOGPasswordResetDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGPasswordResetDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGPasswordResetDetails` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGPasswordResetDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGPasswordResetDetails *)instance; /// /// Deserializes `DBTEAMLOGPasswordResetDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGPasswordResetDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGPasswordResetDetails` object. /// + (DBTEAMLOGPasswordResetDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPasswordResetType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPasswordStrengthRequirementsChangePolicyDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPasswordStrengthRequirementsChangePolicyType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPathLogInfo.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGNamespaceRelativePathLogInfo; @class DBTEAMLOGPathLogInfo; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `PathLogInfo` struct. /// /// Path's details. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMLOGPathLogInfo : NSObject #pragma mark - Instance fields /// Fully qualified path relative to event's context. @property (nonatomic, readonly, copy, nullable) NSString *contextual; /// Path relative to the namespace containing the content. @property (nonatomic, readonly) DBTEAMLOGNamespaceRelativePathLogInfo *namespaceRelative; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param namespaceRelative Path relative to the namespace containing the /// content. /// @param contextual Fully qualified path relative to event's context. /// /// @return An initialized instance. /// - (instancetype)initWithNamespaceRelative:(DBTEAMLOGNamespaceRelativePathLogInfo *)namespaceRelative contextual:(nullable NSString *)contextual; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param namespaceRelative Path relative to the namespace containing the /// content. /// /// @return An initialized instance. /// - (instancetype)initWithNamespaceRelative:(DBTEAMLOGNamespaceRelativePathLogInfo *)namespaceRelative; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `PathLogInfo` struct. /// @interface DBTEAMLOGPathLogInfoSerializer : NSObject /// /// Serializes `DBTEAMLOGPathLogInfo` instances. /// /// @param instance An instance of the `DBTEAMLOGPathLogInfo` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGPathLogInfo` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGPathLogInfo *)instance; /// /// Deserializes `DBTEAMLOGPathLogInfo` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGPathLogInfo` API object. /// /// @return An instantiation of the `DBTEAMLOGPathLogInfo` object. /// + (DBTEAMLOGPathLogInfo *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPendingSecondaryEmailAddedDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPendingSecondaryEmailAddedType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPermanentDeleteChangePolicyDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGContentPermanentDeletePolicy; @class DBTEAMLOGPermanentDeleteChangePolicyDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `PermanentDeleteChangePolicyDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGPermanentDeleteChangePolicyDetails : NSObject #pragma mark - Instance fields /// New permanent delete content policy. @property (nonatomic, readonly) DBTEAMLOGContentPermanentDeletePolicy *dNewValue; /// Previous permanent delete content policy. Might be missing due to historical /// data gap. @property (nonatomic, readonly, nullable) DBTEAMLOGContentPermanentDeletePolicy *previousValue; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param dNewValue New permanent delete content policy. /// @param previousValue Previous permanent delete content policy. Might be /// missing due to historical data gap. /// /// @return An initialized instance. /// - (instancetype)initWithDNewValue:(DBTEAMLOGContentPermanentDeletePolicy *)dNewValue previousValue:(nullable DBTEAMLOGContentPermanentDeletePolicy *)previousValue; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param dNewValue New permanent delete content policy. /// /// @return An initialized instance. /// - (instancetype)initWithDNewValue:(DBTEAMLOGContentPermanentDeletePolicy *)dNewValue; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `PermanentDeleteChangePolicyDetails` struct. /// @interface DBTEAMLOGPermanentDeleteChangePolicyDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGPermanentDeleteChangePolicyDetails` instances. /// /// @param instance An instance of the /// `DBTEAMLOGPermanentDeleteChangePolicyDetails` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGPermanentDeleteChangePolicyDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGPermanentDeleteChangePolicyDetails *)instance; /// /// Deserializes `DBTEAMLOGPermanentDeleteChangePolicyDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGPermanentDeleteChangePolicyDetails` API object. /// /// @return An instantiation of the /// `DBTEAMLOGPermanentDeleteChangePolicyDetails` object. /// + (DBTEAMLOGPermanentDeleteChangePolicyDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPermanentDeleteChangePolicyType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPlacementRestriction.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGPlacementRestriction; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `PlacementRestriction` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMLOGPlacementRestriction : NSObject #pragma mark - Instance fields /// The `DBTEAMLOGPlacementRestrictionTag` enum type represents the possible tag /// states with which the `DBTEAMLOGPlacementRestriction` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGPlacementRestrictionTag){ /// (no description). DBTEAMLOGPlacementRestrictionAustraliaOnly, /// (no description). DBTEAMLOGPlacementRestrictionEuropeOnly, /// (no description). DBTEAMLOGPlacementRestrictionJapanOnly, /// (no description). DBTEAMLOGPlacementRestrictionNone, /// (no description). DBTEAMLOGPlacementRestrictionUkOnly, /// (no description). DBTEAMLOGPlacementRestrictionUsS3Only, /// (no description). DBTEAMLOGPlacementRestrictionOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMLOGPlacementRestrictionTag tag; #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". /// /// @return An initialized instance. /// - (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". /// /// @return An initialized instance. /// - (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". /// /// @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 "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". /// /// @return Whether the union's current tag state has value "europe_only". /// - (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". /// /// @return Whether the union's current tag state has value "none". /// - (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". /// /// @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 `DBTEAMLOGPlacementRestriction` union. /// @interface DBTEAMLOGPlacementRestrictionSerializer : NSObject /// /// Serializes `DBTEAMLOGPlacementRestriction` instances. /// /// @param instance An instance of the `DBTEAMLOGPlacementRestriction` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGPlacementRestriction` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGPlacementRestriction *)instance; /// /// Deserializes `DBTEAMLOGPlacementRestriction` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGPlacementRestriction` API object. /// /// @return An instantiation of the `DBTEAMLOGPlacementRestriction` object. /// + (DBTEAMLOGPlacementRestriction *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPolicyType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPrimaryTeamRequestAcceptedDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPrimaryTeamRequestCanceledDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPrimaryTeamRequestExpiredDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPrimaryTeamRequestReminderDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGQuickActionType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGRansomwareAlertCreateReportDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGRansomwareAlertCreateReportFailedDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGRansomwareAlertCreateReportFailedType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGRansomwareAlertCreateReportType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGRansomwareRestoreProcessCompletedDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGRansomwareRestoreProcessCompletedType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGRansomwareRestoreProcessStartedDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGRansomwareRestoreProcessStartedType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGRecipientsConfiguration.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGRelocateAssetReferencesLogInfo.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGRelocateAssetReferencesLogInfo; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `RelocateAssetReferencesLogInfo` struct. /// /// Provides the indices of the source asset and the destination asset for a /// relocate action. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMLOGRelocateAssetReferencesLogInfo : NSObject #pragma mark - Instance fields /// Source asset position in the Assets list. @property (nonatomic, readonly) NSNumber *srcAssetIndex; /// Destination asset position in the Assets list. @property (nonatomic, readonly) NSNumber *destAssetIndex; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param srcAssetIndex Source asset position in the Assets list. /// @param destAssetIndex Destination asset position in the Assets list. /// /// @return An initialized instance. /// - (instancetype)initWithSrcAssetIndex:(NSNumber *)srcAssetIndex destAssetIndex:(NSNumber *)destAssetIndex; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `RelocateAssetReferencesLogInfo` struct. /// @interface DBTEAMLOGRelocateAssetReferencesLogInfoSerializer : NSObject /// /// Serializes `DBTEAMLOGRelocateAssetReferencesLogInfo` instances. /// /// @param instance An instance of the `DBTEAMLOGRelocateAssetReferencesLogInfo` /// API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGRelocateAssetReferencesLogInfo` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGRelocateAssetReferencesLogInfo *)instance; /// /// Deserializes `DBTEAMLOGRelocateAssetReferencesLogInfo` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGRelocateAssetReferencesLogInfo` API object. /// /// @return An instantiation of the `DBTEAMLOGRelocateAssetReferencesLogInfo` /// object. /// + (DBTEAMLOGRelocateAssetReferencesLogInfo *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGReplayFileDeleteDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGReplayFileDeleteDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `ReplayFileDeleteDetails` struct. /// /// 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 DBTEAMLOGReplayFileDeleteDetails : 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 `ReplayFileDeleteDetails` struct. /// @interface DBTEAMLOGReplayFileDeleteDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGReplayFileDeleteDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGReplayFileDeleteDetails` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGReplayFileDeleteDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGReplayFileDeleteDetails *)instance; /// /// Deserializes `DBTEAMLOGReplayFileDeleteDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGReplayFileDeleteDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGReplayFileDeleteDetails` object. /// + (DBTEAMLOGReplayFileDeleteDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGReplayFileDeleteType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGReplayFileSharedLinkCreatedDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGReplayFileSharedLinkCreatedType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGReplayFileSharedLinkModifiedDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGReplayFileSharedLinkModifiedType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGReplayProjectTeamAddDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGReplayProjectTeamAddType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGReplayProjectTeamDeleteDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGReplayProjectTeamDeleteDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `ReplayProjectTeamDeleteDetails` struct. /// /// 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 DBTEAMLOGReplayProjectTeamDeleteDetails : 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 `ReplayProjectTeamDeleteDetails` struct. /// @interface DBTEAMLOGReplayProjectTeamDeleteDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGReplayProjectTeamDeleteDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGReplayProjectTeamDeleteDetails` /// API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGReplayProjectTeamDeleteDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGReplayProjectTeamDeleteDetails *)instance; /// /// Deserializes `DBTEAMLOGReplayProjectTeamDeleteDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGReplayProjectTeamDeleteDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGReplayProjectTeamDeleteDetails` /// object. /// + (DBTEAMLOGReplayProjectTeamDeleteDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGReplayProjectTeamDeleteType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGResellerLogInfo.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGResellerLogInfo; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `ResellerLogInfo` struct. /// /// Reseller information. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMLOGResellerLogInfo : NSObject #pragma mark - Instance fields /// Reseller name. @property (nonatomic, readonly, copy) NSString *resellerName; /// Reseller email. @property (nonatomic, readonly, copy) NSString *resellerEmail; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param resellerName Reseller name. /// @param resellerEmail Reseller email. /// /// @return An initialized instance. /// - (instancetype)initWithResellerName:(NSString *)resellerName resellerEmail:(NSString *)resellerEmail; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `ResellerLogInfo` struct. /// @interface DBTEAMLOGResellerLogInfoSerializer : NSObject /// /// Serializes `DBTEAMLOGResellerLogInfo` instances. /// /// @param instance An instance of the `DBTEAMLOGResellerLogInfo` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGResellerLogInfo` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGResellerLogInfo *)instance; /// /// Deserializes `DBTEAMLOGResellerLogInfo` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGResellerLogInfo` API object. /// /// @return An instantiation of the `DBTEAMLOGResellerLogInfo` object. /// + (DBTEAMLOGResellerLogInfo *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGResellerRole.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGResellerSupportChangePolicyDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGResellerSupportChangePolicyType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGResellerSupportPolicy.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGResellerSupportPolicy; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `ResellerSupportPolicy` union. /// /// 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 DBTEAMLOGResellerSupportPolicy : NSObject #pragma mark - Instance fields /// 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). DBTEAMLOGResellerSupportPolicyEnabled, /// (no description). DBTEAMLOGResellerSupportPolicyOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMLOGResellerSupportPolicyTag 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 `DBTEAMLOGResellerSupportPolicy` union. /// @interface DBTEAMLOGResellerSupportPolicySerializer : NSObject /// /// Serializes `DBTEAMLOGResellerSupportPolicy` instances. /// /// @param instance An instance of the `DBTEAMLOGResellerSupportPolicy` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGResellerSupportPolicy` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGResellerSupportPolicy *)instance; /// /// Deserializes `DBTEAMLOGResellerSupportPolicy` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGResellerSupportPolicy` API object. /// /// @return An instantiation of the `DBTEAMLOGResellerSupportPolicy` object. /// + (DBTEAMLOGResellerSupportPolicy *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGResellerSupportSessionEndDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGResellerSupportSessionEndDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `ResellerSupportSessionEndDetails` struct. /// /// Ended reseller support session. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMLOGResellerSupportSessionEndDetails : 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 `ResellerSupportSessionEndDetails` struct. /// @interface DBTEAMLOGResellerSupportSessionEndDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGResellerSupportSessionEndDetails` instances. /// /// @param instance An instance of the /// `DBTEAMLOGResellerSupportSessionEndDetails` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGResellerSupportSessionEndDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGResellerSupportSessionEndDetails *)instance; /// /// Deserializes `DBTEAMLOGResellerSupportSessionEndDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGResellerSupportSessionEndDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGResellerSupportSessionEndDetails` /// object. /// + (DBTEAMLOGResellerSupportSessionEndDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGResellerSupportSessionEndType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGResellerSupportSessionStartDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGResellerSupportSessionStartDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `ResellerSupportSessionStartDetails` struct. /// /// Started reseller support session. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMLOGResellerSupportSessionStartDetails : 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 `ResellerSupportSessionStartDetails` struct. /// @interface DBTEAMLOGResellerSupportSessionStartDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGResellerSupportSessionStartDetails` instances. /// /// @param instance An instance of the /// `DBTEAMLOGResellerSupportSessionStartDetails` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGResellerSupportSessionStartDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGResellerSupportSessionStartDetails *)instance; /// /// Deserializes `DBTEAMLOGResellerSupportSessionStartDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGResellerSupportSessionStartDetails` API object. /// /// @return An instantiation of the /// `DBTEAMLOGResellerSupportSessionStartDetails` object. /// + (DBTEAMLOGResellerSupportSessionStartDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGResellerSupportSessionStartType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGRewindFolderDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGRewindFolderType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGRewindPolicy.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGRewindPolicyChangedDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGRewindPolicyChangedType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSecondaryEmailDeletedDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSecondaryEmailDeletedType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSecondaryEmailVerifiedDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSecondaryEmailVerifiedType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSecondaryMailsPolicy.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSecondaryMailsPolicyChangedDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSecondaryMailsPolicyChangedType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSecondaryTeamRequestAcceptedDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSecondaryTeamRequestCanceledDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSecondaryTeamRequestExpiredDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSecondaryTeamRequestReminderDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSendForSignaturePolicy.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSendForSignaturePolicyChangedDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSendForSignaturePolicyChangedType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSessionLogInfo.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGSessionLogInfo; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `SessionLogInfo` struct. /// /// Session'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 DBTEAMLOGSessionLogInfo : NSObject #pragma mark - Instance fields /// Session ID. @property (nonatomic, readonly, copy, nullable) NSString *sessionId; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param sessionId Session ID. /// /// @return An initialized instance. /// - (instancetype)initWithSessionId:(nullable NSString *)sessionId; /// /// 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 `SessionLogInfo` struct. /// @interface DBTEAMLOGSessionLogInfoSerializer : NSObject /// /// Serializes `DBTEAMLOGSessionLogInfo` instances. /// /// @param instance An instance of the `DBTEAMLOGSessionLogInfo` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSessionLogInfo` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGSessionLogInfo *)instance; /// /// Deserializes `DBTEAMLOGSessionLogInfo` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGSessionLogInfo` API object. /// /// @return An instantiation of the `DBTEAMLOGSessionLogInfo` object. /// + (DBTEAMLOGSessionLogInfo *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSfAddGroupDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGSfAddGroupDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `SfAddGroupDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGSfAddGroupDetails : 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; /// Sharing permission. @property (nonatomic, readonly, copy, nullable) NSString *sharingPermission; /// Team name. @property (nonatomic, readonly, copy) NSString *teamName; #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 teamName Team name. /// @param sharingPermission Sharing permission. /// /// @return An initialized instance. /// - (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex originalFolderName:(NSString *)originalFolderName teamName:(NSString *)teamName 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 originalFolderName Original shared folder name. /// @param teamName Team name. /// /// @return An initialized instance. /// - (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex originalFolderName:(NSString *)originalFolderName teamName:(NSString *)teamName; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `SfAddGroupDetails` struct. /// @interface DBTEAMLOGSfAddGroupDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGSfAddGroupDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGSfAddGroupDetails` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSfAddGroupDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGSfAddGroupDetails *)instance; /// /// Deserializes `DBTEAMLOGSfAddGroupDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGSfAddGroupDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGSfAddGroupDetails` object. /// + (DBTEAMLOGSfAddGroupDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSfAddGroupType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSfAllowNonMembersToViewSharedLinksDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGSfAllowNonMembersToViewSharedLinksDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `SfAllowNonMembersToViewSharedLinksDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGSfAllowNonMembersToViewSharedLinksDetails : 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. @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. /// /// @return An initialized instance. /// - (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex originalFolderName:(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. /// @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 `SfAllowNonMembersToViewSharedLinksDetails` /// struct. /// @interface DBTEAMLOGSfAllowNonMembersToViewSharedLinksDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGSfAllowNonMembersToViewSharedLinksDetails` instances. /// /// @param instance An instance of the /// `DBTEAMLOGSfAllowNonMembersToViewSharedLinksDetails` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSfAllowNonMembersToViewSharedLinksDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGSfAllowNonMembersToViewSharedLinksDetails *)instance; /// /// Deserializes `DBTEAMLOGSfAllowNonMembersToViewSharedLinksDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGSfAllowNonMembersToViewSharedLinksDetails` API object. /// /// @return An instantiation of the /// `DBTEAMLOGSfAllowNonMembersToViewSharedLinksDetails` object. /// + (DBTEAMLOGSfAllowNonMembersToViewSharedLinksDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSfAllowNonMembersToViewSharedLinksType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSfExternalInviteWarnDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGSfExternalInviteWarnDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `SfExternalInviteWarnDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGSfExternalInviteWarnDetails : 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 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)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex originalFolderName:(NSString *)originalFolderName; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `SfExternalInviteWarnDetails` struct. /// @interface DBTEAMLOGSfExternalInviteWarnDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGSfExternalInviteWarnDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGSfExternalInviteWarnDetails` /// API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSfExternalInviteWarnDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGSfExternalInviteWarnDetails *)instance; /// /// Deserializes `DBTEAMLOGSfExternalInviteWarnDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGSfExternalInviteWarnDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGSfExternalInviteWarnDetails` /// object. /// + (DBTEAMLOGSfExternalInviteWarnDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSfExternalInviteWarnType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSfFbInviteChangeRoleDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSfFbInviteChangeRoleType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSfFbInviteDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGSfFbInviteDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `SfFbInviteDetails` struct. /// /// 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 DBTEAMLOGSfFbInviteDetails : 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; /// Sharing permission. @property (nonatomic, readonly, copy, nullable) NSString *sharingPermission; #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. /// /// @return An initialized instance. /// - (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex originalFolderName:(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 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 `SfFbInviteDetails` struct. /// @interface DBTEAMLOGSfFbInviteDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGSfFbInviteDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGSfFbInviteDetails` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSfFbInviteDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGSfFbInviteDetails *)instance; /// /// Deserializes `DBTEAMLOGSfFbInviteDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGSfFbInviteDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGSfFbInviteDetails` object. /// + (DBTEAMLOGSfFbInviteDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSfFbInviteType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSfFbUninviteDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGSfFbUninviteDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `SfFbUninviteDetails` struct. /// /// 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 DBTEAMLOGSfFbUninviteDetails : 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 `SfFbUninviteDetails` struct. /// @interface DBTEAMLOGSfFbUninviteDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGSfFbUninviteDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGSfFbUninviteDetails` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSfFbUninviteDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGSfFbUninviteDetails *)instance; /// /// Deserializes `DBTEAMLOGSfFbUninviteDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGSfFbUninviteDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGSfFbUninviteDetails` object. /// + (DBTEAMLOGSfFbUninviteDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSfFbUninviteType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSfInviteGroupDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGSfInviteGroupDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `SfInviteGroupDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGSfInviteGroupDetails : NSObject #pragma mark - Instance fields /// Target asset position in the Assets list. @property (nonatomic, readonly) NSNumber *targetAssetIndex; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param targetAssetIndex Target asset position in the Assets list. /// /// @return An initialized instance. /// - (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `SfInviteGroupDetails` struct. /// @interface DBTEAMLOGSfInviteGroupDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGSfInviteGroupDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGSfInviteGroupDetails` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSfInviteGroupDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGSfInviteGroupDetails *)instance; /// /// Deserializes `DBTEAMLOGSfInviteGroupDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGSfInviteGroupDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGSfInviteGroupDetails` object. /// + (DBTEAMLOGSfInviteGroupDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSfInviteGroupType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSfTeamGrantAccessDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGSfTeamGrantAccessDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `SfTeamGrantAccessDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGSfTeamGrantAccessDetails : 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 `SfTeamGrantAccessDetails` struct. /// @interface DBTEAMLOGSfTeamGrantAccessDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGSfTeamGrantAccessDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGSfTeamGrantAccessDetails` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSfTeamGrantAccessDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGSfTeamGrantAccessDetails *)instance; /// /// Deserializes `DBTEAMLOGSfTeamGrantAccessDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGSfTeamGrantAccessDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGSfTeamGrantAccessDetails` object. /// + (DBTEAMLOGSfTeamGrantAccessDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSfTeamGrantAccessType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSfTeamInviteChangeRoleDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGSfTeamInviteChangeRoleDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `SfTeamInviteChangeRoleDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGSfTeamInviteChangeRoleDetails : 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 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)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex originalFolderName:(NSString *)originalFolderName; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `SfTeamInviteChangeRoleDetails` struct. /// @interface DBTEAMLOGSfTeamInviteChangeRoleDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGSfTeamInviteChangeRoleDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGSfTeamInviteChangeRoleDetails` /// API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSfTeamInviteChangeRoleDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGSfTeamInviteChangeRoleDetails *)instance; /// /// Deserializes `DBTEAMLOGSfTeamInviteChangeRoleDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGSfTeamInviteChangeRoleDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGSfTeamInviteChangeRoleDetails` /// object. /// + (DBTEAMLOGSfTeamInviteChangeRoleDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSfTeamInviteChangeRoleType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSfTeamInviteDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGSfTeamInviteDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `SfTeamInviteDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGSfTeamInviteDetails : 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; /// Sharing permission. @property (nonatomic, readonly, copy, nullable) NSString *sharingPermission; #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. /// /// @return An initialized instance. /// - (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex originalFolderName:(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 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 `SfTeamInviteDetails` struct. /// @interface DBTEAMLOGSfTeamInviteDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGSfTeamInviteDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGSfTeamInviteDetails` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSfTeamInviteDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGSfTeamInviteDetails *)instance; /// /// Deserializes `DBTEAMLOGSfTeamInviteDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGSfTeamInviteDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGSfTeamInviteDetails` object. /// + (DBTEAMLOGSfTeamInviteDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSfTeamInviteType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSfTeamJoinDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGSfTeamJoinDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `SfTeamJoinDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGSfTeamJoinDetails : 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 `SfTeamJoinDetails` struct. /// @interface DBTEAMLOGSfTeamJoinDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGSfTeamJoinDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGSfTeamJoinDetails` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSfTeamJoinDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGSfTeamJoinDetails *)instance; /// /// Deserializes `DBTEAMLOGSfTeamJoinDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGSfTeamJoinDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGSfTeamJoinDetails` object. /// + (DBTEAMLOGSfTeamJoinDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSfTeamJoinFromOobLinkDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGSfTeamJoinFromOobLinkDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `SfTeamJoinFromOobLinkDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGSfTeamJoinFromOobLinkDetails : 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 link token key. @property (nonatomic, readonly, copy, nullable) NSString *tokenKey; /// Sharing permission. @property (nonatomic, readonly, copy, nullable) NSString *sharingPermission; #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 tokenKey Shared link token key. /// @param sharingPermission Sharing permission. /// /// @return An initialized instance. /// - (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex originalFolderName:(NSString *)originalFolderName tokenKey:(nullable NSString *)tokenKey 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 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 `SfTeamJoinFromOobLinkDetails` struct. /// @interface DBTEAMLOGSfTeamJoinFromOobLinkDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGSfTeamJoinFromOobLinkDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGSfTeamJoinFromOobLinkDetails` /// API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSfTeamJoinFromOobLinkDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGSfTeamJoinFromOobLinkDetails *)instance; /// /// Deserializes `DBTEAMLOGSfTeamJoinFromOobLinkDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGSfTeamJoinFromOobLinkDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGSfTeamJoinFromOobLinkDetails` /// object. /// + (DBTEAMLOGSfTeamJoinFromOobLinkDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSfTeamJoinFromOobLinkType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSfTeamJoinType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSfTeamUninviteDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGSfTeamUninviteDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `SfTeamUninviteDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGSfTeamUninviteDetails : 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 `SfTeamUninviteDetails` struct. /// @interface DBTEAMLOGSfTeamUninviteDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGSfTeamUninviteDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGSfTeamUninviteDetails` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSfTeamUninviteDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGSfTeamUninviteDetails *)instance; /// /// Deserializes `DBTEAMLOGSfTeamUninviteDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGSfTeamUninviteDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGSfTeamUninviteDetails` object. /// + (DBTEAMLOGSfTeamUninviteDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSfTeamUninviteType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentAddInviteesDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGAccessLevel; @class DBTEAMLOGSharedContentAddInviteesDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `SharedContentAddInviteesDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGSharedContentAddInviteesDetails : 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 `SharedContentAddInviteesDetails` struct. /// @interface DBTEAMLOGSharedContentAddInviteesDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGSharedContentAddInviteesDetails` instances. /// /// @param instance An instance of the /// `DBTEAMLOGSharedContentAddInviteesDetails` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSharedContentAddInviteesDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGSharedContentAddInviteesDetails *)instance; /// /// Deserializes `DBTEAMLOGSharedContentAddInviteesDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGSharedContentAddInviteesDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGSharedContentAddInviteesDetails` /// object. /// + (DBTEAMLOGSharedContentAddInviteesDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentAddInviteesType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentAddLinkExpiryDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGSharedContentAddLinkExpiryDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `SharedContentAddLinkExpiryDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGSharedContentAddLinkExpiryDetails : NSObject #pragma mark - Instance fields /// 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 dNewValue New shared content link expiration date. Might be missing /// due to historical data gap. /// /// @return An initialized instance. /// - (instancetype)initWithDNewValue:(nullable NSDate *)dNewValue; /// /// 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 `SharedContentAddLinkExpiryDetails` struct. /// @interface DBTEAMLOGSharedContentAddLinkExpiryDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGSharedContentAddLinkExpiryDetails` instances. /// /// @param instance An instance of the /// `DBTEAMLOGSharedContentAddLinkExpiryDetails` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSharedContentAddLinkExpiryDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGSharedContentAddLinkExpiryDetails *)instance; /// /// Deserializes `DBTEAMLOGSharedContentAddLinkExpiryDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGSharedContentAddLinkExpiryDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGSharedContentAddLinkExpiryDetails` /// object. /// + (DBTEAMLOGSharedContentAddLinkExpiryDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentAddLinkExpiryType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentAddLinkPasswordDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGSharedContentAddLinkPasswordDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `SharedContentAddLinkPasswordDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGSharedContentAddLinkPasswordDetails : 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 `SharedContentAddLinkPasswordDetails` /// struct. /// @interface DBTEAMLOGSharedContentAddLinkPasswordDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGSharedContentAddLinkPasswordDetails` instances. /// /// @param instance An instance of the /// `DBTEAMLOGSharedContentAddLinkPasswordDetails` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSharedContentAddLinkPasswordDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGSharedContentAddLinkPasswordDetails *)instance; /// /// Deserializes `DBTEAMLOGSharedContentAddLinkPasswordDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGSharedContentAddLinkPasswordDetails` API object. /// /// @return An instantiation of the /// `DBTEAMLOGSharedContentAddLinkPasswordDetails` object. /// + (DBTEAMLOGSharedContentAddLinkPasswordDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentAddLinkPasswordType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentAddMemberDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGAccessLevel; @class DBTEAMLOGSharedContentAddMemberDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `SharedContentAddMemberDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGSharedContentAddMemberDetails : 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 `SharedContentAddMemberDetails` struct. /// @interface DBTEAMLOGSharedContentAddMemberDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGSharedContentAddMemberDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGSharedContentAddMemberDetails` /// API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSharedContentAddMemberDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGSharedContentAddMemberDetails *)instance; /// /// Deserializes `DBTEAMLOGSharedContentAddMemberDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGSharedContentAddMemberDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGSharedContentAddMemberDetails` /// object. /// + (DBTEAMLOGSharedContentAddMemberDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentAddMemberType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentChangeDownloadsPolicyDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGDownloadPolicyType; @class DBTEAMLOGSharedContentChangeDownloadsPolicyDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `SharedContentChangeDownloadsPolicyDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGSharedContentChangeDownloadsPolicyDetails : NSObject #pragma mark - Instance fields /// New downloads policy. @property (nonatomic, readonly) DBTEAMLOGDownloadPolicyType *dNewValue; /// 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 dNewValue New downloads policy. /// @param previousValue Previous downloads policy. Might be missing due to /// historical data gap. /// /// @return An initialized instance. /// - (instancetype)initWithDNewValue:(DBTEAMLOGDownloadPolicyType *)dNewValue previousValue:(nullable DBTEAMLOGDownloadPolicyType *)previousValue; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param dNewValue New downloads policy. /// /// @return An initialized instance. /// - (instancetype)initWithDNewValue:(DBTEAMLOGDownloadPolicyType *)dNewValue; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `SharedContentChangeDownloadsPolicyDetails` /// struct. /// @interface DBTEAMLOGSharedContentChangeDownloadsPolicyDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGSharedContentChangeDownloadsPolicyDetails` instances. /// /// @param instance An instance of the /// `DBTEAMLOGSharedContentChangeDownloadsPolicyDetails` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSharedContentChangeDownloadsPolicyDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGSharedContentChangeDownloadsPolicyDetails *)instance; /// /// Deserializes `DBTEAMLOGSharedContentChangeDownloadsPolicyDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGSharedContentChangeDownloadsPolicyDetails` API object. /// /// @return An instantiation of the /// `DBTEAMLOGSharedContentChangeDownloadsPolicyDetails` object. /// + (DBTEAMLOGSharedContentChangeDownloadsPolicyDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentChangeDownloadsPolicyType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentChangeInviteeRoleDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGAccessLevel; @class DBTEAMLOGSharedContentChangeInviteeRoleDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `SharedContentChangeInviteeRoleDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGSharedContentChangeInviteeRoleDetails : NSObject #pragma mark - Instance fields /// Previous access level. Might be missing due to historical data gap. @property (nonatomic, readonly, nullable) DBSHARINGAccessLevel *previousAccessLevel; /// New access level. @property (nonatomic, readonly) DBSHARINGAccessLevel *dNewAccessLevel; /// 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 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. /// /// @return An initialized instance. /// - (instancetype)initWithDNewAccessLevel:(DBSHARINGAccessLevel *)dNewAccessLevel invitee:(NSString *)invitee previousAccessLevel:(nullable DBSHARINGAccessLevel *)previousAccessLevel; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param dNewAccessLevel New access level. /// @param invitee The invitee whose role was changed. /// /// @return An initialized instance. /// - (instancetype)initWithDNewAccessLevel:(DBSHARINGAccessLevel *)dNewAccessLevel invitee:(NSString *)invitee; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `SharedContentChangeInviteeRoleDetails` /// struct. /// @interface DBTEAMLOGSharedContentChangeInviteeRoleDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGSharedContentChangeInviteeRoleDetails` instances. /// /// @param instance An instance of the /// `DBTEAMLOGSharedContentChangeInviteeRoleDetails` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSharedContentChangeInviteeRoleDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGSharedContentChangeInviteeRoleDetails *)instance; /// /// Deserializes `DBTEAMLOGSharedContentChangeInviteeRoleDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGSharedContentChangeInviteeRoleDetails` API object. /// /// @return An instantiation of the /// `DBTEAMLOGSharedContentChangeInviteeRoleDetails` object. /// + (DBTEAMLOGSharedContentChangeInviteeRoleDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentChangeInviteeRoleType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentChangeLinkAudienceDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGLinkAudience; @class DBTEAMLOGSharedContentChangeLinkAudienceDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `SharedContentChangeLinkAudienceDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGSharedContentChangeLinkAudienceDetails : NSObject #pragma mark - Instance fields /// 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 dNewValue New link audience value. /// @param previousValue Previous link audience value. /// /// @return An initialized instance. /// - (instancetype)initWithDNewValue:(DBSHARINGLinkAudience *)dNewValue previousValue:(nullable DBSHARINGLinkAudience *)previousValue; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param dNewValue New link audience value. /// /// @return An initialized instance. /// - (instancetype)initWithDNewValue:(DBSHARINGLinkAudience *)dNewValue; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `SharedContentChangeLinkAudienceDetails` /// struct. /// @interface DBTEAMLOGSharedContentChangeLinkAudienceDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGSharedContentChangeLinkAudienceDetails` instances. /// /// @param instance An instance of the /// `DBTEAMLOGSharedContentChangeLinkAudienceDetails` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSharedContentChangeLinkAudienceDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGSharedContentChangeLinkAudienceDetails *)instance; /// /// Deserializes `DBTEAMLOGSharedContentChangeLinkAudienceDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGSharedContentChangeLinkAudienceDetails` API object. /// /// @return An instantiation of the /// `DBTEAMLOGSharedContentChangeLinkAudienceDetails` object. /// + (DBTEAMLOGSharedContentChangeLinkAudienceDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentChangeLinkAudienceType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentChangeLinkExpiryDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGSharedContentChangeLinkExpiryDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `SharedContentChangeLinkExpiryDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGSharedContentChangeLinkExpiryDetails : NSObject #pragma mark - Instance fields /// 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 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)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 `SharedContentChangeLinkExpiryDetails` /// struct. /// @interface DBTEAMLOGSharedContentChangeLinkExpiryDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGSharedContentChangeLinkExpiryDetails` instances. /// /// @param instance An instance of the /// `DBTEAMLOGSharedContentChangeLinkExpiryDetails` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSharedContentChangeLinkExpiryDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGSharedContentChangeLinkExpiryDetails *)instance; /// /// Deserializes `DBTEAMLOGSharedContentChangeLinkExpiryDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGSharedContentChangeLinkExpiryDetails` API object. /// /// @return An instantiation of the /// `DBTEAMLOGSharedContentChangeLinkExpiryDetails` object. /// + (DBTEAMLOGSharedContentChangeLinkExpiryDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentChangeLinkExpiryType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentChangeLinkPasswordDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGSharedContentChangeLinkPasswordDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `SharedContentChangeLinkPasswordDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGSharedContentChangeLinkPasswordDetails : 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 `SharedContentChangeLinkPasswordDetails` /// struct. /// @interface DBTEAMLOGSharedContentChangeLinkPasswordDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGSharedContentChangeLinkPasswordDetails` instances. /// /// @param instance An instance of the /// `DBTEAMLOGSharedContentChangeLinkPasswordDetails` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSharedContentChangeLinkPasswordDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGSharedContentChangeLinkPasswordDetails *)instance; /// /// Deserializes `DBTEAMLOGSharedContentChangeLinkPasswordDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGSharedContentChangeLinkPasswordDetails` API object. /// /// @return An instantiation of the /// `DBTEAMLOGSharedContentChangeLinkPasswordDetails` object. /// + (DBTEAMLOGSharedContentChangeLinkPasswordDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentChangeLinkPasswordType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentChangeMemberRoleDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGAccessLevel; @class DBTEAMLOGSharedContentChangeMemberRoleDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `SharedContentChangeMemberRoleDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGSharedContentChangeMemberRoleDetails : NSObject #pragma mark - Instance fields /// Previous access level. Might be missing due to historical data gap. @property (nonatomic, readonly, nullable) DBSHARINGAccessLevel *previousAccessLevel; /// New access level. @property (nonatomic, readonly) DBSHARINGAccessLevel *dNewAccessLevel; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param dNewAccessLevel New access level. /// @param previousAccessLevel Previous access level. Might be missing due to /// historical data gap. /// /// @return An initialized instance. /// - (instancetype)initWithDNewAccessLevel:(DBSHARINGAccessLevel *)dNewAccessLevel previousAccessLevel:(nullable DBSHARINGAccessLevel *)previousAccessLevel; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param dNewAccessLevel New access level. /// /// @return An initialized instance. /// - (instancetype)initWithDNewAccessLevel:(DBSHARINGAccessLevel *)dNewAccessLevel; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `SharedContentChangeMemberRoleDetails` /// struct. /// @interface DBTEAMLOGSharedContentChangeMemberRoleDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGSharedContentChangeMemberRoleDetails` instances. /// /// @param instance An instance of the /// `DBTEAMLOGSharedContentChangeMemberRoleDetails` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSharedContentChangeMemberRoleDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGSharedContentChangeMemberRoleDetails *)instance; /// /// Deserializes `DBTEAMLOGSharedContentChangeMemberRoleDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGSharedContentChangeMemberRoleDetails` API object. /// /// @return An instantiation of the /// `DBTEAMLOGSharedContentChangeMemberRoleDetails` object. /// + (DBTEAMLOGSharedContentChangeMemberRoleDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentChangeMemberRoleType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentChangeViewerInfoPolicyDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGViewerInfoPolicy; @class DBTEAMLOGSharedContentChangeViewerInfoPolicyDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `SharedContentChangeViewerInfoPolicyDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGSharedContentChangeViewerInfoPolicyDetails : NSObject #pragma mark - Instance fields /// New viewer info policy. @property (nonatomic, readonly) DBSHARINGViewerInfoPolicy *dNewValue; /// Previous view info policy. @property (nonatomic, readonly, nullable) DBSHARINGViewerInfoPolicy *previousValue; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param dNewValue New viewer info policy. /// @param previousValue Previous view info policy. /// /// @return An initialized instance. /// - (instancetype)initWithDNewValue:(DBSHARINGViewerInfoPolicy *)dNewValue previousValue:(nullable DBSHARINGViewerInfoPolicy *)previousValue; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param dNewValue New viewer info policy. /// /// @return An initialized instance. /// - (instancetype)initWithDNewValue:(DBSHARINGViewerInfoPolicy *)dNewValue; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `SharedContentChangeViewerInfoPolicyDetails` /// struct. /// @interface DBTEAMLOGSharedContentChangeViewerInfoPolicyDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGSharedContentChangeViewerInfoPolicyDetails` instances. /// /// @param instance An instance of the /// `DBTEAMLOGSharedContentChangeViewerInfoPolicyDetails` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSharedContentChangeViewerInfoPolicyDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGSharedContentChangeViewerInfoPolicyDetails *)instance; /// /// Deserializes `DBTEAMLOGSharedContentChangeViewerInfoPolicyDetails` /// instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGSharedContentChangeViewerInfoPolicyDetails` API object. /// /// @return An instantiation of the /// `DBTEAMLOGSharedContentChangeViewerInfoPolicyDetails` object. /// + (DBTEAMLOGSharedContentChangeViewerInfoPolicyDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentChangeViewerInfoPolicyType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentClaimInvitationDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGSharedContentClaimInvitationDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `SharedContentClaimInvitationDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGSharedContentClaimInvitationDetails : NSObject #pragma mark - Instance fields /// Shared content link. @property (nonatomic, readonly, copy, nullable) NSString *sharedContentLink; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param sharedContentLink Shared content link. /// /// @return An initialized instance. /// - (instancetype)initWithSharedContentLink:(nullable NSString *)sharedContentLink; /// /// 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 `SharedContentClaimInvitationDetails` /// struct. /// @interface DBTEAMLOGSharedContentClaimInvitationDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGSharedContentClaimInvitationDetails` instances. /// /// @param instance An instance of the /// `DBTEAMLOGSharedContentClaimInvitationDetails` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSharedContentClaimInvitationDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGSharedContentClaimInvitationDetails *)instance; /// /// Deserializes `DBTEAMLOGSharedContentClaimInvitationDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGSharedContentClaimInvitationDetails` API object. /// /// @return An instantiation of the /// `DBTEAMLOGSharedContentClaimInvitationDetails` object. /// + (DBTEAMLOGSharedContentClaimInvitationDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentClaimInvitationType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentCopyDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGAccessLevel; @class DBTEAMLOGSharedContentCopyDetails; @class DBTEAMLOGUserLogInfo; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `SharedContentCopyDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGSharedContentCopyDetails : NSObject #pragma mark - Instance fields /// Shared content link. @property (nonatomic, readonly, copy) NSString *sharedContentLink; /// The shared content owner. @property (nonatomic, readonly, nullable) DBTEAMLOGUserLogInfo *sharedContentOwner; /// Shared content access level. @property (nonatomic, readonly) DBSHARINGAccessLevel *sharedContentAccessLevel; /// The path where the member saved the content. @property (nonatomic, readonly, copy) NSString *destinationPath; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param sharedContentLink Shared content link. /// @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 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 sharedContentAccessLevel Shared content access level. /// @param destinationPath The path where the member saved the content. /// /// @return An initialized instance. /// - (instancetype)initWithSharedContentLink:(NSString *)sharedContentLink sharedContentAccessLevel:(DBSHARINGAccessLevel *)sharedContentAccessLevel destinationPath:(NSString *)destinationPath; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `SharedContentCopyDetails` struct. /// @interface DBTEAMLOGSharedContentCopyDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGSharedContentCopyDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGSharedContentCopyDetails` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSharedContentCopyDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGSharedContentCopyDetails *)instance; /// /// Deserializes `DBTEAMLOGSharedContentCopyDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGSharedContentCopyDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGSharedContentCopyDetails` object. /// + (DBTEAMLOGSharedContentCopyDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentCopyType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentDownloadDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGAccessLevel; @class DBTEAMLOGSharedContentDownloadDetails; @class DBTEAMLOGUserLogInfo; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `SharedContentDownloadDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGSharedContentDownloadDetails : NSObject #pragma mark - Instance fields /// Shared content link. @property (nonatomic, readonly, copy) NSString *sharedContentLink; /// The shared content owner. @property (nonatomic, readonly, nullable) DBTEAMLOGUserLogInfo *sharedContentOwner; /// Shared content access level. @property (nonatomic, readonly) DBSHARINGAccessLevel *sharedContentAccessLevel; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param sharedContentLink Shared content link. /// @param sharedContentAccessLevel Shared content access level. /// @param sharedContentOwner The shared content owner. /// /// @return An initialized instance. /// - (instancetype)initWithSharedContentLink:(NSString *)sharedContentLink 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 sharedContentAccessLevel Shared content access level. /// /// @return An initialized instance. /// - (instancetype)initWithSharedContentLink:(NSString *)sharedContentLink sharedContentAccessLevel:(DBSHARINGAccessLevel *)sharedContentAccessLevel; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `SharedContentDownloadDetails` struct. /// @interface DBTEAMLOGSharedContentDownloadDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGSharedContentDownloadDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGSharedContentDownloadDetails` /// API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSharedContentDownloadDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGSharedContentDownloadDetails *)instance; /// /// Deserializes `DBTEAMLOGSharedContentDownloadDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGSharedContentDownloadDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGSharedContentDownloadDetails` /// object. /// + (DBTEAMLOGSharedContentDownloadDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentDownloadType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentRelinquishMembershipDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGSharedContentRelinquishMembershipDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `SharedContentRelinquishMembershipDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGSharedContentRelinquishMembershipDetails : 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 `SharedContentRelinquishMembershipDetails` /// struct. /// @interface DBTEAMLOGSharedContentRelinquishMembershipDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGSharedContentRelinquishMembershipDetails` instances. /// /// @param instance An instance of the /// `DBTEAMLOGSharedContentRelinquishMembershipDetails` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSharedContentRelinquishMembershipDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGSharedContentRelinquishMembershipDetails *)instance; /// /// Deserializes `DBTEAMLOGSharedContentRelinquishMembershipDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGSharedContentRelinquishMembershipDetails` API object. /// /// @return An instantiation of the /// `DBTEAMLOGSharedContentRelinquishMembershipDetails` object. /// + (DBTEAMLOGSharedContentRelinquishMembershipDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentRelinquishMembershipType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentRemoveInviteesDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentRemoveInviteesType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentRemoveLinkExpiryDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGSharedContentRemoveLinkExpiryDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `SharedContentRemoveLinkExpiryDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGSharedContentRemoveLinkExpiryDetails : NSObject #pragma mark - Instance fields /// 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 previousValue Previous shared content 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 `SharedContentRemoveLinkExpiryDetails` /// struct. /// @interface DBTEAMLOGSharedContentRemoveLinkExpiryDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGSharedContentRemoveLinkExpiryDetails` instances. /// /// @param instance An instance of the /// `DBTEAMLOGSharedContentRemoveLinkExpiryDetails` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSharedContentRemoveLinkExpiryDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGSharedContentRemoveLinkExpiryDetails *)instance; /// /// Deserializes `DBTEAMLOGSharedContentRemoveLinkExpiryDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGSharedContentRemoveLinkExpiryDetails` API object. /// /// @return An instantiation of the /// `DBTEAMLOGSharedContentRemoveLinkExpiryDetails` object. /// + (DBTEAMLOGSharedContentRemoveLinkExpiryDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentRemoveLinkExpiryType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentRemoveLinkPasswordDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGSharedContentRemoveLinkPasswordDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `SharedContentRemoveLinkPasswordDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGSharedContentRemoveLinkPasswordDetails : 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 `SharedContentRemoveLinkPasswordDetails` /// struct. /// @interface DBTEAMLOGSharedContentRemoveLinkPasswordDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGSharedContentRemoveLinkPasswordDetails` instances. /// /// @param instance An instance of the /// `DBTEAMLOGSharedContentRemoveLinkPasswordDetails` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSharedContentRemoveLinkPasswordDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGSharedContentRemoveLinkPasswordDetails *)instance; /// /// Deserializes `DBTEAMLOGSharedContentRemoveLinkPasswordDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGSharedContentRemoveLinkPasswordDetails` API object. /// /// @return An instantiation of the /// `DBTEAMLOGSharedContentRemoveLinkPasswordDetails` object. /// + (DBTEAMLOGSharedContentRemoveLinkPasswordDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentRemoveLinkPasswordType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentRemoveMemberDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGAccessLevel; @class DBTEAMLOGSharedContentRemoveMemberDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `SharedContentRemoveMemberDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGSharedContentRemoveMemberDetails : NSObject #pragma mark - Instance fields /// Shared content access level. @property (nonatomic, readonly, nullable) 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:(nullable DBSHARINGAccessLevel *)sharedContentAccessLevel; /// /// 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 `SharedContentRemoveMemberDetails` struct. /// @interface DBTEAMLOGSharedContentRemoveMemberDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGSharedContentRemoveMemberDetails` instances. /// /// @param instance An instance of the /// `DBTEAMLOGSharedContentRemoveMemberDetails` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSharedContentRemoveMemberDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGSharedContentRemoveMemberDetails *)instance; /// /// Deserializes `DBTEAMLOGSharedContentRemoveMemberDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGSharedContentRemoveMemberDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGSharedContentRemoveMemberDetails` /// object. /// + (DBTEAMLOGSharedContentRemoveMemberDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentRemoveMemberType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentRequestAccessDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGSharedContentRequestAccessDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `SharedContentRequestAccessDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGSharedContentRequestAccessDetails : NSObject #pragma mark - Instance fields /// Shared content link. @property (nonatomic, readonly, copy, nullable) NSString *sharedContentLink; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param sharedContentLink Shared content link. /// /// @return An initialized instance. /// - (instancetype)initWithSharedContentLink:(nullable NSString *)sharedContentLink; /// /// 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 `SharedContentRequestAccessDetails` struct. /// @interface DBTEAMLOGSharedContentRequestAccessDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGSharedContentRequestAccessDetails` instances. /// /// @param instance An instance of the /// `DBTEAMLOGSharedContentRequestAccessDetails` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSharedContentRequestAccessDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGSharedContentRequestAccessDetails *)instance; /// /// Deserializes `DBTEAMLOGSharedContentRequestAccessDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGSharedContentRequestAccessDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGSharedContentRequestAccessDetails` /// object. /// + (DBTEAMLOGSharedContentRequestAccessDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentRequestAccessType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentRestoreInviteesDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentRestoreInviteesType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentRestoreMemberDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentRestoreMemberType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentUnshareDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGSharedContentUnshareDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `SharedContentUnshareDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGSharedContentUnshareDetails : 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 `SharedContentUnshareDetails` struct. /// @interface DBTEAMLOGSharedContentUnshareDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGSharedContentUnshareDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGSharedContentUnshareDetails` /// API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSharedContentUnshareDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGSharedContentUnshareDetails *)instance; /// /// Deserializes `DBTEAMLOGSharedContentUnshareDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGSharedContentUnshareDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGSharedContentUnshareDetails` /// object. /// + (DBTEAMLOGSharedContentUnshareDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentUnshareType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentViewDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGAccessLevel; @class DBTEAMLOGSharedContentViewDetails; @class DBTEAMLOGUserLogInfo; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `SharedContentViewDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGSharedContentViewDetails : NSObject #pragma mark - Instance fields /// Shared content link. @property (nonatomic, readonly, copy) NSString *sharedContentLink; /// The shared content owner. @property (nonatomic, readonly, nullable) DBTEAMLOGUserLogInfo *sharedContentOwner; /// Shared content access level. @property (nonatomic, readonly) DBSHARINGAccessLevel *sharedContentAccessLevel; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param sharedContentLink Shared content link. /// @param sharedContentAccessLevel Shared content access level. /// @param sharedContentOwner The shared content owner. /// /// @return An initialized instance. /// - (instancetype)initWithSharedContentLink:(NSString *)sharedContentLink 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 sharedContentAccessLevel Shared content access level. /// /// @return An initialized instance. /// - (instancetype)initWithSharedContentLink:(NSString *)sharedContentLink sharedContentAccessLevel:(DBSHARINGAccessLevel *)sharedContentAccessLevel; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `SharedContentViewDetails` struct. /// @interface DBTEAMLOGSharedContentViewDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGSharedContentViewDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGSharedContentViewDetails` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSharedContentViewDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGSharedContentViewDetails *)instance; /// /// Deserializes `DBTEAMLOGSharedContentViewDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGSharedContentViewDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGSharedContentViewDetails` object. /// + (DBTEAMLOGSharedContentViewDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentViewType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedFolderChangeLinkPolicyDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBSHARINGSharedLinkPolicy; @class DBTEAMLOGSharedFolderChangeLinkPolicyDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `SharedFolderChangeLinkPolicyDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGSharedFolderChangeLinkPolicyDetails : NSObject #pragma mark - Instance fields /// New shared folder link policy. @property (nonatomic, readonly) DBSHARINGSharedLinkPolicy *dNewValue; /// Previous shared folder link policy. Might be missing due to historical data /// gap. @property (nonatomic, readonly, nullable) DBSHARINGSharedLinkPolicy *previousValue; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param dNewValue New shared folder link policy. /// @param previousValue Previous shared folder link policy. Might be missing /// due to historical data gap. /// /// @return An initialized instance. /// - (instancetype)initWithDNewValue:(DBSHARINGSharedLinkPolicy *)dNewValue previousValue:(nullable DBSHARINGSharedLinkPolicy *)previousValue; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param dNewValue New shared folder link policy. /// /// @return An initialized instance. /// - (instancetype)initWithDNewValue:(DBSHARINGSharedLinkPolicy *)dNewValue; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `SharedFolderChangeLinkPolicyDetails` /// struct. /// @interface DBTEAMLOGSharedFolderChangeLinkPolicyDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGSharedFolderChangeLinkPolicyDetails` instances. /// /// @param instance An instance of the /// `DBTEAMLOGSharedFolderChangeLinkPolicyDetails` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSharedFolderChangeLinkPolicyDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGSharedFolderChangeLinkPolicyDetails *)instance; /// /// Deserializes `DBTEAMLOGSharedFolderChangeLinkPolicyDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGSharedFolderChangeLinkPolicyDetails` API object. /// /// @return An instantiation of the /// `DBTEAMLOGSharedFolderChangeLinkPolicyDetails` object. /// + (DBTEAMLOGSharedFolderChangeLinkPolicyDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedFolderChangeLinkPolicyType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedFolderChangeMembersInheritancePolicyDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedFolderChangeMembersInheritancePolicyType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedFolderChangeMembersManagementPolicyDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedFolderChangeMembersManagementPolicyType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedFolderChangeMembersPolicyDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedFolderChangeMembersPolicyType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedFolderCreateDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGSharedFolderCreateDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `SharedFolderCreateDetails` struct. /// /// Created 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 DBTEAMLOGSharedFolderCreateDetails : NSObject #pragma mark - Instance fields /// Target namespace ID. @property (nonatomic, readonly, copy, nullable) NSString *targetNsId; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param targetNsId Target namespace ID. /// /// @return An initialized instance. /// - (instancetype)initWithTargetNsId:(nullable NSString *)targetNsId; /// /// 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 `SharedFolderCreateDetails` struct. /// @interface DBTEAMLOGSharedFolderCreateDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGSharedFolderCreateDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGSharedFolderCreateDetails` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSharedFolderCreateDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGSharedFolderCreateDetails *)instance; /// /// Deserializes `DBTEAMLOGSharedFolderCreateDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGSharedFolderCreateDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGSharedFolderCreateDetails` object. /// + (DBTEAMLOGSharedFolderCreateDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedFolderCreateType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedFolderDeclineInvitationDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedFolderDeclineInvitationType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedFolderMembersInheritancePolicy.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedFolderMountDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGSharedFolderMountDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `SharedFolderMountDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGSharedFolderMountDetails : 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 `SharedFolderMountDetails` struct. /// @interface DBTEAMLOGSharedFolderMountDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGSharedFolderMountDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGSharedFolderMountDetails` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSharedFolderMountDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGSharedFolderMountDetails *)instance; /// /// Deserializes `DBTEAMLOGSharedFolderMountDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGSharedFolderMountDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGSharedFolderMountDetails` object. /// + (DBTEAMLOGSharedFolderMountDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedFolderMountType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedFolderNestDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedFolderNestType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedFolderTransferOwnershipDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGSharedFolderTransferOwnershipDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `SharedFolderTransferOwnershipDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGSharedFolderTransferOwnershipDetails : NSObject #pragma mark - Instance fields /// The email address of the previous shared folder owner. @property (nonatomic, readonly, copy, nullable) NSString *previousOwnerEmail; /// 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 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)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; @end #pragma mark - Serializer Object /// /// The serialization class for the `SharedFolderTransferOwnershipDetails` /// struct. /// @interface DBTEAMLOGSharedFolderTransferOwnershipDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGSharedFolderTransferOwnershipDetails` instances. /// /// @param instance An instance of the /// `DBTEAMLOGSharedFolderTransferOwnershipDetails` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSharedFolderTransferOwnershipDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGSharedFolderTransferOwnershipDetails *)instance; /// /// Deserializes `DBTEAMLOGSharedFolderTransferOwnershipDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGSharedFolderTransferOwnershipDetails` API object. /// /// @return An instantiation of the /// `DBTEAMLOGSharedFolderTransferOwnershipDetails` object. /// + (DBTEAMLOGSharedFolderTransferOwnershipDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedFolderTransferOwnershipType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedFolderUnmountDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGSharedFolderUnmountDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `SharedFolderUnmountDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGSharedFolderUnmountDetails : 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 `SharedFolderUnmountDetails` struct. /// @interface DBTEAMLOGSharedFolderUnmountDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGSharedFolderUnmountDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGSharedFolderUnmountDetails` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSharedFolderUnmountDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGSharedFolderUnmountDetails *)instance; /// /// Deserializes `DBTEAMLOGSharedFolderUnmountDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGSharedFolderUnmountDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGSharedFolderUnmountDetails` /// object. /// + (DBTEAMLOGSharedFolderUnmountDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedFolderUnmountType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkAccessLevel.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkAddExpiryDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkAddExpiryType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkChangeExpiryDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkChangeExpiryType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkChangeVisibilityDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkChangeVisibilityType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkCopyDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkCopyType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkCreateDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkCreateType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkDisableDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkDisableType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkDownloadDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkDownloadType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkRemoveExpiryDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkRemoveExpiryType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkSettingsAddExpirationDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkSettingsAddExpirationType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkSettingsAddPasswordDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkSettingsAddPasswordType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkSettingsAllowDownloadDisabledDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkSettingsAllowDownloadDisabledType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkSettingsAllowDownloadEnabledDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkSettingsAllowDownloadEnabledType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkSettingsChangeAudienceDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkSettingsChangeAudienceType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkSettingsChangeExpirationDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkSettingsChangeExpirationType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkSettingsChangePasswordDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkSettingsChangePasswordType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkSettingsRemoveExpirationDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkSettingsRemoveExpirationType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkSettingsRemovePasswordDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkSettingsRemovePasswordType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkShareDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkShareType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkViewDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkViewType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkVisibility.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedNoteOpenedDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGSharedNoteOpenedDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `SharedNoteOpenedDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGSharedNoteOpenedDetails : 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 `SharedNoteOpenedDetails` struct. /// @interface DBTEAMLOGSharedNoteOpenedDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGSharedNoteOpenedDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGSharedNoteOpenedDetails` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSharedNoteOpenedDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGSharedNoteOpenedDetails *)instance; /// /// Deserializes `DBTEAMLOGSharedNoteOpenedDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGSharedNoteOpenedDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGSharedNoteOpenedDetails` object. /// + (DBTEAMLOGSharedNoteOpenedDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedNoteOpenedType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharingChangeFolderJoinPolicyDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGSharingChangeFolderJoinPolicyDetails; @class DBTEAMLOGSharingFolderJoinPolicy; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `SharingChangeFolderJoinPolicyDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGSharingChangeFolderJoinPolicyDetails : NSObject #pragma mark - Instance fields /// New external join policy. @property (nonatomic, readonly) DBTEAMLOGSharingFolderJoinPolicy *dNewValue; /// Previous external join policy. Might be missing due to historical data gap. @property (nonatomic, readonly, nullable) DBTEAMLOGSharingFolderJoinPolicy *previousValue; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param dNewValue New external join policy. /// @param previousValue Previous external join policy. Might be missing due to /// historical data gap. /// /// @return An initialized instance. /// - (instancetype)initWithDNewValue:(DBTEAMLOGSharingFolderJoinPolicy *)dNewValue previousValue:(nullable DBTEAMLOGSharingFolderJoinPolicy *)previousValue; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param dNewValue New external join policy. /// /// @return An initialized instance. /// - (instancetype)initWithDNewValue:(DBTEAMLOGSharingFolderJoinPolicy *)dNewValue; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `SharingChangeFolderJoinPolicyDetails` /// struct. /// @interface DBTEAMLOGSharingChangeFolderJoinPolicyDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGSharingChangeFolderJoinPolicyDetails` instances. /// /// @param instance An instance of the /// `DBTEAMLOGSharingChangeFolderJoinPolicyDetails` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSharingChangeFolderJoinPolicyDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGSharingChangeFolderJoinPolicyDetails *)instance; /// /// Deserializes `DBTEAMLOGSharingChangeFolderJoinPolicyDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGSharingChangeFolderJoinPolicyDetails` API object. /// /// @return An instantiation of the /// `DBTEAMLOGSharingChangeFolderJoinPolicyDetails` object. /// + (DBTEAMLOGSharingChangeFolderJoinPolicyDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharingChangeFolderJoinPolicyType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharingChangeLinkAllowChangeExpirationPolicyDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharingChangeLinkAllowChangeExpirationPolicyType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharingChangeLinkDefaultExpirationPolicyDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharingChangeLinkDefaultExpirationPolicyType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharingChangeLinkEnforcePasswordPolicyDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharingChangeLinkEnforcePasswordPolicyType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharingChangeLinkPolicyDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGSharingChangeLinkPolicyDetails; @class DBTEAMLOGSharingLinkPolicy; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `SharingChangeLinkPolicyDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGSharingChangeLinkPolicyDetails : NSObject #pragma mark - Instance fields /// New external link accessibility policy. @property (nonatomic, readonly) DBTEAMLOGSharingLinkPolicy *dNewValue; /// Previous external link accessibility policy. Might be missing due to /// historical data gap. @property (nonatomic, readonly, nullable) DBTEAMLOGSharingLinkPolicy *previousValue; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param dNewValue New external link accessibility policy. /// @param previousValue Previous external link accessibility policy. Might be /// missing due to historical data gap. /// /// @return An initialized instance. /// - (instancetype)initWithDNewValue:(DBTEAMLOGSharingLinkPolicy *)dNewValue previousValue:(nullable DBTEAMLOGSharingLinkPolicy *)previousValue; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param dNewValue New external link accessibility policy. /// /// @return An initialized instance. /// - (instancetype)initWithDNewValue:(DBTEAMLOGSharingLinkPolicy *)dNewValue; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `SharingChangeLinkPolicyDetails` struct. /// @interface DBTEAMLOGSharingChangeLinkPolicyDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGSharingChangeLinkPolicyDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGSharingChangeLinkPolicyDetails` /// API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSharingChangeLinkPolicyDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGSharingChangeLinkPolicyDetails *)instance; /// /// Deserializes `DBTEAMLOGSharingChangeLinkPolicyDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGSharingChangeLinkPolicyDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGSharingChangeLinkPolicyDetails` /// object. /// + (DBTEAMLOGSharingChangeLinkPolicyDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharingChangeLinkPolicyType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharingChangeMemberPolicyDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGSharingChangeMemberPolicyDetails; @class DBTEAMLOGSharingMemberPolicy; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `SharingChangeMemberPolicyDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGSharingChangeMemberPolicyDetails : NSObject #pragma mark - Instance fields /// New external invite policy. @property (nonatomic, readonly) DBTEAMLOGSharingMemberPolicy *dNewValue; /// Previous external invite policy. Might be missing due to historical data /// gap. @property (nonatomic, readonly, nullable) DBTEAMLOGSharingMemberPolicy *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:(DBTEAMLOGSharingMemberPolicy *)dNewValue previousValue:(nullable DBTEAMLOGSharingMemberPolicy *)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:(DBTEAMLOGSharingMemberPolicy *)dNewValue; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `SharingChangeMemberPolicyDetails` struct. /// @interface DBTEAMLOGSharingChangeMemberPolicyDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGSharingChangeMemberPolicyDetails` instances. /// /// @param instance An instance of the /// `DBTEAMLOGSharingChangeMemberPolicyDetails` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSharingChangeMemberPolicyDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGSharingChangeMemberPolicyDetails *)instance; /// /// Deserializes `DBTEAMLOGSharingChangeMemberPolicyDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGSharingChangeMemberPolicyDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGSharingChangeMemberPolicyDetails` /// object. /// + (DBTEAMLOGSharingChangeMemberPolicyDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharingChangeMemberPolicyType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharingFolderJoinPolicy.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGSharingFolderJoinPolicy; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `SharingFolderJoinPolicy` union. /// /// Policy for controlling if team members can join shared folders owned by non /// 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 DBTEAMLOGSharingFolderJoinPolicy : NSObject #pragma mark - Instance fields /// The `DBTEAMLOGSharingFolderJoinPolicyTag` enum type represents the possible /// tag states with which the `DBTEAMLOGSharingFolderJoinPolicy` union can /// exist. typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGSharingFolderJoinPolicyTag){ /// (no description). DBTEAMLOGSharingFolderJoinPolicyFromAnyone, /// (no description). DBTEAMLOGSharingFolderJoinPolicyFromTeamOnly, /// (no description). DBTEAMLOGSharingFolderJoinPolicyOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMLOGSharingFolderJoinPolicyTag tag; #pragma mark - Constructors /// /// Initializes union class with tag state of "from_anyone". /// /// @return An initialized instance. /// - (instancetype)initWithFromAnyone; /// /// Initializes union class with tag state of "from_team_only". /// /// @return An initialized instance. /// - (instancetype)initWithFromTeamOnly; /// /// 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 "from_anyone". /// /// @return Whether the union's current tag state has value "from_anyone". /// - (BOOL)isFromAnyone; /// /// Retrieves whether the union's current tag state has value "from_team_only". /// /// @return Whether the union's current tag state has value "from_team_only". /// - (BOOL)isFromTeamOnly; /// /// 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 `DBTEAMLOGSharingFolderJoinPolicy` union. /// @interface DBTEAMLOGSharingFolderJoinPolicySerializer : NSObject /// /// Serializes `DBTEAMLOGSharingFolderJoinPolicy` instances. /// /// @param instance An instance of the `DBTEAMLOGSharingFolderJoinPolicy` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSharingFolderJoinPolicy` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGSharingFolderJoinPolicy *)instance; /// /// Deserializes `DBTEAMLOGSharingFolderJoinPolicy` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGSharingFolderJoinPolicy` API object. /// /// @return An instantiation of the `DBTEAMLOGSharingFolderJoinPolicy` object. /// + (DBTEAMLOGSharingFolderJoinPolicy *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharingLinkPolicy.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGSharingLinkPolicy; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `SharingLinkPolicy` union. /// /// Policy for controlling if team members can share links externally /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMLOGSharingLinkPolicy : NSObject #pragma mark - Instance fields /// The `DBTEAMLOGSharingLinkPolicyTag` enum type represents the possible tag /// states with which the `DBTEAMLOGSharingLinkPolicy` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGSharingLinkPolicyTag){ /// (no description). DBTEAMLOGSharingLinkPolicyDefaultNoOne, /// (no description). DBTEAMLOGSharingLinkPolicyDefaultPrivate, /// (no description). DBTEAMLOGSharingLinkPolicyDefaultPublic, /// (no description). DBTEAMLOGSharingLinkPolicyOnlyPrivate, /// (no description). DBTEAMLOGSharingLinkPolicyOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMLOGSharingLinkPolicyTag tag; #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". /// /// @return An initialized instance. /// - (instancetype)initWithDefaultPrivate; /// /// Initializes union class with tag state of "default_public". /// /// @return An initialized instance. /// - (instancetype)initWithDefaultPublic; /// /// Initializes union class with tag state of "only_private". /// /// @return An initialized instance. /// - (instancetype)initWithOnlyPrivate; /// /// 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_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". /// /// @return Whether the union's current tag state has value "default_private". /// - (BOOL)isDefaultPrivate; /// /// Retrieves whether the union's current tag state has value "default_public". /// /// @return Whether the union's current tag state has value "default_public". /// - (BOOL)isDefaultPublic; /// /// Retrieves whether the union's current tag state has value "only_private". /// /// @return Whether the union's current tag state has value "only_private". /// - (BOOL)isOnlyPrivate; /// /// 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 `DBTEAMLOGSharingLinkPolicy` union. /// @interface DBTEAMLOGSharingLinkPolicySerializer : NSObject /// /// Serializes `DBTEAMLOGSharingLinkPolicy` instances. /// /// @param instance An instance of the `DBTEAMLOGSharingLinkPolicy` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSharingLinkPolicy` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGSharingLinkPolicy *)instance; /// /// Deserializes `DBTEAMLOGSharingLinkPolicy` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGSharingLinkPolicy` API object. /// /// @return An instantiation of the `DBTEAMLOGSharingLinkPolicy` object. /// + (DBTEAMLOGSharingLinkPolicy *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharingMemberPolicy.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGSharingMemberPolicy; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `SharingMemberPolicy` union. /// /// External sharing policy /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMLOGSharingMemberPolicy : NSObject #pragma mark - Instance fields /// The `DBTEAMLOGSharingMemberPolicyTag` enum type represents the possible tag /// states with which the `DBTEAMLOGSharingMemberPolicy` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGSharingMemberPolicyTag){ /// (no description). DBTEAMLOGSharingMemberPolicyAllow, /// (no description). DBTEAMLOGSharingMemberPolicyForbid, /// (no description). DBTEAMLOGSharingMemberPolicyForbidWithExclusions, /// (no description). DBTEAMLOGSharingMemberPolicyOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMLOGSharingMemberPolicyTag 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 "forbid". /// /// @return An initialized instance. /// - (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". /// /// @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 "forbid". /// /// @return Whether the union's current tag state has value "forbid". /// - (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". /// /// @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 `DBTEAMLOGSharingMemberPolicy` union. /// @interface DBTEAMLOGSharingMemberPolicySerializer : NSObject /// /// Serializes `DBTEAMLOGSharingMemberPolicy` instances. /// /// @param instance An instance of the `DBTEAMLOGSharingMemberPolicy` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSharingMemberPolicy` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGSharingMemberPolicy *)instance; /// /// Deserializes `DBTEAMLOGSharingMemberPolicy` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGSharingMemberPolicy` API object. /// /// @return An instantiation of the `DBTEAMLOGSharingMemberPolicy` object. /// + (DBTEAMLOGSharingMemberPolicy *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShmodelDisableDownloadsDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShmodelDisableDownloadsType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShmodelEnableDownloadsDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShmodelEnableDownloadsType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShmodelGroupShareDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGShmodelGroupShareDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `ShmodelGroupShareDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGShmodelGroupShareDetails : 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 `ShmodelGroupShareDetails` struct. /// @interface DBTEAMLOGShmodelGroupShareDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGShmodelGroupShareDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGShmodelGroupShareDetails` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGShmodelGroupShareDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGShmodelGroupShareDetails *)instance; /// /// Deserializes `DBTEAMLOGShmodelGroupShareDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGShmodelGroupShareDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGShmodelGroupShareDetails` object. /// + (DBTEAMLOGShmodelGroupShareDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShmodelGroupShareType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseAccessGrantedDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseAccessGrantedType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseAddMemberDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseAddMemberType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseArchivedDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseArchivedType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseChangeDownloadPolicyDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseChangeDownloadPolicyType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseChangeEnabledPolicyDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseChangeEnabledPolicyType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseChangeExternalSharingPolicyDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseChangeExternalSharingPolicyType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseCreatedDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseCreatedType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseDeleteCommentDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseDeleteCommentType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseDocumentLogInfo.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseDownloadPolicy.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseEditCommentDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseEditCommentType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseEditedDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseEditedType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseEnabledPolicy.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseExternalSharingPolicy.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGShowcaseExternalSharingPolicy; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `ShowcaseExternalSharingPolicy` union. /// /// 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 DBTEAMLOGShowcaseExternalSharingPolicy : NSObject #pragma mark - Instance fields /// The `DBTEAMLOGShowcaseExternalSharingPolicyTag` enum type represents the /// possible tag states with which the `DBTEAMLOGShowcaseExternalSharingPolicy` /// union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGShowcaseExternalSharingPolicyTag){ /// (no description). DBTEAMLOGShowcaseExternalSharingPolicyDisabled, /// (no description). DBTEAMLOGShowcaseExternalSharingPolicyEnabled, /// (no description). DBTEAMLOGShowcaseExternalSharingPolicyOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMLOGShowcaseExternalSharingPolicyTag 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 `DBTEAMLOGShowcaseExternalSharingPolicy` /// union. /// @interface DBTEAMLOGShowcaseExternalSharingPolicySerializer : NSObject /// /// Serializes `DBTEAMLOGShowcaseExternalSharingPolicy` instances. /// /// @param instance An instance of the `DBTEAMLOGShowcaseExternalSharingPolicy` /// API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGShowcaseExternalSharingPolicy` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGShowcaseExternalSharingPolicy *)instance; /// /// Deserializes `DBTEAMLOGShowcaseExternalSharingPolicy` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGShowcaseExternalSharingPolicy` API object. /// /// @return An instantiation of the `DBTEAMLOGShowcaseExternalSharingPolicy` /// object. /// + (DBTEAMLOGShowcaseExternalSharingPolicy *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseFileAddedDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseFileAddedType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseFileDownloadDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseFileDownloadType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseFileRemovedDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseFileRemovedType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseFileViewDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseFileViewType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcasePermanentlyDeletedDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcasePermanentlyDeletedType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcasePostCommentDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcasePostCommentType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseRemoveMemberDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseRemoveMemberType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseRenamedDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseRenamedType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseRequestAccessDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseRequestAccessType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseResolveCommentDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseResolveCommentType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseRestoredDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseRestoredType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseTrashedDeprecatedDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseTrashedDeprecatedType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseTrashedDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseTrashedType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseUnresolveCommentDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseUnresolveCommentType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseUntrashedDeprecatedDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseUntrashedDeprecatedType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseUntrashedDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseUntrashedType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseViewDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseViewType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSignInAsSessionEndDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGSignInAsSessionEndDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `SignInAsSessionEndDetails` struct. /// /// Ended admin sign-in-as session. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMLOGSignInAsSessionEndDetails : 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 `SignInAsSessionEndDetails` struct. /// @interface DBTEAMLOGSignInAsSessionEndDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGSignInAsSessionEndDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGSignInAsSessionEndDetails` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSignInAsSessionEndDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGSignInAsSessionEndDetails *)instance; /// /// Deserializes `DBTEAMLOGSignInAsSessionEndDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGSignInAsSessionEndDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGSignInAsSessionEndDetails` object. /// + (DBTEAMLOGSignInAsSessionEndDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSignInAsSessionEndType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSignInAsSessionStartDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGSignInAsSessionStartDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `SignInAsSessionStartDetails` struct. /// /// Started admin sign-in-as session. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMLOGSignInAsSessionStartDetails : 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 `SignInAsSessionStartDetails` struct. /// @interface DBTEAMLOGSignInAsSessionStartDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGSignInAsSessionStartDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGSignInAsSessionStartDetails` /// API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSignInAsSessionStartDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGSignInAsSessionStartDetails *)instance; /// /// Deserializes `DBTEAMLOGSignInAsSessionStartDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGSignInAsSessionStartDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGSignInAsSessionStartDetails` /// object. /// + (DBTEAMLOGSignInAsSessionStartDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSignInAsSessionStartType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSmartSyncChangePolicyDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGSmartSyncChangePolicyDetails; @class DBTEAMPOLICIESSmartSyncPolicy; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `SmartSyncChangePolicyDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGSmartSyncChangePolicyDetails : NSObject #pragma mark - Instance fields /// New smart sync policy. @property (nonatomic, readonly, nullable) DBTEAMPOLICIESSmartSyncPolicy *dNewValue; /// Previous smart sync policy. @property (nonatomic, readonly, nullable) DBTEAMPOLICIESSmartSyncPolicy *previousValue; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param dNewValue New smart sync policy. /// @param previousValue Previous smart sync policy. /// /// @return An initialized instance. /// - (instancetype)initWithDNewValue:(nullable DBTEAMPOLICIESSmartSyncPolicy *)dNewValue previousValue:(nullable DBTEAMPOLICIESSmartSyncPolicy *)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 `SmartSyncChangePolicyDetails` struct. /// @interface DBTEAMLOGSmartSyncChangePolicyDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGSmartSyncChangePolicyDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGSmartSyncChangePolicyDetails` /// API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSmartSyncChangePolicyDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGSmartSyncChangePolicyDetails *)instance; /// /// Deserializes `DBTEAMLOGSmartSyncChangePolicyDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGSmartSyncChangePolicyDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGSmartSyncChangePolicyDetails` /// object. /// + (DBTEAMLOGSmartSyncChangePolicyDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSmartSyncChangePolicyType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSmartSyncCreateAdminPrivilegeReportDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGSmartSyncCreateAdminPrivilegeReportDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `SmartSyncCreateAdminPrivilegeReportDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGSmartSyncCreateAdminPrivilegeReportDetails : 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 `SmartSyncCreateAdminPrivilegeReportDetails` /// struct. /// @interface DBTEAMLOGSmartSyncCreateAdminPrivilegeReportDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGSmartSyncCreateAdminPrivilegeReportDetails` instances. /// /// @param instance An instance of the /// `DBTEAMLOGSmartSyncCreateAdminPrivilegeReportDetails` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSmartSyncCreateAdminPrivilegeReportDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGSmartSyncCreateAdminPrivilegeReportDetails *)instance; /// /// Deserializes `DBTEAMLOGSmartSyncCreateAdminPrivilegeReportDetails` /// instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGSmartSyncCreateAdminPrivilegeReportDetails` API object. /// /// @return An instantiation of the /// `DBTEAMLOGSmartSyncCreateAdminPrivilegeReportDetails` object. /// + (DBTEAMLOGSmartSyncCreateAdminPrivilegeReportDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSmartSyncCreateAdminPrivilegeReportType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSmartSyncNotOptOutDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGSmartSyncNotOptOutDetails; @class DBTEAMLOGSmartSyncOptOutPolicy; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `SmartSyncNotOptOutDetails` struct. /// /// Opted team into Smart Sync. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMLOGSmartSyncNotOptOutDetails : NSObject #pragma mark - Instance fields /// Previous Smart Sync opt out policy. @property (nonatomic, readonly) DBTEAMLOGSmartSyncOptOutPolicy *previousValue; /// New Smart Sync opt out policy. @property (nonatomic, readonly) DBTEAMLOGSmartSyncOptOutPolicy *dNewValue; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param previousValue Previous Smart Sync opt out policy. /// @param dNewValue New Smart Sync opt out policy. /// /// @return An initialized instance. /// - (instancetype)initWithPreviousValue:(DBTEAMLOGSmartSyncOptOutPolicy *)previousValue dNewValue:(DBTEAMLOGSmartSyncOptOutPolicy *)dNewValue; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `SmartSyncNotOptOutDetails` struct. /// @interface DBTEAMLOGSmartSyncNotOptOutDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGSmartSyncNotOptOutDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGSmartSyncNotOptOutDetails` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSmartSyncNotOptOutDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGSmartSyncNotOptOutDetails *)instance; /// /// Deserializes `DBTEAMLOGSmartSyncNotOptOutDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGSmartSyncNotOptOutDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGSmartSyncNotOptOutDetails` object. /// + (DBTEAMLOGSmartSyncNotOptOutDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSmartSyncNotOptOutType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSmartSyncOptOutDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGSmartSyncOptOutDetails; @class DBTEAMLOGSmartSyncOptOutPolicy; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `SmartSyncOptOutDetails` struct. /// /// Opted team out of Smart Sync. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMLOGSmartSyncOptOutDetails : NSObject #pragma mark - Instance fields /// Previous Smart Sync opt out policy. @property (nonatomic, readonly) DBTEAMLOGSmartSyncOptOutPolicy *previousValue; /// New Smart Sync opt out policy. @property (nonatomic, readonly) DBTEAMLOGSmartSyncOptOutPolicy *dNewValue; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param previousValue Previous Smart Sync opt out policy. /// @param dNewValue New Smart Sync opt out policy. /// /// @return An initialized instance. /// - (instancetype)initWithPreviousValue:(DBTEAMLOGSmartSyncOptOutPolicy *)previousValue dNewValue:(DBTEAMLOGSmartSyncOptOutPolicy *)dNewValue; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `SmartSyncOptOutDetails` struct. /// @interface DBTEAMLOGSmartSyncOptOutDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGSmartSyncOptOutDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGSmartSyncOptOutDetails` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSmartSyncOptOutDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGSmartSyncOptOutDetails *)instance; /// /// Deserializes `DBTEAMLOGSmartSyncOptOutDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGSmartSyncOptOutDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGSmartSyncOptOutDetails` object. /// + (DBTEAMLOGSmartSyncOptOutDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSmartSyncOptOutPolicy.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGSmartSyncOptOutPolicy; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `SmartSyncOptOutPolicy` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMLOGSmartSyncOptOutPolicy : NSObject #pragma mark - Instance fields /// The `DBTEAMLOGSmartSyncOptOutPolicyTag` enum type represents the possible /// tag states with which the `DBTEAMLOGSmartSyncOptOutPolicy` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGSmartSyncOptOutPolicyTag){ /// (no description). DBTEAMLOGSmartSyncOptOutPolicyDefault_, /// (no description). DBTEAMLOGSmartSyncOptOutPolicyOptedOut, /// (no description). DBTEAMLOGSmartSyncOptOutPolicyOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMLOGSmartSyncOptOutPolicyTag 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 "opted_out". /// /// @return An initialized instance. /// - (instancetype)initWithOptedOut; /// /// 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 "opted_out". /// /// @return Whether the union's current tag state has value "opted_out". /// - (BOOL)isOptedOut; /// /// 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 `DBTEAMLOGSmartSyncOptOutPolicy` union. /// @interface DBTEAMLOGSmartSyncOptOutPolicySerializer : NSObject /// /// Serializes `DBTEAMLOGSmartSyncOptOutPolicy` instances. /// /// @param instance An instance of the `DBTEAMLOGSmartSyncOptOutPolicy` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSmartSyncOptOutPolicy` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGSmartSyncOptOutPolicy *)instance; /// /// Deserializes `DBTEAMLOGSmartSyncOptOutPolicy` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGSmartSyncOptOutPolicy` API object. /// /// @return An instantiation of the `DBTEAMLOGSmartSyncOptOutPolicy` object. /// + (DBTEAMLOGSmartSyncOptOutPolicy *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSmartSyncOptOutType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSmarterSmartSyncPolicyChangedDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSmarterSmartSyncPolicyChangedType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSpaceCapsType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSpaceLimitsStatus.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGSpaceLimitsStatus; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `SpaceLimitsStatus` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMLOGSpaceLimitsStatus : NSObject #pragma mark - Instance fields /// The `DBTEAMLOGSpaceLimitsStatusTag` enum type represents the possible tag /// states with which the `DBTEAMLOGSpaceLimitsStatus` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGSpaceLimitsStatusTag){ /// (no description). DBTEAMLOGSpaceLimitsStatusNearQuota, /// (no description). DBTEAMLOGSpaceLimitsStatusOverQuota, /// (no description). DBTEAMLOGSpaceLimitsStatusWithinQuota, /// (no description). DBTEAMLOGSpaceLimitsStatusOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMLOGSpaceLimitsStatusTag tag; #pragma mark - Constructors /// /// Initializes union class with tag state of "near_quota". /// /// @return An initialized instance. /// - (instancetype)initWithNearQuota; /// /// Initializes union class with tag state of "over_quota". /// /// @return An initialized instance. /// - (instancetype)initWithOverQuota; /// /// Initializes union class with tag state of "within_quota". /// /// @return An initialized instance. /// - (instancetype)initWithWithinQuota; /// /// 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 "near_quota". /// /// @return Whether the union's current tag state has value "near_quota". /// - (BOOL)isNearQuota; /// /// Retrieves whether the union's current tag state has value "over_quota". /// /// @return Whether the union's current tag state has value "over_quota". /// - (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". /// /// @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 `DBTEAMLOGSpaceLimitsStatus` union. /// @interface DBTEAMLOGSpaceLimitsStatusSerializer : NSObject /// /// Serializes `DBTEAMLOGSpaceLimitsStatus` instances. /// /// @param instance An instance of the `DBTEAMLOGSpaceLimitsStatus` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSpaceLimitsStatus` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGSpaceLimitsStatus *)instance; /// /// Deserializes `DBTEAMLOGSpaceLimitsStatus` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGSpaceLimitsStatus` API object. /// /// @return An instantiation of the `DBTEAMLOGSpaceLimitsStatus` object. /// + (DBTEAMLOGSpaceLimitsStatus *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSsoAddCertDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGCertificate; @class DBTEAMLOGSsoAddCertDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `SsoAddCertDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGSsoAddCertDetails : NSObject #pragma mark - Instance fields /// SSO certificate details. @property (nonatomic, readonly) DBTEAMLOGCertificate *certificateDetails; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param certificateDetails SSO certificate details. /// /// @return An initialized instance. /// - (instancetype)initWithCertificateDetails:(DBTEAMLOGCertificate *)certificateDetails; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `SsoAddCertDetails` struct. /// @interface DBTEAMLOGSsoAddCertDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGSsoAddCertDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGSsoAddCertDetails` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSsoAddCertDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGSsoAddCertDetails *)instance; /// /// Deserializes `DBTEAMLOGSsoAddCertDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGSsoAddCertDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGSsoAddCertDetails` object. /// + (DBTEAMLOGSsoAddCertDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSsoAddCertType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSsoAddLoginUrlDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGSsoAddLoginUrlDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `SsoAddLoginUrlDetails` struct. /// /// Added 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 /// objects. /// @interface DBTEAMLOGSsoAddLoginUrlDetails : NSObject #pragma mark - Instance fields /// New single sign-on login URL. @property (nonatomic, readonly, copy) NSString *dNewValue; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param dNewValue New single sign-on login URL. /// /// @return An initialized instance. /// - (instancetype)initWithDNewValue:(NSString *)dNewValue; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `SsoAddLoginUrlDetails` struct. /// @interface DBTEAMLOGSsoAddLoginUrlDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGSsoAddLoginUrlDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGSsoAddLoginUrlDetails` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSsoAddLoginUrlDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGSsoAddLoginUrlDetails *)instance; /// /// Deserializes `DBTEAMLOGSsoAddLoginUrlDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGSsoAddLoginUrlDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGSsoAddLoginUrlDetails` object. /// + (DBTEAMLOGSsoAddLoginUrlDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSsoAddLoginUrlType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSsoAddLogoutUrlDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGSsoAddLogoutUrlDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `SsoAddLogoutUrlDetails` struct. /// /// Added 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 /// objects. /// @interface DBTEAMLOGSsoAddLogoutUrlDetails : NSObject #pragma mark - Instance fields /// New single sign-on logout URL. @property (nonatomic, readonly, copy, nullable) NSString *dNewValue; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param dNewValue New single sign-on logout URL. /// /// @return An initialized instance. /// - (instancetype)initWithDNewValue:(nullable NSString *)dNewValue; /// /// 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 `SsoAddLogoutUrlDetails` struct. /// @interface DBTEAMLOGSsoAddLogoutUrlDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGSsoAddLogoutUrlDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGSsoAddLogoutUrlDetails` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSsoAddLogoutUrlDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGSsoAddLogoutUrlDetails *)instance; /// /// Deserializes `DBTEAMLOGSsoAddLogoutUrlDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGSsoAddLogoutUrlDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGSsoAddLogoutUrlDetails` object. /// + (DBTEAMLOGSsoAddLogoutUrlDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSsoAddLogoutUrlType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSsoChangeCertDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGCertificate; @class DBTEAMLOGSsoChangeCertDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `SsoChangeCertDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGSsoChangeCertDetails : NSObject #pragma mark - Instance fields /// Previous SSO certificate details. Might be missing due to historical data /// gap. @property (nonatomic, readonly, nullable) DBTEAMLOGCertificate *previousCertificateDetails; /// New SSO certificate details. @property (nonatomic, readonly) DBTEAMLOGCertificate *dNewCertificateDetails; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param dNewCertificateDetails New SSO certificate details. /// @param previousCertificateDetails Previous SSO certificate details. Might be /// missing due to historical data gap. /// /// @return An initialized instance. /// - (instancetype)initWithDNewCertificateDetails:(DBTEAMLOGCertificate *)dNewCertificateDetails previousCertificateDetails:(nullable DBTEAMLOGCertificate *)previousCertificateDetails; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param dNewCertificateDetails New SSO certificate details. /// /// @return An initialized instance. /// - (instancetype)initWithDNewCertificateDetails:(DBTEAMLOGCertificate *)dNewCertificateDetails; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `SsoChangeCertDetails` struct. /// @interface DBTEAMLOGSsoChangeCertDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGSsoChangeCertDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGSsoChangeCertDetails` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSsoChangeCertDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGSsoChangeCertDetails *)instance; /// /// Deserializes `DBTEAMLOGSsoChangeCertDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGSsoChangeCertDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGSsoChangeCertDetails` object. /// + (DBTEAMLOGSsoChangeCertDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSsoChangeCertType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSsoChangeLoginUrlDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGSsoChangeLoginUrlDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `SsoChangeLoginUrlDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGSsoChangeLoginUrlDetails : NSObject #pragma mark - Instance fields /// Previous single sign-on login URL. @property (nonatomic, readonly, copy) NSString *previousValue; /// New single sign-on login URL. @property (nonatomic, readonly, copy) NSString *dNewValue; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param previousValue Previous single sign-on login URL. /// @param dNewValue New single sign-on login URL. /// /// @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 `SsoChangeLoginUrlDetails` struct. /// @interface DBTEAMLOGSsoChangeLoginUrlDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGSsoChangeLoginUrlDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGSsoChangeLoginUrlDetails` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSsoChangeLoginUrlDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGSsoChangeLoginUrlDetails *)instance; /// /// Deserializes `DBTEAMLOGSsoChangeLoginUrlDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGSsoChangeLoginUrlDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGSsoChangeLoginUrlDetails` object. /// + (DBTEAMLOGSsoChangeLoginUrlDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSsoChangeLoginUrlType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSsoChangeLogoutUrlDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGSsoChangeLogoutUrlDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `SsoChangeLogoutUrlDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGSsoChangeLogoutUrlDetails : NSObject #pragma mark - Instance fields /// Previous single sign-on logout URL. Might be missing due to historical data /// gap. @property (nonatomic, readonly, copy, nullable) NSString *previousValue; /// New single sign-on logout URL. @property (nonatomic, readonly, copy, nullable) NSString *dNewValue; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param previousValue Previous 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. /// - (instancetype)initWithPreviousValue:(nullable NSString *)previousValue dNewValue:(nullable NSString *)dNewValue; /// /// 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 `SsoChangeLogoutUrlDetails` struct. /// @interface DBTEAMLOGSsoChangeLogoutUrlDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGSsoChangeLogoutUrlDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGSsoChangeLogoutUrlDetails` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSsoChangeLogoutUrlDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGSsoChangeLogoutUrlDetails *)instance; /// /// Deserializes `DBTEAMLOGSsoChangeLogoutUrlDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGSsoChangeLogoutUrlDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGSsoChangeLogoutUrlDetails` object. /// + (DBTEAMLOGSsoChangeLogoutUrlDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSsoChangeLogoutUrlType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSsoChangePolicyDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGSsoChangePolicyDetails; @class DBTEAMPOLICIESSsoPolicy; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `SsoChangePolicyDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGSsoChangePolicyDetails : NSObject #pragma mark - Instance fields /// New single sign-on policy. @property (nonatomic, readonly) DBTEAMPOLICIESSsoPolicy *dNewValue; /// Previous single sign-on policy. Might be missing due to historical data gap. @property (nonatomic, readonly, nullable) DBTEAMPOLICIESSsoPolicy *previousValue; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param dNewValue New single sign-on policy. /// @param previousValue Previous single sign-on policy. Might be missing due to /// historical data gap. /// /// @return An initialized instance. /// - (instancetype)initWithDNewValue:(DBTEAMPOLICIESSsoPolicy *)dNewValue previousValue:(nullable DBTEAMPOLICIESSsoPolicy *)previousValue; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param dNewValue New single sign-on policy. /// /// @return An initialized instance. /// - (instancetype)initWithDNewValue:(DBTEAMPOLICIESSsoPolicy *)dNewValue; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `SsoChangePolicyDetails` struct. /// @interface DBTEAMLOGSsoChangePolicyDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGSsoChangePolicyDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGSsoChangePolicyDetails` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSsoChangePolicyDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGSsoChangePolicyDetails *)instance; /// /// Deserializes `DBTEAMLOGSsoChangePolicyDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGSsoChangePolicyDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGSsoChangePolicyDetails` object. /// + (DBTEAMLOGSsoChangePolicyDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSsoChangePolicyType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSsoChangeSamlIdentityModeDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGSsoChangeSamlIdentityModeDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `SsoChangeSamlIdentityModeDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGSsoChangeSamlIdentityModeDetails : NSObject #pragma mark - Instance fields /// Previous single sign-on identity mode. @property (nonatomic, readonly) NSNumber *previousValue; /// New single sign-on identity mode. @property (nonatomic, readonly) NSNumber *dNewValue; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param previousValue Previous single sign-on identity mode. /// @param dNewValue New single sign-on identity mode. /// /// @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 `SsoChangeSamlIdentityModeDetails` struct. /// @interface DBTEAMLOGSsoChangeSamlIdentityModeDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGSsoChangeSamlIdentityModeDetails` instances. /// /// @param instance An instance of the /// `DBTEAMLOGSsoChangeSamlIdentityModeDetails` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSsoChangeSamlIdentityModeDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGSsoChangeSamlIdentityModeDetails *)instance; /// /// Deserializes `DBTEAMLOGSsoChangeSamlIdentityModeDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGSsoChangeSamlIdentityModeDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGSsoChangeSamlIdentityModeDetails` /// object. /// + (DBTEAMLOGSsoChangeSamlIdentityModeDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSsoChangeSamlIdentityModeType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSsoErrorDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGFailureDetailsLogInfo; @class DBTEAMLOGSsoErrorDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `SsoErrorDetails` struct. /// /// Failed to sign in via SSO. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMLOGSsoErrorDetails : NSObject #pragma mark - Instance fields /// Error details. @property (nonatomic, readonly) DBTEAMLOGFailureDetailsLogInfo *errorDetails; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param errorDetails Error details. /// /// @return An initialized instance. /// - (instancetype)initWithErrorDetails:(DBTEAMLOGFailureDetailsLogInfo *)errorDetails; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `SsoErrorDetails` struct. /// @interface DBTEAMLOGSsoErrorDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGSsoErrorDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGSsoErrorDetails` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSsoErrorDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGSsoErrorDetails *)instance; /// /// Deserializes `DBTEAMLOGSsoErrorDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGSsoErrorDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGSsoErrorDetails` object. /// + (DBTEAMLOGSsoErrorDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSsoErrorType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSsoRemoveCertDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGSsoRemoveCertDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `SsoRemoveCertDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGSsoRemoveCertDetails : 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 `SsoRemoveCertDetails` struct. /// @interface DBTEAMLOGSsoRemoveCertDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGSsoRemoveCertDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGSsoRemoveCertDetails` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSsoRemoveCertDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGSsoRemoveCertDetails *)instance; /// /// Deserializes `DBTEAMLOGSsoRemoveCertDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGSsoRemoveCertDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGSsoRemoveCertDetails` object. /// + (DBTEAMLOGSsoRemoveCertDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSsoRemoveCertType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSsoRemoveLoginUrlDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGSsoRemoveLoginUrlDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `SsoRemoveLoginUrlDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGSsoRemoveLoginUrlDetails : NSObject #pragma mark - Instance fields /// Previous single sign-on login URL. @property (nonatomic, readonly, copy) NSString *previousValue; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param previousValue Previous single sign-on login URL. /// /// @return An initialized instance. /// - (instancetype)initWithPreviousValue:(NSString *)previousValue; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `SsoRemoveLoginUrlDetails` struct. /// @interface DBTEAMLOGSsoRemoveLoginUrlDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGSsoRemoveLoginUrlDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGSsoRemoveLoginUrlDetails` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSsoRemoveLoginUrlDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGSsoRemoveLoginUrlDetails *)instance; /// /// Deserializes `DBTEAMLOGSsoRemoveLoginUrlDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGSsoRemoveLoginUrlDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGSsoRemoveLoginUrlDetails` object. /// + (DBTEAMLOGSsoRemoveLoginUrlDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSsoRemoveLoginUrlType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSsoRemoveLogoutUrlDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGSsoRemoveLogoutUrlDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `SsoRemoveLogoutUrlDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGSsoRemoveLogoutUrlDetails : NSObject #pragma mark - Instance fields /// Previous single sign-on logout URL. @property (nonatomic, readonly, copy) NSString *previousValue; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param previousValue Previous single sign-on logout URL. /// /// @return An initialized instance. /// - (instancetype)initWithPreviousValue:(NSString *)previousValue; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `SsoRemoveLogoutUrlDetails` struct. /// @interface DBTEAMLOGSsoRemoveLogoutUrlDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGSsoRemoveLogoutUrlDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGSsoRemoveLogoutUrlDetails` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSsoRemoveLogoutUrlDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGSsoRemoveLogoutUrlDetails *)instance; /// /// Deserializes `DBTEAMLOGSsoRemoveLogoutUrlDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGSsoRemoveLogoutUrlDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGSsoRemoveLogoutUrlDetails` object. /// + (DBTEAMLOGSsoRemoveLogoutUrlDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSsoRemoveLogoutUrlType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGStartedEnterpriseAdminSessionDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGStartedEnterpriseAdminSessionType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamActivityCreateReportDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGTeamActivityCreateReportDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `TeamActivityCreateReportDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGTeamActivityCreateReportDetails : 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 `TeamActivityCreateReportDetails` struct. /// @interface DBTEAMLOGTeamActivityCreateReportDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGTeamActivityCreateReportDetails` instances. /// /// @param instance An instance of the /// `DBTEAMLOGTeamActivityCreateReportDetails` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGTeamActivityCreateReportDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGTeamActivityCreateReportDetails *)instance; /// /// Deserializes `DBTEAMLOGTeamActivityCreateReportDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGTeamActivityCreateReportDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGTeamActivityCreateReportDetails` /// object. /// + (DBTEAMLOGTeamActivityCreateReportDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamActivityCreateReportFailDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamActivityCreateReportFailType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamActivityCreateReportType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamBrandingPolicy.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamBrandingPolicyChangedDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamBrandingPolicyChangedType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamEncryptionKeyCancelKeyDeletionDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamEncryptionKeyCancelKeyDeletionType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamEncryptionKeyCreateKeyDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamEncryptionKeyCreateKeyType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamEncryptionKeyDeleteKeyDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamEncryptionKeyDeleteKeyType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamEncryptionKeyDisableKeyDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamEncryptionKeyDisableKeyType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamEncryptionKeyEnableKeyDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamEncryptionKeyEnableKeyType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamEncryptionKeyRotateKeyDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamEncryptionKeyRotateKeyType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamEncryptionKeyScheduleKeyDeletionDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamEncryptionKeyScheduleKeyDeletionType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamEvent.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGActorLogInfo; @class DBTEAMLOGAssetLogInfo; @class DBTEAMLOGContextLogInfo; @class DBTEAMLOGEventCategory; @class DBTEAMLOGEventDetails; @class DBTEAMLOGEventType; @class DBTEAMLOGOriginLogInfo; @class DBTEAMLOGParticipantLogInfo; @class DBTEAMLOGTeamEvent; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `TeamEvent` struct. /// /// An audit log event. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMLOGTeamEvent : NSObject #pragma mark - Instance fields /// The Dropbox timestamp representing when the action was taken. @property (nonatomic, readonly) NSDate *timestamp; /// The category that this type of action belongs to. @property (nonatomic, readonly) DBTEAMLOGEventCategory *eventCategory; /// 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 /// programmatically via the API the origin represents the API client. @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. 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. 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. @property (nonatomic, readonly, nullable) NSArray *participants; /// Zero or more content assets involved in the action. Currently these include /// Dropbox files and folders but in the future we might add other asset types /// such as Paper documents, folders, projects, etc. @property (nonatomic, readonly, nullable) NSArray *assets; /// The particular type of action taken. @property (nonatomic, readonly) DBTEAMLOGEventType *eventType; /// The variable event schema applicable to this type of action, instantiated /// with respect to this particular action. @property (nonatomic, readonly) DBTEAMLOGEventDetails *details; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param timestamp The Dropbox timestamp representing when the action was /// taken. /// @param eventCategory The category that this type of action belongs to. /// @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. /// @param assets Zero or more content assets involved in the action. Currently /// these include Dropbox files and folders but in the future we might add other /// asset types such as Paper documents, folders, projects, etc. /// /// @return An initialized instance. /// - (instancetype)initWithTimestamp:(NSDate *)timestamp eventCategory:(DBTEAMLOGEventCategory *)eventCategory 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; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param timestamp The Dropbox timestamp representing when the action was /// taken. /// @param eventCategory The category that this type of action belongs to. /// @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. /// /// @return An initialized instance. /// - (instancetype)initWithTimestamp:(NSDate *)timestamp eventCategory:(DBTEAMLOGEventCategory *)eventCategory eventType:(DBTEAMLOGEventType *)eventType details:(DBTEAMLOGEventDetails *)details; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `TeamEvent` struct. /// @interface DBTEAMLOGTeamEventSerializer : NSObject /// /// Serializes `DBTEAMLOGTeamEvent` instances. /// /// @param instance An instance of the `DBTEAMLOGTeamEvent` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGTeamEvent` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGTeamEvent *)instance; /// /// Deserializes `DBTEAMLOGTeamEvent` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGTeamEvent` API object. /// /// @return An instantiation of the `DBTEAMLOGTeamEvent` object. /// + (DBTEAMLOGTeamEvent *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamExtensionsPolicy.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamExtensionsPolicyChangedDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamExtensionsPolicyChangedType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamFolderChangeStatusDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGTeamFolderChangeStatusDetails; @class DBTEAMTeamFolderStatus; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `TeamFolderChangeStatusDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGTeamFolderChangeStatusDetails : NSObject #pragma mark - Instance fields /// New team folder status. @property (nonatomic, readonly) DBTEAMTeamFolderStatus *dNewValue; /// Previous team folder status. Might be missing due to historical data gap. @property (nonatomic, readonly, nullable) DBTEAMTeamFolderStatus *previousValue; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param dNewValue New team folder status. /// @param previousValue Previous team folder status. Might be missing due to /// historical data gap. /// /// @return An initialized instance. /// - (instancetype)initWithDNewValue:(DBTEAMTeamFolderStatus *)dNewValue previousValue:(nullable DBTEAMTeamFolderStatus *)previousValue; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param dNewValue New team folder status. /// /// @return An initialized instance. /// - (instancetype)initWithDNewValue:(DBTEAMTeamFolderStatus *)dNewValue; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `TeamFolderChangeStatusDetails` struct. /// @interface DBTEAMLOGTeamFolderChangeStatusDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGTeamFolderChangeStatusDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGTeamFolderChangeStatusDetails` /// API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGTeamFolderChangeStatusDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGTeamFolderChangeStatusDetails *)instance; /// /// Deserializes `DBTEAMLOGTeamFolderChangeStatusDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGTeamFolderChangeStatusDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGTeamFolderChangeStatusDetails` /// object. /// + (DBTEAMLOGTeamFolderChangeStatusDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamFolderChangeStatusType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamFolderCreateDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGTeamFolderCreateDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `TeamFolderCreateDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGTeamFolderCreateDetails : 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 `TeamFolderCreateDetails` struct. /// @interface DBTEAMLOGTeamFolderCreateDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGTeamFolderCreateDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGTeamFolderCreateDetails` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGTeamFolderCreateDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGTeamFolderCreateDetails *)instance; /// /// Deserializes `DBTEAMLOGTeamFolderCreateDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGTeamFolderCreateDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGTeamFolderCreateDetails` object. /// + (DBTEAMLOGTeamFolderCreateDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamFolderCreateType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamFolderDowngradeDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGTeamFolderDowngradeDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `TeamFolderDowngradeDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGTeamFolderDowngradeDetails : NSObject #pragma mark - Instance fields /// Target asset position in the Assets list. @property (nonatomic, readonly) NSNumber *targetAssetIndex; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param targetAssetIndex Target asset position in the Assets list. /// /// @return An initialized instance. /// - (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `TeamFolderDowngradeDetails` struct. /// @interface DBTEAMLOGTeamFolderDowngradeDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGTeamFolderDowngradeDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGTeamFolderDowngradeDetails` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGTeamFolderDowngradeDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGTeamFolderDowngradeDetails *)instance; /// /// Deserializes `DBTEAMLOGTeamFolderDowngradeDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGTeamFolderDowngradeDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGTeamFolderDowngradeDetails` /// object. /// + (DBTEAMLOGTeamFolderDowngradeDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamFolderDowngradeType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamFolderPermanentlyDeleteDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGTeamFolderPermanentlyDeleteDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `TeamFolderPermanentlyDeleteDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGTeamFolderPermanentlyDeleteDetails : 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 `TeamFolderPermanentlyDeleteDetails` struct. /// @interface DBTEAMLOGTeamFolderPermanentlyDeleteDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGTeamFolderPermanentlyDeleteDetails` instances. /// /// @param instance An instance of the /// `DBTEAMLOGTeamFolderPermanentlyDeleteDetails` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGTeamFolderPermanentlyDeleteDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGTeamFolderPermanentlyDeleteDetails *)instance; /// /// Deserializes `DBTEAMLOGTeamFolderPermanentlyDeleteDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGTeamFolderPermanentlyDeleteDetails` API object. /// /// @return An instantiation of the /// `DBTEAMLOGTeamFolderPermanentlyDeleteDetails` object. /// + (DBTEAMLOGTeamFolderPermanentlyDeleteDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamFolderPermanentlyDeleteType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamFolderRenameDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGTeamFolderRenameDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `TeamFolderRenameDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGTeamFolderRenameDetails : NSObject #pragma mark - Instance fields /// 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 previousFolderName Previous folder name. /// @param dNewFolderName New folder name. /// /// @return An initialized instance. /// - (instancetype)initWithPreviousFolderName:(NSString *)previousFolderName dNewFolderName:(NSString *)dNewFolderName; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `TeamFolderRenameDetails` struct. /// @interface DBTEAMLOGTeamFolderRenameDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGTeamFolderRenameDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGTeamFolderRenameDetails` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGTeamFolderRenameDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGTeamFolderRenameDetails *)instance; /// /// Deserializes `DBTEAMLOGTeamFolderRenameDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGTeamFolderRenameDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGTeamFolderRenameDetails` object. /// + (DBTEAMLOGTeamFolderRenameDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamFolderRenameType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamInviteDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamLinkedAppLogInfo.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" #import "DBTEAMLOGAppLogInfo.h" @class DBTEAMLOGTeamLinkedAppLogInfo; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `TeamLinkedAppLogInfo` struct. /// /// Team linked app /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMLOGTeamLinkedAppLogInfo : DBTEAMLOGAppLogInfo #pragma mark - Instance fields #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param appId App unique ID. /// @param displayName App display name. /// /// @return An initialized instance. /// - (instancetype)initWithAppId:(nullable NSString *)appId displayName:(nullable NSString *)displayName; /// /// 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 `TeamLinkedAppLogInfo` struct. /// @interface DBTEAMLOGTeamLinkedAppLogInfoSerializer : NSObject /// /// Serializes `DBTEAMLOGTeamLinkedAppLogInfo` instances. /// /// @param instance An instance of the `DBTEAMLOGTeamLinkedAppLogInfo` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGTeamLinkedAppLogInfo` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGTeamLinkedAppLogInfo *)instance; /// /// Deserializes `DBTEAMLOGTeamLinkedAppLogInfo` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGTeamLinkedAppLogInfo` API object. /// /// @return An instantiation of the `DBTEAMLOGTeamLinkedAppLogInfo` object. /// + (DBTEAMLOGTeamLinkedAppLogInfo *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamLogInfo.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMemberLogInfo.h ================================================ /// /// 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 DBTEAMLOGTeamMemberLogInfo; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `TeamMemberLogInfo` struct. /// /// Team member'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 DBTEAMLOGTeamMemberLogInfo : DBTEAMLOGUserLogInfo #pragma mark - Instance fields /// 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. /// @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. /// - (instancetype)initWithAccountId:(nullable NSString *)accountId displayName:(nullable NSString *)displayName email:(nullable NSString *)email teamMemberId:(nullable NSString *)teamMemberId memberExternalId:(nullable NSString *)memberExternalId team:(nullable DBTEAMLOGTeamLogInfo *)team; /// /// 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 `TeamMemberLogInfo` struct. /// @interface DBTEAMLOGTeamMemberLogInfoSerializer : NSObject /// /// Serializes `DBTEAMLOGTeamMemberLogInfo` instances. /// /// @param instance An instance of the `DBTEAMLOGTeamMemberLogInfo` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGTeamMemberLogInfo` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGTeamMemberLogInfo *)instance; /// /// Deserializes `DBTEAMLOGTeamMemberLogInfo` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGTeamMemberLogInfo` API object. /// /// @return An instantiation of the `DBTEAMLOGTeamMemberLogInfo` object. /// + (DBTEAMLOGTeamMemberLogInfo *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMembershipType.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGTeamMembershipType; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `TeamMembershipType` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMLOGTeamMembershipType : NSObject #pragma mark - Instance fields /// The `DBTEAMLOGTeamMembershipTypeTag` enum type represents the possible tag /// states with which the `DBTEAMLOGTeamMembershipType` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGTeamMembershipTypeTag){ /// (no description). DBTEAMLOGTeamMembershipTypeFree, /// (no description). DBTEAMLOGTeamMembershipTypeFull, /// (no description). DBTEAMLOGTeamMembershipTypeGuest, /// (no description). DBTEAMLOGTeamMembershipTypeOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMLOGTeamMembershipTypeTag tag; #pragma mark - Constructors /// /// Initializes union class with tag state of "free". /// /// @return An initialized instance. /// - (instancetype)initWithFree; /// /// Initializes union class with tag state of "full". /// /// @return An initialized instance. /// - (instancetype)initWithFull; /// /// Initializes union class with tag state of "guest". /// /// @return An initialized instance. /// - (instancetype)initWithGuest; /// /// 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 "free". /// /// @return Whether the union's current tag state has value "free". /// - (BOOL)isFree; /// /// Retrieves whether the union's current tag state has value "full". /// /// @return Whether the union's current tag state has value "full". /// - (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". /// /// @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 `DBTEAMLOGTeamMembershipType` union. /// @interface DBTEAMLOGTeamMembershipTypeSerializer : NSObject /// /// Serializes `DBTEAMLOGTeamMembershipType` instances. /// /// @param instance An instance of the `DBTEAMLOGTeamMembershipType` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGTeamMembershipType` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGTeamMembershipType *)instance; /// /// Deserializes `DBTEAMLOGTeamMembershipType` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGTeamMembershipType` API object. /// /// @return An instantiation of the `DBTEAMLOGTeamMembershipType` object. /// + (DBTEAMLOGTeamMembershipType *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeFromDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGTeamMergeFromDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `TeamMergeFromDetails` struct. /// /// Merged another team into this team. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMLOGTeamMergeFromDetails : NSObject #pragma mark - Instance fields /// The name of the team that was merged into this team. @property (nonatomic, readonly, copy) NSString *teamName; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param teamName The name of the team that was merged into this team. /// /// @return An initialized instance. /// - (instancetype)initWithTeamName:(NSString *)teamName; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `TeamMergeFromDetails` struct. /// @interface DBTEAMLOGTeamMergeFromDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGTeamMergeFromDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGTeamMergeFromDetails` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGTeamMergeFromDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGTeamMergeFromDetails *)instance; /// /// Deserializes `DBTEAMLOGTeamMergeFromDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGTeamMergeFromDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGTeamMergeFromDetails` object. /// + (DBTEAMLOGTeamMergeFromDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeFromType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestAcceptedDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestAcceptedExtraDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestAcceptedShownToPrimaryTeamDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestAcceptedShownToPrimaryTeamType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestAcceptedShownToSecondaryTeamDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestAcceptedShownToSecondaryTeamType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestAcceptedType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestAutoCanceledDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestAutoCanceledType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestCanceledDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestCanceledExtraDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestCanceledShownToPrimaryTeamDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestCanceledShownToPrimaryTeamType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestCanceledShownToSecondaryTeamDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestCanceledShownToSecondaryTeamType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestCanceledType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestExpiredDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestExpiredExtraDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestExpiredShownToPrimaryTeamDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestExpiredShownToPrimaryTeamType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestExpiredShownToSecondaryTeamDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestExpiredShownToSecondaryTeamType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestExpiredType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestRejectedShownToPrimaryTeamDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestRejectedShownToPrimaryTeamType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestRejectedShownToSecondaryTeamDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestRejectedShownToSecondaryTeamType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestReminderDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestReminderExtraDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestReminderShownToPrimaryTeamDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestReminderShownToPrimaryTeamType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestReminderShownToSecondaryTeamDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestReminderShownToSecondaryTeamType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestReminderType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestRevokedDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestRevokedType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestSentShownToPrimaryTeamDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestSentShownToPrimaryTeamType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestSentShownToSecondaryTeamDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestSentShownToSecondaryTeamType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeToDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGTeamMergeToDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `TeamMergeToDetails` struct. /// /// Merged this team into another team. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMLOGTeamMergeToDetails : NSObject #pragma mark - Instance fields /// The name of the team that this team was merged into. @property (nonatomic, readonly, copy) NSString *teamName; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param teamName The name of the team that this team was merged into. /// /// @return An initialized instance. /// - (instancetype)initWithTeamName:(NSString *)teamName; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `TeamMergeToDetails` struct. /// @interface DBTEAMLOGTeamMergeToDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGTeamMergeToDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGTeamMergeToDetails` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGTeamMergeToDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGTeamMergeToDetails *)instance; /// /// Deserializes `DBTEAMLOGTeamMergeToDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGTeamMergeToDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGTeamMergeToDetails` object. /// + (DBTEAMLOGTeamMergeToDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeToType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamName.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGTeamName; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `TeamName` struct. /// /// Team name details /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMLOGTeamName : NSObject #pragma mark - Instance fields /// Team's display name. @property (nonatomic, readonly, copy) NSString *teamDisplayName; /// Team's legal name. @property (nonatomic, readonly, copy) NSString *teamLegalName; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param teamDisplayName Team's display name. /// @param teamLegalName Team's legal name. /// /// @return An initialized instance. /// - (instancetype)initWithTeamDisplayName:(NSString *)teamDisplayName teamLegalName:(NSString *)teamLegalName; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `TeamName` struct. /// @interface DBTEAMLOGTeamNameSerializer : NSObject /// /// Serializes `DBTEAMLOGTeamName` instances. /// /// @param instance An instance of the `DBTEAMLOGTeamName` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGTeamName` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGTeamName *)instance; /// /// Deserializes `DBTEAMLOGTeamName` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGTeamName` API object. /// /// @return An instantiation of the `DBTEAMLOGTeamName` object. /// + (DBTEAMLOGTeamName *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamProfileAddBackgroundDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamProfileAddBackgroundType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamProfileAddLogoDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGTeamProfileAddLogoDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `TeamProfileAddLogoDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGTeamProfileAddLogoDetails : 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 `TeamProfileAddLogoDetails` struct. /// @interface DBTEAMLOGTeamProfileAddLogoDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGTeamProfileAddLogoDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGTeamProfileAddLogoDetails` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGTeamProfileAddLogoDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGTeamProfileAddLogoDetails *)instance; /// /// Deserializes `DBTEAMLOGTeamProfileAddLogoDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGTeamProfileAddLogoDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGTeamProfileAddLogoDetails` object. /// + (DBTEAMLOGTeamProfileAddLogoDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamProfileAddLogoType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamProfileChangeBackgroundDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamProfileChangeBackgroundType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamProfileChangeDefaultLanguageDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGTeamProfileChangeDefaultLanguageDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `TeamProfileChangeDefaultLanguageDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGTeamProfileChangeDefaultLanguageDetails : NSObject #pragma mark - Instance fields /// New team's default language. @property (nonatomic, readonly, copy) NSString *dNewValue; /// Previous team's default language. @property (nonatomic, readonly, copy) NSString *previousValue; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param dNewValue New team's default language. /// @param previousValue Previous team's default language. /// /// @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 `TeamProfileChangeDefaultLanguageDetails` /// struct. /// @interface DBTEAMLOGTeamProfileChangeDefaultLanguageDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGTeamProfileChangeDefaultLanguageDetails` instances. /// /// @param instance An instance of the /// `DBTEAMLOGTeamProfileChangeDefaultLanguageDetails` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGTeamProfileChangeDefaultLanguageDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGTeamProfileChangeDefaultLanguageDetails *)instance; /// /// Deserializes `DBTEAMLOGTeamProfileChangeDefaultLanguageDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGTeamProfileChangeDefaultLanguageDetails` API object. /// /// @return An instantiation of the /// `DBTEAMLOGTeamProfileChangeDefaultLanguageDetails` object. /// + (DBTEAMLOGTeamProfileChangeDefaultLanguageDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamProfileChangeDefaultLanguageType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamProfileChangeLogoDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGTeamProfileChangeLogoDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `TeamProfileChangeLogoDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGTeamProfileChangeLogoDetails : 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 `TeamProfileChangeLogoDetails` struct. /// @interface DBTEAMLOGTeamProfileChangeLogoDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGTeamProfileChangeLogoDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGTeamProfileChangeLogoDetails` /// API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGTeamProfileChangeLogoDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGTeamProfileChangeLogoDetails *)instance; /// /// Deserializes `DBTEAMLOGTeamProfileChangeLogoDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGTeamProfileChangeLogoDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGTeamProfileChangeLogoDetails` /// object. /// + (DBTEAMLOGTeamProfileChangeLogoDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamProfileChangeLogoType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamProfileChangeNameDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGTeamName; @class DBTEAMLOGTeamProfileChangeNameDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `TeamProfileChangeNameDetails` struct. /// /// Changed team name. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMLOGTeamProfileChangeNameDetails : NSObject #pragma mark - Instance fields /// Previous teams name. Might be missing due to historical data gap. @property (nonatomic, readonly, nullable) DBTEAMLOGTeamName *previousValue; /// New team name. @property (nonatomic, readonly) DBTEAMLOGTeamName *dNewValue; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param dNewValue New team name. /// @param previousValue Previous teams name. Might be missing due to historical /// data gap. /// /// @return An initialized instance. /// - (instancetype)initWithDNewValue:(DBTEAMLOGTeamName *)dNewValue previousValue:(nullable DBTEAMLOGTeamName *)previousValue; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param dNewValue New team name. /// /// @return An initialized instance. /// - (instancetype)initWithDNewValue:(DBTEAMLOGTeamName *)dNewValue; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `TeamProfileChangeNameDetails` struct. /// @interface DBTEAMLOGTeamProfileChangeNameDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGTeamProfileChangeNameDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGTeamProfileChangeNameDetails` /// API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGTeamProfileChangeNameDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGTeamProfileChangeNameDetails *)instance; /// /// Deserializes `DBTEAMLOGTeamProfileChangeNameDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGTeamProfileChangeNameDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGTeamProfileChangeNameDetails` /// object. /// + (DBTEAMLOGTeamProfileChangeNameDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamProfileChangeNameType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamProfileRemoveBackgroundDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamProfileRemoveBackgroundType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamProfileRemoveLogoDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGTeamProfileRemoveLogoDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `TeamProfileRemoveLogoDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGTeamProfileRemoveLogoDetails : 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 `TeamProfileRemoveLogoDetails` struct. /// @interface DBTEAMLOGTeamProfileRemoveLogoDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGTeamProfileRemoveLogoDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGTeamProfileRemoveLogoDetails` /// API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGTeamProfileRemoveLogoDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGTeamProfileRemoveLogoDetails *)instance; /// /// Deserializes `DBTEAMLOGTeamProfileRemoveLogoDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGTeamProfileRemoveLogoDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGTeamProfileRemoveLogoDetails` /// object. /// + (DBTEAMLOGTeamProfileRemoveLogoDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamProfileRemoveLogoType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamSelectiveSyncPolicy.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamSelectiveSyncPolicyChangedDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamSelectiveSyncPolicyChangedType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamSelectiveSyncSettingsChangedDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamSelectiveSyncSettingsChangedType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamSharingWhitelistSubjectsChangedDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamSharingWhitelistSubjectsChangedType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTfaAddBackupPhoneDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGTfaAddBackupPhoneDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `TfaAddBackupPhoneDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGTfaAddBackupPhoneDetails : 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 `TfaAddBackupPhoneDetails` struct. /// @interface DBTEAMLOGTfaAddBackupPhoneDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGTfaAddBackupPhoneDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGTfaAddBackupPhoneDetails` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGTfaAddBackupPhoneDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGTfaAddBackupPhoneDetails *)instance; /// /// Deserializes `DBTEAMLOGTfaAddBackupPhoneDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGTfaAddBackupPhoneDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGTfaAddBackupPhoneDetails` object. /// + (DBTEAMLOGTfaAddBackupPhoneDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTfaAddBackupPhoneType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTfaAddExceptionDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGTfaAddExceptionDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `TfaAddExceptionDetails` struct. /// /// 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 DBTEAMLOGTfaAddExceptionDetails : 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 `TfaAddExceptionDetails` struct. /// @interface DBTEAMLOGTfaAddExceptionDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGTfaAddExceptionDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGTfaAddExceptionDetails` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGTfaAddExceptionDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGTfaAddExceptionDetails *)instance; /// /// Deserializes `DBTEAMLOGTfaAddExceptionDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGTfaAddExceptionDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGTfaAddExceptionDetails` object. /// + (DBTEAMLOGTfaAddExceptionDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTfaAddExceptionType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTfaAddSecurityKeyDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGTfaAddSecurityKeyDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `TfaAddSecurityKeyDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGTfaAddSecurityKeyDetails : 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 `TfaAddSecurityKeyDetails` struct. /// @interface DBTEAMLOGTfaAddSecurityKeyDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGTfaAddSecurityKeyDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGTfaAddSecurityKeyDetails` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGTfaAddSecurityKeyDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGTfaAddSecurityKeyDetails *)instance; /// /// Deserializes `DBTEAMLOGTfaAddSecurityKeyDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGTfaAddSecurityKeyDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGTfaAddSecurityKeyDetails` object. /// + (DBTEAMLOGTfaAddSecurityKeyDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTfaAddSecurityKeyType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTfaChangeBackupPhoneDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGTfaChangeBackupPhoneDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `TfaChangeBackupPhoneDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGTfaChangeBackupPhoneDetails : 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 `TfaChangeBackupPhoneDetails` struct. /// @interface DBTEAMLOGTfaChangeBackupPhoneDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGTfaChangeBackupPhoneDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGTfaChangeBackupPhoneDetails` /// API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGTfaChangeBackupPhoneDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGTfaChangeBackupPhoneDetails *)instance; /// /// Deserializes `DBTEAMLOGTfaChangeBackupPhoneDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGTfaChangeBackupPhoneDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGTfaChangeBackupPhoneDetails` /// object. /// + (DBTEAMLOGTfaChangeBackupPhoneDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTfaChangeBackupPhoneType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTfaChangePolicyDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGTfaChangePolicyDetails; @class DBTEAMPOLICIESTwoStepVerificationPolicy; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `TfaChangePolicyDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGTfaChangePolicyDetails : NSObject #pragma mark - Instance fields /// New change policy. @property (nonatomic, readonly) DBTEAMPOLICIESTwoStepVerificationPolicy *dNewValue; /// Previous change policy. Might be missing due to historical data gap. @property (nonatomic, readonly, nullable) DBTEAMPOLICIESTwoStepVerificationPolicy *previousValue; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param dNewValue New change policy. /// @param previousValue Previous change policy. Might be missing due to /// historical data gap. /// /// @return An initialized instance. /// - (instancetype)initWithDNewValue:(DBTEAMPOLICIESTwoStepVerificationPolicy *)dNewValue previousValue:(nullable DBTEAMPOLICIESTwoStepVerificationPolicy *)previousValue; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param dNewValue New change policy. /// /// @return An initialized instance. /// - (instancetype)initWithDNewValue:(DBTEAMPOLICIESTwoStepVerificationPolicy *)dNewValue; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `TfaChangePolicyDetails` struct. /// @interface DBTEAMLOGTfaChangePolicyDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGTfaChangePolicyDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGTfaChangePolicyDetails` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGTfaChangePolicyDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGTfaChangePolicyDetails *)instance; /// /// Deserializes `DBTEAMLOGTfaChangePolicyDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGTfaChangePolicyDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGTfaChangePolicyDetails` object. /// + (DBTEAMLOGTfaChangePolicyDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTfaChangePolicyType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTfaChangeStatusDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGTfaChangeStatusDetails; @class DBTEAMLOGTfaConfiguration; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `TfaChangeStatusDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGTfaChangeStatusDetails : NSObject #pragma mark - Instance fields /// The new two factor authentication configuration. @property (nonatomic, readonly) DBTEAMLOGTfaConfiguration *dNewValue; /// The previous two factor authentication configuration. Might be missing due /// to historical data gap. @property (nonatomic, readonly, nullable) DBTEAMLOGTfaConfiguration *previousValue; /// Used two factor authentication rescue code. This flag is relevant when the /// two factor authentication configuration is disabled. @property (nonatomic, readonly, nullable) NSNumber *usedRescueCode; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param dNewValue The new two factor authentication configuration. /// @param previousValue The previous two factor authentication configuration. /// Might be missing due to historical data gap. /// @param usedRescueCode Used two factor authentication rescue code. This flag /// is relevant when the two factor authentication configuration is disabled. /// /// @return An initialized instance. /// - (instancetype)initWithDNewValue:(DBTEAMLOGTfaConfiguration *)dNewValue previousValue:(nullable DBTEAMLOGTfaConfiguration *)previousValue usedRescueCode:(nullable NSNumber *)usedRescueCode; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param dNewValue The new two factor authentication configuration. /// /// @return An initialized instance. /// - (instancetype)initWithDNewValue:(DBTEAMLOGTfaConfiguration *)dNewValue; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `TfaChangeStatusDetails` struct. /// @interface DBTEAMLOGTfaChangeStatusDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGTfaChangeStatusDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGTfaChangeStatusDetails` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGTfaChangeStatusDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGTfaChangeStatusDetails *)instance; /// /// Deserializes `DBTEAMLOGTfaChangeStatusDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGTfaChangeStatusDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGTfaChangeStatusDetails` object. /// + (DBTEAMLOGTfaChangeStatusDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTfaChangeStatusType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTfaConfiguration.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGTfaConfiguration; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `TfaConfiguration` union. /// /// Two factor authentication configuration. Note: the enabled option is /// deprecated. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMLOGTfaConfiguration : NSObject #pragma mark - Instance fields /// The `DBTEAMLOGTfaConfigurationTag` enum type represents the possible tag /// states with which the `DBTEAMLOGTfaConfiguration` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGTfaConfigurationTag){ /// (no description). DBTEAMLOGTfaConfigurationAuthenticator, /// (no description). DBTEAMLOGTfaConfigurationDisabled, /// (no description). DBTEAMLOGTfaConfigurationEnabled, /// (no description). DBTEAMLOGTfaConfigurationSms, /// (no description). DBTEAMLOGTfaConfigurationOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMLOGTfaConfigurationTag tag; #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". /// /// @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 "sms". /// /// @return An initialized instance. /// - (instancetype)initWithSms; /// /// 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 "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". /// /// @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 "sms". /// /// @return Whether the union's current tag state has value "sms". /// - (BOOL)isSms; /// /// 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 `DBTEAMLOGTfaConfiguration` union. /// @interface DBTEAMLOGTfaConfigurationSerializer : NSObject /// /// Serializes `DBTEAMLOGTfaConfiguration` instances. /// /// @param instance An instance of the `DBTEAMLOGTfaConfiguration` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGTfaConfiguration` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGTfaConfiguration *)instance; /// /// Deserializes `DBTEAMLOGTfaConfiguration` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGTfaConfiguration` API object. /// /// @return An instantiation of the `DBTEAMLOGTfaConfiguration` object. /// + (DBTEAMLOGTfaConfiguration *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTfaRemoveBackupPhoneDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGTfaRemoveBackupPhoneDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `TfaRemoveBackupPhoneDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGTfaRemoveBackupPhoneDetails : 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 `TfaRemoveBackupPhoneDetails` struct. /// @interface DBTEAMLOGTfaRemoveBackupPhoneDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGTfaRemoveBackupPhoneDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGTfaRemoveBackupPhoneDetails` /// API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGTfaRemoveBackupPhoneDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGTfaRemoveBackupPhoneDetails *)instance; /// /// Deserializes `DBTEAMLOGTfaRemoveBackupPhoneDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGTfaRemoveBackupPhoneDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGTfaRemoveBackupPhoneDetails` /// object. /// + (DBTEAMLOGTfaRemoveBackupPhoneDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTfaRemoveBackupPhoneType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTfaRemoveExceptionDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTfaRemoveExceptionType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTfaRemoveSecurityKeyDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGTfaRemoveSecurityKeyDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `TfaRemoveSecurityKeyDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGTfaRemoveSecurityKeyDetails : 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 `TfaRemoveSecurityKeyDetails` struct. /// @interface DBTEAMLOGTfaRemoveSecurityKeyDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGTfaRemoveSecurityKeyDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGTfaRemoveSecurityKeyDetails` /// API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGTfaRemoveSecurityKeyDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGTfaRemoveSecurityKeyDetails *)instance; /// /// Deserializes `DBTEAMLOGTfaRemoveSecurityKeyDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGTfaRemoveSecurityKeyDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGTfaRemoveSecurityKeyDetails` /// object. /// + (DBTEAMLOGTfaRemoveSecurityKeyDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTfaRemoveSecurityKeyType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTfaResetDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGTfaResetDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `TfaResetDetails` struct. /// /// Reset two-step verification 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 DBTEAMLOGTfaResetDetails : 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 `TfaResetDetails` struct. /// @interface DBTEAMLOGTfaResetDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGTfaResetDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGTfaResetDetails` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGTfaResetDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGTfaResetDetails *)instance; /// /// Deserializes `DBTEAMLOGTfaResetDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGTfaResetDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGTfaResetDetails` object. /// + (DBTEAMLOGTfaResetDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTfaResetType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTimeUnit.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGTimeUnit; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `TimeUnit` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMLOGTimeUnit : NSObject #pragma mark - Instance fields /// The `DBTEAMLOGTimeUnitTag` enum type represents the possible tag states with /// which the `DBTEAMLOGTimeUnit` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGTimeUnitTag){ /// (no description). DBTEAMLOGTimeUnitDays, /// (no description). DBTEAMLOGTimeUnitHours, /// (no description). DBTEAMLOGTimeUnitMilliseconds, /// (no description). DBTEAMLOGTimeUnitMinutes, /// (no description). DBTEAMLOGTimeUnitMonths, /// (no description). DBTEAMLOGTimeUnitSeconds, /// (no description). DBTEAMLOGTimeUnitWeeks, /// (no description). DBTEAMLOGTimeUnitYears, /// (no description). DBTEAMLOGTimeUnitOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMLOGTimeUnitTag tag; #pragma mark - Constructors /// /// Initializes union class with tag state of "days". /// /// @return An initialized instance. /// - (instancetype)initWithDays; /// /// Initializes union class with tag state of "hours". /// /// @return An initialized instance. /// - (instancetype)initWithHours; /// /// Initializes union class with tag state of "milliseconds". /// /// @return An initialized instance. /// - (instancetype)initWithMilliseconds; /// /// Initializes union class with tag state of "minutes". /// /// @return An initialized instance. /// - (instancetype)initWithMinutes; /// /// Initializes union class with tag state of "months". /// /// @return An initialized instance. /// - (instancetype)initWithMonths; /// /// Initializes union class with tag state of "seconds". /// /// @return An initialized instance. /// - (instancetype)initWithSeconds; /// /// Initializes union class with tag state of "weeks". /// /// @return An initialized instance. /// - (instancetype)initWithWeeks; /// /// Initializes union class with tag state of "years". /// /// @return An initialized instance. /// - (instancetype)initWithYears; /// /// 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 "days". /// /// @return Whether the union's current tag state has value "days". /// - (BOOL)isDays; /// /// Retrieves whether the union's current tag state has value "hours". /// /// @return Whether the union's current tag state has value "hours". /// - (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". /// /// @return Whether the union's current tag state has value "minutes". /// - (BOOL)isMinutes; /// /// 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 "seconds". /// /// @return Whether the union's current tag state has value "seconds". /// - (BOOL)isSeconds; /// /// Retrieves whether the union's current tag state has value "weeks". /// /// @return Whether the union's current tag state has value "weeks". /// - (BOOL)isWeeks; /// /// Retrieves whether the union's current tag state has value "years". /// /// @return Whether the union's current tag state has value "years". /// - (BOOL)isYears; /// /// 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 `DBTEAMLOGTimeUnit` union. /// @interface DBTEAMLOGTimeUnitSerializer : NSObject /// /// Serializes `DBTEAMLOGTimeUnit` instances. /// /// @param instance An instance of the `DBTEAMLOGTimeUnit` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGTimeUnit` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGTimeUnit *)instance; /// /// Deserializes `DBTEAMLOGTimeUnit` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGTimeUnit` API object. /// /// @return An instantiation of the `DBTEAMLOGTimeUnit` object. /// + (DBTEAMLOGTimeUnit *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTrustedNonTeamMemberLogInfo.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTrustedNonTeamMemberType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTrustedTeamsRequestAction.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTrustedTeamsRequestState.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTwoAccountChangePolicyDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGTwoAccountChangePolicyDetails; @class DBTEAMLOGTwoAccountPolicy; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `TwoAccountChangePolicyDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGTwoAccountChangePolicyDetails : NSObject #pragma mark - Instance fields /// New two account policy. @property (nonatomic, readonly) DBTEAMLOGTwoAccountPolicy *dNewValue; /// Previous two account policy. Might be missing due to historical data gap. @property (nonatomic, readonly, nullable) DBTEAMLOGTwoAccountPolicy *previousValue; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param dNewValue New two account policy. /// @param previousValue Previous two account policy. Might be missing due to /// historical data gap. /// /// @return An initialized instance. /// - (instancetype)initWithDNewValue:(DBTEAMLOGTwoAccountPolicy *)dNewValue previousValue:(nullable DBTEAMLOGTwoAccountPolicy *)previousValue; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param dNewValue New two account policy. /// /// @return An initialized instance. /// - (instancetype)initWithDNewValue:(DBTEAMLOGTwoAccountPolicy *)dNewValue; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `TwoAccountChangePolicyDetails` struct. /// @interface DBTEAMLOGTwoAccountChangePolicyDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGTwoAccountChangePolicyDetails` instances. /// /// @param instance An instance of the `DBTEAMLOGTwoAccountChangePolicyDetails` /// API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGTwoAccountChangePolicyDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGTwoAccountChangePolicyDetails *)instance; /// /// Deserializes `DBTEAMLOGTwoAccountChangePolicyDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGTwoAccountChangePolicyDetails` API object. /// /// @return An instantiation of the `DBTEAMLOGTwoAccountChangePolicyDetails` /// object. /// + (DBTEAMLOGTwoAccountChangePolicyDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTwoAccountChangePolicyType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTwoAccountPolicy.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGTwoAccountPolicy; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `TwoAccountPolicy` union. /// /// Policy for pairing personal account to work account /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMLOGTwoAccountPolicy : NSObject #pragma mark - Instance fields /// The `DBTEAMLOGTwoAccountPolicyTag` enum type represents the possible tag /// states with which the `DBTEAMLOGTwoAccountPolicy` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGTwoAccountPolicyTag){ /// (no description). DBTEAMLOGTwoAccountPolicyDisabled, /// (no description). DBTEAMLOGTwoAccountPolicyEnabled, /// (no description). DBTEAMLOGTwoAccountPolicyOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMLOGTwoAccountPolicyTag 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 `DBTEAMLOGTwoAccountPolicy` union. /// @interface DBTEAMLOGTwoAccountPolicySerializer : NSObject /// /// Serializes `DBTEAMLOGTwoAccountPolicy` instances. /// /// @param instance An instance of the `DBTEAMLOGTwoAccountPolicy` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGTwoAccountPolicy` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGTwoAccountPolicy *)instance; /// /// Deserializes `DBTEAMLOGTwoAccountPolicy` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGTwoAccountPolicy` API object. /// /// @return An instantiation of the `DBTEAMLOGTwoAccountPolicy` object. /// + (DBTEAMLOGTwoAccountPolicy *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGUndoNamingConventionDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGUndoNamingConventionType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGUndoOrganizeFolderWithTidyDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGUndoOrganizeFolderWithTidyType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGUserLinkedAppLogInfo.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" #import "DBTEAMLOGAppLogInfo.h" @class DBTEAMLOGUserLinkedAppLogInfo; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `UserLinkedAppLogInfo` struct. /// /// User linked app /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMLOGUserLinkedAppLogInfo : DBTEAMLOGAppLogInfo #pragma mark - Instance fields #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param appId App unique ID. /// @param displayName App display name. /// /// @return An initialized instance. /// - (instancetype)initWithAppId:(nullable NSString *)appId displayName:(nullable NSString *)displayName; /// /// 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 `UserLinkedAppLogInfo` struct. /// @interface DBTEAMLOGUserLinkedAppLogInfoSerializer : NSObject /// /// Serializes `DBTEAMLOGUserLinkedAppLogInfo` instances. /// /// @param instance An instance of the `DBTEAMLOGUserLinkedAppLogInfo` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGUserLinkedAppLogInfo` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGUserLinkedAppLogInfo *)instance; /// /// Deserializes `DBTEAMLOGUserLinkedAppLogInfo` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGUserLinkedAppLogInfo` API object. /// /// @return An instantiation of the `DBTEAMLOGUserLinkedAppLogInfo` object. /// + (DBTEAMLOGUserLinkedAppLogInfo *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGUserLogInfo.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGUserLogInfo; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `UserLogInfo` struct. /// /// User'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 DBTEAMLOGUserLogInfo : NSObject #pragma mark - Instance fields /// User unique ID. @property (nonatomic, readonly, copy, nullable) NSString *accountId; /// User display name. @property (nonatomic, readonly, copy, nullable) NSString *displayName; /// User email address. @property (nonatomic, readonly, copy, nullable) NSString *email; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param accountId User unique ID. /// @param displayName User display name. /// @param email User email address. /// /// @return An initialized instance. /// - (instancetype)initWithAccountId:(nullable NSString *)accountId displayName:(nullable NSString *)displayName email:(nullable NSString *)email; /// /// 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 `UserLogInfo` struct. /// @interface DBTEAMLOGUserLogInfoSerializer : NSObject /// /// Serializes `DBTEAMLOGUserLogInfo` instances. /// /// @param instance An instance of the `DBTEAMLOGUserLogInfo` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGUserLogInfo` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGUserLogInfo *)instance; /// /// Deserializes `DBTEAMLOGUserLogInfo` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGUserLogInfo` API object. /// /// @return An instantiation of the `DBTEAMLOGUserLogInfo` object. /// + (DBTEAMLOGUserLogInfo *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGUserNameLogInfo.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGUserNameLogInfo; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `UserNameLogInfo` struct. /// /// User's name 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 DBTEAMLOGUserNameLogInfo : NSObject #pragma mark - Instance fields /// Given name. @property (nonatomic, readonly, copy) NSString *givenName; /// Surname. @property (nonatomic, readonly, copy) NSString *surname; /// Locale. Might be missing due to historical data gap. @property (nonatomic, readonly, copy, nullable) NSString *locale; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param givenName Given name. /// @param surname Surname. /// @param locale Locale. Might be missing due to historical data gap. /// /// @return An initialized instance. /// - (instancetype)initWithGivenName:(NSString *)givenName surname:(NSString *)surname locale:(nullable NSString *)locale; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param givenName Given name. /// @param surname Surname. /// /// @return An initialized instance. /// - (instancetype)initWithGivenName:(NSString *)givenName surname:(NSString *)surname; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `UserNameLogInfo` struct. /// @interface DBTEAMLOGUserNameLogInfoSerializer : NSObject /// /// Serializes `DBTEAMLOGUserNameLogInfo` instances. /// /// @param instance An instance of the `DBTEAMLOGUserNameLogInfo` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGUserNameLogInfo` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGUserNameLogInfo *)instance; /// /// Deserializes `DBTEAMLOGUserNameLogInfo` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGUserNameLogInfo` API object. /// /// @return An instantiation of the `DBTEAMLOGUserNameLogInfo` object. /// + (DBTEAMLOGUserNameLogInfo *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGUserOrTeamLinkedAppLogInfo.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" #import "DBTEAMLOGAppLogInfo.h" @class DBTEAMLOGUserOrTeamLinkedAppLogInfo; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `UserOrTeamLinkedAppLogInfo` struct. /// /// User or team linked app. Used when linked type is missing due to historical /// data gap. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMLOGUserOrTeamLinkedAppLogInfo : DBTEAMLOGAppLogInfo #pragma mark - Instance fields #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param appId App unique ID. /// @param displayName App display name. /// /// @return An initialized instance. /// - (instancetype)initWithAppId:(nullable NSString *)appId displayName:(nullable NSString *)displayName; /// /// 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 `UserOrTeamLinkedAppLogInfo` struct. /// @interface DBTEAMLOGUserOrTeamLinkedAppLogInfoSerializer : NSObject /// /// Serializes `DBTEAMLOGUserOrTeamLinkedAppLogInfo` instances. /// /// @param instance An instance of the `DBTEAMLOGUserOrTeamLinkedAppLogInfo` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGUserOrTeamLinkedAppLogInfo` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGUserOrTeamLinkedAppLogInfo *)instance; /// /// Deserializes `DBTEAMLOGUserOrTeamLinkedAppLogInfo` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGUserOrTeamLinkedAppLogInfo` API object. /// /// @return An instantiation of the `DBTEAMLOGUserOrTeamLinkedAppLogInfo` /// object. /// + (DBTEAMLOGUserOrTeamLinkedAppLogInfo *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGUserTagsAddedDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGUserTagsAddedType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGUserTagsRemovedDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGUserTagsRemovedType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGViewerInfoPolicyChangedDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGViewerInfoPolicyChangedType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGWatermarkingPolicy.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGWatermarkingPolicyChangedDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGWatermarkingPolicyChangedType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGWebDeviceSessionLogInfo.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGWebSessionLogInfo.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" #import "DBTEAMLOGSessionLogInfo.h" @class DBTEAMLOGWebSessionLogInfo; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `WebSessionLogInfo` struct. /// /// Web session. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMLOGWebSessionLogInfo : DBTEAMLOGSessionLogInfo #pragma mark - Instance fields #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param sessionId Session ID. /// /// @return An initialized instance. /// - (instancetype)initWithSessionId:(nullable NSString *)sessionId; /// /// 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 `WebSessionLogInfo` struct. /// @interface DBTEAMLOGWebSessionLogInfoSerializer : NSObject /// /// Serializes `DBTEAMLOGWebSessionLogInfo` instances. /// /// @param instance An instance of the `DBTEAMLOGWebSessionLogInfo` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGWebSessionLogInfo` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGWebSessionLogInfo *)instance; /// /// Deserializes `DBTEAMLOGWebSessionLogInfo` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGWebSessionLogInfo` API object. /// /// @return An instantiation of the `DBTEAMLOGWebSessionLogInfo` object. /// + (DBTEAMLOGWebSessionLogInfo *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGWebSessionsChangeActiveSessionLimitDetails.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGWebSessionsChangeActiveSessionLimitType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGWebSessionsChangeFixedLengthPolicyDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGWebSessionsChangeFixedLengthPolicyDetails; @class DBTEAMLOGWebSessionsFixedLengthPolicy; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `WebSessionsChangeFixedLengthPolicyDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGWebSessionsChangeFixedLengthPolicyDetails : NSObject #pragma mark - Instance fields /// New session length policy. Might be missing due to historical data gap. @property (nonatomic, readonly, nullable) DBTEAMLOGWebSessionsFixedLengthPolicy *dNewValue; /// Previous session length policy. Might be missing due to historical data gap. @property (nonatomic, readonly, nullable) DBTEAMLOGWebSessionsFixedLengthPolicy *previousValue; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param dNewValue New session length policy. Might be missing due to /// historical data gap. /// @param previousValue Previous session length policy. Might be missing due to /// historical data gap. /// /// @return An initialized instance. /// - (instancetype)initWithDNewValue:(nullable DBTEAMLOGWebSessionsFixedLengthPolicy *)dNewValue previousValue:(nullable DBTEAMLOGWebSessionsFixedLengthPolicy *)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 `WebSessionsChangeFixedLengthPolicyDetails` /// struct. /// @interface DBTEAMLOGWebSessionsChangeFixedLengthPolicyDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGWebSessionsChangeFixedLengthPolicyDetails` instances. /// /// @param instance An instance of the /// `DBTEAMLOGWebSessionsChangeFixedLengthPolicyDetails` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGWebSessionsChangeFixedLengthPolicyDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGWebSessionsChangeFixedLengthPolicyDetails *)instance; /// /// Deserializes `DBTEAMLOGWebSessionsChangeFixedLengthPolicyDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGWebSessionsChangeFixedLengthPolicyDetails` API object. /// /// @return An instantiation of the /// `DBTEAMLOGWebSessionsChangeFixedLengthPolicyDetails` object. /// + (DBTEAMLOGWebSessionsChangeFixedLengthPolicyDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGWebSessionsChangeFixedLengthPolicyType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGWebSessionsChangeIdleLengthPolicyDetails.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGWebSessionsChangeIdleLengthPolicyDetails; @class DBTEAMLOGWebSessionsIdleLengthPolicy; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `WebSessionsChangeIdleLengthPolicyDetails` struct. /// /// 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 /// objects. /// @interface DBTEAMLOGWebSessionsChangeIdleLengthPolicyDetails : NSObject #pragma mark - Instance fields /// New idle length policy. Might be missing due to historical data gap. @property (nonatomic, readonly, nullable) DBTEAMLOGWebSessionsIdleLengthPolicy *dNewValue; /// Previous idle length policy. Might be missing due to historical data gap. @property (nonatomic, readonly, nullable) DBTEAMLOGWebSessionsIdleLengthPolicy *previousValue; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param dNewValue New idle length policy. Might be missing due to historical /// data gap. /// @param previousValue Previous idle length policy. Might be missing due to /// historical data gap. /// /// @return An initialized instance. /// - (instancetype)initWithDNewValue:(nullable DBTEAMLOGWebSessionsIdleLengthPolicy *)dNewValue previousValue:(nullable DBTEAMLOGWebSessionsIdleLengthPolicy *)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 `WebSessionsChangeIdleLengthPolicyDetails` /// struct. /// @interface DBTEAMLOGWebSessionsChangeIdleLengthPolicyDetailsSerializer : NSObject /// /// Serializes `DBTEAMLOGWebSessionsChangeIdleLengthPolicyDetails` instances. /// /// @param instance An instance of the /// `DBTEAMLOGWebSessionsChangeIdleLengthPolicyDetails` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGWebSessionsChangeIdleLengthPolicyDetails` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGWebSessionsChangeIdleLengthPolicyDetails *)instance; /// /// Deserializes `DBTEAMLOGWebSessionsChangeIdleLengthPolicyDetails` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGWebSessionsChangeIdleLengthPolicyDetails` API object. /// /// @return An instantiation of the /// `DBTEAMLOGWebSessionsChangeIdleLengthPolicyDetails` object. /// + (DBTEAMLOGWebSessionsChangeIdleLengthPolicyDetails *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGWebSessionsChangeIdleLengthPolicyType.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGWebSessionsFixedLengthPolicy.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGDurationLogInfo; @class DBTEAMLOGWebSessionsFixedLengthPolicy; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `WebSessionsFixedLengthPolicy` union. /// /// Web sessions fixed length policy. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMLOGWebSessionsFixedLengthPolicy : NSObject #pragma mark - Instance fields /// The `DBTEAMLOGWebSessionsFixedLengthPolicyTag` enum type represents the /// possible tag states with which the `DBTEAMLOGWebSessionsFixedLengthPolicy` /// union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGWebSessionsFixedLengthPolicyTag){ /// Defined fixed session length. DBTEAMLOGWebSessionsFixedLengthPolicyDefined, /// Undefined fixed session length. DBTEAMLOGWebSessionsFixedLengthPolicyUndefined, /// (no description). DBTEAMLOGWebSessionsFixedLengthPolicyOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMLOGWebSessionsFixedLengthPolicyTag tag; /// Defined fixed session length. @note Ensure the `isDefined` method returns /// true before accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) DBTEAMLOGDurationLogInfo *defined; #pragma mark - Constructors /// /// Initializes union class with tag state of "defined". /// /// Description of the "defined" tag state: Defined fixed session length. /// /// @param defined Defined fixed session length. /// /// @return An initialized instance. /// - (instancetype)initWithDefined:(DBTEAMLOGDurationLogInfo *)defined; /// /// Initializes union class with tag state of "undefined". /// /// Description of the "undefined" tag state: Undefined fixed session length. /// /// @return An initialized instance. /// - (instancetype)initWithUndefined; /// /// 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 "defined". /// /// @note Call this method and ensure it returns true before accessing the /// `defined` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value "defined". /// - (BOOL)isDefined; /// /// Retrieves whether the union's current tag state has value "undefined". /// /// @return Whether the union's current tag state has value "undefined". /// - (BOOL)isUndefined; /// /// 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 `DBTEAMLOGWebSessionsFixedLengthPolicy` /// union. /// @interface DBTEAMLOGWebSessionsFixedLengthPolicySerializer : NSObject /// /// Serializes `DBTEAMLOGWebSessionsFixedLengthPolicy` instances. /// /// @param instance An instance of the `DBTEAMLOGWebSessionsFixedLengthPolicy` /// API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGWebSessionsFixedLengthPolicy` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGWebSessionsFixedLengthPolicy *)instance; /// /// Deserializes `DBTEAMLOGWebSessionsFixedLengthPolicy` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGWebSessionsFixedLengthPolicy` API object. /// /// @return An instantiation of the `DBTEAMLOGWebSessionsFixedLengthPolicy` /// object. /// + (DBTEAMLOGWebSessionsFixedLengthPolicy *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGWebSessionsIdleLengthPolicy.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMLOGDurationLogInfo; @class DBTEAMLOGWebSessionsIdleLengthPolicy; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `WebSessionsIdleLengthPolicy` union. /// /// Web sessions idle length policy. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMLOGWebSessionsIdleLengthPolicy : NSObject #pragma mark - Instance fields /// The `DBTEAMLOGWebSessionsIdleLengthPolicyTag` enum type represents the /// possible tag states with which the `DBTEAMLOGWebSessionsIdleLengthPolicy` /// union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGWebSessionsIdleLengthPolicyTag){ /// Defined idle session length. DBTEAMLOGWebSessionsIdleLengthPolicyDefined, /// Undefined idle session length. DBTEAMLOGWebSessionsIdleLengthPolicyUndefined, /// (no description). DBTEAMLOGWebSessionsIdleLengthPolicyOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMLOGWebSessionsIdleLengthPolicyTag tag; /// Defined idle session length. @note Ensure the `isDefined` method returns /// true before accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) DBTEAMLOGDurationLogInfo *defined; #pragma mark - Constructors /// /// Initializes union class with tag state of "defined". /// /// Description of the "defined" tag state: Defined idle session length. /// /// @param defined Defined idle session length. /// /// @return An initialized instance. /// - (instancetype)initWithDefined:(DBTEAMLOGDurationLogInfo *)defined; /// /// Initializes union class with tag state of "undefined". /// /// Description of the "undefined" tag state: Undefined idle session length. /// /// @return An initialized instance. /// - (instancetype)initWithUndefined; /// /// 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 "defined". /// /// @note Call this method and ensure it returns true before accessing the /// `defined` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value "defined". /// - (BOOL)isDefined; /// /// Retrieves whether the union's current tag state has value "undefined". /// /// @return Whether the union's current tag state has value "undefined". /// - (BOOL)isUndefined; /// /// 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 `DBTEAMLOGWebSessionsIdleLengthPolicy` /// union. /// @interface DBTEAMLOGWebSessionsIdleLengthPolicySerializer : NSObject /// /// Serializes `DBTEAMLOGWebSessionsIdleLengthPolicy` instances. /// /// @param instance An instance of the `DBTEAMLOGWebSessionsIdleLengthPolicy` /// API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGWebSessionsIdleLengthPolicy` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMLOGWebSessionsIdleLengthPolicy *)instance; /// /// Deserializes `DBTEAMLOGWebSessionsIdleLengthPolicy` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMLOGWebSessionsIdleLengthPolicy` API object. /// /// @return An instantiation of the `DBTEAMLOGWebSessionsIdleLengthPolicy` /// object. /// + (DBTEAMLOGWebSessionsIdleLengthPolicy *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/DBTeamPoliciesObjects.m ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// /// Arguments, results, and errors for the `TeamPolicies` namespace. #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMPOLICIESCameraUploadsPolicyState.h" #pragma mark - API Object @implementation DBTEAMPOLICIESCameraUploadsPolicyState #pragma mark - Constructors - (instancetype)initWithDisabled { self = [super init]; if (self) { _tag = DBTEAMPOLICIESCameraUploadsPolicyStateDisabled; } return self; } - (instancetype)initWithEnabled { self = [super init]; if (self) { _tag = DBTEAMPOLICIESCameraUploadsPolicyStateEnabled; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBTEAMPOLICIESCameraUploadsPolicyStateOther; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isDisabled { return _tag == DBTEAMPOLICIESCameraUploadsPolicyStateDisabled; } - (BOOL)isEnabled { return _tag == DBTEAMPOLICIESCameraUploadsPolicyStateEnabled; } - (BOOL)isOther { return _tag == DBTEAMPOLICIESCameraUploadsPolicyStateOther; } - (NSString *)tagName { switch (_tag) { case DBTEAMPOLICIESCameraUploadsPolicyStateDisabled: return @"DBTEAMPOLICIESCameraUploadsPolicyStateDisabled"; case DBTEAMPOLICIESCameraUploadsPolicyStateEnabled: return @"DBTEAMPOLICIESCameraUploadsPolicyStateEnabled"; case DBTEAMPOLICIESCameraUploadsPolicyStateOther: return @"DBTEAMPOLICIESCameraUploadsPolicyStateOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMPOLICIESCameraUploadsPolicyStateSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMPOLICIESCameraUploadsPolicyStateSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMPOLICIESCameraUploadsPolicyStateSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 DBTEAMPOLICIESCameraUploadsPolicyStateDisabled: result = prime * result + [[self tagName] hash]; break; case DBTEAMPOLICIESCameraUploadsPolicyStateEnabled: result = prime * result + [[self tagName] hash]; break; case DBTEAMPOLICIESCameraUploadsPolicyStateOther: 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 isEqualToCameraUploadsPolicyState:other]; } - (BOOL)isEqualToCameraUploadsPolicyState:(DBTEAMPOLICIESCameraUploadsPolicyState *)aCameraUploadsPolicyState { if (self == aCameraUploadsPolicyState) { return YES; } if (self.tag != aCameraUploadsPolicyState.tag) { return NO; } switch (_tag) { 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; } @end #pragma mark - Serializer Object @implementation DBTEAMPOLICIESCameraUploadsPolicyStateSerializer + (NSDictionary *)serialize:(DBTEAMPOLICIESCameraUploadsPolicyState *)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; } + (DBTEAMPOLICIESCameraUploadsPolicyState *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"disabled"]) { return [[DBTEAMPOLICIESCameraUploadsPolicyState alloc] initWithDisabled]; } else if ([tag isEqualToString:@"enabled"]) { return [[DBTEAMPOLICIESCameraUploadsPolicyState alloc] initWithEnabled]; } else if ([tag isEqualToString:@"other"]) { return [[DBTEAMPOLICIESCameraUploadsPolicyState alloc] initWithOther]; } else { return [[DBTEAMPOLICIESCameraUploadsPolicyState alloc] initWithOther]; } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMPOLICIESComputerBackupPolicyState.h" #pragma mark - API Object @implementation DBTEAMPOLICIESComputerBackupPolicyState #pragma mark - Constructors - (instancetype)initWithDisabled { self = [super init]; if (self) { _tag = DBTEAMPOLICIESComputerBackupPolicyStateDisabled; } return self; } - (instancetype)initWithEnabled { self = [super init]; if (self) { _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; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isDisabled { return _tag == DBTEAMPOLICIESComputerBackupPolicyStateDisabled; } - (BOOL)isEnabled { return _tag == DBTEAMPOLICIESComputerBackupPolicyStateEnabled; } - (BOOL)isDefault_ { return _tag == DBTEAMPOLICIESComputerBackupPolicyStateDefault_; } - (BOOL)isOther { return _tag == DBTEAMPOLICIESComputerBackupPolicyStateOther; } - (NSString *)tagName { switch (_tag) { 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]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMPOLICIESComputerBackupPolicyStateSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMPOLICIESComputerBackupPolicyStateSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMPOLICIESComputerBackupPolicyStateSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 DBTEAMPOLICIESComputerBackupPolicyStateDisabled: result = prime * result + [[self tagName] hash]; 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToComputerBackupPolicyState:other]; } - (BOOL)isEqualToComputerBackupPolicyState:(DBTEAMPOLICIESComputerBackupPolicyState *)aComputerBackupPolicyState { if (self == aComputerBackupPolicyState) { return YES; } if (self.tag != aComputerBackupPolicyState.tag) { return NO; } switch (_tag) { 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; } @end #pragma mark - Serializer Object @implementation DBTEAMPOLICIESComputerBackupPolicyStateSerializer + (NSDictionary *)serialize:(DBTEAMPOLICIESComputerBackupPolicyState *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; 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; } + (DBTEAMPOLICIESComputerBackupPolicyState *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; 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 { return [[DBTEAMPOLICIESComputerBackupPolicyState alloc] initWithOther]; } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMPOLICIESEmmState.h" #pragma mark - API Object @implementation DBTEAMPOLICIESEmmState #pragma mark - Constructors - (instancetype)initWithDisabled { self = [super init]; if (self) { _tag = DBTEAMPOLICIESEmmStateDisabled; } return self; } - (instancetype)initWithOptional { self = [super init]; if (self) { _tag = DBTEAMPOLICIESEmmStateOptional; } return self; } - (instancetype)initWithRequired { self = [super init]; if (self) { _tag = DBTEAMPOLICIESEmmStateRequired; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBTEAMPOLICIESEmmStateOther; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isDisabled { return _tag == DBTEAMPOLICIESEmmStateDisabled; } - (BOOL)isOptional { return _tag == DBTEAMPOLICIESEmmStateOptional; } - (BOOL)isRequired { return _tag == DBTEAMPOLICIESEmmStateRequired; } - (BOOL)isOther { return _tag == DBTEAMPOLICIESEmmStateOther; } - (NSString *)tagName { switch (_tag) { 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]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMPOLICIESEmmStateSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMPOLICIESEmmStateSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMPOLICIESEmmStateSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 DBTEAMPOLICIESEmmStateDisabled: result = prime * result + [[self tagName] hash]; break; case DBTEAMPOLICIESEmmStateOptional: result = prime * result + [[self tagName] hash]; break; case DBTEAMPOLICIESEmmStateRequired: result = prime * result + [[self tagName] hash]; break; case DBTEAMPOLICIESEmmStateOther: 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 isEqualToEmmState:other]; } - (BOOL)isEqualToEmmState:(DBTEAMPOLICIESEmmState *)anEmmState { if (self == anEmmState) { return YES; } if (self.tag != anEmmState.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]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMPOLICIESEmmStateSerializer + (NSDictionary *)serialize:(DBTEAMPOLICIESEmmState *)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 isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBTEAMPOLICIESEmmState *)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]; } else if ([tag isEqualToString:@"other"]) { return [[DBTEAMPOLICIESEmmState alloc] initWithOther]; } else { return [[DBTEAMPOLICIESEmmState alloc] initWithOther]; } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMPOLICIESExternalDriveBackupPolicyState.h" #pragma mark - API Object @implementation DBTEAMPOLICIESExternalDriveBackupPolicyState #pragma mark - Constructors - (instancetype)initWithDisabled { self = [super init]; if (self) { _tag = DBTEAMPOLICIESExternalDriveBackupPolicyStateDisabled; } return self; } - (instancetype)initWithEnabled { self = [super init]; if (self) { _tag = DBTEAMPOLICIESExternalDriveBackupPolicyStateEnabled; } return self; } - (instancetype)initWithDefault_ { self = [super init]; if (self) { _tag = DBTEAMPOLICIESExternalDriveBackupPolicyStateDefault_; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBTEAMPOLICIESExternalDriveBackupPolicyStateOther; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isDisabled { return _tag == DBTEAMPOLICIESExternalDriveBackupPolicyStateDisabled; } - (BOOL)isEnabled { return _tag == DBTEAMPOLICIESExternalDriveBackupPolicyStateEnabled; } - (BOOL)isDefault_ { return _tag == DBTEAMPOLICIESExternalDriveBackupPolicyStateDefault_; } - (BOOL)isOther { return _tag == DBTEAMPOLICIESExternalDriveBackupPolicyStateOther; } - (NSString *)tagName { switch (_tag) { 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]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMPOLICIESExternalDriveBackupPolicyStateSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMPOLICIESExternalDriveBackupPolicyStateSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMPOLICIESExternalDriveBackupPolicyStateSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 DBTEAMPOLICIESExternalDriveBackupPolicyStateDisabled: result = prime * result + [[self tagName] hash]; break; case DBTEAMPOLICIESExternalDriveBackupPolicyStateEnabled: result = prime * result + [[self tagName] hash]; break; case DBTEAMPOLICIESExternalDriveBackupPolicyStateDefault_: result = prime * result + [[self tagName] hash]; break; case DBTEAMPOLICIESExternalDriveBackupPolicyStateOther: 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 isEqualToExternalDriveBackupPolicyState:other]; } - (BOOL)isEqualToExternalDriveBackupPolicyState: (DBTEAMPOLICIESExternalDriveBackupPolicyState *)anExternalDriveBackupPolicyState { if (self == anExternalDriveBackupPolicyState) { return YES; } if (self.tag != anExternalDriveBackupPolicyState.tag) { return NO; } switch (_tag) { 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; } @end #pragma mark - Serializer Object @implementation DBTEAMPOLICIESExternalDriveBackupPolicyStateSerializer + (NSDictionary *)serialize:(DBTEAMPOLICIESExternalDriveBackupPolicyState *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; 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; } + (DBTEAMPOLICIESExternalDriveBackupPolicyState *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; 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 [[DBTEAMPOLICIESExternalDriveBackupPolicyState alloc] initWithOther]; } else { return [[DBTEAMPOLICIESExternalDriveBackupPolicyState alloc] initWithOther]; } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMPOLICIESFileLockingPolicyState.h" #pragma mark - API Object @implementation DBTEAMPOLICIESFileLockingPolicyState #pragma mark - Constructors - (instancetype)initWithDisabled { self = [super init]; if (self) { _tag = DBTEAMPOLICIESFileLockingPolicyStateDisabled; } return self; } - (instancetype)initWithEnabled { self = [super init]; if (self) { _tag = DBTEAMPOLICIESFileLockingPolicyStateEnabled; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBTEAMPOLICIESFileLockingPolicyStateOther; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isDisabled { return _tag == DBTEAMPOLICIESFileLockingPolicyStateDisabled; } - (BOOL)isEnabled { return _tag == DBTEAMPOLICIESFileLockingPolicyStateEnabled; } - (BOOL)isOther { return _tag == DBTEAMPOLICIESFileLockingPolicyStateOther; } - (NSString *)tagName { switch (_tag) { case DBTEAMPOLICIESFileLockingPolicyStateDisabled: return @"DBTEAMPOLICIESFileLockingPolicyStateDisabled"; case DBTEAMPOLICIESFileLockingPolicyStateEnabled: return @"DBTEAMPOLICIESFileLockingPolicyStateEnabled"; case DBTEAMPOLICIESFileLockingPolicyStateOther: return @"DBTEAMPOLICIESFileLockingPolicyStateOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMPOLICIESFileLockingPolicyStateSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMPOLICIESFileLockingPolicyStateSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMPOLICIESFileLockingPolicyStateSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 DBTEAMPOLICIESFileLockingPolicyStateDisabled: result = prime * result + [[self tagName] hash]; break; case DBTEAMPOLICIESFileLockingPolicyStateEnabled: result = prime * result + [[self tagName] hash]; break; case DBTEAMPOLICIESFileLockingPolicyStateOther: 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 isEqualToFileLockingPolicyState:other]; } - (BOOL)isEqualToFileLockingPolicyState:(DBTEAMPOLICIESFileLockingPolicyState *)aFileLockingPolicyState { if (self == aFileLockingPolicyState) { return YES; } if (self.tag != aFileLockingPolicyState.tag) { return NO; } switch (_tag) { 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; } @end #pragma mark - Serializer Object @implementation DBTEAMPOLICIESFileLockingPolicyStateSerializer + (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 isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBTEAMPOLICIESFileLockingPolicyState *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"disabled"]) { return [[DBTEAMPOLICIESFileLockingPolicyState alloc] initWithDisabled]; } else if ([tag isEqualToString:@"enabled"]) { return [[DBTEAMPOLICIESFileLockingPolicyState alloc] initWithEnabled]; } else if ([tag isEqualToString:@"other"]) { return [[DBTEAMPOLICIESFileLockingPolicyState alloc] initWithOther]; } else { return [[DBTEAMPOLICIESFileLockingPolicyState alloc] initWithOther]; } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMPOLICIESFileProviderMigrationPolicyState.h" #pragma mark - API Object @implementation DBTEAMPOLICIESFileProviderMigrationPolicyState #pragma mark - Constructors - (instancetype)initWithDisabled { self = [super init]; if (self) { _tag = DBTEAMPOLICIESFileProviderMigrationPolicyStateDisabled; } return self; } - (instancetype)initWithEnabled { self = [super init]; if (self) { _tag = DBTEAMPOLICIESFileProviderMigrationPolicyStateEnabled; } return self; } - (instancetype)initWithDefault_ { self = [super init]; if (self) { _tag = DBTEAMPOLICIESFileProviderMigrationPolicyStateDefault_; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBTEAMPOLICIESFileProviderMigrationPolicyStateOther; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isDisabled { return _tag == DBTEAMPOLICIESFileProviderMigrationPolicyStateDisabled; } - (BOOL)isEnabled { return _tag == DBTEAMPOLICIESFileProviderMigrationPolicyStateEnabled; } - (BOOL)isDefault_ { return _tag == DBTEAMPOLICIESFileProviderMigrationPolicyStateDefault_; } - (BOOL)isOther { return _tag == DBTEAMPOLICIESFileProviderMigrationPolicyStateOther; } - (NSString *)tagName { switch (_tag) { 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]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMPOLICIESFileProviderMigrationPolicyStateSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMPOLICIESFileProviderMigrationPolicyStateSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMPOLICIESFileProviderMigrationPolicyStateSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 DBTEAMPOLICIESFileProviderMigrationPolicyStateDisabled: result = prime * result + [[self tagName] hash]; break; case DBTEAMPOLICIESFileProviderMigrationPolicyStateEnabled: result = prime * result + [[self tagName] hash]; break; case DBTEAMPOLICIESFileProviderMigrationPolicyStateDefault_: result = prime * result + [[self tagName] hash]; break; case DBTEAMPOLICIESFileProviderMigrationPolicyStateOther: 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 isEqualToFileProviderMigrationPolicyState:other]; } - (BOOL)isEqualToFileProviderMigrationPolicyState: (DBTEAMPOLICIESFileProviderMigrationPolicyState *)aFileProviderMigrationPolicyState { if (self == aFileProviderMigrationPolicyState) { return YES; } if (self.tag != aFileProviderMigrationPolicyState.tag) { return NO; } switch (_tag) { 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; } @end #pragma mark - Serializer Object @implementation DBTEAMPOLICIESFileProviderMigrationPolicyStateSerializer + (NSDictionary *)serialize:(DBTEAMPOLICIESFileProviderMigrationPolicyState *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; 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; } + (DBTEAMPOLICIESFileProviderMigrationPolicyState *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; 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 [[DBTEAMPOLICIESFileProviderMigrationPolicyState alloc] initWithOther]; } else { return [[DBTEAMPOLICIESFileProviderMigrationPolicyState alloc] initWithOther]; } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMPOLICIESGroupCreation.h" #pragma mark - API Object @implementation DBTEAMPOLICIESGroupCreation #pragma mark - Constructors - (instancetype)initWithAdminsAndMembers { self = [super init]; if (self) { _tag = DBTEAMPOLICIESGroupCreationAdminsAndMembers; } return self; } - (instancetype)initWithAdminsOnly { self = [super init]; if (self) { _tag = DBTEAMPOLICIESGroupCreationAdminsOnly; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isAdminsAndMembers { return _tag == DBTEAMPOLICIESGroupCreationAdminsAndMembers; } - (BOOL)isAdminsOnly { return _tag == DBTEAMPOLICIESGroupCreationAdminsOnly; } - (NSString *)tagName { switch (_tag) { case DBTEAMPOLICIESGroupCreationAdminsAndMembers: return @"DBTEAMPOLICIESGroupCreationAdminsAndMembers"; case DBTEAMPOLICIESGroupCreationAdminsOnly: return @"DBTEAMPOLICIESGroupCreationAdminsOnly"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMPOLICIESGroupCreationSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMPOLICIESGroupCreationSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMPOLICIESGroupCreationSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 DBTEAMPOLICIESGroupCreationAdminsAndMembers: result = prime * result + [[self tagName] hash]; break; case DBTEAMPOLICIESGroupCreationAdminsOnly: 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 isEqualToGroupCreation:other]; } - (BOOL)isEqualToGroupCreation:(DBTEAMPOLICIESGroupCreation *)aGroupCreation { if (self == aGroupCreation) { return YES; } if (self.tag != aGroupCreation.tag) { return NO; } switch (_tag) { case DBTEAMPOLICIESGroupCreationAdminsAndMembers: return [[self tagName] isEqual:[aGroupCreation tagName]]; case DBTEAMPOLICIESGroupCreationAdminsOnly: return [[self tagName] isEqual:[aGroupCreation tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMPOLICIESGroupCreationSerializer + (NSDictionary *)serialize:(DBTEAMPOLICIESGroupCreation *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; 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; } + (DBTEAMPOLICIESGroupCreation *)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]; } 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 "DBTEAMPOLICIESOfficeAddInPolicy.h" #pragma mark - API Object @implementation DBTEAMPOLICIESOfficeAddInPolicy #pragma mark - Constructors - (instancetype)initWithDisabled { self = [super init]; if (self) { _tag = DBTEAMPOLICIESOfficeAddInPolicyDisabled; } return self; } - (instancetype)initWithEnabled { self = [super init]; if (self) { _tag = DBTEAMPOLICIESOfficeAddInPolicyEnabled; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBTEAMPOLICIESOfficeAddInPolicyOther; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isDisabled { return _tag == DBTEAMPOLICIESOfficeAddInPolicyDisabled; } - (BOOL)isEnabled { return _tag == DBTEAMPOLICIESOfficeAddInPolicyEnabled; } - (BOOL)isOther { return _tag == DBTEAMPOLICIESOfficeAddInPolicyOther; } - (NSString *)tagName { switch (_tag) { case DBTEAMPOLICIESOfficeAddInPolicyDisabled: return @"DBTEAMPOLICIESOfficeAddInPolicyDisabled"; case DBTEAMPOLICIESOfficeAddInPolicyEnabled: return @"DBTEAMPOLICIESOfficeAddInPolicyEnabled"; case DBTEAMPOLICIESOfficeAddInPolicyOther: return @"DBTEAMPOLICIESOfficeAddInPolicyOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMPOLICIESOfficeAddInPolicySerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMPOLICIESOfficeAddInPolicySerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMPOLICIESOfficeAddInPolicySerializer serialize:self] description]; } #pragma mark - Copyable method - (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 DBTEAMPOLICIESOfficeAddInPolicyDisabled: result = prime * result + [[self tagName] hash]; break; case DBTEAMPOLICIESOfficeAddInPolicyEnabled: result = prime * result + [[self tagName] hash]; break; case DBTEAMPOLICIESOfficeAddInPolicyOther: 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 isEqualToOfficeAddInPolicy:other]; } - (BOOL)isEqualToOfficeAddInPolicy:(DBTEAMPOLICIESOfficeAddInPolicy *)anOfficeAddInPolicy { if (self == anOfficeAddInPolicy) { return YES; } if (self.tag != anOfficeAddInPolicy.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]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMPOLICIESOfficeAddInPolicySerializer + (NSDictionary *)serialize:(DBTEAMPOLICIESOfficeAddInPolicy *)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; } + (DBTEAMPOLICIESOfficeAddInPolicy *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"disabled"]) { return [[DBTEAMPOLICIESOfficeAddInPolicy alloc] initWithDisabled]; } else if ([tag isEqualToString:@"enabled"]) { return [[DBTEAMPOLICIESOfficeAddInPolicy alloc] initWithEnabled]; } else if ([tag isEqualToString:@"other"]) { return [[DBTEAMPOLICIESOfficeAddInPolicy alloc] initWithOther]; } else { return [[DBTEAMPOLICIESOfficeAddInPolicy alloc] initWithOther]; } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMPOLICIESPaperDefaultFolderPolicy.h" #pragma mark - API Object @implementation DBTEAMPOLICIESPaperDefaultFolderPolicy #pragma mark - Constructors - (instancetype)initWithEveryoneInTeam { self = [super init]; if (self) { _tag = DBTEAMPOLICIESPaperDefaultFolderPolicyEveryoneInTeam; } return self; } - (instancetype)initWithInviteOnly { self = [super init]; if (self) { _tag = DBTEAMPOLICIESPaperDefaultFolderPolicyInviteOnly; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBTEAMPOLICIESPaperDefaultFolderPolicyOther; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isEveryoneInTeam { return _tag == DBTEAMPOLICIESPaperDefaultFolderPolicyEveryoneInTeam; } - (BOOL)isInviteOnly { return _tag == DBTEAMPOLICIESPaperDefaultFolderPolicyInviteOnly; } - (BOOL)isOther { return _tag == DBTEAMPOLICIESPaperDefaultFolderPolicyOther; } - (NSString *)tagName { switch (_tag) { case DBTEAMPOLICIESPaperDefaultFolderPolicyEveryoneInTeam: return @"DBTEAMPOLICIESPaperDefaultFolderPolicyEveryoneInTeam"; case DBTEAMPOLICIESPaperDefaultFolderPolicyInviteOnly: return @"DBTEAMPOLICIESPaperDefaultFolderPolicyInviteOnly"; case DBTEAMPOLICIESPaperDefaultFolderPolicyOther: return @"DBTEAMPOLICIESPaperDefaultFolderPolicyOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMPOLICIESPaperDefaultFolderPolicySerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMPOLICIESPaperDefaultFolderPolicySerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMPOLICIESPaperDefaultFolderPolicySerializer serialize:self] description]; } #pragma mark - Copyable method - (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 DBTEAMPOLICIESPaperDefaultFolderPolicyEveryoneInTeam: result = prime * result + [[self tagName] hash]; break; case DBTEAMPOLICIESPaperDefaultFolderPolicyInviteOnly: result = prime * result + [[self tagName] hash]; break; case DBTEAMPOLICIESPaperDefaultFolderPolicyOther: 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:(DBTEAMPOLICIESPaperDefaultFolderPolicy *)aPaperDefaultFolderPolicy { if (self == aPaperDefaultFolderPolicy) { return YES; } if (self.tag != aPaperDefaultFolderPolicy.tag) { return NO; } switch (_tag) { 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; } @end #pragma mark - Serializer Object @implementation DBTEAMPOLICIESPaperDefaultFolderPolicySerializer + (NSDictionary *)serialize:(DBTEAMPOLICIESPaperDefaultFolderPolicy *)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; } + (DBTEAMPOLICIESPaperDefaultFolderPolicy *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; 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 [[DBTEAMPOLICIESPaperDefaultFolderPolicy alloc] initWithOther]; } else { return [[DBTEAMPOLICIESPaperDefaultFolderPolicy alloc] initWithOther]; } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMPOLICIESPaperDeploymentPolicy.h" #pragma mark - API Object @implementation DBTEAMPOLICIESPaperDeploymentPolicy #pragma mark - Constructors - (instancetype)initWithFull { self = [super init]; if (self) { _tag = DBTEAMPOLICIESPaperDeploymentPolicyFull; } return self; } - (instancetype)initWithPartial { self = [super init]; if (self) { _tag = DBTEAMPOLICIESPaperDeploymentPolicyPartial; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBTEAMPOLICIESPaperDeploymentPolicyOther; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isFull { return _tag == DBTEAMPOLICIESPaperDeploymentPolicyFull; } - (BOOL)isPartial { return _tag == DBTEAMPOLICIESPaperDeploymentPolicyPartial; } - (BOOL)isOther { return _tag == DBTEAMPOLICIESPaperDeploymentPolicyOther; } - (NSString *)tagName { switch (_tag) { case DBTEAMPOLICIESPaperDeploymentPolicyFull: return @"DBTEAMPOLICIESPaperDeploymentPolicyFull"; case DBTEAMPOLICIESPaperDeploymentPolicyPartial: return @"DBTEAMPOLICIESPaperDeploymentPolicyPartial"; case DBTEAMPOLICIESPaperDeploymentPolicyOther: return @"DBTEAMPOLICIESPaperDeploymentPolicyOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMPOLICIESPaperDeploymentPolicySerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMPOLICIESPaperDeploymentPolicySerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMPOLICIESPaperDeploymentPolicySerializer serialize:self] description]; } #pragma mark - Copyable method - (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 DBTEAMPOLICIESPaperDeploymentPolicyFull: result = prime * result + [[self tagName] hash]; break; case DBTEAMPOLICIESPaperDeploymentPolicyPartial: result = prime * result + [[self tagName] hash]; break; case DBTEAMPOLICIESPaperDeploymentPolicyOther: 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 isEqualToPaperDeploymentPolicy:other]; } - (BOOL)isEqualToPaperDeploymentPolicy:(DBTEAMPOLICIESPaperDeploymentPolicy *)aPaperDeploymentPolicy { if (self == aPaperDeploymentPolicy) { return YES; } if (self.tag != aPaperDeploymentPolicy.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]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMPOLICIESPaperDeploymentPolicySerializer + (NSDictionary *)serialize:(DBTEAMPOLICIESPaperDeploymentPolicy *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; 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; } + (DBTEAMPOLICIESPaperDeploymentPolicy *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; 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 [[DBTEAMPOLICIESSmartSyncPolicy alloc] initWithOther]; } else { return [[DBTEAMPOLICIESSmartSyncPolicy alloc] initWithOther]; } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMPOLICIESSmarterSmartSyncPolicyState.h" #pragma mark - API Object @implementation DBTEAMPOLICIESSmarterSmartSyncPolicyState #pragma mark - Constructors - (instancetype)initWithDisabled { self = [super init]; if (self) { _tag = DBTEAMPOLICIESSmarterSmartSyncPolicyStateDisabled; } return self; } - (instancetype)initWithEnabled { self = [super init]; if (self) { _tag = DBTEAMPOLICIESSmarterSmartSyncPolicyStateEnabled; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBTEAMPOLICIESSmarterSmartSyncPolicyStateOther; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isDisabled { return _tag == DBTEAMPOLICIESSmarterSmartSyncPolicyStateDisabled; } - (BOOL)isEnabled { return _tag == DBTEAMPOLICIESSmarterSmartSyncPolicyStateEnabled; } - (BOOL)isOther { return _tag == DBTEAMPOLICIESSmarterSmartSyncPolicyStateOther; } - (NSString *)tagName { switch (_tag) { case DBTEAMPOLICIESSmarterSmartSyncPolicyStateDisabled: return @"DBTEAMPOLICIESSmarterSmartSyncPolicyStateDisabled"; case DBTEAMPOLICIESSmarterSmartSyncPolicyStateEnabled: return @"DBTEAMPOLICIESSmarterSmartSyncPolicyStateEnabled"; case DBTEAMPOLICIESSmarterSmartSyncPolicyStateOther: return @"DBTEAMPOLICIESSmarterSmartSyncPolicyStateOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMPOLICIESSmarterSmartSyncPolicyStateSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMPOLICIESSmarterSmartSyncPolicyStateSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMPOLICIESSmarterSmartSyncPolicyStateSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 DBTEAMPOLICIESSmarterSmartSyncPolicyStateDisabled: result = prime * result + [[self tagName] hash]; break; case DBTEAMPOLICIESSmarterSmartSyncPolicyStateEnabled: result = prime * result + [[self tagName] hash]; break; case DBTEAMPOLICIESSmarterSmartSyncPolicyStateOther: 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 isEqualToSmarterSmartSyncPolicyState:other]; } - (BOOL)isEqualToSmarterSmartSyncPolicyState:(DBTEAMPOLICIESSmarterSmartSyncPolicyState *)aSmarterSmartSyncPolicyState { if (self == aSmarterSmartSyncPolicyState) { return YES; } 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 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; } @end #pragma mark - Serializer Object @implementation DBTEAMPOLICIESSsoPolicySerializer + (NSDictionary *)serialize:(DBTEAMPOLICIESSsoPolicy *)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 isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBTEAMPOLICIESSsoPolicy *)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]; } else if ([tag isEqualToString:@"other"]) { return [[DBTEAMPOLICIESSsoPolicy alloc] initWithOther]; } else { return [[DBTEAMPOLICIESSsoPolicy alloc] initWithOther]; } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMPOLICIESSuggestMembersPolicy.h" #pragma mark - API Object @implementation DBTEAMPOLICIESSuggestMembersPolicy #pragma mark - Constructors - (instancetype)initWithDisabled { self = [super init]; if (self) { _tag = DBTEAMPOLICIESSuggestMembersPolicyDisabled; } return self; } - (instancetype)initWithEnabled { self = [super init]; if (self) { _tag = DBTEAMPOLICIESSuggestMembersPolicyEnabled; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBTEAMPOLICIESSuggestMembersPolicyOther; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isDisabled { return _tag == DBTEAMPOLICIESSuggestMembersPolicyDisabled; } - (BOOL)isEnabled { return _tag == DBTEAMPOLICIESSuggestMembersPolicyEnabled; } - (BOOL)isOther { return _tag == DBTEAMPOLICIESSuggestMembersPolicyOther; } - (NSString *)tagName { switch (_tag) { case DBTEAMPOLICIESSuggestMembersPolicyDisabled: return @"DBTEAMPOLICIESSuggestMembersPolicyDisabled"; case DBTEAMPOLICIESSuggestMembersPolicyEnabled: return @"DBTEAMPOLICIESSuggestMembersPolicyEnabled"; case DBTEAMPOLICIESSuggestMembersPolicyOther: return @"DBTEAMPOLICIESSuggestMembersPolicyOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMPOLICIESSuggestMembersPolicySerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMPOLICIESSuggestMembersPolicySerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMPOLICIESSuggestMembersPolicySerializer serialize:self] description]; } #pragma mark - Copyable method - (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 DBTEAMPOLICIESSuggestMembersPolicyDisabled: result = prime * result + [[self tagName] hash]; break; case DBTEAMPOLICIESSuggestMembersPolicyEnabled: result = prime * result + [[self tagName] hash]; break; case DBTEAMPOLICIESSuggestMembersPolicyOther: 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 isEqualToSuggestMembersPolicy:other]; } - (BOOL)isEqualToSuggestMembersPolicy:(DBTEAMPOLICIESSuggestMembersPolicy *)aSuggestMembersPolicy { if (self == aSuggestMembersPolicy) { return YES; } if (self.tag != aSuggestMembersPolicy.tag) { return NO; } switch (_tag) { 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; } @end #pragma mark - Serializer Object @implementation DBTEAMPOLICIESSuggestMembersPolicySerializer + (NSDictionary *)serialize:(DBTEAMPOLICIESSuggestMembersPolicy *)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; } + (DBTEAMPOLICIESSuggestMembersPolicy *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"disabled"]) { return [[DBTEAMPOLICIESSuggestMembersPolicy alloc] initWithDisabled]; } else if ([tag isEqualToString:@"enabled"]) { return [[DBTEAMPOLICIESSuggestMembersPolicy alloc] initWithEnabled]; } else if ([tag isEqualToString:@"other"]) { return [[DBTEAMPOLICIESSuggestMembersPolicy alloc] initWithOther]; } else { return [[DBTEAMPOLICIESSuggestMembersPolicy alloc] initWithOther]; } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMPOLICIESEmmState.h" #import "DBTEAMPOLICIESOfficeAddInPolicy.h" #import "DBTEAMPOLICIESSuggestMembersPolicy.h" #import "DBTEAMPOLICIESTeamMemberPolicies.h" #import "DBTEAMPOLICIESTeamSharingPolicies.h" #pragma mark - API Object @implementation DBTEAMPOLICIESTeamMemberPolicies #pragma mark - Constructors - (instancetype)initWithSharing:(DBTEAMPOLICIESTeamSharingPolicies *)sharing emmState:(DBTEAMPOLICIESEmmState *)emmState 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 { return [DBTEAMPOLICIESTeamMemberPoliciesSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMPOLICIESTeamMemberPoliciesSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMPOLICIESTeamMemberPoliciesSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToTeamMemberPolicies:other]; } - (BOOL)isEqualToTeamMemberPolicies:(DBTEAMPOLICIESTeamMemberPolicies *)aTeamMemberPolicies { if (self == aTeamMemberPolicies) { return YES; } if (![self.sharing isEqual:aTeamMemberPolicies.sharing]) { return NO; } if (![self.emmState isEqual:aTeamMemberPolicies.emmState]) { return NO; } if (![self.officeAddin isEqual:aTeamMemberPolicies.officeAddin]) { return NO; } if (![self.suggestMembersPolicy isEqual:aTeamMemberPolicies.suggestMembersPolicy]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMPOLICIESTeamMemberPoliciesSerializer + (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; } + (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 suggestMembersPolicy:suggestMembersPolicy]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMPOLICIESGroupCreation.h" #import "DBTEAMPOLICIESSharedFolderBlanketLinkRestrictionPolicy.h" #import "DBTEAMPOLICIESSharedFolderJoinPolicy.h" #import "DBTEAMPOLICIESSharedFolderMemberPolicy.h" #import "DBTEAMPOLICIESSharedLinkCreatePolicy.h" #import "DBTEAMPOLICIESTeamSharingPolicies.h" #pragma mark - API Object @implementation DBTEAMPOLICIESTeamSharingPolicies #pragma mark - Constructors - (instancetype)initWithSharedFolderMemberPolicy:(DBTEAMPOLICIESSharedFolderMemberPolicy *)sharedFolderMemberPolicy sharedFolderJoinPolicy:(DBTEAMPOLICIESSharedFolderJoinPolicy *)sharedFolderJoinPolicy 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 { return [DBTEAMPOLICIESTeamSharingPoliciesSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMPOLICIESTeamSharingPoliciesSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMPOLICIESTeamSharingPoliciesSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToTeamSharingPolicies:other]; } - (BOOL)isEqualToTeamSharingPolicies:(DBTEAMPOLICIESTeamSharingPolicies *)aTeamSharingPolicies { if (self == aTeamSharingPolicies) { return YES; } if (![self.sharedFolderMemberPolicy isEqual:aTeamSharingPolicies.sharedFolderMemberPolicy]) { return NO; } if (![self.sharedFolderJoinPolicy isEqual:aTeamSharingPolicies.sharedFolderJoinPolicy]) { return NO; } 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; } @end #pragma mark - Serializer Object @implementation DBTEAMPOLICIESTeamSharingPoliciesSerializer + (NSDictionary *)serialize:(DBTEAMPOLICIESTeamSharingPolicies *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"shared_folder_member_policy"] = [DBTEAMPOLICIESSharedFolderMemberPolicySerializer serialize:valueObj.sharedFolderMemberPolicy]; jsonDict[@"shared_folder_join_policy"] = [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; } + (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 groupCreationPolicy:groupCreationPolicy sharedFolderLinkRestrictionPolicy:sharedFolderLinkRestrictionPolicy]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMPOLICIESTwoStepVerificationPolicy.h" #pragma mark - API Object @implementation DBTEAMPOLICIESTwoStepVerificationPolicy #pragma mark - Constructors - (instancetype)initWithRequireTfaEnable { self = [super init]; if (self) { _tag = DBTEAMPOLICIESTwoStepVerificationPolicyRequireTfaEnable; } return self; } - (instancetype)initWithRequireTfaDisable { self = [super init]; if (self) { _tag = DBTEAMPOLICIESTwoStepVerificationPolicyRequireTfaDisable; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBTEAMPOLICIESTwoStepVerificationPolicyOther; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isRequireTfaEnable { return _tag == DBTEAMPOLICIESTwoStepVerificationPolicyRequireTfaEnable; } - (BOOL)isRequireTfaDisable { return _tag == DBTEAMPOLICIESTwoStepVerificationPolicyRequireTfaDisable; } - (BOOL)isOther { return _tag == DBTEAMPOLICIESTwoStepVerificationPolicyOther; } - (NSString *)tagName { switch (_tag) { case DBTEAMPOLICIESTwoStepVerificationPolicyRequireTfaEnable: return @"DBTEAMPOLICIESTwoStepVerificationPolicyRequireTfaEnable"; case DBTEAMPOLICIESTwoStepVerificationPolicyRequireTfaDisable: return @"DBTEAMPOLICIESTwoStepVerificationPolicyRequireTfaDisable"; case DBTEAMPOLICIESTwoStepVerificationPolicyOther: return @"DBTEAMPOLICIESTwoStepVerificationPolicyOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMPOLICIESTwoStepVerificationPolicySerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBTEAMPOLICIESTwoStepVerificationPolicySerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBTEAMPOLICIESTwoStepVerificationPolicySerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToTwoStepVerificationPolicy:other]; } - (BOOL)isEqualToTwoStepVerificationPolicy:(DBTEAMPOLICIESTwoStepVerificationPolicy *)aTwoStepVerificationPolicy { if (self == aTwoStepVerificationPolicy) { return YES; } if (self.tag != aTwoStepVerificationPolicy.tag) { return NO; } switch (_tag) { case DBTEAMPOLICIESTwoStepVerificationPolicyRequireTfaEnable: return [[self tagName] isEqual:[aTwoStepVerificationPolicy tagName]]; case DBTEAMPOLICIESTwoStepVerificationPolicyRequireTfaDisable: return [[self tagName] isEqual:[aTwoStepVerificationPolicy tagName]]; case DBTEAMPOLICIESTwoStepVerificationPolicyOther: return [[self tagName] isEqual:[aTwoStepVerificationPolicy tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBTEAMPOLICIESTwoStepVerificationPolicySerializer + (NSDictionary *)serialize:(DBTEAMPOLICIESTwoStepVerificationPolicy *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isRequireTfaEnable]) { jsonDict[@".tag"] = @"require_tfa_enable"; } else if ([valueObj isRequireTfaDisable]) { jsonDict[@".tag"] = @"require_tfa_disable"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBTEAMPOLICIESTwoStepVerificationPolicy *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"require_tfa_enable"]) { return [[DBTEAMPOLICIESTwoStepVerificationPolicy alloc] initWithRequireTfaEnable]; } else if ([tag isEqualToString:@"require_tfa_disable"]) { return [[DBTEAMPOLICIESTwoStepVerificationPolicy alloc] initWithRequireTfaDisable]; } else if ([tag isEqualToString:@"other"]) { return [[DBTEAMPOLICIESTwoStepVerificationPolicy alloc] initWithOther]; } else { return [[DBTEAMPOLICIESTwoStepVerificationPolicy alloc] initWithOther]; } } @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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESCameraUploadsPolicyState.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESComputerBackupPolicyState.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESEmmState.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMPOLICIESEmmState; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `EmmState` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMPOLICIESEmmState : NSObject #pragma mark - Instance fields /// The `DBTEAMPOLICIESEmmStateTag` enum type represents the possible tag states /// with which the `DBTEAMPOLICIESEmmState` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBTEAMPOLICIESEmmStateTag){ /// Emm token is disabled. DBTEAMPOLICIESEmmStateDisabled, /// Emm token is optional. DBTEAMPOLICIESEmmStateOptional, /// Emm token is required. DBTEAMPOLICIESEmmStateRequired, /// (no description). DBTEAMPOLICIESEmmStateOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMPOLICIESEmmStateTag tag; #pragma mark - Constructors /// /// Initializes union class with tag state of "disabled". /// /// Description of the "disabled" tag state: Emm token is disabled. /// /// @return An initialized instance. /// - (instancetype)initWithDisabled; /// /// Initializes union class with tag state of "optional". /// /// Description of the "optional" tag state: Emm token is optional. /// /// @return An initialized instance. /// - (instancetype)initWithOptional; /// /// Initializes union class with tag state of "required". /// /// Description of the "required" tag state: Emm token is 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 "disabled". /// /// @return Whether the union's current tag state has value "disabled". /// - (BOOL)isDisabled; /// /// 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 `DBTEAMPOLICIESEmmState` union. /// @interface DBTEAMPOLICIESEmmStateSerializer : NSObject /// /// Serializes `DBTEAMPOLICIESEmmState` instances. /// /// @param instance An instance of the `DBTEAMPOLICIESEmmState` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMPOLICIESEmmState` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMPOLICIESEmmState *)instance; /// /// Deserializes `DBTEAMPOLICIESEmmState` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMPOLICIESEmmState` API object. /// /// @return An instantiation of the `DBTEAMPOLICIESEmmState` object. /// + (DBTEAMPOLICIESEmmState *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESExternalDriveBackupPolicyState.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESFileLockingPolicyState.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESFileProviderMigrationPolicyState.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESGroupCreation.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMPOLICIESGroupCreation; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `GroupCreation` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMPOLICIESGroupCreation : NSObject #pragma mark - Instance fields /// The `DBTEAMPOLICIESGroupCreationTag` enum type represents the possible tag /// states with which the `DBTEAMPOLICIESGroupCreation` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBTEAMPOLICIESGroupCreationTag){ /// Team admins and members can create groups. DBTEAMPOLICIESGroupCreationAdminsAndMembers, /// Only team admins can create groups. DBTEAMPOLICIESGroupCreationAdminsOnly, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMPOLICIESGroupCreationTag tag; #pragma mark - Constructors /// /// Initializes union class with tag state of "admins_and_members". /// /// Description of the "admins_and_members" tag state: Team admins and members /// can create groups. /// /// @return An initialized instance. /// - (instancetype)initWithAdminsAndMembers; /// /// Initializes union class with tag state of "admins_only". /// /// Description of the "admins_only" tag state: Only team admins can create /// groups. /// /// @return An initialized instance. /// - (instancetype)initWithAdminsOnly; - (instancetype)init NS_UNAVAILABLE; #pragma mark - Tag state methods /// /// Retrieves whether the union's current tag state has value /// "admins_and_members". /// /// @return Whether the union's current tag state has value /// "admins_and_members". /// - (BOOL)isAdminsAndMembers; /// /// 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 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 `DBTEAMPOLICIESGroupCreation` union. /// @interface DBTEAMPOLICIESGroupCreationSerializer : NSObject /// /// Serializes `DBTEAMPOLICIESGroupCreation` instances. /// /// @param instance An instance of the `DBTEAMPOLICIESGroupCreation` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMPOLICIESGroupCreation` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMPOLICIESGroupCreation *)instance; /// /// Deserializes `DBTEAMPOLICIESGroupCreation` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMPOLICIESGroupCreation` API object. /// /// @return An instantiation of the `DBTEAMPOLICIESGroupCreation` object. /// + (DBTEAMPOLICIESGroupCreation *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESOfficeAddInPolicy.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMPOLICIESOfficeAddInPolicy; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `OfficeAddInPolicy` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMPOLICIESOfficeAddInPolicy : NSObject #pragma mark - Instance fields /// The `DBTEAMPOLICIESOfficeAddInPolicyTag` enum type represents the possible /// tag states with which the `DBTEAMPOLICIESOfficeAddInPolicy` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBTEAMPOLICIESOfficeAddInPolicyTag){ /// Office Add-In is disabled. DBTEAMPOLICIESOfficeAddInPolicyDisabled, /// Office Add-In is enabled. DBTEAMPOLICIESOfficeAddInPolicyEnabled, /// (no description). DBTEAMPOLICIESOfficeAddInPolicyOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMPOLICIESOfficeAddInPolicyTag tag; #pragma mark - Constructors /// /// Initializes union class with tag state of "disabled". /// /// Description of the "disabled" tag state: Office Add-In is disabled. /// /// @return An initialized instance. /// - (instancetype)initWithDisabled; /// /// Initializes union class with tag state of "enabled". /// /// Description of the "enabled" tag state: Office Add-In 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 `DBTEAMPOLICIESOfficeAddInPolicy` union. /// @interface DBTEAMPOLICIESOfficeAddInPolicySerializer : NSObject /// /// Serializes `DBTEAMPOLICIESOfficeAddInPolicy` instances. /// /// @param instance An instance of the `DBTEAMPOLICIESOfficeAddInPolicy` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMPOLICIESOfficeAddInPolicy` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMPOLICIESOfficeAddInPolicy *)instance; /// /// Deserializes `DBTEAMPOLICIESOfficeAddInPolicy` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMPOLICIESOfficeAddInPolicy` API object. /// /// @return An instantiation of the `DBTEAMPOLICIESOfficeAddInPolicy` object. /// + (DBTEAMPOLICIESOfficeAddInPolicy *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESPaperDefaultFolderPolicy.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESPaperDeploymentPolicy.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMPOLICIESPaperDeploymentPolicy; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `PaperDeploymentPolicy` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMPOLICIESPaperDeploymentPolicy : NSObject #pragma mark - Instance fields /// The `DBTEAMPOLICIESPaperDeploymentPolicyTag` enum type represents the /// possible tag states with which the `DBTEAMPOLICIESPaperDeploymentPolicy` /// union can exist. 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, /// (no description). DBTEAMPOLICIESPaperDeploymentPolicyOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMPOLICIESPaperDeploymentPolicyTag tag; #pragma mark - Constructors /// /// Initializes union class with tag state of "full". /// /// Description of the "full" tag state: All team members have access to Paper. /// /// @return An initialized instance. /// - (instancetype)initWithFull; /// /// Initializes union class with tag state of "partial". /// /// Description of the "partial" tag state: Only whitelisted team members can /// access Paper. To see which user is whitelisted, check 'is_paper_whitelisted' /// on 'account/info'. /// /// @return An initialized instance. /// - (instancetype)initWithPartial; /// /// 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 "full". /// /// @return Whether the union's current tag state has value "full". /// - (BOOL)isFull; /// /// Retrieves whether the union's current tag state has value "partial". /// /// @return Whether the union's current tag state has value "partial". /// - (BOOL)isPartial; /// /// 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 `DBTEAMPOLICIESPaperDeploymentPolicy` union. /// @interface DBTEAMPOLICIESPaperDeploymentPolicySerializer : NSObject /// /// Serializes `DBTEAMPOLICIESPaperDeploymentPolicy` instances. /// /// @param instance An instance of the `DBTEAMPOLICIESPaperDeploymentPolicy` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMPOLICIESPaperDeploymentPolicy` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMPOLICIESPaperDeploymentPolicy *)instance; /// /// Deserializes `DBTEAMPOLICIESPaperDeploymentPolicy` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMPOLICIESPaperDeploymentPolicy` API object. /// /// @return An instantiation of the `DBTEAMPOLICIESPaperDeploymentPolicy` /// object. /// + (DBTEAMPOLICIESPaperDeploymentPolicy *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESPaperDesktopPolicy.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESPaperEnabledPolicy.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMPOLICIESPaperEnabledPolicy; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `PaperEnabledPolicy` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMPOLICIESPaperEnabledPolicy : NSObject #pragma mark - Instance fields /// The `DBTEAMPOLICIESPaperEnabledPolicyTag` enum type represents the possible /// tag states with which the `DBTEAMPOLICIESPaperEnabledPolicy` union can /// exist. typedef NS_CLOSED_ENUM(NSInteger, DBTEAMPOLICIESPaperEnabledPolicyTag){ /// Paper is disabled. DBTEAMPOLICIESPaperEnabledPolicyDisabled, /// Paper is enabled. DBTEAMPOLICIESPaperEnabledPolicyEnabled, /// Unspecified policy. DBTEAMPOLICIESPaperEnabledPolicyUnspecified, /// (no description). DBTEAMPOLICIESPaperEnabledPolicyOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMPOLICIESPaperEnabledPolicyTag tag; #pragma mark - Constructors /// /// Initializes union class with tag state of "disabled". /// /// Description of the "disabled" tag state: Paper is disabled. /// /// @return An initialized instance. /// - (instancetype)initWithDisabled; /// /// Initializes union class with tag state of "enabled". /// /// Description of the "enabled" tag state: Paper is enabled. /// /// @return An initialized instance. /// - (instancetype)initWithEnabled; /// /// Initializes union class with tag state of "unspecified". /// /// Description of the "unspecified" tag state: Unspecified policy. /// /// @return An initialized instance. /// - (instancetype)initWithUnspecified; /// /// 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 "unspecified". /// /// @return Whether the union's current tag state has value "unspecified". /// - (BOOL)isUnspecified; /// /// 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 `DBTEAMPOLICIESPaperEnabledPolicy` union. /// @interface DBTEAMPOLICIESPaperEnabledPolicySerializer : NSObject /// /// Serializes `DBTEAMPOLICIESPaperEnabledPolicy` instances. /// /// @param instance An instance of the `DBTEAMPOLICIESPaperEnabledPolicy` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMPOLICIESPaperEnabledPolicy` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMPOLICIESPaperEnabledPolicy *)instance; /// /// Deserializes `DBTEAMPOLICIESPaperEnabledPolicy` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMPOLICIESPaperEnabledPolicy` API object. /// /// @return An instantiation of the `DBTEAMPOLICIESPaperEnabledPolicy` object. /// + (DBTEAMPOLICIESPaperEnabledPolicy *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESPasswordControlMode.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESPasswordStrengthPolicy.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMPOLICIESPasswordStrengthPolicy; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `PasswordStrengthPolicy` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMPOLICIESPasswordStrengthPolicy : NSObject #pragma mark - Instance fields /// The `DBTEAMPOLICIESPasswordStrengthPolicyTag` enum type represents the /// possible tag states with which the `DBTEAMPOLICIESPasswordStrengthPolicy` /// union can exist. 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 very strong password strength policy. DBTEAMPOLICIESPasswordStrengthPolicyStrongPassword, /// (no description). DBTEAMPOLICIESPasswordStrengthPolicyOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMPOLICIESPasswordStrengthPolicyTag tag; #pragma mark - Constructors /// /// Initializes union class with tag state of "minimal_requirements". /// /// Description of the "minimal_requirements" tag state: User passwords will /// adhere to the minimal password strength policy. /// /// @return An initialized instance. /// - (instancetype)initWithMinimalRequirements; /// /// Initializes union class with tag state of "moderate_password". /// /// Description of the "moderate_password" tag state: User passwords will adhere /// to the moderate password strength policy. /// /// @return An initialized instance. /// - (instancetype)initWithModeratePassword; /// /// Initializes union class with tag state of "strong_password". /// /// Description of the "strong_password" tag state: User passwords will adhere /// to the very strong password strength policy. /// /// @return An initialized instance. /// - (instancetype)initWithStrongPassword; /// /// 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 /// "minimal_requirements". /// /// @return Whether the union's current tag state has value /// "minimal_requirements". /// - (BOOL)isMinimalRequirements; /// /// Retrieves whether the union's current tag state has value /// "moderate_password". /// /// @return Whether the union's current tag state has value "moderate_password". /// - (BOOL)isModeratePassword; /// /// Retrieves whether the union's current tag state has value "strong_password". /// /// @return Whether the union's current tag state has value "strong_password". /// - (BOOL)isStrongPassword; /// /// 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 `DBTEAMPOLICIESPasswordStrengthPolicy` /// union. /// @interface DBTEAMPOLICIESPasswordStrengthPolicySerializer : NSObject /// /// Serializes `DBTEAMPOLICIESPasswordStrengthPolicy` instances. /// /// @param instance An instance of the `DBTEAMPOLICIESPasswordStrengthPolicy` /// API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMPOLICIESPasswordStrengthPolicy` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMPOLICIESPasswordStrengthPolicy *)instance; /// /// Deserializes `DBTEAMPOLICIESPasswordStrengthPolicy` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMPOLICIESPasswordStrengthPolicy` API object. /// /// @return An instantiation of the `DBTEAMPOLICIESPasswordStrengthPolicy` /// object. /// + (DBTEAMPOLICIESPasswordStrengthPolicy *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESRolloutMethod.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMPOLICIESRolloutMethod; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `RolloutMethod` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMPOLICIESRolloutMethod : NSObject #pragma mark - Instance fields /// The `DBTEAMPOLICIESRolloutMethodTag` enum type represents the possible tag /// states with which the `DBTEAMPOLICIESRolloutMethod` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBTEAMPOLICIESRolloutMethodTag){ /// Unlink all. DBTEAMPOLICIESRolloutMethodUnlinkAll, /// Unlink devices with the most inactivity. DBTEAMPOLICIESRolloutMethodUnlinkMostInactive, /// Add member to Exceptions. DBTEAMPOLICIESRolloutMethodAddMemberToExceptions, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMPOLICIESRolloutMethodTag tag; #pragma mark - Constructors /// /// Initializes union class with tag state of "unlink_all". /// /// Description of the "unlink_all" tag state: Unlink all. /// /// @return An initialized instance. /// - (instancetype)initWithUnlinkAll; /// /// Initializes union class with tag state of "unlink_most_inactive". /// /// Description of the "unlink_most_inactive" tag state: Unlink devices with the /// most inactivity. /// /// @return An initialized instance. /// - (instancetype)initWithUnlinkMostInactive; /// /// Initializes union class with tag state of "add_member_to_exceptions". /// /// Description of the "add_member_to_exceptions" tag state: Add member to /// Exceptions. /// /// @return An initialized instance. /// - (instancetype)initWithAddMemberToExceptions; - (instancetype)init NS_UNAVAILABLE; #pragma mark - Tag state methods /// /// Retrieves whether the union's current tag state has value "unlink_all". /// /// @return Whether the union's current tag state has value "unlink_all". /// - (BOOL)isUnlinkAll; /// /// Retrieves whether the union's current tag state has value /// "unlink_most_inactive". /// /// @return Whether the union's current tag state has value /// "unlink_most_inactive". /// - (BOOL)isUnlinkMostInactive; /// /// Retrieves whether the union's current tag state has value /// "add_member_to_exceptions". /// /// @return Whether the union's current tag state has value /// "add_member_to_exceptions". /// - (BOOL)isAddMemberToExceptions; /// /// 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 `DBTEAMPOLICIESRolloutMethod` union. /// @interface DBTEAMPOLICIESRolloutMethodSerializer : NSObject /// /// Serializes `DBTEAMPOLICIESRolloutMethod` instances. /// /// @param instance An instance of the `DBTEAMPOLICIESRolloutMethod` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMPOLICIESRolloutMethod` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMPOLICIESRolloutMethod *)instance; /// /// Deserializes `DBTEAMPOLICIESRolloutMethod` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMPOLICIESRolloutMethod` API object. /// /// @return An instantiation of the `DBTEAMPOLICIESRolloutMethod` object. /// + (DBTEAMPOLICIESRolloutMethod *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESSharedFolderBlanketLinkRestrictionPolicy.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESSharedFolderJoinPolicy.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMPOLICIESSharedFolderJoinPolicy; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `SharedFolderJoinPolicy` union. /// /// Policy governing which shared folders a team member can join. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMPOLICIESSharedFolderJoinPolicy : NSObject #pragma mark - Instance fields /// The `DBTEAMPOLICIESSharedFolderJoinPolicyTag` enum type represents the /// possible tag states with which the `DBTEAMPOLICIESSharedFolderJoinPolicy` /// union can exist. 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, /// (no description). DBTEAMPOLICIESSharedFolderJoinPolicyOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMPOLICIESSharedFolderJoinPolicyTag tag; #pragma mark - Constructors /// /// Initializes union class with tag state of "from_team_only". /// /// Description of the "from_team_only" tag state: Team members can only join /// folders shared by teammates. /// /// @return An initialized instance. /// - (instancetype)initWithFromTeamOnly; /// /// Initializes union class with tag state of "from_anyone". /// /// Description of the "from_anyone" tag state: Team members can join any shared /// folder, including those shared by users outside the team. /// /// @return An initialized instance. /// - (instancetype)initWithFromAnyone; /// /// 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 "from_team_only". /// /// @return Whether the union's current tag state has value "from_team_only". /// - (BOOL)isFromTeamOnly; /// /// Retrieves whether the union's current tag state has value "from_anyone". /// /// @return Whether the union's current tag state has value "from_anyone". /// - (BOOL)isFromAnyone; /// /// 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 `DBTEAMPOLICIESSharedFolderJoinPolicy` /// union. /// @interface DBTEAMPOLICIESSharedFolderJoinPolicySerializer : NSObject /// /// Serializes `DBTEAMPOLICIESSharedFolderJoinPolicy` instances. /// /// @param instance An instance of the `DBTEAMPOLICIESSharedFolderJoinPolicy` /// API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMPOLICIESSharedFolderJoinPolicy` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMPOLICIESSharedFolderJoinPolicy *)instance; /// /// Deserializes `DBTEAMPOLICIESSharedFolderJoinPolicy` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMPOLICIESSharedFolderJoinPolicy` API object. /// /// @return An instantiation of the `DBTEAMPOLICIESSharedFolderJoinPolicy` /// object. /// + (DBTEAMPOLICIESSharedFolderJoinPolicy *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESSharedFolderMemberPolicy.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMPOLICIESSharedFolderMemberPolicy; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `SharedFolderMemberPolicy` union. /// /// Policy governing who can be a member of a folder shared by 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 DBTEAMPOLICIESSharedFolderMemberPolicy : NSObject #pragma mark - Instance fields /// The `DBTEAMPOLICIESSharedFolderMemberPolicyTag` enum type represents the /// possible tag states with which the `DBTEAMPOLICIESSharedFolderMemberPolicy` /// union can exist. 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, /// (no description). DBTEAMPOLICIESSharedFolderMemberPolicyOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMPOLICIESSharedFolderMemberPolicyTag tag; #pragma mark - Constructors /// /// Initializes union class with tag state of "team". /// /// Description of the "team" tag state: Only a teammate can be a member of a /// folder shared by a team member. /// /// @return An initialized instance. /// - (instancetype)initWithTeam; /// /// Initializes union class with tag state of "anyone". /// /// Description of the "anyone" tag state: Anyone can be a member of a folder /// shared by a team member. /// /// @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". /// /// @return Whether the union's current tag state has value "team". /// - (BOOL)isTeam; /// /// 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 `DBTEAMPOLICIESSharedFolderMemberPolicy` /// union. /// @interface DBTEAMPOLICIESSharedFolderMemberPolicySerializer : NSObject /// /// Serializes `DBTEAMPOLICIESSharedFolderMemberPolicy` instances. /// /// @param instance An instance of the `DBTEAMPOLICIESSharedFolderMemberPolicy` /// API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMPOLICIESSharedFolderMemberPolicy` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMPOLICIESSharedFolderMemberPolicy *)instance; /// /// Deserializes `DBTEAMPOLICIESSharedFolderMemberPolicy` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMPOLICIESSharedFolderMemberPolicy` API object. /// /// @return An instantiation of the `DBTEAMPOLICIESSharedFolderMemberPolicy` /// object. /// + (DBTEAMPOLICIESSharedFolderMemberPolicy *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESSharedLinkCreatePolicy.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMPOLICIESSharedLinkCreatePolicy; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `SharedLinkCreatePolicy` union. /// /// Policy governing the visibility of shared links. This policy can apply to /// newly created shared links, or all 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 DBTEAMPOLICIESSharedLinkCreatePolicy : NSObject #pragma mark - Instance fields /// The `DBTEAMPOLICIESSharedLinkCreatePolicyTag` enum type represents the /// possible tag states with which the `DBTEAMPOLICIESSharedLinkCreatePolicy` /// union can exist. 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, /// Only members of the same team can access all shared links. Login will be /// required to access all shared links. DBTEAMPOLICIESSharedLinkCreatePolicyTeamOnly, /// Only people invited can access newly created links. Login will be /// required to access the shared links unless overridden. DBTEAMPOLICIESSharedLinkCreatePolicyDefaultNoOne, /// (no description). DBTEAMPOLICIESSharedLinkCreatePolicyOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMPOLICIESSharedLinkCreatePolicyTag tag; #pragma mark - Constructors /// /// Initializes union class with tag state of "default_public". /// /// Description of the "default_public" tag state: By default, anyone can access /// newly created shared links. No login will be required to access the shared /// links unless overridden. /// /// @return An initialized instance. /// - (instancetype)initWithDefaultPublic; /// /// Initializes union class with tag state of "default_team_only". /// /// Description of the "default_team_only" tag state: 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. /// /// @return An initialized instance. /// - (instancetype)initWithDefaultTeamOnly; /// /// Initializes union class with tag state of "team_only". /// /// Description of the "team_only" tag state: Only members of the same team can /// access all shared links. Login will be required to access all shared links. /// /// @return An initialized instance. /// - (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". /// /// @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_public". /// /// @return Whether the union's current tag state has value "default_public". /// - (BOOL)isDefaultPublic; /// /// Retrieves whether the union's current tag state has value /// "default_team_only". /// /// @return Whether the union's current tag state has value "default_team_only". /// - (BOOL)isDefaultTeamOnly; /// /// 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 "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". /// /// @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 `DBTEAMPOLICIESSharedLinkCreatePolicy` /// union. /// @interface DBTEAMPOLICIESSharedLinkCreatePolicySerializer : NSObject /// /// Serializes `DBTEAMPOLICIESSharedLinkCreatePolicy` instances. /// /// @param instance An instance of the `DBTEAMPOLICIESSharedLinkCreatePolicy` /// API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMPOLICIESSharedLinkCreatePolicy` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMPOLICIESSharedLinkCreatePolicy *)instance; /// /// Deserializes `DBTEAMPOLICIESSharedLinkCreatePolicy` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMPOLICIESSharedLinkCreatePolicy` API object. /// /// @return An instantiation of the `DBTEAMPOLICIESSharedLinkCreatePolicy` /// object. /// + (DBTEAMPOLICIESSharedLinkCreatePolicy *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESShowcaseDownloadPolicy.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESShowcaseEnabledPolicy.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESShowcaseExternalSharingPolicy.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESSmartSyncPolicy.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMPOLICIESSmartSyncPolicy; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `SmartSyncPolicy` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMPOLICIESSmartSyncPolicy : NSObject #pragma mark - Instance fields /// The `DBTEAMPOLICIESSmartSyncPolicyTag` enum type represents the possible tag /// states with which the `DBTEAMPOLICIESSmartSyncPolicy` union can exist. 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, /// (no description). DBTEAMPOLICIESSmartSyncPolicyOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMPOLICIESSmartSyncPolicyTag tag; #pragma mark - Constructors /// /// Initializes union class with tag state of "local". /// /// Description of the "local" tag state: The specified content will be synced /// as local files by default. /// /// @return An initialized instance. /// - (instancetype)initWithLocal; /// /// Initializes union class with tag state of "on_demand". /// /// Description of the "on_demand" tag state: The specified content will be /// synced as on-demand files by default. /// /// @return An initialized instance. /// - (instancetype)initWithOnDemand; /// /// 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 "local". /// /// @return Whether the union's current tag state has value "local". /// - (BOOL)isLocal; /// /// Retrieves whether the union's current tag state has value "on_demand". /// /// @return Whether the union's current tag state has value "on_demand". /// - (BOOL)isOnDemand; /// /// 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 `DBTEAMPOLICIESSmartSyncPolicy` union. /// @interface DBTEAMPOLICIESSmartSyncPolicySerializer : NSObject /// /// Serializes `DBTEAMPOLICIESSmartSyncPolicy` instances. /// /// @param instance An instance of the `DBTEAMPOLICIESSmartSyncPolicy` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMPOLICIESSmartSyncPolicy` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMPOLICIESSmartSyncPolicy *)instance; /// /// Deserializes `DBTEAMPOLICIESSmartSyncPolicy` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMPOLICIESSmartSyncPolicy` API object. /// /// @return An instantiation of the `DBTEAMPOLICIESSmartSyncPolicy` object. /// + (DBTEAMPOLICIESSmartSyncPolicy *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESSmarterSmartSyncPolicyState.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESSsoPolicy.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMPOLICIESSsoPolicy; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `SsoPolicy` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMPOLICIESSsoPolicy : NSObject #pragma mark - Instance fields /// The `DBTEAMPOLICIESSsoPolicyTag` enum type represents the possible tag /// states with which the `DBTEAMPOLICIESSsoPolicy` union can exist. 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 required to sign in with their single sign-on credentials. DBTEAMPOLICIESSsoPolicyRequired, /// (no description). DBTEAMPOLICIESSsoPolicyOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMPOLICIESSsoPolicyTag tag; #pragma mark - Constructors /// /// Initializes union class with tag state of "disabled". /// /// Description of the "disabled" tag state: Users will be able to sign in with /// their Dropbox credentials. /// /// @return An initialized instance. /// - (instancetype)initWithDisabled; /// /// Initializes union class with tag state of "optional". /// /// Description of the "optional" tag state: Users will be able to sign in with /// either their Dropbox or single sign-on credentials. /// /// @return An initialized instance. /// - (instancetype)initWithOptional; /// /// Initializes union class with tag state of "required". /// /// Description of the "required" tag state: Users will be required to sign in /// with their single sign-on credentials. /// /// @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 "disabled". /// /// @return Whether the union's current tag state has value "disabled". /// - (BOOL)isDisabled; /// /// 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 `DBTEAMPOLICIESSsoPolicy` union. /// @interface DBTEAMPOLICIESSsoPolicySerializer : NSObject /// /// Serializes `DBTEAMPOLICIESSsoPolicy` instances. /// /// @param instance An instance of the `DBTEAMPOLICIESSsoPolicy` API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMPOLICIESSsoPolicy` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMPOLICIESSsoPolicy *)instance; /// /// Deserializes `DBTEAMPOLICIESSsoPolicy` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMPOLICIESSsoPolicy` API object. /// /// @return An instantiation of the `DBTEAMPOLICIESSsoPolicy` object. /// + (DBTEAMPOLICIESSsoPolicy *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESSuggestMembersPolicy.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESTeamMemberPolicies.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMPOLICIESEmmState; @class DBTEAMPOLICIESOfficeAddInPolicy; @class DBTEAMPOLICIESSuggestMembersPolicy; @class DBTEAMPOLICIESTeamMemberPolicies; @class DBTEAMPOLICIESTeamSharingPolicies; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `TeamMemberPolicies` struct. /// /// Policies governing 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 DBTEAMPOLICIESTeamMemberPolicies : NSObject #pragma mark - Instance fields /// Policies governing sharing. @property (nonatomic, readonly) DBTEAMPOLICIESTeamSharingPolicies *sharing; /// This describes the Enterprise Mobility Management (EMM) state for this team. /// This information can be used to understand if an organization is integrating /// with a third-party EMM vendor to further manage and apply restrictions upon /// the team's Dropbox usage on mobile devices. This is a new feature and in the /// future we'll be adding more new fields and additional documentation. @property (nonatomic, readonly) DBTEAMPOLICIESEmmState *emmState; /// 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 /// /// Full constructor for the struct (exposes all instance variables). /// /// @param sharing Policies governing sharing. /// @param emmState This describes the Enterprise Mobility Management (EMM) /// state for this team. This information can be used to understand if an /// organization is integrating with a third-party EMM vendor to further manage /// and apply restrictions upon the team's Dropbox usage on mobile devices. This /// is a new feature and in the future we'll be adding more new fields and /// 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 suggestMembersPolicy:(DBTEAMPOLICIESSuggestMembersPolicy *)suggestMembersPolicy; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `TeamMemberPolicies` struct. /// @interface DBTEAMPOLICIESTeamMemberPoliciesSerializer : NSObject /// /// Serializes `DBTEAMPOLICIESTeamMemberPolicies` instances. /// /// @param instance An instance of the `DBTEAMPOLICIESTeamMemberPolicies` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMPOLICIESTeamMemberPolicies` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMPOLICIESTeamMemberPolicies *)instance; /// /// Deserializes `DBTEAMPOLICIESTeamMemberPolicies` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMPOLICIESTeamMemberPolicies` API object. /// /// @return An instantiation of the `DBTEAMPOLICIESTeamMemberPolicies` object. /// + (DBTEAMPOLICIESTeamMemberPolicies *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESTeamSharingPolicies.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMPOLICIESGroupCreation; @class DBTEAMPOLICIESSharedFolderBlanketLinkRestrictionPolicy; @class DBTEAMPOLICIESSharedFolderJoinPolicy; @class DBTEAMPOLICIESSharedFolderMemberPolicy; @class DBTEAMPOLICIESSharedLinkCreatePolicy; @class DBTEAMPOLICIESTeamSharingPolicies; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `TeamSharingPolicies` struct. /// /// Policies governing sharing within and 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 DBTEAMPOLICIESTeamSharingPolicies : NSObject #pragma mark - Instance fields /// Who can join folders shared by team members. @property (nonatomic, readonly) DBTEAMPOLICIESSharedFolderMemberPolicy *sharedFolderMemberPolicy; /// Which shared folders team members can join. @property (nonatomic, readonly) DBTEAMPOLICIESSharedFolderJoinPolicy *sharedFolderJoinPolicy; /// 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 /// /// Full constructor for the struct (exposes all instance variables). /// /// @param sharedFolderMemberPolicy Who can join folders shared by team members. /// @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 groupCreationPolicy:(DBTEAMPOLICIESGroupCreation *)groupCreationPolicy sharedFolderLinkRestrictionPolicy: (DBTEAMPOLICIESSharedFolderBlanketLinkRestrictionPolicy *)sharedFolderLinkRestrictionPolicy; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `TeamSharingPolicies` struct. /// @interface DBTEAMPOLICIESTeamSharingPoliciesSerializer : NSObject /// /// Serializes `DBTEAMPOLICIESTeamSharingPolicies` instances. /// /// @param instance An instance of the `DBTEAMPOLICIESTeamSharingPolicies` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMPOLICIESTeamSharingPolicies` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMPOLICIESTeamSharingPolicies *)instance; /// /// Deserializes `DBTEAMPOLICIESTeamSharingPolicies` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMPOLICIESTeamSharingPolicies` API object. /// /// @return An instantiation of the `DBTEAMPOLICIESTeamSharingPolicies` object. /// + (DBTEAMPOLICIESTeamSharingPolicies *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESTwoStepVerificationPolicy.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMPOLICIESTwoStepVerificationPolicy; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `TwoStepVerificationPolicy` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBTEAMPOLICIESTwoStepVerificationPolicy : NSObject #pragma mark - Instance fields /// The `DBTEAMPOLICIESTwoStepVerificationPolicyTag` enum type represents the /// possible tag states with which the `DBTEAMPOLICIESTwoStepVerificationPolicy` /// union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBTEAMPOLICIESTwoStepVerificationPolicyTag){ /// Enabled require two factor authorization. DBTEAMPOLICIESTwoStepVerificationPolicyRequireTfaEnable, /// Disabled require two factor authorization. DBTEAMPOLICIESTwoStepVerificationPolicyRequireTfaDisable, /// (no description). DBTEAMPOLICIESTwoStepVerificationPolicyOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMPOLICIESTwoStepVerificationPolicyTag tag; #pragma mark - Constructors /// /// Initializes union class with tag state of "require_tfa_enable". /// /// Description of the "require_tfa_enable" tag state: Enabled require two /// factor authorization. /// /// @return An initialized instance. /// - (instancetype)initWithRequireTfaEnable; /// /// Initializes union class with tag state of "require_tfa_disable". /// /// Description of the "require_tfa_disable" tag state: Disabled require two /// factor authorization. /// /// @return An initialized instance. /// - (instancetype)initWithRequireTfaDisable; /// /// 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 /// "require_tfa_enable". /// /// @return Whether the union's current tag state has value /// "require_tfa_enable". /// - (BOOL)isRequireTfaEnable; /// /// Retrieves whether the union's current tag state has value /// "require_tfa_disable". /// /// @return Whether the union's current tag state has value /// "require_tfa_disable". /// - (BOOL)isRequireTfaDisable; /// /// 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 `DBTEAMPOLICIESTwoStepVerificationPolicy` /// union. /// @interface DBTEAMPOLICIESTwoStepVerificationPolicySerializer : NSObject /// /// Serializes `DBTEAMPOLICIESTwoStepVerificationPolicy` instances. /// /// @param instance An instance of the `DBTEAMPOLICIESTwoStepVerificationPolicy` /// API object. /// /// @return A json-compatible dictionary representation of the /// `DBTEAMPOLICIESTwoStepVerificationPolicy` API object. /// + (nullable NSDictionary *)serialize:(DBTEAMPOLICIESTwoStepVerificationPolicy *)instance; /// /// Deserializes `DBTEAMPOLICIESTwoStepVerificationPolicy` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBTEAMPOLICIESTwoStepVerificationPolicy` API object. /// /// @return An instantiation of the `DBTEAMPOLICIESTwoStepVerificationPolicy` /// object. /// + (DBTEAMPOLICIESTwoStepVerificationPolicy *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESTwoStepVerificationState.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Users/DBUsersObjects.m ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// /// Arguments, results, and errors for the `Users` namespace. #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBUSERSAccount.h" #import "DBUSERSName.h" #pragma mark - API Object @implementation DBUSERSAccount #pragma mark - Constructors - (instancetype)initWithAccountId:(NSString *)accountId name:(DBUSERSName *)name email:(NSString *)email emailVerified:(NSNumber *)emailVerified disabled:(NSNumber *)disabled profilePhotoUrl:(NSString *)profilePhotoUrl { [DBStoneValidators nonnullValidator:[DBStoneValidators stringValidator:@(40) maxLength:@(40) pattern:nil]](accountId); [DBStoneValidators nonnullValidator:nil](name); [DBStoneValidators nonnullValidator:nil](email); [DBStoneValidators nonnullValidator:nil](emailVerified); [DBStoneValidators nonnullValidator:nil](disabled); self = [super init]; if (self) { _accountId = accountId; _name = name; _email = email; _emailVerified = emailVerified; _profilePhotoUrl = profilePhotoUrl; _disabled = disabled; } return self; } - (instancetype)initWithAccountId:(NSString *)accountId name:(DBUSERSName *)name email:(NSString *)email emailVerified:(NSNumber *)emailVerified disabled:(NSNumber *)disabled { return [self initWithAccountId:accountId name:name email:email emailVerified:emailVerified disabled:disabled profilePhotoUrl:nil]; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBUSERSAccountSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBUSERSAccountSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBUSERSAccountSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.accountId hash]; result = prime * result + [self.name hash]; result = prime * result + [self.email hash]; result = prime * result + [self.emailVerified hash]; result = prime * result + [self.disabled 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 isEqualToAccount:other]; } - (BOOL)isEqualToAccount:(DBUSERSAccount *)anAccount { if (self == anAccount) { return YES; } if (![self.accountId isEqual:anAccount.accountId]) { return NO; } if (![self.name isEqual:anAccount.name]) { return NO; } if (![self.email isEqual:anAccount.email]) { return NO; } if (![self.emailVerified isEqual:anAccount.emailVerified]) { return NO; } if (![self.disabled isEqual:anAccount.disabled]) { return NO; } if (self.profilePhotoUrl) { if (![self.profilePhotoUrl isEqual:anAccount.profilePhotoUrl]) { return NO; } } return YES; } @end #pragma mark - Serializer Object @implementation DBUSERSAccountSerializer + (NSDictionary *)serialize:(DBUSERSAccount *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"account_id"] = valueObj.accountId; jsonDict[@"name"] = [DBUSERSNameSerializer serialize:valueObj.name]; jsonDict[@"email"] = valueObj.email; jsonDict[@"email_verified"] = valueObj.emailVerified; jsonDict[@"disabled"] = valueObj.disabled; if (valueObj.profilePhotoUrl) { jsonDict[@"profile_photo_url"] = valueObj.profilePhotoUrl; } return jsonDict; } + (DBUSERSAccount *)deserialize:(NSDictionary *)valueDict { NSString *accountId = valueDict[@"account_id"]; DBUSERSName *name = [DBUSERSNameSerializer deserialize:valueDict[@"name"]]; NSString *email = valueDict[@"email"]; NSNumber *emailVerified = valueDict[@"email_verified"]; NSNumber *disabled = valueDict[@"disabled"]; NSString *profilePhotoUrl = valueDict[@"profile_photo_url"] ?: nil; return [[DBUSERSAccount alloc] initWithAccountId:accountId name:name email:email emailVerified:emailVerified disabled:disabled profilePhotoUrl:profilePhotoUrl]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBUSERSAccount.h" #import "DBUSERSBasicAccount.h" #import "DBUSERSName.h" #pragma mark - API Object @implementation DBUSERSBasicAccount #pragma mark - Constructors - (instancetype)initWithAccountId:(NSString *)accountId name:(DBUSERSName *)name email:(NSString *)email emailVerified:(NSNumber *)emailVerified disabled:(NSNumber *)disabled isTeammate:(NSNumber *)isTeammate profilePhotoUrl:(NSString *)profilePhotoUrl teamMemberId:(NSString *)teamMemberId { [DBStoneValidators nonnullValidator:[DBStoneValidators stringValidator:@(40) maxLength:@(40) pattern:nil]](accountId); [DBStoneValidators nonnullValidator:nil](name); [DBStoneValidators nonnullValidator:nil](email); [DBStoneValidators nonnullValidator:nil](emailVerified); [DBStoneValidators nonnullValidator:nil](disabled); [DBStoneValidators nonnullValidator:nil](isTeammate); self = [super initWithAccountId:accountId name:name email:email emailVerified:emailVerified disabled:disabled profilePhotoUrl:profilePhotoUrl]; if (self) { _isTeammate = isTeammate; _teamMemberId = teamMemberId; } return self; } - (instancetype)initWithAccountId:(NSString *)accountId name:(DBUSERSName *)name email:(NSString *)email emailVerified:(NSNumber *)emailVerified disabled:(NSNumber *)disabled isTeammate:(NSNumber *)isTeammate { return [self initWithAccountId:accountId name:name email:email emailVerified:emailVerified disabled:disabled isTeammate:isTeammate profilePhotoUrl:nil teamMemberId:nil]; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBUSERSBasicAccountSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBUSERSBasicAccountSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBUSERSBasicAccountSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.accountId hash]; result = prime * result + [self.name hash]; result = prime * result + [self.email hash]; result = prime * result + [self.emailVerified hash]; result = prime * result + [self.disabled hash]; result = prime * result + [self.isTeammate hash]; if (self.profilePhotoUrl != nil) { result = prime * result + [self.profilePhotoUrl 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 isEqualToBasicAccount:other]; } - (BOOL)isEqualToBasicAccount:(DBUSERSBasicAccount *)aBasicAccount { if (self == aBasicAccount) { return YES; } if (![self.accountId isEqual:aBasicAccount.accountId]) { return NO; } if (![self.name isEqual:aBasicAccount.name]) { return NO; } if (![self.email isEqual:aBasicAccount.email]) { return NO; } if (![self.emailVerified isEqual:aBasicAccount.emailVerified]) { return NO; } if (![self.disabled isEqual:aBasicAccount.disabled]) { return NO; } if (![self.isTeammate isEqual:aBasicAccount.isTeammate]) { return NO; } if (self.profilePhotoUrl) { if (![self.profilePhotoUrl isEqual:aBasicAccount.profilePhotoUrl]) { return NO; } } if (self.teamMemberId) { if (![self.teamMemberId isEqual:aBasicAccount.teamMemberId]) { return NO; } } return YES; } @end #pragma mark - Serializer Object @implementation DBUSERSBasicAccountSerializer + (NSDictionary *)serialize:(DBUSERSBasicAccount *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"account_id"] = valueObj.accountId; jsonDict[@"name"] = [DBUSERSNameSerializer serialize:valueObj.name]; jsonDict[@"email"] = valueObj.email; jsonDict[@"email_verified"] = valueObj.emailVerified; jsonDict[@"disabled"] = valueObj.disabled; jsonDict[@"is_teammate"] = valueObj.isTeammate; if (valueObj.profilePhotoUrl) { jsonDict[@"profile_photo_url"] = valueObj.profilePhotoUrl; } if (valueObj.teamMemberId) { jsonDict[@"team_member_id"] = valueObj.teamMemberId; } return jsonDict; } + (DBUSERSBasicAccount *)deserialize:(NSDictionary *)valueDict { NSString *accountId = valueDict[@"account_id"]; DBUSERSName *name = [DBUSERSNameSerializer deserialize:valueDict[@"name"]]; NSString *email = valueDict[@"email"]; NSNumber *emailVerified = valueDict[@"email_verified"]; NSNumber *disabled = valueDict[@"disabled"]; NSNumber *isTeammate = valueDict[@"is_teammate"]; NSString *profilePhotoUrl = valueDict[@"profile_photo_url"] ?: nil; NSString *teamMemberId = valueDict[@"team_member_id"] ?: nil; return [[DBUSERSBasicAccount alloc] initWithAccountId:accountId name:name email:email emailVerified:emailVerified disabled:disabled isTeammate:isTeammate profilePhotoUrl:profilePhotoUrl teamMemberId:teamMemberId]; } @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" #import "DBUSERSAccount.h" #import "DBUSERSCOMMONAccountType.h" #import "DBUSERSFullAccount.h" #import "DBUSERSFullTeam.h" #import "DBUSERSName.h" #pragma mark - API Object @implementation DBUSERSFullAccount #pragma mark - Constructors - (instancetype)initWithAccountId:(NSString *)accountId name:(DBUSERSName *)name email:(NSString *)email emailVerified:(NSNumber *)emailVerified disabled:(NSNumber *)disabled locale:(NSString *)locale referralLink:(NSString *)referralLink isPaired:(NSNumber *)isPaired accountType:(DBUSERSCOMMONAccountType *)accountType rootInfo:(DBCOMMONRootInfo *)rootInfo profilePhotoUrl:(NSString *)profilePhotoUrl country:(NSString *)country team:(DBUSERSFullTeam *)team teamMemberId:(NSString *)teamMemberId { [DBStoneValidators nonnullValidator:[DBStoneValidators stringValidator:@(40) maxLength:@(40) pattern:nil]](accountId); [DBStoneValidators nonnullValidator:nil](name); [DBStoneValidators nonnullValidator:nil](email); [DBStoneValidators nonnullValidator:nil](emailVerified); [DBStoneValidators nonnullValidator:nil](disabled); [DBStoneValidators nonnullValidator:[DBStoneValidators stringValidator:@(2) maxLength:nil pattern:nil]](locale); [DBStoneValidators nonnullValidator:nil](referralLink); [DBStoneValidators nonnullValidator:nil](isPaired); [DBStoneValidators nonnullValidator:nil](accountType); [DBStoneValidators nonnullValidator:nil](rootInfo); [DBStoneValidators nullableValidator:[DBStoneValidators stringValidator:@(2) maxLength:@(2) pattern:nil]](country); self = [super initWithAccountId:accountId name:name email:email emailVerified:emailVerified disabled:disabled profilePhotoUrl:profilePhotoUrl]; if (self) { _country = country; _locale = locale; _referralLink = referralLink; _team = team; _teamMemberId = teamMemberId; _isPaired = isPaired; _accountType = accountType; _rootInfo = rootInfo; } return self; } - (instancetype)initWithAccountId:(NSString *)accountId name:(DBUSERSName *)name email:(NSString *)email emailVerified:(NSNumber *)emailVerified disabled:(NSNumber *)disabled locale:(NSString *)locale referralLink:(NSString *)referralLink isPaired:(NSNumber *)isPaired accountType:(DBUSERSCOMMONAccountType *)accountType rootInfo:(DBCOMMONRootInfo *)rootInfo { return [self initWithAccountId:accountId name:name email:email emailVerified:emailVerified disabled:disabled locale:locale referralLink:referralLink isPaired:isPaired accountType:accountType rootInfo:rootInfo profilePhotoUrl:nil country:nil team:nil teamMemberId:nil]; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBUSERSFullAccountSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBUSERSFullAccountSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBUSERSFullAccountSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.accountId hash]; result = prime * result + [self.name hash]; result = prime * result + [self.email hash]; result = prime * result + [self.emailVerified hash]; result = prime * result + [self.disabled hash]; result = prime * result + [self.locale hash]; result = prime * result + [self.referralLink hash]; result = prime * result + [self.isPaired hash]; result = prime * result + [self.accountType hash]; result = prime * result + [self.rootInfo hash]; if (self.profilePhotoUrl != nil) { result = prime * result + [self.profilePhotoUrl hash]; } if (self.country != nil) { result = prime * result + [self.country hash]; } if (self.team != nil) { result = prime * result + [self.team 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 isEqualToFullAccount:other]; } - (BOOL)isEqualToFullAccount:(DBUSERSFullAccount *)aFullAccount { if (self == aFullAccount) { return YES; } if (![self.accountId isEqual:aFullAccount.accountId]) { return NO; } if (![self.name isEqual:aFullAccount.name]) { return NO; } if (![self.email isEqual:aFullAccount.email]) { return NO; } if (![self.emailVerified isEqual:aFullAccount.emailVerified]) { return NO; } if (![self.disabled isEqual:aFullAccount.disabled]) { return NO; } if (![self.locale isEqual:aFullAccount.locale]) { return NO; } if (![self.referralLink isEqual:aFullAccount.referralLink]) { return NO; } if (![self.isPaired isEqual:aFullAccount.isPaired]) { return NO; } if (![self.accountType isEqual:aFullAccount.accountType]) { return NO; } if (![self.rootInfo isEqual:aFullAccount.rootInfo]) { return NO; } if (self.profilePhotoUrl) { if (![self.profilePhotoUrl isEqual:aFullAccount.profilePhotoUrl]) { return NO; } } if (self.country) { if (![self.country isEqual:aFullAccount.country]) { return NO; } } if (self.team) { if (![self.team isEqual:aFullAccount.team]) { return NO; } } if (self.teamMemberId) { if (![self.teamMemberId isEqual:aFullAccount.teamMemberId]) { return NO; } } return YES; } @end #pragma mark - Serializer Object @implementation DBUSERSFullAccountSerializer + (NSDictionary *)serialize:(DBUSERSFullAccount *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"account_id"] = valueObj.accountId; jsonDict[@"name"] = [DBUSERSNameSerializer serialize:valueObj.name]; jsonDict[@"email"] = valueObj.email; jsonDict[@"email_verified"] = valueObj.emailVerified; jsonDict[@"disabled"] = valueObj.disabled; jsonDict[@"locale"] = valueObj.locale; jsonDict[@"referral_link"] = valueObj.referralLink; jsonDict[@"is_paired"] = valueObj.isPaired; jsonDict[@"account_type"] = [DBUSERSCOMMONAccountTypeSerializer serialize:valueObj.accountType]; jsonDict[@"root_info"] = [DBCOMMONRootInfoSerializer serialize:valueObj.rootInfo]; if (valueObj.profilePhotoUrl) { jsonDict[@"profile_photo_url"] = valueObj.profilePhotoUrl; } if (valueObj.country) { jsonDict[@"country"] = valueObj.country; } if (valueObj.team) { jsonDict[@"team"] = [DBUSERSFullTeamSerializer serialize:valueObj.team]; } if (valueObj.teamMemberId) { jsonDict[@"team_member_id"] = valueObj.teamMemberId; } return jsonDict; } + (DBUSERSFullAccount *)deserialize:(NSDictionary *)valueDict { NSString *accountId = valueDict[@"account_id"]; DBUSERSName *name = [DBUSERSNameSerializer deserialize:valueDict[@"name"]]; NSString *email = valueDict[@"email"]; NSNumber *emailVerified = valueDict[@"email_verified"]; NSNumber *disabled = valueDict[@"disabled"]; NSString *locale = valueDict[@"locale"]; NSString *referralLink = valueDict[@"referral_link"]; NSNumber *isPaired = valueDict[@"is_paired"]; DBUSERSCOMMONAccountType *accountType = [DBUSERSCOMMONAccountTypeSerializer deserialize:valueDict[@"account_type"]]; DBCOMMONRootInfo *rootInfo = [DBCOMMONRootInfoSerializer deserialize:valueDict[@"root_info"]]; NSString *profilePhotoUrl = valueDict[@"profile_photo_url"] ?: nil; NSString *country = valueDict[@"country"] ?: nil; DBUSERSFullTeam *team = valueDict[@"team"] ? [DBUSERSFullTeamSerializer deserialize:valueDict[@"team"]] : nil; NSString *teamMemberId = valueDict[@"team_member_id"] ?: nil; return [[DBUSERSFullAccount alloc] initWithAccountId:accountId name:name email:email emailVerified:emailVerified disabled:disabled locale:locale referralLink:referralLink isPaired:isPaired accountType:accountType rootInfo:rootInfo profilePhotoUrl:profilePhotoUrl country:country team:team teamMemberId:teamMemberId]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBUSERSTeam.h" #pragma mark - API Object @implementation DBUSERSTeam #pragma mark - Constructors - (instancetype)initWithId_:(NSString *)id_ name:(NSString *)name { [DBStoneValidators nonnullValidator:nil](id_); [DBStoneValidators nonnullValidator:nil](name); self = [super init]; if (self) { _id_ = id_; _name = name; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBUSERSTeamSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBUSERSTeamSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBUSERSTeamSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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.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 isEqualToTeam:other]; } - (BOOL)isEqualToTeam:(DBUSERSTeam *)aTeam { if (self == aTeam) { return YES; } if (![self.id_ isEqual:aTeam.id_]) { return NO; } if (![self.name isEqual:aTeam.name]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBUSERSTeamSerializer + (NSDictionary *)serialize:(DBUSERSTeam *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"id"] = valueObj.id_; jsonDict[@"name"] = valueObj.name; return jsonDict; } + (DBUSERSTeam *)deserialize:(NSDictionary *)valueDict { NSString *id_ = valueDict[@"id"]; NSString *name = valueDict[@"name"]; return [[DBUSERSTeam alloc] initWithId_:id_ name:name]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMPOLICIESOfficeAddInPolicy.h" #import "DBTEAMPOLICIESTeamSharingPolicies.h" #import "DBUSERSFullTeam.h" #import "DBUSERSTeam.h" #pragma mark - API Object @implementation DBUSERSFullTeam #pragma mark - Constructors - (instancetype)initWithId_:(NSString *)id_ name:(NSString *)name sharingPolicies:(DBTEAMPOLICIESTeamSharingPolicies *)sharingPolicies officeAddinPolicy:(DBTEAMPOLICIESOfficeAddInPolicy *)officeAddinPolicy { [DBStoneValidators nonnullValidator:nil](id_); [DBStoneValidators nonnullValidator:nil](name); [DBStoneValidators nonnullValidator:nil](sharingPolicies); [DBStoneValidators nonnullValidator:nil](officeAddinPolicy); self = [super initWithId_:id_ name:name]; if (self) { _sharingPolicies = sharingPolicies; _officeAddinPolicy = officeAddinPolicy; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBUSERSFullTeamSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBUSERSFullTeamSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBUSERSFullTeamSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #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.name hash]; result = prime * result + [self.sharingPolicies hash]; result = prime * result + [self.officeAddinPolicy hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToFullTeam:other]; } - (BOOL)isEqualToFullTeam:(DBUSERSFullTeam *)aFullTeam { if (self == aFullTeam) { return YES; } if (![self.id_ isEqual:aFullTeam.id_]) { return NO; } if (![self.name isEqual:aFullTeam.name]) { return NO; } if (![self.sharingPolicies isEqual:aFullTeam.sharingPolicies]) { return NO; } if (![self.officeAddinPolicy isEqual:aFullTeam.officeAddinPolicy]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBUSERSFullTeamSerializer + (NSDictionary *)serialize:(DBUSERSFullTeam *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"id"] = valueObj.id_; jsonDict[@"name"] = valueObj.name; jsonDict[@"sharing_policies"] = [DBTEAMPOLICIESTeamSharingPoliciesSerializer serialize:valueObj.sharingPolicies]; jsonDict[@"office_addin_policy"] = [DBTEAMPOLICIESOfficeAddInPolicySerializer serialize:valueObj.officeAddinPolicy]; return jsonDict; } + (DBUSERSFullTeam *)deserialize:(NSDictionary *)valueDict { NSString *id_ = valueDict[@"id"]; NSString *name = valueDict[@"name"]; DBTEAMPOLICIESTeamSharingPolicies *sharingPolicies = [DBTEAMPOLICIESTeamSharingPoliciesSerializer deserialize:valueDict[@"sharing_policies"]]; DBTEAMPOLICIESOfficeAddInPolicy *officeAddinPolicy = [DBTEAMPOLICIESOfficeAddInPolicySerializer deserialize:valueDict[@"office_addin_policy"]]; return [[DBUSERSFullTeam alloc] initWithId_:id_ name:name sharingPolicies:sharingPolicies officeAddinPolicy:officeAddinPolicy]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBUSERSGetAccountArg.h" #pragma mark - API Object @implementation DBUSERSGetAccountArg #pragma mark - Constructors - (instancetype)initWithAccountId:(NSString *)accountId { [DBStoneValidators nonnullValidator:[DBStoneValidators stringValidator:@(40) maxLength:@(40) pattern:nil]](accountId); self = [super init]; if (self) { _accountId = accountId; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBUSERSGetAccountArgSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBUSERSGetAccountArgSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBUSERSGetAccountArgSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; 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 isEqualToGetAccountArg:other]; } - (BOOL)isEqualToGetAccountArg:(DBUSERSGetAccountArg *)aGetAccountArg { if (self == aGetAccountArg) { return YES; } if (![self.accountId isEqual:aGetAccountArg.accountId]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBUSERSGetAccountArgSerializer + (NSDictionary *)serialize:(DBUSERSGetAccountArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"account_id"] = valueObj.accountId; return jsonDict; } + (DBUSERSGetAccountArg *)deserialize:(NSDictionary *)valueDict { NSString *accountId = valueDict[@"account_id"]; return [[DBUSERSGetAccountArg alloc] initWithAccountId:accountId]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBUSERSGetAccountBatchArg.h" #pragma mark - API Object @implementation DBUSERSGetAccountBatchArg #pragma mark - Constructors - (instancetype)initWithAccountIds:(NSArray *)accountIds { [DBStoneValidators nonnullValidator:[DBStoneValidators arrayValidator:@(1) maxItems:nil itemValidator:[DBStoneValidators nonnullValidator:[DBStoneValidators stringValidator:@(40) maxLength:@(40) pattern:nil]]]]( accountIds); self = [super init]; if (self) { _accountIds = accountIds; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBUSERSGetAccountBatchArgSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBUSERSGetAccountBatchArgSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBUSERSGetAccountBatchArgSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.accountIds hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToGetAccountBatchArg:other]; } - (BOOL)isEqualToGetAccountBatchArg:(DBUSERSGetAccountBatchArg *)aGetAccountBatchArg { if (self == aGetAccountBatchArg) { return YES; } if (![self.accountIds isEqual:aGetAccountBatchArg.accountIds]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBUSERSGetAccountBatchArgSerializer + (NSDictionary *)serialize:(DBUSERSGetAccountBatchArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"account_ids"] = [DBArraySerializer serialize:valueObj.accountIds withBlock:^id(id elem0) { return elem0; }]; return jsonDict; } + (DBUSERSGetAccountBatchArg *)deserialize:(NSDictionary *)valueDict { NSArray *accountIds = [DBArraySerializer deserialize:valueDict[@"account_ids"] withBlock:^id(id elem0) { return elem0; }]; return [[DBUSERSGetAccountBatchArg alloc] initWithAccountIds:accountIds]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBUSERSGetAccountBatchError.h" #pragma mark - API Object @implementation DBUSERSGetAccountBatchError @synthesize noAccount = _noAccount; #pragma mark - Constructors - (instancetype)initWithNoAccount:(NSString *)noAccount { self = [super init]; if (self) { _tag = DBUSERSGetAccountBatchErrorNoAccount; _noAccount = noAccount; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBUSERSGetAccountBatchErrorOther; } return self; } #pragma mark - Instance field accessors - (NSString *)noAccount { if (![self isNoAccount]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBUSERSGetAccountBatchErrorNoAccount, but was %@.", [self tagName]]; } return _noAccount; } #pragma mark - Tag state methods - (BOOL)isNoAccount { return _tag == DBUSERSGetAccountBatchErrorNoAccount; } - (BOOL)isOther { return _tag == DBUSERSGetAccountBatchErrorOther; } - (NSString *)tagName { switch (_tag) { case DBUSERSGetAccountBatchErrorNoAccount: return @"DBUSERSGetAccountBatchErrorNoAccount"; case DBUSERSGetAccountBatchErrorOther: return @"DBUSERSGetAccountBatchErrorOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBUSERSGetAccountBatchErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBUSERSGetAccountBatchErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBUSERSGetAccountBatchErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 DBUSERSGetAccountBatchErrorNoAccount: result = prime * result + [self.noAccount hash]; break; case DBUSERSGetAccountBatchErrorOther: 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 isEqualToGetAccountBatchError:other]; } - (BOOL)isEqualToGetAccountBatchError:(DBUSERSGetAccountBatchError *)aGetAccountBatchError { if (self == aGetAccountBatchError) { return YES; } if (self.tag != aGetAccountBatchError.tag) { return NO; } switch (_tag) { case DBUSERSGetAccountBatchErrorNoAccount: return [self.noAccount isEqual:aGetAccountBatchError.noAccount]; case DBUSERSGetAccountBatchErrorOther: return [[self tagName] isEqual:[aGetAccountBatchError tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBUSERSGetAccountBatchErrorSerializer + (NSDictionary *)serialize:(DBUSERSGetAccountBatchError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isNoAccount]) { jsonDict[@"no_account"] = valueObj.noAccount; jsonDict[@".tag"] = @"no_account"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBUSERSGetAccountBatchError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"no_account"]) { NSString *noAccount = valueDict[@"no_account"]; return [[DBUSERSGetAccountBatchError alloc] initWithNoAccount:noAccount]; } else if ([tag isEqualToString:@"other"]) { return [[DBUSERSGetAccountBatchError alloc] initWithOther]; } else { return [[DBUSERSGetAccountBatchError alloc] initWithOther]; } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBUSERSGetAccountError.h" #pragma mark - API Object @implementation DBUSERSGetAccountError #pragma mark - Constructors - (instancetype)initWithNoAccount { self = [super init]; if (self) { _tag = DBUSERSGetAccountErrorNoAccount; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBUSERSGetAccountErrorOther; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isNoAccount { return _tag == DBUSERSGetAccountErrorNoAccount; } - (BOOL)isOther { return _tag == DBUSERSGetAccountErrorOther; } - (NSString *)tagName { switch (_tag) { case DBUSERSGetAccountErrorNoAccount: return @"DBUSERSGetAccountErrorNoAccount"; case DBUSERSGetAccountErrorOther: return @"DBUSERSGetAccountErrorOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBUSERSGetAccountErrorSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBUSERSGetAccountErrorSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBUSERSGetAccountErrorSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 DBUSERSGetAccountErrorNoAccount: result = prime * result + [[self tagName] hash]; break; case DBUSERSGetAccountErrorOther: 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 isEqualToGetAccountError:other]; } - (BOOL)isEqualToGetAccountError:(DBUSERSGetAccountError *)aGetAccountError { if (self == aGetAccountError) { return YES; } if (self.tag != aGetAccountError.tag) { return NO; } switch (_tag) { case DBUSERSGetAccountErrorNoAccount: return [[self tagName] isEqual:[aGetAccountError tagName]]; case DBUSERSGetAccountErrorOther: return [[self tagName] isEqual:[aGetAccountError tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBUSERSGetAccountErrorSerializer + (NSDictionary *)serialize:(DBUSERSGetAccountError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isNoAccount]) { jsonDict[@".tag"] = @"no_account"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBUSERSGetAccountError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"no_account"]) { return [[DBUSERSGetAccountError alloc] initWithNoAccount]; } else if ([tag isEqualToString:@"other"]) { return [[DBUSERSGetAccountError alloc] initWithOther]; } else { return [[DBUSERSGetAccountError alloc] initWithOther]; } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBUSERSIndividualSpaceAllocation.h" #pragma mark - API Object @implementation DBUSERSIndividualSpaceAllocation #pragma mark - Constructors - (instancetype)initWithAllocated:(NSNumber *)allocated { [DBStoneValidators nonnullValidator:nil](allocated); self = [super init]; if (self) { _allocated = allocated; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBUSERSIndividualSpaceAllocationSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBUSERSIndividualSpaceAllocationSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBUSERSIndividualSpaceAllocationSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.allocated hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToIndividualSpaceAllocation:other]; } - (BOOL)isEqualToIndividualSpaceAllocation:(DBUSERSIndividualSpaceAllocation *)anIndividualSpaceAllocation { if (self == anIndividualSpaceAllocation) { return YES; } if (![self.allocated isEqual:anIndividualSpaceAllocation.allocated]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBUSERSIndividualSpaceAllocationSerializer + (NSDictionary *)serialize:(DBUSERSIndividualSpaceAllocation *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"allocated"] = valueObj.allocated; return jsonDict; } + (DBUSERSIndividualSpaceAllocation *)deserialize:(NSDictionary *)valueDict { NSNumber *allocated = valueDict[@"allocated"]; return [[DBUSERSIndividualSpaceAllocation alloc] initWithAllocated:allocated]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBUSERSName.h" #pragma mark - API Object @implementation DBUSERSName #pragma mark - Constructors - (instancetype)initWithGivenName:(NSString *)givenName surname:(NSString *)surname familiarName:(NSString *)familiarName displayName:(NSString *)displayName abbreviatedName:(NSString *)abbreviatedName { [DBStoneValidators nonnullValidator:nil](givenName); [DBStoneValidators nonnullValidator:nil](surname); [DBStoneValidators nonnullValidator:nil](familiarName); [DBStoneValidators nonnullValidator:nil](displayName); [DBStoneValidators nonnullValidator:nil](abbreviatedName); self = [super init]; if (self) { _givenName = givenName; _surname = surname; _familiarName = familiarName; _displayName = displayName; _abbreviatedName = abbreviatedName; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBUSERSNameSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBUSERSNameSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBUSERSNameSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.givenName hash]; result = prime * result + [self.surname hash]; result = prime * result + [self.familiarName hash]; result = prime * result + [self.displayName hash]; result = prime * result + [self.abbreviatedName hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToName:other]; } - (BOOL)isEqualToName:(DBUSERSName *)aName { if (self == aName) { return YES; } if (![self.givenName isEqual:aName.givenName]) { return NO; } if (![self.surname isEqual:aName.surname]) { return NO; } if (![self.familiarName isEqual:aName.familiarName]) { return NO; } if (![self.displayName isEqual:aName.displayName]) { return NO; } if (![self.abbreviatedName isEqual:aName.abbreviatedName]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBUSERSNameSerializer + (NSDictionary *)serialize:(DBUSERSName *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"given_name"] = valueObj.givenName; jsonDict[@"surname"] = valueObj.surname; jsonDict[@"familiar_name"] = valueObj.familiarName; jsonDict[@"display_name"] = valueObj.displayName; jsonDict[@"abbreviated_name"] = valueObj.abbreviatedName; return jsonDict; } + (DBUSERSName *)deserialize:(NSDictionary *)valueDict { NSString *givenName = valueDict[@"given_name"]; NSString *surname = valueDict[@"surname"]; NSString *familiarName = valueDict[@"familiar_name"]; NSString *displayName = valueDict[@"display_name"]; NSString *abbreviatedName = valueDict[@"abbreviated_name"]; return [[DBUSERSName alloc] initWithGivenName:givenName surname:surname familiarName:familiarName displayName:displayName abbreviatedName:abbreviatedName]; } @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" #import "DBUSERSSpaceAllocation.h" #import "DBUSERSTeamSpaceAllocation.h" #pragma mark - API Object @implementation DBUSERSSpaceAllocation @synthesize individual = _individual; @synthesize team = _team; #pragma mark - Constructors - (instancetype)initWithIndividual:(DBUSERSIndividualSpaceAllocation *)individual { self = [super init]; if (self) { _tag = DBUSERSSpaceAllocationIndividual; _individual = individual; } return self; } - (instancetype)initWithTeam:(DBUSERSTeamSpaceAllocation *)team { self = [super init]; if (self) { _tag = DBUSERSSpaceAllocationTeam; _team = team; } return self; } - (instancetype)initWithOther { self = [super init]; if (self) { _tag = DBUSERSSpaceAllocationOther; } return self; } #pragma mark - Instance field accessors - (DBUSERSIndividualSpaceAllocation *)individual { if (![self isIndividual]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBUSERSSpaceAllocationIndividual, but was %@.", [self tagName]]; } return _individual; } - (DBUSERSTeamSpaceAllocation *)team { if (![self isTeam]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required DBUSERSSpaceAllocationTeam, but was %@.", [self tagName]]; } return _team; } #pragma mark - Tag state methods - (BOOL)isIndividual { return _tag == DBUSERSSpaceAllocationIndividual; } - (BOOL)isTeam { return _tag == DBUSERSSpaceAllocationTeam; } - (BOOL)isOther { return _tag == DBUSERSSpaceAllocationOther; } - (NSString *)tagName { switch (_tag) { case DBUSERSSpaceAllocationIndividual: return @"DBUSERSSpaceAllocationIndividual"; case DBUSERSSpaceAllocationTeam: return @"DBUSERSSpaceAllocationTeam"; case DBUSERSSpaceAllocationOther: return @"DBUSERSSpaceAllocationOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBUSERSSpaceAllocationSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBUSERSSpaceAllocationSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBUSERSSpaceAllocationSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToSpaceAllocation:other]; } - (BOOL)isEqualToSpaceAllocation:(DBUSERSSpaceAllocation *)aSpaceAllocation { if (self == aSpaceAllocation) { return YES; } if (self.tag != aSpaceAllocation.tag) { return NO; } switch (_tag) { case DBUSERSSpaceAllocationIndividual: return [self.individual isEqual:aSpaceAllocation.individual]; case DBUSERSSpaceAllocationTeam: return [self.team isEqual:aSpaceAllocation.team]; case DBUSERSSpaceAllocationOther: return [[self tagName] isEqual:[aSpaceAllocation tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBUSERSSpaceAllocationSerializer + (NSDictionary *)serialize:(DBUSERSSpaceAllocation *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isIndividual]) { [jsonDict addEntriesFromDictionary:[DBUSERSIndividualSpaceAllocationSerializer serialize:valueObj.individual]]; jsonDict[@".tag"] = @"individual"; } else if ([valueObj isTeam]) { [jsonDict addEntriesFromDictionary:[DBUSERSTeamSpaceAllocationSerializer serialize:valueObj.team]]; jsonDict[@".tag"] = @"team"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } return jsonDict; } + (DBUSERSSpaceAllocation *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"individual"]) { DBUSERSIndividualSpaceAllocation *individual = [DBUSERSIndividualSpaceAllocationSerializer deserialize:valueDict]; return [[DBUSERSSpaceAllocation alloc] initWithIndividual:individual]; } else if ([tag isEqualToString:@"team"]) { DBUSERSTeamSpaceAllocation *team = [DBUSERSTeamSpaceAllocationSerializer deserialize:valueDict]; return [[DBUSERSSpaceAllocation alloc] initWithTeam:team]; } else if ([tag isEqualToString:@"other"]) { return [[DBUSERSSpaceAllocation alloc] initWithOther]; } else { return [[DBUSERSSpaceAllocation alloc] initWithOther]; } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBUSERSSpaceAllocation.h" #import "DBUSERSSpaceUsage.h" #pragma mark - API Object @implementation DBUSERSSpaceUsage #pragma mark - Constructors - (instancetype)initWithUsed:(NSNumber *)used allocation:(DBUSERSSpaceAllocation *)allocation { [DBStoneValidators nonnullValidator:nil](used); [DBStoneValidators nonnullValidator:nil](allocation); self = [super init]; if (self) { _used = used; _allocation = allocation; } return self; } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBUSERSSpaceUsageSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBUSERSSpaceUsageSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBUSERSSpaceUsageSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; result = prime * result + [self.used hash]; result = prime * result + [self.allocation hash]; return prime * result; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToSpaceUsage:other]; } - (BOOL)isEqualToSpaceUsage:(DBUSERSSpaceUsage *)aSpaceUsage { if (self == aSpaceUsage) { return YES; } if (![self.used isEqual:aSpaceUsage.used]) { return NO; } if (![self.allocation isEqual:aSpaceUsage.allocation]) { return NO; } return YES; } @end #pragma mark - Serializer Object @implementation DBUSERSSpaceUsageSerializer + (NSDictionary *)serialize:(DBUSERSSpaceUsage *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"used"] = valueObj.used; jsonDict[@"allocation"] = [DBUSERSSpaceAllocationSerializer serialize:valueObj.allocation]; return jsonDict; } + (DBUSERSSpaceUsage *)deserialize:(NSDictionary *)valueDict { NSNumber *used = valueDict[@"used"]; DBUSERSSpaceAllocation *allocation = [DBUSERSSpaceAllocationSerializer deserialize:valueDict[@"allocation"]]; return [[DBUSERSSpaceUsage alloc] initWithUsed:used allocation:allocation]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMCOMMONMemberSpaceLimitType.h" #import "DBUSERSTeamSpaceAllocation.h" #pragma mark - API Object @implementation DBUSERSTeamSpaceAllocation #pragma mark - Constructors - (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 { return [DBUSERSTeamSpaceAllocationSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBUSERSTeamSpaceAllocationSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBUSERSTeamSpaceAllocationSerializer serialize:self] description]; } #pragma mark - Copyable method - (instancetype)copyWithZone:(NSZone *)zone { #pragma unused(zone) /// object is immutable return self; } #pragma mark - Hash method - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToTeamSpaceAllocation:other]; } - (BOOL)isEqualToTeamSpaceAllocation:(DBUSERSTeamSpaceAllocation *)aTeamSpaceAllocation { if (self == aTeamSpaceAllocation) { return YES; } if (![self.used isEqual:aTeamSpaceAllocation.used]) { return NO; } 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; } @end #pragma mark - Serializer Object @implementation DBUSERSTeamSpaceAllocationSerializer + (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; } + (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 [[DBUSERSUserFeaturesGetValuesBatchResult alloc] initWithValues:values]; } @end ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Users/Headers/DBUSERSAccount.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBUSERSAccount; @class DBUSERSName; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `Account` struct. /// /// The amount of detail revealed about an account depends on the user being /// queried and the user making the query. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBUSERSAccount : NSObject #pragma mark - Instance fields /// The user's unique Dropbox ID. @property (nonatomic, readonly, copy) NSString *accountId; /// Details of a user's name. @property (nonatomic, readonly) DBUSERSName *name; /// 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 email. @property (nonatomic, readonly, copy) NSString *email; /// Whether the user has verified their email address. @property (nonatomic, readonly) NSNumber *emailVerified; /// URL for the photo representing the user, if one is set. @property (nonatomic, readonly, copy, nullable) NSString *profilePhotoUrl; /// Whether the user has been disabled. @property (nonatomic, readonly) NSNumber *disabled; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param accountId The user's unique Dropbox ID. /// @param name Details of a user's name. /// @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 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. /// /// @return An initialized instance. /// - (instancetype)initWithAccountId:(NSString *)accountId name:(DBUSERSName *)name email:(NSString *)email emailVerified:(NSNumber *)emailVerified disabled:(NSNumber *)disabled profilePhotoUrl:(nullable NSString *)profilePhotoUrl; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param accountId The user's unique Dropbox ID. /// @param name Details of a user's name. /// @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 email. /// @param emailVerified Whether the user has verified their email address. /// @param disabled Whether the user has been disabled. /// /// @return An initialized instance. /// - (instancetype)initWithAccountId:(NSString *)accountId name:(DBUSERSName *)name email:(NSString *)email emailVerified:(NSNumber *)emailVerified disabled:(NSNumber *)disabled; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `Account` struct. /// @interface DBUSERSAccountSerializer : NSObject /// /// Serializes `DBUSERSAccount` instances. /// /// @param instance An instance of the `DBUSERSAccount` API object. /// /// @return A json-compatible dictionary representation of the `DBUSERSAccount` /// API object. /// + (nullable NSDictionary *)serialize:(DBUSERSAccount *)instance; /// /// Deserializes `DBUSERSAccount` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBUSERSAccount` API object. /// /// @return An instantiation of the `DBUSERSAccount` object. /// + (DBUSERSAccount *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Users/Headers/DBUSERSBasicAccount.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" #import "DBUSERSAccount.h" @class DBUSERSBasicAccount; @class DBUSERSName; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `BasicAccount` struct. /// /// Basic information about any account. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBUSERSBasicAccount : DBUSERSAccount #pragma mark - Instance fields /// Whether this user is a teammate of the current user. If this account is the /// current user's account, then this will be true. @property (nonatomic, readonly) NSNumber *isTeammate; /// The user's unique team member id. This field will only be present if the /// user is part of a team and isTeammate is true. @property (nonatomic, readonly, copy, nullable) NSString *teamMemberId; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param accountId The user's unique Dropbox ID. /// @param name Details of a user's name. /// @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 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. /// @param profilePhotoUrl URL for the photo representing the user, if one is /// set. /// @param teamMemberId The user's unique team member id. This field will only /// be present if the user is part of a team and isTeammate is true. /// /// @return An initialized instance. /// - (instancetype)initWithAccountId:(NSString *)accountId name:(DBUSERSName *)name email:(NSString *)email emailVerified:(NSNumber *)emailVerified disabled:(NSNumber *)disabled isTeammate:(NSNumber *)isTeammate profilePhotoUrl:(nullable NSString *)profilePhotoUrl teamMemberId:(nullable NSString *)teamMemberId; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param accountId The user's unique Dropbox ID. /// @param name Details of a user's name. /// @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 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. /// /// @return An initialized instance. /// - (instancetype)initWithAccountId:(NSString *)accountId name:(DBUSERSName *)name email:(NSString *)email emailVerified:(NSNumber *)emailVerified disabled:(NSNumber *)disabled isTeammate:(NSNumber *)isTeammate; @end #pragma mark - Serializer Object /// /// The serialization class for the `BasicAccount` struct. /// @interface DBUSERSBasicAccountSerializer : NSObject /// /// Serializes `DBUSERSBasicAccount` instances. /// /// @param instance An instance of the `DBUSERSBasicAccount` API object. /// /// @return A json-compatible dictionary representation of the /// `DBUSERSBasicAccount` API object. /// + (nullable NSDictionary *)serialize:(DBUSERSBasicAccount *)instance; /// /// Deserializes `DBUSERSBasicAccount` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBUSERSBasicAccount` API object. /// /// @return An instantiation of the `DBUSERSBasicAccount` object. /// + (DBUSERSBasicAccount *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Users/Headers/DBUSERSFileLockingValue.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Users/Headers/DBUSERSFullAccount.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" #import "DBUSERSAccount.h" @class DBCOMMONRootInfo; @class DBUSERSCOMMONAccountType; @class DBUSERSFullAccount; @class DBUSERSFullTeam; @class DBUSERSName; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `FullAccount` struct. /// /// Detailed information about the current user's account. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBUSERSFullAccount : DBUSERSAccount #pragma mark - Instance fields /// The user's two-letter country code, if available. Country codes are based on /// ISO 3166-1 http://en.wikipedia.org/wiki/ISO_3166-1. @property (nonatomic, readonly, copy, nullable) NSString *country; /// The language that the user specified. Locale tags will be IETF language tags /// http://en.wikipedia.org/wiki/IETF_language_tag. @property (nonatomic, readonly, copy) NSString *locale; /// The user's referral link https://www.dropbox.com/referrals. @property (nonatomic, readonly, copy) NSString *referralLink; /// If this account is a member of a team, information about that team. @property (nonatomic, readonly, nullable) DBUSERSFullTeam *team; /// This account's unique team member id. This field will only be present if /// team is present. @property (nonatomic, readonly, copy, nullable) NSString *teamMemberId; /// Whether the user has a personal and work account. If the current account is /// personal, then team will always be null, but isPaired will indicate if a /// work account is linked. @property (nonatomic, readonly) NSNumber *isPaired; /// What type of account this user has. @property (nonatomic, readonly) DBUSERSCOMMONAccountType *accountType; /// The root info for this account. @property (nonatomic, readonly) DBCOMMONRootInfo *rootInfo; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param accountId The user's unique Dropbox ID. /// @param name Details of a user's name. /// @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 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. /// @param referralLink The user's referral link /// https://www.dropbox.com/referrals. /// @param isPaired Whether the user has a personal and work account. If the /// current account is personal, then team will always be null, but isPaired /// will indicate if a work account is linked. /// @param accountType What type of account this user has. /// @param rootInfo The root info for this account. /// @param profilePhotoUrl URL for the photo representing the user, if one is /// set. /// @param country The user's two-letter country code, if available. Country /// codes are based on ISO 3166-1 http://en.wikipedia.org/wiki/ISO_3166-1. /// @param team If this account is a member of a team, information about that /// team. /// @param teamMemberId This account's unique team member id. This field will /// only be present if team is present. /// /// @return An initialized instance. /// - (instancetype)initWithAccountId:(NSString *)accountId name:(DBUSERSName *)name email:(NSString *)email emailVerified:(NSNumber *)emailVerified disabled:(NSNumber *)disabled locale:(NSString *)locale referralLink:(NSString *)referralLink isPaired:(NSNumber *)isPaired accountType:(DBUSERSCOMMONAccountType *)accountType rootInfo:(DBCOMMONRootInfo *)rootInfo profilePhotoUrl:(nullable NSString *)profilePhotoUrl country:(nullable NSString *)country team:(nullable DBUSERSFullTeam *)team teamMemberId:(nullable NSString *)teamMemberId; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param accountId The user's unique Dropbox ID. /// @param name Details of a user's name. /// @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 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. /// @param referralLink The user's referral link /// https://www.dropbox.com/referrals. /// @param isPaired Whether the user has a personal and work account. If the /// current account is personal, then team will always be null, but isPaired /// will indicate if a work account is linked. /// @param accountType What type of account this user has. /// @param rootInfo The root info for this account. /// /// @return An initialized instance. /// - (instancetype)initWithAccountId:(NSString *)accountId name:(DBUSERSName *)name email:(NSString *)email emailVerified:(NSNumber *)emailVerified disabled:(NSNumber *)disabled locale:(NSString *)locale referralLink:(NSString *)referralLink isPaired:(NSNumber *)isPaired accountType:(DBUSERSCOMMONAccountType *)accountType rootInfo:(DBCOMMONRootInfo *)rootInfo; @end #pragma mark - Serializer Object /// /// The serialization class for the `FullAccount` struct. /// @interface DBUSERSFullAccountSerializer : NSObject /// /// Serializes `DBUSERSFullAccount` instances. /// /// @param instance An instance of the `DBUSERSFullAccount` API object. /// /// @return A json-compatible dictionary representation of the /// `DBUSERSFullAccount` API object. /// + (nullable NSDictionary *)serialize:(DBUSERSFullAccount *)instance; /// /// Deserializes `DBUSERSFullAccount` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBUSERSFullAccount` API object. /// /// @return An instantiation of the `DBUSERSFullAccount` object. /// + (DBUSERSFullAccount *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Users/Headers/DBUSERSFullTeam.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" #import "DBUSERSTeam.h" @class DBTEAMPOLICIESOfficeAddInPolicy; @class DBTEAMPOLICIESTeamSharingPolicies; @class DBUSERSFullTeam; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `FullTeam` struct. /// /// Detailed information about a team. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBUSERSFullTeam : DBUSERSTeam #pragma mark - Instance fields /// Team policies governing sharing. @property (nonatomic, readonly) DBTEAMPOLICIESTeamSharingPolicies *sharingPolicies; /// Team policy governing the use of the Office Add-In. @property (nonatomic, readonly) DBTEAMPOLICIESOfficeAddInPolicy *officeAddinPolicy; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param id_ The team's unique ID. /// @param name The name of the team. /// @param sharingPolicies Team policies governing sharing. /// @param officeAddinPolicy Team policy governing the use of the Office Add-In. /// /// @return An initialized instance. /// - (instancetype)initWithId_:(NSString *)id_ name:(NSString *)name sharingPolicies:(DBTEAMPOLICIESTeamSharingPolicies *)sharingPolicies officeAddinPolicy:(DBTEAMPOLICIESOfficeAddInPolicy *)officeAddinPolicy; @end #pragma mark - Serializer Object /// /// The serialization class for the `FullTeam` struct. /// @interface DBUSERSFullTeamSerializer : NSObject /// /// Serializes `DBUSERSFullTeam` instances. /// /// @param instance An instance of the `DBUSERSFullTeam` API object. /// /// @return A json-compatible dictionary representation of the `DBUSERSFullTeam` /// API object. /// + (nullable NSDictionary *)serialize:(DBUSERSFullTeam *)instance; /// /// Deserializes `DBUSERSFullTeam` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBUSERSFullTeam` API object. /// /// @return An instantiation of the `DBUSERSFullTeam` object. /// + (DBUSERSFullTeam *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Users/Headers/DBUSERSGetAccountArg.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBUSERSGetAccountArg; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `GetAccountArg` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBUSERSGetAccountArg : NSObject #pragma mark - Instance fields /// A user's account identifier. @property (nonatomic, readonly, copy) NSString *accountId; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param accountId A user's account identifier. /// /// @return An initialized instance. /// - (instancetype)initWithAccountId:(NSString *)accountId; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `GetAccountArg` struct. /// @interface DBUSERSGetAccountArgSerializer : NSObject /// /// Serializes `DBUSERSGetAccountArg` instances. /// /// @param instance An instance of the `DBUSERSGetAccountArg` API object. /// /// @return A json-compatible dictionary representation of the /// `DBUSERSGetAccountArg` API object. /// + (nullable NSDictionary *)serialize:(DBUSERSGetAccountArg *)instance; /// /// Deserializes `DBUSERSGetAccountArg` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBUSERSGetAccountArg` API object. /// /// @return An instantiation of the `DBUSERSGetAccountArg` object. /// + (DBUSERSGetAccountArg *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Users/Headers/DBUSERSGetAccountBatchArg.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBUSERSGetAccountBatchArg; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `GetAccountBatchArg` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBUSERSGetAccountBatchArg : NSObject #pragma mark - Instance fields /// List of user account identifiers. Should not contain any duplicate account /// IDs. @property (nonatomic, readonly) NSArray *accountIds; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param accountIds List of user account identifiers. Should not contain any /// duplicate account IDs. /// /// @return An initialized instance. /// - (instancetype)initWithAccountIds:(NSArray *)accountIds; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `GetAccountBatchArg` struct. /// @interface DBUSERSGetAccountBatchArgSerializer : NSObject /// /// Serializes `DBUSERSGetAccountBatchArg` instances. /// /// @param instance An instance of the `DBUSERSGetAccountBatchArg` API object. /// /// @return A json-compatible dictionary representation of the /// `DBUSERSGetAccountBatchArg` API object. /// + (nullable NSDictionary *)serialize:(DBUSERSGetAccountBatchArg *)instance; /// /// Deserializes `DBUSERSGetAccountBatchArg` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBUSERSGetAccountBatchArg` API object. /// /// @return An instantiation of the `DBUSERSGetAccountBatchArg` object. /// + (DBUSERSGetAccountBatchArg *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Users/Headers/DBUSERSGetAccountBatchError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBUSERSGetAccountBatchError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `GetAccountBatchError` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBUSERSGetAccountBatchError : NSObject #pragma mark - Instance fields /// The `DBUSERSGetAccountBatchErrorTag` enum type represents the possible tag /// states with which the `DBUSERSGetAccountBatchError` union can exist. 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, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBUSERSGetAccountBatchErrorTag tag; /// The value is an account ID specified in `accountIds` in /// `DBUSERSGetAccountBatchArg` that does not exist. @note Ensure the /// `isNoAccount` method returns true before accessing, otherwise a runtime /// exception will be raised. @property (nonatomic, readonly, copy) NSString *noAccount; #pragma mark - Constructors /// /// Initializes union class with tag state of "no_account". /// /// Description of the "no_account" tag state: The value is an account ID /// specified in `accountIds` in `DBUSERSGetAccountBatchArg` that does not /// exist. /// /// @param noAccount The value is an account ID specified in `accountIds` in /// `DBUSERSGetAccountBatchArg` that does not exist. /// /// @return An initialized instance. /// - (instancetype)initWithNoAccount:(NSString *)noAccount; /// /// 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_account". /// /// @note Call this method and ensure it returns true before accessing the /// `noAccount` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value "no_account". /// - (BOOL)isNoAccount; /// /// 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 `DBUSERSGetAccountBatchError` union. /// @interface DBUSERSGetAccountBatchErrorSerializer : NSObject /// /// Serializes `DBUSERSGetAccountBatchError` instances. /// /// @param instance An instance of the `DBUSERSGetAccountBatchError` API object. /// /// @return A json-compatible dictionary representation of the /// `DBUSERSGetAccountBatchError` API object. /// + (nullable NSDictionary *)serialize:(DBUSERSGetAccountBatchError *)instance; /// /// Deserializes `DBUSERSGetAccountBatchError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBUSERSGetAccountBatchError` API object. /// /// @return An instantiation of the `DBUSERSGetAccountBatchError` object. /// + (DBUSERSGetAccountBatchError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Users/Headers/DBUSERSGetAccountError.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBUSERSGetAccountError; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `GetAccountError` union. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBUSERSGetAccountError : NSObject #pragma mark - Instance fields /// The `DBUSERSGetAccountErrorTag` enum type represents the possible tag states /// with which the `DBUSERSGetAccountError` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBUSERSGetAccountErrorTag){ /// The specified `accountId` in `DBUSERSGetAccountArg` does not exist. DBUSERSGetAccountErrorNoAccount, /// (no description). DBUSERSGetAccountErrorOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBUSERSGetAccountErrorTag tag; #pragma mark - Constructors /// /// Initializes union class with tag state of "no_account". /// /// Description of the "no_account" tag state: The specified `accountId` in /// `DBUSERSGetAccountArg` does not exist. /// /// @return An initialized instance. /// - (instancetype)initWithNoAccount; /// /// 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_account". /// /// @return Whether the union's current tag state has value "no_account". /// - (BOOL)isNoAccount; /// /// 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 `DBUSERSGetAccountError` union. /// @interface DBUSERSGetAccountErrorSerializer : NSObject /// /// Serializes `DBUSERSGetAccountError` instances. /// /// @param instance An instance of the `DBUSERSGetAccountError` API object. /// /// @return A json-compatible dictionary representation of the /// `DBUSERSGetAccountError` API object. /// + (nullable NSDictionary *)serialize:(DBUSERSGetAccountError *)instance; /// /// Deserializes `DBUSERSGetAccountError` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBUSERSGetAccountError` API object. /// /// @return An instantiation of the `DBUSERSGetAccountError` object. /// + (DBUSERSGetAccountError *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Users/Headers/DBUSERSIndividualSpaceAllocation.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBUSERSIndividualSpaceAllocation; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `IndividualSpaceAllocation` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBUSERSIndividualSpaceAllocation : NSObject #pragma mark - Instance fields /// The total space allocated to the user's account (bytes). @property (nonatomic, readonly) NSNumber *allocated; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param allocated The total space allocated to the user's account (bytes). /// /// @return An initialized instance. /// - (instancetype)initWithAllocated:(NSNumber *)allocated; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `IndividualSpaceAllocation` struct. /// @interface DBUSERSIndividualSpaceAllocationSerializer : NSObject /// /// Serializes `DBUSERSIndividualSpaceAllocation` instances. /// /// @param instance An instance of the `DBUSERSIndividualSpaceAllocation` API /// object. /// /// @return A json-compatible dictionary representation of the /// `DBUSERSIndividualSpaceAllocation` API object. /// + (nullable NSDictionary *)serialize:(DBUSERSIndividualSpaceAllocation *)instance; /// /// Deserializes `DBUSERSIndividualSpaceAllocation` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBUSERSIndividualSpaceAllocation` API object. /// /// @return An instantiation of the `DBUSERSIndividualSpaceAllocation` object. /// + (DBUSERSIndividualSpaceAllocation *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Users/Headers/DBUSERSName.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBUSERSName; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `Name` struct. /// /// Representations for a person's name to assist with internationalization. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBUSERSName : NSObject #pragma mark - Instance fields /// Also known as a first name. @property (nonatomic, readonly, copy) NSString *givenName; /// Also known as a last name or family name. @property (nonatomic, readonly, copy) NSString *surname; /// Locale-dependent name. In the US, a person's familiar name is their /// givenName, but elsewhere, it could be any combination of a person's /// givenName and surname. @property (nonatomic, readonly, copy) NSString *familiarName; /// A name that can be used directly to represent the name of a user's Dropbox /// account. @property (nonatomic, readonly, copy) NSString *displayName; /// An abbreviated form of the person's name. Their initials in most locales. @property (nonatomic, readonly, copy) NSString *abbreviatedName; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param givenName Also known as a first name. /// @param surname Also known as a last name or family name. /// @param familiarName Locale-dependent name. In the US, a person's familiar /// name is their givenName, but elsewhere, it could be any combination of a /// person's givenName and surname. /// @param displayName A name that can be used directly to represent the name of /// a user's Dropbox account. /// @param abbreviatedName An abbreviated form of the person's name. Their /// initials in most locales. /// /// @return An initialized instance. /// - (instancetype)initWithGivenName:(NSString *)givenName surname:(NSString *)surname familiarName:(NSString *)familiarName displayName:(NSString *)displayName abbreviatedName:(NSString *)abbreviatedName; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `Name` struct. /// @interface DBUSERSNameSerializer : NSObject /// /// Serializes `DBUSERSName` instances. /// /// @param instance An instance of the `DBUSERSName` API object. /// /// @return A json-compatible dictionary representation of the `DBUSERSName` API /// object. /// + (nullable NSDictionary *)serialize:(DBUSERSName *)instance; /// /// Deserializes `DBUSERSName` instances. /// /// @param dict A json-compatible dictionary representation of the `DBUSERSName` /// API object. /// /// @return An instantiation of the `DBUSERSName` object. /// + (DBUSERSName *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Users/Headers/DBUSERSPaperAsFilesValue.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Users/Headers/DBUSERSSpaceAllocation.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBUSERSIndividualSpaceAllocation; @class DBUSERSSpaceAllocation; @class DBUSERSTeamSpaceAllocation; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `SpaceAllocation` union. /// /// Space is allocated differently based on the type of account. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBUSERSSpaceAllocation : NSObject #pragma mark - Instance fields /// The `DBUSERSSpaceAllocationTag` enum type represents the possible tag states /// with which the `DBUSERSSpaceAllocation` union can exist. 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, /// (no description). DBUSERSSpaceAllocationOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBUSERSSpaceAllocationTag tag; /// The user's space allocation applies only to their individual account. @note /// Ensure the `isIndividual` method returns true before accessing, otherwise a /// runtime exception will be raised. @property (nonatomic, readonly) DBUSERSIndividualSpaceAllocation *individual; /// The user shares space with other members of their team. @note Ensure the /// `isTeam` method returns true before accessing, otherwise a runtime exception /// will be raised. @property (nonatomic, readonly) DBUSERSTeamSpaceAllocation *team; #pragma mark - Constructors /// /// Initializes union class with tag state of "individual". /// /// Description of the "individual" tag state: The user's space allocation /// applies only to their individual account. /// /// @param individual The user's space allocation applies only to their /// individual account. /// /// @return An initialized instance. /// - (instancetype)initWithIndividual:(DBUSERSIndividualSpaceAllocation *)individual; /// /// Initializes union class with tag state of "team". /// /// Description of the "team" tag state: The user shares space with other /// members of their team. /// /// @param team The user shares space with other members of their team. /// /// @return An initialized instance. /// - (instancetype)initWithTeam:(DBUSERSTeamSpaceAllocation *)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 "individual". /// /// @note Call this method and ensure it returns true before accessing the /// `individual` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value "individual". /// - (BOOL)isIndividual; /// /// 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 `DBUSERSSpaceAllocation` union. /// @interface DBUSERSSpaceAllocationSerializer : NSObject /// /// Serializes `DBUSERSSpaceAllocation` instances. /// /// @param instance An instance of the `DBUSERSSpaceAllocation` API object. /// /// @return A json-compatible dictionary representation of the /// `DBUSERSSpaceAllocation` API object. /// + (nullable NSDictionary *)serialize:(DBUSERSSpaceAllocation *)instance; /// /// Deserializes `DBUSERSSpaceAllocation` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBUSERSSpaceAllocation` API object. /// /// @return An instantiation of the `DBUSERSSpaceAllocation` object. /// + (DBUSERSSpaceAllocation *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Users/Headers/DBUSERSSpaceUsage.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBUSERSSpaceAllocation; @class DBUSERSSpaceUsage; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `SpaceUsage` struct. /// /// Information about a user's space usage and quota. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBUSERSSpaceUsage : NSObject #pragma mark - Instance fields /// The user's total space usage (bytes). @property (nonatomic, readonly) NSNumber *used; /// The user's space allocation. @property (nonatomic, readonly) DBUSERSSpaceAllocation *allocation; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param used The user's total space usage (bytes). /// @param allocation The user's space allocation. /// /// @return An initialized instance. /// - (instancetype)initWithUsed:(NSNumber *)used allocation:(DBUSERSSpaceAllocation *)allocation; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `SpaceUsage` struct. /// @interface DBUSERSSpaceUsageSerializer : NSObject /// /// Serializes `DBUSERSSpaceUsage` instances. /// /// @param instance An instance of the `DBUSERSSpaceUsage` API object. /// /// @return A json-compatible dictionary representation of the /// `DBUSERSSpaceUsage` API object. /// + (nullable NSDictionary *)serialize:(DBUSERSSpaceUsage *)instance; /// /// Deserializes `DBUSERSSpaceUsage` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBUSERSSpaceUsage` API object. /// /// @return An instantiation of the `DBUSERSSpaceUsage` object. /// + (DBUSERSSpaceUsage *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Users/Headers/DBUSERSTeam.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBUSERSTeam; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `Team` struct. /// /// Information about a team. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBUSERSTeam : NSObject #pragma mark - Instance fields /// The team's unique ID. @property (nonatomic, readonly, copy) NSString *id_; /// The name of the team. @property (nonatomic, readonly, copy) NSString *name; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param id_ The team's unique ID. /// @param name The name of the team. /// /// @return An initialized instance. /// - (instancetype)initWithId_:(NSString *)id_ name:(NSString *)name; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `Team` struct. /// @interface DBUSERSTeamSerializer : NSObject /// /// Serializes `DBUSERSTeam` instances. /// /// @param instance An instance of the `DBUSERSTeam` API object. /// /// @return A json-compatible dictionary representation of the `DBUSERSTeam` API /// object. /// + (nullable NSDictionary *)serialize:(DBUSERSTeam *)instance; /// /// Deserializes `DBUSERSTeam` instances. /// /// @param dict A json-compatible dictionary representation of the `DBUSERSTeam` /// API object. /// /// @return An instantiation of the `DBUSERSTeam` object. /// + (DBUSERSTeam *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Users/Headers/DBUSERSTeamSpaceAllocation.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBTEAMCOMMONMemberSpaceLimitType; @class DBUSERSTeamSpaceAllocation; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `TeamSpaceAllocation` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBUSERSTeamSpaceAllocation : NSObject #pragma mark - Instance fields /// The total space currently used by the user's team (bytes). @property (nonatomic, readonly) NSNumber *used; /// 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 /// /// Full constructor for the struct (exposes all instance variables). /// /// @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 userWithinTeamSpaceAllocated:(NSNumber *)userWithinTeamSpaceAllocated userWithinTeamSpaceLimitType:(DBTEAMCOMMONMemberSpaceLimitType *)userWithinTeamSpaceLimitType userWithinTeamSpaceUsedCached:(NSNumber *)userWithinTeamSpaceUsedCached; - (instancetype)init NS_UNAVAILABLE; @end #pragma mark - Serializer Object /// /// The serialization class for the `TeamSpaceAllocation` struct. /// @interface DBUSERSTeamSpaceAllocationSerializer : NSObject /// /// Serializes `DBUSERSTeamSpaceAllocation` instances. /// /// @param instance An instance of the `DBUSERSTeamSpaceAllocation` API object. /// /// @return A json-compatible dictionary representation of the /// `DBUSERSTeamSpaceAllocation` API object. /// + (nullable NSDictionary *)serialize:(DBUSERSTeamSpaceAllocation *)instance; /// /// Deserializes `DBUSERSTeamSpaceAllocation` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBUSERSTeamSpaceAllocation` API object. /// /// @return An instantiation of the `DBUSERSTeamSpaceAllocation` object. /// + (DBUSERSTeamSpaceAllocation *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Users/Headers/DBUSERSUserFeature.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Users/Headers/DBUSERSUserFeatureValue.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Users/Headers/DBUSERSUserFeaturesGetValuesBatchArg.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Users/Headers/DBUSERSUserFeaturesGetValuesBatchError.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Users/Headers/DBUSERSUserFeaturesGetValuesBatchResult.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/UsersCommon/DBUsersCommonObjects.m ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// /// Arguments, results, and errors for the `UsersCommon` namespace. #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBUSERSCOMMONAccountType.h" #pragma mark - API Object @implementation DBUSERSCOMMONAccountType #pragma mark - Constructors - (instancetype)initWithBasic { self = [super init]; if (self) { _tag = DBUSERSCOMMONAccountTypeBasic; } return self; } - (instancetype)initWithPro { self = [super init]; if (self) { _tag = DBUSERSCOMMONAccountTypePro; } return self; } - (instancetype)initWithBusiness { self = [super init]; if (self) { _tag = DBUSERSCOMMONAccountTypeBusiness; } return self; } #pragma mark - Instance field accessors #pragma mark - Tag state methods - (BOOL)isBasic { return _tag == DBUSERSCOMMONAccountTypeBasic; } - (BOOL)isPro { return _tag == DBUSERSCOMMONAccountTypePro; } - (BOOL)isBusiness { return _tag == DBUSERSCOMMONAccountTypeBusiness; } - (NSString *)tagName { switch (_tag) { case DBUSERSCOMMONAccountTypeBasic: return @"DBUSERSCOMMONAccountTypeBasic"; case DBUSERSCOMMONAccountTypePro: return @"DBUSERSCOMMONAccountTypePro"; case DBUSERSCOMMONAccountTypeBusiness: return @"DBUSERSCOMMONAccountTypeBusiness"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods + (nullable NSDictionary *)serialize:(id)instance { return [DBUSERSCOMMONAccountTypeSerializer serialize:instance]; } + (id)deserialize:(NSDictionary *)dict { return [DBUSERSCOMMONAccountTypeSerializer deserialize:dict]; } #pragma mark - Debug Description method - (NSString *)debugDescription { return [[DBUSERSCOMMONAccountTypeSerializer serialize:self] description]; } #pragma mark - Copyable method - (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 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; } #pragma mark - Equality method - (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } return [self isEqualToAccountType:other]; } - (BOOL)isEqualToAccountType:(DBUSERSCOMMONAccountType *)anAccountType { if (self == anAccountType) { return YES; } if (self.tag != anAccountType.tag) { return NO; } switch (_tag) { case DBUSERSCOMMONAccountTypeBasic: return [[self tagName] isEqual:[anAccountType tagName]]; case DBUSERSCOMMONAccountTypePro: return [[self tagName] isEqual:[anAccountType tagName]]; case DBUSERSCOMMONAccountTypeBusiness: return [[self tagName] isEqual:[anAccountType tagName]]; } return YES; } @end #pragma mark - Serializer Object @implementation DBUSERSCOMMONAccountTypeSerializer + (NSDictionary *)serialize:(DBUSERSCOMMONAccountType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isBasic]) { jsonDict[@".tag"] = @"basic"; } else if ([valueObj isPro]) { jsonDict[@".tag"] = @"pro"; } else if ([valueObj isBusiness]) { jsonDict[@".tag"] = @"business"; } else { @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Object not properly initialized. Tag has an unknown value." userInfo:nil]); } return jsonDict; } + (DBUSERSCOMMONAccountType *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"basic"]) { return [[DBUSERSCOMMONAccountType alloc] initWithBasic]; } else if ([tag isEqualToString:@"pro"]) { return [[DBUSERSCOMMONAccountType alloc] initWithPro]; } else if ([tag isEqualToString:@"business"]) { return [[DBUSERSCOMMONAccountType alloc] initWithBusiness]; } else { @throw([NSException exceptionWithName:@"InvalidTag" reason:[NSString stringWithFormat:@"Tag has an invalid value: \"%@\".", valueDict[@".tag"]] userInfo:nil]); } } @end ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/UsersCommon/Headers/DBUSERSCOMMONAccountType.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBSerializableProtocol.h" @class DBUSERSCOMMONAccountType; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `AccountType` union. /// /// What type of account this user has. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// @interface DBUSERSCOMMONAccountType : NSObject #pragma mark - Instance fields /// The `DBUSERSCOMMONAccountTypeTag` enum type represents the possible tag /// states with which the `DBUSERSCOMMONAccountType` union can exist. typedef NS_CLOSED_ENUM(NSInteger, DBUSERSCOMMONAccountTypeTag){ /// The basic account type. DBUSERSCOMMONAccountTypeBasic, /// The Dropbox Pro account type. DBUSERSCOMMONAccountTypePro, /// The Dropbox Business account type. DBUSERSCOMMONAccountTypeBusiness, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBUSERSCOMMONAccountTypeTag tag; #pragma mark - Constructors /// /// Initializes union class with tag state of "basic". /// /// Description of the "basic" tag state: The basic account type. /// /// @return An initialized instance. /// - (instancetype)initWithBasic; /// /// Initializes union class with tag state of "pro". /// /// Description of the "pro" tag state: The Dropbox Pro account type. /// /// @return An initialized instance. /// - (instancetype)initWithPro; /// /// Initializes union class with tag state of "business". /// /// Description of the "business" tag state: The Dropbox Business account type. /// /// @return An initialized instance. /// - (instancetype)initWithBusiness; - (instancetype)init NS_UNAVAILABLE; #pragma mark - Tag state methods /// /// Retrieves whether the union's current tag state has value "basic". /// /// @return Whether the union's current tag state has value "basic". /// - (BOOL)isBasic; /// /// Retrieves whether the union's current tag state has value "pro". /// /// @return Whether the union's current tag state has value "pro". /// - (BOOL)isPro; /// /// Retrieves whether the union's current tag state has value "business". /// /// @return Whether the union's current tag state has value "business". /// - (BOOL)isBusiness; /// /// 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 `DBUSERSCOMMONAccountType` union. /// @interface DBUSERSCOMMONAccountTypeSerializer : NSObject /// /// Serializes `DBUSERSCOMMONAccountType` instances. /// /// @param instance An instance of the `DBUSERSCOMMONAccountType` API object. /// /// @return A json-compatible dictionary representation of the /// `DBUSERSCOMMONAccountType` API object. /// + (nullable NSDictionary *)serialize:(DBUSERSCOMMONAccountType *)instance; /// /// Deserializes `DBUSERSCOMMONAccountType` instances. /// /// @param dict A json-compatible dictionary representation of the /// `DBUSERSCOMMONAccountType` API object. /// /// @return An instantiation of the `DBUSERSCOMMONAccountType` object. /// + (DBUSERSCOMMONAccountType *)deserialize:(NSDictionary *)dict; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/Client/DBAppBaseClient.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import "DBAUTHAppAuthRoutes.h" #import "DBCHECKAppAuthRoutes.h" #import "DBFILESAppAuthRoutes.h" #import "DBRequestErrors.h" #import "DBSHARINGAppAuthRoutes.h" #import "DBTasks.h" #import NS_ASSUME_NONNULL_BEGIN @protocol DBTransportClient; /// /// Base client object that contains an instance field for each namespace, each /// of which contains references to all routes within that namespace. /// Fully-implemented API clients will inherit this class. /// @interface DBAppBaseClient : NSObject { @protected id _transportClient; } /// 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; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/Client/DBAppBaseClient.m ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import "DBAppBaseClient.h" #import "DBAUTHAppAuthRoutes.h" #import "DBCHECKAppAuthRoutes.h" #import "DBFILESAppAuthRoutes.h" #import "DBSHARINGAppAuthRoutes.h" #import "DBTransportClientProtocol.h" @implementation DBAppBaseClient - (instancetype)initWithTransportClient:(id)client { self = [super init]; 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; } @end ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/Client/DBTeamBaseClient.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import "DBFILEPROPERTIESTeamAuthRoutes.h" #import "DBRequestErrors.h" #import "DBTEAMLOGTeamAuthRoutes.h" #import "DBTEAMTeamAuthRoutes.h" #import "DBTasks.h" #import NS_ASSUME_NONNULL_BEGIN @protocol DBTransportClient; /// /// Base client object that contains an instance field for each namespace, each /// of which contains references to all routes within that namespace. /// Fully-implemented API clients will inherit this class. /// @interface DBTeamBaseClient : NSObject { @protected id _transportClient; } /// Routes within the `fileProperties` namespace. @property (nonatomic, readonly) DBFILEPROPERTIESTeamAuthRoutes *filePropertiesRoutes; /// Routes within the `team` namespace. @property (nonatomic, readonly) DBTEAMTeamAuthRoutes *teamRoutes; /// Routes within the `teamLog` namespace. @property (nonatomic, readonly) DBTEAMLOGTeamAuthRoutes *teamLogRoutes; /// Initializes the `DBTeamBaseClient` object with a networking client. - (instancetype)initWithTransportClient:(id)client; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/Client/DBTeamBaseClient.m ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import "DBTeamBaseClient.h" #import "DBFILEPROPERTIESTeamAuthRoutes.h" #import "DBTEAMLOGTeamAuthRoutes.h" #import "DBTEAMTeamAuthRoutes.h" #import "DBTransportClientProtocol.h" @implementation DBTeamBaseClient - (instancetype)initWithTransportClient:(id)client { self = [super init]; if (self) { _transportClient = client; _filePropertiesRoutes = [[DBFILEPROPERTIESTeamAuthRoutes alloc] init:client]; _teamRoutes = [[DBTEAMTeamAuthRoutes alloc] init:client]; _teamLogRoutes = [[DBTEAMLOGTeamAuthRoutes alloc] init:client]; } return self; } @end ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/Client/DBUserBaseClient.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// 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" #import "DBTasks.h" #import "DBUSERSUserAuthRoutes.h" #import NS_ASSUME_NONNULL_BEGIN @protocol DBTransportClient; /// /// Base client object that contains an instance field for each namespace, each /// of which contains references to all routes within that namespace. /// Fully-implemented API clients will inherit this class. /// @interface DBUserBaseClient : NSObject { @protected 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; /// Routes within the `fileRequests` namespace. @property (nonatomic, readonly) DBFILEREQUESTSUserAuthRoutes *fileRequestsRoutes; /// 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; /// Routes within the `sharing` namespace. @property (nonatomic, readonly) DBSHARINGUserAuthRoutes *sharingRoutes; /// Routes within the `users` namespace. @property (nonatomic, readonly) DBUSERSUserAuthRoutes *usersRoutes; /// Initializes the `DBUserBaseClient` object with a networking client. - (instancetype)initWithTransportClient:(id)client; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/Client/DBUserBaseClient.m ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #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" #import "DBUSERSUserAuthRoutes.h" @implementation DBUserBaseClient - (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]; } return self; } @end ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/DBSDKImportsGenerated.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// /// 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" #import "DBTEAMLOGTeamAuthRoutes.h" #import "DBTEAMRouteObjects.h" #import "DBTEAMTeamAuthRoutes.h" #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" #import "DBASYNCLaunchResultBase.h" #import "DBASYNCPollArg.h" #import "DBASYNCPollEmptyResult.h" #import "DBASYNCPollError.h" #import "DBASYNCPollResultBase.h" // `Auth` namespace types #import "DBAUTHAccessError.h" #import "DBAUTHAuthError.h" #import "DBAUTHInvalidAccountTypeError.h" #import "DBAUTHPaperAccessError.h" #import "DBAUTHRateLimitError.h" #import "DBAUTHRateLimitReason.h" #import "DBAUTHTokenFromOAuth1Arg.h" #import "DBAUTHTokenFromOAuth1Error.h" #import "DBAUTHTokenFromOAuth1Result.h" #import "DBAUTHTokenScopeError.h" // `Check` namespace types #import "DBCHECKEchoArg.h" #import "DBCHECKEchoResult.h" // `Common` namespace types #import "DBCOMMONPathRoot.h" #import "DBCOMMONPathRootError.h" #import "DBCOMMONRootInfo.h" #import "DBCOMMONTeamRootInfo.h" #import "DBCOMMONUserRootInfo.h" // `Contacts` namespace types #import "DBCONTACTSDeleteManualContactsArg.h" #import "DBCONTACTSDeleteManualContactsError.h" // `FileProperties` namespace types #import "DBFILEPROPERTIESAddPropertiesArg.h" #import "DBFILEPROPERTIESAddPropertiesError.h" #import "DBFILEPROPERTIESAddTemplateArg.h" #import "DBFILEPROPERTIESAddTemplateResult.h" #import "DBFILEPROPERTIESGetTemplateArg.h" #import "DBFILEPROPERTIESGetTemplateResult.h" #import "DBFILEPROPERTIESInvalidPropertyGroupError.h" #import "DBFILEPROPERTIESListTemplateResult.h" #import "DBFILEPROPERTIESLogicalOperator.h" #import "DBFILEPROPERTIESLookUpPropertiesError.h" #import "DBFILEPROPERTIESLookupError.h" #import "DBFILEPROPERTIESModifyTemplateError.h" #import "DBFILEPROPERTIESOverwritePropertyGroupArg.h" #import "DBFILEPROPERTIESPropertiesError.h" #import "DBFILEPROPERTIESPropertiesSearchArg.h" #import "DBFILEPROPERTIESPropertiesSearchContinueArg.h" #import "DBFILEPROPERTIESPropertiesSearchContinueError.h" #import "DBFILEPROPERTIESPropertiesSearchError.h" #import "DBFILEPROPERTIESPropertiesSearchMatch.h" #import "DBFILEPROPERTIESPropertiesSearchMode.h" #import "DBFILEPROPERTIESPropertiesSearchQuery.h" #import "DBFILEPROPERTIESPropertiesSearchResult.h" #import "DBFILEPROPERTIESPropertyField.h" #import "DBFILEPROPERTIESPropertyFieldTemplate.h" #import "DBFILEPROPERTIESPropertyGroup.h" #import "DBFILEPROPERTIESPropertyGroupTemplate.h" #import "DBFILEPROPERTIESPropertyGroupUpdate.h" #import "DBFILEPROPERTIESPropertyType.h" #import "DBFILEPROPERTIESRemovePropertiesArg.h" #import "DBFILEPROPERTIESRemovePropertiesError.h" #import "DBFILEPROPERTIESRemoveTemplateArg.h" #import "DBFILEPROPERTIESTemplateError.h" #import "DBFILEPROPERTIESTemplateFilter.h" #import "DBFILEPROPERTIESTemplateFilterBase.h" #import "DBFILEPROPERTIESTemplateOwnerType.h" #import "DBFILEPROPERTIESUpdatePropertiesArg.h" #import "DBFILEPROPERTIESUpdatePropertiesError.h" #import "DBFILEPROPERTIESUpdateTemplateArg.h" #import "DBFILEPROPERTIESUpdateTemplateResult.h" // `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" #import "DBFILEREQUESTSGeneralFileRequestsError.h" #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 "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" #import "DBFILESDeleteBatchArg.h" #import "DBFILESDeleteBatchError.h" #import "DBFILESDeleteBatchJobStatus.h" #import "DBFILESDeleteBatchLaunch.h" #import "DBFILESDeleteBatchResult.h" #import "DBFILESDeleteBatchResultData.h" #import "DBFILESDeleteBatchResultEntry.h" #import "DBFILESDeleteError.h" #import "DBFILESDeleteResult.h" #import "DBFILESDeletedMetadata.h" #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" #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 "DBFILESGetThumbnailBatchResultData.h" #import "DBFILESGetThumbnailBatchResultEntry.h" #import "DBFILESGpsCoordinates.h" #import "DBFILESHighlightSpan.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 "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" #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 "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 "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 "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" #import "DBPAPERAddPaperDocUser.h" #import "DBPAPERAddPaperDocUserMemberResult.h" #import "DBPAPERAddPaperDocUserResult.h" #import "DBPAPERCursor.h" #import "DBPAPERDocLookupError.h" #import "DBPAPERDocSubscriptionLevel.h" #import "DBPAPERExportFormat.h" #import "DBPAPERFolder.h" #import "DBPAPERFolderSharingPolicyType.h" #import "DBPAPERFolderSubscriptionLevel.h" #import "DBPAPERFoldersContainingPaperDoc.h" #import "DBPAPERImportFormat.h" #import "DBPAPERInviteeInfoWithPermissionLevel.h" #import "DBPAPERListDocsCursorError.h" #import "DBPAPERListPaperDocsArgs.h" #import "DBPAPERListPaperDocsContinueArgs.h" #import "DBPAPERListPaperDocsFilterBy.h" #import "DBPAPERListPaperDocsResponse.h" #import "DBPAPERListPaperDocsSortBy.h" #import "DBPAPERListPaperDocsSortOrder.h" #import "DBPAPERListUsersCursorError.h" #import "DBPAPERListUsersOnFolderArgs.h" #import "DBPAPERListUsersOnFolderContinueArgs.h" #import "DBPAPERListUsersOnFolderResponse.h" #import "DBPAPERListUsersOnPaperDocArgs.h" #import "DBPAPERListUsersOnPaperDocContinueArgs.h" #import "DBPAPERListUsersOnPaperDocResponse.h" #import "DBPAPERPaperApiBaseError.h" #import "DBPAPERPaperApiCursorError.h" #import "DBPAPERPaperDocCreateArgs.h" #import "DBPAPERPaperDocCreateError.h" #import "DBPAPERPaperDocCreateUpdateResult.h" #import "DBPAPERPaperDocExport.h" #import "DBPAPERPaperDocExportResult.h" #import "DBPAPERPaperDocPermissionLevel.h" #import "DBPAPERPaperDocSharingPolicy.h" #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" #import "DBPAPERSharingPublicPolicyType.h" #import "DBPAPERSharingTeamPolicyType.h" #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" #import "DBSHARINGAddFileMemberError.h" #import "DBSHARINGAddFolderMemberArg.h" #import "DBSHARINGAddFolderMemberError.h" #import "DBSHARINGAddMember.h" #import "DBSHARINGAddMemberSelectorError.h" #import "DBSHARINGAlphaResolvedVisibility.h" #import "DBSHARINGAudienceExceptionContentInfo.h" #import "DBSHARINGAudienceExceptions.h" #import "DBSHARINGAudienceRestrictingSharedFolder.h" #import "DBSHARINGCollectionLinkMetadata.h" #import "DBSHARINGCreateSharedLinkArg.h" #import "DBSHARINGCreateSharedLinkError.h" #import "DBSHARINGCreateSharedLinkWithSettingsArg.h" #import "DBSHARINGCreateSharedLinkWithSettingsError.h" #import "DBSHARINGExpectedSharedContentLinkMetadata.h" #import "DBSHARINGFileAction.h" #import "DBSHARINGFileErrorResult.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 "DBSHARINGGroupInfo.h" #import "DBSHARINGGroupMembershipInfo.h" #import "DBSHARINGInsufficientPlan.h" #import "DBSHARINGInsufficientQuotaAmounts.h" #import "DBSHARINGInviteeInfo.h" #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" #import "DBSHARINGLinkPermission.h" #import "DBSHARINGLinkPermissions.h" #import "DBSHARINGLinkSettings.h" #import "DBSHARINGListFileMembersArg.h" #import "DBSHARINGListFileMembersBatchArg.h" #import "DBSHARINGListFileMembersBatchResult.h" #import "DBSHARINGListFileMembersContinueArg.h" #import "DBSHARINGListFileMembersContinueError.h" #import "DBSHARINGListFileMembersCountResult.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 "DBSHARINGMemberPermission.h" #import "DBSHARINGMemberPolicy.h" #import "DBSHARINGMemberSelector.h" #import "DBSHARINGMembershipInfo.h" #import "DBSHARINGModifySharedLinkSettingsArgs.h" #import "DBSHARINGModifySharedLinkSettingsError.h" #import "DBSHARINGMountFolderArg.h" #import "DBSHARINGMountFolderError.h" #import "DBSHARINGParentFolderAccessInfo.h" #import "DBSHARINGPathLinkMetadata.h" #import "DBSHARINGPendingUploadMode.h" #import "DBSHARINGPermissionDeniedReason.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 "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" #import "DBSHARINGShareFolderErrorBase.h" #import "DBSHARINGShareFolderJobStatus.h" #import "DBSHARINGShareFolderLaunch.h" #import "DBSHARINGSharePathError.h" #import "DBSHARINGSharedContentLinkMetadata.h" #import "DBSHARINGSharedContentLinkMetadataBase.h" #import "DBSHARINGSharedFileMembers.h" #import "DBSHARINGSharedFileMetadata.h" #import "DBSHARINGSharedFolderAccessError.h" #import "DBSHARINGSharedFolderMemberError.h" #import "DBSHARINGSharedFolderMembers.h" #import "DBSHARINGSharedFolderMetadata.h" #import "DBSHARINGSharedFolderMetadataBase.h" #import "DBSHARINGSharedLinkAccessFailureReason.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 "DBSHARINGUserInfo.h" #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" #import "DBTEAMBaseTeamFolderError.h" #import "DBTEAMCustomQuotaError.h" #import "DBTEAMCustomQuotaResult.h" #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" #import "DBTEAMDeviceSessionArg.h" #import "DBTEAMDevicesActive.h" #import "DBTEAMExcludedUsersListArg.h" #import "DBTEAMExcludedUsersListContinueArg.h" #import "DBTEAMExcludedUsersListContinueError.h" #import "DBTEAMExcludedUsersListError.h" #import "DBTEAMExcludedUsersListResult.h" #import "DBTEAMExcludedUsersUpdateArg.h" #import "DBTEAMExcludedUsersUpdateError.h" #import "DBTEAMExcludedUsersUpdateResult.h" #import "DBTEAMExcludedUsersUpdateStatus.h" #import "DBTEAMFeature.h" #import "DBTEAMFeatureValue.h" #import "DBTEAMFeaturesGetValuesBatchArg.h" #import "DBTEAMFeaturesGetValuesBatchError.h" #import "DBTEAMFeaturesGetValuesBatchResult.h" #import "DBTEAMGetActivityReport.h" #import "DBTEAMGetDevicesReport.h" #import "DBTEAMGetMembershipReport.h" #import "DBTEAMGetStorageReport.h" #import "DBTEAMGroupAccessType.h" #import "DBTEAMGroupCreateArg.h" #import "DBTEAMGroupCreateError.h" #import "DBTEAMGroupDeleteError.h" #import "DBTEAMGroupFullInfo.h" #import "DBTEAMGroupMemberInfo.h" #import "DBTEAMGroupMemberSelector.h" #import "DBTEAMGroupMemberSelectorError.h" #import "DBTEAMGroupMemberSetAccessTypeError.h" #import "DBTEAMGroupMembersAddArg.h" #import "DBTEAMGroupMembersAddError.h" #import "DBTEAMGroupMembersChangeResult.h" #import "DBTEAMGroupMembersRemoveArg.h" #import "DBTEAMGroupMembersRemoveError.h" #import "DBTEAMGroupMembersSelector.h" #import "DBTEAMGroupMembersSelectorError.h" #import "DBTEAMGroupMembersSetAccessTypeArg.h" #import "DBTEAMGroupSelector.h" #import "DBTEAMGroupSelectorError.h" #import "DBTEAMGroupSelectorWithTeamGroupError.h" #import "DBTEAMGroupUpdateArgs.h" #import "DBTEAMGroupUpdateError.h" #import "DBTEAMGroupsGetInfoError.h" #import "DBTEAMGroupsGetInfoItem.h" #import "DBTEAMGroupsListArg.h" #import "DBTEAMGroupsListContinueArg.h" #import "DBTEAMGroupsListContinueError.h" #import "DBTEAMGroupsListResult.h" #import "DBTEAMGroupsMembersListArg.h" #import "DBTEAMGroupsMembersListContinueArg.h" #import "DBTEAMGroupsMembersListContinueError.h" #import "DBTEAMGroupsMembersListResult.h" #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" #import "DBTEAMListMemberDevicesArg.h" #import "DBTEAMListMemberDevicesError.h" #import "DBTEAMListMemberDevicesResult.h" #import "DBTEAMListMembersAppsArg.h" #import "DBTEAMListMembersAppsError.h" #import "DBTEAMListMembersAppsResult.h" #import "DBTEAMListMembersDevicesArg.h" #import "DBTEAMListMembersDevicesError.h" #import "DBTEAMListMembersDevicesResult.h" #import "DBTEAMListTeamAppsArg.h" #import "DBTEAMListTeamAppsError.h" #import "DBTEAMListTeamAppsResult.h" #import "DBTEAMListTeamDevicesArg.h" #import "DBTEAMListTeamDevicesError.h" #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" #import "DBTEAMMobileClientSession.h" #import "DBTEAMNamespaceMetadata.h" #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" #import "DBTEAMRevokeDeviceSessionBatchError.h" #import "DBTEAMRevokeDeviceSessionBatchResult.h" #import "DBTEAMRevokeDeviceSessionError.h" #import "DBTEAMRevokeDeviceSessionStatus.h" #import "DBTEAMRevokeLinkedApiAppArg.h" #import "DBTEAMRevokeLinkedApiAppBatchArg.h" #import "DBTEAMRevokeLinkedAppBatchError.h" #import "DBTEAMRevokeLinkedAppBatchResult.h" #import "DBTEAMRevokeLinkedAppError.h" #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" #import "DBTEAMTeamFolderArchiveArg.h" #import "DBTEAMTeamFolderArchiveError.h" #import "DBTEAMTeamFolderArchiveJobStatus.h" #import "DBTEAMTeamFolderArchiveLaunch.h" #import "DBTEAMTeamFolderCreateArg.h" #import "DBTEAMTeamFolderCreateError.h" #import "DBTEAMTeamFolderGetInfoItem.h" #import "DBTEAMTeamFolderIdArg.h" #import "DBTEAMTeamFolderIdListArg.h" #import "DBTEAMTeamFolderInvalidStatusError.h" #import "DBTEAMTeamFolderListArg.h" #import "DBTEAMTeamFolderListContinueArg.h" #import "DBTEAMTeamFolderListContinueError.h" #import "DBTEAMTeamFolderListError.h" #import "DBTEAMTeamFolderListResult.h" #import "DBTEAMTeamFolderMetadata.h" #import "DBTEAMTeamFolderPermanentlyDeleteError.h" #import "DBTEAMTeamFolderRenameArg.h" #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" // `TeamCommon` namespace types #import "DBTEAMCOMMONGroupManagementType.h" #import "DBTEAMCOMMONGroupSummary.h" #import "DBTEAMCOMMONGroupType.h" #import "DBTEAMCOMMONMemberSpaceLimitType.h" #import "DBTEAMCOMMONTimeRange.h" // `TeamLog` namespace types #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 "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 "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 "DBTEAMLOGFileRenameType.h" #import "DBTEAMLOGFileRequestChangeDetails.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 "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" #import "DBTEAMLOGGetTeamEventsContinueError.h" #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 "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 "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 "DBTEAMLOGSharedContentDownloadType.h" #import "DBTEAMLOGSharedContentRelinquishMembershipDetails.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 "DBTEAMLOGSharedContentViewType.h" #import "DBTEAMLOGSharedFolderChangeLinkPolicyDetails.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 "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 "DBTEAMLOGShmodelDisableDownloadsDetails.h" #import "DBTEAMLOGShmodelDisableDownloadsType.h" #import "DBTEAMLOGShmodelEnableDownloadsDetails.h" #import "DBTEAMLOGShmodelEnableDownloadsType.h" #import "DBTEAMLOGShmodelGroupShareDetails.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 "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" #import "DBUSERSGetAccountBatchArg.h" #import "DBUSERSGetAccountBatchError.h" #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 #import "DBUSERSCOMMONAccountType.h" ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/Resources/DBSerializableProtocol.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// #import NS_ASSUME_NONNULL_BEGIN /// /// Protocol which all Obj-C SDK API route objects must implement, otherwise a compiler-warning /// is generated. /// @protocol DBSerializable /// /// Class method which returns a json-compatible dictionary representation of the /// supplied object. /// /// @param instance An instance of the API object to be serialized. /// /// @return A serialized, json-compatible dictionary representation of the API object. /// + (nullable NSDictionary *)serialize:(id)instance; /// /// Class method which returns an instantiation of the supplied object as represented /// by a json-compatible dictionary. /// /// @param dict A dictionary representation of the API object to be serialized. /// /// @return A deserialized, instantiation of the API object. /// + (id)deserialize:(NSDictionary *)dict; /// /// Description method. /// /// @return A human-readable representation of the current object. /// - (NSString *)description; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/Resources/DBStoneBase.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// #import #import "DBSerializableProtocol.h" #import "DBStoneSerializers.h" NS_ASSUME_NONNULL_BEGIN /// /// Route object used to encapsulate route-specific information. /// @interface DBRoute : NSObject /// Name of the route. @property (nonatomic, readonly, copy) NSString *name; /// Namespace that the route is contained within. @property (nonatomic, readonly, copy) NSString *namespace_; /// Whether the route is deprecated. @property (nonatomic, readonly) NSNumber *deprecated; /// Class of the route's result object type (must implement `DBSerializable` /// protocol). @property (nonatomic, readonly, nullable) Class resultType; /// Class of the route's error object type (must implement `DBSerializable` /// protocol). Note: this class is only for route-specific errors, as opposed /// to more generic Dropbox API errors, as represented by the `DBRequestError` /// class. @property (nonatomic, readonly, nullable) Class errorType; /// Custom attributes associated with each route (can pertain to authentication /// type, host cluster, request-type, etc.). @property (nonatomic, readonly, nullable) NSDictionary *attrs; /// Serialization block for the route's result object type, if that result object /// type is an `NSArray`, otherwise nil. @property (nonatomic, readonly, nullable) id (^dataStructSerialBlock)(id dataStruct); /// Deserialization block for the route's result object type, if that result object /// type is a data structure, otherwise nil. @property (nonatomic, readonly, nullable) id (^dataStructDeserialBlock)(id dataStruct); /// Initializes the route object. - (nonnull instancetype)init:(NSString *)name namespace_:(NSString *)namespace_ deprecated:(NSNumber *)deprecated resultType:(nullable Class)resultType errorType:(nullable Class)errorType attrs:(NSDictionary *)attrs dataStructSerialBlock:(id (^_Nullable)(id))dataStructSerialBlock dataStructDeserialBlock:(id (^_Nullable)(id))dataStructDeserialBlock; @end /// /// Wrapper object designed to represent a nil response from the Dropbox API. /// @interface DBNilObject : NSObject @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/Resources/DBStoneBase.m ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// #import "DBStoneBase.h" @implementation DBRoute - (instancetype)init:(NSString *)name namespace_:(NSString *)namespace_ deprecated:(NSNumber *)deprecated resultType:(Class)resultType errorType:(Class)errorType attrs:(NSDictionary *)attrs dataStructSerialBlock:(id (^)(id))dataStructSerialBlock dataStructDeserialBlock:(id (^)(id))dataStructDeserialBlock { self = [self init]; if (self != nil) { _name = name; _namespace_ = namespace_; _deprecated = deprecated; _resultType = resultType; _errorType = errorType; _attrs = attrs; _dataStructSerialBlock = dataStructSerialBlock; _dataStructDeserialBlock = dataStructDeserialBlock; } return self; } @end @implementation DBNilObject @end ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/Resources/DBStoneSerializers.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// #import #import "DBSerializableProtocol.h" NS_ASSUME_NONNULL_BEGIN /// /// Category to ensure `NSArray` class "implements" `DBSerializable` protocol, which is /// required for all Obj-C SDK API route arguments. This avoids a compiler warning for /// `NSArray` route arguments. /// @interface NSArray (DBSerializable) + (nullable NSDictionary *)serialize:(id)obj; + (id)deserialize:(NSDictionary *)dict; @end /// /// Category to ensure `NSString` class "implements" `DBSerializable` protocol, which is /// required for all Obj-C SDK API route arguments. This avoids a compiler warning for /// `NSString` route arguments. /// @interface NSString (DBSerializable) + (nullable NSDictionary *)serialize:(id)obj; + (id)deserialize:(NSDictionary *)dict; @end /// /// Serializer functions used by the SDK to serialize/deserialize `NSDate` types. /// @interface DBNSDateSerializer : NSObject /// Returns a json-compatible `NSString` that represents an `NSDate` type based on the supplied /// `NSDate` object and date format string. + (NSString *)serialize:(NSDate *)value dateFormat:(NSString *)dateFormat; /// Returns an `NSDate` object from the supplied `NSString`-representation of an `NSDate` object and /// the supplied date format string. + (NSDate *)deserialize:(NSString *)value dateFormat:(NSString *)dateFormat; @end /// /// Serializer functions used by the SDK to serialize/deserialize `NSArray` types. /// @interface DBArraySerializer : NSObject /// Applies a serialization block to each element in the array and returns a new array with /// all elements serialized. The serialization block either serializes the object, or if the /// object is a wrapper for a primitive type, it leaves it unchanged. + (NSArray *)serialize:(NSArray *)value withBlock:(id (^_Nonnull)(id))serializeBlock; /// Applies a deserialization block to each element in the array and returns a new array with /// all elements deserialized. The serialization block either deserializes the object, or if the /// object is a wrapper for a primitive type, it leaves it unchanged. + (NSArray *)deserialize:(NSArray *)jsonData withBlock:(id (^_Nonnull)(id))deserializeBlock; @end /// /// Serializer functions used by the SDK to serialize/deserialize `NSArray` types. /// @interface DBMapSerializer : NSObject /// Applies a serialization block to each element in the map and returns a new map with /// all elements serialized. The serialization block either serializes the object, or if the /// object is a wrapper for a primitive type, it leaves it unchanged. + (NSDictionary *)serialize:(NSDictionary *)value withBlock:(id (^_Nonnull)(id))serializeBlock; /// Applies a deserialization block to each element in the map and returns a new map with /// all elements deserialized. The serialization block either deserializes the object, or if the /// object is a wrapper for a primitive type, it leaves it unchanged. + (NSDictionary *)deserialize:(NSDictionary *)jsonData withBlock:(id (^_Nonnull)(id))deserializeBlock; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/Resources/DBStoneSerializers.m ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// #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`"]; } @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`"]; } @synchronized(sFormatter) { if (![dateFormat isEqualToString:sDateFormat]) { [sFormatter setDateFormat:[self convertFormat:dateFormat]]; sDateFormat = [dateFormat copy]; } return [sFormatter dateFromString:value]; } } + (NSString *)formatDateToken:(NSString *)token { NSString *result = @""; if ([token isEqualToString:@"%a"]) { // Weekday as locale's abbreviated name. result = @"EEE"; } 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 result = @"ccccc"; } else if ([token isEqualToString:@"%d"]) { // Day of the month as a zero-padded decimal number. 01, 02, ..., 31 result = @"dd"; } else if ([token isEqualToString:@"%b"]) { // Month as locale's abbreviated name. result = @"MMM"; } else if ([token isEqualToString:@"%B"]) { // Month as locale's full name. result = @"MMMM"; } else if ([token isEqualToString:@"%m"]) { // Month as a zero-padded decimal number. 01, 02, ..., 12 result = @"MM"; } else if ([token isEqualToString:@"%y"]) { // Year without century as a zero-padded decimal number. 00, 01, ..., 99 result = @"yy"; } else if ([token isEqualToString:@"%Y"]) { // Year with century as a decimal number. 1970, 1988, 2001, 2013 result = @"yyyy"; } else if ([token isEqualToString:@"%H"]) { // Hour (24-hour clock) as a zero-padded decimal number. 00, 01, ..., 23 result = @"HH"; } else if ([token isEqualToString:@"%I"]) { // Hour (12-hour clock) as a zero-padded decimal number. 01, 02, ..., 12 result = @"hh"; } else if ([token isEqualToString:@"%p"]) { // Locale's equivalent of either AM or PM. result = @"a"; } else if ([token isEqualToString:@"%M"]) { // Minute as a zero-padded decimal number. 00, 01, ..., 59 result = @"mm"; } 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 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 result = @"Z"; } else if ([token isEqualToString:@"%Z"]) { // Time zone name (empty string if the object is naive). (empty), UTC, // 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) 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) result = @"ww"; } else if ([token isEqualToString:@"%c"]) { // Locale's appropriate date and time representation. result = @""; // unsupported } else if ([token isEqualToString:@"%x"]) { // Locale's appropriate date representation. result = @""; // unsupported } else if ([token isEqualToString:@"%X"]) { // Locale's appropriate time representation. result = @""; // unsupported } else if ([token isEqualToString:@"%%"]) { // A literal '%' character. result = @""; } else if ([token isEqualToString:@"%"]) { result = @""; } else { result = @""; } return result; } + (NSString *)convertFormat:(NSString *)format { NSCharacterSet *alphabeticSet = [NSCharacterSet characterSetWithCharactersInString:@"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"]; NSMutableString *newFormat = [@"" mutableCopy]; BOOL inQuotedText = NO; NSUInteger len = [format length]; NSUInteger i = 0; while (i < len) { char ch = (char)[format characterAtIndex:i]; if (ch == '%') { if (i >= len - 1) { return nil; } i++; ch = (char)[format characterAtIndex:i]; NSString *token = [NSString stringWithFormat:@"%%%c", ch]; if (inQuotedText) { [newFormat appendString:@"'"]; inQuotedText = NO; } [newFormat appendString:[self formatDateToken:token]]; } else { if ([alphabeticSet characterIsMember:ch]) { if (!inQuotedText) { [newFormat appendString:@"'"]; inQuotedText = YES; } } else if (ch == '\'') { [newFormat appendString:@"'"]; } [newFormat appendString:[NSString stringWithFormat:@"%c", ch]]; } i++; } if (inQuotedText) { [newFormat appendString:@"'"]; } return newFormat; } @end @implementation DBArraySerializer + (NSArray *)serialize:(NSArray *)value withBlock:(id (^)(id))serializeBlock { if (value == nil) { [DBStoneValidators raiseIllegalStateErrorWithMessage:@"Value must not be `nil`"]; } NSMutableArray *resultArray = [[NSMutableArray alloc] init]; for (id element in value) { [resultArray addObject:serializeBlock(element)]; } return resultArray; } + (NSArray *)deserialize:(NSArray *)value withBlock:(id (^)(id))deserializeBlock { if (value == nil) { [DBStoneValidators raiseIllegalStateErrorWithMessage:@"Value must not be `nil`"]; } NSMutableArray *resultArray = [[NSMutableArray alloc] init]; for (id element in value) { [resultArray addObject:deserializeBlock(element)]; } return resultArray; } @end @implementation DBMapSerializer + (NSDictionary *)serialize:(NSDictionary *)value withBlock:(id (^)(id))serializeBlock { if (value == nil) { [DBStoneValidators raiseIllegalStateErrorWithMessage:@"Value must not be `nil`"]; } NSMutableDictionary *resultDict = [[NSMutableDictionary alloc] init]; for (id key in value) { [resultDict setObject:serializeBlock(value[key]) forKey:key]; } return resultDict; } + (NSDictionary *)deserialize:(NSDictionary *)value withBlock:(id (^)(id))deserializeBlock { if (value == nil) { [DBStoneValidators raiseIllegalStateErrorWithMessage:@"Value must not be `nil`"]; } NSMutableDictionary *resultDict = [[NSMutableDictionary alloc] init]; for (id key in value) { [resultDict setObject:deserializeBlock(value[key]) forKey:key]; } return resultDict; } @end ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/Resources/DBStoneValidators.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// #import NS_ASSUME_NONNULL_BEGIN /// /// Validator functions used by SDK to impose value constraints. /// @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; /// Validator for `NSNumber` objects. Enforces minimum value and/or maximum value. + (void (^_Nonnull)(NSNumber *))numericValidator:(nullable NSNumber *)minValue maxValue:(nullable NSNumber *)maxValue; /// Validator for `NSArray` objects. Enforces minimum number of items and/or maximum minimum number of items. Method /// requires a validator block that can validate each item in the array. + (void (^_Nonnull)(NSArray *))arrayValidator:(nullable NSNumber *)minItems maxItems:(nullable NSNumber *)maxItems itemValidator:(void (^_Nullable)(T))itemValidator; /// Validator for `NSDictionary` objects. Enforces minimum number of items and/or maximum minimum number of items. /// Method /// requires a validator block that can validate each item in the array. + (void (^_Nonnull)(NSDictionary *))mapValidator:(void (^_Nullable)(T))itemValidator; /// Wrapper validator for nullable objects. Maintains a reference to the object's normal non-nullable validator. + (void (^_Nonnull)(T))nullableValidator:(void (^_Nonnull)(T))internalValidator; + (void (^_Nonnull)(id))nonnullValidator:(void (^_Nullable)(id))internalValidator; + (void)raiseIllegalStateErrorWithMessage:(NSString *)message; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/Resources/DBStoneValidators.m ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// #import "DBStoneValidators.h" @implementation DBStoneValidators + (void (^)(NSString *))stringValidator:(NSNumber *)minLength maxLength:(NSNumber *)maxLength pattern:(NSString *)pattern { void (^validator)(NSString *) = ^(NSString *value) { if (minLength != nil) { if ([value length] < [minLength unsignedIntegerValue]) { NSString *exceptionMessage = [NSString stringWithFormat:@"value must be at least %@ characters", [minLength stringValue]]; [[self class] raiseIllegalStateErrorWithMessage:exceptionMessage]; } } if (maxLength != nil) { if ([value length] > [maxLength unsignedIntegerValue]) { NSString *exceptionMessage = [NSString stringWithFormat:@"value must be at most %@ characters", [minLength stringValue]]; [[self class] raiseIllegalStateErrorWithMessage:exceptionMessage]; } } if (pattern != nil && pattern.length != 0) { NSError *error; 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:@"value must match pattern \"%@\"", [re pattern]]; [[self class] raiseIllegalStateErrorWithMessage:exceptionMessage]; } } }; return validator; } + (void (^)(NSNumber *))numericValidator:(NSNumber *)minValue maxValue:(NSNumber *)maxValue { void (^validator)(NSNumber *) = ^(NSNumber *value) { if (minValue != nil) { if ([value unsignedIntegerValue] < [minValue unsignedIntegerValue]) { 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:@"value must be at most %@", [maxValue stringValue]]; [[self class] raiseIllegalStateErrorWithMessage:exceptionMessage]; } } }; return validator; } + (void (^)(NSArray *))arrayValidator:(NSNumber *)minItems maxItems:(NSNumber *)maxItems itemValidator:(void (^)(id))itemValidator { void (^validator)(NSArray *) = ^(NSArray *value) { if (minItems != nil) { if ([value count] < [minItems unsignedIntegerValue]) { NSString *exceptionMessage = [NSString stringWithFormat:@"value must be at least %@ items", [minItems stringValue]]; [[self class] raiseIllegalStateErrorWithMessage:exceptionMessage]; } } if (maxItems != nil) { if ([value count] > [maxItems unsignedIntegerValue]) { NSString *exceptionMessage = [NSString stringWithFormat:@"value must be at most %@ items", [maxItems stringValue]]; [[self class] raiseIllegalStateErrorWithMessage:exceptionMessage]; } } if (itemValidator != nil) { for (id item in value) { itemValidator(item); } } }; return validator; } + (void (^)(NSDictionary *))mapValidator:(void (^)(id))itemValidator { void (^validator)(NSDictionary *) = ^(NSDictionary *value) { if (itemValidator != nil) { for (id key in value) { itemValidator(value[key]); } } }; return validator; } + (void (^)(id))nullableValidator:(void (^)(id))internalValidator { void (^validator)(id) = ^(id value) { if (value != nil) { internalValidator(value); } }; return validator; } + (void (^)(id))nonnullValidator:(void (^)(id))internalValidator { void (^validator)(id) = ^(id value) { if (value == nil) { [[self class] raiseIllegalStateErrorWithMessage:@"Value must not be `nil`"]; } if (internalValidator != nil) { internalValidator(value); } }; return validator; } + (void)raiseIllegalStateErrorWithMessage:(NSString *)message { NSString *exceptionMessage = [NSString stringWithFormat:@"%@:\n%@", message, [[NSThread callStackSymbols] objectAtIndex:0]]; [NSException raise:@"IllegalStateException" format:exceptionMessage, nil]; } @end ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBACCOUNTUserAuthRoutes.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBACCOUNTUserAuthRoutes.m ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBAUTHAppAuthRoutes.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBTasks.h" @class DBAUTHTokenFromOAuth1Error; @class DBAUTHTokenFromOAuth1Result; @class DBNilObject; @protocol DBTransportClient; /// /// Routes for the `Auth` namespace /// NS_ASSUME_NONNULL_BEGIN @interface DBAUTHAppAuthRoutes : NSObject /// An instance of the networking client that each route will use to submit a /// request. @property (nonatomic, readonly) id client; /// Initializes the `DBAUTHAppAuthRoutes` namespace container object with a /// networking client. - (instancetype)init:(id)client; /// /// 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. /// /// @return Through the response callback, the caller will receive a `DBAUTHTokenFromOAuth1Result` object on success or /// a `DBAUTHTokenFromOAuth1Error` object on failure. /// - (DBRpcTask *)tokenFromOauth1:(NSString *)oauth1Token oauth1TokenSecret: (NSString *)oauth1TokenSecret __deprecated_msg("tokenFromOauth1 is deprecated."); @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBAUTHAppAuthRoutes.m ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import "DBAUTHAppAuthRoutes.h" #import "DBAUTHRouteObjects.h" #import "DBAUTHTokenFromOAuth1Arg.h" #import "DBAUTHTokenFromOAuth1Error.h" #import "DBAUTHTokenFromOAuth1Result.h" #import "DBRequestErrors.h" #import "DBStoneBase.h" #import "DBTransportClientProtocol.h" @implementation DBAUTHAppAuthRoutes - (instancetype)init:(id)client { self = [super init]; if (self) { _client = client; } return self; } - (DBRpcTask *)tokenFromOauth1:(NSString *)oauth1Token oauth1TokenSecret:(NSString *)oauth1TokenSecret { DBRoute *route = DBAUTHRouteObjects.DBAUTHTokenFromOauth1; DBAUTHTokenFromOAuth1Arg *arg = [[DBAUTHTokenFromOAuth1Arg alloc] initWithOauth1Token:oauth1Token oauth1TokenSecret:oauth1TokenSecret]; return [self.client requestRpc:route arg:arg]; } @end ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBAUTHUserAuthRoutes.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBTasks.h" @class DBAUTHTokenFromOAuth1Error; @class DBAUTHTokenFromOAuth1Result; @class DBNilObject; @protocol DBTransportClient; /// /// Routes for the `Auth` namespace /// NS_ASSUME_NONNULL_BEGIN @interface DBAUTHUserAuthRoutes : NSObject /// An instance of the networking client that each route will use to submit a /// request. @property (nonatomic, readonly) id client; /// Initializes the `DBAUTHUserAuthRoutes` namespace container object with a /// networking client. - (instancetype)init:(id)client; /// /// 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 /// failure. /// - (DBRpcTask *)tokenRevoke; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBAUTHUserAuthRoutes.m ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import "DBAUTHUserAuthRoutes.h" #import "DBAUTHRouteObjects.h" #import "DBAUTHTokenFromOAuth1Arg.h" #import "DBAUTHTokenFromOAuth1Error.h" #import "DBAUTHTokenFromOAuth1Result.h" #import "DBRequestErrors.h" #import "DBStoneBase.h" #import "DBTransportClientProtocol.h" @implementation DBAUTHUserAuthRoutes - (instancetype)init:(id)client { self = [super init]; if (self) { _client = client; } return self; } - (DBRpcTask *)tokenRevoke { DBRoute *route = DBAUTHRouteObjects.DBAUTHTokenRevoke; return [self.client requestRpc:route arg:nil]; } @end ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBCHECKAppAuthRoutes.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBCHECKAppAuthRoutes.m ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBCHECKUserAuthRoutes.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBCHECKUserAuthRoutes.m ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBCONTACTSUserAuthRoutes.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBCONTACTSUserAuthRoutes.m ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBFILEPROPERTIESTeamAuthRoutes.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBTasks.h" @class DBFILEPROPERTIESAddPropertiesError; @class DBFILEPROPERTIESAddTemplateResult; @class DBFILEPROPERTIESGetTemplateResult; @class DBFILEPROPERTIESInvalidPropertyGroupError; @class DBFILEPROPERTIESListTemplateResult; @class DBFILEPROPERTIESLogicalOperator; @class DBFILEPROPERTIESLookUpPropertiesError; @class DBFILEPROPERTIESLookupError; @class DBFILEPROPERTIESModifyTemplateError; @class DBFILEPROPERTIESPropertiesSearchContinueError; @class DBFILEPROPERTIESPropertiesSearchError; @class DBFILEPROPERTIESPropertiesSearchMatch; @class DBFILEPROPERTIESPropertiesSearchMode; @class DBFILEPROPERTIESPropertiesSearchQuery; @class DBFILEPROPERTIESPropertiesSearchResult; @class DBFILEPROPERTIESPropertyField; @class DBFILEPROPERTIESPropertyFieldTemplate; @class DBFILEPROPERTIESPropertyGroup; @class DBFILEPROPERTIESPropertyGroupUpdate; @class DBFILEPROPERTIESPropertyType; @class DBFILEPROPERTIESRemovePropertiesError; @class DBFILEPROPERTIESTemplateError; @class DBFILEPROPERTIESTemplateFilter; @class DBFILEPROPERTIESUpdatePropertiesError; @class DBFILEPROPERTIESUpdateTemplateResult; @class DBNilObject; @protocol DBTransportClient; /// /// Routes for the `FileProperties` namespace /// NS_ASSUME_NONNULL_BEGIN @interface DBFILEPROPERTIESTeamAuthRoutes : NSObject /// An instance of the networking client that each route will use to submit a /// request. @property (nonatomic, readonly) id client; /// Initializes the `DBFILEPROPERTIESTeamAuthRoutes` namespace container object /// with a networking client. - (instancetype)init:(id)client; /// /// Add a template associated with a team. See `propertiesAdd` to add properties to a file or folder. Note: this /// endpoint will create team-owned templates. /// /// /// @return Through the response callback, the caller will receive a `DBFILEPROPERTIESAddTemplateResult` object on /// success or a `DBFILEPROPERTIESModifyTemplateError` object on failure. /// - (DBRpcTask *) templatesAddForTeam:(NSString *)name description_:(NSString *)description_ fields:(NSArray *)fields; /// /// Get the schema for a specified template. /// /// @param templateId An identifier for template added by route See `templatesAddForUser` or `templatesAddForTeam`. /// /// @return Through the response callback, the caller will receive a `DBFILEPROPERTIESGetTemplateResult` object on /// success or a `DBFILEPROPERTIESTemplateError` object on failure. /// - (DBRpcTask *)templatesGetForTeam: (NSString *)templateId; /// /// Get the template identifiers for a team. To get the schema of each template use `templatesGetForTeam`. /// /// /// @return Through the response callback, the caller will receive a `DBFILEPROPERTIESListTemplateResult` object on /// success or a `DBFILEPROPERTIESTemplateError` object on failure. /// - (DBRpcTask *)templatesListForTeam; /// /// Permanently removes the specified template created from `templatesAddForUser`. All properties associated with the /// template will also be removed. This action cannot be undone. /// /// @param templateId An identifier for a template created by `templatesAddForUser` or `templatesAddForTeam`. /// /// @return Through the response callback, the caller will receive a `void` object on success or a /// `DBFILEPROPERTIESTemplateError` object on failure. /// - (DBRpcTask *)templatesRemoveForTeam:(NSString *)templateId; /// /// Update a template associated with a team. This route can update the template name, the template description and add /// optional properties to templates. /// /// @param templateId An identifier for template added by See `templatesAddForUser` or `templatesAddForTeam`. /// /// @return Through the response callback, the caller will receive a `DBFILEPROPERTIESUpdateTemplateResult` object on /// success or a `DBFILEPROPERTIESModifyTemplateError` object on failure. /// - (DBRpcTask *)templatesUpdateForTeam: (NSString *)templateId; /// /// Update a template associated with a team. This route can update the template name, the template description and add /// optional properties to templates. /// /// @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. /// @param description_ Description for the new template. Template descriptions can be up to 1024 bytes. /// @param addFields Property field templates to be added to the group template. There can be up to 32 properties in a /// single template. /// /// @return Through the response callback, the caller will receive a `DBFILEPROPERTIESUpdateTemplateResult` object on /// success or a `DBFILEPROPERTIESModifyTemplateError` object on failure. /// - (DBRpcTask *) templatesUpdateForTeam:(NSString *)templateId name:(nullable NSString *)name description_:(nullable NSString *)description_ addFields:(nullable NSArray *)addFields; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBFILEPROPERTIESTeamAuthRoutes.m ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import "DBFILEPROPERTIESTeamAuthRoutes.h" #import "DBFILEPROPERTIESAddPropertiesArg.h" #import "DBFILEPROPERTIESAddPropertiesError.h" #import "DBFILEPROPERTIESAddTemplateArg.h" #import "DBFILEPROPERTIESAddTemplateResult.h" #import "DBFILEPROPERTIESGetTemplateArg.h" #import "DBFILEPROPERTIESGetTemplateResult.h" #import "DBFILEPROPERTIESInvalidPropertyGroupError.h" #import "DBFILEPROPERTIESListTemplateResult.h" #import "DBFILEPROPERTIESLookUpPropertiesError.h" #import "DBFILEPROPERTIESLookupError.h" #import "DBFILEPROPERTIESModifyTemplateError.h" #import "DBFILEPROPERTIESOverwritePropertyGroupArg.h" #import "DBFILEPROPERTIESPropertiesError.h" #import "DBFILEPROPERTIESPropertiesSearchArg.h" #import "DBFILEPROPERTIESPropertiesSearchContinueArg.h" #import "DBFILEPROPERTIESPropertiesSearchContinueError.h" #import "DBFILEPROPERTIESPropertiesSearchError.h" #import "DBFILEPROPERTIESPropertiesSearchMatch.h" #import "DBFILEPROPERTIESPropertiesSearchQuery.h" #import "DBFILEPROPERTIESPropertiesSearchResult.h" #import "DBFILEPROPERTIESPropertyFieldTemplate.h" #import "DBFILEPROPERTIESPropertyGroup.h" #import "DBFILEPROPERTIESPropertyGroupTemplate.h" #import "DBFILEPROPERTIESPropertyGroupUpdate.h" #import "DBFILEPROPERTIESRemovePropertiesArg.h" #import "DBFILEPROPERTIESRemovePropertiesError.h" #import "DBFILEPROPERTIESRemoveTemplateArg.h" #import "DBFILEPROPERTIESRouteObjects.h" #import "DBFILEPROPERTIESTemplateError.h" #import "DBFILEPROPERTIESTemplateFilter.h" #import "DBFILEPROPERTIESUpdatePropertiesArg.h" #import "DBFILEPROPERTIESUpdatePropertiesError.h" #import "DBFILEPROPERTIESUpdateTemplateArg.h" #import "DBFILEPROPERTIESUpdateTemplateResult.h" #import "DBRequestErrors.h" #import "DBStoneBase.h" #import "DBTransportClientProtocol.h" @implementation DBFILEPROPERTIESTeamAuthRoutes - (instancetype)init:(id)client { self = [super init]; if (self) { _client = client; } return self; } - (DBRpcTask *)templatesAddForTeam:(NSString *)name description_:(NSString *)description_ fields:(NSArray *)fields { DBRoute *route = DBFILEPROPERTIESRouteObjects.DBFILEPROPERTIESTemplatesAddForTeam; DBFILEPROPERTIESAddTemplateArg *arg = [[DBFILEPROPERTIESAddTemplateArg alloc] initWithName:name description_:description_ fields:fields]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)templatesGetForTeam:(NSString *)templateId { DBRoute *route = DBFILEPROPERTIESRouteObjects.DBFILEPROPERTIESTemplatesGetForTeam; DBFILEPROPERTIESGetTemplateArg *arg = [[DBFILEPROPERTIESGetTemplateArg alloc] initWithTemplateId:templateId]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)templatesListForTeam { DBRoute *route = DBFILEPROPERTIESRouteObjects.DBFILEPROPERTIESTemplatesListForTeam; return [self.client requestRpc:route arg:nil]; } - (DBRpcTask *)templatesRemoveForTeam:(NSString *)templateId { DBRoute *route = DBFILEPROPERTIESRouteObjects.DBFILEPROPERTIESTemplatesRemoveForTeam; DBFILEPROPERTIESRemoveTemplateArg *arg = [[DBFILEPROPERTIESRemoveTemplateArg alloc] initWithTemplateId:templateId]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)templatesUpdateForTeam:(NSString *)templateId { DBRoute *route = DBFILEPROPERTIESRouteObjects.DBFILEPROPERTIESTemplatesUpdateForTeam; DBFILEPROPERTIESUpdateTemplateArg *arg = [[DBFILEPROPERTIESUpdateTemplateArg alloc] initWithTemplateId:templateId]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)templatesUpdateForTeam:(NSString *)templateId name:(NSString *)name description_:(NSString *)description_ addFields:(NSArray *)addFields { DBRoute *route = DBFILEPROPERTIESRouteObjects.DBFILEPROPERTIESTemplatesUpdateForTeam; DBFILEPROPERTIESUpdateTemplateArg *arg = [[DBFILEPROPERTIESUpdateTemplateArg alloc] initWithTemplateId:templateId name:name description_:description_ addFields:addFields]; return [self.client requestRpc:route arg:arg]; } @end ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBFILEPROPERTIESUserAuthRoutes.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBTasks.h" @class DBFILEPROPERTIESAddPropertiesError; @class DBFILEPROPERTIESAddTemplateResult; @class DBFILEPROPERTIESGetTemplateResult; @class DBFILEPROPERTIESInvalidPropertyGroupError; @class DBFILEPROPERTIESListTemplateResult; @class DBFILEPROPERTIESLogicalOperator; @class DBFILEPROPERTIESLookUpPropertiesError; @class DBFILEPROPERTIESLookupError; @class DBFILEPROPERTIESModifyTemplateError; @class DBFILEPROPERTIESPropertiesSearchContinueError; @class DBFILEPROPERTIESPropertiesSearchError; @class DBFILEPROPERTIESPropertiesSearchMatch; @class DBFILEPROPERTIESPropertiesSearchMode; @class DBFILEPROPERTIESPropertiesSearchQuery; @class DBFILEPROPERTIESPropertiesSearchResult; @class DBFILEPROPERTIESPropertyField; @class DBFILEPROPERTIESPropertyFieldTemplate; @class DBFILEPROPERTIESPropertyGroup; @class DBFILEPROPERTIESPropertyGroupUpdate; @class DBFILEPROPERTIESPropertyType; @class DBFILEPROPERTIESRemovePropertiesError; @class DBFILEPROPERTIESTemplateError; @class DBFILEPROPERTIESTemplateFilter; @class DBFILEPROPERTIESUpdatePropertiesError; @class DBFILEPROPERTIESUpdateTemplateResult; @class DBNilObject; @protocol DBTransportClient; /// /// Routes for the `FileProperties` namespace /// NS_ASSUME_NONNULL_BEGIN @interface DBFILEPROPERTIESUserAuthRoutes : NSObject /// An instance of the networking client that each route will use to submit a /// request. @property (nonatomic, readonly) id client; /// Initializes the `DBFILEPROPERTIESUserAuthRoutes` namespace container object /// with a networking client. - (instancetype)init:(id)client; /// /// 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. 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; /// /// Overwrite property groups associated with a file. This endpoint should be used instead of `propertiesUpdate` when /// property groups are being updated via a "snapshot" instead of via a "delta". In other words, this endpoint will /// delete all omitted fields from a property group, whereas `propertiesUpdate` will only delete fields that are /// explicitly marked for deletion. /// /// @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 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; /// /// 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`. 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 /// `templatesAddForTeam`. /// /// @return Through the response callback, the caller will receive a `void` object on success or a /// `DBFILEPROPERTIESRemovePropertiesError` object on failure. /// - (DBRpcTask *)propertiesRemove:(NSString *)path propertyTemplateIds: (NSArray *)propertyTemplateIds; /// /// Search across property templates for particular property field values. /// /// @param queries Queries to search. /// /// @return Through the response callback, the caller will receive a `DBFILEPROPERTIESPropertiesSearchResult` object on /// success or a `DBFILEPROPERTIESPropertiesSearchError` object on failure. /// - (DBRpcTask *)propertiesSearch: (NSArray *)queries; /// /// Search across property templates for particular property field values. /// /// @param queries Queries to search. /// @param templateFilter Filter results to contain only properties associated with these template IDs. /// /// @return Through the response callback, the caller will receive a `DBFILEPROPERTIESPropertiesSearchResult` object on /// success or a `DBFILEPROPERTIESPropertiesSearchError` object on failure. /// - (DBRpcTask *) propertiesSearch:(NSArray *)queries templateFilter:(nullable DBFILEPROPERTIESTemplateFilter *)templateFilter; /// /// Once a cursor has been retrieved from `propertiesSearch`, use this to paginate through all search results. /// /// @param cursor The cursor returned by your last call to `propertiesSearch` or `propertiesSearchContinue`. /// /// @return Through the response callback, the caller will receive a `DBFILEPROPERTIESPropertiesSearchResult` object on /// success or a `DBFILEPROPERTIESPropertiesSearchContinueError` object on failure. /// - (DBRpcTask *) propertiesSearchContinue:(NSString *)cursor; /// /// Add, update or remove properties associated with the supplied file and templates. This endpoint should be used /// instead of `propertiesOverwrite` when property groups are being updated via a "delta" instead of via a "snapshot" . /// In other words, this endpoint will not delete any omitted fields from a property group, whereas /// `propertiesOverwrite` will delete any fields that are omitted from a property group. /// /// @param path A unique identifier for the file or folder. /// @param updatePropertyGroups The property groups "delta" updates to apply. /// /// @return Through the response callback, the caller will receive a `void` object on success or a /// `DBFILEPROPERTIESUpdatePropertiesError` object on failure. /// - (DBRpcTask *) 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 /// called on a team member or admin's behalf. /// /// /// @return Through the response callback, the caller will receive a `DBFILEPROPERTIESAddTemplateResult` object on /// success or a `DBFILEPROPERTIESModifyTemplateError` object on failure. /// - (DBRpcTask *) 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. /// /// @param templateId An identifier for template added by route See `templatesAddForUser` or `templatesAddForTeam`. /// /// @return Through the response callback, the caller will receive a `DBFILEPROPERTIESGetTemplateResult` object on /// success or a `DBFILEPROPERTIESTemplateError` object on failure. /// - (DBRpcTask *)templatesGetForUser: (NSString *)templateId; /// /// Get the template identifiers for a team. To get the schema of each template use `templatesGetForUser`. This endpoint /// can't be called on a team member or admin's behalf. /// /// /// @return Through the response callback, the caller will receive a `DBFILEPROPERTIESListTemplateResult` object on /// success or a `DBFILEPROPERTIESTemplateError` object on failure. /// - (DBRpcTask *)templatesListForUser; /// /// Permanently removes the specified template created from `templatesAddForUser`. All properties associated with the /// template will also be removed. This action cannot be undone. /// /// @param templateId An identifier for a template created by `templatesAddForUser` or `templatesAddForTeam`. /// /// @return Through the response callback, the caller will receive a `void` object on success or a /// `DBFILEPROPERTIESTemplateError` object on failure. /// - (DBRpcTask *)templatesRemoveForUser:(NSString *)templateId; /// /// Update a template associated with a user. This route can update the template name, the template description and add /// optional properties to templates. This endpoint can't be called on a team member or admin's behalf. /// /// @param templateId An identifier for template added by See `templatesAddForUser` or `templatesAddForTeam`. /// /// @return Through the response callback, the caller will receive a `DBFILEPROPERTIESUpdateTemplateResult` object on /// success or a `DBFILEPROPERTIESModifyTemplateError` object on failure. /// - (DBRpcTask *)templatesUpdateForUser: (NSString *)templateId; /// /// Update a template associated with a user. This route can update the template name, the template description and add /// optional properties to templates. This endpoint can't be called on a team member or admin's behalf. /// /// @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. /// @param description_ Description for the new template. Template descriptions can be up to 1024 bytes. /// @param addFields Property field templates to be added to the group template. There can be up to 32 properties in a /// single template. /// /// @return Through the response callback, the caller will receive a `DBFILEPROPERTIESUpdateTemplateResult` object on /// success or a `DBFILEPROPERTIESModifyTemplateError` object on failure. /// - (DBRpcTask *) templatesUpdateForUser:(NSString *)templateId name:(nullable NSString *)name description_:(nullable NSString *)description_ addFields:(nullable NSArray *)addFields; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBFILEPROPERTIESUserAuthRoutes.m ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import "DBFILEPROPERTIESUserAuthRoutes.h" #import "DBFILEPROPERTIESAddPropertiesArg.h" #import "DBFILEPROPERTIESAddPropertiesError.h" #import "DBFILEPROPERTIESAddTemplateArg.h" #import "DBFILEPROPERTIESAddTemplateResult.h" #import "DBFILEPROPERTIESGetTemplateArg.h" #import "DBFILEPROPERTIESGetTemplateResult.h" #import "DBFILEPROPERTIESInvalidPropertyGroupError.h" #import "DBFILEPROPERTIESListTemplateResult.h" #import "DBFILEPROPERTIESLookUpPropertiesError.h" #import "DBFILEPROPERTIESLookupError.h" #import "DBFILEPROPERTIESModifyTemplateError.h" #import "DBFILEPROPERTIESOverwritePropertyGroupArg.h" #import "DBFILEPROPERTIESPropertiesError.h" #import "DBFILEPROPERTIESPropertiesSearchArg.h" #import "DBFILEPROPERTIESPropertiesSearchContinueArg.h" #import "DBFILEPROPERTIESPropertiesSearchContinueError.h" #import "DBFILEPROPERTIESPropertiesSearchError.h" #import "DBFILEPROPERTIESPropertiesSearchMatch.h" #import "DBFILEPROPERTIESPropertiesSearchQuery.h" #import "DBFILEPROPERTIESPropertiesSearchResult.h" #import "DBFILEPROPERTIESPropertyFieldTemplate.h" #import "DBFILEPROPERTIESPropertyGroup.h" #import "DBFILEPROPERTIESPropertyGroupTemplate.h" #import "DBFILEPROPERTIESPropertyGroupUpdate.h" #import "DBFILEPROPERTIESRemovePropertiesArg.h" #import "DBFILEPROPERTIESRemovePropertiesError.h" #import "DBFILEPROPERTIESRemoveTemplateArg.h" #import "DBFILEPROPERTIESRouteObjects.h" #import "DBFILEPROPERTIESTemplateError.h" #import "DBFILEPROPERTIESTemplateFilter.h" #import "DBFILEPROPERTIESUpdatePropertiesArg.h" #import "DBFILEPROPERTIESUpdatePropertiesError.h" #import "DBFILEPROPERTIESUpdateTemplateArg.h" #import "DBFILEPROPERTIESUpdateTemplateResult.h" #import "DBRequestErrors.h" #import "DBStoneBase.h" #import "DBTransportClientProtocol.h" @implementation DBFILEPROPERTIESUserAuthRoutes - (instancetype)init:(id)client { self = [super init]; if (self) { _client = client; } return self; } - (DBRpcTask *)propertiesAdd:(NSString *)path propertyGroups:(NSArray *)propertyGroups { DBRoute *route = DBFILEPROPERTIESRouteObjects.DBFILEPROPERTIESPropertiesAdd; DBFILEPROPERTIESAddPropertiesArg *arg = [[DBFILEPROPERTIESAddPropertiesArg alloc] initWithPath:path propertyGroups:propertyGroups]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)propertiesOverwrite:(NSString *)path propertyGroups:(NSArray *)propertyGroups { DBRoute *route = DBFILEPROPERTIESRouteObjects.DBFILEPROPERTIESPropertiesOverwrite; DBFILEPROPERTIESOverwritePropertyGroupArg *arg = [[DBFILEPROPERTIESOverwritePropertyGroupArg alloc] initWithPath:path propertyGroups:propertyGroups]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)propertiesRemove:(NSString *)path propertyTemplateIds:(NSArray *)propertyTemplateIds { DBRoute *route = DBFILEPROPERTIESRouteObjects.DBFILEPROPERTIESPropertiesRemove; DBFILEPROPERTIESRemovePropertiesArg *arg = [[DBFILEPROPERTIESRemovePropertiesArg alloc] initWithPath:path propertyTemplateIds:propertyTemplateIds]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)propertiesSearch:(NSArray *)queries { DBRoute *route = DBFILEPROPERTIESRouteObjects.DBFILEPROPERTIESPropertiesSearch; DBFILEPROPERTIESPropertiesSearchArg *arg = [[DBFILEPROPERTIESPropertiesSearchArg alloc] initWithQueries:queries]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)propertiesSearch:(NSArray *)queries templateFilter:(DBFILEPROPERTIESTemplateFilter *)templateFilter { DBRoute *route = DBFILEPROPERTIESRouteObjects.DBFILEPROPERTIESPropertiesSearch; DBFILEPROPERTIESPropertiesSearchArg *arg = [[DBFILEPROPERTIESPropertiesSearchArg alloc] initWithQueries:queries templateFilter:templateFilter]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)propertiesSearchContinue:(NSString *)cursor { DBRoute *route = DBFILEPROPERTIESRouteObjects.DBFILEPROPERTIESPropertiesSearchContinue; DBFILEPROPERTIESPropertiesSearchContinueArg *arg = [[DBFILEPROPERTIESPropertiesSearchContinueArg alloc] initWithCursor:cursor]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)propertiesUpdate:(NSString *)path updatePropertyGroups:(NSArray *)updatePropertyGroups { DBRoute *route = DBFILEPROPERTIESRouteObjects.DBFILEPROPERTIESPropertiesUpdate; DBFILEPROPERTIESUpdatePropertiesArg *arg = [[DBFILEPROPERTIESUpdatePropertiesArg alloc] initWithPath:path updatePropertyGroups:updatePropertyGroups]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)templatesAddForUser:(NSString *)name description_:(NSString *)description_ fields:(NSArray *)fields { DBRoute *route = DBFILEPROPERTIESRouteObjects.DBFILEPROPERTIESTemplatesAddForUser; DBFILEPROPERTIESAddTemplateArg *arg = [[DBFILEPROPERTIESAddTemplateArg alloc] initWithName:name description_:description_ fields:fields]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)templatesGetForUser:(NSString *)templateId { DBRoute *route = DBFILEPROPERTIESRouteObjects.DBFILEPROPERTIESTemplatesGetForUser; DBFILEPROPERTIESGetTemplateArg *arg = [[DBFILEPROPERTIESGetTemplateArg alloc] initWithTemplateId:templateId]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)templatesListForUser { DBRoute *route = DBFILEPROPERTIESRouteObjects.DBFILEPROPERTIESTemplatesListForUser; return [self.client requestRpc:route arg:nil]; } - (DBRpcTask *)templatesRemoveForUser:(NSString *)templateId { DBRoute *route = DBFILEPROPERTIESRouteObjects.DBFILEPROPERTIESTemplatesRemoveForUser; DBFILEPROPERTIESRemoveTemplateArg *arg = [[DBFILEPROPERTIESRemoveTemplateArg alloc] initWithTemplateId:templateId]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)templatesUpdateForUser:(NSString *)templateId { DBRoute *route = DBFILEPROPERTIESRouteObjects.DBFILEPROPERTIESTemplatesUpdateForUser; DBFILEPROPERTIESUpdateTemplateArg *arg = [[DBFILEPROPERTIESUpdateTemplateArg alloc] initWithTemplateId:templateId]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)templatesUpdateForUser:(NSString *)templateId name:(NSString *)name description_:(NSString *)description_ addFields:(NSArray *)addFields { DBRoute *route = DBFILEPROPERTIESRouteObjects.DBFILEPROPERTIESTemplatesUpdateForUser; DBFILEPROPERTIESUpdateTemplateArg *arg = [[DBFILEPROPERTIESUpdateTemplateArg alloc] initWithTemplateId:templateId name:name description_:description_ addFields:addFields]; return [self.client requestRpc:route arg:arg]; } @end ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBFILEREQUESTSUserAuthRoutes.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #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; @protocol DBTransportClient; /// /// Routes for the `FileRequests` namespace /// NS_ASSUME_NONNULL_BEGIN @interface DBFILEREQUESTSUserAuthRoutes : NSObject /// An instance of the networking client that each route will use to submit a /// request. @property (nonatomic, readonly) id client; /// Initializes the `DBFILEREQUESTSUserAuthRoutes` namespace container object /// 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. /// /// @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. /// /// @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; /// /// Creates a file request for this user. /// /// @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 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 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. /// /// @param id_ The ID of the file request to retrieve. /// /// @return Through the response callback, the caller will receive a `DBFILEREQUESTSFileRequest` object on success or a /// `DBFILEREQUESTSGetFileRequestError` object on failure. /// - (DBRpcTask *)get:(NSString *)id_; /// /// 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 `DBFILEREQUESTSListFileRequestsResult` object on /// success or a `DBFILEREQUESTSListFileRequestsError` object on failure. /// - (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. /// /// @param id_ The ID of the file request to update. /// /// @return Through the response callback, the caller will receive a `DBFILEREQUESTSFileRequest` object on success or a /// `DBFILEREQUESTSUpdateFileRequestError` object on failure. /// - (DBRpcTask *)update:(NSString *)id_; /// /// Update a file request. /// /// @param id_ The ID of the file request to update. /// @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. 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 description_:(nullable NSString *)description_; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBFILEREQUESTSUserAuthRoutes.m ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #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" #import "DBFILEREQUESTSUpdateFileRequestError.h" #import "DBRequestErrors.h" #import "DBStoneBase.h" #import "DBTransportClientProtocol.h" @implementation DBFILEREQUESTSUserAuthRoutes - (instancetype)init:(id)client { self = [super init]; if (self) { _client = 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 = [[DBFILEREQUESTSCreateFileRequestArgs alloc] initWithTitle:title destination:destination]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)create:(NSString *)title destination:(NSString *)destination deadline:(DBFILEREQUESTSFileRequestDeadline *)deadline open:(NSNumber *)open description_:(NSString *)description_ { DBRoute *route = DBFILEREQUESTSRouteObjects.DBFILEREQUESTSCreate; DBFILEREQUESTSCreateFileRequestArgs *arg = [[DBFILEREQUESTSCreateFileRequestArgs alloc] initWithTitle:title destination:destination deadline:deadline 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_]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)list { DBRoute *route = DBFILEREQUESTSRouteObjects.DBFILEREQUESTSList; 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_]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)update:(NSString *)id_ title:(NSString *)title destination:(NSString *)destination deadline:(DBFILEREQUESTSUpdateFileRequestDeadline *)deadline open:(NSNumber *)open description_:(NSString *)description_ { DBRoute *route = DBFILEREQUESTSRouteObjects.DBFILEREQUESTSUpdate; DBFILEREQUESTSUpdateFileRequestArgs *arg = [[DBFILEREQUESTSUpdateFileRequestArgs alloc] initWithId_:id_ title:title destination:destination deadline:deadline open:open description_:description_]; return [self.client requestRpc:route arg:arg]; } @end ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBFILESAppAuthRoutes.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBFILESAppAuthRoutes.m ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBFILESUserAuthRoutes.h ================================================ /// /// 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 DBFILESUserAuthRoutes : NSObject /// An instance of the networking client that each route will use to submit a /// request. @property (nonatomic, readonly) id client; /// Initializes the `DBFILESUserAuthRoutes` namespace container object with a /// networking client. - (instancetype)init:(id)client; /// /// DEPRECATED: Returns the metadata for a file or folder. This is an alpha endpoint compatible with the properties API. /// Note: Metadata for the root folder is unsupported. /// /// /// @return Through the response callback, the caller will receive a `DBFILESMetadata` object on success or a /// `DBFILESAlphaGetMetadataError` object on failure. /// - (DBRpcTask *)alphaGetMetadata:(NSString *)path __deprecated_msg("alphaGetMetadata is deprecated. Use getMetadata."); /// /// DEPRECATED: Returns the metadata for a file or folder. This is an alpha endpoint compatible with the properties API. /// Note: Metadata for the root folder is unsupported. /// /// @param includePropertyTemplates If set to a valid list of template IDs, `propertyGroups` in `DBFILESFileMetadata` is /// set for files with custom properties. /// /// @return Through the response callback, the caller will receive a `DBFILESMetadata` object on success or a /// `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 __deprecated_msg("alphaGetMetadata is deprecated. Use getMetadata."); /// /// 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 /// `DBFILESUploadError` object on failure. /// - (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 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 /// `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 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 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 /// `DBFILESUploadError` object on failure. /// - (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 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 /// `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 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 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 /// `DBFILESUploadError` object on failure. /// - (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 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 /// `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 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 /// its contents will be copied. /// /// /// @return Through the response callback, the caller will receive a `DBFILESMetadata` object on success or a /// `DBFILESRelocationError` object on failure. /// - (DBRpcTask *)dCopy:(NSString *)fromPath toPath:(NSString *)toPath __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 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 `DBFILESMetadata` object on success or a /// `DBFILESRelocationError` object on failure. /// - (DBRpcTask *)dCopy:(NSString *)fromPath toPath:(NSString *)toPath allowSharedFolder:(nullable NSNumber *)allowSharedFolder autorename:(nullable NSNumber *)autorename allowOwnershipTransfer:(nullable NSNumber *)allowOwnershipTransfer __deprecated_msg("dCopy is deprecated. Use dCopy."); /// /// 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. /// /// /// @return Through the response callback, the caller will receive a `DBFILESRelocationBatchLaunch` object on success or /// a `void` object on failure. /// - (DBRpcTask *)dCopyBatch:(NSArray *)entries __deprecated_msg("dCopyBatch is deprecated. Use dCopyBatch."); /// /// 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 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. /// /// @return Through the response callback, the caller will receive a `DBFILESRelocationBatchLaunch` object on success or /// a `void` object on failure. /// - (DBRpcTask *)dCopyBatch:(NSArray *)entries autorename:(nullable NSNumber *)autorename 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; /// /// 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. /// /// @return Through the response callback, the caller will receive a `DBFILESRelocationBatchJobStatus` object on success /// or a `DBASYNCPollError` object on failure. /// - (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 /// user's Dropbox by passing it to `dCopyReferenceSave`. /// /// @param path The path to the file or folder you want to get a copy reference to. /// /// @return Through the response callback, the caller will receive a `DBFILESGetCopyReferenceResult` object on success /// or a `DBFILESGetCopyReferenceError` object on failure. /// - (DBRpcTask *)dCopyReferenceGet:(NSString *)path; /// /// Save a copy reference returned by `dCopyReferenceGet` to the user's Dropbox. /// /// @param dCopyReference A copy reference returned by `dCopyReferenceGet`. /// @param path Path in the user's Dropbox that is the destination. /// /// @return Through the response callback, the caller will receive a `DBFILESSaveCopyReferenceResult` object on success /// or a `DBFILESSaveCopyReferenceError` object on failure. /// - (DBRpcTask *)dCopyReferenceSave: (NSString *)dCopyReference path:(NSString *)path; /// /// DEPRECATED: Create a folder at a given path. /// /// @param path Path in the user's Dropbox to create. /// /// @return Through the response callback, the caller will receive a `DBFILESFolderMetadata` object on success or a /// `DBFILESCreateFolderError` object on failure. /// - (DBRpcTask *)createFolder:(NSString *)path __deprecated_msg("createFolder is deprecated. Use createFolder."); /// /// DEPRECATED: Create a folder at a given path. /// /// @param path Path in the user's Dropbox to create. /// @param autorename If there's a conflict, have the Dropbox server try to autorename the folder to avoid the conflict. /// /// @return Through the response callback, the caller will receive a `DBFILESFolderMetadata` object on success or a /// `DBFILESCreateFolderError` object on failure. /// - (DBRpcTask *)createFolder:(NSString *)path autorename:(nullable NSNumber *)autorename __deprecated_msg("createFolder is deprecated. Use createFolder."); /// /// Create a folder at a given path. /// /// @param path Path in the user's Dropbox to create. /// /// @return Through the response callback, the caller will receive a `DBFILESCreateFolderResult` object on success or a /// `DBFILESCreateFolderError` object on failure. /// - (DBRpcTask *)createFolderV2:(NSString *)path; /// /// Create a folder at a given path. /// /// @param path Path in the user's Dropbox to create. /// @param autorename If there's a conflict, have the Dropbox server try to autorename the folder to avoid the conflict. /// /// @return Through the response callback, the caller will receive a `DBFILESCreateFolderResult` object on success or a /// `DBFILESCreateFolderError` object on failure. /// - (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 /// 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. /// /// @return Through the response callback, the caller will receive a `DBFILESMetadata` object on success or a /// `DBFILESDeleteError` object on failure. /// - (DBRpcTask *)delete_:(NSString *)path __deprecated_msg("delete_ is deprecated. Use delete_."); /// /// 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 `DBFILESMetadata` object on success or a /// `DBFILESDeleteError` object on failure. /// - (DBRpcTask *)delete_:(NSString *)path parentRev:(nullable NSString *)parentRev __deprecated_msg("delete_ is deprecated. Use delete_."); /// /// 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. /// /// @return Through the response callback, the caller will receive a `DBFILESDeleteResult` object on success or a /// `DBFILESDeleteError` object on failure. /// - (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 /// 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 `DBFILESDeleteResult` object on success or a /// `DBFILESDeleteError` object on failure. /// - (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. /// /// @param path The path of the file 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 `DBFILESFileMetadata` object on success or a /// `DBFILESDownloadError` object on failure. /// - (DBDownloadUrlTask *)downloadUrl:(NSString *)path overwrite:(BOOL)overwrite destination:(NSURL *)destination; /// /// Download a file from a user's Dropbox. /// /// @param path The path of the file to download. /// @param rev Please specify revision in path instead. /// @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 `DBFILESFileMetadata` object on success or a /// `DBFILESDownloadError` object on failure. /// - (DBDownloadUrlTask *)downloadUrl:(NSString *)path rev:(nullable NSString *)rev overwrite:(BOOL)overwrite destination:(NSURL *)destination; /// /// Download a file from a user's Dropbox. /// /// @param path The path of the file 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 `DBFILESFileMetadata` object on success or a /// `DBFILESDownloadError` object on failure. /// - (DBDownloadUrlTask *)downloadUrl:(NSString *)path overwrite:(BOOL)overwrite destination:(NSURL *)destination byteOffsetStart:(NSNumber *)byteOffsetStart byteOffsetEnd:(NSNumber *)byteOffsetEnd; /// /// Download a file from a user's Dropbox. /// /// @param path The path of the file to download. /// @param rev Please specify revision in path instead. /// @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 `DBFILESFileMetadata` object on success or a /// `DBFILESDownloadError` object on failure. /// - (DBDownloadUrlTask *)downloadUrl:(NSString *)path rev:(nullable NSString *)rev overwrite:(BOOL)overwrite destination:(NSURL *)destination byteOffsetStart:(NSNumber *)byteOffsetStart byteOffsetEnd:(NSNumber *)byteOffsetEnd; /// /// Download a file from a user's Dropbox. /// /// @param path The path of the file to download. /// /// @return Through the response callback, the caller will receive a `DBFILESFileMetadata` object on success or a /// `DBFILESDownloadError` object on failure. /// - (DBDownloadDataTask *)downloadData:(NSString *)path; /// /// Download a file from a user's Dropbox. /// /// @param path The path of the file to download. /// @param rev Please specify revision in path instead. /// /// @return Through the response callback, the caller will receive a `DBFILESFileMetadata` object on success or a /// `DBFILESDownloadError` object on failure. /// - (DBDownloadDataTask *)downloadData:(NSString *)path rev:(nullable NSString *)rev; /// /// Download a file from a user's Dropbox. /// /// @param path The path of the file 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 `DBFILESFileMetadata` object on success or a /// `DBFILESDownloadError` object on failure. /// - (DBDownloadDataTask *)downloadData:(NSString *)path byteOffsetStart:(NSNumber *)byteOffsetStart byteOffsetEnd:(NSNumber *)byteOffsetEnd; /// /// Download a file from a user's Dropbox. /// /// @param path The path of the file to download. /// @param rev Please specify revision in path instead. /// @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 /// `DBFILESDownloadError` object on failure. /// - (DBDownloadDataTask *)downloadData:(NSString *)path rev:(nullable NSString *)rev 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. /// /// @param path The path of a file or folder on Dropbox. /// /// @return Through the response callback, the caller will receive a `DBFILESMetadata` object on success or a /// `DBFILESGetMetadataError` object on failure. /// - (DBRpcTask *)getMetadata:(NSString *)path; /// /// Returns the metadata for a file or folder. Note: Metadata for the root folder is unsupported. /// /// @param path The path of a file or folder on Dropbox. /// @param includeMediaInfo If true, `mediaInfo` in `DBFILESFileMetadata` is set for photo and video. /// @param includeDeleted If true, DeletedMetadata will be returned for deleted file or folder, otherwise `notFound` in /// `DBFILESLookupError` will be returned. /// @param includeHasExplicitSharedMembers If true, the results will include a flag for each file indicating whether or /// not that file has any explicit members. /// @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. /// /// @return Through the response callback, the caller will receive a `DBFILESMetadata` object on success or a /// `DBFILESGetMetadataError` object on failure. /// - (DBRpcTask *) 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, .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 /// 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 `DBFILESFileMetadata` object on success or a /// `DBFILESPreviewError` object on failure. /// - (DBDownloadUrlTask *)getPreviewUrl:(NSString *)path overwrite:(BOOL)overwrite destination:(NSURL *)destination; /// /// Get a preview for a file. Currently, PDF previews are generated for files with the following extensions: .ai, .doc, /// .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. /// @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 `DBFILESFileMetadata` object on success or a /// `DBFILESPreviewError` object on failure. /// - (DBDownloadUrlTask *)getPreviewUrl:(NSString *)path rev:(nullable NSString *)rev overwrite:(BOOL)overwrite destination:(NSURL *)destination; /// /// Get a preview for a file. Currently, PDF previews are generated for files with the following extensions: .ai, .doc, /// .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 /// 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 `DBFILESFileMetadata` object on success or a /// `DBFILESPreviewError` object on failure. /// - (DBDownloadUrlTask *)getPreviewUrl:(NSString *)path overwrite:(BOOL)overwrite destination:(NSURL *)destination byteOffsetStart:(NSNumber *)byteOffsetStart byteOffsetEnd:(NSNumber *)byteOffsetEnd; /// /// Get a preview for a file. Currently, PDF previews are generated for files with the following extensions: .ai, .doc, /// .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. /// @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 `DBFILESFileMetadata` object on success or a /// `DBFILESPreviewError` object on failure. /// - (DBDownloadUrlTask *)getPreviewUrl:(NSString *)path rev:(nullable NSString *)rev overwrite:(BOOL)overwrite destination:(NSURL *)destination byteOffsetStart:(NSNumber *)byteOffsetStart byteOffsetEnd:(NSNumber *)byteOffsetEnd; /// /// Get a preview for a file. Currently, PDF previews are generated for files with the following extensions: .ai, .doc, /// .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. /// /// @return Through the response callback, the caller will receive a `DBFILESFileMetadata` object on success or a /// `DBFILESPreviewError` object on failure. /// - (DBDownloadDataTask *)getPreviewData:(NSString *)path; /// /// Get a preview for a file. Currently, PDF previews are generated for files with the following extensions: .ai, .doc, /// .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. /// /// @return Through the response callback, the caller will receive a `DBFILESFileMetadata` object on success or a /// `DBFILESPreviewError` object on failure. /// - (DBDownloadDataTask *)getPreviewData:(NSString *)path rev:(nullable NSString *)rev; /// /// Get a preview for a file. Currently, PDF previews are generated for files with the following extensions: .ai, .doc, /// .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 /// 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 /// `DBFILESPreviewError` object on failure. /// - (DBDownloadDataTask *)getPreviewData:(NSString *)path byteOffsetStart:(NSNumber *)byteOffsetStart byteOffsetEnd:(NSNumber *)byteOffsetEnd; /// /// Get a preview for a file. Currently, PDF previews are generated for files with the following extensions: .ai, .doc, /// .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. /// @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 /// `DBFILESPreviewError` object on failure. /// - (DBDownloadDataTask *)getPreviewData:(NSString *)path rev:(nullable NSString *)rev byteOffsetStart:(NSNumber *)byteOffsetStart byteOffsetEnd:(NSNumber *)byteOffsetEnd; /// /// Get a temporary link to stream content of a file. This link will expire in four hours and afterwards you will get /// 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. /// /// @return Through the response callback, the caller will receive a `DBFILESGetTemporaryLinkResult` object on success /// or a `DBFILESGetTemporaryLinkError` object on failure. /// - (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, 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 /// 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 `DBFILESFileMetadata` object on success or a /// `DBFILESThumbnailError` object on failure. /// - (DBDownloadUrlTask *)getThumbnailUrl:(NSString *)path 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 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. /// @param destination The file url of the desired download output location. /// /// @return Through the response callback, the caller will receive a `DBFILESFileMetadata` object on success or a /// `DBFILESThumbnailError` object on failure. /// - (DBDownloadUrlTask *) 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, 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 /// 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 `DBFILESFileMetadata` object on success or a /// `DBFILESThumbnailError` object on failure. /// - (DBDownloadUrlTask *)getThumbnailUrl:(NSString *)path 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 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. /// @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 `DBFILESFileMetadata` object on success or a /// `DBFILESThumbnailError` object on failure. /// - (DBDownloadUrlTask *) 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, 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. /// /// @return Through the response callback, the caller will receive a `DBFILESFileMetadata` object on success or a /// `DBFILESThumbnailError` object on failure. /// - (DBDownloadDataTask *)getThumbnailData:(NSString *)path; /// /// 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. /// /// @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; /// /// 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, 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; /// /// 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, 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. /// /// @return Through the response callback, the caller will receive a `DBFILESGetThumbnailBatchResult` object on success /// or a `DBFILESGetThumbnailBatchError` object on failure. /// - (DBRpcTask *)getThumbnailBatch: (NSArray *)entries; /// /// 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; /// /// A way to quickly get a cursor for the folder's state. Unlike `listFolder`, `listFolderGetLatestCursor` doesn't /// return any entries. This endpoint is for app which only needs to know about new files and modifications and doesn't /// need to know about files that already exist in Dropbox. /// /// @param path A unique identifier for the file. /// /// @return Through the response callback, the caller will receive a `DBFILESListFolderGetLatestCursorResult` object on /// success or a `DBFILESListFolderError` object on failure. /// - (DBRpcTask *)listFolderGetLatestCursor: (NSString *)path; /// /// A way to quickly get a cursor for the folder's state. Unlike `listFolder`, `listFolderGetLatestCursor` doesn't /// return any entries. This endpoint is for app which only needs to know about new files and modifications and doesn't /// need to know about files that already exist in Dropbox. /// /// @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 `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 includeNonDownloadableFiles:(nullable NSNumber *)includeNonDownloadableFiles; /// /// A longpoll endpoint to wait for changes on an account. In conjunction with `listFolderContinue`, this call gives you /// a low-latency way to monitor an account for file changes. The connection will block until there are changes /// available or a timeout occurs. This endpoint is useful mostly for client-side apps. If you're looking for /// server-side notifications, check out our webhooks documentation /// https://www.dropbox.com/developers/reference/webhooks. /// /// @param cursor A cursor as returned by `listFolder` or `listFolderContinue`. Cursors retrieved by setting /// `includeMediaInfo` in `DBFILESListFolderArg` to true are not supported. /// /// @return Through the response callback, the caller will receive a `DBFILESListFolderLongpollResult` object on success /// or a `DBFILESListFolderLongpollError` object on failure. /// - (DBRpcTask *)listFolderLongpoll: (NSString *)cursor; /// /// A longpoll endpoint to wait for changes on an account. In conjunction with `listFolderContinue`, this call gives you /// a low-latency way to monitor an account for file changes. The connection will block until there are changes /// available or a timeout occurs. This endpoint is useful mostly for client-side apps. If you're looking for /// server-side notifications, check out our webhooks documentation /// https://www.dropbox.com/developers/reference/webhooks. /// /// @param cursor A cursor as returned by `listFolder` or `listFolderContinue`. Cursors retrieved by setting /// `includeMediaInfo` in `DBFILESListFolderArg` to true are not supported. /// @param timeout A timeout in seconds. The request will block for at most this length of time, plus up to 90 seconds /// of random jitter added to avoid the thundering herd problem. Care should be taken when using this parameter, as some /// network infrastructure does not support long timeouts. /// /// @return Through the response callback, the caller will receive a `DBFILESListFolderLongpollResult` object on success /// or a `DBFILESListFolderLongpollError` object on failure. /// - (DBRpcTask *) 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 /// latest file entry at the given file path or id. This end point allows your app to query either by file path or file /// id by setting the mode parameter appropriately. In the `path` in `DBFILESListRevisionsMode` (default) mode, all /// revisions at the same file path as the latest file entry are returned. If revisions with the same file id are /// desired, then mode must be set to `id_` in `DBFILESListRevisionsMode`. The `id_` in `DBFILESListRevisionsMode` mode /// is useful to retrieve revisions for a given file across moves or renames. /// /// @param path The path to the file you want to see the revisions of. /// /// @return Through the response callback, the caller will receive a `DBFILESListRevisionsResult` object on success or a /// `DBFILESListRevisionsError` object on failure. /// - (DBRpcTask *)listRevisions:(NSString *)path; /// /// Returns revisions for files based on a file path or a file id. The file path or file id is identified from the /// latest file entry at the given file path or id. This end point allows your app to query either by file path or file /// id by setting the mode parameter appropriately. In the `path` in `DBFILESListRevisionsMode` (default) mode, all /// revisions at the same file path as the latest file entry are returned. If revisions with the same file id are /// desired, then mode must be set to `id_` in `DBFILESListRevisionsMode`. The `id_` in `DBFILESListRevisionsMode` mode /// is useful to retrieve revisions for a given file across moves or renames. /// /// @param path The path to the file you want to see the revisions of. /// @param mode Determines the behavior of the API in listing the revisions for a given file path or id. /// @param limit The maximum number of revision entries returned. /// /// @return Through the response callback, the caller will receive a `DBFILESListRevisionsResult` object on success or a /// `DBFILESListRevisionsError` object on failure. /// - (DBRpcTask *) 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 /// its contents will be moved. /// /// /// @return Through the response callback, the caller will receive a `DBFILESMetadata` object on success or a /// `DBFILESRelocationError` object on failure. /// - (DBRpcTask *)move:(NSString *)fromPath toPath:(NSString *)toPath __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 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 `DBFILESMetadata` object on success or a /// `DBFILESRelocationError` object on failure. /// - (DBRpcTask *)move:(NSString *)fromPath toPath:(NSString *)toPath allowSharedFolder:(nullable NSNumber *)allowSharedFolder autorename:(nullable NSNumber *)autorename allowOwnershipTransfer:(nullable NSNumber *)allowOwnershipTransfer __deprecated_msg("move is deprecated. Use move."); /// /// 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. /// /// /// @return Through the response callback, the caller will receive a `DBFILESRelocationBatchLaunch` object on success or /// a `void` object on failure. /// - (DBRpcTask *)moveBatch:(NSArray *)entries __deprecated_msg("moveBatch is deprecated. Use moveBatch."); /// /// 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 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. /// /// @return Through the response callback, the caller will receive a `DBFILESRelocationBatchLaunch` object on success or /// a `void` object on failure. /// - (DBRpcTask *)moveBatch:(NSArray *)entries autorename:(nullable NSNumber *)autorename 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; /// /// 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. /// /// @return Through the response callback, the caller will receive a `DBFILESRelocationBatchJobStatus` object on success /// or a `DBASYNCPollError` object on failure. /// - (DBRpcTask *)moveBatchCheck:(NSString *)asyncJobId __deprecated_msg("moveBatchCheck is deprecated. Use moveBatchCheck."); /// /// 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 `DBFILESRelocationBatchV2JobStatus` object on /// success or a `DBASYNCPollError` object on failure. /// - (DBRpcTask *)moveBatchCheckV2:(NSString *)asyncJobId; /// /// 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 inputUrl The file to upload, as an NSString * object. /// /// @return Through the response callback, the caller will receive a `DBFILESPaperCreateResult` object on success or a /// `DBFILESPaperCreateError` object on failure. /// - (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). 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. /// /// @return Through the response callback, the caller will receive a `void` object on success or a `DBFILESDeleteError` /// object on failure. /// - (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. 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 __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. 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 __deprecated_msg("propertiesOverwrite is deprecated."); /// /// DEPRECATED: The propertiesRemove route /// /// @param path A unique identifier for the file or folder. /// @param propertyTemplateIds A list of identifiers for a template created by `templatesAddForUser` or /// `templatesAddForTeam`. /// /// @return Through the response callback, the caller will receive a `void` object on success or a /// `DBFILEPROPERTIESRemovePropertiesError` object on failure. /// - (DBRpcTask *)propertiesRemove:(NSString *)path propertyTemplateIds: (NSArray *)propertyTemplateIds __deprecated_msg("propertiesRemove is deprecated."); /// /// DEPRECATED: The propertiesTemplateGet route /// /// @param templateId An identifier for template added by route See `templatesAddForUser` or `templatesAddForTeam`. /// /// @return Through the response callback, the caller will receive a `DBFILEPROPERTIESGetTemplateResult` object on /// success or a `DBFILEPROPERTIESTemplateError` object on failure. /// - (DBRpcTask *)propertiesTemplateGet: (NSString *)templateId __deprecated_msg("propertiesTemplateGet is deprecated."); /// /// DEPRECATED: The propertiesTemplateList route /// /// /// @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."); /// /// DEPRECATED: The propertiesUpdate route /// /// @param path A unique identifier for the file or folder. /// @param updatePropertyGroups The property groups "delta" updates to apply. /// /// @return Through the response callback, the caller will receive a `void` object on success or a /// `DBFILEPROPERTIESUpdatePropertiesError` object on failure. /// - (DBRpcTask *) propertiesUpdate:(NSString *)path updatePropertyGroups:(NSArray *)updatePropertyGroups __deprecated_msg("propertiesUpdate is deprecated."); /// /// Restore a specific revision of a file to the given path. /// /// @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. /// - (DBRpcTask *)restore:(NSString *)path rev:(NSString *)rev; /// /// 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. /// /// @return Through the response callback, the caller will receive a `DBFILESSaveUrlResult` object on success or a /// `DBFILESSaveUrlError` object on failure. /// - (DBRpcTask *)saveUrl:(NSString *)path url:(NSString *)url; /// /// Check the status of a `saveUrl` job. /// /// @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 `DBFILESSaveUrlJobStatus` object on success or a /// `DBASYNCPollError` object on failure. /// - (DBRpcTask *)saveUrlCheckJobStatus:(NSString *)asyncJobId; /// /// 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. 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 __deprecated_msg("search is deprecated. Use search."); /// /// 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. 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 /// is only available for Dropbox Business accounts. /// /// @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 start:(nullable NSNumber *)start maxResults:(nullable NSNumber *)maxResults 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`. 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 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 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`. 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 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`. 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 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 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`. 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 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`. 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 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 inputStream:(NSInputStream *)inputStream; /// /// 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`. 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 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 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 /// `DBFILESUploadSessionAppendError` object on failure. /// - (DBUploadTask *)uploadSessionAppendUrl:(NSString *)sessionId offset:(NSNumber *)offset inputUrl:(NSString *)inputUrl __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. 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 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 /// `DBFILESUploadSessionAppendError` object on failure. /// - (DBUploadTask *)uploadSessionAppendData:(NSString *)sessionId offset:(NSNumber *)offset inputData:(NSData *)inputData __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. 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 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 /// `DBFILESUploadSessionAppendError` object on failure. /// - (DBUploadTask *)uploadSessionAppendStream:(NSString *)sessionId offset:(NSNumber *)offset inputStream: (NSInputStream *)inputStream __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. 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 /// `DBFILESUploadSessionAppendError` object on failure. /// - (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. 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 /// `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 /// `DBFILESUploadSessionAppendError` object on failure. /// - (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. 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 /// `DBFILESUploadSessionAppendError` object on failure. /// - (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. 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 /// `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 /// `DBFILESUploadSessionAppendError` object on failure. /// - (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. 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 /// `DBFILESUploadSessionAppendError` object on failure. /// - (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. 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 /// `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 /// `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 *) 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. 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 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. 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 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. 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 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 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 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. /// /// @return Through the response callback, the caller will receive a `DBFILESUploadSessionFinishBatchLaunch` object on /// 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; /// /// Returns the status of an asynchronous job for `uploadSessionFinishBatch`. 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 `DBFILESUploadSessionFinishBatchJobStatus` object /// on success or a `DBASYNCPollError` object on failure. /// - (DBRpcTask *)uploadSessionFinishBatchCheck: (NSString *)asyncJobId; /// /// 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 /// `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 `DBFILESUploadSessionStartError` object on failure. /// - (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 /// `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 /// `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 `DBFILESUploadSessionStartError` object on failure. /// - (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 /// `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 `DBFILESUploadSessionStartError` object on failure. /// - (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 /// `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 /// `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 `DBFILESUploadSessionStartError` object on failure. /// - (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 /// `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 `DBFILESUploadSessionStartError` object on failure. /// - (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 /// `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 /// `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 `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. /// - (DBRpcTask *) uploadSessionStartBatch:(NSNumber *)numSessions sessionType:(nullable DBFILESUploadSessionType *)sessionType; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBFILESUserAuthRoutes.m ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import "DBFILESUserAuthRoutes.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 DBFILESUserAuthRoutes - (instancetype)init:(id)client { self = [super init]; if (self) { _client = client; } return self; } - (DBRpcTask *)alphaGetMetadata:(NSString *)path { DBRoute *route = DBFILESRouteObjects.DBFILESAlphaGetMetadata; DBFILESAlphaGetMetadataArg *arg = [[DBFILESAlphaGetMetadataArg alloc] initWithPath:path]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)alphaGetMetadata:(NSString *)path includeMediaInfo:(NSNumber *)includeMediaInfo includeDeleted:(NSNumber *)includeDeleted includeHasExplicitSharedMembers:(NSNumber *)includeHasExplicitSharedMembers includePropertyGroups:(DBFILEPROPERTIESTemplateFilterBase *)includePropertyGroups includePropertyTemplates:(NSArray *)includePropertyTemplates { DBRoute *route = DBFILESRouteObjects.DBFILESAlphaGetMetadata; DBFILESAlphaGetMetadataArg *arg = [[DBFILESAlphaGetMetadataArg alloc] initWithPath:path includeMediaInfo:includeMediaInfo includeDeleted:includeDeleted includeHasExplicitSharedMembers:includeHasExplicitSharedMembers includePropertyGroups:includePropertyGroups includePropertyTemplates:includePropertyTemplates]; return [self.client requestRpc:route arg:arg]; } - (DBUploadTask *)alphaUploadUrl:(NSString *)path inputUrl:(NSString *)inputUrl { DBRoute *route = DBFILESRouteObjects.DBFILESAlphaUpload; DBFILESUploadArg *arg = [[DBFILESUploadArg alloc] initWithPath:path]; return [self.client requestUpload:route arg:arg inputUrl:inputUrl]; } - (DBUploadTask *)alphaUploadUrl:(NSString *)path mode:(DBFILESWriteMode *)mode autorename:(NSNumber *)autorename clientModified:(NSDate *)clientModified mute:(NSNumber *)mute propertyGroups:(NSArray *)propertyGroups strictConflict:(NSNumber *)strictConflict contentHash:(NSString *)contentHash inputUrl:(NSString *)inputUrl { DBRoute *route = DBFILESRouteObjects.DBFILESAlphaUpload; 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; DBFILESUploadArg *arg = [[DBFILESUploadArg alloc] initWithPath:path]; return [self.client requestUpload:route arg:arg inputData:inputData]; } - (DBUploadTask *)alphaUploadData:(NSString *)path mode:(DBFILESWriteMode *)mode autorename:(NSNumber *)autorename clientModified:(NSDate *)clientModified mute:(NSNumber *)mute propertyGroups:(NSArray *)propertyGroups strictConflict:(NSNumber *)strictConflict contentHash:(NSString *)contentHash inputData:(NSData *)inputData { DBRoute *route = DBFILESRouteObjects.DBFILESAlphaUpload; 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; DBFILESUploadArg *arg = [[DBFILESUploadArg alloc] initWithPath:path]; return [self.client requestUpload:route arg:arg inputStream:inputStream]; } - (DBUploadTask *)alphaUploadStream:(NSString *)path mode:(DBFILESWriteMode *)mode autorename:(NSNumber *)autorename clientModified:(NSDate *)clientModified mute:(NSNumber *)mute propertyGroups:(NSArray *)propertyGroups strictConflict:(NSNumber *)strictConflict contentHash:(NSString *)contentHash inputStream:(NSInputStream *)inputStream { DBRoute *route = DBFILESRouteObjects.DBFILESAlphaUpload; 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]; } - (DBRpcTask *)dCopy:(NSString *)fromPath toPath:(NSString *)toPath { DBRoute *route = DBFILESRouteObjects.DBFILESDCopy; DBFILESRelocationArg *arg = [[DBFILESRelocationArg alloc] initWithFromPath:fromPath toPath:toPath]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)dCopy:(NSString *)fromPath toPath:(NSString *)toPath allowSharedFolder:(NSNumber *)allowSharedFolder autorename:(NSNumber *)autorename allowOwnershipTransfer:(NSNumber *)allowOwnershipTransfer { DBRoute *route = DBFILESRouteObjects.DBFILESDCopy; DBFILESRelocationArg *arg = [[DBFILESRelocationArg alloc] initWithFromPath:fromPath toPath:toPath allowSharedFolder:allowSharedFolder autorename:autorename allowOwnershipTransfer:allowOwnershipTransfer]; 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]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)dCopyBatch:(NSArray *)entries autorename:(NSNumber *)autorename allowSharedFolder:(NSNumber *)allowSharedFolder allowOwnershipTransfer:(NSNumber *)allowOwnershipTransfer { DBRoute *route = DBFILESRouteObjects.DBFILESDCopyBatch; DBFILESRelocationBatchArg *arg = [[DBFILESRelocationBatchArg alloc] initWithEntries:entries 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]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)dCopyReferenceSave:(NSString *)dCopyReference path:(NSString *)path { DBRoute *route = DBFILESRouteObjects.DBFILESDCopyReferenceSave; DBFILESSaveCopyReferenceArg *arg = [[DBFILESSaveCopyReferenceArg alloc] initWithDCopyReference:dCopyReference path:path]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)createFolder:(NSString *)path { DBRoute *route = DBFILESRouteObjects.DBFILESCreateFolder; DBFILESCreateFolderArg *arg = [[DBFILESCreateFolderArg alloc] initWithPath:path]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)createFolder:(NSString *)path autorename:(NSNumber *)autorename { DBRoute *route = DBFILESRouteObjects.DBFILESCreateFolder; DBFILESCreateFolderArg *arg = [[DBFILESCreateFolderArg alloc] initWithPath:path autorename:autorename]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)createFolderV2:(NSString *)path { DBRoute *route = DBFILESRouteObjects.DBFILESCreateFolderV2; DBFILESCreateFolderArg *arg = [[DBFILESCreateFolderArg alloc] initWithPath:path]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)createFolderV2:(NSString *)path autorename:(NSNumber *)autorename { DBRoute *route = DBFILESRouteObjects.DBFILESCreateFolderV2; DBFILESCreateFolderArg *arg = [[DBFILESCreateFolderArg alloc] initWithPath:path autorename: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]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)deleteBatchCheck:(NSString *)asyncJobId { DBRoute *route = DBFILESRouteObjects.DBFILESDeleteBatchCheck; DBASYNCPollArg *arg = [[DBASYNCPollArg alloc] initWithAsyncJobId:asyncJobId]; 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]; return [self.client requestDownload:route arg:arg overwrite:overwrite destination:destination]; } - (DBDownloadUrlTask *)downloadUrl:(NSString *)path rev:(NSString *)rev overwrite:(BOOL)overwrite destination:(NSURL *)destination { DBRoute *route = DBFILESRouteObjects.DBFILESDownload; DBFILESDownloadArg *arg = [[DBFILESDownloadArg alloc] initWithPath:path rev:rev]; return [self.client requestDownload:route arg:arg overwrite:overwrite destination:destination]; } - (DBDownloadUrlTask *)downloadUrl:(NSString *)path overwrite:(BOOL)overwrite destination:(NSURL *)destination byteOffsetStart:(NSNumber *)byteOffsetStart byteOffsetEnd:(NSNumber *)byteOffsetEnd { DBRoute *route = DBFILESRouteObjects.DBFILESDownload; DBFILESDownloadArg *arg = [[DBFILESDownloadArg alloc] initWithPath:path]; return [self.client requestDownload:route arg:arg overwrite:overwrite destination:destination byteOffsetStart:byteOffsetStart byteOffsetEnd:byteOffsetEnd]; } - (DBDownloadUrlTask *)downloadUrl:(NSString *)path rev:(NSString *)rev overwrite:(BOOL)overwrite destination:(NSURL *)destination byteOffsetStart:(NSNumber *)byteOffsetStart byteOffsetEnd:(NSNumber *)byteOffsetEnd { DBRoute *route = DBFILESRouteObjects.DBFILESDownload; DBFILESDownloadArg *arg = [[DBFILESDownloadArg alloc] initWithPath:path rev:rev]; return [self.client requestDownload:route arg:arg overwrite:overwrite destination:destination byteOffsetStart:byteOffsetStart byteOffsetEnd:byteOffsetEnd]; } - (DBDownloadDataTask *)downloadData:(NSString *)path { DBRoute *route = DBFILESRouteObjects.DBFILESDownload; DBFILESDownloadArg *arg = [[DBFILESDownloadArg alloc] initWithPath:path]; return [self.client requestDownload:route arg:arg]; } - (DBDownloadDataTask *)downloadData:(NSString *)path rev:(NSString *)rev { DBRoute *route = DBFILESRouteObjects.DBFILESDownload; DBFILESDownloadArg *arg = [[DBFILESDownloadArg alloc] initWithPath:path rev:rev]; return [self.client requestDownload:route arg:arg]; } - (DBDownloadDataTask *)downloadData:(NSString *)path byteOffsetStart:(NSNumber *)byteOffsetStart byteOffsetEnd:(NSNumber *)byteOffsetEnd { DBRoute *route = DBFILESRouteObjects.DBFILESDownload; DBFILESDownloadArg *arg = [[DBFILESDownloadArg alloc] initWithPath:path]; return [self.client requestDownload:route arg:arg byteOffsetStart:byteOffsetStart byteOffsetEnd:byteOffsetEnd]; } - (DBDownloadDataTask *)downloadData:(NSString *)path rev:(NSString *)rev byteOffsetStart:(NSNumber *)byteOffsetStart byteOffsetEnd:(NSNumber *)byteOffsetEnd { DBRoute *route = DBFILESRouteObjects.DBFILESDownload; DBFILESDownloadArg *arg = [[DBFILESDownloadArg alloc] initWithPath:path rev:rev]; 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]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)getMetadata:(NSString *)path includeMediaInfo:(NSNumber *)includeMediaInfo includeDeleted:(NSNumber *)includeDeleted includeHasExplicitSharedMembers:(NSNumber *)includeHasExplicitSharedMembers includePropertyGroups:(DBFILEPROPERTIESTemplateFilterBase *)includePropertyGroups { DBRoute *route = DBFILESRouteObjects.DBFILESGetMetadata; DBFILESGetMetadataArg *arg = [[DBFILESGetMetadataArg alloc] initWithPath:path includeMediaInfo:includeMediaInfo includeDeleted:includeDeleted includeHasExplicitSharedMembers:includeHasExplicitSharedMembers includePropertyGroups:includePropertyGroups]; return [self.client requestRpc:route arg:arg]; } - (DBDownloadUrlTask *)getPreviewUrl:(NSString *)path overwrite:(BOOL)overwrite destination:(NSURL *)destination { DBRoute *route = DBFILESRouteObjects.DBFILESGetPreview; DBFILESPreviewArg *arg = [[DBFILESPreviewArg alloc] initWithPath:path]; return [self.client requestDownload:route arg:arg overwrite:overwrite destination:destination]; } - (DBDownloadUrlTask *)getPreviewUrl:(NSString *)path rev:(NSString *)rev overwrite:(BOOL)overwrite destination:(NSURL *)destination { DBRoute *route = DBFILESRouteObjects.DBFILESGetPreview; DBFILESPreviewArg *arg = [[DBFILESPreviewArg alloc] initWithPath:path rev:rev]; return [self.client requestDownload:route arg:arg overwrite:overwrite destination:destination]; } - (DBDownloadUrlTask *)getPreviewUrl:(NSString *)path overwrite:(BOOL)overwrite destination:(NSURL *)destination byteOffsetStart:(NSNumber *)byteOffsetStart byteOffsetEnd:(NSNumber *)byteOffsetEnd { DBRoute *route = DBFILESRouteObjects.DBFILESGetPreview; DBFILESPreviewArg *arg = [[DBFILESPreviewArg alloc] initWithPath:path]; return [self.client requestDownload:route arg:arg overwrite:overwrite destination:destination byteOffsetStart:byteOffsetStart byteOffsetEnd:byteOffsetEnd]; } - (DBDownloadUrlTask *)getPreviewUrl:(NSString *)path rev:(NSString *)rev overwrite:(BOOL)overwrite destination:(NSURL *)destination byteOffsetStart:(NSNumber *)byteOffsetStart byteOffsetEnd:(NSNumber *)byteOffsetEnd { DBRoute *route = DBFILESRouteObjects.DBFILESGetPreview; DBFILESPreviewArg *arg = [[DBFILESPreviewArg alloc] initWithPath:path rev:rev]; return [self.client requestDownload:route arg:arg overwrite:overwrite destination:destination byteOffsetStart:byteOffsetStart byteOffsetEnd:byteOffsetEnd]; } - (DBDownloadDataTask *)getPreviewData:(NSString *)path { DBRoute *route = DBFILESRouteObjects.DBFILESGetPreview; DBFILESPreviewArg *arg = [[DBFILESPreviewArg alloc] initWithPath:path]; return [self.client requestDownload:route arg:arg]; } - (DBDownloadDataTask *)getPreviewData:(NSString *)path rev:(NSString *)rev { DBRoute *route = DBFILESRouteObjects.DBFILESGetPreview; DBFILESPreviewArg *arg = [[DBFILESPreviewArg alloc] initWithPath:path rev:rev]; return [self.client requestDownload:route arg:arg]; } - (DBDownloadDataTask *)getPreviewData:(NSString *)path byteOffsetStart:(NSNumber *)byteOffsetStart byteOffsetEnd:(NSNumber *)byteOffsetEnd { DBRoute *route = DBFILESRouteObjects.DBFILESGetPreview; DBFILESPreviewArg *arg = [[DBFILESPreviewArg alloc] initWithPath:path]; return [self.client requestDownload:route arg:arg byteOffsetStart:byteOffsetStart byteOffsetEnd:byteOffsetEnd]; } - (DBDownloadDataTask *)getPreviewData:(NSString *)path rev:(NSString *)rev byteOffsetStart:(NSNumber *)byteOffsetStart byteOffsetEnd:(NSNumber *)byteOffsetEnd { DBRoute *route = DBFILESRouteObjects.DBFILESGetPreview; DBFILESPreviewArg *arg = [[DBFILESPreviewArg alloc] initWithPath:path rev:rev]; return [self.client requestDownload:route arg:arg byteOffsetStart:byteOffsetStart byteOffsetEnd:byteOffsetEnd]; } - (DBRpcTask *)getTemporaryLink:(NSString *)path { DBRoute *route = DBFILESRouteObjects.DBFILESGetTemporaryLink; DBFILESGetTemporaryLinkArg *arg = [[DBFILESGetTemporaryLinkArg alloc] initWithPath: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]; return [self.client requestDownload:route arg:arg overwrite:overwrite destination:destination]; } - (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 mode:mode]; return [self.client requestDownload:route arg:arg overwrite:overwrite destination:destination]; } - (DBDownloadUrlTask *)getThumbnailUrl:(NSString *)path overwrite:(BOOL)overwrite destination:(NSURL *)destination byteOffsetStart:(NSNumber *)byteOffsetStart byteOffsetEnd:(NSNumber *)byteOffsetEnd { DBRoute *route = DBFILESRouteObjects.DBFILESGetThumbnail; DBFILESThumbnailArg *arg = [[DBFILESThumbnailArg alloc] initWithPath:path]; return [self.client requestDownload:route arg:arg overwrite:overwrite destination:destination byteOffsetStart:byteOffsetStart byteOffsetEnd:byteOffsetEnd]; } - (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 mode:mode]; return [self.client requestDownload:route arg:arg overwrite:overwrite destination:destination byteOffsetStart:byteOffsetStart byteOffsetEnd:byteOffsetEnd]; } - (DBDownloadDataTask *)getThumbnailData:(NSString *)path { DBRoute *route = DBFILESRouteObjects.DBFILESGetThumbnail; DBFILESThumbnailArg *arg = [[DBFILESThumbnailArg alloc] initWithPath:path]; return [self.client requestDownload:route arg:arg]; } - (DBDownloadDataTask *)getThumbnailData:(NSString *)path format:(DBFILESThumbnailFormat *)format size:(DBFILESThumbnailSize *)size mode:(DBFILESThumbnailMode *)mode { DBRoute *route = DBFILESRouteObjects.DBFILESGetThumbnail; DBFILESThumbnailArg *arg = [[DBFILESThumbnailArg alloc] initWithPath:path format:format size:size mode:mode]; return [self.client requestDownload:route arg:arg]; } - (DBDownloadDataTask *)getThumbnailData:(NSString *)path byteOffsetStart:(NSNumber *)byteOffsetStart byteOffsetEnd:(NSNumber *)byteOffsetEnd { DBRoute *route = DBFILESRouteObjects.DBFILESGetThumbnail; DBFILESThumbnailArg *arg = [[DBFILESThumbnailArg alloc] initWithPath:path]; return [self.client requestDownload:route arg:arg byteOffsetStart:byteOffsetStart byteOffsetEnd:byteOffsetEnd]; } - (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 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]; } - (DBRpcTask *)getThumbnailBatch:(NSArray *)entries { DBRoute *route = DBFILESRouteObjects.DBFILESGetThumbnailBatch; DBFILESGetThumbnailBatchArg *arg = [[DBFILESGetThumbnailBatchArg alloc] initWithEntries:entries]; return [self.client requestRpc:route arg:arg]; } - (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]; } - (DBRpcTask *)listFolderGetLatestCursor:(NSString *)path { DBRoute *route = DBFILESRouteObjects.DBFILESListFolderGetLatestCursor; DBFILESListFolderArg *arg = [[DBFILESListFolderArg alloc] initWithPath:path]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)listFolderGetLatestCursor:(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.DBFILESListFolderGetLatestCursor; 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 *)listFolderLongpoll:(NSString *)cursor { DBRoute *route = DBFILESRouteObjects.DBFILESListFolderLongpoll; DBFILESListFolderLongpollArg *arg = [[DBFILESListFolderLongpollArg alloc] initWithCursor:cursor]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)listFolderLongpoll:(NSString *)cursor timeout:(NSNumber *)timeout { DBRoute *route = DBFILESRouteObjects.DBFILESListFolderLongpoll; DBFILESListFolderLongpollArg *arg = [[DBFILESListFolderLongpollArg alloc] initWithCursor:cursor timeout:timeout]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)listRevisions:(NSString *)path { DBRoute *route = DBFILESRouteObjects.DBFILESListRevisions; DBFILESListRevisionsArg *arg = [[DBFILESListRevisionsArg alloc] initWithPath:path]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)listRevisions:(NSString *)path mode:(DBFILESListRevisionsMode *)mode limit:(NSNumber *)limit { DBRoute *route = DBFILESRouteObjects.DBFILESListRevisions; DBFILESListRevisionsArg *arg = [[DBFILESListRevisionsArg alloc] initWithPath:path mode:mode limit:limit]; 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]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)move:(NSString *)fromPath toPath:(NSString *)toPath allowSharedFolder:(NSNumber *)allowSharedFolder autorename:(NSNumber *)autorename allowOwnershipTransfer:(NSNumber *)allowOwnershipTransfer { DBRoute *route = DBFILESRouteObjects.DBFILESMove; DBFILESRelocationArg *arg = [[DBFILESRelocationArg alloc] initWithFromPath:fromPath toPath:toPath allowSharedFolder:allowSharedFolder autorename:autorename allowOwnershipTransfer:allowOwnershipTransfer]; 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]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)moveBatch:(NSArray *)entries autorename:(NSNumber *)autorename allowSharedFolder:(NSNumber *)allowSharedFolder allowOwnershipTransfer:(NSNumber *)allowOwnershipTransfer { DBRoute *route = DBFILESRouteObjects.DBFILESMoveBatch; DBFILESRelocationBatchArg *arg = [[DBFILESRelocationBatchArg alloc] initWithEntries:entries 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 *)moveBatchCheckV2:(NSString *)asyncJobId { DBRoute *route = DBFILESRouteObjects.DBFILESMoveBatchCheckV2; DBASYNCPollArg *arg = [[DBASYNCPollArg alloc] initWithAsyncJobId:asyncJobId]; 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 { DBRoute *route = DBFILESRouteObjects.DBFILESPermanentlyDelete; DBFILESDeleteArg *arg = [[DBFILESDeleteArg alloc] initWithPath: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; DBFILEPROPERTIESAddPropertiesArg *arg = [[DBFILEPROPERTIESAddPropertiesArg alloc] initWithPath:path propertyGroups:propertyGroups]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)propertiesOverwrite:(NSString *)path propertyGroups:(NSArray *)propertyGroups { DBRoute *route = DBFILESRouteObjects.DBFILESPropertiesOverwrite; DBFILEPROPERTIESOverwritePropertyGroupArg *arg = [[DBFILEPROPERTIESOverwritePropertyGroupArg alloc] initWithPath:path propertyGroups:propertyGroups]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)propertiesRemove:(NSString *)path propertyTemplateIds:(NSArray *)propertyTemplateIds { DBRoute *route = DBFILESRouteObjects.DBFILESPropertiesRemove; DBFILEPROPERTIESRemovePropertiesArg *arg = [[DBFILEPROPERTIESRemovePropertiesArg alloc] initWithPath:path propertyTemplateIds:propertyTemplateIds]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)propertiesTemplateGet:(NSString *)templateId { DBRoute *route = DBFILESRouteObjects.DBFILESPropertiesTemplateGet; DBFILEPROPERTIESGetTemplateArg *arg = [[DBFILEPROPERTIESGetTemplateArg alloc] initWithTemplateId:templateId]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)propertiesTemplateList { DBRoute *route = DBFILESRouteObjects.DBFILESPropertiesTemplateList; return [self.client requestRpc:route arg:nil]; } - (DBRpcTask *)propertiesUpdate:(NSString *)path updatePropertyGroups:(NSArray *)updatePropertyGroups { DBRoute *route = DBFILESRouteObjects.DBFILESPropertiesUpdate; DBFILEPROPERTIESUpdatePropertiesArg *arg = [[DBFILEPROPERTIESUpdatePropertiesArg alloc] initWithPath:path updatePropertyGroups:updatePropertyGroups]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)restore:(NSString *)path rev:(NSString *)rev { DBRoute *route = DBFILESRouteObjects.DBFILESRestore; DBFILESRestoreArg *arg = [[DBFILESRestoreArg alloc] initWithPath:path rev:rev]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)saveUrl:(NSString *)path url:(NSString *)url { DBRoute *route = DBFILESRouteObjects.DBFILESSaveUrl; DBFILESSaveUrlArg *arg = [[DBFILESSaveUrlArg alloc] initWithPath:path url:url]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)saveUrlCheckJobStatus:(NSString *)asyncJobId { DBRoute *route = DBFILESRouteObjects.DBFILESSaveUrlCheckJobStatus; DBASYNCPollArg *arg = [[DBASYNCPollArg alloc] initWithAsyncJobId:asyncJobId]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)search:(NSString *)path query:(NSString *)query { DBRoute *route = DBFILESRouteObjects.DBFILESSearch; DBFILESSearchArg *arg = [[DBFILESSearchArg alloc] initWithPath:path query:query]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)search:(NSString *)path query:(NSString *)query start:(NSNumber *)start maxResults:(NSNumber *)maxResults mode:(DBFILESSearchMode *)mode { DBRoute *route = DBFILESRouteObjects.DBFILESSearch; DBFILESSearchArg *arg = [[DBFILESSearchArg alloc] initWithPath:path query:query start:start maxResults:maxResults mode:mode]; 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; DBFILESUploadArg *arg = [[DBFILESUploadArg alloc] initWithPath:path]; return [self.client requestUpload:route arg:arg inputUrl:inputUrl]; } - (DBUploadTask *)uploadUrl:(NSString *)path mode:(DBFILESWriteMode *)mode autorename:(NSNumber *)autorename clientModified:(NSDate *)clientModified mute:(NSNumber *)mute propertyGroups:(NSArray *)propertyGroups strictConflict:(NSNumber *)strictConflict contentHash:(NSString *)contentHash inputUrl:(NSString *)inputUrl { DBRoute *route = DBFILESRouteObjects.DBFILESUpload; 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; DBFILESUploadArg *arg = [[DBFILESUploadArg alloc] initWithPath:path]; return [self.client requestUpload:route arg:arg inputData:inputData]; } - (DBUploadTask *)uploadData:(NSString *)path mode:(DBFILESWriteMode *)mode autorename:(NSNumber *)autorename clientModified:(NSDate *)clientModified mute:(NSNumber *)mute propertyGroups:(NSArray *)propertyGroups strictConflict:(NSNumber *)strictConflict contentHash:(NSString *)contentHash inputData:(NSData *)inputData { DBRoute *route = DBFILESRouteObjects.DBFILESUpload; 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; DBFILESUploadArg *arg = [[DBFILESUploadArg alloc] initWithPath:path]; return [self.client requestUpload:route arg:arg inputStream:inputStream]; } - (DBUploadTask *)uploadStream:(NSString *)path mode:(DBFILESWriteMode *)mode autorename:(NSNumber *)autorename clientModified:(NSDate *)clientModified mute:(NSNumber *)mute propertyGroups:(NSArray *)propertyGroups strictConflict:(NSNumber *)strictConflict contentHash:(NSString *)contentHash inputStream:(NSInputStream *)inputStream { DBRoute *route = DBFILESRouteObjects.DBFILESUpload; 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]; } - (DBUploadTask *)uploadSessionAppendUrl:(NSString *)sessionId offset:(NSNumber *)offset inputUrl:(NSString *)inputUrl { DBRoute *route = DBFILESRouteObjects.DBFILESUploadSessionAppend; DBFILESUploadSessionCursor *arg = [[DBFILESUploadSessionCursor alloc] initWithSessionId:sessionId offset:offset]; return [self.client requestUpload:route arg:arg inputUrl:inputUrl]; } - (DBUploadTask *)uploadSessionAppendData:(NSString *)sessionId offset:(NSNumber *)offset inputData:(NSData *)inputData { DBRoute *route = DBFILESRouteObjects.DBFILESUploadSessionAppend; DBFILESUploadSessionCursor *arg = [[DBFILESUploadSessionCursor alloc] initWithSessionId:sessionId offset:offset]; return [self.client requestUpload:route arg:arg inputData:inputData]; } - (DBUploadTask *)uploadSessionAppendStream:(NSString *)sessionId offset:(NSNumber *)offset inputStream:(NSInputStream *)inputStream { DBRoute *route = DBFILESRouteObjects.DBFILESUploadSessionAppend; DBFILESUploadSessionCursor *arg = [[DBFILESUploadSessionCursor alloc] initWithSessionId:sessionId offset:offset]; return [self.client requestUpload:route arg:arg inputStream:inputStream]; } - (DBUploadTask *)uploadSessionAppendV2Url:(DBFILESUploadSessionCursor *)cursor inputUrl:(NSString *)inputUrl { DBRoute *route = DBFILESRouteObjects.DBFILESUploadSessionAppendV2; DBFILESUploadSessionAppendArg *arg = [[DBFILESUploadSessionAppendArg alloc] initWithCursor:cursor]; return [self.client requestUpload:route arg:arg inputUrl:inputUrl]; } - (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 contentHash:contentHash]; return [self.client requestUpload:route arg:arg inputUrl:inputUrl]; } - (DBUploadTask *)uploadSessionAppendV2Data:(DBFILESUploadSessionCursor *)cursor inputData:(NSData *)inputData { DBRoute *route = DBFILESRouteObjects.DBFILESUploadSessionAppendV2; DBFILESUploadSessionAppendArg *arg = [[DBFILESUploadSessionAppendArg alloc] initWithCursor:cursor]; return [self.client requestUpload:route arg:arg inputData:inputData]; } - (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 contentHash:contentHash]; return [self.client requestUpload:route arg:arg inputData:inputData]; } - (DBUploadTask *)uploadSessionAppendV2Stream:(DBFILESUploadSessionCursor *)cursor inputStream:(NSInputStream *)inputStream { DBRoute *route = DBFILESRouteObjects.DBFILESUploadSessionAppendV2; DBFILESUploadSessionAppendArg *arg = [[DBFILESUploadSessionAppendArg alloc] initWithCursor:cursor]; return [self.client requestUpload:route arg:arg inputStream:inputStream]; } - (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 contentHash:contentHash]; return [self.client requestUpload:route arg:arg inputStream:inputStream]; } - (DBUploadTask *)uploadSessionFinishUrl:(DBFILESUploadSessionCursor *)cursor commit:(DBFILESCommitInfo *)commit inputUrl:(NSString *)inputUrl { DBRoute *route = DBFILESRouteObjects.DBFILESUploadSessionFinish; DBFILESUploadSessionFinishArg *arg = [[DBFILESUploadSessionFinishArg alloc] initWithCursor:cursor commit:commit]; 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 { DBRoute *route = DBFILESRouteObjects.DBFILESUploadSessionFinish; DBFILESUploadSessionFinishArg *arg = [[DBFILESUploadSessionFinishArg alloc] initWithCursor:cursor commit:commit]; 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 { DBRoute *route = DBFILESRouteObjects.DBFILESUploadSessionFinish; DBFILESUploadSessionFinishArg *arg = [[DBFILESUploadSessionFinishArg alloc] initWithCursor:cursor commit:commit]; 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]; return [self.client requestRpc:route arg:arg]; } - (DBUploadTask *)uploadSessionStartUrl:(NSString *)inputUrl { DBRoute *route = DBFILESRouteObjects.DBFILESUploadSessionStart; DBFILESUploadSessionStartArg *arg = [[DBFILESUploadSessionStartArg alloc] initDefault]; return [self.client requestUpload:route arg:arg inputUrl:inputUrl]; } - (DBUploadTask *)uploadSessionStartUrl:(NSNumber *)close sessionType:(DBFILESUploadSessionType *)sessionType contentHash:(NSString *)contentHash inputUrl:(NSString *)inputUrl { DBRoute *route = DBFILESRouteObjects.DBFILESUploadSessionStart; DBFILESUploadSessionStartArg *arg = [[DBFILESUploadSessionStartArg alloc] initWithClose:close sessionType:sessionType contentHash:contentHash]; return [self.client requestUpload:route arg:arg inputUrl:inputUrl]; } - (DBUploadTask *)uploadSessionStartData:(NSData *)inputData { DBRoute *route = DBFILESRouteObjects.DBFILESUploadSessionStart; DBFILESUploadSessionStartArg *arg = [[DBFILESUploadSessionStartArg alloc] initDefault]; return [self.client requestUpload:route arg:arg inputData:inputData]; } - (DBUploadTask *)uploadSessionStartData:(NSNumber *)close sessionType:(DBFILESUploadSessionType *)sessionType contentHash:(NSString *)contentHash inputData:(NSData *)inputData { DBRoute *route = DBFILESRouteObjects.DBFILESUploadSessionStart; DBFILESUploadSessionStartArg *arg = [[DBFILESUploadSessionStartArg alloc] initWithClose:close sessionType:sessionType contentHash:contentHash]; return [self.client requestUpload:route arg:arg inputData:inputData]; } - (DBUploadTask *)uploadSessionStartStream:(NSInputStream *)inputStream { DBRoute *route = DBFILESRouteObjects.DBFILESUploadSessionStart; DBFILESUploadSessionStartArg *arg = [[DBFILESUploadSessionStartArg alloc] initDefault]; return [self.client requestUpload:route arg:arg inputStream:inputStream]; } - (DBUploadTask *)uploadSessionStartStream:(NSNumber *)close sessionType:(DBFILESUploadSessionType *)sessionType contentHash:(NSString *)contentHash inputStream:(NSInputStream *)inputStream { DBRoute *route = DBFILESRouteObjects.DBFILESUploadSessionStart; 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBOPENIDUserAuthRoutes.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBOPENIDUserAuthRoutes.m ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBPAPERUserAuthRoutes.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBTasks.h" @class DBNilObject; @class DBPAPERAddMember; @class DBPAPERAddPaperDocUserMemberResult; @class DBPAPERAddPaperDocUserResult; @class DBPAPERCursor; @class DBPAPERDocLookupError; @class DBPAPERExportFormat; @class DBPAPERFolder; @class DBPAPERFolderSharingPolicyType; @class DBPAPERFoldersContainingPaperDoc; @class DBPAPERImportFormat; @class DBPAPERInviteeInfoWithPermissionLevel; @class DBPAPERListDocsCursorError; @class DBPAPERListPaperDocsFilterBy; @class DBPAPERListPaperDocsResponse; @class DBPAPERListPaperDocsSortBy; @class DBPAPERListPaperDocsSortOrder; @class DBPAPERListUsersCursorError; @class DBPAPERListUsersOnFolderResponse; @class DBPAPERListUsersOnPaperDocResponse; @class DBPAPERPaperApiCursorError; @class DBPAPERPaperDocCreateError; @class DBPAPERPaperDocCreateUpdateResult; @class DBPAPERPaperDocExportResult; @class DBPAPERPaperDocPermissionLevel; @class DBPAPERPaperDocUpdateError; @class DBPAPERPaperDocUpdatePolicy; @class DBPAPERPaperFolderCreateError; @class DBPAPERPaperFolderCreateResult; @class DBPAPERSharingPolicy; @class DBPAPERSharingPublicPolicyType; @class DBPAPERSharingTeamPolicyType; @class DBPAPERUserInfoWithPermissionLevel; @class DBPAPERUserOnPaperDocFilter; @class DBSHARINGInviteeInfo; @class DBSHARINGMemberSelector; @class DBSHARINGUserInfo; @protocol DBTransportClient; /// /// Routes for the `Paper` namespace /// NS_ASSUME_NONNULL_BEGIN @interface DBPAPERUserAuthRoutes : NSObject /// An instance of the networking client that each route will use to submit a /// request. @property (nonatomic, readonly) id client; /// Initializes the `DBPAPERUserAuthRoutes` namespace container object with a /// networking client. - (instancetype)init:(id)client; /// /// 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 __deprecated_msg("docsArchive is deprecated."); /// /// 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. /// /// @return Through the response callback, the caller will receive a `DBPAPERPaperDocCreateUpdateResult` object on /// success or a `DBPAPERPaperDocCreateError` object on failure. /// - (DBUploadTask *) docsCreateUrl:(DBPAPERImportFormat *)importFormat inputUrl:(NSString *)inputUrl __deprecated_msg("docsCreate is deprecated."); /// /// 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. /// @param importFormat The format of provided data. /// @param inputUrl The file to upload, as an NSString * object. /// /// @return Through the response callback, the caller will receive a `DBPAPERPaperDocCreateUpdateResult` object on /// success or a `DBPAPERPaperDocCreateError` object on failure. /// - (DBUploadTask *) docsCreateUrl:(DBPAPERImportFormat *)importFormat parentFolderId:(nullable NSString *)parentFolderId inputUrl:(NSString *)inputUrl __deprecated_msg("docsCreate is deprecated."); /// /// 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. /// /// @return Through the response callback, the caller will receive a `DBPAPERPaperDocCreateUpdateResult` object on /// success or a `DBPAPERPaperDocCreateError` object on failure. /// - (DBUploadTask *) docsCreateData:(DBPAPERImportFormat *)importFormat inputData:(NSData *)inputData __deprecated_msg("docsCreate is deprecated."); /// /// 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. /// @param importFormat The format of provided data. /// @param inputData The file to upload, as an NSData * object. /// /// @return Through the response callback, the caller will receive a `DBPAPERPaperDocCreateUpdateResult` object on /// success or a `DBPAPERPaperDocCreateError` object on failure. /// - (DBUploadTask *) docsCreateData:(DBPAPERImportFormat *)importFormat parentFolderId:(nullable NSString *)parentFolderId inputData:(NSData *)inputData __deprecated_msg("docsCreate is deprecated."); /// /// 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. /// /// @return Through the response callback, the caller will receive a `DBPAPERPaperDocCreateUpdateResult` object on /// success or a `DBPAPERPaperDocCreateError` object on failure. /// - (DBUploadTask *) docsCreateStream:(DBPAPERImportFormat *)importFormat inputStream:(NSInputStream *)inputStream __deprecated_msg("docsCreate is deprecated."); /// /// 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. /// @param importFormat The format of provided data. /// @param inputStream The file to upload, as an NSInputStream * object. /// /// @return Through the response callback, the caller will receive a `DBPAPERPaperDocCreateUpdateResult` object on /// success or a `DBPAPERPaperDocCreateError` object on failure. /// - (DBUploadTask *) docsCreateStream:(DBPAPERImportFormat *)importFormat parentFolderId:(nullable NSString *)parentFolderId inputStream:(NSInputStream *)inputStream __deprecated_msg("docsCreate is deprecated."); /// /// 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 /// a file conflict. /// @param destination The file url of the desired download output location. /// /// @return Through the response callback, the caller will receive a `DBPAPERPaperDocExportResult` object on success or /// a `DBPAPERDocLookupError` object on failure. /// - (DBDownloadUrlTask *) docsDownloadUrl:(NSString *)docId exportFormat:(DBPAPERExportFormat *)exportFormat overwrite:(BOOL)overwrite destination:(NSURL *)destination __deprecated_msg("docsDownload is deprecated."); /// /// 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 /// 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 `DBPAPERPaperDocExportResult` object on success or /// a `DBPAPERDocLookupError` object on failure. /// - (DBDownloadUrlTask *) docsDownloadUrl:(NSString *)docId exportFormat:(DBPAPERExportFormat *)exportFormat overwrite:(BOOL)overwrite destination:(NSURL *)destination byteOffsetStart:(NSNumber *)byteOffsetStart byteOffsetEnd:(NSNumber *)byteOffsetEnd __deprecated_msg("docsDownload is deprecated."); /// /// 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 __deprecated_msg("docsDownload is deprecated."); /// /// 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. /// @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 `DBPAPERPaperDocExportResult` object on success or /// a `DBPAPERDocLookupError` object on failure. /// - (DBDownloadDataTask *) docsDownloadData:(NSString *)docId exportFormat:(DBPAPERExportFormat *)exportFormat byteOffsetStart:(NSNumber *)byteOffsetStart byteOffsetEnd:(NSNumber *)byteOffsetEnd __deprecated_msg("docsDownload is deprecated."); /// /// 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 __deprecated_msg("docsFolderUsersList is deprecated."); /// /// 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. /// /// @return Through the response callback, the caller will receive a `DBPAPERListUsersOnFolderResponse` object on /// success or a `DBPAPERDocLookupError` object on failure. /// - (DBRpcTask *)docsFolderUsersList:(NSString *)docId limit: (nullable NSNumber *)limit __deprecated_msg("docsFolderUsersList is deprecated."); /// /// 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. /// /// @return Through the response callback, the caller will receive a `DBPAPERListUsersOnFolderResponse` object on /// success or a `DBPAPERListUsersCursorError` object on failure. /// - (DBRpcTask *) docsFolderUsersListContinue:(NSString *)docId cursor:(NSString *)cursor __deprecated_msg("docsFolderUsersListContinue is deprecated."); /// /// 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 __deprecated_msg("docsGetFolderInfo is deprecated."); /// /// 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 __deprecated_msg("docsList is deprecated."); /// /// 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. /// @param sortOrder Allows user to specify the sort order of the result. /// @param limit Size limit per batch. The maximum number of docs that can be retrieved per batch is 1000. Higher value /// results in invalid arguments error. /// /// @return Through the response callback, the caller will receive a `DBPAPERListPaperDocsResponse` object on success or /// a `void` object on failure. /// - (DBRpcTask *)docsList:(nullable DBPAPERListPaperDocsFilterBy *)filterBy sortBy:(nullable DBPAPERListPaperDocsSortBy *)sortBy sortOrder: (nullable DBPAPERListPaperDocsSortOrder *)sortOrder limit:(nullable NSNumber *)limit __deprecated_msg("docsList is deprecated."); /// /// 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 __deprecated_msg("docsListContinue is deprecated."); /// /// 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 __deprecated_msg("docsPermanentlyDelete is deprecated."); /// /// 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 __deprecated_msg("docsSharingPolicyGet is deprecated."); /// /// 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. /// /// @return Through the response callback, the caller will receive a `void` object on success or a /// `DBPAPERDocLookupError` object on failure. /// - (DBRpcTask *)docsSharingPolicySet:(NSString *)docId sharingPolicy:(DBPAPERSharingPolicy *)sharingPolicy __deprecated_msg("docsSharingPolicySet is deprecated."); /// /// 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. /// This is to prevent colliding writes. /// @param importFormat The format of provided data. /// @param inputUrl The file to upload, as an NSString * object. /// /// @return Through the response callback, the caller will receive a `DBPAPERPaperDocCreateUpdateResult` object on /// success or a `DBPAPERPaperDocUpdateError` object on failure. /// - (DBUploadTask *) docsUpdateUrl:(NSString *)docId docUpdatePolicy:(DBPAPERPaperDocUpdatePolicy *)docUpdatePolicy revision:(NSNumber *)revision importFormat:(DBPAPERImportFormat *)importFormat inputUrl:(NSString *)inputUrl __deprecated_msg("docsUpdate is deprecated."); /// /// 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. /// This is to prevent colliding writes. /// @param importFormat The format of provided data. /// @param inputData The file to upload, as an NSData * object. /// /// @return Through the response callback, the caller will receive a `DBPAPERPaperDocCreateUpdateResult` object on /// success or a `DBPAPERPaperDocUpdateError` object on failure. /// - (DBUploadTask *) docsUpdateData:(NSString *)docId docUpdatePolicy:(DBPAPERPaperDocUpdatePolicy *)docUpdatePolicy revision:(NSNumber *)revision importFormat:(DBPAPERImportFormat *)importFormat inputData:(NSData *)inputData __deprecated_msg("docsUpdate is deprecated."); /// /// 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. /// This is to prevent colliding writes. /// @param importFormat The format of provided data. /// @param inputStream The file to upload, as an NSInputStream * object. /// /// @return Through the response callback, the caller will receive a `DBPAPERPaperDocCreateUpdateResult` object on /// success or a `DBPAPERPaperDocUpdateError` object on failure. /// - (DBUploadTask *) docsUpdateStream:(NSString *)docId docUpdatePolicy:(DBPAPERPaperDocUpdatePolicy *)docUpdatePolicy revision:(NSNumber *)revision importFormat:(DBPAPERImportFormat *)importFormat inputStream:(NSInputStream *)inputStream __deprecated_msg("docsUpdate is deprecated."); /// /// 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. /// /// @return Through the response callback, the caller will receive a `NSArray` /// object on success or a `DBPAPERDocLookupError` object on failure. /// - (DBRpcTask *, DBPAPERDocLookupError *> *) docsUsersAdd:(NSString *)docId members:(NSArray *)members __deprecated_msg("docsUsersAdd is deprecated."); /// /// 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. /// @param quiet Clients should set this to true if no email message shall be sent to added users. /// /// @return Through the response callback, the caller will receive a `NSArray` /// 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 __deprecated_msg("docsUsersAdd is deprecated."); /// /// 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 __deprecated_msg("docsUsersList is deprecated."); /// /// 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. /// @param filterBy Specify this attribute if you want to obtain users that have already accessed the Paper doc. /// /// @return Through the response callback, the caller will receive a `DBPAPERListUsersOnPaperDocResponse` object on /// success or a `DBPAPERDocLookupError` object on failure. /// - (DBRpcTask *) docsUsersList:(NSString *)docId limit:(nullable NSNumber *)limit filterBy:(nullable DBPAPERUserOnPaperDocFilter *)filterBy __deprecated_msg("docsUsersList is deprecated."); /// /// 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. /// /// @return Through the response callback, the caller will receive a `DBPAPERListUsersOnPaperDocResponse` object on /// success or a `DBPAPERListUsersCursorError` object on failure. /// - (DBRpcTask *) docsUsersListContinue:(NSString *)docId cursor:(NSString *)cursor __deprecated_msg("docsUsersListContinue is deprecated."); /// /// 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. /// /// @return Through the response callback, the caller will receive a `void` object on success or a /// `DBPAPERDocLookupError` object on failure. /// - (DBRpcTask *)docsUsersRemove:(NSString *)docId 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 NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBPAPERUserAuthRoutes.m ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import "DBPAPERUserAuthRoutes.h" #import "DBPAPERAddMember.h" #import "DBPAPERAddPaperDocUser.h" #import "DBPAPERAddPaperDocUserMemberResult.h" #import "DBPAPERAddPaperDocUserResult.h" #import "DBPAPERCursor.h" #import "DBPAPERDocLookupError.h" #import "DBPAPERExportFormat.h" #import "DBPAPERFolder.h" #import "DBPAPERFolderSharingPolicyType.h" #import "DBPAPERFoldersContainingPaperDoc.h" #import "DBPAPERImportFormat.h" #import "DBPAPERInviteeInfoWithPermissionLevel.h" #import "DBPAPERListDocsCursorError.h" #import "DBPAPERListPaperDocsArgs.h" #import "DBPAPERListPaperDocsContinueArgs.h" #import "DBPAPERListPaperDocsFilterBy.h" #import "DBPAPERListPaperDocsResponse.h" #import "DBPAPERListPaperDocsSortBy.h" #import "DBPAPERListPaperDocsSortOrder.h" #import "DBPAPERListUsersCursorError.h" #import "DBPAPERListUsersOnFolderArgs.h" #import "DBPAPERListUsersOnFolderContinueArgs.h" #import "DBPAPERListUsersOnFolderResponse.h" #import "DBPAPERListUsersOnPaperDocArgs.h" #import "DBPAPERListUsersOnPaperDocContinueArgs.h" #import "DBPAPERListUsersOnPaperDocResponse.h" #import "DBPAPERPaperApiBaseError.h" #import "DBPAPERPaperApiCursorError.h" #import "DBPAPERPaperDocCreateArgs.h" #import "DBPAPERPaperDocCreateError.h" #import "DBPAPERPaperDocCreateUpdateResult.h" #import "DBPAPERPaperDocExport.h" #import "DBPAPERPaperDocExportResult.h" #import "DBPAPERPaperDocSharingPolicy.h" #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" #import "DBPAPERSharingPolicy.h" #import "DBPAPERSharingPublicPolicyType.h" #import "DBPAPERSharingTeamPolicyType.h" #import "DBPAPERUserInfoWithPermissionLevel.h" #import "DBPAPERUserOnPaperDocFilter.h" #import "DBRequestErrors.h" #import "DBSHARINGInviteeInfo.h" #import "DBSHARINGMemberSelector.h" #import "DBSHARINGUserInfo.h" #import "DBStoneBase.h" #import "DBTransportClientProtocol.h" @implementation DBPAPERUserAuthRoutes - (instancetype)init:(id)client { self = [super init]; if (self) { _client = client; } return self; } - (DBRpcTask *)docsArchive:(NSString *)docId { DBRoute *route = DBPAPERRouteObjects.DBPAPERDocsArchive; DBPAPERRefPaperDoc *arg = [[DBPAPERRefPaperDoc alloc] initWithDocId:docId]; return [self.client requestRpc:route arg:arg]; } - (DBUploadTask *)docsCreateUrl:(DBPAPERImportFormat *)importFormat inputUrl:(NSString *)inputUrl { DBRoute *route = DBPAPERRouteObjects.DBPAPERDocsCreate; DBPAPERPaperDocCreateArgs *arg = [[DBPAPERPaperDocCreateArgs alloc] initWithImportFormat:importFormat]; return [self.client requestUpload:route arg:arg inputUrl:inputUrl]; } - (DBUploadTask *)docsCreateUrl:(DBPAPERImportFormat *)importFormat parentFolderId:(NSString *)parentFolderId inputUrl:(NSString *)inputUrl { DBRoute *route = DBPAPERRouteObjects.DBPAPERDocsCreate; DBPAPERPaperDocCreateArgs *arg = [[DBPAPERPaperDocCreateArgs alloc] initWithImportFormat:importFormat parentFolderId:parentFolderId]; return [self.client requestUpload:route arg:arg inputUrl:inputUrl]; } - (DBUploadTask *)docsCreateData:(DBPAPERImportFormat *)importFormat inputData:(NSData *)inputData { DBRoute *route = DBPAPERRouteObjects.DBPAPERDocsCreate; DBPAPERPaperDocCreateArgs *arg = [[DBPAPERPaperDocCreateArgs alloc] initWithImportFormat:importFormat]; return [self.client requestUpload:route arg:arg inputData:inputData]; } - (DBUploadTask *)docsCreateData:(DBPAPERImportFormat *)importFormat parentFolderId:(NSString *)parentFolderId inputData:(NSData *)inputData { DBRoute *route = DBPAPERRouteObjects.DBPAPERDocsCreate; DBPAPERPaperDocCreateArgs *arg = [[DBPAPERPaperDocCreateArgs alloc] initWithImportFormat:importFormat parentFolderId:parentFolderId]; return [self.client requestUpload:route arg:arg inputData:inputData]; } - (DBUploadTask *)docsCreateStream:(DBPAPERImportFormat *)importFormat inputStream:(NSInputStream *)inputStream { DBRoute *route = DBPAPERRouteObjects.DBPAPERDocsCreate; DBPAPERPaperDocCreateArgs *arg = [[DBPAPERPaperDocCreateArgs alloc] initWithImportFormat:importFormat]; return [self.client requestUpload:route arg:arg inputStream:inputStream]; } - (DBUploadTask *)docsCreateStream:(DBPAPERImportFormat *)importFormat parentFolderId:(NSString *)parentFolderId inputStream:(NSInputStream *)inputStream { DBRoute *route = DBPAPERRouteObjects.DBPAPERDocsCreate; DBPAPERPaperDocCreateArgs *arg = [[DBPAPERPaperDocCreateArgs alloc] initWithImportFormat:importFormat parentFolderId:parentFolderId]; return [self.client requestUpload:route arg:arg inputStream:inputStream]; } - (DBDownloadUrlTask *)docsDownloadUrl:(NSString *)docId exportFormat:(DBPAPERExportFormat *)exportFormat overwrite:(BOOL)overwrite destination:(NSURL *)destination { DBRoute *route = DBPAPERRouteObjects.DBPAPERDocsDownload; DBPAPERPaperDocExport *arg = [[DBPAPERPaperDocExport alloc] initWithDocId:docId exportFormat:exportFormat]; return [self.client requestDownload:route arg:arg overwrite:overwrite destination:destination]; } - (DBDownloadUrlTask *)docsDownloadUrl:(NSString *)docId exportFormat:(DBPAPERExportFormat *)exportFormat overwrite:(BOOL)overwrite destination:(NSURL *)destination byteOffsetStart:(NSNumber *)byteOffsetStart byteOffsetEnd:(NSNumber *)byteOffsetEnd { DBRoute *route = DBPAPERRouteObjects.DBPAPERDocsDownload; DBPAPERPaperDocExport *arg = [[DBPAPERPaperDocExport alloc] initWithDocId:docId exportFormat:exportFormat]; return [self.client requestDownload:route arg:arg overwrite:overwrite destination:destination byteOffsetStart:byteOffsetStart byteOffsetEnd:byteOffsetEnd]; } - (DBDownloadDataTask *)docsDownloadData:(NSString *)docId exportFormat:(DBPAPERExportFormat *)exportFormat { DBRoute *route = DBPAPERRouteObjects.DBPAPERDocsDownload; DBPAPERPaperDocExport *arg = [[DBPAPERPaperDocExport alloc] initWithDocId:docId exportFormat:exportFormat]; return [self.client requestDownload:route arg:arg]; } - (DBDownloadDataTask *)docsDownloadData:(NSString *)docId exportFormat:(DBPAPERExportFormat *)exportFormat byteOffsetStart:(NSNumber *)byteOffsetStart byteOffsetEnd:(NSNumber *)byteOffsetEnd { DBRoute *route = DBPAPERRouteObjects.DBPAPERDocsDownload; DBPAPERPaperDocExport *arg = [[DBPAPERPaperDocExport alloc] initWithDocId:docId exportFormat:exportFormat]; return [self.client requestDownload:route arg:arg byteOffsetStart:byteOffsetStart byteOffsetEnd:byteOffsetEnd]; } - (DBRpcTask *)docsFolderUsersList:(NSString *)docId { DBRoute *route = DBPAPERRouteObjects.DBPAPERDocsFolderUsersList; DBPAPERListUsersOnFolderArgs *arg = [[DBPAPERListUsersOnFolderArgs alloc] initWithDocId:docId]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)docsFolderUsersList:(NSString *)docId limit:(NSNumber *)limit { DBRoute *route = DBPAPERRouteObjects.DBPAPERDocsFolderUsersList; DBPAPERListUsersOnFolderArgs *arg = [[DBPAPERListUsersOnFolderArgs alloc] initWithDocId:docId limit:limit]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)docsFolderUsersListContinue:(NSString *)docId cursor:(NSString *)cursor { DBRoute *route = DBPAPERRouteObjects.DBPAPERDocsFolderUsersListContinue; DBPAPERListUsersOnFolderContinueArgs *arg = [[DBPAPERListUsersOnFolderContinueArgs alloc] initWithDocId:docId cursor:cursor]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)docsGetFolderInfo:(NSString *)docId { DBRoute *route = DBPAPERRouteObjects.DBPAPERDocsGetFolderInfo; DBPAPERRefPaperDoc *arg = [[DBPAPERRefPaperDoc alloc] initWithDocId:docId]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)docsList { DBRoute *route = DBPAPERRouteObjects.DBPAPERDocsList; DBPAPERListPaperDocsArgs *arg = [[DBPAPERListPaperDocsArgs alloc] initDefault]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)docsList:(DBPAPERListPaperDocsFilterBy *)filterBy sortBy:(DBPAPERListPaperDocsSortBy *)sortBy sortOrder:(DBPAPERListPaperDocsSortOrder *)sortOrder limit:(NSNumber *)limit { DBRoute *route = DBPAPERRouteObjects.DBPAPERDocsList; DBPAPERListPaperDocsArgs *arg = [[DBPAPERListPaperDocsArgs alloc] initWithFilterBy:filterBy sortBy:sortBy sortOrder:sortOrder limit:limit]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)docsListContinue:(NSString *)cursor { DBRoute *route = DBPAPERRouteObjects.DBPAPERDocsListContinue; DBPAPERListPaperDocsContinueArgs *arg = [[DBPAPERListPaperDocsContinueArgs alloc] initWithCursor:cursor]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)docsPermanentlyDelete:(NSString *)docId { DBRoute *route = DBPAPERRouteObjects.DBPAPERDocsPermanentlyDelete; DBPAPERRefPaperDoc *arg = [[DBPAPERRefPaperDoc alloc] initWithDocId:docId]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)docsSharingPolicyGet:(NSString *)docId { DBRoute *route = DBPAPERRouteObjects.DBPAPERDocsSharingPolicyGet; DBPAPERRefPaperDoc *arg = [[DBPAPERRefPaperDoc alloc] initWithDocId:docId]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)docsSharingPolicySet:(NSString *)docId sharingPolicy:(DBPAPERSharingPolicy *)sharingPolicy { DBRoute *route = DBPAPERRouteObjects.DBPAPERDocsSharingPolicySet; DBPAPERPaperDocSharingPolicy *arg = [[DBPAPERPaperDocSharingPolicy alloc] initWithDocId:docId sharingPolicy:sharingPolicy]; return [self.client requestRpc:route arg:arg]; } - (DBUploadTask *)docsUpdateUrl:(NSString *)docId docUpdatePolicy:(DBPAPERPaperDocUpdatePolicy *)docUpdatePolicy revision:(NSNumber *)revision importFormat:(DBPAPERImportFormat *)importFormat inputUrl:(NSString *)inputUrl { DBRoute *route = DBPAPERRouteObjects.DBPAPERDocsUpdate; DBPAPERPaperDocUpdateArgs *arg = [[DBPAPERPaperDocUpdateArgs alloc] initWithDocId:docId docUpdatePolicy:docUpdatePolicy revision:revision importFormat:importFormat]; return [self.client requestUpload:route arg:arg inputUrl:inputUrl]; } - (DBUploadTask *)docsUpdateData:(NSString *)docId docUpdatePolicy:(DBPAPERPaperDocUpdatePolicy *)docUpdatePolicy revision:(NSNumber *)revision importFormat:(DBPAPERImportFormat *)importFormat inputData:(NSData *)inputData { DBRoute *route = DBPAPERRouteObjects.DBPAPERDocsUpdate; DBPAPERPaperDocUpdateArgs *arg = [[DBPAPERPaperDocUpdateArgs alloc] initWithDocId:docId docUpdatePolicy:docUpdatePolicy revision:revision importFormat:importFormat]; return [self.client requestUpload:route arg:arg inputData:inputData]; } - (DBUploadTask *)docsUpdateStream:(NSString *)docId docUpdatePolicy:(DBPAPERPaperDocUpdatePolicy *)docUpdatePolicy revision:(NSNumber *)revision importFormat:(DBPAPERImportFormat *)importFormat inputStream:(NSInputStream *)inputStream { DBRoute *route = DBPAPERRouteObjects.DBPAPERDocsUpdate; DBPAPERPaperDocUpdateArgs *arg = [[DBPAPERPaperDocUpdateArgs alloc] initWithDocId:docId docUpdatePolicy:docUpdatePolicy revision:revision importFormat:importFormat]; return [self.client requestUpload:route arg:arg inputStream:inputStream]; } - (DBRpcTask *)docsUsersAdd:(NSString *)docId members:(NSArray *)members { DBRoute *route = DBPAPERRouteObjects.DBPAPERDocsUsersAdd; DBPAPERAddPaperDocUser *arg = [[DBPAPERAddPaperDocUser alloc] initWithDocId:docId members:members]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)docsUsersAdd:(NSString *)docId members:(NSArray *)members customMessage:(NSString *)customMessage quiet:(NSNumber *)quiet { DBRoute *route = DBPAPERRouteObjects.DBPAPERDocsUsersAdd; DBPAPERAddPaperDocUser *arg = [[DBPAPERAddPaperDocUser alloc] initWithDocId:docId members:members customMessage:customMessage quiet:quiet]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)docsUsersList:(NSString *)docId { DBRoute *route = DBPAPERRouteObjects.DBPAPERDocsUsersList; DBPAPERListUsersOnPaperDocArgs *arg = [[DBPAPERListUsersOnPaperDocArgs alloc] initWithDocId:docId]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)docsUsersList:(NSString *)docId limit:(NSNumber *)limit filterBy:(DBPAPERUserOnPaperDocFilter *)filterBy { DBRoute *route = DBPAPERRouteObjects.DBPAPERDocsUsersList; DBPAPERListUsersOnPaperDocArgs *arg = [[DBPAPERListUsersOnPaperDocArgs alloc] initWithDocId:docId limit:limit filterBy:filterBy]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)docsUsersListContinue:(NSString *)docId cursor:(NSString *)cursor { DBRoute *route = DBPAPERRouteObjects.DBPAPERDocsUsersListContinue; DBPAPERListUsersOnPaperDocContinueArgs *arg = [[DBPAPERListUsersOnPaperDocContinueArgs alloc] initWithDocId:docId cursor:cursor]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)docsUsersRemove:(NSString *)docId member:(DBSHARINGMemberSelector *)member { DBRoute *route = DBPAPERRouteObjects.DBPAPERDocsUsersRemove; DBPAPERRemovePaperDocUser *arg = [[DBPAPERRemovePaperDocUser alloc] initWithDocId:docId member:member]; 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBSHARINGAppAuthRoutes.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBSHARINGAppAuthRoutes.m ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBSHARINGUserAuthRoutes.h ================================================ /// /// 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 DBSHARINGUserAuthRoutes : NSObject /// An instance of the networking client that each route will use to submit a /// request. @property (nonatomic, readonly) id client; /// Initializes the `DBSHARINGUserAuthRoutes` namespace container object with a /// networking client. - (instancetype)init:(id)client; /// /// 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 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; /// /// 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 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 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. /// /// @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 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. /// /// @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. /// /// @return Through the response callback, the caller will receive a `void` object on success or a /// `DBSHARINGAddFolderMemberError` object on failure. /// - (DBRpcTask *)addFolderMember:(NSString *)sharedFolderId members:(NSArray *)members; /// /// 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. /// /// @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. /// @param quiet Whether added members should be notified via email and device notifications of their invite. /// @param customMessage Optional message to display to added members in their invitation. /// /// @return Through the response callback, the caller will receive a `void` object on success or a /// `DBSHARINGAddFolderMemberError` object on failure. /// - (DBRpcTask *)addFolderMember:(NSString *)sharedFolderId members:(NSArray *)members quiet:(nullable NSNumber *)quiet customMessage:(nullable NSString *)customMessage; /// /// 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. /// /// @return Through the response callback, the caller will receive a `DBSHARINGJobStatus` object on success or a /// `DBASYNCPollError` object on failure. /// - (DBRpcTask *)checkJobStatus:(NSString *)asyncJobId; /// /// 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. /// /// @return Through the response callback, the caller will receive a `DBSHARINGRemoveMemberJobStatus` object on success /// or a `DBASYNCPollError` object on failure. /// - (DBRpcTask *)checkRemoveMemberJobStatus:(NSString *)asyncJobId; /// /// 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. /// /// @return Through the response callback, the caller will receive a `DBSHARINGShareFolderJobStatus` object on success /// or a `DBASYNCPollError` object on failure. /// - (DBRpcTask *)checkShareJobStatus:(NSString *)asyncJobId; /// /// 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. /// /// @return Through the response callback, the caller will receive a `DBSHARINGPathLinkMetadata` object on success or a /// `DBSHARINGCreateSharedLinkError` object on failure. /// - (DBRpcTask *)createSharedLink:(NSString *)path __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. /// 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 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. /// /// @return Through the response callback, the caller will receive a `DBSHARINGPathLinkMetadata` object on success or a /// `DBSHARINGCreateSharedLinkError` object on failure. /// - (DBRpcTask *) createSharedLink:(NSString *)path shortUrl:(nullable NSNumber *)shortUrl pendingUpload:(nullable DBSHARINGPendingUploadMode *)pendingUpload __deprecated_msg("createSharedLink is deprecated. Use createSharedLinkWithSettings."); /// /// Create a shared link with custom settings. If no settings are given then the default visibility is `public` in /// `DBSHARINGRequestedVisibility` (The resolved visibility, though, may depend on other aspects such as team and shared /// folder settings). /// /// @param path The path to be shared by the shared link. /// /// @return Through the response callback, the caller will receive a `DBSHARINGSharedLinkMetadata` object on success or /// a `DBSHARINGCreateSharedLinkWithSettingsError` object on failure. /// - (DBRpcTask *) createSharedLinkWithSettings:(NSString *)path; /// /// Create a shared link with custom settings. If no settings are given then the default visibility is `public` in /// `DBSHARINGRequestedVisibility` (The resolved visibility, though, may depend on other aspects such as team and shared /// folder settings). /// /// @param path The path to be shared by the shared link. /// @param settings The requested settings for the newly created shared link. /// /// @return Through the response callback, the caller will receive a `DBSHARINGSharedLinkMetadata` object on success or /// a `DBSHARINGCreateSharedLinkWithSettingsError` object on failure. /// - (DBRpcTask *) createSharedLinkWithSettings:(NSString *)path settings:(nullable DBSHARINGSharedLinkSettings *)settings; /// /// Returns shared file metadata. /// /// @param file The file to query. /// /// @return Through the response callback, the caller will receive a `DBSHARINGSharedFileMetadata` object on success or /// a `DBSHARINGGetFileMetadataError` object on failure. /// - (DBRpcTask *)getFileMetadata:(NSString *)file; /// /// Returns shared file metadata. /// /// @param file The file to query. /// @param actions A list of `FileAction`s corresponding to `FilePermission`s that should appear in the response's /// `permissions` in `DBSHARINGSharedFileMetadata` field describing the actions the authenticated user can perform on /// the file. /// /// @return Through the response callback, the caller will receive a `DBSHARINGSharedFileMetadata` object on success or /// a `DBSHARINGGetFileMetadataError` object on failure. /// - (DBRpcTask *) getFileMetadata:(NSString *)file actions:(nullable NSArray *)actions; /// /// Returns shared file metadata. /// /// @param files The files to query. /// /// @return Through the response callback, the caller will receive a `NSArray` /// object on success or a `DBSHARINGSharingUserError` object on failure. /// - (DBRpcTask *, DBSHARINGSharingUserError *> *)getFileMetadataBatch: (NSArray *)files; /// /// Returns shared file metadata. /// /// @param files The files to query. /// @param actions A list of `FileAction`s corresponding to `FilePermission`s that should appear in the response's /// `permissions` in `DBSHARINGSharedFileMetadata` field describing the actions the authenticated user can perform on /// the file. /// /// @return Through the response callback, the caller will receive a `NSArray` /// object on success or a `DBSHARINGSharingUserError` object on failure. /// - (DBRpcTask *, DBSHARINGSharingUserError *> *) getFileMetadataBatch:(NSArray *)files actions:(nullable NSArray *)actions; /// /// Returns shared folder metadata by its folder ID. /// /// @param sharedFolderId The ID for the shared folder. /// /// @return Through the response callback, the caller will receive a `DBSHARINGSharedFolderMetadata` object on success /// or a `DBSHARINGSharedFolderAccessError` object on failure. /// - (DBRpcTask *)getFolderMetadata: (NSString *)sharedFolderId; /// /// 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 /// `permissions` in `DBSHARINGSharedFolderMetadata` field describing the actions the authenticated user can perform on /// the folder. /// /// @return Through the response callback, the caller will receive a `DBSHARINGSharedFolderMetadata` object on success /// or a `DBSHARINGSharedFolderAccessError` object on failure. /// - (DBRpcTask *) getFolderMetadata:(NSString *)sharedFolderId actions:(nullable NSArray *)actions; /// /// Download the shared link's file from a user's Dropbox. /// /// @param url URL of the shared link. /// @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 `DBSHARINGSharedLinkMetadata` object on success or /// a `DBSHARINGGetSharedLinkFileError` object on failure. /// - (DBDownloadUrlTask *) getSharedLinkFileUrl:(NSString *)url overwrite:(BOOL)overwrite destination:(NSURL *)destination; /// /// Download the shared link's file from a user's Dropbox. /// /// @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. /// @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 `DBSHARINGSharedLinkMetadata` object on success or /// a `DBSHARINGGetSharedLinkFileError` object on failure. /// - (DBDownloadUrlTask *) 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. /// /// @param url URL of the shared link. /// @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 `DBSHARINGSharedLinkMetadata` object on success or /// a `DBSHARINGGetSharedLinkFileError` object on failure. /// - (DBDownloadUrlTask *) 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. /// /// @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. /// @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 `DBSHARINGSharedLinkMetadata` object on success or /// 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; /// /// Download the shared link's file from a user's Dropbox. /// /// @param url URL of the shared link. /// /// @return Through the response callback, the caller will receive a `DBSHARINGSharedLinkMetadata` object on success or /// a `DBSHARINGGetSharedLinkFileError` object on failure. /// - (DBDownloadDataTask *)getSharedLinkFileData: (NSString *)url; /// /// Download the shared link's file from a user's Dropbox. /// /// @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 `DBSHARINGGetSharedLinkFileError` object on failure. /// - (DBDownloadDataTask *) getSharedLinkFileData:(NSString *)url path:(nullable NSString *)path linkPassword:(nullable NSString *)linkPassword; /// /// Download the shared link's file from a user's Dropbox. /// /// @param url URL of the shared link. /// @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 `DBSHARINGSharedLinkMetadata` object on success or /// a `DBSHARINGGetSharedLinkFileError` object on failure. /// - (DBDownloadDataTask *) getSharedLinkFileData:(NSString *)url byteOffsetStart:(NSNumber *)byteOffsetStart byteOffsetEnd:(NSNumber *)byteOffsetEnd; /// /// Download the shared link's file from a user's Dropbox. /// /// @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. /// @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 `DBSHARINGSharedLinkMetadata` object on success or /// a `DBSHARINGGetSharedLinkFileError` object on failure. /// - (DBDownloadDataTask *) getSharedLinkFileData:(NSString *)url path:(nullable NSString *)path linkPassword:(nullable NSString *)linkPassword byteOffsetStart:(NSNumber *)byteOffsetStart byteOffsetEnd:(NSNumber *)byteOffsetEnd; /// /// 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; /// /// 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. /// /// /// @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."); /// /// 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. /// /// @param path See `getSharedLinks` description. /// /// @return Through the response callback, the caller will receive a `DBSHARINGGetSharedLinksResult` object on success /// or a `DBSHARINGGetSharedLinksError` object on failure. /// - (DBRpcTask *)getSharedLinks:(nullable NSString *)path __deprecated_msg("getSharedLinks is deprecated. Use listSharedLinks."); /// /// Use to obtain the members who have been invited to a file, both inherited and uninherited members. /// /// @param file The file for which you want to see members. /// /// @return Through the response callback, the caller will receive a `DBSHARINGSharedFileMembers` object on success or a /// `DBSHARINGListFileMembersError` object on failure. /// - (DBRpcTask *)listFileMembers:(NSString *)file; /// /// Use to obtain the members who have been invited to a file, both inherited and uninherited members. /// /// @param file The file for which you want to see members. /// @param actions The actions for which to return permissions on a member. /// @param includeInherited Whether to include members who only have access from a parent shared folder. /// @param limit Number of members to return max per query. Defaults to 100 if no limit is specified. /// /// @return Through the response callback, the caller will receive a `DBSHARINGSharedFileMembers` object on success or a /// `DBSHARINGListFileMembersError` object on failure. /// - (DBRpcTask *) 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 /// size per file is more strict. To customize the results more, use the individual file endpoint. Inherited users and /// groups are not included in the result, and permissions are not returned for this endpoint. /// /// @param files Files for which to return members. /// /// @return Through the response callback, the caller will receive a `NSArray` /// object on success or a `DBSHARINGSharingUserError` object on failure. /// - (DBRpcTask *, DBSHARINGSharingUserError *> *)listFileMembersBatch: (NSArray *)files; /// /// Get members of multiple files at once. The arguments to this route are more limited, and the limit on query result /// size per file is more strict. To customize the results more, use the individual file endpoint. Inherited users and /// groups are not included in the result, and permissions are not returned for this endpoint. /// /// @param files Files for which to return members. /// @param limit Number of members to return max per query. Defaults to 10 if no limit is specified. /// /// @return Through the response callback, the caller will receive a `NSArray` /// object on success or a `DBSHARINGSharingUserError` object on failure. /// - (DBRpcTask *, DBSHARINGSharingUserError *> *) listFileMembersBatch:(NSArray *)files limit:(nullable NSNumber *)limit; /// /// Once a cursor has been retrieved from `listFileMembers` or `listFileMembersBatch`, use this to paginate through all /// shared file members. /// /// @param cursor The cursor returned by your last call to `listFileMembers`, `listFileMembersContinue`, or /// `listFileMembersBatch`. /// /// @return Through the response callback, the caller will receive a `DBSHARINGSharedFileMembers` object on success or a /// `DBSHARINGListFileMembersContinueError` object on failure. /// - (DBRpcTask *)listFileMembersContinue: (NSString *)cursor; /// /// Returns shared folder membership by its folder ID. /// /// @param sharedFolderId The ID for the shared folder. /// /// @return Through the response callback, the caller will receive a `DBSHARINGSharedFolderMembers` object on success or /// a `DBSHARINGSharedFolderAccessError` object on failure. /// - (DBRpcTask *)listFolderMembers: (NSString *)sharedFolderId; /// /// Returns shared folder membership by its folder ID. /// /// @param sharedFolderId The ID for the shared folder. /// /// @return Through the response callback, the caller will receive a `DBSHARINGSharedFolderMembers` object on success or /// a `DBSHARINGSharedFolderAccessError` object on failure. /// - (DBRpcTask *) 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. /// /// @param cursor The cursor returned by your last call to `listFolderMembers` or `listFolderMembersContinue`. /// /// @return Through the response callback, the caller will receive a `DBSHARINGSharedFolderMembers` object on success or /// a `DBSHARINGListFolderMembersContinueError` object on failure. /// - (DBRpcTask *)listFolderMembersContinue: (NSString *)cursor; /// /// 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 /// `void` object on failure. /// - (DBRpcTask *)listFolders; /// /// 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 /// `permissions` in `DBSHARINGSharedFolderMetadata` field describing the actions the authenticated user can perform on /// the folder. /// /// @return Through the response callback, the caller will receive a `DBSHARINGListFoldersResult` object on success or a /// `void` object on failure. /// - (DBRpcTask *)listFolders:(nullable NSNumber *)limit actions:(nullable NSArray *) actions; /// /// 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`. /// /// @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 `DBSHARINGListFoldersResult` object on success or a /// `DBSHARINGListFoldersContinueError` object on failure. /// - (DBRpcTask *)listFoldersContinue: (NSString *)cursor; /// /// 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 /// `void` object on failure. /// - (DBRpcTask *)listMountableFolders; /// /// 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 /// `permissions` in `DBSHARINGSharedFolderMetadata` field describing the actions the authenticated user can perform on /// the folder. /// /// @return Through the response callback, the caller will receive a `DBSHARINGListFoldersResult` object on success or a /// `void` object on failure. /// - (DBRpcTask *) 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`. /// /// @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 `DBSHARINGListFoldersResult` object on success or a /// `DBSHARINGListFoldersContinueError` object on failure. /// - (DBRpcTask *)listMountableFoldersContinue: (NSString *)cursor; /// /// Returns a list of all files shared with current user. Does not include files the user has received via shared /// folders, and does not include unclaimed invitations. /// /// /// @return Through the response callback, the caller will receive a `DBSHARINGListFilesResult` object on success or a /// `DBSHARINGSharingUserError` object on failure. /// - (DBRpcTask *)listReceivedFiles; /// /// Returns a list of all files shared with current user. Does not include files the user has received via shared /// folders, and does not include unclaimed invitations. /// /// @param limit Number of files to return max per query. Defaults to 100 if no limit is specified. /// @param actions A list of `FileAction`s corresponding to `FilePermission`s that should appear in the response's /// `permissions` in `DBSHARINGSharedFileMetadata` field describing the actions the authenticated user can perform on /// the file. /// /// @return Through the response callback, the caller will receive a `DBSHARINGListFilesResult` object on success or a /// `DBSHARINGSharingUserError` object on failure. /// - (DBRpcTask *) listReceivedFiles:(nullable NSNumber *)limit actions:(nullable NSArray *)actions; /// /// Get more results with a cursor from `listReceivedFiles`. /// /// @param cursor Cursor in `cursor` in `DBSHARINGListFilesResult`. /// /// @return Through the response callback, the caller will receive a `DBSHARINGListFilesResult` object on success or a /// `DBSHARINGListFilesContinueError` object on failure. /// - (DBRpcTask *)listReceivedFilesContinue: (NSString *)cursor; /// /// 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 /// or a `DBSHARINGListSharedLinksError` object on failure. /// - (DBRpcTask *)listSharedLinks; /// /// 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`. /// @param directOnly See `listSharedLinks` description. /// /// @return Through the response callback, the caller will receive a `DBSHARINGListSharedLinksResult` object on success /// or a `DBSHARINGListSharedLinksError` object on failure. /// - (DBRpcTask *) 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 /// the shared folder (in case the linked file is part of a shared folder) then the `resolvedVisibility` in /// `DBSHARINGLinkPermissions` of the returned SharedLinkMetadata will reflect the actual visibility of the shared link /// and the `requestedVisibility` in `DBSHARINGLinkPermissions` will reflect the requested visibility. /// /// @param url URL of the shared link to change its settings. /// @param settings Set of settings for the shared link. /// /// @return Through the response callback, the caller will receive a `DBSHARINGSharedLinkMetadata` object on success or /// a `DBSHARINGModifySharedLinkSettingsError` object on failure. /// - (DBRpcTask *) 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 /// the shared folder (in case the linked file is part of a shared folder) then the `resolvedVisibility` in /// `DBSHARINGLinkPermissions` of the returned SharedLinkMetadata will reflect the actual visibility of the shared link /// and the `requestedVisibility` in `DBSHARINGLinkPermissions` will reflect the requested visibility. /// /// @param url URL of the shared link to change its settings. /// @param settings Set of settings for the shared link. /// @param removeExpiration If set to true, removes the expiration of the shared link. /// /// @return Through the response callback, the caller will receive a `DBSHARINGSharedLinkMetadata` object on success or /// a `DBSHARINGModifySharedLinkSettingsError` object on failure. /// - (DBRpcTask *) 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. /// /// @param sharedFolderId The ID of the shared folder to mount. /// /// @return Through the response callback, the caller will receive a `DBSHARINGSharedFolderMetadata` object on success /// or a `DBSHARINGMountFolderError` object on failure. /// - (DBRpcTask *)mountFolder:(NSString *)sharedFolderId; /// /// 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. /// /// @param file The path or id for the file. /// /// @return Through the response callback, the caller will receive a `void` object on success or a /// `DBSHARINGRelinquishFileMembershipError` object on failure. /// - (DBRpcTask *)relinquishFileMembership:(NSString *)file; /// /// 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. /// /// @param sharedFolderId The ID for the 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; /// /// 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. /// /// @param sharedFolderId The ID for the shared folder. /// @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; /// /// DEPRECATED: Identical to remove_file_member_2 but with less information returned. /// /// @param file File from which to remove members. /// @param member Member to remove from this file. Note that even if an email is specified, it may result in the removal /// of a user (not an invitee) if the user's main account corresponds to that email address. /// /// @return Through the response callback, the caller will receive a `DBSHARINGFileMemberActionIndividualResult` object /// on success or a `DBSHARINGRemoveFileMemberError` object on failure. /// - (DBRpcTask *) removeFileMember:(NSString *)file member:(DBSHARINGMemberSelector *)member __deprecated_msg("removeFileMember is deprecated. Use removeFileMember2."); /// /// Removes a specified member from the file. /// /// @param file File from which to remove members. /// @param member Member to remove from this file. Note that even if an email is specified, it may result in the removal /// of a user (not an invitee) if the user's main account corresponds to that email address. /// /// @return Through the response callback, the caller will receive a `DBSHARINGFileMemberRemoveActionResult` object on /// success or a `DBSHARINGRemoveFileMemberError` object on failure. /// - (DBRpcTask *) 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. /// /// @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. 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; /// /// Revoke a shared link. Note that even after revoking a shared link to a file, the file may be accessible if there are /// shared links leading to any of the file parent folders. To list all shared links that enable access to a specific /// file, you can use the `listSharedLinks` with the file as the `path` in `DBSHARINGListSharedLinksArg` argument. /// /// @param url URL of the shared link. /// /// @return Through the response callback, the caller will receive a `void` object on success or a /// `DBSHARINGRevokeSharedLinkError` object on failure. /// - (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. /// /// /// @return Through the response callback, the caller will receive a `DBSHARINGShareFolderLaunch` object on success or a /// `DBSHARINGShareFolderError` object on failure. /// - (DBRpcTask *)shareFolder:(NSString *)path; /// /// 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. /// /// @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 /// the folder. /// @param linkSettings Settings on the link for this folder. /// /// @return Through the response callback, the caller will receive a `DBSHARINGShareFolderLaunch` object on success or a /// `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 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. /// /// @param sharedFolderId The ID for the shared folder. /// @param toDropboxId A account or team member ID to transfer ownership to. /// /// @return Through the response callback, the caller will receive a `void` object on success or a /// `DBSHARINGTransferFolderError` object on failure. /// - (DBRpcTask *)transferFolder:(NSString *)sharedFolderId toDropboxId:(NSString *)toDropboxId; /// /// The current user unmounts the designated folder. They can re-mount the folder at a later time using `mountFolder`. /// /// @param sharedFolderId The ID for the shared folder. /// /// @return Through the response callback, the caller will receive a `void` object on success or a /// `DBSHARINGUnmountFolderError` object on failure. /// - (DBRpcTask *)unmountFolder:(NSString *)sharedFolderId; /// /// Remove all members from this file. Does not remove inherited members. /// /// @param file The file to unshare. /// /// @return Through the response callback, the caller will receive a `void` object on success or a /// `DBSHARINGUnshareFileError` object on failure. /// - (DBRpcTask *)unshareFile:(NSString *)file; /// /// Allows a shared folder owner to unshare the folder. You'll need to call `checkJobStatus` to determine if the action /// has completed successfully. /// /// @param sharedFolderId The ID for the shared folder. /// /// @return Through the response callback, the caller will receive a `DBASYNCLaunchEmptyResult` object on success or a /// `DBSHARINGUnshareFolderError` object on failure. /// - (DBRpcTask *)unshareFolder:(NSString *)sharedFolderId; /// /// Allows a shared folder owner to unshare the folder. You'll need to call `checkJobStatus` to determine if the action /// 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. /// Otherwise, it will be removed from their Dropbox. The current user, who is an owner, will always retain their copy. /// /// @return Through the response callback, the caller will receive a `DBASYNCLaunchEmptyResult` object on success or a /// `DBSHARINGUnshareFolderError` object on failure. /// - (DBRpcTask *)unshareFolder:(NSString *)sharedFolderId leaveACopy:(nullable NSNumber *)leaveACopy; /// /// 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; /// /// 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 /// set at this time. /// @param accessLevel The new access level for member. `owner` in `DBSHARINGAccessLevel` is disallowed. /// /// @return Through the response callback, the caller will receive a `DBSHARINGMemberAccessLevelResult` object on /// success or a `DBSHARINGUpdateFolderMemberError` object on failure. /// - (DBRpcTask *) 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. /// /// @param sharedFolderId The ID for the shared folder. /// /// @return Through the response callback, the caller will receive a `DBSHARINGSharedFolderMetadata` object on success /// or a `DBSHARINGUpdateFolderPolicyError` object on failure. /// - (DBRpcTask *)updateFolderPolicy: (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. /// /// @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. /// @param aclUpdatePolicy Who can add and remove members of this shared folder. /// @param viewerInfoPolicy Who can enable/disable viewer info for this shared folder. /// @param sharedLinkPolicy The policy to apply to shared links created for content inside this shared folder. The /// current user must be on a team to set this policy to `members` in `DBSHARINGSharedLinkPolicy`. /// @param linkSettings Settings on the link for this 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 /// the folder. /// /// @return Through the response callback, the caller will receive a `DBSHARINGSharedFolderMetadata` object on success /// 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; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBSHARINGUserAuthRoutes.m ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import "DBSHARINGUserAuthRoutes.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 DBSHARINGUserAuthRoutes - (instancetype)init:(id)client { self = [super init]; if (self) { _client = client; } return self; } - (DBRpcTask *)addFileMember:(NSString *)file members:(NSArray *)members { DBRoute *route = DBSHARINGRouteObjects.DBSHARINGAddFileMember; DBSHARINGAddFileMemberArgs *arg = [[DBSHARINGAddFileMemberArgs alloc] initWithFile:file members:members]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)addFileMember:(NSString *)file members:(NSArray *)members customMessage:(NSString *)customMessage quiet:(NSNumber *)quiet accessLevel:(DBSHARINGAccessLevel *)accessLevel addMessageAsComment:(NSNumber *)addMessageAsComment { DBRoute *route = DBSHARINGRouteObjects.DBSHARINGAddFileMember; DBSHARINGAddFileMemberArgs *arg = [[DBSHARINGAddFileMemberArgs alloc] initWithFile:file members:members customMessage:customMessage quiet:quiet accessLevel:accessLevel addMessageAsComment:addMessageAsComment]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)addFolderMember:(NSString *)sharedFolderId members:(NSArray *)members { DBRoute *route = DBSHARINGRouteObjects.DBSHARINGAddFolderMember; DBSHARINGAddFolderMemberArg *arg = [[DBSHARINGAddFolderMemberArg alloc] initWithSharedFolderId:sharedFolderId members:members]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)addFolderMember:(NSString *)sharedFolderId members:(NSArray *)members quiet:(NSNumber *)quiet customMessage:(NSString *)customMessage { DBRoute *route = DBSHARINGRouteObjects.DBSHARINGAddFolderMember; DBSHARINGAddFolderMemberArg *arg = [[DBSHARINGAddFolderMemberArg alloc] initWithSharedFolderId:sharedFolderId members:members quiet:quiet customMessage:customMessage]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)checkJobStatus:(NSString *)asyncJobId { DBRoute *route = DBSHARINGRouteObjects.DBSHARINGCheckJobStatus; DBASYNCPollArg *arg = [[DBASYNCPollArg alloc] initWithAsyncJobId:asyncJobId]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)checkRemoveMemberJobStatus:(NSString *)asyncJobId { DBRoute *route = DBSHARINGRouteObjects.DBSHARINGCheckRemoveMemberJobStatus; DBASYNCPollArg *arg = [[DBASYNCPollArg alloc] initWithAsyncJobId:asyncJobId]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)checkShareJobStatus:(NSString *)asyncJobId { DBRoute *route = DBSHARINGRouteObjects.DBSHARINGCheckShareJobStatus; DBASYNCPollArg *arg = [[DBASYNCPollArg alloc] initWithAsyncJobId:asyncJobId]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)createSharedLink:(NSString *)path { DBRoute *route = DBSHARINGRouteObjects.DBSHARINGCreateSharedLink; DBSHARINGCreateSharedLinkArg *arg = [[DBSHARINGCreateSharedLinkArg alloc] initWithPath:path]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)createSharedLink:(NSString *)path shortUrl:(NSNumber *)shortUrl pendingUpload:(DBSHARINGPendingUploadMode *)pendingUpload { DBRoute *route = DBSHARINGRouteObjects.DBSHARINGCreateSharedLink; DBSHARINGCreateSharedLinkArg *arg = [[DBSHARINGCreateSharedLinkArg alloc] initWithPath:path shortUrl:shortUrl pendingUpload:pendingUpload]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)createSharedLinkWithSettings:(NSString *)path { DBRoute *route = DBSHARINGRouteObjects.DBSHARINGCreateSharedLinkWithSettings; DBSHARINGCreateSharedLinkWithSettingsArg *arg = [[DBSHARINGCreateSharedLinkWithSettingsArg alloc] initWithPath:path]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)createSharedLinkWithSettings:(NSString *)path settings:(DBSHARINGSharedLinkSettings *)settings { DBRoute *route = DBSHARINGRouteObjects.DBSHARINGCreateSharedLinkWithSettings; DBSHARINGCreateSharedLinkWithSettingsArg *arg = [[DBSHARINGCreateSharedLinkWithSettingsArg alloc] initWithPath:path settings:settings]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)getFileMetadata:(NSString *)file { DBRoute *route = DBSHARINGRouteObjects.DBSHARINGGetFileMetadata; DBSHARINGGetFileMetadataArg *arg = [[DBSHARINGGetFileMetadataArg alloc] initWithFile:file]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)getFileMetadata:(NSString *)file actions:(NSArray *)actions { DBRoute *route = DBSHARINGRouteObjects.DBSHARINGGetFileMetadata; DBSHARINGGetFileMetadataArg *arg = [[DBSHARINGGetFileMetadataArg alloc] initWithFile:file actions:actions]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)getFileMetadataBatch:(NSArray *)files { DBRoute *route = DBSHARINGRouteObjects.DBSHARINGGetFileMetadataBatch; DBSHARINGGetFileMetadataBatchArg *arg = [[DBSHARINGGetFileMetadataBatchArg alloc] initWithFiles:files]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)getFileMetadataBatch:(NSArray *)files actions:(NSArray *)actions { DBRoute *route = DBSHARINGRouteObjects.DBSHARINGGetFileMetadataBatch; DBSHARINGGetFileMetadataBatchArg *arg = [[DBSHARINGGetFileMetadataBatchArg alloc] initWithFiles:files actions:actions]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)getFolderMetadata:(NSString *)sharedFolderId { DBRoute *route = DBSHARINGRouteObjects.DBSHARINGGetFolderMetadata; DBSHARINGGetMetadataArgs *arg = [[DBSHARINGGetMetadataArgs alloc] initWithSharedFolderId:sharedFolderId]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)getFolderMetadata:(NSString *)sharedFolderId actions:(NSArray *)actions { DBRoute *route = DBSHARINGRouteObjects.DBSHARINGGetFolderMetadata; DBSHARINGGetMetadataArgs *arg = [[DBSHARINGGetMetadataArgs alloc] initWithSharedFolderId:sharedFolderId actions:actions]; return [self.client requestRpc:route arg:arg]; } - (DBDownloadUrlTask *)getSharedLinkFileUrl:(NSString *)url overwrite:(BOOL)overwrite destination:(NSURL *)destination { DBRoute *route = DBSHARINGRouteObjects.DBSHARINGGetSharedLinkFile; DBSHARINGGetSharedLinkMetadataArg *arg = [[DBSHARINGGetSharedLinkMetadataArg alloc] initWithUrl:url]; return [self.client requestDownload:route arg:arg overwrite:overwrite destination:destination]; } - (DBDownloadUrlTask *)getSharedLinkFileUrl:(NSString *)url path:(NSString *)path linkPassword:(NSString *)linkPassword overwrite:(BOOL)overwrite destination:(NSURL *)destination { DBRoute *route = DBSHARINGRouteObjects.DBSHARINGGetSharedLinkFile; DBSHARINGGetSharedLinkMetadataArg *arg = [[DBSHARINGGetSharedLinkMetadataArg alloc] initWithUrl:url path:path linkPassword:linkPassword]; return [self.client requestDownload:route arg:arg overwrite:overwrite destination:destination]; } - (DBDownloadUrlTask *)getSharedLinkFileUrl:(NSString *)url overwrite:(BOOL)overwrite destination:(NSURL *)destination byteOffsetStart:(NSNumber *)byteOffsetStart byteOffsetEnd:(NSNumber *)byteOffsetEnd { DBRoute *route = DBSHARINGRouteObjects.DBSHARINGGetSharedLinkFile; DBSHARINGGetSharedLinkMetadataArg *arg = [[DBSHARINGGetSharedLinkMetadataArg alloc] initWithUrl:url]; return [self.client requestDownload:route arg:arg overwrite:overwrite destination:destination byteOffsetStart:byteOffsetStart byteOffsetEnd:byteOffsetEnd]; } - (DBDownloadUrlTask *)getSharedLinkFileUrl:(NSString *)url path:(NSString *)path linkPassword:(NSString *)linkPassword overwrite:(BOOL)overwrite destination:(NSURL *)destination byteOffsetStart:(NSNumber *)byteOffsetStart byteOffsetEnd:(NSNumber *)byteOffsetEnd { DBRoute *route = DBSHARINGRouteObjects.DBSHARINGGetSharedLinkFile; DBSHARINGGetSharedLinkMetadataArg *arg = [[DBSHARINGGetSharedLinkMetadataArg alloc] initWithUrl:url path:path linkPassword:linkPassword]; return [self.client requestDownload:route arg:arg overwrite:overwrite destination:destination byteOffsetStart:byteOffsetStart byteOffsetEnd:byteOffsetEnd]; } - (DBDownloadDataTask *)getSharedLinkFileData:(NSString *)url { DBRoute *route = DBSHARINGRouteObjects.DBSHARINGGetSharedLinkFile; DBSHARINGGetSharedLinkMetadataArg *arg = [[DBSHARINGGetSharedLinkMetadataArg alloc] initWithUrl:url]; return [self.client requestDownload:route arg:arg]; } - (DBDownloadDataTask *)getSharedLinkFileData:(NSString *)url path:(NSString *)path linkPassword:(NSString *)linkPassword { DBRoute *route = DBSHARINGRouteObjects.DBSHARINGGetSharedLinkFile; DBSHARINGGetSharedLinkMetadataArg *arg = [[DBSHARINGGetSharedLinkMetadataArg alloc] initWithUrl:url path:path linkPassword:linkPassword]; return [self.client requestDownload:route arg:arg]; } - (DBDownloadDataTask *)getSharedLinkFileData:(NSString *)url byteOffsetStart:(NSNumber *)byteOffsetStart byteOffsetEnd:(NSNumber *)byteOffsetEnd { DBRoute *route = DBSHARINGRouteObjects.DBSHARINGGetSharedLinkFile; DBSHARINGGetSharedLinkMetadataArg *arg = [[DBSHARINGGetSharedLinkMetadataArg alloc] initWithUrl:url]; return [self.client requestDownload:route arg:arg byteOffsetStart:byteOffsetStart byteOffsetEnd:byteOffsetEnd]; } - (DBDownloadDataTask *)getSharedLinkFileData:(NSString *)url path:(NSString *)path linkPassword:(NSString *)linkPassword byteOffsetStart:(NSNumber *)byteOffsetStart byteOffsetEnd:(NSNumber *)byteOffsetEnd { DBRoute *route = DBSHARINGRouteObjects.DBSHARINGGetSharedLinkFile; DBSHARINGGetSharedLinkMetadataArg *arg = [[DBSHARINGGetSharedLinkMetadataArg alloc] initWithUrl:url path:path linkPassword:linkPassword]; return [self.client requestDownload:route arg:arg byteOffsetStart:byteOffsetStart byteOffsetEnd:byteOffsetEnd]; } - (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]; } - (DBRpcTask *)getSharedLinks { DBRoute *route = DBSHARINGRouteObjects.DBSHARINGGetSharedLinks; DBSHARINGGetSharedLinksArg *arg = [[DBSHARINGGetSharedLinksArg alloc] initDefault]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)getSharedLinks:(NSString *)path { DBRoute *route = DBSHARINGRouteObjects.DBSHARINGGetSharedLinks; DBSHARINGGetSharedLinksArg *arg = [[DBSHARINGGetSharedLinksArg alloc] initWithPath:path]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)listFileMembers:(NSString *)file { DBRoute *route = DBSHARINGRouteObjects.DBSHARINGListFileMembers; DBSHARINGListFileMembersArg *arg = [[DBSHARINGListFileMembersArg alloc] initWithFile:file]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)listFileMembers:(NSString *)file actions:(NSArray *)actions includeInherited:(NSNumber *)includeInherited limit:(NSNumber *)limit { DBRoute *route = DBSHARINGRouteObjects.DBSHARINGListFileMembers; DBSHARINGListFileMembersArg *arg = [[DBSHARINGListFileMembersArg alloc] initWithFile:file actions:actions includeInherited:includeInherited limit:limit]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)listFileMembersBatch:(NSArray *)files { DBRoute *route = DBSHARINGRouteObjects.DBSHARINGListFileMembersBatch; DBSHARINGListFileMembersBatchArg *arg = [[DBSHARINGListFileMembersBatchArg alloc] initWithFiles:files]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)listFileMembersBatch:(NSArray *)files limit:(NSNumber *)limit { DBRoute *route = DBSHARINGRouteObjects.DBSHARINGListFileMembersBatch; DBSHARINGListFileMembersBatchArg *arg = [[DBSHARINGListFileMembersBatchArg alloc] initWithFiles:files limit:limit]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)listFileMembersContinue:(NSString *)cursor { DBRoute *route = DBSHARINGRouteObjects.DBSHARINGListFileMembersContinue; DBSHARINGListFileMembersContinueArg *arg = [[DBSHARINGListFileMembersContinueArg alloc] initWithCursor:cursor]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)listFolderMembers:(NSString *)sharedFolderId { DBRoute *route = DBSHARINGRouteObjects.DBSHARINGListFolderMembers; DBSHARINGListFolderMembersArgs *arg = [[DBSHARINGListFolderMembersArgs alloc] initWithSharedFolderId:sharedFolderId]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)listFolderMembers:(NSString *)sharedFolderId actions:(NSArray *)actions limit:(NSNumber *)limit { DBRoute *route = DBSHARINGRouteObjects.DBSHARINGListFolderMembers; DBSHARINGListFolderMembersArgs *arg = [[DBSHARINGListFolderMembersArgs alloc] initWithSharedFolderId:sharedFolderId actions:actions limit:limit]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)listFolderMembersContinue:(NSString *)cursor { DBRoute *route = DBSHARINGRouteObjects.DBSHARINGListFolderMembersContinue; DBSHARINGListFolderMembersContinueArg *arg = [[DBSHARINGListFolderMembersContinueArg alloc] initWithCursor:cursor]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)listFolders { DBRoute *route = DBSHARINGRouteObjects.DBSHARINGListFolders; DBSHARINGListFoldersArgs *arg = [[DBSHARINGListFoldersArgs alloc] initDefault]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)listFolders:(NSNumber *)limit actions:(NSArray *)actions { DBRoute *route = DBSHARINGRouteObjects.DBSHARINGListFolders; DBSHARINGListFoldersArgs *arg = [[DBSHARINGListFoldersArgs alloc] initWithLimit:limit actions:actions]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)listFoldersContinue:(NSString *)cursor { DBRoute *route = DBSHARINGRouteObjects.DBSHARINGListFoldersContinue; DBSHARINGListFoldersContinueArg *arg = [[DBSHARINGListFoldersContinueArg alloc] initWithCursor:cursor]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)listMountableFolders { DBRoute *route = DBSHARINGRouteObjects.DBSHARINGListMountableFolders; DBSHARINGListFoldersArgs *arg = [[DBSHARINGListFoldersArgs alloc] initDefault]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)listMountableFolders:(NSNumber *)limit actions:(NSArray *)actions { DBRoute *route = DBSHARINGRouteObjects.DBSHARINGListMountableFolders; DBSHARINGListFoldersArgs *arg = [[DBSHARINGListFoldersArgs alloc] initWithLimit:limit actions:actions]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)listMountableFoldersContinue:(NSString *)cursor { DBRoute *route = DBSHARINGRouteObjects.DBSHARINGListMountableFoldersContinue; DBSHARINGListFoldersContinueArg *arg = [[DBSHARINGListFoldersContinueArg alloc] initWithCursor:cursor]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)listReceivedFiles { DBRoute *route = DBSHARINGRouteObjects.DBSHARINGListReceivedFiles; DBSHARINGListFilesArg *arg = [[DBSHARINGListFilesArg alloc] initDefault]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)listReceivedFiles:(NSNumber *)limit actions:(NSArray *)actions { DBRoute *route = DBSHARINGRouteObjects.DBSHARINGListReceivedFiles; DBSHARINGListFilesArg *arg = [[DBSHARINGListFilesArg alloc] initWithLimit:limit actions:actions]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)listReceivedFilesContinue:(NSString *)cursor { DBRoute *route = DBSHARINGRouteObjects.DBSHARINGListReceivedFilesContinue; DBSHARINGListFilesContinueArg *arg = [[DBSHARINGListFilesContinueArg alloc] initWithCursor:cursor]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)listSharedLinks { DBRoute *route = DBSHARINGRouteObjects.DBSHARINGListSharedLinks; DBSHARINGListSharedLinksArg *arg = [[DBSHARINGListSharedLinksArg alloc] initDefault]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)listSharedLinks:(NSString *)path cursor:(NSString *)cursor directOnly:(NSNumber *)directOnly { DBRoute *route = DBSHARINGRouteObjects.DBSHARINGListSharedLinks; DBSHARINGListSharedLinksArg *arg = [[DBSHARINGListSharedLinksArg alloc] initWithPath:path cursor:cursor directOnly:directOnly]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)modifySharedLinkSettings:(NSString *)url settings:(DBSHARINGSharedLinkSettings *)settings { DBRoute *route = DBSHARINGRouteObjects.DBSHARINGModifySharedLinkSettings; DBSHARINGModifySharedLinkSettingsArgs *arg = [[DBSHARINGModifySharedLinkSettingsArgs alloc] initWithUrl:url settings:settings]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)modifySharedLinkSettings:(NSString *)url settings:(DBSHARINGSharedLinkSettings *)settings removeExpiration:(NSNumber *)removeExpiration { DBRoute *route = DBSHARINGRouteObjects.DBSHARINGModifySharedLinkSettings; DBSHARINGModifySharedLinkSettingsArgs *arg = [[DBSHARINGModifySharedLinkSettingsArgs alloc] initWithUrl:url settings:settings removeExpiration:removeExpiration]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)mountFolder:(NSString *)sharedFolderId { DBRoute *route = DBSHARINGRouteObjects.DBSHARINGMountFolder; DBSHARINGMountFolderArg *arg = [[DBSHARINGMountFolderArg alloc] initWithSharedFolderId:sharedFolderId]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)relinquishFileMembership:(NSString *)file { DBRoute *route = DBSHARINGRouteObjects.DBSHARINGRelinquishFileMembership; DBSHARINGRelinquishFileMembershipArg *arg = [[DBSHARINGRelinquishFileMembershipArg alloc] initWithFile:file]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)relinquishFolderMembership:(NSString *)sharedFolderId { DBRoute *route = DBSHARINGRouteObjects.DBSHARINGRelinquishFolderMembership; DBSHARINGRelinquishFolderMembershipArg *arg = [[DBSHARINGRelinquishFolderMembershipArg alloc] initWithSharedFolderId:sharedFolderId]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)relinquishFolderMembership:(NSString *)sharedFolderId leaveACopy:(NSNumber *)leaveACopy { DBRoute *route = DBSHARINGRouteObjects.DBSHARINGRelinquishFolderMembership; DBSHARINGRelinquishFolderMembershipArg *arg = [[DBSHARINGRelinquishFolderMembershipArg alloc] initWithSharedFolderId:sharedFolderId leaveACopy:leaveACopy]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)removeFileMember:(NSString *)file member:(DBSHARINGMemberSelector *)member { DBRoute *route = DBSHARINGRouteObjects.DBSHARINGRemoveFileMember; DBSHARINGRemoveFileMemberArg *arg = [[DBSHARINGRemoveFileMemberArg alloc] initWithFile:file member:member]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)removeFileMember2:(NSString *)file member:(DBSHARINGMemberSelector *)member { DBRoute *route = DBSHARINGRouteObjects.DBSHARINGRemoveFileMember2; DBSHARINGRemoveFileMemberArg *arg = [[DBSHARINGRemoveFileMemberArg alloc] initWithFile:file member:member]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)removeFolderMember:(NSString *)sharedFolderId member:(DBSHARINGMemberSelector *)member leaveACopy:(NSNumber *)leaveACopy { DBRoute *route = DBSHARINGRouteObjects.DBSHARINGRemoveFolderMember; DBSHARINGRemoveFolderMemberArg *arg = [[DBSHARINGRemoveFolderMemberArg alloc] initWithSharedFolderId:sharedFolderId member:member leaveACopy:leaveACopy]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)revokeSharedLink:(NSString *)url { DBRoute *route = DBSHARINGRouteObjects.DBSHARINGRevokeSharedLink; DBSHARINGRevokeSharedLinkArg *arg = [[DBSHARINGRevokeSharedLinkArg alloc] initWithUrl: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]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)shareFolder:(NSString *)path aclUpdatePolicy:(DBSHARINGAclUpdatePolicy *)aclUpdatePolicy forceAsync:(NSNumber *)forceAsync memberPolicy:(DBSHARINGMemberPolicy *)memberPolicy sharedLinkPolicy:(DBSHARINGSharedLinkPolicy *)sharedLinkPolicy viewerInfoPolicy:(DBSHARINGViewerInfoPolicy *)viewerInfoPolicy accessInheritance:(DBSHARINGAccessInheritance *)accessInheritance actions:(NSArray *)actions linkSettings:(DBSHARINGLinkSettings *)linkSettings { DBRoute *route = DBSHARINGRouteObjects.DBSHARINGShareFolder; DBSHARINGShareFolderArg *arg = [[DBSHARINGShareFolderArg alloc] initWithPath:path aclUpdatePolicy:aclUpdatePolicy forceAsync:forceAsync memberPolicy:memberPolicy sharedLinkPolicy:sharedLinkPolicy viewerInfoPolicy:viewerInfoPolicy accessInheritance:accessInheritance actions:actions linkSettings:linkSettings]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)transferFolder:(NSString *)sharedFolderId toDropboxId:(NSString *)toDropboxId { DBRoute *route = DBSHARINGRouteObjects.DBSHARINGTransferFolder; DBSHARINGTransferFolderArg *arg = [[DBSHARINGTransferFolderArg alloc] initWithSharedFolderId:sharedFolderId toDropboxId:toDropboxId]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)unmountFolder:(NSString *)sharedFolderId { DBRoute *route = DBSHARINGRouteObjects.DBSHARINGUnmountFolder; DBSHARINGUnmountFolderArg *arg = [[DBSHARINGUnmountFolderArg alloc] initWithSharedFolderId:sharedFolderId]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)unshareFile:(NSString *)file { DBRoute *route = DBSHARINGRouteObjects.DBSHARINGUnshareFile; DBSHARINGUnshareFileArg *arg = [[DBSHARINGUnshareFileArg alloc] initWithFile:file]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)unshareFolder:(NSString *)sharedFolderId { DBRoute *route = DBSHARINGRouteObjects.DBSHARINGUnshareFolder; DBSHARINGUnshareFolderArg *arg = [[DBSHARINGUnshareFolderArg alloc] initWithSharedFolderId:sharedFolderId]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)unshareFolder:(NSString *)sharedFolderId leaveACopy:(NSNumber *)leaveACopy { DBRoute *route = DBSHARINGRouteObjects.DBSHARINGUnshareFolder; DBSHARINGUnshareFolderArg *arg = [[DBSHARINGUnshareFolderArg alloc] initWithSharedFolderId:sharedFolderId leaveACopy:leaveACopy]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)updateFileMember:(NSString *)file member:(DBSHARINGMemberSelector *)member accessLevel:(DBSHARINGAccessLevel *)accessLevel { DBRoute *route = DBSHARINGRouteObjects.DBSHARINGUpdateFileMember; DBSHARINGUpdateFileMemberArgs *arg = [[DBSHARINGUpdateFileMemberArgs alloc] initWithFile:file member:member accessLevel:accessLevel]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)updateFolderMember:(NSString *)sharedFolderId member:(DBSHARINGMemberSelector *)member accessLevel:(DBSHARINGAccessLevel *)accessLevel { DBRoute *route = DBSHARINGRouteObjects.DBSHARINGUpdateFolderMember; DBSHARINGUpdateFolderMemberArg *arg = [[DBSHARINGUpdateFolderMemberArg alloc] initWithSharedFolderId:sharedFolderId member:member accessLevel:accessLevel]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)updateFolderPolicy:(NSString *)sharedFolderId { DBRoute *route = DBSHARINGRouteObjects.DBSHARINGUpdateFolderPolicy; DBSHARINGUpdateFolderPolicyArg *arg = [[DBSHARINGUpdateFolderPolicyArg alloc] initWithSharedFolderId:sharedFolderId]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)updateFolderPolicy:(NSString *)sharedFolderId memberPolicy:(DBSHARINGMemberPolicy *)memberPolicy aclUpdatePolicy:(DBSHARINGAclUpdatePolicy *)aclUpdatePolicy viewerInfoPolicy:(DBSHARINGViewerInfoPolicy *)viewerInfoPolicy sharedLinkPolicy:(DBSHARINGSharedLinkPolicy *)sharedLinkPolicy linkSettings:(DBSHARINGLinkSettings *)linkSettings actions:(NSArray *)actions { DBRoute *route = DBSHARINGRouteObjects.DBSHARINGUpdateFolderPolicy; DBSHARINGUpdateFolderPolicyArg *arg = [[DBSHARINGUpdateFolderPolicyArg alloc] initWithSharedFolderId:sharedFolderId memberPolicy:memberPolicy aclUpdatePolicy:aclUpdatePolicy viewerInfoPolicy:viewerInfoPolicy sharedLinkPolicy:sharedLinkPolicy linkSettings:linkSettings actions:actions]; return [self.client requestRpc:route arg:arg]; } @end ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBTEAMLOGTeamAuthRoutes.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBTasks.h" @class DBNilObject; @class DBTEAMCOMMONTimeRange; @class DBTEAMLOGEventCategory; @class DBTEAMLOGEventTypeArg; @class DBTEAMLOGGetTeamEventsContinueError; @class DBTEAMLOGGetTeamEventsError; @class DBTEAMLOGGetTeamEventsResult; @class DBTEAMLOGTeamEvent; @protocol DBTransportClient; /// /// Routes for the `TeamLog` namespace /// NS_ASSUME_NONNULL_BEGIN @interface DBTEAMLOGTeamAuthRoutes : NSObject /// An instance of the networking client that each route will use to submit a /// request. @property (nonatomic, readonly) id client; /// Initializes the `DBTEAMLOGTeamAuthRoutes` namespace container object with a /// networking client. - (instancetype)init:(id)client; /// /// 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 /// a `DBTEAMLOGGetTeamEventsError` object on failure. /// - (DBRpcTask *)getEvents; /// /// 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. 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 eventType:(nullable DBTEAMLOGEventTypeArg *)eventType; /// /// Once a cursor has been retrieved from `getEvents`, use this to paginate through all events. Permission : Team /// Auditing. /// /// @param cursor Indicates from what point to get the next set of events. /// /// @return Through the response callback, the caller will receive a `DBTEAMLOGGetTeamEventsResult` object on success or /// a `DBTEAMLOGGetTeamEventsContinueError` object on failure. /// - (DBRpcTask *)getEventsContinue: (NSString *)cursor; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBTEAMLOGTeamAuthRoutes.m ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import "DBTEAMLOGTeamAuthRoutes.h" #import "DBRequestErrors.h" #import "DBStoneBase.h" #import "DBTEAMCOMMONTimeRange.h" #import "DBTEAMLOGEventCategory.h" #import "DBTEAMLOGEventTypeArg.h" #import "DBTEAMLOGGetTeamEventsArg.h" #import "DBTEAMLOGGetTeamEventsContinueArg.h" #import "DBTEAMLOGGetTeamEventsContinueError.h" #import "DBTEAMLOGGetTeamEventsError.h" #import "DBTEAMLOGGetTeamEventsResult.h" #import "DBTEAMLOGRouteObjects.h" #import "DBTEAMLOGTeamEvent.h" #import "DBTransportClientProtocol.h" @implementation DBTEAMLOGTeamAuthRoutes - (instancetype)init:(id)client { self = [super init]; if (self) { _client = client; } return self; } - (DBRpcTask *)getEvents { DBRoute *route = DBTEAMLOGRouteObjects.DBTEAMLOGGetEvents; DBTEAMLOGGetTeamEventsArg *arg = [[DBTEAMLOGGetTeamEventsArg alloc] initDefault]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)getEvents:(NSNumber *)limit accountId:(NSString *)accountId time:(DBTEAMCOMMONTimeRange *)time category:(DBTEAMLOGEventCategory *)category eventType:(DBTEAMLOGEventTypeArg *)eventType { DBRoute *route = DBTEAMLOGRouteObjects.DBTEAMLOGGetEvents; DBTEAMLOGGetTeamEventsArg *arg = [[DBTEAMLOGGetTeamEventsArg alloc] initWithLimit:limit accountId:accountId time:time category:category eventType:eventType]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)getEventsContinue:(NSString *)cursor { DBRoute *route = DBTEAMLOGRouteObjects.DBTEAMLOGGetEventsContinue; DBTEAMLOGGetTeamEventsContinueArg *arg = [[DBTEAMLOGGetTeamEventsContinueArg alloc] initWithCursor:cursor]; return [self.client requestRpc:route arg:arg]; } @end ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBTEAMTeamAuthRoutes.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBTasks.h" @class DBACCOUNTPhotoSourceArg; @class DBACCOUNTSetProfilePhotoError; @class DBASYNCLaunchEmptyResult; @class DBASYNCPollEmptyResult; @class DBASYNCPollError; @class DBFILEPROPERTIESAddTemplateResult; @class DBFILEPROPERTIESGetTemplateResult; @class DBFILEPROPERTIESListTemplateResult; @class DBFILEPROPERTIESModifyTemplateError; @class DBFILEPROPERTIESPropertyFieldTemplate; @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; @class DBTEAMCOMMONGroupSummary; @class DBTEAMCustomQuotaError; @class DBTEAMCustomQuotaResult; @class DBTEAMDateRangeError; @class DBTEAMDeleteSecondaryEmailsResult; @class DBTEAMDesktopClientSession; @class DBTEAMDeviceSessionArg; @class DBTEAMDevicesActive; @class DBTEAMExcludedUsersListContinueError; @class DBTEAMExcludedUsersListError; @class DBTEAMExcludedUsersListResult; @class DBTEAMExcludedUsersUpdateError; @class DBTEAMExcludedUsersUpdateResult; @class DBTEAMExcludedUsersUpdateStatus; @class DBTEAMFeature; @class DBTEAMFeatureValue; @class DBTEAMFeaturesGetValuesBatchError; @class DBTEAMFeaturesGetValuesBatchResult; @class DBTEAMGetActivityReport; @class DBTEAMGetDevicesReport; @class DBTEAMGetMembershipReport; @class DBTEAMGetStorageReport; @class DBTEAMGroupAccessType; @class DBTEAMGroupCreateError; @class DBTEAMGroupDeleteError; @class DBTEAMGroupFullInfo; @class DBTEAMGroupMemberInfo; @class DBTEAMGroupMemberSetAccessTypeError; @class DBTEAMGroupMembersAddError; @class DBTEAMGroupMembersChangeResult; @class DBTEAMGroupMembersRemoveError; @class DBTEAMGroupSelector; @class DBTEAMGroupSelectorError; @class DBTEAMGroupUpdateError; @class DBTEAMGroupsGetInfoError; @class DBTEAMGroupsGetInfoItem; @class DBTEAMGroupsListContinueError; @class DBTEAMGroupsListResult; @class DBTEAMGroupsMembersListContinueError; @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; @class DBTEAMListMemberDevicesResult; @class DBTEAMListMembersAppsError; @class DBTEAMListMembersAppsResult; @class DBTEAMListMembersDevicesError; @class DBTEAMListMembersDevicesResult; @class DBTEAMListTeamAppsError; @class DBTEAMListTeamAppsResult; @class DBTEAMListTeamDevicesError; @class DBTEAMListTeamDevicesResult; @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; @class DBTEAMRevokeDeviceSessionBatchResult; @class DBTEAMRevokeDeviceSessionError; @class DBTEAMRevokeDeviceSessionStatus; @class DBTEAMRevokeLinkedApiAppArg; @class DBTEAMRevokeLinkedAppBatchError; @class DBTEAMRevokeLinkedAppBatchResult; @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; @class DBTEAMTeamFolderArchiveError; @class DBTEAMTeamFolderArchiveJobStatus; @class DBTEAMTeamFolderArchiveLaunch; @class DBTEAMTeamFolderCreateError; @class DBTEAMTeamFolderGetInfoItem; @class DBTEAMTeamFolderInvalidStatusError; @class DBTEAMTeamFolderListContinueError; @class DBTEAMTeamFolderListError; @class DBTEAMTeamFolderListResult; @class DBTEAMTeamFolderMetadata; @class DBTEAMTeamFolderPermanentlyDeleteError; @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; /// /// Routes for the `Team` namespace /// NS_ASSUME_NONNULL_BEGIN @interface DBTEAMTeamAuthRoutes : NSObject /// An instance of the networking client that each route will use to submit a /// request. @property (nonatomic, readonly) id client; /// Initializes the `DBTEAMTeamAuthRoutes` namespace container object with a /// networking client. - (instancetype)init:(id)client; /// /// List all device sessions of a team's member. /// /// @param teamMemberId The team's member id. /// /// @return Through the response callback, the caller will receive a `DBTEAMListMemberDevicesResult` object on success /// or a `DBTEAMListMemberDevicesError` object on failure. /// - (DBRpcTask *)devicesListMemberDevices: (NSString *)teamMemberId; /// /// List all device sessions of a team's member. /// /// @param teamMemberId The team's member id. /// @param includeWebSessions Whether to list web sessions of the team's member. /// @param includeDesktopClients Whether to list linked desktop devices of the team's member. /// @param includeMobileClients Whether to list linked mobile devices of the team's member. /// /// @return Through the response callback, the caller will receive a `DBTEAMListMemberDevicesResult` object on success /// or a `DBTEAMListMemberDevicesError` object on failure. /// - (DBRpcTask *) devicesListMemberDevices:(NSString *)teamMemberId includeWebSessions:(nullable NSNumber *)includeWebSessions includeDesktopClients:(nullable NSNumber *)includeDesktopClients includeMobileClients:(nullable NSNumber *)includeMobileClients; /// /// 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 /// or a `DBTEAMListMembersDevicesError` object on failure. /// - (DBRpcTask *)devicesListMembersDevices; /// /// 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 /// the next sub list of team devices. /// @param includeWebSessions Whether to list web sessions of the team members. /// @param includeDesktopClients Whether to list desktop clients of the team members. /// @param includeMobileClients Whether to list mobile clients of the team members. /// /// @return Through the response callback, the caller will receive a `DBTEAMListMembersDevicesResult` object on success /// or a `DBTEAMListMembersDevicesError` object on failure. /// - (DBRpcTask *) devicesListMembersDevices:(nullable NSString *)cursor includeWebSessions:(nullable NSNumber *)includeWebSessions includeDesktopClients:(nullable NSNumber *)includeDesktopClients includeMobileClients:(nullable NSNumber *)includeMobileClients; /// /// 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."); /// /// 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 /// next sub list of team devices. /// @param includeWebSessions Whether to list web sessions of the team members. /// @param includeDesktopClients Whether to list desktop clients of the team members. /// @param includeMobileClients Whether to list mobile clients of the team members. /// /// @return Through the response callback, the caller will receive a `DBTEAMListTeamDevicesResult` object on success or /// a `DBTEAMListTeamDevicesError` object on failure. /// - (DBRpcTask *) devicesListTeamDevices:(nullable NSString *)cursor includeWebSessions:(nullable NSNumber *)includeWebSessions includeDesktopClients:(nullable NSNumber *)includeDesktopClients includeMobileClients:(nullable NSNumber *)includeMobileClients __deprecated_msg("devicesListTeamDevices is deprecated. Use devicesListMembersDevices."); /// /// Revoke a device session of a team's member. /// /// @param revokeDeviceSessionArg The RevokeDeviceSessionArg union /// /// @return Through the response callback, the caller will receive a `void` object on success or a /// `DBTEAMRevokeDeviceSessionError` object on failure. /// - (DBRpcTask *)devicesRevokeDeviceSession: (DBTEAMRevokeDeviceSessionArg *)revokeDeviceSessionArg; /// /// Revoke a list of device sessions of team members. /// /// /// @return Through the response callback, the caller will receive a `DBTEAMRevokeDeviceSessionBatchResult` object on /// success or a `DBTEAMRevokeDeviceSessionBatchError` object on failure. /// - (DBRpcTask *) devicesRevokeDeviceSessionBatch:(NSArray *)revokeDevices; /// /// Get the values for one or more featues. This route allows you to check your account's capability for what feature /// you can access or what value you have for certain features. Permission : Team information. /// /// @param features A list of features in Feature. If the list is empty, this route will return /// FeaturesGetValuesBatchError. /// /// @return Through the response callback, the caller will receive a `DBTEAMFeaturesGetValuesBatchResult` object on /// success or a `DBTEAMFeaturesGetValuesBatchError` object on failure. /// - (DBRpcTask *)featuresGetValues: (NSArray *)features; /// /// Retrieves information about a team. /// /// /// @return Through the response callback, the caller will receive a `DBTEAMTeamGetInfoResult` object on success or a /// `void` object on failure. /// - (DBRpcTask *)getInfo; /// /// Creates a new, empty group, with a requested name. Permission : Team member management. /// /// @param groupName Group name. /// /// @return Through the response callback, the caller will receive a `DBTEAMGroupFullInfo` object on success or a /// `DBTEAMGroupCreateError` object on failure. /// - (DBRpcTask *)groupsCreate:(NSString *)groupName; /// /// 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. /// /// @return Through the response callback, the caller will receive a `DBTEAMGroupFullInfo` object on success or a /// `DBTEAMGroupCreateError` object on failure. /// - (DBRpcTask *) 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 /// time. Use the `groupsJobStatusGet` to determine whether this process has completed. Permission : Team member /// management. /// /// @param groupSelector Argument for selecting a single group, either by group_id or by external group ID. /// /// @return Through the response callback, the caller will receive a `DBASYNCLaunchEmptyResult` object on success or a /// `DBTEAMGroupDeleteError` object on failure. /// - (DBRpcTask *)groupsDelete:(DBTEAMGroupSelector *)groupSelector; /// /// Retrieves information about one or more groups. Note that the optional field `members` in `DBTEAMGroupFullInfo` is /// not returned for system-managed groups. Permission : Team Information. /// /// @param groupsSelector Argument for selecting a list of groups, either by group_ids, or external group IDs. /// /// @return Through the response callback, the caller will receive a `NSArray` object on /// success or a `DBTEAMGroupsGetInfoError` object on failure. /// - (DBRpcTask *, DBTEAMGroupsGetInfoError *> *)groupsGetInfo: (DBTEAMGroupsSelector *)groupsSelector; /// /// Once an async_job_id is returned from `groupsDelete`, `groupsMembersAdd` , or `groupsMembersRemove` use this method /// to poll the status of granting/revoking group members' access to group-owned resources. 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 /// `DBTEAMGroupsPollError` object on failure. /// - (DBRpcTask *)groupsJobStatusGet:(NSString *)asyncJobId; /// /// Lists groups on a team. Permission : Team Information. /// /// /// @return Through the response callback, the caller will receive a `DBTEAMGroupsListResult` object on success or a /// `void` object on failure. /// - (DBRpcTask *)groupsList; /// /// Lists groups on a team. Permission : Team Information. /// /// @param limit Number of results to return per call. /// /// @return Through the response callback, the caller will receive a `DBTEAMGroupsListResult` object on success or a /// `void` object on failure. /// - (DBRpcTask *)groupsList:(nullable NSNumber *)limit; /// /// Once a cursor has been retrieved from `groupsList`, use this to paginate through all groups. Permission : Team /// Information. /// /// @param cursor Indicates from what point to get the next set of groups. /// /// @return Through the response callback, the caller will receive a `DBTEAMGroupsListResult` object on success or a /// `DBTEAMGroupsListContinueError` object on failure. /// - (DBRpcTask *)groupsListContinue:(NSString *)cursor; /// /// Adds members to a group. The members are added immediately. However the granting of group-owned resources may take /// additional time. Use the `groupsJobStatusGet` to determine whether this process has completed. Permission : Team /// member management. /// /// @param group Group to which users will be added. /// @param members List of users to be added to the group. /// /// @return Through the response callback, the caller will receive a `DBTEAMGroupMembersChangeResult` object on success /// or a `DBTEAMGroupMembersAddError` object on failure. /// - (DBRpcTask *) 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 /// additional time. Use the `groupsJobStatusGet` to determine whether this process has completed. Permission : Team /// member management. /// /// @param group Group to which users will be added. /// @param members List of users to be added to the group. /// /// @return Through the response callback, the caller will receive a `DBTEAMGroupMembersChangeResult` object on success /// or a `DBTEAMGroupMembersAddError` object on failure. /// - (DBRpcTask *) groupsMembersAdd:(DBTEAMGroupSelector *)group members:(NSArray *)members returnMembers:(nullable NSNumber *)returnMembers; /// /// Lists members of a group. Permission : Team Information. /// /// @param group The group whose members are to be listed. /// /// @return Through the response callback, the caller will receive a `DBTEAMGroupsMembersListResult` object on success /// or a `DBTEAMGroupSelectorError` object on failure. /// - (DBRpcTask *)groupsMembersList: (DBTEAMGroupSelector *)group; /// /// Lists members of a group. Permission : Team Information. /// /// @param group The group whose members are to be listed. /// @param limit Number of results to return per call. /// /// @return Through the response callback, the caller will receive a `DBTEAMGroupsMembersListResult` object on success /// or a `DBTEAMGroupSelectorError` object on failure. /// - (DBRpcTask *) 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. /// Permission : Team information. /// /// @param cursor Indicates from what point to get the next set of groups. /// /// @return Through the response callback, the caller will receive a `DBTEAMGroupsMembersListResult` object on success /// or a `DBTEAMGroupsMembersListContinueError` object on failure. /// - (DBRpcTask *)groupsMembersListContinue: (NSString *)cursor; /// /// Removes members from a group. The members are removed immediately. However the revoking of group-owned resources may /// take additional time. Use the `groupsJobStatusGet` to determine whether this process has completed. This method /// permits removing the only owner of a group, even in cases where this is not possible via the web client. Permission /// : Team member management. /// /// @param group Group from which users will be removed. /// @param users List of users to be removed from the group. /// /// @return Through the response callback, the caller will receive a `DBTEAMGroupMembersChangeResult` object on success /// or a `DBTEAMGroupMembersRemoveError` object on failure. /// - (DBRpcTask *) groupsMembersRemove:(DBTEAMGroupSelector *)group users:(NSArray *)users; /// /// Removes members from a group. The members are removed immediately. However the revoking of group-owned resources may /// take additional time. Use the `groupsJobStatusGet` to determine whether this process has completed. This method /// permits removing the only owner of a group, even in cases where this is not possible via the web client. Permission /// : Team member management. /// /// @param group Group from which users will be removed. /// @param users List of users to be removed from the group. /// /// @return Through the response callback, the caller will receive a `DBTEAMGroupMembersChangeResult` object on success /// or a `DBTEAMGroupMembersRemoveError` object on failure. /// - (DBRpcTask *) groupsMembersRemove:(DBTEAMGroupSelector *)group users:(NSArray *)users returnMembers:(nullable NSNumber *)returnMembers; /// /// Sets a member's access type in a group. Permission : Team member management. /// /// @param accessType New group access type the user will have. /// /// @return Through the response callback, the caller will receive a `NSArray` object on /// success or a `DBTEAMGroupMemberSetAccessTypeError` object on failure. /// - (DBRpcTask *, DBTEAMGroupMemberSetAccessTypeError *> *) groupsMembersSetAccessType:(DBTEAMGroupSelector *)group user:(DBTEAMUserSelectorArg *)user accessType:(DBTEAMGroupAccessType *)accessType; /// /// Sets a member's access type in a group. Permission : Team member management. /// /// @param accessType New group access type the user will have. /// @param returnMembers Whether to return the list of members in the group. Note that the default value will cause all /// the group members to be returned in the response. This may take a long time for large groups. /// /// @return Through the response callback, the caller will receive a `NSArray` object on /// success or a `DBTEAMGroupMemberSetAccessTypeError` object on failure. /// - (DBRpcTask *, DBTEAMGroupMemberSetAccessTypeError *> *) 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. /// /// @param group Specify a group. /// /// @return Through the response callback, the caller will receive a `DBTEAMGroupFullInfo` object on success or a /// `DBTEAMGroupUpdateError` object on failure. /// - (DBRpcTask *)groupsUpdate:(DBTEAMGroupSelector *)group; /// /// Updates a group's name and/or external ID. Permission : Team member management. /// /// @param group Specify a group. /// @param dNewGroupName Optional argument. Set group name to this if provided. /// @param dNewGroupExternalId Optional argument. New group external ID. If the argument is None, the group's /// external_id won't be updated. If the argument is empty string, the group's external id will be cleared. /// @param dNewGroupManagementType Set new group management type, if provided. /// /// @return Through the response callback, the caller will receive a `DBTEAMGroupFullInfo` object on success or a /// `DBTEAMGroupUpdateError` object on failure. /// - (DBRpcTask *) 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. /// /// @param teamMemberId The team member id. /// /// @return Through the response callback, the caller will receive a `DBTEAMListMemberAppsResult` object on success or a /// `DBTEAMListMemberAppsError` object on failure. /// - (DBRpcTask *)linkedAppsListMemberLinkedApps: (NSString *)teamMemberId; /// /// List all applications linked to the team members' accounts. Note, this endpoint does not list any team-linked /// applications. /// /// /// @return Through the response callback, the caller will receive a `DBTEAMListMembersAppsResult` object on success or /// a `DBTEAMListMembersAppsError` object on failure. /// - (DBRpcTask *)linkedAppsListMembersLinkedApps; /// /// List all applications linked to the team members' accounts. Note, this endpoint does not list any team-linked /// applications. /// /// @param cursor At the first call to the `linkedAppsListMembersLinkedApps` 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 next sub list of the team applications. /// /// @return Through the response callback, the caller will receive a `DBTEAMListMembersAppsResult` object on success or /// a `DBTEAMListMembersAppsError` object on failure. /// - (DBRpcTask *)linkedAppsListMembersLinkedApps: (nullable NSString *)cursor; /// /// DEPRECATED: List all applications linked to the team members' accounts. Note, this endpoint doesn't list any /// team-linked applications. /// /// /// @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."); /// /// DEPRECATED: List all applications linked to the team members' accounts. Note, this endpoint doesn't list any /// team-linked applications. /// /// @param cursor At the first call to the `linkedAppsListTeamLinkedApps` 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 next sub list of the team applications. /// /// @return Through the response callback, the caller will receive a `DBTEAMListTeamAppsResult` object on success or a /// `DBTEAMListTeamAppsError` object on failure. /// - (DBRpcTask *)linkedAppsListTeamLinkedApps: (nullable NSString *)cursor __deprecated_msg("linkedAppsListTeamLinkedApps is deprecated. Use linkedAppsListMembersLinkedApps."); /// /// Revoke a linked application of the team member. /// /// @param appId The application's unique id. /// @param teamMemberId The unique id of the member owning the device. /// /// @return Through the response callback, the caller will receive a `void` object on success or a /// `DBTEAMRevokeLinkedAppError` object on failure. /// - (DBRpcTask *)linkedAppsRevokeLinkedApp:(NSString *)appId teamMemberId:(NSString *)teamMemberId; /// /// Revoke a linked application of the team member. /// /// @param appId The application's unique id. /// @param teamMemberId The unique id of the member owning the device. /// @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. /// - (DBRpcTask *)linkedAppsRevokeLinkedApp:(NSString *)appId teamMemberId:(NSString *)teamMemberId keepAppFolder: (nullable NSNumber *)keepAppFolder; /// /// Revoke a list of linked applications of the team members. /// /// /// @return Through the response callback, the caller will receive a `DBTEAMRevokeLinkedAppBatchResult` object on /// success or a `DBTEAMRevokeLinkedAppBatchError` object on failure. /// - (DBRpcTask *)linkedAppsRevokeLinkedAppBatch: (NSArray *)revokeLinkedApp; /// /// Add users to member space limits excluded users list. /// /// /// @return Through the response callback, the caller will receive a `DBTEAMExcludedUsersUpdateResult` object on success /// or a `DBTEAMExcludedUsersUpdateError` object on failure. /// - (DBRpcTask *)memberSpaceLimitsExcludedUsersAdd; /// /// Add users to member space limits excluded users list. /// /// @param users List of users to be added/removed. /// /// @return Through the response callback, the caller will receive a `DBTEAMExcludedUsersUpdateResult` object on success /// or a `DBTEAMExcludedUsersUpdateError` object on failure. /// - (DBRpcTask *)memberSpaceLimitsExcludedUsersAdd: (nullable NSArray *)users; /// /// List member space limits excluded users. /// /// /// @return Through the response callback, the caller will receive a `DBTEAMExcludedUsersListResult` object on success /// or a `DBTEAMExcludedUsersListError` object on failure. /// - (DBRpcTask *)memberSpaceLimitsExcludedUsersList; /// /// List member space limits excluded users. /// /// @param limit Number of results to return per call. /// /// @return Through the response callback, the caller will receive a `DBTEAMExcludedUsersListResult` object on success /// or a `DBTEAMExcludedUsersListError` object on failure. /// - (DBRpcTask *)memberSpaceLimitsExcludedUsersList: (nullable NSNumber *)limit; /// /// Continue listing member space limits excluded users. /// /// @param cursor Indicates from what point to get the next set of users. /// /// @return Through the response callback, the caller will receive a `DBTEAMExcludedUsersListResult` object on success /// or a `DBTEAMExcludedUsersListContinueError` object on failure. /// - (DBRpcTask *) memberSpaceLimitsExcludedUsersListContinue:(NSString *)cursor; /// /// Remove users from member space limits excluded users list. /// /// /// @return Through the response callback, the caller will receive a `DBTEAMExcludedUsersUpdateResult` object on success /// or a `DBTEAMExcludedUsersUpdateError` object on failure. /// - (DBRpcTask *) memberSpaceLimitsExcludedUsersRemove; /// /// Remove users from member space limits excluded users list. /// /// @param users List of users to be added/removed. /// /// @return Through the response callback, the caller will receive a `DBTEAMExcludedUsersUpdateResult` object on success /// or a `DBTEAMExcludedUsersUpdateError` object on failure. /// - (DBRpcTask *) memberSpaceLimitsExcludedUsersRemove:(nullable NSArray *)users; /// /// 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. /// /// @return Through the response callback, the caller will receive a `NSArray` object on /// success or a `DBTEAMCustomQuotaError` object on failure. /// - (DBRpcTask *, DBTEAMCustomQuotaError *> *)memberSpaceLimitsGetCustomQuota: (NSArray *)users; /// /// 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. /// /// @return Through the response callback, the caller will receive a `NSArray` object /// on success or a `DBTEAMCustomQuotaError` object on failure. /// - (DBRpcTask *, DBTEAMCustomQuotaError *> *)memberSpaceLimitsRemoveCustomQuota: (NSArray *)users; /// /// Set users custom quota. Custom quota has to be at least 15GB. 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 usersAndQuotas List of users and their custom quotas. /// /// @return Through the response callback, the caller will receive a `NSArray` object on /// success or a `DBTEAMSetCustomQuotaError` object on failure. /// - (DBRpcTask *, DBTEAMSetCustomQuotaError *> *)memberSpaceLimitsSetCustomQuota: (NSArray *)usersAndQuotas; /// /// 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 `DBTEAMMembersAddLaunch` object on success or a /// `void` object on failure. /// - (DBRpcTask *)membersAdd:(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 `DBTEAMMembersAddLaunch` object on success or a /// `void` object on failure. /// - (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. /// /// @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 `DBTEAMMembersAddJobStatus` object on success or a /// `DBASYNCPollError` object on failure. /// - (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. /// /// @param members List of team members. /// /// @return Through the response callback, the caller will receive a `NSArray` object on /// success or a `DBTEAMMembersGetInfoError` object on failure. /// - (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. /// /// /// @return Through the response callback, the caller will receive a `DBTEAMMembersListResult` object on success or a /// `DBTEAMMembersListError` object on failure. /// - (DBRpcTask *)membersList; /// /// 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 `DBTEAMMembersListResult` object on success or a /// `DBTEAMMembersListError` object on failure. /// - (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. /// /// @param cursor Indicates from what point to get the next set of members. /// /// @return Through the response callback, the caller will receive a `DBTEAMMembersListResult` object on success or a /// `DBTEAMMembersListContinueError` object on failure. /// - (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. /// /// @param user Identity of user to recover. /// /// @return Through the response callback, the caller will receive a `void` object on success or a /// `DBTEAMMembersRecoverError` object on failure. /// - (DBRpcTask *)membersRecover:(DBTEAMUserSelectorArg *)user; /// /// Removes 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. Accounts can be recovered via `membersRecover` for a 7 /// 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 (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`. /// /// /// @return Through the response callback, the caller will receive a `DBASYNCLaunchEmptyResult` object on success or a /// `DBTEAMMembersRemoveError` object on failure. /// - (DBRpcTask *)membersRemove:(DBTEAMUserSelectorArg *)user; /// /// Removes 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. Accounts can be recovered via `membersRecover` for a 7 /// 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 (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`. /// /// @param transferDestId If provided, files from the deleted member account will be transferred to this user. /// @param transferAdminId If provided, errors during the transfer process will be sent via email to this user. If the /// 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 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 retainTeamShares:(nullable NSNumber *)retainTeamShares; /// /// Once an async_job_id is returned from `membersRemove` , 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 *)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. /// /// @param userSelectorArg Argument for selecting a single user, either by team_member_id, external_id or email. /// /// @return Through the response callback, the caller will receive a `void` object on success or a /// `DBTEAMMembersSendWelcomeError` object on failure. /// - (DBRpcTask *)membersSendWelcomeEmail: (DBTEAMUserSelectorArg *)userSelectorArg; /// /// Updates a team member's permissions. Permission : Team member management. /// /// @param user Identity of user whose role will be set. /// @param dNewRole The new role of the member. /// /// @return Through the response callback, the caller will receive a `DBTEAMMembersSetPermissionsResult` object on /// success or a `DBTEAMMembersSetPermissionsError` object on failure. /// - (DBRpcTask *) 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. /// /// @param user Identity of user whose profile will be set. /// /// @return Through the response callback, the caller will receive a `DBTEAMTeamMemberInfo` object on success or a /// `DBTEAMMembersSetProfileError` object on failure. /// - (DBRpcTask *)membersSetProfile:(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 `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 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. /// /// /// @return Through the response callback, the caller will receive a `void` object on success or a /// `DBTEAMMembersSuspendError` object on failure. /// - (DBRpcTask *)membersSuspend:(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 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 /// `DBTEAMMembersSuspendError` object on failure. /// - (DBRpcTask *)membersSuspend:(DBTEAMUserSelectorArg *)user wipeData:(nullable NSNumber *)wipeData; /// /// Unsuspend 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 unsuspend. /// /// @return Through the response callback, the caller will receive a `void` object on success or a /// `DBTEAMMembersUnsuspendError` object on failure. /// - (DBRpcTask *)membersUnsuspend:(DBTEAMUserSelectorArg *)user; /// /// Returns a list of all team-accessible namespaces. This list includes team folders, shared folders containing team /// members, team members' home namespaces, and team members' app folders. Home namespaces and app folders are always /// owned by this team or members of the team, but shared folders may be owned by other users or other teams. Duplicates /// may occur in the list. /// /// /// @return Through the response callback, the caller will receive a `DBTEAMTeamNamespacesListResult` object on success /// or a `DBTEAMTeamNamespacesListError` object on failure. /// - (DBRpcTask *)namespacesList; /// /// Returns a list of all team-accessible namespaces. This list includes team folders, shared folders containing team /// members, team members' home namespaces, and team members' app folders. Home namespaces and app folders are always /// owned by this team or members of the team, but shared folders may be owned by other users or other teams. Duplicates /// may occur in the list. /// /// @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 `DBTEAMTeamNamespacesListError` object on failure. /// - (DBRpcTask *)namespacesList: (nullable NSNumber *)limit; /// /// Once a cursor has been retrieved from `namespacesList`, use this to paginate through all team-accessible namespaces. /// Duplicates may occur in the list. /// /// @param cursor Indicates from what point to get the next set of team-accessible namespaces. /// /// @return Through the response callback, the caller will receive a `DBTEAMTeamNamespacesListResult` object on success /// or a `DBTEAMTeamNamespacesListContinueError` object on failure. /// - (DBRpcTask *)namespacesListContinue: (NSString *)cursor; /// /// 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 __deprecated_msg("propertiesTemplateAdd is deprecated."); /// /// 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`. /// /// @return Through the response callback, the caller will receive a `DBFILEPROPERTIESGetTemplateResult` object on /// success or a `DBFILEPROPERTIESTemplateError` object on failure. /// - (DBRpcTask *)propertiesTemplateGet: (NSString *)templateId __deprecated_msg("propertiesTemplateGet is deprecated."); /// /// 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."); /// /// DEPRECATED: Permission : Team member file access. /// /// @param templateId An identifier for template added by See `templatesAddForUser` or `templatesAddForTeam`. /// /// @return Through the response callback, the caller will receive a `DBFILEPROPERTIESUpdateTemplateResult` object on /// success or a `DBFILEPROPERTIESModifyTemplateError` object on failure. /// - (DBRpcTask *)propertiesTemplateUpdate: (NSString *)templateId __deprecated_msg("propertiesTemplateUpdate is deprecated."); /// /// 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. /// @param description_ Description for the new template. Template descriptions can be up to 1024 bytes. /// @param addFields Property field templates to be added to the group template. There can be up to 32 properties in a /// single template. /// /// @return Through the response callback, the caller will receive a `DBFILEPROPERTIESUpdateTemplateResult` object on /// success or a `DBFILEPROPERTIESModifyTemplateError` object on failure. /// - (DBRpcTask *) propertiesTemplateUpdate:(NSString *)templateId name:(nullable NSString *)name description_:(nullable NSString *)description_ addFields:(nullable NSArray *)addFields __deprecated_msg("propertiesTemplateUpdate is deprecated."); /// /// 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 __deprecated_msg("reportsGetActivity is deprecated."); /// /// DEPRECATED: Retrieves reporting data about a team's user activity. Deprecated: Will be removed on July 1st 2021. /// /// @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 __deprecated_msg("reportsGetActivity is deprecated."); /// /// 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 __deprecated_msg("reportsGetDevices " "is deprecated."); /// /// DEPRECATED: Retrieves reporting data about a team's linked devices. Deprecated: Will be removed on July 1st 2021. /// /// @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 __deprecated_msg("reportsGetDevices is deprecated."); /// /// 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 __deprecated_msg("reportsGetMembership is deprecated."); /// /// DEPRECATED: Retrieves reporting data about a team's membership. Deprecated: Will be removed on July 1st 2021. /// /// @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 __deprecated_msg("reportsGetMembership is deprecated."); /// /// 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 __deprecated_msg("reportsGetStorage " "is deprecated."); /// /// DEPRECATED: Retrieves reporting data about a team's storage usage. Deprecated: Will be removed on July 1st 2021. /// /// @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 __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. /// /// @param teamFolderId The ID of the team folder. /// /// @return Through the response callback, the caller will receive a `DBTEAMTeamFolderMetadata` object on success or a /// `DBTEAMTeamFolderActivateError` object on failure. /// - (DBRpcTask *)teamFolderActivate:(NSString *)teamFolderId; /// /// 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 /// or a `DBTEAMTeamFolderArchiveError` object on failure. /// - (DBRpcTask *)teamFolderArchive: (NSString *)teamFolderId; /// /// 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. /// /// @return Through the response callback, the caller will receive a `DBTEAMTeamFolderArchiveLaunch` object on success /// or a `DBTEAMTeamFolderArchiveError` object on failure. /// - (DBRpcTask *) teamFolderArchive:(NSString *)teamFolderId forceAsyncOff:(nullable NSNumber *)forceAsyncOff; /// /// Returns the status of an asynchronous job for archiving a team folder. Permission : Team member file access. /// /// @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 `DBTEAMTeamFolderArchiveJobStatus` object on /// success or a `DBASYNCPollError` object on failure. /// - (DBRpcTask *)teamFolderArchiveCheck:(NSString *)asyncJobId; /// /// 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. /// /// @return Through the response callback, the caller will receive a `DBTEAMTeamFolderMetadata` object on success or a /// `DBTEAMTeamFolderCreateError` object on failure. /// - (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. /// /// @param teamFolderIds The list of team folder IDs. /// /// @return Through the response callback, the caller will receive a `NSArray` object on /// success or a `void` object on failure. /// - (DBRpcTask *, DBNilObject *> *)teamFolderGetInfo: (NSArray *)teamFolderIds; /// /// Lists all team folders. Permission : Team member file access. /// /// /// @return Through the response callback, the caller will receive a `DBTEAMTeamFolderListResult` object on success or a /// `DBTEAMTeamFolderListError` object on failure. /// - (DBRpcTask *)teamFolderList; /// /// Lists all team folders. Permission : Team member file access. /// /// @param limit The maximum number of results to return per request. /// /// @return Through the response callback, the caller will receive a `DBTEAMTeamFolderListResult` object on success or a /// `DBTEAMTeamFolderListError` object on failure. /// - (DBRpcTask *)teamFolderList:(nullable NSNumber *)limit; /// /// Once a cursor has been retrieved from `teamFolderList`, use this to paginate through all team folders. Permission : /// Team member file access. /// /// @param cursor Indicates from what point to get the next set of team folders. /// /// @return Through the response callback, the caller will receive a `DBTEAMTeamFolderListResult` object on success or a /// `DBTEAMTeamFolderListContinueError` object on failure. /// - (DBRpcTask *)teamFolderListContinue: (NSString *)cursor; /// /// 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. /// /// @return Through the response callback, the caller will receive a `void` object on success or a /// `DBTEAMTeamFolderPermanentlyDeleteError` object on failure. /// - (DBRpcTask *)teamFolderPermanentlyDelete: (NSString *)teamFolderId; /// /// Changes an active team folder's name. Permission : Team member file access. /// /// @param name New team folder name. /// /// @return Through the response callback, the caller will receive a `DBTEAMTeamFolderMetadata` object on success or a /// `DBTEAMTeamFolderRenameError` object on failure. /// - (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. /// /// /// @return Through the response callback, the caller will receive a `DBTEAMTokenGetAuthenticatedAdminResult` object on /// success or a `DBTEAMTokenGetAuthenticatedAdminError` object on failure. /// - (DBRpcTask *) tokenGetAuthenticatedAdmin; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBTEAMTeamAuthRoutes.m ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import "DBTEAMTeamAuthRoutes.h" #import "DBACCOUNTPhotoSourceArg.h" #import "DBACCOUNTSetProfilePhotoError.h" #import "DBASYNCLaunchEmptyResult.h" #import "DBASYNCLaunchResultBase.h" #import "DBASYNCPollArg.h" #import "DBASYNCPollEmptyResult.h" #import "DBASYNCPollError.h" #import "DBASYNCPollResultBase.h" #import "DBFILEPROPERTIESAddTemplateArg.h" #import "DBFILEPROPERTIESAddTemplateResult.h" #import "DBFILEPROPERTIESGetTemplateArg.h" #import "DBFILEPROPERTIESGetTemplateResult.h" #import "DBFILEPROPERTIESListTemplateResult.h" #import "DBFILEPROPERTIESModifyTemplateError.h" #import "DBFILEPROPERTIESPropertyFieldTemplate.h" #import "DBFILEPROPERTIESPropertyGroupTemplate.h" #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" #import "DBTEAMBaseTeamFolderError.h" #import "DBTEAMCOMMONGroupManagementType.h" #import "DBTEAMCOMMONGroupSummary.h" #import "DBTEAMCustomQuotaError.h" #import "DBTEAMCustomQuotaResult.h" #import "DBTEAMCustomQuotaUsersArg.h" #import "DBTEAMDateRange.h" #import "DBTEAMDateRangeError.h" #import "DBTEAMDeleteSecondaryEmailsArg.h" #import "DBTEAMDeleteSecondaryEmailsResult.h" #import "DBTEAMDesktopClientSession.h" #import "DBTEAMDeviceSessionArg.h" #import "DBTEAMDevicesActive.h" #import "DBTEAMExcludedUsersListArg.h" #import "DBTEAMExcludedUsersListContinueArg.h" #import "DBTEAMExcludedUsersListContinueError.h" #import "DBTEAMExcludedUsersListError.h" #import "DBTEAMExcludedUsersListResult.h" #import "DBTEAMExcludedUsersUpdateArg.h" #import "DBTEAMExcludedUsersUpdateError.h" #import "DBTEAMExcludedUsersUpdateResult.h" #import "DBTEAMExcludedUsersUpdateStatus.h" #import "DBTEAMFeature.h" #import "DBTEAMFeatureValue.h" #import "DBTEAMFeaturesGetValuesBatchArg.h" #import "DBTEAMFeaturesGetValuesBatchError.h" #import "DBTEAMFeaturesGetValuesBatchResult.h" #import "DBTEAMGetActivityReport.h" #import "DBTEAMGetDevicesReport.h" #import "DBTEAMGetMembershipReport.h" #import "DBTEAMGetStorageReport.h" #import "DBTEAMGroupAccessType.h" #import "DBTEAMGroupCreateArg.h" #import "DBTEAMGroupCreateError.h" #import "DBTEAMGroupDeleteError.h" #import "DBTEAMGroupFullInfo.h" #import "DBTEAMGroupMemberInfo.h" #import "DBTEAMGroupMemberSelector.h" #import "DBTEAMGroupMemberSelectorError.h" #import "DBTEAMGroupMemberSetAccessTypeError.h" #import "DBTEAMGroupMembersAddArg.h" #import "DBTEAMGroupMembersAddError.h" #import "DBTEAMGroupMembersChangeResult.h" #import "DBTEAMGroupMembersRemoveArg.h" #import "DBTEAMGroupMembersRemoveError.h" #import "DBTEAMGroupMembersSelectorError.h" #import "DBTEAMGroupMembersSetAccessTypeArg.h" #import "DBTEAMGroupSelector.h" #import "DBTEAMGroupSelectorError.h" #import "DBTEAMGroupSelectorWithTeamGroupError.h" #import "DBTEAMGroupUpdateArgs.h" #import "DBTEAMGroupUpdateError.h" #import "DBTEAMGroupsGetInfoError.h" #import "DBTEAMGroupsGetInfoItem.h" #import "DBTEAMGroupsListArg.h" #import "DBTEAMGroupsListContinueArg.h" #import "DBTEAMGroupsListContinueError.h" #import "DBTEAMGroupsListResult.h" #import "DBTEAMGroupsMembersListArg.h" #import "DBTEAMGroupsMembersListContinueArg.h" #import "DBTEAMGroupsMembersListContinueError.h" #import "DBTEAMGroupsMembersListResult.h" #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" #import "DBTEAMListMemberDevicesArg.h" #import "DBTEAMListMemberDevicesError.h" #import "DBTEAMListMemberDevicesResult.h" #import "DBTEAMListMembersAppsArg.h" #import "DBTEAMListMembersAppsError.h" #import "DBTEAMListMembersAppsResult.h" #import "DBTEAMListMembersDevicesArg.h" #import "DBTEAMListMembersDevicesError.h" #import "DBTEAMListMembersDevicesResult.h" #import "DBTEAMListTeamAppsArg.h" #import "DBTEAMListTeamAppsError.h" #import "DBTEAMListTeamAppsResult.h" #import "DBTEAMListTeamDevicesArg.h" #import "DBTEAMListTeamDevicesError.h" #import "DBTEAMListTeamDevicesResult.h" #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" #import "DBTEAMRevokeDeviceSessionBatchError.h" #import "DBTEAMRevokeDeviceSessionBatchResult.h" #import "DBTEAMRevokeDeviceSessionError.h" #import "DBTEAMRevokeDeviceSessionStatus.h" #import "DBTEAMRevokeLinkedApiAppArg.h" #import "DBTEAMRevokeLinkedApiAppBatchArg.h" #import "DBTEAMRevokeLinkedAppBatchError.h" #import "DBTEAMRevokeLinkedAppBatchResult.h" #import "DBTEAMRevokeLinkedAppError.h" #import "DBTEAMRevokeLinkedAppStatus.h" #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" #import "DBTEAMTeamFolderArchiveArg.h" #import "DBTEAMTeamFolderArchiveError.h" #import "DBTEAMTeamFolderArchiveJobStatus.h" #import "DBTEAMTeamFolderArchiveLaunch.h" #import "DBTEAMTeamFolderCreateArg.h" #import "DBTEAMTeamFolderCreateError.h" #import "DBTEAMTeamFolderGetInfoItem.h" #import "DBTEAMTeamFolderIdArg.h" #import "DBTEAMTeamFolderIdListArg.h" #import "DBTEAMTeamFolderInvalidStatusError.h" #import "DBTEAMTeamFolderListArg.h" #import "DBTEAMTeamFolderListContinueArg.h" #import "DBTEAMTeamFolderListContinueError.h" #import "DBTEAMTeamFolderListError.h" #import "DBTEAMTeamFolderListResult.h" #import "DBTEAMTeamFolderMetadata.h" #import "DBTEAMTeamFolderPermanentlyDeleteError.h" #import "DBTEAMTeamFolderRenameArg.h" #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" @implementation DBTEAMTeamAuthRoutes - (instancetype)init:(id)client { self = [super init]; if (self) { _client = client; } return self; } - (DBRpcTask *)devicesListMemberDevices:(NSString *)teamMemberId { DBRoute *route = DBTEAMRouteObjects.DBTEAMDevicesListMemberDevices; DBTEAMListMemberDevicesArg *arg = [[DBTEAMListMemberDevicesArg alloc] initWithTeamMemberId:teamMemberId]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)devicesListMemberDevices:(NSString *)teamMemberId includeWebSessions:(NSNumber *)includeWebSessions includeDesktopClients:(NSNumber *)includeDesktopClients includeMobileClients:(NSNumber *)includeMobileClients { DBRoute *route = DBTEAMRouteObjects.DBTEAMDevicesListMemberDevices; DBTEAMListMemberDevicesArg *arg = [[DBTEAMListMemberDevicesArg alloc] initWithTeamMemberId:teamMemberId includeWebSessions:includeWebSessions includeDesktopClients:includeDesktopClients includeMobileClients:includeMobileClients]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)devicesListMembersDevices { DBRoute *route = DBTEAMRouteObjects.DBTEAMDevicesListMembersDevices; DBTEAMListMembersDevicesArg *arg = [[DBTEAMListMembersDevicesArg alloc] initDefault]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)devicesListMembersDevices:(NSString *)cursor includeWebSessions:(NSNumber *)includeWebSessions includeDesktopClients:(NSNumber *)includeDesktopClients includeMobileClients:(NSNumber *)includeMobileClients { DBRoute *route = DBTEAMRouteObjects.DBTEAMDevicesListMembersDevices; DBTEAMListMembersDevicesArg *arg = [[DBTEAMListMembersDevicesArg alloc] initWithCursor:cursor includeWebSessions:includeWebSessions includeDesktopClients:includeDesktopClients includeMobileClients:includeMobileClients]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)devicesListTeamDevices { DBRoute *route = DBTEAMRouteObjects.DBTEAMDevicesListTeamDevices; DBTEAMListTeamDevicesArg *arg = [[DBTEAMListTeamDevicesArg alloc] initDefault]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)devicesListTeamDevices:(NSString *)cursor includeWebSessions:(NSNumber *)includeWebSessions includeDesktopClients:(NSNumber *)includeDesktopClients includeMobileClients:(NSNumber *)includeMobileClients { DBRoute *route = DBTEAMRouteObjects.DBTEAMDevicesListTeamDevices; DBTEAMListTeamDevicesArg *arg = [[DBTEAMListTeamDevicesArg alloc] initWithCursor:cursor includeWebSessions:includeWebSessions includeDesktopClients:includeDesktopClients includeMobileClients:includeMobileClients]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)devicesRevokeDeviceSession:(DBTEAMRevokeDeviceSessionArg *)revokeDeviceSessionArg { DBRoute *route = DBTEAMRouteObjects.DBTEAMDevicesRevokeDeviceSession; DBTEAMRevokeDeviceSessionArg *arg = revokeDeviceSessionArg; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)devicesRevokeDeviceSessionBatch:(NSArray *)revokeDevices { DBRoute *route = DBTEAMRouteObjects.DBTEAMDevicesRevokeDeviceSessionBatch; DBTEAMRevokeDeviceSessionBatchArg *arg = [[DBTEAMRevokeDeviceSessionBatchArg alloc] initWithRevokeDevices:revokeDevices]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)featuresGetValues:(NSArray *)features { DBRoute *route = DBTEAMRouteObjects.DBTEAMFeaturesGetValues; DBTEAMFeaturesGetValuesBatchArg *arg = [[DBTEAMFeaturesGetValuesBatchArg alloc] initWithFeatures:features]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)getInfo { DBRoute *route = DBTEAMRouteObjects.DBTEAMGetInfo; return [self.client requestRpc:route arg:nil]; } - (DBRpcTask *)groupsCreate:(NSString *)groupName { DBRoute *route = DBTEAMRouteObjects.DBTEAMGroupsCreate; DBTEAMGroupCreateArg *arg = [[DBTEAMGroupCreateArg alloc] initWithGroupName:groupName]; return [self.client requestRpc:route arg:arg]; } - (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]; } - (DBRpcTask *)groupsDelete:(DBTEAMGroupSelector *)groupSelector { DBRoute *route = DBTEAMRouteObjects.DBTEAMGroupsDelete; DBTEAMGroupSelector *arg = groupSelector; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)groupsGetInfo:(DBTEAMGroupsSelector *)groupsSelector { DBRoute *route = DBTEAMRouteObjects.DBTEAMGroupsGetInfo; DBTEAMGroupsSelector *arg = groupsSelector; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)groupsJobStatusGet:(NSString *)asyncJobId { DBRoute *route = DBTEAMRouteObjects.DBTEAMGroupsJobStatusGet; DBASYNCPollArg *arg = [[DBASYNCPollArg alloc] initWithAsyncJobId:asyncJobId]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)groupsList { DBRoute *route = DBTEAMRouteObjects.DBTEAMGroupsList; DBTEAMGroupsListArg *arg = [[DBTEAMGroupsListArg alloc] initDefault]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)groupsList:(NSNumber *)limit { DBRoute *route = DBTEAMRouteObjects.DBTEAMGroupsList; DBTEAMGroupsListArg *arg = [[DBTEAMGroupsListArg alloc] initWithLimit:limit]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)groupsListContinue:(NSString *)cursor { DBRoute *route = DBTEAMRouteObjects.DBTEAMGroupsListContinue; DBTEAMGroupsListContinueArg *arg = [[DBTEAMGroupsListContinueArg alloc] initWithCursor:cursor]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)groupsMembersAdd:(DBTEAMGroupSelector *)group members:(NSArray *)members { DBRoute *route = DBTEAMRouteObjects.DBTEAMGroupsMembersAdd; DBTEAMGroupMembersAddArg *arg = [[DBTEAMGroupMembersAddArg alloc] initWithGroup:group members:members]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)groupsMembersAdd:(DBTEAMGroupSelector *)group members:(NSArray *)members returnMembers:(NSNumber *)returnMembers { DBRoute *route = DBTEAMRouteObjects.DBTEAMGroupsMembersAdd; DBTEAMGroupMembersAddArg *arg = [[DBTEAMGroupMembersAddArg alloc] initWithGroup:group members:members returnMembers:returnMembers]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)groupsMembersList:(DBTEAMGroupSelector *)group { DBRoute *route = DBTEAMRouteObjects.DBTEAMGroupsMembersList; DBTEAMGroupsMembersListArg *arg = [[DBTEAMGroupsMembersListArg alloc] initWithGroup:group]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)groupsMembersList:(DBTEAMGroupSelector *)group limit:(NSNumber *)limit { DBRoute *route = DBTEAMRouteObjects.DBTEAMGroupsMembersList; DBTEAMGroupsMembersListArg *arg = [[DBTEAMGroupsMembersListArg alloc] initWithGroup:group limit:limit]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)groupsMembersListContinue:(NSString *)cursor { DBRoute *route = DBTEAMRouteObjects.DBTEAMGroupsMembersListContinue; DBTEAMGroupsMembersListContinueArg *arg = [[DBTEAMGroupsMembersListContinueArg alloc] initWithCursor:cursor]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)groupsMembersRemove:(DBTEAMGroupSelector *)group users:(NSArray *)users { DBRoute *route = DBTEAMRouteObjects.DBTEAMGroupsMembersRemove; DBTEAMGroupMembersRemoveArg *arg = [[DBTEAMGroupMembersRemoveArg alloc] initWithGroup:group users:users]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)groupsMembersRemove:(DBTEAMGroupSelector *)group users:(NSArray *)users returnMembers:(NSNumber *)returnMembers { DBRoute *route = DBTEAMRouteObjects.DBTEAMGroupsMembersRemove; DBTEAMGroupMembersRemoveArg *arg = [[DBTEAMGroupMembersRemoveArg alloc] initWithGroup:group users:users returnMembers:returnMembers]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)groupsMembersSetAccessType:(DBTEAMGroupSelector *)group user:(DBTEAMUserSelectorArg *)user accessType:(DBTEAMGroupAccessType *)accessType { DBRoute *route = DBTEAMRouteObjects.DBTEAMGroupsMembersSetAccessType; DBTEAMGroupMembersSetAccessTypeArg *arg = [[DBTEAMGroupMembersSetAccessTypeArg alloc] initWithGroup:group user:user accessType:accessType]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)groupsMembersSetAccessType:(DBTEAMGroupSelector *)group user:(DBTEAMUserSelectorArg *)user accessType:(DBTEAMGroupAccessType *)accessType returnMembers:(NSNumber *)returnMembers { DBRoute *route = DBTEAMRouteObjects.DBTEAMGroupsMembersSetAccessType; DBTEAMGroupMembersSetAccessTypeArg *arg = [[DBTEAMGroupMembersSetAccessTypeArg alloc] initWithGroup:group user:user accessType:accessType returnMembers:returnMembers]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)groupsUpdate:(DBTEAMGroupSelector *)group { DBRoute *route = DBTEAMRouteObjects.DBTEAMGroupsUpdate; DBTEAMGroupUpdateArgs *arg = [[DBTEAMGroupUpdateArgs alloc] initWithGroup:group]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)groupsUpdate:(DBTEAMGroupSelector *)group returnMembers:(NSNumber *)returnMembers dNewGroupName:(NSString *)dNewGroupName dNewGroupExternalId:(NSString *)dNewGroupExternalId dNewGroupManagementType:(DBTEAMCOMMONGroupManagementType *)dNewGroupManagementType { DBRoute *route = DBTEAMRouteObjects.DBTEAMGroupsUpdate; DBTEAMGroupUpdateArgs *arg = [[DBTEAMGroupUpdateArgs alloc] initWithGroup:group returnMembers:returnMembers dNewGroupName:dNewGroupName dNewGroupExternalId:dNewGroupExternalId dNewGroupManagementType:dNewGroupManagementType]; 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]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)linkedAppsListMembersLinkedApps { DBRoute *route = DBTEAMRouteObjects.DBTEAMLinkedAppsListMembersLinkedApps; DBTEAMListMembersAppsArg *arg = [[DBTEAMListMembersAppsArg alloc] initDefault]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)linkedAppsListMembersLinkedApps:(NSString *)cursor { DBRoute *route = DBTEAMRouteObjects.DBTEAMLinkedAppsListMembersLinkedApps; DBTEAMListMembersAppsArg *arg = [[DBTEAMListMembersAppsArg alloc] initWithCursor:cursor]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)linkedAppsListTeamLinkedApps { DBRoute *route = DBTEAMRouteObjects.DBTEAMLinkedAppsListTeamLinkedApps; DBTEAMListTeamAppsArg *arg = [[DBTEAMListTeamAppsArg alloc] initDefault]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)linkedAppsListTeamLinkedApps:(NSString *)cursor { DBRoute *route = DBTEAMRouteObjects.DBTEAMLinkedAppsListTeamLinkedApps; DBTEAMListTeamAppsArg *arg = [[DBTEAMListTeamAppsArg alloc] initWithCursor:cursor]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)linkedAppsRevokeLinkedApp:(NSString *)appId teamMemberId:(NSString *)teamMemberId { DBRoute *route = DBTEAMRouteObjects.DBTEAMLinkedAppsRevokeLinkedApp; DBTEAMRevokeLinkedApiAppArg *arg = [[DBTEAMRevokeLinkedApiAppArg alloc] initWithAppId:appId teamMemberId:teamMemberId]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)linkedAppsRevokeLinkedApp:(NSString *)appId teamMemberId:(NSString *)teamMemberId keepAppFolder:(NSNumber *)keepAppFolder { DBRoute *route = DBTEAMRouteObjects.DBTEAMLinkedAppsRevokeLinkedApp; DBTEAMRevokeLinkedApiAppArg *arg = [[DBTEAMRevokeLinkedApiAppArg alloc] initWithAppId:appId teamMemberId:teamMemberId keepAppFolder:keepAppFolder]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)linkedAppsRevokeLinkedAppBatch:(NSArray *)revokeLinkedApp { DBRoute *route = DBTEAMRouteObjects.DBTEAMLinkedAppsRevokeLinkedAppBatch; DBTEAMRevokeLinkedApiAppBatchArg *arg = [[DBTEAMRevokeLinkedApiAppBatchArg alloc] initWithRevokeLinkedApp:revokeLinkedApp]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)memberSpaceLimitsExcludedUsersAdd { DBRoute *route = DBTEAMRouteObjects.DBTEAMMemberSpaceLimitsExcludedUsersAdd; DBTEAMExcludedUsersUpdateArg *arg = [[DBTEAMExcludedUsersUpdateArg alloc] initDefault]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)memberSpaceLimitsExcludedUsersAdd:(NSArray *)users { DBRoute *route = DBTEAMRouteObjects.DBTEAMMemberSpaceLimitsExcludedUsersAdd; DBTEAMExcludedUsersUpdateArg *arg = [[DBTEAMExcludedUsersUpdateArg alloc] initWithUsers:users]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)memberSpaceLimitsExcludedUsersList { DBRoute *route = DBTEAMRouteObjects.DBTEAMMemberSpaceLimitsExcludedUsersList; DBTEAMExcludedUsersListArg *arg = [[DBTEAMExcludedUsersListArg alloc] initDefault]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)memberSpaceLimitsExcludedUsersList:(NSNumber *)limit { DBRoute *route = DBTEAMRouteObjects.DBTEAMMemberSpaceLimitsExcludedUsersList; DBTEAMExcludedUsersListArg *arg = [[DBTEAMExcludedUsersListArg alloc] initWithLimit:limit]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)memberSpaceLimitsExcludedUsersListContinue:(NSString *)cursor { DBRoute *route = DBTEAMRouteObjects.DBTEAMMemberSpaceLimitsExcludedUsersListContinue; DBTEAMExcludedUsersListContinueArg *arg = [[DBTEAMExcludedUsersListContinueArg alloc] initWithCursor:cursor]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)memberSpaceLimitsExcludedUsersRemove { DBRoute *route = DBTEAMRouteObjects.DBTEAMMemberSpaceLimitsExcludedUsersRemove; DBTEAMExcludedUsersUpdateArg *arg = [[DBTEAMExcludedUsersUpdateArg alloc] initDefault]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)memberSpaceLimitsExcludedUsersRemove:(NSArray *)users { DBRoute *route = DBTEAMRouteObjects.DBTEAMMemberSpaceLimitsExcludedUsersRemove; DBTEAMExcludedUsersUpdateArg *arg = [[DBTEAMExcludedUsersUpdateArg alloc] initWithUsers:users]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)memberSpaceLimitsGetCustomQuota:(NSArray *)users { DBRoute *route = DBTEAMRouteObjects.DBTEAMMemberSpaceLimitsGetCustomQuota; DBTEAMCustomQuotaUsersArg *arg = [[DBTEAMCustomQuotaUsersArg alloc] initWithUsers:users]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)memberSpaceLimitsRemoveCustomQuota:(NSArray *)users { DBRoute *route = DBTEAMRouteObjects.DBTEAMMemberSpaceLimitsRemoveCustomQuota; DBTEAMCustomQuotaUsersArg *arg = [[DBTEAMCustomQuotaUsersArg alloc] initWithUsers:users]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)memberSpaceLimitsSetCustomQuota:(NSArray *)usersAndQuotas { DBRoute *route = DBTEAMRouteObjects.DBTEAMMemberSpaceLimitsSetCustomQuota; DBTEAMSetCustomQuotaArg *arg = [[DBTEAMSetCustomQuotaArg alloc] initWithUsersAndQuotas:usersAndQuotas]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)membersAdd:(NSArray *)dNewMembers { DBRoute *route = DBTEAMRouteObjects.DBTEAMMembersAdd; DBTEAMMembersAddArg *arg = [[DBTEAMMembersAddArg alloc] initWithDNewMembers:dNewMembers]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)membersAdd:(NSArray *)dNewMembers forceAsync:(NSNumber *)forceAsync { DBRoute *route = DBTEAMRouteObjects.DBTEAMMembersAdd; DBTEAMMembersAddArg *arg = [[DBTEAMMembersAddArg alloc] initWithDNewMembers:dNewMembers forceAsync:forceAsync]; 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]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)membersList:(NSNumber *)limit includeRemoved:(NSNumber *)includeRemoved { DBRoute *route = DBTEAMRouteObjects.DBTEAMMembersList; DBTEAMMembersListArg *arg = [[DBTEAMMembersListArg alloc] initWithLimit:limit includeRemoved:includeRemoved]; 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]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)membersRemove:(DBTEAMUserSelectorArg *)user { DBRoute *route = DBTEAMRouteObjects.DBTEAMMembersRemove; DBTEAMMembersRemoveArg *arg = [[DBTEAMMembersRemoveArg alloc] initWithUser:user]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)membersRemove:(DBTEAMUserSelectorArg *)user wipeData:(NSNumber *)wipeData transferDestId:(DBTEAMUserSelectorArg *)transferDestId transferAdminId:(DBTEAMUserSelectorArg *)transferAdminId keepAccount:(NSNumber *)keepAccount retainTeamShares:(NSNumber *)retainTeamShares { DBRoute *route = DBTEAMRouteObjects.DBTEAMMembersRemove; DBTEAMMembersRemoveArg *arg = [[DBTEAMMembersRemoveArg alloc] initWithUser:user wipeData:wipeData transferDestId:transferDestId transferAdminId:transferAdminId keepAccount:keepAccount retainTeamShares:retainTeamShares]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)membersRemoveJobStatusGet:(NSString *)asyncJobId { DBRoute *route = DBTEAMRouteObjects.DBTEAMMembersRemoveJobStatusGet; DBASYNCPollArg *arg = [[DBASYNCPollArg alloc] initWithAsyncJobId: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; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)membersSetAdminPermissions:(DBTEAMUserSelectorArg *)user dNewRole:(DBTEAMAdminTier *)dNewRole { DBRoute *route = DBTEAMRouteObjects.DBTEAMMembersSetAdminPermissions; DBTEAMMembersSetPermissionsArg *arg = [[DBTEAMMembersSetPermissionsArg alloc] initWithUser:user dNewRole: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]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)membersSetProfile:(DBTEAMUserSelectorArg *)user dNewEmail:(NSString *)dNewEmail dNewExternalId:(NSString *)dNewExternalId dNewGivenName:(NSString *)dNewGivenName dNewSurname:(NSString *)dNewSurname 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 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]; } - (DBRpcTask *)membersSuspend:(DBTEAMUserSelectorArg *)user { DBRoute *route = DBTEAMRouteObjects.DBTEAMMembersSuspend; DBTEAMMembersDeactivateArg *arg = [[DBTEAMMembersDeactivateArg alloc] initWithUser:user]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)membersSuspend:(DBTEAMUserSelectorArg *)user wipeData:(NSNumber *)wipeData { DBRoute *route = DBTEAMRouteObjects.DBTEAMMembersSuspend; DBTEAMMembersDeactivateArg *arg = [[DBTEAMMembersDeactivateArg alloc] initWithUser:user wipeData:wipeData]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)membersUnsuspend:(DBTEAMUserSelectorArg *)user { DBRoute *route = DBTEAMRouteObjects.DBTEAMMembersUnsuspend; DBTEAMMembersUnsuspendArg *arg = [[DBTEAMMembersUnsuspendArg alloc] initWithUser:user]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)namespacesList { DBRoute *route = DBTEAMRouteObjects.DBTEAMNamespacesList; DBTEAMTeamNamespacesListArg *arg = [[DBTEAMTeamNamespacesListArg alloc] initDefault]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)namespacesList:(NSNumber *)limit { DBRoute *route = DBTEAMRouteObjects.DBTEAMNamespacesList; DBTEAMTeamNamespacesListArg *arg = [[DBTEAMTeamNamespacesListArg alloc] initWithLimit:limit]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)namespacesListContinue:(NSString *)cursor { DBRoute *route = DBTEAMRouteObjects.DBTEAMNamespacesListContinue; DBTEAMTeamNamespacesListContinueArg *arg = [[DBTEAMTeamNamespacesListContinueArg alloc] initWithCursor:cursor]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)propertiesTemplateAdd:(NSString *)name description_:(NSString *)description_ fields:(NSArray *)fields { DBRoute *route = DBTEAMRouteObjects.DBTEAMPropertiesTemplateAdd; DBFILEPROPERTIESAddTemplateArg *arg = [[DBFILEPROPERTIESAddTemplateArg alloc] initWithName:name description_:description_ fields:fields]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)propertiesTemplateGet:(NSString *)templateId { DBRoute *route = DBTEAMRouteObjects.DBTEAMPropertiesTemplateGet; DBFILEPROPERTIESGetTemplateArg *arg = [[DBFILEPROPERTIESGetTemplateArg alloc] initWithTemplateId:templateId]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)propertiesTemplateList { DBRoute *route = DBTEAMRouteObjects.DBTEAMPropertiesTemplateList; return [self.client requestRpc:route arg:nil]; } - (DBRpcTask *)propertiesTemplateUpdate:(NSString *)templateId { DBRoute *route = DBTEAMRouteObjects.DBTEAMPropertiesTemplateUpdate; DBFILEPROPERTIESUpdateTemplateArg *arg = [[DBFILEPROPERTIESUpdateTemplateArg alloc] initWithTemplateId:templateId]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)propertiesTemplateUpdate:(NSString *)templateId name:(NSString *)name description_:(NSString *)description_ addFields:(NSArray *)addFields { DBRoute *route = DBTEAMRouteObjects.DBTEAMPropertiesTemplateUpdate; DBFILEPROPERTIESUpdateTemplateArg *arg = [[DBFILEPROPERTIESUpdateTemplateArg alloc] initWithTemplateId:templateId name:name description_:description_ addFields:addFields]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)reportsGetActivity { DBRoute *route = DBTEAMRouteObjects.DBTEAMReportsGetActivity; DBTEAMDateRange *arg = [[DBTEAMDateRange alloc] initDefault]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)reportsGetActivity:(NSDate *)startDate endDate:(NSDate *)endDate { DBRoute *route = DBTEAMRouteObjects.DBTEAMReportsGetActivity; DBTEAMDateRange *arg = [[DBTEAMDateRange alloc] initWithStartDate:startDate endDate:endDate]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)reportsGetDevices { DBRoute *route = DBTEAMRouteObjects.DBTEAMReportsGetDevices; DBTEAMDateRange *arg = [[DBTEAMDateRange alloc] initDefault]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)reportsGetDevices:(NSDate *)startDate endDate:(NSDate *)endDate { DBRoute *route = DBTEAMRouteObjects.DBTEAMReportsGetDevices; DBTEAMDateRange *arg = [[DBTEAMDateRange alloc] initWithStartDate:startDate endDate:endDate]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)reportsGetMembership { DBRoute *route = DBTEAMRouteObjects.DBTEAMReportsGetMembership; DBTEAMDateRange *arg = [[DBTEAMDateRange alloc] initDefault]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)reportsGetMembership:(NSDate *)startDate endDate:(NSDate *)endDate { DBRoute *route = DBTEAMRouteObjects.DBTEAMReportsGetMembership; DBTEAMDateRange *arg = [[DBTEAMDateRange alloc] initWithStartDate:startDate endDate:endDate]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)reportsGetStorage { DBRoute *route = DBTEAMRouteObjects.DBTEAMReportsGetStorage; DBTEAMDateRange *arg = [[DBTEAMDateRange alloc] initDefault]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)reportsGetStorage:(NSDate *)startDate endDate:(NSDate *)endDate { DBRoute *route = DBTEAMRouteObjects.DBTEAMReportsGetStorage; DBTEAMDateRange *arg = [[DBTEAMDateRange alloc] initWithStartDate:startDate endDate: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]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)teamFolderArchive:(NSString *)teamFolderId { DBRoute *route = DBTEAMRouteObjects.DBTEAMTeamFolderArchive; DBTEAMTeamFolderArchiveArg *arg = [[DBTEAMTeamFolderArchiveArg alloc] initWithTeamFolderId:teamFolderId]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)teamFolderArchive:(NSString *)teamFolderId forceAsyncOff:(NSNumber *)forceAsyncOff { DBRoute *route = DBTEAMRouteObjects.DBTEAMTeamFolderArchive; DBTEAMTeamFolderArchiveArg *arg = [[DBTEAMTeamFolderArchiveArg alloc] initWithTeamFolderId:teamFolderId forceAsyncOff:forceAsyncOff]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)teamFolderArchiveCheck:(NSString *)asyncJobId { DBRoute *route = DBTEAMRouteObjects.DBTEAMTeamFolderArchiveCheck; DBASYNCPollArg *arg = [[DBASYNCPollArg alloc] initWithAsyncJobId:asyncJobId]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)teamFolderCreate:(NSString *)name { DBRoute *route = DBTEAMRouteObjects.DBTEAMTeamFolderCreate; DBTEAMTeamFolderCreateArg *arg = [[DBTEAMTeamFolderCreateArg alloc] initWithName: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]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)teamFolderList { DBRoute *route = DBTEAMRouteObjects.DBTEAMTeamFolderList; DBTEAMTeamFolderListArg *arg = [[DBTEAMTeamFolderListArg alloc] initDefault]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)teamFolderList:(NSNumber *)limit { DBRoute *route = DBTEAMRouteObjects.DBTEAMTeamFolderList; DBTEAMTeamFolderListArg *arg = [[DBTEAMTeamFolderListArg alloc] initWithLimit:limit]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)teamFolderListContinue:(NSString *)cursor { DBRoute *route = DBTEAMRouteObjects.DBTEAMTeamFolderListContinue; DBTEAMTeamFolderListContinueArg *arg = [[DBTEAMTeamFolderListContinueArg alloc] initWithCursor:cursor]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)teamFolderPermanentlyDelete:(NSString *)teamFolderId { DBRoute *route = DBTEAMRouteObjects.DBTEAMTeamFolderPermanentlyDelete; DBTEAMTeamFolderIdArg *arg = [[DBTEAMTeamFolderIdArg alloc] initWithTeamFolderId:teamFolderId]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)teamFolderRename:(NSString *)teamFolderId name:(NSString *)name { DBRoute *route = DBTEAMRouteObjects.DBTEAMTeamFolderRename; DBTEAMTeamFolderRenameArg *arg = [[DBTEAMTeamFolderRenameArg alloc] initWithTeamFolderId:teamFolderId name: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]; } @end ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBUSERSUserAuthRoutes.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import #import "DBTasks.h" @class DBCOMMONRootInfo; @class DBNilObject; @class DBUSERSBasicAccount; @class DBUSERSCOMMONAccountType; @class DBUSERSFullAccount; @class DBUSERSFullTeam; @class DBUSERSGetAccountBatchError; @class DBUSERSGetAccountError; @class DBUSERSName; @class DBUSERSSpaceAllocation; @class DBUSERSSpaceUsage; @class DBUSERSUserFeature; @class DBUSERSUserFeatureValue; @class DBUSERSUserFeaturesGetValuesBatchError; @class DBUSERSUserFeaturesGetValuesBatchResult; @protocol DBTransportClient; /// /// Routes for the `Users` namespace /// NS_ASSUME_NONNULL_BEGIN @interface DBUSERSUserAuthRoutes : NSObject /// An instance of the networking client that each route will use to submit a /// request. @property (nonatomic, readonly) id client; /// Initializes the `DBUSERSUserAuthRoutes` namespace container object with a /// 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. /// /// @param accountId A user's account identifier. /// /// @return Through the response callback, the caller will receive a `DBUSERSBasicAccount` object on success or a /// `DBUSERSGetAccountError` object on failure. /// - (DBRpcTask *)getAccount:(NSString *)accountId; /// /// Get information about multiple user accounts. At most 300 accounts may be queried per request. /// /// @param accountIds List of user account identifiers. Should not contain any duplicate account IDs. /// /// @return Through the response callback, the caller will receive a `NSArray` object on success /// or a `DBUSERSGetAccountBatchError` object on failure. /// - (DBRpcTask *, DBUSERSGetAccountBatchError *> *)getAccountBatch: (NSArray *)accountIds; /// /// Get information about the current user's account. /// /// /// @return Through the response callback, the caller will receive a `DBUSERSFullAccount` object on success or a `void` /// object on failure. /// - (DBRpcTask *)getCurrentAccount; /// /// Get the space usage information for the current user's account. /// /// /// @return Through the response callback, the caller will receive a `DBUSERSSpaceUsage` object on success or a `void` /// object on failure. /// - (DBRpcTask *)getSpaceUsage; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBUSERSUserAuthRoutes.m ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import "DBUSERSUserAuthRoutes.h" #import "DBCOMMONRootInfo.h" #import "DBRequestErrors.h" #import "DBStoneBase.h" #import "DBTransportClientProtocol.h" #import "DBUSERSAccount.h" #import "DBUSERSBasicAccount.h" #import "DBUSERSCOMMONAccountType.h" #import "DBUSERSFullAccount.h" #import "DBUSERSFullTeam.h" #import "DBUSERSGetAccountArg.h" #import "DBUSERSGetAccountBatchArg.h" #import "DBUSERSGetAccountBatchError.h" #import "DBUSERSGetAccountError.h" #import "DBUSERSName.h" #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 - (instancetype)init:(id)client { self = [super init]; if (self) { _client = 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]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)getAccountBatch:(NSArray *)accountIds { DBRoute *route = DBUSERSRouteObjects.DBUSERSGetAccountBatch; DBUSERSGetAccountBatchArg *arg = [[DBUSERSGetAccountBatchArg alloc] initWithAccountIds:accountIds]; return [self.client requestRpc:route arg:arg]; } - (DBRpcTask *)getCurrentAccount { DBRoute *route = DBUSERSRouteObjects.DBUSERSGetCurrentAccount; return [self.client requestRpc:route arg:nil]; } - (DBRpcTask *)getSpaceUsage { DBRoute *route = DBUSERSRouteObjects.DBUSERSGetSpaceUsage; return [self.client requestRpc:route arg:nil]; } @end ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/RouteObjects/DBACCOUNTRouteObjects.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/RouteObjects/DBACCOUNTRouteObjects.m ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/RouteObjects/DBAUTHRouteObjects.h ================================================ /// /// 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 Auth namespace. Each route in the Auth namespace /// has its own static object, which contains information about the route. /// @interface DBAUTHRouteObjects : NSObject /// Accessor method for the tokenFromOauth1 route object. + (DBRoute *)DBAUTHTokenFromOauth1; /// Accessor method for the tokenRevoke route object. + (DBRoute *)DBAUTHTokenRevoke; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/RouteObjects/DBAUTHRouteObjects.m ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import "DBAUTHRouteObjects.h" #import "DBAUTHAppAuthRoutes.h" #import "DBAUTHTokenFromOAuth1Error.h" #import "DBAUTHTokenFromOAuth1Result.h" #import "DBAUTHUserAuthRoutes.h" #import "DBRequestErrors.h" #import "DBStoneBase.h" @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 { @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; } } + (DBRoute *)DBAUTHTokenRevoke { @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; } } @end ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/RouteObjects/DBCHECKRouteObjects.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/RouteObjects/DBCHECKRouteObjects.m ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/RouteObjects/DBCONTACTSRouteObjects.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/RouteObjects/DBCONTACTSRouteObjects.m ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/RouteObjects/DBFILEPROPERTIESRouteObjects.h ================================================ /// /// 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 FileProperties namespace. Each route in the /// FileProperties namespace has its own static object, which contains /// information about the route. /// @interface DBFILEPROPERTIESRouteObjects : NSObject /// Accessor method for the propertiesAdd route object. + (DBRoute *)DBFILEPROPERTIESPropertiesAdd; /// Accessor method for the propertiesOverwrite route object. + (DBRoute *)DBFILEPROPERTIESPropertiesOverwrite; /// Accessor method for the propertiesRemove route object. + (DBRoute *)DBFILEPROPERTIESPropertiesRemove; /// Accessor method for the propertiesSearch route object. + (DBRoute *)DBFILEPROPERTIESPropertiesSearch; /// Accessor method for the propertiesSearchContinue route object. + (DBRoute *)DBFILEPROPERTIESPropertiesSearchContinue; /// Accessor method for the propertiesUpdate route object. + (DBRoute *)DBFILEPROPERTIESPropertiesUpdate; /// Accessor method for the templatesAddForTeam route object. + (DBRoute *)DBFILEPROPERTIESTemplatesAddForTeam; /// Accessor method for the templatesAddForUser route object. + (DBRoute *)DBFILEPROPERTIESTemplatesAddForUser; /// Accessor method for the templatesGetForTeam route object. + (DBRoute *)DBFILEPROPERTIESTemplatesGetForTeam; /// Accessor method for the templatesGetForUser route object. + (DBRoute *)DBFILEPROPERTIESTemplatesGetForUser; /// Accessor method for the templatesListForTeam route object. + (DBRoute *)DBFILEPROPERTIESTemplatesListForTeam; /// Accessor method for the templatesListForUser route object. + (DBRoute *)DBFILEPROPERTIESTemplatesListForUser; /// Accessor method for the templatesRemoveForTeam route object. + (DBRoute *)DBFILEPROPERTIESTemplatesRemoveForTeam; /// Accessor method for the templatesRemoveForUser route object. + (DBRoute *)DBFILEPROPERTIESTemplatesRemoveForUser; /// Accessor method for the templatesUpdateForTeam route object. + (DBRoute *)DBFILEPROPERTIESTemplatesUpdateForTeam; /// Accessor method for the templatesUpdateForUser route object. + (DBRoute *)DBFILEPROPERTIESTemplatesUpdateForUser; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/RouteObjects/DBFILEPROPERTIESRouteObjects.m ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import "DBFILEPROPERTIESRouteObjects.h" #import "DBFILEPROPERTIESAddPropertiesError.h" #import "DBFILEPROPERTIESAddTemplateResult.h" #import "DBFILEPROPERTIESGetTemplateResult.h" #import "DBFILEPROPERTIESInvalidPropertyGroupError.h" #import "DBFILEPROPERTIESListTemplateResult.h" #import "DBFILEPROPERTIESLookUpPropertiesError.h" #import "DBFILEPROPERTIESLookupError.h" #import "DBFILEPROPERTIESModifyTemplateError.h" #import "DBFILEPROPERTIESPropertiesError.h" #import "DBFILEPROPERTIESPropertiesSearchContinueError.h" #import "DBFILEPROPERTIESPropertiesSearchError.h" #import "DBFILEPROPERTIESPropertiesSearchMatch.h" #import "DBFILEPROPERTIESPropertiesSearchResult.h" #import "DBFILEPROPERTIESPropertyFieldTemplate.h" #import "DBFILEPROPERTIESPropertyGroupTemplate.h" #import "DBFILEPROPERTIESRemovePropertiesError.h" #import "DBFILEPROPERTIESTeamAuthRoutes.h" #import "DBFILEPROPERTIESTemplateError.h" #import "DBFILEPROPERTIESUpdatePropertiesError.h" #import "DBFILEPROPERTIESUpdateTemplateResult.h" #import "DBFILEPROPERTIESUserAuthRoutes.h" #import "DBRequestErrors.h" #import "DBStoneBase.h" @implementation DBFILEPROPERTIESRouteObjects static DBRoute *DBFILEPROPERTIESPropertiesAdd; static DBRoute *DBFILEPROPERTIESPropertiesOverwrite; static DBRoute *DBFILEPROPERTIESPropertiesRemove; static DBRoute *DBFILEPROPERTIESPropertiesSearch; static DBRoute *DBFILEPROPERTIESPropertiesSearchContinue; static DBRoute *DBFILEPROPERTIESPropertiesUpdate; static DBRoute *DBFILEPROPERTIESTemplatesAddForTeam; static DBRoute *DBFILEPROPERTIESTemplatesAddForUser; static DBRoute *DBFILEPROPERTIESTemplatesGetForTeam; static DBRoute *DBFILEPROPERTIESTemplatesGetForUser; static DBRoute *DBFILEPROPERTIESTemplatesListForTeam; static DBRoute *DBFILEPROPERTIESTemplatesListForUser; static DBRoute *DBFILEPROPERTIESTemplatesRemoveForTeam; static DBRoute *DBFILEPROPERTIESTemplatesRemoveForUser; 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 { @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; } } + (DBRoute *)DBFILEPROPERTIESPropertiesOverwrite { @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; } } + (DBRoute *)DBFILEPROPERTIESPropertiesRemove { @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; } } + (DBRoute *)DBFILEPROPERTIESPropertiesSearch { @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; } } + (DBRoute *)DBFILEPROPERTIESPropertiesSearchContinue { @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; } } + (DBRoute *)DBFILEPROPERTIESPropertiesUpdate { @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; } } + (DBRoute *)DBFILEPROPERTIESTemplatesAddForTeam { @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; } } + (DBRoute *)DBFILEPROPERTIESTemplatesAddForUser { @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; } } + (DBRoute *)DBFILEPROPERTIESTemplatesGetForTeam { @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; } } + (DBRoute *)DBFILEPROPERTIESTemplatesGetForUser { @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; } } + (DBRoute *)DBFILEPROPERTIESTemplatesListForTeam { @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; } } + (DBRoute *)DBFILEPROPERTIESTemplatesListForUser { @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; } } + (DBRoute *)DBFILEPROPERTIESTemplatesRemoveForTeam { @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; } } + (DBRoute *)DBFILEPROPERTIESTemplatesRemoveForUser { @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; } } + (DBRoute *)DBFILEPROPERTIESTemplatesUpdateForTeam { @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; } } + (DBRoute *)DBFILEPROPERTIESTemplatesUpdateForUser { @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; } } @end ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/RouteObjects/DBFILEREQUESTSRouteObjects.h ================================================ /// /// 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 FileRequests namespace. Each route in the /// FileRequests namespace has its own static object, which contains information /// about the route. /// @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; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/RouteObjects/DBFILEREQUESTSRouteObjects.m ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #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" #import "DBStoneBase.h" @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 { @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:[DBFILEREQUESTSListFileRequestsResult class] errorType:[DBFILEREQUESTSListFileRequestsError class] attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} dataStructSerialBlock:nil dataStructDeserialBlock:nil]; } return DBFILEREQUESTSList; } } + (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; } } + (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; } } + (DBRoute *)DBFILEREQUESTSUpdate { @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; } } @end ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/RouteObjects/DBFILESRouteObjects.h ================================================ /// /// 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 Files namespace. Each route in the Files /// namespace has its own static object, which contains information about the /// route. /// @interface DBFILESRouteObjects : NSObject /// Accessor method for the alphaGetMetadata route object. + (DBRoute *)DBFILESAlphaGetMetadata; /// Accessor method for the alphaUpload route object. + (DBRoute *)DBFILESAlphaUpload; /// 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 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 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; /// Accessor method for the getPreview route object. + (DBRoute *)DBFILESGetPreview; /// 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; /// Accessor method for the listFolder route object. + (DBRoute *)DBFILESListFolder; /// Accessor method for the listFolderContinue route object. + (DBRoute *)DBFILESListFolderContinue; /// Accessor method for the listFolderGetLatestCursor route object. + (DBRoute *)DBFILESListFolderGetLatestCursor; /// Accessor method for the listFolderLongpoll route object. + (DBRoute *)DBFILESListFolderLongpoll; /// 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 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; /// Accessor method for the propertiesAdd route object. + (DBRoute *)DBFILESPropertiesAdd; /// Accessor method for the propertiesOverwrite route object. + (DBRoute *)DBFILESPropertiesOverwrite; /// Accessor method for the propertiesRemove route object. + (DBRoute *)DBFILESPropertiesRemove; /// Accessor method for the propertiesTemplateGet route object. + (DBRoute *)DBFILESPropertiesTemplateGet; /// Accessor method for the propertiesTemplateList route object. + (DBRoute *)DBFILESPropertiesTemplateList; /// Accessor method for the propertiesUpdate route object. + (DBRoute *)DBFILESPropertiesUpdate; /// Accessor method for the restore route object. + (DBRoute *)DBFILESRestore; /// Accessor method for the saveUrl route object. + (DBRoute *)DBFILESSaveUrl; /// Accessor method for the saveUrlCheckJobStatus route object. + (DBRoute *)DBFILESSaveUrlCheckJobStatus; /// 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; /// Accessor method for the uploadSessionAppend route object. + (DBRoute *)DBFILESUploadSessionAppend; /// Accessor method for the uploadSessionAppendV2 route object. + (DBRoute *)DBFILESUploadSessionAppendV2; /// Accessor method for the uploadSessionFinish route object. + (DBRoute *)DBFILESUploadSessionFinish; /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/RouteObjects/DBFILESRouteObjects.m ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import "DBFILESRouteObjects.h" #import "DBASYNCLaunchResultBase.h" #import "DBASYNCPollError.h" #import "DBASYNCPollResultBase.h" #import "DBFILEPROPERTIESAddPropertiesError.h" #import "DBFILEPROPERTIESGetTemplateResult.h" #import "DBFILEPROPERTIESInvalidPropertyGroupError.h" #import "DBFILEPROPERTIESListTemplateResult.h" #import "DBFILEPROPERTIESLookUpPropertiesError.h" #import "DBFILEPROPERTIESLookupError.h" #import "DBFILEPROPERTIESPropertiesError.h" #import "DBFILEPROPERTIESPropertyFieldTemplate.h" #import "DBFILEPROPERTIESPropertyGroup.h" #import "DBFILEPROPERTIESPropertyGroupTemplate.h" #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" #import "DBFILESDeleteBatchJobStatus.h" #import "DBFILESDeleteBatchLaunch.h" #import "DBFILESDeleteBatchResult.h" #import "DBFILESDeleteError.h" #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" #import "DBFILESFolderMetadata.h" #import "DBFILESFolderSharingInfo.h" #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" #import "DBFILESListFolderContinueError.h" #import "DBFILESListFolderError.h" #import "DBFILESListFolderGetLatestCursorResult.h" #import "DBFILESListFolderLongpollError.h" #import "DBFILESListFolderLongpollResult.h" #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" #import "DBFILESSaveUrlError.h" #import "DBFILESSaveUrlJobStatus.h" #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 "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" #import "DBFILESWriteError.h" #import "DBRequestErrors.h" #import "DBStoneBase.h" @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 *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 *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 *DBFILESMoveBatchCheckV2; static DBRoute *DBFILESPaperCreate; static DBRoute *DBFILESPaperUpdate; static DBRoute *DBFILESPermanentlyDelete; static DBRoute *DBFILESPropertiesAdd; static DBRoute *DBFILESPropertiesOverwrite; static DBRoute *DBFILESPropertiesRemove; static DBRoute *DBFILESPropertiesTemplateGet; static DBRoute *DBFILESPropertiesTemplateList; static DBRoute *DBFILESPropertiesUpdate; static DBRoute *DBFILESRestore; 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 { @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; } } + (DBRoute *)DBFILESAlphaUpload { @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; } } + (DBRoute *)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 { @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; } } + (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; } } + (DBRoute *)DBFILESDCopyBatchCheck { @synchronized(lockObj) { if (!DBFILESDCopyBatchCheck) { DBFILESDCopyBatchCheck = [[DBRoute alloc] init:@"copy_batch/check" namespace_:@"files" deprecated:@YES resultType:[DBFILESRelocationBatchJobStatus class] errorType:[DBASYNCPollError class] attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} dataStructSerialBlock:nil dataStructDeserialBlock:nil]; } return DBFILESDCopyBatchCheck; } } + (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; } } + (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; } } + (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; } } + (DBRoute *)DBFILESCreateFolder { @synchronized(lockObj) { 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]; } 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; } } + (DBRoute *)DBFILESDelete_ { @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_; } } + (DBRoute *)DBFILESDelete_V2 { @synchronized(lockObj) { if (!DBFILESDelete_V2) { DBFILESDelete_V2 = [[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]; } return DBFILESDelete_V2; } } + (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; } } + (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; } } + (DBRoute *)DBFILESDownload { @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:[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; } } + (DBRoute *)DBFILESGetMetadata { @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; } } + (DBRoute *)DBFILESGetPreview { @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; } } + (DBRoute *)DBFILESGetTemporaryLink { @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; } } + (DBRoute *)DBFILESGetThumbnail { @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; } } + (DBRoute *)DBFILESGetThumbnailBatch { @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; } } + (DBRoute *)DBFILESListFolder { @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; } } + (DBRoute *)DBFILESListFolderContinue { @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; } } + (DBRoute *)DBFILESListFolderGetLatestCursor { @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; } } + (DBRoute *)DBFILESListFolderLongpoll { @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; } } + (DBRoute *)DBFILESListRevisions { @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; } } + (DBRoute *)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 { @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; } } + (DBRoute *)DBFILESMoveBatchCheck { @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; } } + (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; } } + (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; } } + (DBRoute *)DBFILESPaperUpdate { @synchronized(lockObj) { if (!DBFILESPaperUpdate) { DBFILESPaperUpdate = [[DBRoute alloc] init:@"paper/update" namespace_:@"files" deprecated:@NO resultType:[DBFILESPaperUpdateResult class] errorType:[DBFILESPaperUpdateError class] attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"upload"} dataStructSerialBlock:nil dataStructDeserialBlock:nil]; } return DBFILESPaperUpdate; } } + (DBRoute *)DBFILESPermanentlyDelete { @synchronized(lockObj) { 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]; } return DBFILESPermanentlyDelete; } } + (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; } } + (DBRoute *)DBFILESPropertiesOverwrite { @synchronized(lockObj) { if (!DBFILESPropertiesOverwrite) { DBFILESPropertiesOverwrite = [[DBRoute alloc] init:@"properties/overwrite" namespace_:@"files" deprecated:@YES 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; } } + (DBRoute *)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 { @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; } } + (DBRoute *)DBFILESRestore { @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; } } + (DBRoute *)DBFILESSaveUrl { @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; } } + (DBRoute *)DBFILESSaveUrlCheckJobStatus { @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; } } + (DBRoute *)DBFILESSearch { @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; } } + (DBRoute *)DBFILESUpload { @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; } } + (DBRoute *)DBFILESUploadSessionAppend { @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; } } + (DBRoute *)DBFILESUploadSessionAppendV2 { @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; } } + (DBRoute *)DBFILESUploadSessionFinish { @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; } } + (DBRoute *)DBFILESUploadSessionFinishBatch { @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; } } + (DBRoute *)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 { @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; } } @end ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/RouteObjects/DBOPENIDRouteObjects.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/RouteObjects/DBOPENIDRouteObjects.m ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/RouteObjects/DBPAPERRouteObjects.h ================================================ /// /// 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 Paper namespace. Each route in the Paper /// namespace has its own static object, which contains information about the /// route. /// @interface DBPAPERRouteObjects : NSObject /// Accessor method for the docsArchive route object. + (DBRoute *)DBPAPERDocsArchive; /// Accessor method for the docsCreate route object. + (DBRoute *)DBPAPERDocsCreate; /// Accessor method for the docsDownload route object. + (DBRoute *)DBPAPERDocsDownload; /// Accessor method for the docsFolderUsersList route object. + (DBRoute *)DBPAPERDocsFolderUsersList; /// Accessor method for the docsFolderUsersListContinue route object. + (DBRoute *)DBPAPERDocsFolderUsersListContinue; /// Accessor method for the docsGetFolderInfo route object. + (DBRoute *)DBPAPERDocsGetFolderInfo; /// Accessor method for the docsList route object. + (DBRoute *)DBPAPERDocsList; /// Accessor method for the docsListContinue route object. + (DBRoute *)DBPAPERDocsListContinue; /// Accessor method for the docsPermanentlyDelete route object. + (DBRoute *)DBPAPERDocsPermanentlyDelete; /// Accessor method for the docsSharingPolicyGet route object. + (DBRoute *)DBPAPERDocsSharingPolicyGet; /// Accessor method for the docsSharingPolicySet route object. + (DBRoute *)DBPAPERDocsSharingPolicySet; /// Accessor method for the docsUpdate route object. + (DBRoute *)DBPAPERDocsUpdate; /// Accessor method for the docsUsersAdd route object. + (DBRoute *)DBPAPERDocsUsersAdd; /// Accessor method for the docsUsersList route object. + (DBRoute *)DBPAPERDocsUsersList; /// Accessor method for the docsUsersListContinue route object. + (DBRoute *)DBPAPERDocsUsersListContinue; /// Accessor method for the docsUsersRemove route object. + (DBRoute *)DBPAPERDocsUsersRemove; /// Accessor method for the foldersCreate route object. + (DBRoute *)DBPAPERFoldersCreate; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/RouteObjects/DBPAPERRouteObjects.m ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import "DBPAPERRouteObjects.h" #import "DBPAPERAddPaperDocUserMemberResult.h" #import "DBPAPERAddPaperDocUserResult.h" #import "DBPAPERCursor.h" #import "DBPAPERDocLookupError.h" #import "DBPAPERFolder.h" #import "DBPAPERFolderSharingPolicyType.h" #import "DBPAPERFoldersContainingPaperDoc.h" #import "DBPAPERInviteeInfoWithPermissionLevel.h" #import "DBPAPERListDocsCursorError.h" #import "DBPAPERListPaperDocsResponse.h" #import "DBPAPERListUsersCursorError.h" #import "DBPAPERListUsersOnFolderResponse.h" #import "DBPAPERListUsersOnPaperDocResponse.h" #import "DBPAPERPaperApiBaseError.h" #import "DBPAPERPaperApiCursorError.h" #import "DBPAPERPaperDocCreateError.h" #import "DBPAPERPaperDocCreateUpdateResult.h" #import "DBPAPERPaperDocExportResult.h" #import "DBPAPERPaperDocUpdateError.h" #import "DBPAPERPaperFolderCreateError.h" #import "DBPAPERPaperFolderCreateResult.h" #import "DBPAPERSharingPolicy.h" #import "DBPAPERSharingPublicPolicyType.h" #import "DBPAPERSharingTeamPolicyType.h" #import "DBPAPERUserAuthRoutes.h" #import "DBPAPERUserInfoWithPermissionLevel.h" #import "DBRequestErrors.h" #import "DBSHARINGInviteeInfo.h" #import "DBSHARINGMemberSelector.h" #import "DBSHARINGUserInfo.h" #import "DBStoneBase.h" @implementation DBPAPERRouteObjects static DBRoute *DBPAPERDocsArchive; static DBRoute *DBPAPERDocsCreate; static DBRoute *DBPAPERDocsDownload; static DBRoute *DBPAPERDocsFolderUsersList; static DBRoute *DBPAPERDocsFolderUsersListContinue; static DBRoute *DBPAPERDocsGetFolderInfo; static DBRoute *DBPAPERDocsList; static DBRoute *DBPAPERDocsListContinue; static DBRoute *DBPAPERDocsPermanentlyDelete; static DBRoute *DBPAPERDocsSharingPolicyGet; static DBRoute *DBPAPERDocsSharingPolicySet; static DBRoute *DBPAPERDocsUpdate; static DBRoute *DBPAPERDocsUsersAdd; 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 { @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; } } + (DBRoute *)DBPAPERDocsCreate { @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; } } + (DBRoute *)DBPAPERDocsDownload { @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; } } + (DBRoute *)DBPAPERDocsFolderUsersList { @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; } } + (DBRoute *)DBPAPERDocsFolderUsersListContinue { @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; } } + (DBRoute *)DBPAPERDocsGetFolderInfo { @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; } } + (DBRoute *)DBPAPERDocsList { @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; } } + (DBRoute *)DBPAPERDocsListContinue { @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; } } + (DBRoute *)DBPAPERDocsPermanentlyDelete { @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; } } + (DBRoute *)DBPAPERDocsSharingPolicyGet { @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; } } + (DBRoute *)DBPAPERDocsSharingPolicySet { @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; } } + (DBRoute *)DBPAPERDocsUpdate { @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; } } + (DBRoute *)DBPAPERDocsUsersAdd { @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; } } + (DBRoute *)DBPAPERDocsUsersList { @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; } } + (DBRoute *)DBPAPERDocsUsersListContinue { @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; } } + (DBRoute *)DBPAPERDocsUsersRemove { @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:@YES resultType:[DBPAPERPaperFolderCreateResult class] errorType:[DBPAPERPaperFolderCreateError class] attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} dataStructSerialBlock:nil dataStructDeserialBlock:nil]; } return DBPAPERFoldersCreate; } } @end ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/RouteObjects/DBSHARINGRouteObjects.h ================================================ /// /// 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 Sharing namespace. Each route in the Sharing /// namespace has its own static object, which contains information about the /// route. /// @interface DBSHARINGRouteObjects : NSObject /// Accessor method for the addFileMember route object. + (DBRoute *)DBSHARINGAddFileMember; /// Accessor method for the addFolderMember route object. + (DBRoute *)DBSHARINGAddFolderMember; /// Accessor method for the checkJobStatus route object. + (DBRoute *)DBSHARINGCheckJobStatus; /// Accessor method for the checkRemoveMemberJobStatus route object. + (DBRoute *)DBSHARINGCheckRemoveMemberJobStatus; /// Accessor method for the checkShareJobStatus route object. + (DBRoute *)DBSHARINGCheckShareJobStatus; /// Accessor method for the createSharedLink route object. + (DBRoute *)DBSHARINGCreateSharedLink; /// Accessor method for the createSharedLinkWithSettings route object. + (DBRoute *)DBSHARINGCreateSharedLinkWithSettings; /// Accessor method for the getFileMetadata route object. + (DBRoute *)DBSHARINGGetFileMetadata; /// Accessor method for the getFileMetadataBatch route object. + (DBRoute *)DBSHARINGGetFileMetadataBatch; /// Accessor method for the getFolderMetadata route object. + (DBRoute *)DBSHARINGGetFolderMetadata; /// Accessor method for the getSharedLinkFile route object. + (DBRoute *)DBSHARINGGetSharedLinkFile; /// Accessor method for the getSharedLinkMetadata route object. + (DBRoute *)DBSHARINGGetSharedLinkMetadata; /// Accessor method for the getSharedLinks route object. + (DBRoute *)DBSHARINGGetSharedLinks; /// Accessor method for the listFileMembers route object. + (DBRoute *)DBSHARINGListFileMembers; /// Accessor method for the listFileMembersBatch route object. + (DBRoute *)DBSHARINGListFileMembersBatch; /// Accessor method for the listFileMembersContinue route object. + (DBRoute *)DBSHARINGListFileMembersContinue; /// Accessor method for the listFolderMembers route object. + (DBRoute *)DBSHARINGListFolderMembers; /// Accessor method for the listFolderMembersContinue route object. + (DBRoute *)DBSHARINGListFolderMembersContinue; /// Accessor method for the listFolders route object. + (DBRoute *)DBSHARINGListFolders; /// Accessor method for the listFoldersContinue route object. + (DBRoute *)DBSHARINGListFoldersContinue; /// Accessor method for the listMountableFolders route object. + (DBRoute *)DBSHARINGListMountableFolders; /// Accessor method for the listMountableFoldersContinue route object. + (DBRoute *)DBSHARINGListMountableFoldersContinue; /// Accessor method for the listReceivedFiles route object. + (DBRoute *)DBSHARINGListReceivedFiles; /// Accessor method for the listReceivedFilesContinue route object. + (DBRoute *)DBSHARINGListReceivedFilesContinue; /// Accessor method for the listSharedLinks route object. + (DBRoute *)DBSHARINGListSharedLinks; /// Accessor method for the modifySharedLinkSettings route object. + (DBRoute *)DBSHARINGModifySharedLinkSettings; /// Accessor method for the mountFolder route object. + (DBRoute *)DBSHARINGMountFolder; /// Accessor method for the relinquishFileMembership route object. + (DBRoute *)DBSHARINGRelinquishFileMembership; /// Accessor method for the relinquishFolderMembership route object. + (DBRoute *)DBSHARINGRelinquishFolderMembership; /// Accessor method for the removeFileMember route object. + (DBRoute *)DBSHARINGRemoveFileMember; /// Accessor method for the removeFileMember2 route object. + (DBRoute *)DBSHARINGRemoveFileMember2; /// Accessor method for the removeFolderMember route object. + (DBRoute *)DBSHARINGRemoveFolderMember; /// 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; /// Accessor method for the transferFolder route object. + (DBRoute *)DBSHARINGTransferFolder; /// Accessor method for the unmountFolder route object. + (DBRoute *)DBSHARINGUnmountFolder; /// Accessor method for the unshareFile route object. + (DBRoute *)DBSHARINGUnshareFile; /// Accessor method for the unshareFolder route object. + (DBRoute *)DBSHARINGUnshareFolder; /// Accessor method for the updateFileMember route object. + (DBRoute *)DBSHARINGUpdateFileMember; /// Accessor method for the updateFolderMember route object. + (DBRoute *)DBSHARINGUpdateFolderMember; /// Accessor method for the updateFolderPolicy route object. + (DBRoute *)DBSHARINGUpdateFolderPolicy; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/RouteObjects/DBSHARINGRouteObjects.m ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import "DBSHARINGRouteObjects.h" #import "DBASYNCLaunchEmptyResult.h" #import "DBASYNCLaunchResultBase.h" #import "DBASYNCPollError.h" #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" #import "DBSHARINGFileLinkMetadata.h" #import "DBSHARINGFileMemberActionError.h" #import "DBSHARINGFileMemberActionIndividualResult.h" #import "DBSHARINGFileMemberActionResult.h" #import "DBSHARINGFileMemberRemoveActionResult.h" #import "DBSHARINGFilePermission.h" #import "DBSHARINGFolderLinkMetadata.h" #import "DBSHARINGFolderPermission.h" #import "DBSHARINGFolderPolicy.h" #import "DBSHARINGGetFileMetadataBatchResult.h" #import "DBSHARINGGetFileMetadataError.h" #import "DBSHARINGGetFileMetadataIndividualResult.h" #import "DBSHARINGGetSharedLinkFileError.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 "DBSHARINGListFileMembersBatchResult.h" #import "DBSHARINGListFileMembersContinueError.h" #import "DBSHARINGListFileMembersError.h" #import "DBSHARINGListFileMembersIndividualResult.h" #import "DBSHARINGListFilesContinueError.h" #import "DBSHARINGListFilesResult.h" #import "DBSHARINGListFolderMembersContinueError.h" #import "DBSHARINGListFoldersContinueError.h" #import "DBSHARINGListFoldersResult.h" #import "DBSHARINGListSharedLinksError.h" #import "DBSHARINGListSharedLinksResult.h" #import "DBSHARINGMemberAccessLevelResult.h" #import "DBSHARINGMemberSelector.h" #import "DBSHARINGModifySharedLinkSettingsError.h" #import "DBSHARINGMountFolderError.h" #import "DBSHARINGParentFolderAccessInfo.h" #import "DBSHARINGPathLinkMetadata.h" #import "DBSHARINGRelinquishFileMembershipError.h" #import "DBSHARINGRelinquishFolderMembershipError.h" #import "DBSHARINGRemoveFileMemberError.h" #import "DBSHARINGRemoveFolderMemberError.h" #import "DBSHARINGRemoveMemberJobStatus.h" #import "DBSHARINGRevokeSharedLinkError.h" #import "DBSHARINGSetAccessInheritanceError.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 "DBSHARINGSharedLinkSettingsError.h" #import "DBSHARINGSharingFileAccessError.h" #import "DBSHARINGSharingUserError.h" #import "DBSHARINGTeamMemberInfo.h" #import "DBSHARINGTransferFolderError.h" #import "DBSHARINGUnmountFolderError.h" #import "DBSHARINGUnshareFileError.h" #import "DBSHARINGUnshareFolderError.h" #import "DBSHARINGUpdateFolderMemberError.h" #import "DBSHARINGUpdateFolderPolicyError.h" #import "DBSHARINGUserAuthRoutes.h" #import "DBSHARINGUserFileMembershipInfo.h" #import "DBSHARINGUserMembershipInfo.h" #import "DBSHARINGVisibility.h" #import "DBStoneBase.h" #import "DBUSERSTeam.h" @implementation DBSHARINGRouteObjects static DBRoute *DBSHARINGAddFileMember; static DBRoute *DBSHARINGAddFolderMember; static DBRoute *DBSHARINGCheckJobStatus; static DBRoute *DBSHARINGCheckRemoveMemberJobStatus; static DBRoute *DBSHARINGCheckShareJobStatus; static DBRoute *DBSHARINGCreateSharedLink; static DBRoute *DBSHARINGCreateSharedLinkWithSettings; static DBRoute *DBSHARINGGetFileMetadata; static DBRoute *DBSHARINGGetFileMetadataBatch; static DBRoute *DBSHARINGGetFolderMetadata; static DBRoute *DBSHARINGGetSharedLinkFile; static DBRoute *DBSHARINGGetSharedLinkMetadata; static DBRoute *DBSHARINGGetSharedLinks; static DBRoute *DBSHARINGListFileMembers; static DBRoute *DBSHARINGListFileMembersBatch; static DBRoute *DBSHARINGListFileMembersContinue; static DBRoute *DBSHARINGListFolderMembers; static DBRoute *DBSHARINGListFolderMembersContinue; static DBRoute *DBSHARINGListFolders; static DBRoute *DBSHARINGListFoldersContinue; static DBRoute *DBSHARINGListMountableFolders; static DBRoute *DBSHARINGListMountableFoldersContinue; static DBRoute *DBSHARINGListReceivedFiles; static DBRoute *DBSHARINGListReceivedFilesContinue; static DBRoute *DBSHARINGListSharedLinks; static DBRoute *DBSHARINGModifySharedLinkSettings; static DBRoute *DBSHARINGMountFolder; static DBRoute *DBSHARINGRelinquishFileMembership; static DBRoute *DBSHARINGRelinquishFolderMembership; static DBRoute *DBSHARINGRemoveFileMember; static DBRoute *DBSHARINGRemoveFileMember2; static DBRoute *DBSHARINGRemoveFolderMember; static DBRoute *DBSHARINGRevokeSharedLink; static DBRoute *DBSHARINGSetAccessInheritance; static DBRoute *DBSHARINGShareFolder; static DBRoute *DBSHARINGTransferFolder; static DBRoute *DBSHARINGUnmountFolder; static DBRoute *DBSHARINGUnshareFile; static DBRoute *DBSHARINGUnshareFolder; static DBRoute *DBSHARINGUpdateFileMember; static DBRoute *DBSHARINGUpdateFolderMember; static DBRoute *DBSHARINGUpdateFolderPolicy; static NSObject *lockObj = nil; + (void)initialize { static dispatch_once_t onceToken; dispatch_once(&onceToken, ^{ lockObj = [[NSObject alloc] init]; }); } + (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; } } + (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; } } + (DBRoute *)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 { @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 { @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; } } + (DBRoute *)DBSHARINGCreateSharedLink { @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; } } + (DBRoute *)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 { @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; } } + (DBRoute *)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 { @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; } } + (DBRoute *)DBSHARINGGetSharedLinkFile { @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; } } + (DBRoute *)DBSHARINGGetSharedLinkMetadata { @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; } } + (DBRoute *)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 { @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; } } + (DBRoute *)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 { @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 { @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; } } + (DBRoute *)DBSHARINGListFolderMembersContinue { @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; } } + (DBRoute *)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 { @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; } } + (DBRoute *)DBSHARINGListMountableFolders { @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; } } + (DBRoute *)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 { @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; } } + (DBRoute *)DBSHARINGListReceivedFilesContinue { @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; } } + (DBRoute *)DBSHARINGListSharedLinks { @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; } } + (DBRoute *)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 { @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 { @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 { @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 { @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; } } + (DBRoute *)DBSHARINGRemoveFileMember2 { @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; } } + (DBRoute *)DBSHARINGRemoveFolderMember { @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:nil errorType:[DBSHARINGRevokeSharedLinkError class] attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} dataStructSerialBlock:nil dataStructDeserialBlock:nil]; } return DBSHARINGRevokeSharedLink; } } + (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; } } + (DBRoute *)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 { @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 { @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; } } + (DBRoute *)DBSHARINGUnshareFile { @synchronized(lockObj) { 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 { @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; } } + (DBRoute *)DBSHARINGUpdateFileMember { @synchronized(lockObj) { 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]; } 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; } } + (DBRoute *)DBSHARINGUpdateFolderPolicy { @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; } } @end ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/RouteObjects/DBTEAMLOGRouteObjects.h ================================================ /// /// 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 TeamLog namespace. Each route in the TeamLog /// namespace has its own static object, which contains information about the /// route. /// @interface DBTEAMLOGRouteObjects : NSObject /// Accessor method for the getEvents route object. + (DBRoute *)DBTEAMLOGGetEvents; /// Accessor method for the getEventsContinue route object. + (DBRoute *)DBTEAMLOGGetEventsContinue; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/RouteObjects/DBTEAMLOGRouteObjects.m ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import "DBTEAMLOGRouteObjects.h" #import "DBRequestErrors.h" #import "DBStoneBase.h" #import "DBTEAMLOGGetTeamEventsContinueError.h" #import "DBTEAMLOGGetTeamEventsError.h" #import "DBTEAMLOGGetTeamEventsResult.h" #import "DBTEAMLOGTeamAuthRoutes.h" #import "DBTEAMLOGTeamEvent.h" @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 { @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; } } + (DBRoute *)DBTEAMLOGGetEventsContinue { @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; } } @end ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/RouteObjects/DBTEAMRouteObjects.h ================================================ /// /// 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 Team namespace. Each route in the Team namespace /// has its own static object, which contains information about the route. /// @interface DBTEAMRouteObjects : NSObject /// Accessor method for the devicesListMemberDevices route object. + (DBRoute *)DBTEAMDevicesListMemberDevices; /// Accessor method for the devicesListMembersDevices route object. + (DBRoute *)DBTEAMDevicesListMembersDevices; /// Accessor method for the devicesListTeamDevices route object. + (DBRoute *)DBTEAMDevicesListTeamDevices; /// Accessor method for the devicesRevokeDeviceSession route object. + (DBRoute *)DBTEAMDevicesRevokeDeviceSession; /// Accessor method for the devicesRevokeDeviceSessionBatch route object. + (DBRoute *)DBTEAMDevicesRevokeDeviceSessionBatch; /// Accessor method for the featuresGetValues route object. + (DBRoute *)DBTEAMFeaturesGetValues; /// Accessor method for the getInfo route object. + (DBRoute *)DBTEAMGetInfo; /// Accessor method for the groupsCreate route object. + (DBRoute *)DBTEAMGroupsCreate; /// Accessor method for the groupsDelete route object. + (DBRoute *)DBTEAMGroupsDelete; /// Accessor method for the groupsGetInfo route object. + (DBRoute *)DBTEAMGroupsGetInfo; /// Accessor method for the groupsJobStatusGet route object. + (DBRoute *)DBTEAMGroupsJobStatusGet; /// Accessor method for the groupsList route object. + (DBRoute *)DBTEAMGroupsList; /// Accessor method for the groupsListContinue route object. + (DBRoute *)DBTEAMGroupsListContinue; /// Accessor method for the groupsMembersAdd route object. + (DBRoute *)DBTEAMGroupsMembersAdd; /// Accessor method for the groupsMembersList route object. + (DBRoute *)DBTEAMGroupsMembersList; /// Accessor method for the groupsMembersListContinue route object. + (DBRoute *)DBTEAMGroupsMembersListContinue; /// Accessor method for the groupsMembersRemove route object. + (DBRoute *)DBTEAMGroupsMembersRemove; /// Accessor method for the groupsMembersSetAccessType route object. + (DBRoute *)DBTEAMGroupsMembersSetAccessType; /// 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; /// Accessor method for the linkedAppsListMembersLinkedApps route object. + (DBRoute *)DBTEAMLinkedAppsListMembersLinkedApps; /// Accessor method for the linkedAppsListTeamLinkedApps route object. + (DBRoute *)DBTEAMLinkedAppsListTeamLinkedApps; /// Accessor method for the linkedAppsRevokeLinkedApp route object. + (DBRoute *)DBTEAMLinkedAppsRevokeLinkedApp; /// Accessor method for the linkedAppsRevokeLinkedAppBatch route object. + (DBRoute *)DBTEAMLinkedAppsRevokeLinkedAppBatch; /// Accessor method for the memberSpaceLimitsExcludedUsersAdd route object. + (DBRoute *)DBTEAMMemberSpaceLimitsExcludedUsersAdd; /// Accessor method for the memberSpaceLimitsExcludedUsersList route object. + (DBRoute *)DBTEAMMemberSpaceLimitsExcludedUsersList; /// Accessor method for the memberSpaceLimitsExcludedUsersListContinue route /// object. + (DBRoute *)DBTEAMMemberSpaceLimitsExcludedUsersListContinue; /// Accessor method for the memberSpaceLimitsExcludedUsersRemove route object. + (DBRoute *)DBTEAMMemberSpaceLimitsExcludedUsersRemove; /// Accessor method for the memberSpaceLimitsGetCustomQuota route object. + (DBRoute *)DBTEAMMemberSpaceLimitsGetCustomQuota; /// Accessor method for the memberSpaceLimitsRemoveCustomQuota route object. + (DBRoute *)DBTEAMMemberSpaceLimitsRemoveCustomQuota; /// Accessor method for the memberSpaceLimitsSetCustomQuota route object. + (DBRoute *)DBTEAMMemberSpaceLimitsSetCustomQuota; /// 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; /// Accessor method for the membersRemove route object. + (DBRoute *)DBTEAMMembersRemove; /// 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; /// Accessor method for the membersUnsuspend route object. + (DBRoute *)DBTEAMMembersUnsuspend; /// Accessor method for the namespacesList route object. + (DBRoute *)DBTEAMNamespacesList; /// Accessor method for the namespacesListContinue route object. + (DBRoute *)DBTEAMNamespacesListContinue; /// Accessor method for the propertiesTemplateAdd route object. + (DBRoute *)DBTEAMPropertiesTemplateAdd; /// Accessor method for the propertiesTemplateGet route object. + (DBRoute *)DBTEAMPropertiesTemplateGet; /// Accessor method for the propertiesTemplateList route object. + (DBRoute *)DBTEAMPropertiesTemplateList; /// Accessor method for the propertiesTemplateUpdate route object. + (DBRoute *)DBTEAMPropertiesTemplateUpdate; /// Accessor method for the reportsGetActivity route object. + (DBRoute *)DBTEAMReportsGetActivity; /// Accessor method for the reportsGetDevices route object. + (DBRoute *)DBTEAMReportsGetDevices; /// Accessor method for the reportsGetMembership route object. + (DBRoute *)DBTEAMReportsGetMembership; /// 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; /// Accessor method for the teamFolderArchive route object. + (DBRoute *)DBTEAMTeamFolderArchive; /// Accessor method for the teamFolderArchiveCheck route object. + (DBRoute *)DBTEAMTeamFolderArchiveCheck; /// Accessor method for the teamFolderCreate route object. + (DBRoute *)DBTEAMTeamFolderCreate; /// Accessor method for the teamFolderGetInfo route object. + (DBRoute *)DBTEAMTeamFolderGetInfo; /// Accessor method for the teamFolderList route object. + (DBRoute *)DBTEAMTeamFolderList; /// Accessor method for the teamFolderListContinue route object. + (DBRoute *)DBTEAMTeamFolderListContinue; /// Accessor method for the teamFolderPermanentlyDelete route object. + (DBRoute *)DBTEAMTeamFolderPermanentlyDelete; /// 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; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/RouteObjects/DBTEAMRouteObjects.m ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import "DBTEAMRouteObjects.h" #import "DBACCOUNTSetProfilePhotoError.h" #import "DBASYNCLaunchEmptyResult.h" #import "DBASYNCLaunchResultBase.h" #import "DBASYNCPollEmptyResult.h" #import "DBASYNCPollError.h" #import "DBASYNCPollResultBase.h" #import "DBFILEPROPERTIESAddTemplateResult.h" #import "DBFILEPROPERTIESGetTemplateResult.h" #import "DBFILEPROPERTIESListTemplateResult.h" #import "DBFILEPROPERTIESModifyTemplateError.h" #import "DBFILEPROPERTIESPropertyFieldTemplate.h" #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" #import "DBTEAMBaseTeamFolderError.h" #import "DBTEAMCOMMONGroupManagementType.h" #import "DBTEAMCOMMONGroupSummary.h" #import "DBTEAMCustomQuotaError.h" #import "DBTEAMCustomQuotaResult.h" #import "DBTEAMDateRangeError.h" #import "DBTEAMDeleteSecondaryEmailsResult.h" #import "DBTEAMDesktopClientSession.h" #import "DBTEAMDevicesActive.h" #import "DBTEAMExcludedUsersListContinueError.h" #import "DBTEAMExcludedUsersListError.h" #import "DBTEAMExcludedUsersListResult.h" #import "DBTEAMExcludedUsersUpdateError.h" #import "DBTEAMExcludedUsersUpdateResult.h" #import "DBTEAMExcludedUsersUpdateStatus.h" #import "DBTEAMFeatureValue.h" #import "DBTEAMFeaturesGetValuesBatchError.h" #import "DBTEAMFeaturesGetValuesBatchResult.h" #import "DBTEAMGetActivityReport.h" #import "DBTEAMGetDevicesReport.h" #import "DBTEAMGetMembershipReport.h" #import "DBTEAMGetStorageReport.h" #import "DBTEAMGroupCreateError.h" #import "DBTEAMGroupDeleteError.h" #import "DBTEAMGroupFullInfo.h" #import "DBTEAMGroupMemberInfo.h" #import "DBTEAMGroupMemberSelectorError.h" #import "DBTEAMGroupMemberSetAccessTypeError.h" #import "DBTEAMGroupMembersAddError.h" #import "DBTEAMGroupMembersChangeResult.h" #import "DBTEAMGroupMembersRemoveError.h" #import "DBTEAMGroupMembersSelectorError.h" #import "DBTEAMGroupSelectorError.h" #import "DBTEAMGroupSelectorWithTeamGroupError.h" #import "DBTEAMGroupUpdateError.h" #import "DBTEAMGroupsGetInfoError.h" #import "DBTEAMGroupsGetInfoItem.h" #import "DBTEAMGroupsListContinueError.h" #import "DBTEAMGroupsListResult.h" #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" #import "DBTEAMListMemberDevicesResult.h" #import "DBTEAMListMembersAppsError.h" #import "DBTEAMListMembersAppsResult.h" #import "DBTEAMListMembersDevicesError.h" #import "DBTEAMListMembersDevicesResult.h" #import "DBTEAMListTeamAppsError.h" #import "DBTEAMListTeamAppsResult.h" #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" #import "DBTEAMRevokeDeviceSessionStatus.h" #import "DBTEAMRevokeLinkedAppBatchError.h" #import "DBTEAMRevokeLinkedAppBatchResult.h" #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" #import "DBTEAMTeamFolderActivateError.h" #import "DBTEAMTeamFolderArchiveError.h" #import "DBTEAMTeamFolderArchiveJobStatus.h" #import "DBTEAMTeamFolderArchiveLaunch.h" #import "DBTEAMTeamFolderCreateError.h" #import "DBTEAMTeamFolderGetInfoItem.h" #import "DBTEAMTeamFolderInvalidStatusError.h" #import "DBTEAMTeamFolderListContinueError.h" #import "DBTEAMTeamFolderListError.h" #import "DBTEAMTeamFolderListResult.h" #import "DBTEAMTeamFolderMetadata.h" #import "DBTEAMTeamFolderPermanentlyDeleteError.h" #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" @implementation DBTEAMRouteObjects static DBRoute *DBTEAMDevicesListMemberDevices; static DBRoute *DBTEAMDevicesListMembersDevices; static DBRoute *DBTEAMDevicesListTeamDevices; static DBRoute *DBTEAMDevicesRevokeDeviceSession; static DBRoute *DBTEAMDevicesRevokeDeviceSessionBatch; static DBRoute *DBTEAMFeaturesGetValues; static DBRoute *DBTEAMGetInfo; static DBRoute *DBTEAMGroupsCreate; static DBRoute *DBTEAMGroupsDelete; static DBRoute *DBTEAMGroupsGetInfo; static DBRoute *DBTEAMGroupsJobStatusGet; static DBRoute *DBTEAMGroupsList; static DBRoute *DBTEAMGroupsListContinue; static DBRoute *DBTEAMGroupsMembersAdd; static DBRoute *DBTEAMGroupsMembersList; static DBRoute *DBTEAMGroupsMembersListContinue; 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; static DBRoute *DBTEAMLinkedAppsRevokeLinkedApp; static DBRoute *DBTEAMLinkedAppsRevokeLinkedAppBatch; static DBRoute *DBTEAMMemberSpaceLimitsExcludedUsersAdd; static DBRoute *DBTEAMMemberSpaceLimitsExcludedUsersList; static DBRoute *DBTEAMMemberSpaceLimitsExcludedUsersListContinue; static DBRoute *DBTEAMMemberSpaceLimitsExcludedUsersRemove; static DBRoute *DBTEAMMemberSpaceLimitsGetCustomQuota; 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; static DBRoute *DBTEAMNamespacesListContinue; static DBRoute *DBTEAMPropertiesTemplateAdd; static DBRoute *DBTEAMPropertiesTemplateGet; static DBRoute *DBTEAMPropertiesTemplateList; static DBRoute *DBTEAMPropertiesTemplateUpdate; static DBRoute *DBTEAMReportsGetActivity; 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; static DBRoute *DBTEAMTeamFolderCreate; static DBRoute *DBTEAMTeamFolderGetInfo; static DBRoute *DBTEAMTeamFolderList; 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 { @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; } } + (DBRoute *)DBTEAMDevicesListMembersDevices { @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; } } + (DBRoute *)DBTEAMDevicesListTeamDevices { @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; } } + (DBRoute *)DBTEAMDevicesRevokeDeviceSession { @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; } } + (DBRoute *)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 { @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 { @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 { @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; } } + (DBRoute *)DBTEAMGroupsDelete { @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; } } + (DBRoute *)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 { @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; } } + (DBRoute *)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 { @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; } } + (DBRoute *)DBTEAMGroupsMembersAdd { @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; } } + (DBRoute *)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 { @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; } } + (DBRoute *)DBTEAMGroupsMembersRemove { @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; } } + (DBRoute *)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 { @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; } } + (DBRoute *)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 { @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 { @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; } } + (DBRoute *)DBTEAMLinkedAppsRevokeLinkedApp { @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; } } + (DBRoute *)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 { @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 { @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 { @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 { @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 { @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 { @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 { @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 { @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 { @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; } } + (DBRoute *)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 { @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 { @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; } } + (DBRoute *)DBTEAMMembersRecover { @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; } } + (DBRoute *)DBTEAMMembersRemove { @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; } } + (DBRoute *)DBTEAMMembersRemoveJobStatusGet { @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:nil errorType:[DBTEAMMembersSendWelcomeError class] attrs:@{@"auth" : @"team", @"host" : @"api", @"style" : @"rpc"} dataStructSerialBlock:nil dataStructDeserialBlock:nil]; } return DBTEAMMembersSendWelcomeEmail; } } + (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; } } + (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; } } + (DBRoute *)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 *)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; } } + (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:[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; } } + (DBRoute *)DBTEAMNamespacesList { @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; } } + (DBRoute *)DBTEAMNamespacesListContinue { @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; } } + (DBRoute *)DBTEAMPropertiesTemplateAdd { @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; } } + (DBRoute *)DBTEAMPropertiesTemplateGet { @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; } } + (DBRoute *)DBTEAMPropertiesTemplateList { @synchronized(lockObj) { 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 { @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; } } + (DBRoute *)DBTEAMReportsGetActivity { @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; } } + (DBRoute *)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 { @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; } } + (DBRoute *)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 { @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; } } + (DBRoute *)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 { @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; } } + (DBRoute *)DBTEAMTeamFolderCreate { @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; } } + (DBRoute *)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 { @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; } } + (DBRoute *)DBTEAMTeamFolderListContinue { @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; } } + (DBRoute *)DBTEAMTeamFolderPermanentlyDelete { @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; } } + (DBRoute *)DBTEAMTeamFolderRename { @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; } } + (DBRoute *)DBTEAMTokenGetAuthenticatedAdmin { @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; } } @end ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/RouteObjects/DBUSERSRouteObjects.h ================================================ /// /// 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 Users namespace. Each route in the Users /// namespace has its own static object, which contains information about the /// route. /// @interface DBUSERSRouteObjects : NSObject /// Accessor method for the featuresGetValues route object. + (DBRoute *)DBUSERSFeaturesGetValues; /// Accessor method for the getAccount route object. + (DBRoute *)DBUSERSGetAccount; /// Accessor method for the getAccountBatch route object. + (DBRoute *)DBUSERSGetAccountBatch; /// Accessor method for the getCurrentAccount route object. + (DBRoute *)DBUSERSGetCurrentAccount; /// Accessor method for the getSpaceUsage route object. + (DBRoute *)DBUSERSGetSpaceUsage; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/RouteObjects/DBUSERSRouteObjects.m ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import "DBUSERSRouteObjects.h" #import "DBCOMMONRootInfo.h" #import "DBRequestErrors.h" #import "DBStoneBase.h" #import "DBUSERSAccount.h" #import "DBUSERSBasicAccount.h" #import "DBUSERSCOMMONAccountType.h" #import "DBUSERSFullAccount.h" #import "DBUSERSFullTeam.h" #import "DBUSERSGetAccountBatchError.h" #import "DBUSERSGetAccountError.h" #import "DBUSERSName.h" #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; 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; } } + (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; } } + (DBRoute *)DBUSERSGetAccountBatch { @synchronized(lockObj) { 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]; }]; }]; } 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; } } + (DBRoute *)DBUSERSGetSpaceUsage { @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; } } @end ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Handwritten/DBAppClient.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// #import #import "DBAppBaseClient.h" @class DBTransportDefaultConfig; NS_ASSUME_NONNULL_BEGIN /// /// Dropbox API Client for all endpoints with auth type "app". /// /// This is the SDK user's primary interface with the Dropbox API. Routes can be accessed via each "namespace" object in /// the instance fields of its parent, `DBAppBaseClient`. To see a full list of the API endpoints available, /// please visit: https://www.dropbox.com/developers/documentation/http/documentation. /// @interface DBAppClient : DBAppBaseClient /// /// Convenience constructor. /// /// Uses standard network configuration parameters. /// /// @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 that 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 that have "app auth" authentication type. /// /// @return An initialized instance. /// - (instancetype)initWithAppKey:(NSString *)appKey appSecret:(NSString *)appSecret; /// /// Full constructor. /// /// @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)initWithTransportConfig:(nullable DBTransportDefaultConfig *)transportConfig; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Handwritten/DBAppClient.m ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// #import "DBAppClient.h" #import "DBTransportDefaultClient.h" #import "DBTransportDefaultConfig.h" @implementation DBAppClient - (instancetype)initWithAppKey:(NSString *)appKey appSecret:(NSString *)appSecret { DBTransportDefaultConfig *transportConfig = [[DBTransportDefaultConfig alloc] initWithAppKey:appKey appSecret:appSecret]; return [self initWithTransportConfig:transportConfig]; } - (instancetype)initWithTransportConfig:(DBTransportDefaultConfig *)transportConfig { DBTransportDefaultClient *transportClient = [[DBTransportDefaultClient alloc] initWithAccessToken:nil tokenUid:nil transportConfig:transportConfig]; return [super initWithTransportClient:transportClient]; } @end ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Handwritten/DBClientsManager.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// #import #import "DBHandlerTypes.h" #import "DBOAuthResultCompletion.h" @class DBUserClient; @class DBTeamClient; @class DBTransportDefaultConfig; @class DBOAuthResult; NS_ASSUME_NONNULL_BEGIN /// /// Dropbox Clients Manager. /// /// This is a convenience class for typical integration cases. /// /// To use this class, see details in the tutorial at: /// https://github.com/dropbox/dropbox-sdk-obj-c/blob/master/README.md. /// @interface DBClientsManager : NSObject /// /// Accessor method for the current Dropbox API consumer app key. /// /// @return The app key of the current Dropbox API app. /// + (nullable NSString *)appKey; /// /// Accessor method for the authorized `DBUserClient` shared instance. /// /// @return The authorized `DBUserClient` shared instance. /// + (nullable DBUserClient *)authorizedClient; /// /// Multi-Dropbox account use case. Returns all current Dropbox user clients. /// /// @return Mapping of `tokenUid` (account ID) to authorized `DBUserClient` instance. /// + (NSDictionary *)authorizedClients; /// /// Accessor method for the authorized `DBTeamClient` shared instance. /// /// @return The the authorized `DBTeamClient` shared instance. /// + (nullable DBTeamClient *)authorizedTeamClient; /// /// Multi-Dropbox account use case. Returns all current Dropbox team clients. /// /// @return Mapping of `tokenUid` (account ID) to authorized `DBTeamClient` instance. /// + (NSDictionary *)authorizedTeamClients; /// /// Multi-Dropbox account use case. Creates and stores a new shared authorized user client instance with the access /// token retrieved from storage via the supplied `tokenUid` key. /// /// @param tokenUid The uid of the stored access token to use to reauthorize. This uid is returned after a successful /// progression through the OAuth flow (via `handleRedirectURL:`) in the `DBAccessToken` field of the `DBOAuthResult` /// object. /// /// @returns Whether a valid token exists in storage for the supplied `tokenUid`. /// + (BOOL)authorizeClientFromKeychain:(nullable NSString *)tokenUid; /// /// Multi-Dropbox account use case. Creates and stores a new shared authorized team client instance with the access /// token retrieved from storage via the supplied `tokenUid` key. /// /// @param tokenUid The uid of the stored access token to use to reauthorize. This uid is returned after a successful /// progression through the OAuth flow (via `handleRedirectURLTeam:`) in the `DBAccessToken` field of the /// `DBOAuthResult` object. /// /// @returns Whether a valid token exists in storage for the supplied `tokenUid`. /// + (BOOL)authorizeTeamClientFromKeychain:(nullable NSString *)tokenUid; /// /// Handles launching the SDK with a redirect url from an external source to authorize a user API client. /// /// Used after OAuth authentication has completed. A `DBUserClient` instance is initialized and the response access /// 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 Whether the URL can be handled. /// + (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. /// /// Used after OAuth authentication has completed. A `DBTeamClient` instance is initialized and the response access /// 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 Whether the URL can be handled. /// + (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 /// access token associated with the supplied `tokenUid`, and removes the assocaited client from the shared clients /// list. /// /// @param tokenUid The uid of the token to clear. /// + (void)unlinkAndResetClient:(NSString *)tokenUid; /// /// Sets to `nil` the active user / team shared authorized client and clears all stored access tokens in `DBKeychain`. /// + (void)unlinkAndResetClients; /// /// Checks if performing an API v1 OAuth 1 token migration is necessary, and if so, performs it. /// /// This method should successfully migrate all stored access tokens in the official Dropbox Core and Sync SDKs from /// April 2012 until present, for both iOS and OS X. The method executes its network requests off the main thread. /// /// Token migration is treated as an atomic operation. Either all tokens that are possible to migrate are migrated at /// once, or none of them are. If all token conversion requests complete successfully, then the `shouldRetry` argument /// in `responseBlock` will be `NO`. If some token conversion requests succeed and some fail, and if the failures are /// for any reason other than network connectivity issues (e.g. token has been invalidated), then the migration will /// continue normally, and those tokens that were unsuccessfully migrated will be skipped, and `shouldRetry` will be /// `NO`. If any of the failures were because of network connectivity issues, none of the tokens will be migrated, and /// `shouldRetry` will be `YES`. /// /// @param responseBlock The custom handler for determining whether to retry the migration. /// @param queue The operation queue on which to execute the supplied response block (defaults to main queue, if `nil`). /// @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 that 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 that have "app auth" authentication type. /// /// @return Whether a token migration will be performed. /// + (BOOL)checkAndPerformV1TokenMigration:(DBTokenMigrationResponseBlock)responseBlock queue:(nullable NSOperationQueue *)queue appKey:(NSString *)appKey appSecret:(NSString *)appSecret; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Handwritten/DBClientsManager.m ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// #import "DBClientsManager.h" #import "DBOAuthManager+Protected.h" #import "DBOAuthResult.h" #import "DBSDKKeychain.h" #import "DBTeamClient.h" #import "DBTransportDefaultClient.h" #import "DBTransportDefaultConfig.h" #import "DBUserClient.h" @implementation DBClientsManager static DBTransportDefaultConfig *s_currentTransportConfig; static NSString *s_appKey; /// An authorized client. This will be set to `nil` if unlinked. static DBUserClient *s_authorizedClient; static NSMutableDictionary *s_tokenUidToAuthorizedClients; /// An authorized team client. This will be set to `nil` if unlinked. static DBTeamClient *s_authorizedTeamClient; static NSMutableDictionary *s_tokenUidToAuthorizedTeamClients; + (void)initialize { if (self != [DBClientsManager class]) return; s_tokenUidToAuthorizedClients = [NSMutableDictionary new]; s_tokenUidToAuthorizedTeamClients = [NSMutableDictionary new]; } + (NSString *)appKey { return s_appKey; } + (void)setAppKey:(NSString *)appKey { s_appKey = appKey; } + (DBTransportDefaultConfig *)transportConfig { return s_currentTransportConfig; } + (void)setTransportConfig:(DBTransportDefaultConfig *)transportConfig { s_currentTransportConfig = transportConfig; } + (DBUserClient *)authorizedClient { @synchronized(self) { return s_authorizedClient; } } + (NSDictionary *)authorizedClients { @synchronized(self) { // return shallow copy return [NSMutableDictionary dictionaryWithDictionary:s_tokenUidToAuthorizedClients]; } } + (DBTeamClient *)authorizedTeamClient { @synchronized(self) { return s_authorizedTeamClient; } } + (NSDictionary *)authorizedTeamClients { @synchronized(self) { // return shallow copy return [NSMutableDictionary dictionaryWithDictionary:s_tokenUidToAuthorizedTeamClients]; } } + (BOOL)authorizeClientFromKeychain:(NSString *)tokenUid { NSAssert([DBOAuthManager sharedOAuthManager], @"Call the appropriate `[DBClientsManager setupWith...]` before calling this method"); DBAccessToken *accessToken = [[DBOAuthManager sharedOAuthManager] retrieveAccessToken:tokenUid]; if (accessToken) { [self db_addAuthorizedClientWithToken:accessToken setAsDefault:YES]; return YES; } return NO; } + (BOOL)authorizeTeamClientFromKeychain:(NSString *)tokenUid { NSAssert([DBOAuthManager sharedOAuthManager], @"Call the appropriate `[DBClientsManager setupWith...]` before calling this method"); DBAccessToken *accessToken = [[DBOAuthManager sharedOAuthManager] retrieveAccessToken:tokenUid]; if (accessToken) { [self db_addAuthorizedTeamClientWithToken:accessToken setAsDefault:YES]; return YES; } return NO; } + (void)setupWithOAuthManager:(DBOAuthManager *)oAuthManager transportConfig:(DBTransportDefaultConfig *)transportConfig { NSAssert(![DBOAuthManager sharedOAuthManager], @"Only call `[DBClientsManager setupWith...]` once"); [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 db_setupHelperWithOAuthManager:oAuthManager transportConfig:transportConfig]; [self db_setupAuthorizedTeamClients]; } + (BOOL)handleRedirectURL:(NSURL *)url completion:(DBOAuthCompletion)completion { return [self db_handleRedirectURL:url isTeam:NO completion:completion]; } + (BOOL)handleRedirectURLTeam:(NSURL *)url completion:(DBOAuthCompletion)completion { return [self db_handleRedirectURL:url isTeam:YES completion:completion]; } + (void)unlinkAndResetClient:(NSString *)tokenUid { if ([DBOAuthManager sharedOAuthManager]) { [[DBOAuthManager sharedOAuthManager] clearStoredAccessToken:tokenUid]; [self db_resetClient:tokenUid]; } } + (void)unlinkAndResetClients { if ([DBOAuthManager sharedOAuthManager]) { [[DBOAuthManager sharedOAuthManager] clearStoredAccessTokens]; [self db_resetClients]; } } + (BOOL)checkAndPerformV1TokenMigration:(DBTokenMigrationResponseBlock)responseBlock queue:(NSOperationQueue *)queue appKey:(NSString *)appKey appSecret:(NSString *)appSecret { return [DBSDKKeychain checkAndPerformV1TokenMigration:responseBlock queue:queue appKey:appKey appSecret:appSecret]; } #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)db_addAuthorizedClient:(DBUserClient *)client tokenUid:(NSString *)tokenUid setAsDefault:(BOOL)setAsDefault { @synchronized(self) { s_tokenUidToAuthorizedClients[tokenUid] = client; if (setAsDefault) { [self db_setAuthorizedClient:client]; } } } + (void)db_addAuthorizedTeamClientWithToken:(DBAccessToken *)token setAsDefault:(BOOL)setAsDefault { if (![DBOAuthManager sharedOAuthManager]) { return; } 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]; } + (void)db_setAuthorizedTeamClient:(DBTeamClient *)client { @synchronized(self) { s_authorizedTeamClient = client; } } + (void)db_addAuthorizedTeamClient:(DBTeamClient *)client tokenUid:(NSString *)tokenUid setAsDefault:(BOOL)setAsDefault { @synchronized(self) { s_tokenUidToAuthorizedTeamClients[tokenUid] = client; if (setAsDefault) { [self db_setAuthorizedTeamClient:client]; } } } + (DBUserClient *)db_authorizedClient:(NSString *)tokenUid { @synchronized(self) { return s_tokenUidToAuthorizedClients[tokenUid]; } } + (DBTeamClient *)db_authorizedTeamClient:(NSString *)tokenUid { @synchronized(self) { return s_tokenUidToAuthorizedTeamClients[tokenUid]; } } + (void)db_removeAuthorizedClient:(NSString *)tokenUid { @synchronized(self) { [s_tokenUidToAuthorizedClients removeObjectForKey:tokenUid]; } } + (void)db_removeAuthorizedTeamClient:(NSString *)tokenUid { @synchronized(self) { [s_tokenUidToAuthorizedTeamClients removeObjectForKey:tokenUid]; } } + (void)db_removeAllAuthorizedClients { @synchronized(self) { [s_tokenUidToAuthorizedClients removeAllObjects]; } } + (void)db_removeAllAuthorizedTeamClients { @synchronized(self) { [s_tokenUidToAuthorizedTeamClients removeAllObjects]; } } + (void)db_setupHelperWithOAuthManager:(DBOAuthManager *)oAuthManager transportConfig:(DBTransportDefaultConfig *)transportConfig { [DBOAuthManager setSharedOAuthManager:oAuthManager]; [self setTransportConfig:transportConfig]; [self setAppKey:transportConfig.appKey]; } + (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)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)db_resetClients { [DBClientsManager db_setAuthorizedClient:nil]; [DBClientsManager db_setAuthorizedTeamClient: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 db_setAuthorizedClient:authorizedClientsCopy[firstUid]]; } } 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 db_setAuthorizedTeamClient:authorizedTeamClientsCopy[firstUid]]; } } } + (BOOL)db_handleRedirectURL:(NSURL *)url isTeam:(BOOL)isTeam completion:(DBOAuthCompletion)completion { NSAssert([DBOAuthManager sharedOAuthManager], @"Call the appropriate `[DBClientsManager setupWith...]` before calling this method"); 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Handwritten/DBSDKImportsShared.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Import generated shared files #import "DBSDKImportsGenerated.h" /// Import handwritten shared files #import "DBAppClient.h" #import "DBClientsManager.h" #import "DBTeamClient.h" #import "DBUserClient.h" /// Networking #import "DBGlobalErrorResponseHandler.h" #import "DBHandlerTypes.h" #import "DBRequestErrors.h" #import "DBTasks.h" #import "DBTasksStorage.h" #import "DBTransportBaseClient.h" #import "DBTransportBaseConfig.h" #import "DBTransportClientProtocol.h" #import "DBTransportDefaultClient.h" #import "DBTransportDefaultConfig.h" /// OAuth #import "DBOAuthManager.h" #import "DBOAuthResult.h" #import "DBOAuthResultCompletion.h" #import "DBSDKKeychain.h" #import "DBScopeRequest.h" #import "DBSharedApplicationProtocol.h" /// Resources #import "DBCustomDatatypes.h" #import "DBCustomRoutes.h" #import "DBCustomTasks.h" #import "DBSDKConstants.h" /// "Generated" Resources #import "DBSerializableProtocol.h" #import "DBStoneBase.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Handwritten/DBTeamClient.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// #import #import "DBTeamBaseClient.h" @class DBUserClient; @class DBTransportDefaultClient; @class DBTransportDefaultConfig; @protocol DBAccessTokenProvider; @class DBAccessToken; @class DBOAuthManager; NS_ASSUME_NONNULL_BEGIN /// /// Dropbox Business (Team) API Client for all endpoints with auth type "team". /// /// This is the SDK user's primary interface with the Dropbox Business (Team) API. Routes can be accessed via each /// "namespace" object in the instance fields of its parent, `DBUserBaseClient`. To see a full list of the Business /// (Team) API endpoints available, please visit: https://www.dropbox.com/developers/documentation/http/teams. /// @interface DBTeamClient : DBTeamBaseClient /// Identifies a unique Dropbox account. Used for the multi Dropbox account case where client objects are each /// associated with a particular Dropbox account. @property (nonatomic, readonly, copy, nullable) NSString *tokenUid; /// /// Convenience initializer. /// /// Uses standard network configuration parameters. /// /// @param accessToken The Dropbox OAuth 2.0 access token used to make requests. /// /// @return An initialized instance. /// - (instancetype)initWithAccessToken:(NSString *)accessToken; /// /// 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. /// `DBTransportDefaultConfig` offers a number of different constructors to customize networking settings. /// /// @return An initialized instance. /// - (instancetype)initWithAccessToken:(NSString *)accessToken transportConfig:(nullable DBTransportDefaultConfig *)transportConfig; /// /// 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 /// 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)initWithAccessToken:(NSString *)accessToken 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. /// /// @note App must have "TeamMemberFileAccess" permissions to use this method. /// /// @param memberId The Dropbox `account_id` of the team member to perform actions on behalf of. e.g. /// "dbid:12345678910..." /// /// @return An initialized User API client instance. /// - (DBUserClient *)userClientWithMemberId:(NSString *)memberId; /// /// Returns the current access token used to make API requests. /// - (nullable NSString *)accessToken; /// /// Returns whether the client is authorized. /// /// @return Whether the client currently has a non-nil OAuth 2.0 access token. /// - (BOOL)isAuthorized; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Handwritten/DBTeamClient.m ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// #import "DBTeamClient.h" #import "DBAccessTokenProvider.h" #import "DBOAuthManager+Protected.h" #import "DBTransportDefaultClient.h" #import "DBTransportDefaultConfig.h" #import "DBUserClient.h" @implementation DBTeamClient - (instancetype)initWithAccessToken:(NSString *)accessToken { return [self initWithAccessToken:accessToken transportConfig:nil]; } - (instancetype)initWithAccessToken:(NSString *)accessToken transportConfig:(DBTransportDefaultConfig *)transportConfig { return [self initWithAccessToken:accessToken tokenUid:nil transportConfig:transportConfig]; } - (instancetype)initWithAccessToken:(NSString *)accessToken tokenUid:(NSString *)tokenUid transportConfig:(DBTransportDefaultConfig *)transportConfig { DBTransportDefaultClient *transportClient = [[DBTransportDefaultClient alloc] initWithAccessToken:accessToken tokenUid:tokenUid transportConfig:transportConfig]; 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; } - (NSString *)accessToken { return _transportClient.accessTokenProvider.accessToken; } - (BOOL)isAuthorized { 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Handwritten/DBUserClient.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// #import #import "DBCOMMONPathRoot.h" #import "DBUserBaseClient.h" @class DBTransportDefaultClient; @class DBTransportDefaultConfig; @protocol DBAccessTokenProvider; @class DBAccessToken; @class DBOAuthManager; NS_ASSUME_NONNULL_BEGIN /// /// Dropbox User API Client for all endpoints with auth type "user". /// /// This is the SDK user's primary interface with the Dropbox API. Routes can be accessed via each "namespace" object in /// the instance fields of its parent, `DBUserBaseClient`. To see a full list of the User API endpoints available, /// please visit: https://www.dropbox.com/developers/documentation/http/documentation. /// @interface DBUserClient : DBUserBaseClient /// Identifies a unique Dropbox account. Used for the multi Dropbox account case where client objects are each /// associated with a particular Dropbox account. @property (nonatomic, readonly, copy, nullable) NSString *tokenUid; /// /// Convenience initializer. /// /// Uses standard network configuration parameters. /// /// @param accessToken The Dropbox OAuth 2.0 access token used to make requests. /// /// @return An initialized instance. /// - (instancetype)initWithAccessToken:(NSString *)accessToken; /// /// 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. /// `DBTransportDefaultConfig` offers a number of different constructors to customize networking settings. /// /// @return An initialized instance. /// - (instancetype)initWithAccessToken:(NSString *)accessToken transportConfig:(nullable DBTransportDefaultConfig *)transportConfig; /// /// Convenience initializer. /// /// @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. /// `DBTransportDefaultConfig` offers a number of different constructors to customize networking settings. /// /// @return An initialized instance. /// - (instancetype)initWithAccessToken:(NSString *)accessToken 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. /// - (nullable NSString *)accessToken; /// /// Returns whether the client is authorized. /// /// @return Whether the client currently has a non-nil OAuth 2.0 access token. /// - (BOOL)isAuthorized; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Handwritten/DBUserClient.m ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// #import "DBUserClient.h" #import "DBAccessTokenProvider.h" #import "DBOAuthManager+Protected.h" #import "DBTransportDefaultClient.h" #import "DBTransportDefaultConfig.h" @implementation DBUserClient - (instancetype)initWithAccessToken:(NSString *)accessToken { return [self initWithAccessToken:accessToken transportConfig:nil]; } - (instancetype)initWithAccessToken:(NSString *)accessToken transportConfig:(DBTransportDefaultConfig *)transportConfig { return [self initWithAccessToken:accessToken tokenUid:nil transportConfig:transportConfig]; } - (instancetype)initWithAccessToken:(NSString *)accessToken tokenUid:(NSString *)tokenUid transportConfig:(DBTransportDefaultConfig *)transportConfig { DBTransportDefaultClient *transportClient = [[DBTransportDefaultClient alloc] initWithAccessToken:accessToken tokenUid:tokenUid transportConfig:transportConfig]; 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; } - (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.accessTokenProvider.accessToken; } - (BOOL)isAuthorized { return _transportClient.accessTokenProvider != nil; } @end ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Handwritten/Networking/DBDelegate.m ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// #import "DBDelegate.h" #import "DBSDKConstants.h" #import "DBSessionData.h" #pragma mark - Initializers @implementation DBDelegate { NSOperationQueue *_delegateQueue; NSMutableDictionary *_sessionData; } - (instancetype)initWithQueue:(NSOperationQueue *)delegateQueue { self = [super init]; if (self) { _delegateQueue = delegateQueue ?: [NSOperationQueue new]; [_delegateQueue setMaxConcurrentOperationCount:1]; _sessionData = [NSMutableDictionary new]; } return self; } #pragma mark - Delegate protocol methods - (void)URLSession:(NSURLSession *)session dataTask:(NSURLSessionDataTask *)dataTask didReceiveData:(NSData *)data { DBSessionData *sessionData = [self sessionDataWithSession:session]; NSNumber *taskId = @(dataTask.taskIdentifier); if (sessionData.responsesData[taskId]) { [sessionData.responsesData[taskId] appendData:data]; } else { sessionData.responsesData[taskId] = [NSMutableData dataWithData:data]; } } - (void)URLSession:(NSURLSession *)session task:(NSURLSessionTask *)task didCompleteWithError:(NSError *)error { DBSessionData *sessionData = [self sessionDataWithSession:session]; NSNumber *taskId = @(task.taskIdentifier); if (error && [task isKindOfClass:[NSURLSessionDownloadTask class]]) { DBDownloadResponseBlockStorage responseHandler = sessionData.downloadHandlers[taskId]; if (responseHandler) { NSOperationQueue *queueToUse = sessionData.responseHandlerQueues[taskId] ?: [NSOperationQueue mainQueue]; [queueToUse addOperationWithBlock:^{ responseHandler(nil, task.response, error); }]; [sessionData.downloadHandlers removeObjectForKey:taskId]; [sessionData.progressHandlers removeObjectForKey:taskId]; [sessionData.progressData removeObjectForKey:taskId]; [sessionData.responsesData removeObjectForKey:taskId]; [sessionData.responseHandlerQueues removeObjectForKey:taskId]; [sessionData.progressHandlerQueues removeObjectForKey:taskId]; } else { sessionData.completionData[taskId] = [[DBCompletionData alloc] initWithCompletionData:nil responseMetadata:task.response responseError:error urlOutput:nil]; } } else if ([task isKindOfClass:[NSURLSessionUploadTask class]]) { NSMutableData *responseData = sessionData.responsesData[taskId]; DBUploadResponseBlockStorage responseHandler = sessionData.uploadHandlers[taskId]; if (responseHandler) { NSOperationQueue *queueToUse = sessionData.responseHandlerQueues[taskId] ?: [NSOperationQueue mainQueue]; [queueToUse addOperationWithBlock:^{ responseHandler(responseData, task.response, error); }]; [sessionData.uploadHandlers removeObjectForKey:taskId]; [sessionData.progressHandlers removeObjectForKey:taskId]; [sessionData.progressData removeObjectForKey:taskId]; [sessionData.responsesData removeObjectForKey:taskId]; [sessionData.responseHandlerQueues removeObjectForKey:taskId]; [sessionData.progressHandlerQueues removeObjectForKey:taskId]; } else { sessionData.completionData[taskId] = [[DBCompletionData alloc] initWithCompletionData:responseData responseMetadata:task.response responseError:error urlOutput:nil]; } } else if ([task isKindOfClass:[NSURLSessionDataTask class]]) { NSMutableData *responseData = sessionData.responsesData[taskId]; DBRpcResponseBlockStorage responseHandler = sessionData.rpcHandlers[taskId]; if (responseHandler) { NSOperationQueue *queueToUse = sessionData.responseHandlerQueues[taskId] ?: [NSOperationQueue mainQueue]; [queueToUse addOperationWithBlock:^{ responseHandler(responseData, task.response, error); }]; [sessionData.rpcHandlers removeObjectForKey:taskId]; [sessionData.progressHandlers removeObjectForKey:taskId]; [sessionData.progressData removeObjectForKey:taskId]; [sessionData.responsesData removeObjectForKey:taskId]; [sessionData.responseHandlerQueues removeObjectForKey:taskId]; [sessionData.progressHandlerQueues removeObjectForKey:taskId]; } else { sessionData.completionData[taskId] = [[DBCompletionData alloc] initWithCompletionData:responseData responseMetadata:task.response responseError:error urlOutput:nil]; } } } - (void)URLSession:(NSURLSession *)session task:(NSURLSessionTask *)task didSendBodyData:(int64_t)bytesSent totalBytesSent:(int64_t)totalBytesSent totalBytesExpectedToSend:(int64_t)totalBytesExpectedToSend { DBSessionData *sessionData = [self sessionDataWithSession:session]; NSNumber *taskId = @(task.taskIdentifier); if ([task isKindOfClass:[NSURLSessionDataTask class]]) { DBProgressBlock progressHandler = sessionData.progressHandlers[taskId]; if (progressHandler) { NSOperationQueue *queueToUse = sessionData.progressHandlerQueues[taskId] ?: [NSOperationQueue mainQueue]; [queueToUse addOperationWithBlock:^{ progressHandler(bytesSent, totalBytesSent, totalBytesExpectedToSend); }]; } else { sessionData.progressData[taskId] = [[DBProgressData alloc] initWithProgressData:bytesSent totalCommitted:totalBytesSent expectedToCommit:totalBytesExpectedToSend]; } } } - (void)URLSession:(NSURLSession *)session downloadTask:(NSURLSessionDownloadTask *)downloadTask didWriteData:(int64_t)bytesWritten totalBytesWritten:(int64_t)totalBytesWritten totalBytesExpectedToWrite:(int64_t)totalBytesExpectedToWrite { DBSessionData *sessionData = [self sessionDataWithSession:session]; NSNumber *taskId = @(downloadTask.taskIdentifier); DBProgressBlock progressHandler = sessionData.progressHandlers[taskId]; if (progressHandler) { NSOperationQueue *queueToUse = sessionData.progressHandlerQueues[taskId] ?: [NSOperationQueue mainQueue]; [queueToUse addOperationWithBlock:^{ progressHandler(bytesWritten, totalBytesWritten, totalBytesExpectedToWrite); }]; } else { sessionData.progressData[taskId] = [[DBProgressData alloc] initWithProgressData:bytesWritten totalCommitted:totalBytesWritten expectedToCommit:totalBytesExpectedToWrite]; } } - (void)URLSession:(NSURLSession *)session downloadTask:(NSURLSessionDownloadTask *)downloadTask didFinishDownloadingToURL:(NSURL *)location { DBSessionData *sessionData = [self sessionDataWithSession:session]; NSNumber *taskId = @(downloadTask.taskIdentifier); DBDownloadResponseBlockStorage responseHandler = sessionData.downloadHandlers[taskId]; NSError *fileError = nil; NSString *tmpOutputPath = [self moveFileToTempStorage:location fileError:&fileError]; NSURL *tmpOutputUrl = fileError == nil ? [NSURL URLWithString:tmpOutputPath] : nil; if (responseHandler) { NSOperationQueue *queueToUse = sessionData.responseHandlerQueues[taskId] ?: [NSOperationQueue mainQueue]; [queueToUse addOperationWithBlock:^{ responseHandler(tmpOutputUrl, downloadTask.response, fileError); }]; [sessionData.downloadHandlers removeObjectForKey:taskId]; [sessionData.progressHandlers removeObjectForKey:taskId]; [sessionData.progressData removeObjectForKey:taskId]; [sessionData.responsesData removeObjectForKey:taskId]; [sessionData.responseHandlerQueues removeObjectForKey:taskId]; [sessionData.progressHandlerQueues removeObjectForKey:taskId]; } else { sessionData.completionData[taskId] = [[DBCompletionData alloc] initWithCompletionData:nil responseMetadata:downloadTask.response responseError:fileError urlOutput:tmpOutputUrl]; } } - (NSString *)moveFileToTempStorage:(NSURL *)startingLocation fileError:(NSError **)fileError { NSString *tmpOutputPath = nil; NSFileManager *fileManager = [NSFileManager defaultManager]; NSString *tmpDirPath = NSTemporaryDirectory(); BOOL isDir = NO; BOOL success = YES; if (![fileManager fileExistsAtPath:tmpDirPath isDirectory:&isDir]) { success = [fileManager createDirectoryAtPath:tmpDirPath withIntermediateDirectories:YES attributes:nil error:fileError]; } if (success) { tmpOutputPath = [tmpDirPath stringByAppendingPathComponent:[NSUUID UUID].UUIDString]; [fileManager moveItemAtPath:[startingLocation path] toPath:tmpOutputPath error:fileError]; } return tmpOutputPath; } - (void)addProgressHandlerForTaskWithIdentifier:(NSUInteger)identifier session:(NSURLSession *)session progressHandler:(void (^)(int64_t, int64_t, int64_t))handler progressHandlerQueue:(NSOperationQueue *)handlerQueue { [_delegateQueue addOperationWithBlock:^{ NSNumber *taskId = @(identifier); DBSessionData *sessionData = [self sessionDataWithSession:session]; DBProgressData *progressData = sessionData.progressData[taskId]; if (progressData) { NSOperationQueue *queueToUse = handlerQueue ?: [NSOperationQueue mainQueue]; [queueToUse addOperationWithBlock:^{ handler(progressData.committed, progressData.totalCommitted, progressData.expectedToCommit); }]; [sessionData.progressData removeObjectForKey:taskId]; } else { sessionData.progressHandlers[taskId] = handler; if (handlerQueue) { sessionData.progressHandlerQueues[taskId] = handlerQueue; } } }]; } #pragma mark - Add RPC-style handler - (void)addRpcResponseHandlerForTaskWithIdentifier:(NSUInteger)identifier session:(NSURLSession *)session responseHandler:(DBRpcResponseBlockStorage)handler responseHandlerQueue:(NSOperationQueue *)handlerQueue { [_delegateQueue addOperationWithBlock:^{ NSNumber *taskId = @(identifier); DBSessionData *sessionData = [self sessionDataWithSession:session]; DBCompletionData *completionData = sessionData.completionData[taskId]; if (completionData) { NSOperationQueue *queueToUse = handlerQueue ?: [NSOperationQueue mainQueue]; [queueToUse addOperationWithBlock:^{ handler(completionData.responseBody, completionData.responseMetadata, completionData.responseError); }]; [sessionData.progressData removeObjectForKey:taskId]; [sessionData.completionData removeObjectForKey:taskId]; [sessionData.rpcHandlers removeObjectForKey:taskId]; [sessionData.progressHandlers removeObjectForKey:taskId]; [sessionData.responseHandlerQueues removeObjectForKey:taskId]; [sessionData.progressHandlerQueues removeObjectForKey:taskId]; } else { sessionData.rpcHandlers[taskId] = handler; if (handlerQueue) { sessionData.responseHandlerQueues[taskId] = handlerQueue; } } }]; } #pragma mark - Add Upload-style handler - (void)addUploadResponseHandlerForTaskWithIdentifier:(NSUInteger)identifier session:(NSURLSession *)session responseHandler:(DBUploadResponseBlockStorage)handler responseHandlerQueue:(NSOperationQueue *)handlerQueue { [_delegateQueue addOperationWithBlock:^{ NSNumber *taskId = @(identifier); DBSessionData *sessionData = [self sessionDataWithSession:session]; DBCompletionData *completionData = sessionData.completionData[taskId]; if (completionData) { NSOperationQueue *queueToUse = handlerQueue ?: [NSOperationQueue mainQueue]; [queueToUse addOperationWithBlock:^{ handler(completionData.responseBody, completionData.responseMetadata, completionData.responseError); }]; [sessionData.progressData removeObjectForKey:taskId]; [sessionData.completionData removeObjectForKey:taskId]; [sessionData.uploadHandlers removeObjectForKey:taskId]; [sessionData.progressHandlers removeObjectForKey:taskId]; [sessionData.responseHandlerQueues removeObjectForKey:taskId]; [sessionData.progressHandlerQueues removeObjectForKey:taskId]; } else { sessionData.uploadHandlers[taskId] = handler; if (handlerQueue) { sessionData.responseHandlerQueues[taskId] = handlerQueue; } } }]; } #pragma mark - Add Download-style handler - (void)addDownloadResponseHandlerForTaskWithIdentifier:(NSUInteger)identifier session:(NSURLSession *)session responseHandler:(DBDownloadResponseBlockStorage)handler responseHandlerQueue:(NSOperationQueue *)handlerQueue { [_delegateQueue addOperationWithBlock:^{ NSNumber *taskId = @(identifier); DBSessionData *sessionData = [self sessionDataWithSession:session]; DBCompletionData *completionData = sessionData.completionData[taskId]; if (completionData) { NSOperationQueue *queueToUse = handlerQueue ?: [NSOperationQueue mainQueue]; [queueToUse addOperationWithBlock:^{ handler(completionData.urlOutput, completionData.responseMetadata, completionData.responseError); }]; [sessionData.progressData removeObjectForKey:taskId]; [sessionData.completionData removeObjectForKey:taskId]; [sessionData.downloadHandlers removeObjectForKey:taskId]; [sessionData.progressHandlers removeObjectForKey:taskId]; [sessionData.responseHandlerQueues removeObjectForKey:taskId]; [sessionData.progressHandlerQueues removeObjectForKey:taskId]; } else { sessionData.downloadHandlers[taskId] = handler; if (handlerQueue) { sessionData.responseHandlerQueues[taskId] = handlerQueue; } } }]; } - (NSString *)sessionIdWithSession:(NSURLSession *)session { return session.configuration.identifier ?: session.sessionDescription ?: kDBSDKForegroundSessionId; } - (DBSessionData *)sessionDataWithSession:(NSURLSession *)session { NSString *sessionId = [self sessionIdWithSession:session]; if (!_sessionData[sessionId]) { _sessionData[sessionId] = [[DBSessionData alloc] initWithSessionId:sessionId]; } return _sessionData[sessionId]; } @end ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Handwritten/Networking/DBGlobalErrorResponseHandler.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// #import @class DBRequestError; @class DBTask; NS_ASSUME_NONNULL_BEGIN /// /// Allows for consistent, global handling of route-specific error types, as well as general network errors. /// /// Normally, error handling is done on a request-by-request basis, in the supplied response handler. However, it is /// convenient to handle some error behavior consistently, regardless of the request or the endpoint. An example of this /// might be implementing retry logic for all rate-limiting errors, regardless of their source. For implementing global /// error handling for general networking errors like rate-limiting, one of the `registerNetworkErrorResponseBlock:` /// methods should be used. For implementing global error handling for route-specific errors, one of the /// `registerRouteErrorResponseBlock:` methods should be used. /// /// For the route-specific error handling, you may supply either the direct route error type, or any type that the route /// error type contains as an instance field (or an instance field of an instance field, and so on). /// /// @note These globally supplied response handlers will be executed *in place* of the original request-specific /// response handler. At most one global response handler will be executed, with the prioirty going to the general /// network /// response handler, followed by the handler that is associated directly with the route's error response type, followed /// by the handler associated with the first matching instance field. /// @interface DBGlobalErrorResponseHandler : NSObject // Global response handler for route-specific errors. The first parameter is the route specific error to handle. The // second paramater is the general network error to handle. The third parameter is the SDK wrapper task used to restart // the request, if necessary. typedef void (^DBRouteErrorResponseBlock)(id _Nullable routeError, DBRequestError *networkError, DBTask *restartTask); // Global response handler for general network errors. The first parameter is the general network error to handle. The // second parameter is the SDK wrapper task used to restart the request, if necessary. typedef void (^DBNetworkErrorResponseBlock)(DBRequestError *networkError, DBTask *restartTask); /// /// Convenience method for registering a global error handler for a specific route error type. /// /// @param routeErrorResponseBlock The response block for globally handling the route error. /// @param routeErrorType The error type with which to associate the supplied response block. Note, this method searches /// the route error type's instance fields recursively, so this error type may potentially match not only the route /// error type, but any of its instance fields, and its instance fields' instance fields, and so on. /// + (void)registerRouteErrorResponseBlock:(DBRouteErrorResponseBlock)routeErrorResponseBlock routeErrorType:(Class)routeErrorType; /// /// Registers a global error handler for a specific route error type. /// /// @param routeErrorResponseBlock The response block for globally handling the route error. /// @param routeErrorType The error type with which to associate the supplied response block. Note, this method searches /// the route error type's instance fields recursively, so this error type may potentially match not only the route /// error type, but any of its instance fields, and its instance fields' instance fields, and so on. /// @param queue The operation queue on which to execute the supplied global response handler. /// + (void)registerRouteErrorResponseBlock:(DBRouteErrorResponseBlock)routeErrorResponseBlock routeErrorType:(Class)routeErrorType queue:(nullable NSOperationQueue *)queue; /// /// Removes the global error handler associated with the supplied error type. /// /// routeErrorType The associated error type of the response handler to be removed. /// + (void)removeRouteErrorResponseBlockWithRouteErrorType:(Class)routeErrorType; /// /// Convenience method for registering a single global error handler for handling general network errors. /// /// @note Only one block at a time may be set for handling all general network errors. /// /// @param networkErrorResponseBlock The response block for globally handling network errors. /// + (void)registerNetworkErrorResponseBlock:(DBNetworkErrorResponseBlock)networkErrorResponseBlock; /// /// Registers a single global error handler for handling general network errors. /// /// @note Only one block at a time may be set for handling all general network errors. /// /// @param networkErrorResponseBlock The response block for globally handling network errors. /// @param queue The operation queue on which to execute the supplied global response handler. /// + (void)registerNetworkErrorResponseBlock:(DBNetworkErrorResponseBlock)networkErrorResponseBlock queue:(nullable NSOperationQueue *)queue; /// /// Removes the single global error handler for general network errors. /// + (void)removeNetworkErrorResponseBlock; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Handwritten/Networking/DBGlobalErrorResponseHandler.m ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// #import "DBGlobalErrorResponseHandler.h" #import "DBRequestErrors.h" #import "DBTasks.h" #import "DBTransportBaseClient+Internal.h" #import static DBNetworkErrorResponseBlock s_networkErrorResponseBlock = nil; static NSOperationQueue *s_networkErrorQueue; static NSMutableDictionary *_Nullable s_routeErrorToResponseBlock; static NSMutableDictionary *_Nullable s_routeErrorToQueue; @implementation DBGlobalErrorResponseHandler + (void)initialize { static dispatch_once_t once; dispatch_once(&once, ^{ s_networkErrorQueue = [NSOperationQueue mainQueue]; s_routeErrorToResponseBlock = [NSMutableDictionary new]; s_routeErrorToQueue = [NSMutableDictionary new]; }); } + (void)registerRouteErrorResponseBlock:(DBRouteErrorResponseBlock)routeResponseBlock routeErrorType:(id)routeErrorType { [self registerRouteErrorResponseBlock:routeResponseBlock routeErrorType:routeErrorType queue:nil]; } + (void)registerRouteErrorResponseBlock:(DBRouteErrorResponseBlock)routeResponseBlock routeErrorType:(id)routeErrorType queue:(NSOperationQueue *)queue { NSOperationQueue *queueToUse = queue ?: [NSOperationQueue mainQueue]; @synchronized([DBGlobalErrorResponseHandler class]) { s_routeErrorToResponseBlock[routeErrorType] = routeResponseBlock; s_routeErrorToQueue[routeErrorType] = queueToUse; } } + (void)removeRouteErrorResponseBlockWithRouteErrorType:(id)routeErrorType { @synchronized([DBGlobalErrorResponseHandler class]) { [s_routeErrorToResponseBlock removeObjectForKey:routeErrorType]; [s_routeErrorToQueue removeObjectForKey:routeErrorType]; } } + (void)registerNetworkErrorResponseBlock:(DBNetworkErrorResponseBlock)networkErrorResponseBlock { [self registerNetworkErrorResponseBlock:networkErrorResponseBlock queue:nil]; } + (void)registerNetworkErrorResponseBlock:(DBNetworkErrorResponseBlock)networkErrorResponseBlock queue:(nullable NSOperationQueue *)queue { NSOperationQueue *queueToUse = queue ?: [NSOperationQueue mainQueue]; @synchronized([DBGlobalErrorResponseHandler class]) { s_networkErrorResponseBlock = networkErrorResponseBlock; if (queueToUse) { s_networkErrorQueue = queueToUse; } } } + (void)removeNetworkErrorResponseBlock { @synchronized([DBGlobalErrorResponseHandler class]) { s_networkErrorResponseBlock = nil; s_networkErrorQueue = [NSOperationQueue mainQueue]; } } + (void)executeRegisteredResponseBlocksWithRouteError:(id)routeError networkError:(DBRequestError *)networkError restartTask:(DBTask *)restartTask { if (routeError && [s_routeErrorToResponseBlock count] > 0) { // execute route error block Class errorClass = [routeError class]; NSDictionary *fieldClassToValue = [self fieldDataFromRouteError:routeError]; @synchronized([DBGlobalErrorResponseHandler class]) { NSOperationQueue *queueToUse = s_routeErrorToQueue[errorClass]; DBRouteErrorResponseBlock routeErrorBlock = s_routeErrorToResponseBlock[errorClass]; if (routeErrorBlock) { [queueToUse addOperationWithBlock:^{ routeErrorBlock(routeError, networkError, restartTask); }]; } for (Class fieldClass in fieldClassToValue) { DBRouteErrorResponseBlock routeErrorBlockForField = s_routeErrorToResponseBlock[fieldClass]; id fieldValue = fieldClassToValue[fieldClass]; if (routeErrorBlockForField) { [queueToUse addOperationWithBlock:^{ routeErrorBlockForField(fieldValue, networkError, restartTask); }]; } } } } // execute network error block if (networkError) { if ([networkError isHttpError]) { DBRequestHttpError *httpError = [networkError asHttpError]; // for normal route errors, we don't want to execute the catch-all network block if ([DBTransportBaseClient statusCodeIsRouteError:[httpError.statusCode intValue]]) { return; } } @synchronized([DBGlobalErrorResponseHandler class]) { DBNetworkErrorResponseBlock networkErrorBlock = s_networkErrorResponseBlock; if (networkErrorBlock) { NSOperationQueue *queueToUse = s_networkErrorQueue; [queueToUse addOperationWithBlock:^{ networkErrorBlock(networkError, restartTask); }]; } } } } + (NSDictionary *)fieldDataFromRouteError:(DBRequestError *)routeError { Class errorClass = [routeError class]; NSMutableDictionary *result = [NSMutableDictionary new]; // from http://stackoverflow.com/questions/16861204/property-type-or-class-using-reflection unsigned int count; objc_property_t *props = class_copyPropertyList([errorClass class], &count); NSString *tagValue = nil; for (unsigned int i = 0; i < count; i++) { objc_property_t property = props[i]; const char *name = property_getName(property); NSString *propertyName = [NSString stringWithCString:name encoding:NSUTF8StringEncoding]; if ([propertyName isEqualToString:@"tag"]) { tagValue = [routeError tagName]; break; } } for (unsigned int i = 0; i < count; i++) { objc_property_t property = props[i]; const char *name = property_getName(property); NSString *propertyName = [NSString stringWithCString:name encoding:NSUTF8StringEncoding]; const char *type = property_getAttributes(property); NSString *typeString = [NSString stringWithCString:type encoding:NSUTF8StringEncoding]; NSArray *attributes = [typeString componentsSeparatedByString:@","]; NSString *typeAttribute = [attributes objectAtIndex:0]; if ([typeAttribute hasPrefix:@"T@"]) { NSString *typeClassName = [typeAttribute substringWithRange:NSMakeRange(3, [typeAttribute length] - 4)]; // turns T@"NSDate" into NSDate Class typeClass = NSClassFromString(typeClassName); if (typeClass != nil && typeClass != [NSString class]) { @try { // We want to make sure that we only access fields that correspond to the // correct Union tag state. This check should filter most cases, but because // of the imprecision of reflection, we still want the try catch block. We use // a string contains comparison because of the structure of property name and // the tag value. // // For example, for a `/files/list_folder` error, for the `path` tag, we have an SDK tag // type of `DBFILESListFolderErrorPath`, whose corresponding value is accessible via // the error's instance field called `path`. For this reason, we want to compare // `DBFILESListFolderErrorPath` and `path` with an insensitive string contains call. // Because the instance field name `path` is not tightly linked to the tag type // `DBFILESListFolderErrorPath`, we still want the try catch block. if (tagValue && [tagValue rangeOfString:propertyName options:NSCaseInsensitiveSearch].location == NSNotFound) { continue; } id object = [routeError valueForKey:propertyName]; result[(id)typeClass] = object; // recursively retrieve instance data NSDictionary *additionalData = [self fieldDataFromRouteError:object]; [result addEntriesFromDictionary:additionalData]; } @catch (NSException *) { } } } } return result; } @end ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Handwritten/Networking/DBHandlerTypes.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Public handler types. /// #import @class DBASYNCPollError; @class DBFILESUploadSessionFinishBatchJobStatus; @class DBFILESUploadSessionFinishBatchResultEntry; @class DBRequestError; NS_ASSUME_NONNULL_BEGIN /// 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 number of /// total bytes expected to be downloaded. typedef void (^DBProgressBlock)(int64_t bytesWritten, int64_t totalBytesWritten, int64_t totalBytesExpectedToWrite); /// Special custom response block for batch upload. The first argument is a mapping of client-side NSURLs to batch /// upload result entries (each of which indicates the success / failure of the upload for the corresponding file). This /// object will be nonnull if the final call to `/upload_session/finish_batch/check` is successful. The second argument /// is the route-specific error from `/upload_session/finish_batch/check`, which is generally not able to be handled at /// runtime, but instead should be used for debugging purposes. This object will be nonnull if there is a route-specific /// error from the call to `/upload_session/finish_batch/check`. The third argument is the general request error from /// `/upload_session/finish_batch/check`. This object will be nonnull if there is a request error from the call to /// `/upload_session/finish_batch/check`. The fourth argument is a mapping of client-side NSURLs to general request /// errors, which occured during the upload of the corresponding file. typedef void (^DBBatchUploadResponseBlock)( NSDictionary *_Nullable fileUrlsToBatchResultEntries, DBASYNCPollError *_Nullable finishBatchRouteError, DBRequestError *_Nullable finishBatchRequestError, NSDictionary *fileUrlsToRequestErrors); /// Special custom response block for performing SDK token migration between API v1 tokens and API v2 tokens. First /// argument indicates whether the migration should be attempted again (primarily when there was no active network /// connection). The second argument indicates whether the supplied app key and / or secret is invalid for some or /// all tokens. The third argument is a list of token data for each token that was unsuccessfully migrated. Each /// element in the list is a list of length 4, where the first element is the Dropbox user ID, the second element /// is the OAuth 1 access token, the third element is the OAuth 1 access token secret, and the fourth element /// is the consumer app key that was stored with the token. typedef void (^DBTokenMigrationResponseBlock)(BOOL shouldRetry, BOOL invalidAppKeyOrSecret, NSArray *> *unsuccessfullyMigratedTokenData); NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Handwritten/Networking/DBRequestErrors.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// #import @class DBAUTHAccessError; @class DBAUTHAuthError; @class DBAUTHRateLimitError; @class DBCOMMONPathRootError; 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 /// /// Http request error. /// /// Contains relevant information regarding a failed network request. All error types except for DBClientError extend /// this class as children. Initialized in the event of a generic, unidentified HTTP error. /// @interface DBRequestHttpError : NSObject /// The Dropbox request id of the network call. This is useful to Dropbox for debugging issues with Dropbox's SDKs and /// API. Please include the value of this field when submitting technical support inquiries to Dropbox. @property (nonatomic, readonly, copy) NSString *requestId; /// The HTTP response status code of the request. @property (nonatomic, readonly) NSNumber *statusCode; /// 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. @property (nonatomic, readonly, copy) NSString *errorContent; /// 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. /// /// @param requestId The Dropbox request id of the network call. This is useful to Dropbox for debugging issues with /// 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. If for a route-specific /// error, this field will be the value of the "error_summary" key. /// @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 DBLocalizedUserMessage *)userMessage; /// /// Description method. /// /// @return A human-readable representation of the current DBRequestHttpError object. /// - (NSString *)description; @end #pragma mark - Bad Input error /// /// Bad Input request error. /// /// Contains relevant information regarding a failed network request. Initialized in the event of an HTTP 400 response. /// Extends DBRequestHttpError. /// @interface DBRequestBadInputError : DBRequestHttpError /// /// DBRequestBadInputError full constructor. /// /// @param requestId The Dropbox request id of the network call. This is useful to Dropbox for debugging issues with /// 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. If for a route-specific /// error, this field will be the value of the "error_summary" key. /// @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 DBLocalizedUserMessage *)userMessage; /// /// Description method. /// /// @return A human-readable representation of the current DBRequestBadInputError object. /// - (NSString *)description; @end #pragma mark - Auth error /// /// Auth request error. /// /// Contains relevant information regarding a failed network request. Initialized in the event of an HTTP 401 response. /// Extends DBRequestHttpError. /// @interface DBRequestAuthError : DBRequestHttpError /// The structured object returned by the Dropbox API in the event of a 401 auth /// error. @property (nonatomic, readonly) DBAUTHAuthError *structuredAuthError; /// /// DBRequestAuthError full constructor. /// /// @param requestId The Dropbox request id of the network call. This is useful to Dropbox for debugging issues with /// 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. If for a route-specific /// error, this field will be the value of the "error_summary" key. /// @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. /// - (instancetype)init:(NSString *)requestId statusCode:(NSNumber *)statusCode errorContent:(NSString *)errorContent userMessage:(nullable DBLocalizedUserMessage *)userMessage structuredAuthError:(DBAUTHAuthError *)structuredAuthError; /// /// Description method. /// /// @return A human-readable representation of the current DBRequestAuthError object. /// - (NSString *)description; @end #pragma mark - Access error /// /// Access request error. /// /// Contains relevant information regarding a failed network request. Initialized in the event of an HTTP 403 response. /// Extends DBRequestHttpError. /// @interface DBRequestAccessError : DBRequestHttpError /// The structured object returned by the Dropbox API in the event of a 403 access error. @property (nonatomic, readonly) DBAUTHAccessError *structuredAccessError; /// /// DBRequestAccessError full constructor. /// /// @param requestId The Dropbox request id of the network call. This is useful to Dropbox for debugging issues with /// 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. If for a route-specific /// error, this field will be the value of the "error_summary" key. /// @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. /// - (instancetype)init:(NSString *)requestId statusCode:(NSNumber *)statusCode errorContent:(NSString *)errorContent userMessage:(nullable DBLocalizedUserMessage *)userMessage structuredAccessError:(DBAUTHAccessError *)structuredAccessError; /// /// Description method. /// /// @return A human-readable representation of the current DBRequestAccessError object. /// - (NSString *)description; @end #pragma mark - Path Root error /// /// Path Root request error. /// /// Contains relevant information regarding a failed network request. Initialized in the event of an HTTP 422 response. /// Extends DBRequestHttpError. /// @interface DBRequestPathRootError : DBRequestHttpError /// The structured object returned by the Dropbox API in the event of a 422 path root error. @property (nonatomic, readonly) DBCOMMONPathRootError *structuredPathRootError; /// /// DBRequestPathRootError full constructor. /// /// @param requestId The Dropbox request id of the network call. This is useful to Dropbox for debugging issues with /// 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. If for a route-specific /// error, this field will be the value of the "error_summary" key. /// @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. /// /// @return An initialized DBRequestPathRootError instance. /// - (instancetype)init:(NSString *)requestId statusCode:(NSNumber *)statusCode errorContent:(NSString *)errorContent userMessage:(nullable DBLocalizedUserMessage *)userMessage structuredPathRootError:(DBCOMMONPathRootError *)structuredPathRootError; /// /// Description method. /// /// @return A human-readable representation of the current DBRequestAccessError object. /// - (NSString *)description; @end #pragma mark - Rate limit error /// /// Rate limit request error. /// /// Contains relevant information regarding a failed network request. Initialized in the event of an HTTP 429 response. /// Extends DBRequestHttpError. /// @interface DBRequestRateLimitError : DBRequestHttpError /// The structured object returned by the Dropbox API in the event of a 429 rate-limit error. @property (nonatomic, readonly) DBAUTHRateLimitError *structuredRateLimitError; /// The number of seconds to wait before making any additional requests in the event of a rate-limit error. @property (nonatomic, readonly) NSNumber *backoff; /// /// DBRequestRateLimitError full constructor. /// /// @param requestId The Dropbox request id of the network call. This is useful to Dropbox for debugging issues with /// 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. If for a route-specific /// error, this field will be the value of the "error_summary" key. /// @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 /// error. /// /// @return An initialized DBRequestRateLimitError instance. /// - (instancetype)init:(NSString *)requestId statusCode:(NSNumber *)statusCode errorContent:(NSString *)errorContent userMessage:(nullable DBLocalizedUserMessage *)userMessage structuredRateLimitError:(DBAUTHRateLimitError *)structuredRateLimitError backoff:(NSNumber *)backoff; /// /// Description method. /// /// @return A human-readable representation of the current DBRequestRateLimitError object. /// - (NSString *)description; @end #pragma mark - Internal Server error /// /// Internal Server request error. /// /// Contains relevant information regarding a failed network request. Initialized in the event of an HTTP 500 response. /// Extends DBRequestHttpError. /// @interface DBRequestInternalServerError : DBRequestHttpError /// /// Description method. /// /// @return A human-readable representation of the current `DBRequestInternalServerError` object. /// - (NSString *)description; @end #pragma mark - Client error /// /// Client side request error. /// /// Contains relevant information regarding a failed network request. Initialized in the event of a client-side error, /// like an invalid url host, or making a request when not connected to the internet. /// @interface DBRequestClientError : NSObject /// The client-side `NSError` object returned from the failed response. @property (nonatomic, readonly) NSError *nsError; /// /// `DBRequestClientError` full constructor. /// /// An example of such an error might be if you attempt to make a request and are not connected to the internet. /// /// @param nsError The client-side `NSError` object returned from the failed response. /// /// @return An initialized `DBRequestClientError` instance. /// - (instancetype)init:(NSError *)nsError; /// /// Description method. /// /// @return A human-readable representation of the current `DBRequestClientError` object. /// - (NSString *)description; @end #pragma mark - DBRequestError generic error /// /// Base class for generic network request error (as opposed to route-specific /// error). /// /// This class is represented almost like a Stone "Union" object. As one object, it can represent a number of error /// "states" (see all of the values of `DBRequestErrorType`). To handle each error type, call each of the /// `is` methods until you determine the current tag state, then call the corresponding `as` /// method to return an instance of the appropriate error type. /// /// For example: /// /// @code /// ``` /// if ([dbxError isHTTPError]) { /// DBHttpError *httpError = [dbxError asHttpError]; /// } else if ([dbxError isBadInputError]) { ........ /// ``` /// @endcode /// @interface DBRequestError : NSObject #pragma mark - Tag type definition /// Represents the possible error types that can be returned from network requests. typedef NS_ENUM(NSInteger, DBRequestErrorTag) { /// Errors produced at the HTTP layer. DBRequestErrorHttp, /// Errors due to bad input parameters to an API Operation. DBRequestErrorBadInput, /// Errors due to invalid authentication credentials. DBRequestErrorAuth, /// Errors due to invalid authentication credentials. DBRequestErrorPathRoot, /// Errors due to invalid permission to access. DBRequestErrorAccess, /// Error caused by rate limiting. DBRequestErrorRateLimit, /// Errors due to a problem on Dropbox. DBRequestErrorInternalServer, /// Errors due to a problem on the client-side of the SDK. DBRequestErrorClient, }; #pragma mark - Instance variables /// Current state of the `DBRequestError` object type. @property (nonatomic, readonly) DBRequestErrorTag tag; /// The Dropbox request id of the network call. This is useful to Dropbox for debugging issues with Dropbox's SDKs and /// API. Please include the value of this field when submitting technical support inquiries to Dropbox. @property (nonatomic, readonly, copy, nullable) NSString *requestId; /// The HTTP response status code of the request. @property (nonatomic, readonly, nullable) NSNumber *statusCode; /// 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. @property (nonatomic, readonly, copy, nullable) NSString *errorContent; /// 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; /// The structured object returned by the Dropbox API in the event of a 403 access error. @property (nonatomic, readonly, nullable) DBAUTHAccessError *structuredAccessError; /// The structured object returned by the Dropbox API in the event of a 422 path root error. @property (nonatomic, readonly, nullable) DBCOMMONPathRootError *structuredPathRootError; /// The structured object returned by the Dropbox API in the event of a 429 rate-limit error. @property (nonatomic, readonly, nullable) DBAUTHRateLimitError *structuredRateLimitError; /// The number of seconds to wait before making any additional requests in the event of a rate-limit error. @property (nonatomic, readonly, nullable) NSNumber *backoff; /// The client-side `NSError` object returned from the failed response. @property (nonatomic, readonly, nullable) NSError *nsError; #pragma mark - Constructors /// /// `DBRequestError` convenience constructor. /// /// Initializes the `DBRequestError` object with all the required state for representing a generic HTTP error. /// /// @param requestId The Dropbox request id of the network call. This is useful to Dropbox for debugging issues with /// 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. If for a route-specific /// error, this field will be the value of the "error_summary" key. /// @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 DBLocalizedUserMessage *)userMessage; /// /// DBRequestError convenience constructor. /// /// Initializes the `DBRequestError` with all the required state for representing a Bad Input error. /// /// @param requestId The Dropbox request id of the network call. This is useful to Dropbox for debugging issues with /// 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. If for a route-specific /// error, this field will be the value of the "error_summary" key. /// @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 DBLocalizedUserMessage *)userMessage; /// /// DBRequestError convenience constructor. /// /// Initializes the `DBRequestError` with all the required state for representing an Auth /// error. /// /// @param requestId The Dropbox request id of the network call. This is useful to Dropbox for debugging issues with /// 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. If for a route-specific /// error, this field will be the value of the "error_summary" key. /// @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. /// - (instancetype)initAsAuthError:(nullable NSString *)requestId statusCode:(nullable NSNumber *)statusCode errorContent:(nullable NSString *)errorContent userMessage:(nullable DBLocalizedUserMessage *)userMessage structuredAuthError:(DBAUTHAuthError *)structuredAuthError; /// /// DBRequestError convenience constructor. /// /// Initializes the `DBRequestError` with all the required state for representing an Access /// error. /// /// @param requestId The Dropbox request id of the network call. This is useful to Dropbox for debugging issues with /// 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. If for a route-specific /// error, this field will be the value of the "error_summary" key. /// @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. /// - (instancetype)initAsAccessError:(nullable NSString *)requestId statusCode:(nullable NSNumber *)statusCode errorContent:(nullable NSString *)errorContent userMessage:(nullable DBLocalizedUserMessage *)userMessage structuredAccessError:(DBAUTHAccessError *)structuredAccessError; /// /// DBRequestError convenience constructor. /// /// Initializes the `DBRequestError` with all the required state for representing a Path Root error. /// /// @param requestId The Dropbox request id of the network call. This is useful to Dropbox for debugging issues with /// 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. If for a route-specific /// error, this field will be the value of the "error_summary" key. /// @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. /// /// @return An initialized `DBRequestError` instance with Auth error state. /// - (instancetype)initAsPathRootError:(nullable NSString *)requestId statusCode:(nullable NSNumber *)statusCode errorContent:(nullable NSString *)errorContent userMessage:(nullable DBLocalizedUserMessage *)userMessage structuredPathRootError:(DBCOMMONPathRootError *)structuredPathRootError; /// /// DBRequestError convenience constructor. /// /// Initializes the `DBRequestError` with all the required state for representing a /// Rate Limit error. /// /// @param requestId The Dropbox request id of the network call. This is useful to Dropbox for debugging issues with /// 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. If for a route-specific /// error, this field will be the value of the "error_summary" key. /// @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 /// error. /// /// @return An initialized `DBRequestError` instance with Rate Limit error state. /// - (instancetype)initAsRateLimitError:(nullable NSString *)requestId statusCode:(nullable NSNumber *)statusCode errorContent:(nullable NSString *)errorContent userMessage:(nullable DBLocalizedUserMessage *)userMessage structuredRateLimitError:(DBAUTHRateLimitError *)structuredRateLimitError backoff:(NSNumber *)backoff; /// /// `DBRequestError` convenience constructor. /// /// Initializes the `DBRequestError` with all the required state for representing an /// Internal Server error. /// /// @param requestId The Dropbox request id of the network call. This is useful to Dropbox for debugging issues with /// 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 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. /// - (instancetype)initAsInternalServerError:(nullable NSString *)requestId statusCode:(nullable NSNumber *)statusCode errorContent:(nullable NSString *)errorContent userMessage:(nullable DBLocalizedUserMessage *)userMessage; /// /// `DBRequestError` convenience constructor. /// /// Initializes the `DBRequestError` with all the required state for representing an "OS" error. An example of such an /// error might be if you attempt to make a request and are not connected to the internet. /// /// @param nsError The client-side `NSError` object returned from the failed response. /// /// /// @return An initialized `DBRequestError` instance with Client error state. /// - (instancetype)initAsClientError:(nullable NSError *)nsError; /// /// `DBRequestError` full constructor. /// /// @param requestId The Dropbox request id of the network call. This is useful to Dropbox for debugging issues with /// 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. If for a route-specific /// error, this field will be the value of the "error_summary" key. /// @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 /// error. /// @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 /// error. /// @param nsError The client-side NSError object returned from the failed response. /// /// @return An initialized `DBRequestError` instance. /// - (instancetype)init:(DBRequestErrorTag)tag requestId:(nullable NSString *)requestId statusCode:(nullable NSNumber *)statusCode errorContent:(nullable NSString *)errorContent userMessage:(nullable DBLocalizedUserMessage *)userMessage structuredAuthError:(nullable DBAUTHAuthError *)structuredAuthError structuredAccessError:(nullable DBAUTHAccessError *)structuredAccessError structuredPathRootError:(nullable DBCOMMONPathRootError *)structuredPathRootError structuredRateLimitError:(nullable DBAUTHRateLimitError *)structuredRateLimitError backoff:(nullable NSNumber *)backoff nsError:(nullable NSError *)nsError; #pragma mark - Tag state methods /// /// Retrieves whether the error's current tag state has value "http_error". /// /// @return Whether the union's current tag state has value "http_error". /// - (BOOL)isHttpError; /// /// Retrieves whether the error's current tag state has value "bad_input_error". /// /// @return Whether the union's current tag state has value "bad_input_error". /// - (BOOL)isBadInputError; /// /// Retrieves whether the error's current tag state has value "auth_error". /// /// @return Whether the union's current tag state has value "auth_error". /// - (BOOL)isAuthError; /// /// Retrieves whether the error's current tag state has value "access_error". /// /// @return Whether the union's current tag state has value "access_error". /// - (BOOL)isAccessError; /// /// Retrieves whether the error's current tag state has value "path_root_error". /// /// @return Whether the union's current tag state has value "path_root_error". /// - (BOOL)isPathRootError; /// /// Retrieves whether the error's current tag state has value "rate_limit_error". /// /// @return Whether the union's current tag state has value "rate_limit_error". /// - (BOOL)isRateLimitError; /// /// Retrieves whether the error's current tag state has value "internal_server_error". /// /// @return Whether the union's current tag state has value "internal_server_error". /// - (BOOL)isInternalServerError; /// /// Retrieves whether the error's current tag state has value "client_error". /// /// @return Whether the union's current tag state has value "client_error". /// - (BOOL)isClientError; #pragma mark - Error subtype retrieval methods /// /// Creates a `DBRequestHttpError` instance based on the data in the current `DBRequestError` instance. /// /// @note Will throw error if current `DBRequestError` instance tag state is not "http_error". Should only use after /// checking if `isHttpError` returns true for the current `DBRequestError` instance. /// /// @return An initialized `DBRequestHttpError` instance. /// - (DBRequestHttpError *)asHttpError; /// /// Creates a `DBRequestBadInputError` instance based on the data in the current `DBRequestError` instance. /// /// @note Will throw error if current `DBRequestError` instance tag state is not "bad_input_error". Should only use /// after checking if `isBadInputError` returns true for the current `DBRequestError` instance. /// /// @return An initialized `DBRequestBadInputError`. /// - (DBRequestBadInputError *)asBadInputError; /// /// Creates a DBRequestAuthError instance based on the data in the current `DBRequestError` instance. /// /// @note Will throw error if current `DBRequestError` instance tag state is not "auth_error". Should only use after /// checking if `isAuthError` returns true for the current `DBRequestError` instance. /// /// @return An initialized `DBRequestAuthError` instance. /// - (DBRequestAuthError *)asAuthError; /// /// Creates a DBRequestAccessError instance based on the data in the current `DBRequestError` instance. /// /// @note Will throw error if current `DBRequestError` instance tag state is not "auth_error". Should only use after /// checking if `isAccessError` returns true for the current `DBRequestError` instance. /// /// @return An initialized `DBRequestAccessError` instance. /// - (DBRequestAccessError *)asAccessError; /// /// Creates a DBRequestAccessError instance based on the data in the current `DBRequestError` instance. /// /// @note Will throw error if current `DBRequestError` instance tag state is not "auth_error". Should only use after /// checking if `isAccessError` returns true for the current `DBRequestError` instance. /// /// @return An initialized `DBRequestAccessError` instance. /// - (DBRequestPathRootError *)asPathRootError; /// /// Creates a `DBRequestRateLimitError` instance based on the data in the current `DBRequestError` instance. /// /// @note Will throw error if current `DBRequestError` instance tag state is not "rate_limit_error". Should only use /// after checking if `isRateLimitError` returns true for the current `DBRequestError` instance. /// /// @return An initialized `DBRequestRateLimitError` instance. /// - (DBRequestRateLimitError *)asRateLimitError; /// /// Creates a `DBRequestInternalServerError` instance based on the data in the current `DBRequestError` instance. /// /// @note Will throw error if current `DBRequestError` instance tag state is not "internal_server_error". Should only /// use after checking if `isInternalServerError` returns true for the current `DBRequestError` instance. /// /// @return An initialized `DBHttpError` instance. /// - (DBRequestInternalServerError *)asInternalServerError; /// /// Creates a `DBRequestClientError` instance based on the data in the current `DBRequestError` instance. /// /// @note Will throw error if current `DBRequestError` instance tag state is not "client_error". Should only use after /// checking if `isClientError` returns true for the current `DBRequestError` instance. /// /// @return An initialized `DBRequestClientError` instance. /// - (DBRequestClientError *)asClientError; #pragma mark - Tag name method /// /// Retrieves string value of union's current tag state. /// /// @return A human-readable string representing the `DBRequestError` object's current tag state. /// - (NSString *)tagName; #pragma mark - Description method /// /// Description method. /// /// @return A human-readable representation of the current `DBRequestError` object. /// - (NSString *)description; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Handwritten/Networking/DBRequestErrors.m ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// #import "DBRequestErrors.h" #import "DBAUTHAccessError.h" #import "DBAUTHAuthError.h" #import "DBAUTHRateLimitError.h" #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 - (instancetype)init:(NSString *)requestId statusCode:(NSNumber *)statusCode errorContent:(NSString *)errorContent userMessage:(DBLocalizedUserMessage *)userMessage { self = [super init]; if (self) { _requestId = requestId; _statusCode = statusCode; _errorContent = errorContent; _userMessage = userMessage; } return self; } - (NSString *)description { NSDictionary *values = @{ @"RequestId" : _requestId ?: @"nil", @"StatusCode" : _statusCode ?: @"nil", @"ErrorContent" : _errorContent ?: @"nil", @"UserMessage" : _userMessage ?: @"nil" }; return [NSString stringWithFormat:@"DropboxHttpError[%@];", values]; } @end #pragma mark - Bad Input error @implementation DBRequestBadInputError - (instancetype)init:(NSString *)requestId statusCode:(NSNumber *)statusCode errorContent:(NSString *)errorContent userMessage:(DBLocalizedUserMessage *)userMessage { return [super init:requestId statusCode:statusCode errorContent:errorContent userMessage:userMessage]; } - (NSString *)description { NSDictionary *values = @{ @"RequestId" : self.requestId ?: @"nil", @"StatusCode" : self.statusCode ?: @"nil", @"ErrorContent" : self.errorContent ?: @"nil", @"UserMessage" : self.userMessage ?: @"nil" }; return [NSString stringWithFormat:@"DropboxBadInputError[%@];", values]; } @end #pragma mark - Auth error @implementation DBRequestAuthError - (instancetype)init:(NSString *)requestId statusCode:(NSNumber *)statusCode errorContent:(NSString *)errorContent userMessage:(DBLocalizedUserMessage *)userMessage structuredAuthError:(DBAUTHAuthError *)structuredAuthError { self = [super init:requestId statusCode:statusCode errorContent:errorContent userMessage:userMessage]; if (self) { _structuredAuthError = structuredAuthError; } return self; } - (NSString *)description { NSDictionary *values = @{ @"RequestId" : self.requestId ?: @"nil", @"StatusCode" : self.statusCode ?: @"nil", @"ErrorContent" : self.errorContent ?: @"nil", @"UserMessage" : self.userMessage ?: @"nil", @"StructuredAuthError" : [NSString stringWithFormat:@"%@", _structuredAuthError] ?: @"nil" }; return [NSString stringWithFormat:@"DropboxAuthError[%@];", values]; } @end #pragma mark - Access error @implementation DBRequestAccessError - (instancetype)init:(NSString *)requestId statusCode:(NSNumber *)statusCode errorContent:(NSString *)errorContent userMessage:(DBLocalizedUserMessage *)userMessage structuredAccessError:(DBAUTHAccessError *)structuredAccessError { self = [super init:requestId statusCode:statusCode errorContent:errorContent userMessage:userMessage]; if (self) { _structuredAccessError = structuredAccessError; } return self; } - (NSString *)description { NSDictionary *values = @{ @"RequestId" : self.requestId ?: @"nil", @"StatusCode" : self.statusCode ?: @"nil", @"ErrorContent" : self.errorContent ?: @"nil", @"UserMessage" : self.userMessage ?: @"nil", @"StructuredAccessError" : [NSString stringWithFormat:@"%@", _structuredAccessError] ?: @"nil" }; return [NSString stringWithFormat:@"DropboxAccessError[%@];", values]; } @end #pragma mark - Path Root error @implementation DBRequestPathRootError - (instancetype)init:(NSString *)requestId statusCode:(NSNumber *)statusCode errorContent:(NSString *)errorContent userMessage:(DBLocalizedUserMessage *)userMessage structuredPathRootError:(DBCOMMONPathRootError *)structuredPathRootError { self = [super init:requestId statusCode:statusCode errorContent:errorContent userMessage:userMessage]; if (self) { _structuredPathRootError = structuredPathRootError; } return self; } - (NSString *)description { NSDictionary *values = @{ @"RequestId" : self.requestId ?: @"nil", @"StatusCode" : self.statusCode ?: @"nil", @"ErrorContent" : self.errorContent ?: @"nil", @"UserMessage" : self.userMessage ?: @"nil", @"StructuredPathRootError" : [NSString stringWithFormat:@"%@", _structuredPathRootError] ?: @"nil" }; return [NSString stringWithFormat:@"DropboxPathRootError[%@];", values]; } @end #pragma mark - Rate Limit error @implementation DBRequestRateLimitError - (instancetype)init:(NSString *)requestId statusCode:(NSNumber *)statusCode errorContent:(NSString *)errorContent userMessage:(DBLocalizedUserMessage *)userMessage structuredRateLimitError:(DBAUTHRateLimitError *)structuredRateLimitError backoff:(NSNumber *)backoff { self = [super init:requestId statusCode:statusCode errorContent:errorContent userMessage:userMessage]; if (self) { _structuredRateLimitError = structuredRateLimitError; _backoff = backoff; } return self; } - (NSString *)description { NSDictionary *values = @{ @"RequestId" : self.requestId ?: @"nil", @"StatusCode" : self.statusCode ?: @"nil", @"ErrorContent" : self.errorContent ?: @"nil", @"UserMessage" : self.userMessage ?: @"nil", @"StructuredRateLimitError" : _structuredRateLimitError ?: @"nil", @"BackOff" : _backoff ?: @"nil" }; return [NSString stringWithFormat:@"DropboxRateLimitError[%@];", values]; } @end #pragma mark - Internal Server error @implementation DBRequestInternalServerError - (instancetype)init:(NSString *)requestId statusCode:(NSNumber *)statusCode errorContent:(NSString *)errorContent userMessage:(DBLocalizedUserMessage *)userMessage { return [super init:requestId statusCode:statusCode errorContent:errorContent userMessage:userMessage]; } - (NSString *)description { NSDictionary *values = @{ @"RequestId" : self.requestId ?: @"nil", @"StatusCode" : self.statusCode ?: @"nil", @"ErrorContent" : self.errorContent ?: @"nil", @"UserMessage" : self.userMessage ?: @"nil" }; return [NSString stringWithFormat:@"DropboxInternalServerError[%@];", values]; } @end #pragma mark - Client error @implementation DBRequestClientError - (instancetype)init:(NSError *)nsError { self = [super init]; if (self) { _nsError = nsError; } return self; } - (NSString *)description { NSDictionary *values = @{@"NSError" : _nsError ?: @"nil"}; return [NSString stringWithFormat:@"DropboxClientError[%@];", values]; } @end #pragma mark - DBRequestError generic error @implementation DBRequestError #pragma mark - Constructors - (instancetype)initAsHttpError:(NSString *)requestId statusCode:(NSNumber *)statusCode errorContent:(NSString *)errorContent userMessage:(DBLocalizedUserMessage *)userMessage { return [self init:DBRequestErrorHttp requestId:requestId statusCode:statusCode errorContent:errorContent userMessage:userMessage structuredAuthError:nil structuredAccessError:nil structuredPathRootError:nil structuredRateLimitError:nil backoff:nil nsError:nil]; } - (instancetype)initAsBadInputError:(NSString *)requestId statusCode:(NSNumber *)statusCode errorContent:(NSString *)errorContent userMessage:(DBLocalizedUserMessage *)userMessage { return [self init:DBRequestErrorBadInput requestId:requestId statusCode:statusCode errorContent:errorContent userMessage:userMessage structuredAuthError:nil structuredAccessError:nil structuredPathRootError:nil structuredRateLimitError:nil backoff:nil nsError:nil]; } - (instancetype)initAsAuthError:(NSString *)requestId statusCode:(NSNumber *)statusCode errorContent:(NSString *)errorContent userMessage:(DBLocalizedUserMessage *)userMessage structuredAuthError:(DBAUTHAuthError *)structuredAuthError { return [self init:DBRequestErrorAuth requestId:requestId statusCode:statusCode errorContent:errorContent userMessage:userMessage structuredAuthError:structuredAuthError structuredAccessError:nil structuredPathRootError:nil structuredRateLimitError:nil backoff:nil nsError:nil]; } - (instancetype)initAsAccessError:(NSString *)requestId statusCode:(NSNumber *)statusCode errorContent:(NSString *)errorContent userMessage:(DBLocalizedUserMessage *)userMessage structuredAccessError:(DBAUTHAccessError *)structuredAccessError { return [self init:DBRequestErrorAccess requestId:requestId statusCode:statusCode errorContent:errorContent userMessage:userMessage structuredAuthError:nil structuredAccessError:structuredAccessError structuredPathRootError:nil structuredRateLimitError:nil backoff:nil nsError:nil]; } - (instancetype)initAsPathRootError:(NSString *)requestId statusCode:(NSNumber *)statusCode errorContent:(NSString *)errorContent userMessage:(DBLocalizedUserMessage *)userMessage structuredPathRootError:(DBCOMMONPathRootError *)structuredPathRootError { return [self init:DBRequestErrorPathRoot requestId:requestId statusCode:statusCode errorContent:errorContent userMessage:userMessage structuredAuthError:nil structuredAccessError:nil structuredPathRootError:structuredPathRootError structuredRateLimitError:nil backoff:nil nsError:nil]; } - (instancetype)initAsRateLimitError:(NSString *)requestId statusCode:(NSNumber *)statusCode errorContent:(NSString *)errorContent userMessage:(DBLocalizedUserMessage *)userMessage structuredRateLimitError:(DBAUTHRateLimitError *)structuredRateLimitError backoff:(NSNumber *)backoff { return [self init:DBRequestErrorRateLimit requestId:requestId statusCode:statusCode errorContent:errorContent userMessage:userMessage structuredAuthError:nil structuredAccessError:nil structuredPathRootError:nil structuredRateLimitError:structuredRateLimitError backoff:backoff nsError:nil]; } - (instancetype)initAsInternalServerError:(NSString *)requestId statusCode:(NSNumber *)statusCode errorContent:(NSString *)errorContent userMessage:(DBLocalizedUserMessage *)userMessage { return [self init:DBRequestErrorInternalServer requestId:requestId statusCode:statusCode errorContent:errorContent userMessage:userMessage structuredAuthError:nil structuredAccessError:nil structuredPathRootError:nil structuredRateLimitError:nil backoff:nil nsError:nil]; } - (instancetype)initAsClientError:(NSError *)nsError { return [self init:DBRequestErrorClient requestId:nil statusCode:nil errorContent:nil userMessage:nil structuredAuthError:nil structuredAccessError:nil structuredPathRootError:nil structuredRateLimitError:nil backoff:nil nsError:nsError]; } - (instancetype)init:(DBRequestErrorTag)tag requestId:(NSString *)requestId statusCode:(NSNumber *)statusCode errorContent:(NSString *)errorContent userMessage:(DBLocalizedUserMessage *)userMessage structuredAuthError:(DBAUTHAuthError *)structuredAuthError structuredAccessError:(DBAUTHAccessError *)structuredAccessError structuredPathRootError:(DBCOMMONPathRootError *)structuredPathRootError structuredRateLimitError:(DBAUTHRateLimitError *)structuredRateLimitError backoff:(NSNumber *)backoff nsError:(NSError *)nsError { self = [super init]; if (self) { _tag = tag; _requestId = requestId; _statusCode = statusCode; _errorContent = errorContent; _userMessage = userMessage; _structuredAuthError = structuredAuthError; _structuredAccessError = structuredAccessError; _structuredPathRootError = structuredPathRootError; _structuredRateLimitError = structuredRateLimitError; _backoff = backoff; _nsError = nsError; } return self; } #pragma mark - Tag state methods - (BOOL)isHttpError { return _tag == DBRequestErrorHttp; } - (BOOL)isBadInputError { return _tag == DBRequestErrorBadInput; } - (BOOL)isAuthError { return _tag == DBRequestErrorAuth; } - (BOOL)isAccessError { return _tag == DBRequestErrorAccess; } - (BOOL)isPathRootError { return _tag == DBRequestErrorPathRoot; } - (BOOL)isRateLimitError { return _tag == DBRequestErrorRateLimit; } - (BOOL)isInternalServerError { return _tag == DBRequestErrorInternalServer; } - (BOOL)isClientError { return _tag == DBRequestErrorClient; } #pragma mark - Error subtype retrieval methods - (DBRequestHttpError *)asHttpError { if (![self isHttpError]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required `DBRequestErrorHttp`, but was %@.", [self tagName]]; } return [[DBRequestHttpError alloc] init:_requestId statusCode:_statusCode errorContent:_errorContent userMessage:_userMessage]; } - (DBRequestBadInputError *)asBadInputError { if (![self isBadInputError]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required `DBRequestErrorBadInput`, but was %@.", [self tagName]]; } return [[DBRequestBadInputError alloc] init:_requestId statusCode:_statusCode errorContent:_errorContent userMessage:_userMessage]; } - (DBRequestAuthError *)asAuthError { if (![self isAuthError]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required `DBRequestErrorAuth`, but was %@.", [self tagName]]; } return [[DBRequestAuthError alloc] init:_requestId statusCode:_statusCode errorContent:_errorContent userMessage:_userMessage structuredAuthError:_structuredAuthError]; } - (DBRequestAccessError *)asAccessError { if (![self isAccessError]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required `DBRequestErrorAccess`, but was %@.", [self tagName]]; } return [[DBRequestAccessError alloc] init:_requestId statusCode:_statusCode errorContent:_errorContent userMessage:_userMessage structuredAccessError:_structuredAccessError]; } - (DBRequestPathRootError *)asPathRootError { if (![self isPathRootError]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required `DBRequestErrorPathRoot`, but was %@.", [self tagName]]; } return [[DBRequestPathRootError alloc] init:_requestId statusCode:_statusCode errorContent:_errorContent userMessage:_userMessage structuredPathRootError:_structuredPathRootError]; } - (DBRequestRateLimitError *)asRateLimitError { if (![self isRateLimitError]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required `DBRequestErrorRateLimit`, but was %@.", [self tagName]]; } return [[DBRequestRateLimitError alloc] init:_requestId statusCode:_statusCode errorContent:_errorContent userMessage:_userMessage structuredRateLimitError:_structuredRateLimitError backoff:_backoff]; } - (DBRequestInternalServerError *)asInternalServerError { if (![self isInternalServerError]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required `DBRequestErrorInternalServer`, but was %@.", [self tagName]]; } return [[DBRequestInternalServerError alloc] init:_requestId statusCode:_statusCode errorContent:_errorContent userMessage:_userMessage]; } - (DBRequestClientError *)asClientError { if (![self isClientError]) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required `DBRequestErrorClient`, but was %@.", [self tagName]]; } return [[DBRequestClientError alloc] init:_nsError]; } #pragma mark - Tag name method - (NSString *)tagName { switch (_tag) { case DBRequestErrorHttp: return @"DBRequestErrorHttp"; case DBRequestErrorBadInput: return @"DBRequestErrorBadInput"; case DBRequestErrorAuth: return @"DBRequestErrorAuth"; case DBRequestErrorPathRoot: return @"DBRequestPathRoot"; case DBRequestErrorAccess: return @"DBRequestErrorAccess"; case DBRequestErrorRateLimit: return @"DBRequestErrorRateLimit"; case DBRequestErrorInternalServer: return @"DBRequestErrorInternalServer"; case DBRequestErrorClient: return @"DBRequestErrorClient"; } @throw([NSException exceptionWithName:@"InvalidTagEnum" reason:@"Tag has an invalid value." userInfo:nil]); } #pragma mark - Description method - (NSString *)description { switch (_tag) { case DBRequestErrorHttp: return [NSString stringWithFormat:@"%@", [self asHttpError]]; case DBRequestErrorBadInput: return [NSString stringWithFormat:@"%@", [self asBadInputError]]; case DBRequestErrorAuth: return [NSString stringWithFormat:@"%@", [self asAuthError]]; case DBRequestErrorAccess: return [NSString stringWithFormat:@"%@", [self asAccessError]]; case DBRequestErrorPathRoot: return [NSString stringWithFormat:@"%@", [self asPathRootError]]; case DBRequestErrorRateLimit: return [NSString stringWithFormat:@"%@", [self asRateLimitError]]; case DBRequestErrorInternalServer: return [NSString stringWithFormat:@"%@", [self asInternalServerError]]; case DBRequestErrorClient: return [NSString stringWithFormat:@"%@", [self asClientError]]; } return [NSString stringWithFormat:@"GenericDropboxError[%@];", [self tagName]]; } @end ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Handwritten/Networking/DBSDKReachability.m ================================================ /* Copyright (C) 2016 Apple Inc. All Rights Reserved. See LICENSE.txt for this sample’s licensing information Abstract: Basic demonstration of how to use the SystemConfiguration Reachablity APIs. */ #import #import #import #import #import #import #import "DBSDKReachability.h" #pragma mark IPv6 Support // DBSDKReachability fully support IPv6. For full details, see ReadMe.md. NSString *kDBSDKReachabilityChangedNotification = @"kNetworkReachabilityChangedNotification"; #pragma mark - Supporting functions #define kShouldPrintReachabilityFlags 1 static void PrintReachabilityFlags(SCNetworkReachabilityFlags flags, const char *comment) { #if kShouldPrintReachabilityFlags NSLog(@"DBSDKReachability Flag Status: %c%c %c%c%c%c%c%c%c %s\n", #if TARGET_OS_IPHONE (flags & kSCNetworkReachabilityFlagsIsWWAN) ? 'W' : '-', #else 0, #endif (flags & kSCNetworkReachabilityFlagsReachable) ? 'R' : '-', (flags & kSCNetworkReachabilityFlagsTransientConnection) ? 't' : '-', (flags & kSCNetworkReachabilityFlagsConnectionRequired) ? 'c' : '-', (flags & kSCNetworkReachabilityFlagsConnectionOnTraffic) ? 'C' : '-', (flags & kSCNetworkReachabilityFlagsInterventionRequired) ? 'i' : '-', (flags & kSCNetworkReachabilityFlagsConnectionOnDemand) ? 'D' : '-', (flags & kSCNetworkReachabilityFlagsIsLocalAddress) ? 'l' : '-', (flags & kSCNetworkReachabilityFlagsIsDirect) ? 'd' : '-', comment); #endif } static void ReachabilityCallback(SCNetworkReachabilityRef target, SCNetworkReachabilityFlags flags, void *info) { #pragma unused(target, flags) NSCAssert(info != NULL, @"info was NULL in ReachabilityCallback"); NSCAssert([(__bridge NSObject *)info isKindOfClass:[DBSDKReachability class]], @"info was wrong class in ReachabilityCallback"); DBSDKReachability *noteObject = (__bridge DBSDKReachability *)info; // Post a notification to notify the client that the network reachability changed. [[NSNotificationCenter defaultCenter] postNotificationName:kDBSDKReachabilityChangedNotification object:noteObject]; } #pragma mark - DBSDKReachability implementation @implementation DBSDKReachability { SCNetworkReachabilityRef _reachabilityRef; } - (void)dealloc { CFRelease(_reachabilityRef); } + (instancetype)reachabilityWithHostName:(NSString *)hostName { DBSDKReachability *returnValue = NULL; SCNetworkReachabilityRef reachability = SCNetworkReachabilityCreateWithName(NULL, [hostName UTF8String]); if (reachability != NULL) { returnValue = [[self alloc] init]; if (returnValue != NULL) { returnValue->_reachabilityRef = reachability; } else { CFRelease(reachability); } } return returnValue; } + (instancetype)reachabilityWithAddress:(const struct sockaddr *)hostAddress { SCNetworkReachabilityRef reachability = SCNetworkReachabilityCreateWithAddress(kCFAllocatorDefault, hostAddress); DBSDKReachability *returnValue = NULL; if (reachability != NULL) { returnValue = [[self alloc] init]; if (returnValue != NULL) { returnValue->_reachabilityRef = reachability; } else { CFRelease(reachability); } } return returnValue; } + (instancetype)reachabilityForInternetConnection { struct sockaddr_in zeroAddress; bzero(&zeroAddress, sizeof(zeroAddress)); zeroAddress.sin_len = sizeof(zeroAddress); zeroAddress.sin_family = AF_INET; return [self reachabilityWithAddress:(const struct sockaddr *)&zeroAddress]; } #pragma mark reachabilityForLocalWiFi // reachabilityForLocalWiFi has been removed from the sample. See ReadMe.md for more information. //+ (instancetype)reachabilityForLocalWiFi #pragma mark - Start and stop notifier - (BOOL)startNotifier { BOOL returnValue = NO; SCNetworkReachabilityContext context = {0, (__bridge void *)(self), NULL, NULL, NULL}; if (SCNetworkReachabilitySetCallback(_reachabilityRef, ReachabilityCallback, &context)) { if (SCNetworkReachabilityScheduleWithRunLoop(_reachabilityRef, CFRunLoopGetCurrent(), kCFRunLoopDefaultMode)) { returnValue = YES; } } return returnValue; } - (void)stopNotifier { if (_reachabilityRef != NULL) { SCNetworkReachabilityUnscheduleFromRunLoop(_reachabilityRef, CFRunLoopGetCurrent(), kCFRunLoopDefaultMode); } } #pragma mark - Network Flag Handling - (DBSDKNetworkStatus)networkStatusForFlags:(SCNetworkReachabilityFlags)flags { PrintReachabilityFlags(flags, "networkStatusForFlags"); if ((flags & kSCNetworkReachabilityFlagsReachable) == 0) { // The target host is not reachable. return DBNotReachable; } DBSDKNetworkStatus returnValue = DBNotReachable; if ((flags & kSCNetworkReachabilityFlagsConnectionRequired) == 0) { /* If the target host is reachable and no connection is required then we'll assume (for now) that you're on Wi-Fi... */ returnValue = DBReachableViaWiFi; } if ((((flags & kSCNetworkReachabilityFlagsConnectionOnDemand) != 0) || (flags & kSCNetworkReachabilityFlagsConnectionOnTraffic) != 0)) { /* ... and the connection is on-demand (or on-traffic) if the calling application is using the CFSocketStream or higher APIs... */ if ((flags & kSCNetworkReachabilityFlagsInterventionRequired) == 0) { /* ... and no [user] intervention is needed... */ returnValue = DBReachableViaWiFi; } } #if TARGET_OS_IPHONE if ((flags & kSCNetworkReachabilityFlagsIsWWAN) == kSCNetworkReachabilityFlagsIsWWAN) { /* ... but WWAN connections are OK if the calling application is using the CFNetwork APIs. */ returnValue = DBReachableViaWWAN; } #endif return returnValue; } - (BOOL)connectionRequired { NSAssert(_reachabilityRef != NULL, @"connectionRequired called with NULL reachabilityRef"); SCNetworkReachabilityFlags flags; if (SCNetworkReachabilityGetFlags(_reachabilityRef, &flags)) { return (flags & kSCNetworkReachabilityFlagsConnectionRequired); } return NO; } - (DBSDKNetworkStatus)currentReachabilityStatus { NSAssert(_reachabilityRef != NULL, @"currentNetworkStatus called with NULL SCNetworkReachabilityRef"); DBSDKNetworkStatus returnValue = DBNotReachable; SCNetworkReachabilityFlags flags; if (SCNetworkReachabilityGetFlags(_reachabilityRef, &flags)) { returnValue = [self networkStatusForFlags:flags]; } return returnValue; } @end ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Handwritten/Networking/DBSessionData.m ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// #import "DBSessionData.h" #pragma mark - Progress data @implementation DBProgressData - (instancetype)initWithProgressData:(int64_t)committed totalCommitted:(int64_t)totalCommitted expectedToCommit:(int64_t)expectedToCommit { self = [super init]; if (self) { _committed = committed; _totalCommitted = totalCommitted; _expectedToCommit = expectedToCommit; } return self; } @end #pragma mark - Completion data @implementation DBCompletionData - (instancetype)initWithCompletionData:(NSData *)responseBody responseMetadata:(NSURLResponse *)responseMetadata responseError:(NSError *)responseError urlOutput:(NSURL *)urlOutput { self = [super init]; if (self) { _responseBody = responseBody; _responseMetadata = responseMetadata; _responseError = responseError; _urlOutput = urlOutput; } return self; } @end #pragma mark - Session data @implementation DBSessionData - (instancetype)initWithSessionId:(NSString *)sessionId { self = [super init]; if (self) { _sessionId = sessionId; _responsesData = [NSMutableDictionary new]; _progressHandlers = [NSMutableDictionary new]; _rpcHandlers = [NSMutableDictionary new]; _uploadHandlers = [NSMutableDictionary new]; _downloadHandlers = [NSMutableDictionary new]; _progressData = [NSMutableDictionary new]; _completionData = [NSMutableDictionary new]; _progressHandlerQueues = [NSMutableDictionary new]; _responseHandlerQueues = [NSMutableDictionary new]; } return self; } @end ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Handwritten/Networking/DBTasks.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// #import "DBHandlerTypes.h" #import @class DBBatchUploadData; @class DBDelegate; @class DBRequestError; @class DBRoute; NS_ASSUME_NONNULL_BEGIN #pragma mark - Base network task /// /// Base class for network task wrappers. /// /// After a network request is made via `DBTransportClient`, a subclass of `DBTask` is returned, from which response and /// progress handlers can be installed, and the network response paused or cancelled. /// /// Handlers are executed on the thread specified by the `DBDelegate` instance with which the `DBTask` instance is /// initialied (more specifically, the delegate queue that the `DBDelegate` uses to execute handler code). By default, /// this is the main thread, which makes updating UI elements in response handlers convenient. /// /// While response handlers are not optional, they do not necessarily need to have been installed by the time the SDK /// has received its server response. If this is the case, completion data will be saved, and the handler will be /// executed with the completion data upon its installation. Downloaded content will be moved from a temporary location /// to the final destination when the response handler code is executed. /// @interface DBTask : NSObject { @protected 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; /// Identifies a unique Dropbox account. Used for the multi Dropbox account case where client objects are each /// associated with a particular Dropbox account. @property (nonatomic, readonly, copy) NSString *tokenUid; /// /// Full constructor. /// /// @param route Information about the route to which the request is being made. /// @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. - (instancetype)initWithRoute:(DBRoute *)route tokenUid:(NSString *)tokenUid; /// /// Cancels the current request. /// - (void)cancel; /// /// Suspends the current request. /// - (void)suspend; /// /// Resumes the current request. /// - (void)resume; /// /// Starts the current request. /// - (void)start; /// /// Restarts the current request. /// - (DBTask *)restart; @end #pragma mark - RPC-style network task /// /// Dropbox RPC-style Network Task. /// /// After an RPC network request is made via `DBTransportClient`, a subclass of `DBRpcTask` is returned, from which /// response and progress handlers can be installed, and the network response paused or cancelled. /// /// `TResponse` is the generic representation of the route-specific result, and `TError` is the generic representation /// of the route-specific error. /// /// Response / error deserialization is performed with this class. /// @interface DBRpcTask : DBTask typedef void (^DBRpcResponseBlock)(TResponse _Nullable result, TError _Nullable routeError, DBRequestError *_Nullable networkError); /// /// Installs a response handler for the current request. /// /// Executes handler on main queue/thread. /// /// @note Any existing handlers are replaced by the supplied handler. /// /// @param responseBlock The handler block to be executed in the event of a successful or unsuccessful network request. /// The first argument is the route-specific result. The second argument is the route-specific error. And the third /// argument is the more general network error (which includes information like Dropbox request ID, http status code, /// etc.). /// /// @return The current `DBRpcTask` instance. /// - (DBRpcTask *)setResponseBlock:(DBRpcResponseBlock)responseBlock; /// /// Installs a response handler for the current request with a specific queue on which to execute handler code. /// /// Executes handler on supplied queue/thread. /// /// @note Any existing handlers are replaced by the supplied handler. /// /// @param responseBlock The handler block to be executed in the event of a successful or unsuccessful network request. /// The first argument is the route-specific result. The second argument is the route-specific error. And the third /// argument is the more general network error (which includes information like Dropbox request ID, http status code, /// etc.). /// @param queue The operation queue on which to execute the response. /// /// @return The current `DBRpcTask` instance. /// - (DBRpcTask *)setResponseBlock:(DBRpcResponseBlock)responseBlock queue:(nullable NSOperationQueue *)queue; /// /// Installs a progress handler for the current request. /// /// Executes handler on main queue/thread. /// /// @note Any existing handlers are replaced by the supplied handler. /// /// @param progressBlock The progress block to be executed in the event of a request update. The first argument is the /// number of bytes sent. The second argument is the number of total bytes sent. And the third argument is the number of /// total bytes expected to be sent. /// /// @return The current `DBRpcTask` instance. /// - (DBRpcTask *)setProgressBlock:(DBProgressBlock)progressBlock; /// /// Installs a progress handler for the current request. /// /// Executes handler on supplied queue/thread. /// /// @note Any existing handlers are replaced by the supplied handler. /// /// @param progressBlock The progress block to be executed in the event of a request update. The first argument is the /// number of bytes sent. The second argument is the number of total bytes sent. And the third argument is the number of /// total bytes expected to be sent. /// @param queue The operation queue on which to execute the response. /// /// @return The current `DBRpcTask` instance. /// - (DBRpcTask *)setProgressBlock:(DBProgressBlock)progressBlock queue:(nullable NSOperationQueue *)queue; @end #pragma mark - Upload-style network task /// /// Dropbox Upload-style Network Task. /// /// After an Upload network request is made via `DBTransportClient`, a subclass of `DBUploadTask` is returned, from /// which response and progress handlers can be installed, and the network response paused or cancelled. /// /// `TResponse` is the generic representation of the route-specific result, and `TError` is the generic representation /// of the route-specific error. /// /// Response / error deserialization is performed with this class. /// @interface DBUploadTask : DBTask typedef void (^DBUploadResponseBlock)(TResponse _Nullable result, TError _Nullable routeError, DBRequestError *_Nullable networkError); /// /// Installs a response handler for the current request. /// /// Executes handler on main queue/thread. /// /// @note Any existing handlers are replaced by the supplied handler. /// /// @param responseBlock The handler block to be executed in the event of a successful or unsuccessful network request. /// The first argument is the route-specific result. The second argument is the route-specific error. And the third /// argument is the more general network error (which includes information like Dropbox request ID, http status code, /// etc.). /// /// @return The current `DBUploadTask` instance. /// - (DBUploadTask *)setResponseBlock:(DBUploadResponseBlock)responseBlock; /// /// Installs a response handler for the current request with a specific queue on which to execute handler code. /// /// Executes handler on supplied queue/thread. /// /// @note Any existing handlers are replaced by the supplied handler. /// /// @param responseBlock The handler block to be executed in the event of a successful or unsuccessful network request. /// The first argument is the route-specific result. The second argument is the route-specific error. And the third /// argument is the more general network error (which includes information like Dropbox request ID, http status code, /// etc.). /// @param queue The operation queue on which to execute the response. /// /// @return The current `DBUploadTask` instance. /// - (DBUploadTask *)setResponseBlock:(DBUploadResponseBlock)responseBlock queue:(nullable NSOperationQueue *)queue; /// /// Installs a progress handler for the current request. /// /// Executes handler on main queue/thread. /// /// @note Any existing handlers are replaced by the supplied handler. /// /// @param progressBlock The progress block to be executed in the event of a request update. The first argument is the /// number of bytes uploaded. The second argument is the number of total bytes uploaded. And the third argument is the /// number of total bytes expected to be uploaded. /// /// @return The current `DBUploadTask` instance. /// - (DBUploadTask *)setProgressBlock:(DBProgressBlock)progressBlock; /// /// Installs a progress handler for the current request. /// /// Executes handler on supplied queue/thread. /// /// @note Any existing handlers are replaced by the supplied handler. /// /// @param progressBlock The progress block to be executed in the event of a request update. The first argument is the /// number of bytes uploaded. The second argument is the number of total bytes uploaded. And the third argument is the /// number of total bytes expected to be uploaded. /// @param queue The operation queue on which to execute the response. /// /// @return The current `DBUploadTask` instance. /// - (DBUploadTask *)setProgressBlock:(DBProgressBlock)progressBlock queue:(nullable NSOperationQueue *)queue; @end #pragma mark - Download-style network task (NSURL) /// /// Dropbox Download-style Network Task (download to `NSURL`). /// /// After an Upload network request is made via `DBTransportClient`, a subclass of `DBDownloadUrlTask` is returned, from /// which response and progress handlers can be installed, and the network response paused or cancelled. Note, this /// class is returned only for download requests with an `NSURL` output. /// /// `TResponse` is the generic representation of the route-specific result, and `TError` is the generic representation /// of the route-specific error. /// /// Response / error deserialization is performed with this class. /// @interface DBDownloadUrlTask : DBTask { @protected NSURL *_destination; BOOL _overwrite; } typedef void (^DBDownloadUrlResponseBlock)(TResponse _Nullable result, TError _Nullable routeError, DBRequestError *_Nullable networkError, NSURL *destination); /// /// Installs a response handler for the current request. /// /// Executes handler on main queue/thread. /// /// @note Any existing handlers are replaced by the supplied handler. In the event the request returns successfully, but /// a handler is not yet installed, the downloaded content will be moved to a temporary location /// (`NSTemporaryDirectory()`) until the response handler is installed, at which point the file content will be moved to /// its final destination. /// /// @param responseBlock The handler block to be executed in the event of a successful or unsuccessful network request. /// The first argument is the route-specific result. The second argument is the route-specific error. And the third /// argument is the more general network error (which includes information like Dropbox request ID, http status code, /// etc.). The fourth argument is the output destination to which the file was downloaded. /// /// @return The current `DBDownloadUrlTask` instance. /// - (DBDownloadUrlTask *)setResponseBlock:(DBDownloadUrlResponseBlock)responseBlock; /// /// Installs a response handler for the current request with a specific queue on which to execute handler code. /// /// Executes handler on supplied queue/thread. /// /// @note Any existing handlers are replaced by the supplied handler. /// /// @param responseBlock The handler block to be executed in the event of a successful or unsuccessful network request. /// The first argument is the route-specific result. The second argument is the route-specific error. And the third /// argument is the more general network error (which includes information like Dropbox request ID, http status code, /// etc.). The fourth argument is the output destination to which the file was downloaded. /// @param queue The operation queue on which to execute the response. /// /// @return The current `DBDownloadUrlTask` instance. /// - (DBDownloadUrlTask *)setResponseBlock:(DBDownloadUrlResponseBlock)responseBlock queue:(nullable NSOperationQueue *)queue; /// /// Installs a progress handler for the current request. /// /// Executes handler on main queue/thread. /// /// @note Any existing handlers are replaced by the supplied handler. /// /// @param progressBlock 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 number of total bytes expected to be downloaded. /// /// @return The current `DBDownloadUrlTask` instance. /// - (DBDownloadUrlTask *)setProgressBlock:(DBProgressBlock)progressBlock; /// /// Installs a progress handler for the current request. /// /// Executes handler on supplied queue/thread. /// /// @note Any existing handlers are replaced by the supplied handler. /// /// @param progressBlock 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 number of total bytes expected to be downloaded. /// @param queue The operation queue on which to execute the response. /// /// @return The current `DBDownloadUrlTask` instance. /// - (DBDownloadUrlTask *)setProgressBlock:(DBProgressBlock)progressBlock queue:(nullable NSOperationQueue *)queue; @end #pragma mark - Download-style network task (NSData) /// /// Dropbox Download Network Task (download to `NSData`). /// /// After an Upload network request is made via `DBTransportClient`, a subclass of `DBDownloadDataTask` is returned, /// from which response and progress handlers can be installed, and the network response paused or cancelled. Note, this /// class is returned only for download requests with an `NSData` output. /// /// `TResponse` is the generic representation of the route-specific result, and `TError` is the generic representation /// of the route-specific error. /// /// Response / error deserialization is performed with this class. /// @interface DBDownloadDataTask : DBTask typedef void (^DBDownloadDataResponseBlock)(TResponse _Nullable result, TError _Nullable routeError, DBRequestError *_Nullable networkError, NSData *_Nullable fileData); /// /// Installs a response handler for the current request. /// /// Executes handler on main queue/thread. /// /// @note Any existing handlers are replaced by the supplied handler. /// /// @param responseBlock The handler block to be executed in the event of a successful or unsuccessful network request. /// The first argument is the route-specific result. The second argument is the route-specific error. And the third /// argument is the more general network error (which includes information like Dropbox request ID, http status code, /// etc.). The fourth argument is the output `NSData` object in memory, to which the file was downloaded. /// /// @return The current `DBDownloadDataTask` instance. /// - (DBDownloadDataTask *)setResponseBlock:(DBDownloadDataResponseBlock)responseBlock; /// /// Installs a response handler for the current request with a specific queue on which to execute handler code. /// /// Executes handler on supplied queue/thread. /// /// @note Any existing handlers are replaced by the supplied handler. /// /// @param responseBlock The handler block to be executed in the event of a successful or unsuccessful network request. /// The first argument is the route-specific result. The second argument is the route-specific error. And the third /// argument is the more general network error (which includes information like Dropbox request ID, http status code, /// etc.). The fourth argument is the output `NSData` object in memory, to which the file was downloaded. /// @param queue The operation queue on which to execute the response. /// /// @return The current `DBDownloadDataTask` instance. /// - (DBDownloadDataTask *)setResponseBlock:(DBDownloadDataResponseBlock)responseBlock queue:(nullable NSOperationQueue *)queue; /// /// Installs a progress handler for the current request. /// /// Executes handler on main queue/thread. /// /// @note Any existing handlers are replaced by the supplied handler. /// /// @param progressBlock 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 number of total bytes expected to be downloaded. /// /// @return The current `DBDownloadDataTask` instance. /// - (DBDownloadDataTask *)setProgressBlock:(DBProgressBlock)progressBlock; /// /// Installs a progress handler for the current request. /// /// Executes handler on supplied queue/thread. /// /// @note Any existing handlers are replaced by the supplied handler. /// /// @param progressBlock 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 number of total bytes expected to be downloaded. /// @param queue The operation queue on which to execute the response. /// /// @return The current `DBDownloadDataTask` instance. /// - (DBDownloadDataTask *)setProgressBlock:(DBProgressBlock)progressBlock queue:(nullable NSOperationQueue *)queue; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Handwritten/Networking/DBTasks.m ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// #import "DBTasks.h" #import "DBDelegate.h" #import "DBGlobalErrorResponseHandler+Internal.h" #import "DBHandlerTypes.h" #import "DBRequestErrors.h" #import "DBStoneBase.h" #import "DBTransportBaseClient+Internal.h" #import "DBTransportBaseClient.h" #pragma mark - Base network task @implementation DBTask : NSObject - (instancetype)initWithRoute:(DBRoute *)route tokenUid:(NSString *)tokenUid { self = [super init]; if (self) { _route = route; _queue = nil; _tokenUid = [tokenUid copy]; _taskIdentifier = [[NSUUID UUID].UUIDString copy]; } return self; } - (void)cancel { @throw [NSException exceptionWithName:NSInternalInconsistencyException reason:[NSString stringWithFormat:@"You must override %@ in a subclass", NSStringFromSelector(_cmd)] userInfo:nil]; } - (void)suspend { @throw [NSException exceptionWithName:NSInternalInconsistencyException reason:[NSString stringWithFormat:@"You must override %@ in a subclass", NSStringFromSelector(_cmd)] userInfo:nil]; ; } - (void)resume { @throw [NSException exceptionWithName:NSInternalInconsistencyException reason:[NSString stringWithFormat:@"You must override %@ in a subclass", NSStringFromSelector(_cmd)] userInfo:nil]; } - (void)start { @throw [NSException exceptionWithName:NSInternalInconsistencyException reason:[NSString stringWithFormat:@"You must override %@ in a subclass", NSStringFromSelector(_cmd)] userInfo:nil]; } - (DBTask *)restart { @throw [NSException exceptionWithName:NSInternalInconsistencyException reason:[NSString stringWithFormat:@"You must override %@ in a subclass", NSStringFromSelector(_cmd)] userInfo:nil]; } + (NSError *)dropboxBadResponseErrorWithException:(NSException *)exception { return [NSError errorWithDomain:@"dropbox.com" code:0 userInfo:@{@"error_message" : exception}]; } @end #pragma mark - RPC-style network task @implementation DBRpcTask - (DBRpcTask *)setResponseBlock:(DBRpcResponseBlockImpl)responseBlock { #pragma unused(responseBlock) @throw [NSException exceptionWithName:NSInternalInconsistencyException reason:[NSString stringWithFormat:@"You must override %@ in a subclass", NSStringFromSelector(_cmd)] userInfo:nil]; } - (DBRpcTask *)setResponseBlock:(DBRpcResponseBlockImpl)responseBlock queue:(NSOperationQueue *)queue { #pragma unused(responseBlock) #pragma unused(queue) @throw [NSException exceptionWithName:NSInternalInconsistencyException reason:[NSString stringWithFormat:@"You must override %@ in a subclass", NSStringFromSelector(_cmd)] userInfo:nil]; } - (DBRpcTask *)setProgressBlock:(DBProgressBlock)progressBlock { #pragma unused(progressBlock) @throw [NSException exceptionWithName:NSInternalInconsistencyException reason:[NSString stringWithFormat:@"You must override %@ in a subclass", NSStringFromSelector(_cmd)] userInfo:nil]; } - (DBRpcTask *)setProgressBlock:(DBProgressBlock)progressBlock queue:(NSOperationQueue *)queue { #pragma unused(progressBlock) #pragma unused(queue) @throw [NSException exceptionWithName:NSInternalInconsistencyException reason:[NSString stringWithFormat:@"You must override %@ in a subclass", NSStringFromSelector(_cmd)] userInfo:nil]; } - (DBRpcResponseBlockStorage)storageBlockWithResponseBlock:(DBRpcResponseBlockImpl)responseBlock cleanupBlock:(DBCleanupBlock)cleanupBlock { __weak DBRpcTask *weakSelf = self; DBRpcResponseBlockStorage storageBlock = ^BOOL(NSData *data, NSURLResponse *response, NSError *clientError) { DBRpcTask *strongSelf = weakSelf; if (strongSelf == nil) { // Indicates failure and no-op return NO; } NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *)response; int statusCode = (int)httpResponse.statusCode; NSDictionary *httpHeaders = httpResponse.allHeaderFields; DBRoute *route = strongSelf.route; BOOL successful = NO; id result = nil; id routeError = nil; DBRequestError *networkError = [DBTransportBaseClient dBRequestErrorWithErrorData:data clientError:clientError statusCode:statusCode httpHeaders:httpHeaders]; if (networkError) { routeError = [DBTransportBaseClient statusCodeIsRouteError:statusCode] ? [DBTransportBaseClient routeErrorWithRoute:route data:data statusCode:statusCode] : nil; [DBGlobalErrorResponseHandler executeRegisteredResponseBlocksWithRouteError:routeError networkError:networkError restartTask:strongSelf]; } else { NSError *serializationError; @try { result = [DBTransportBaseClient routeResultWithRoute:route data:data serializationError:&serializationError]; } @catch (NSException *exception) { serializationError = [[strongSelf class] dropboxBadResponseErrorWithException:exception]; } if (serializationError) { networkError = [[DBRequestError alloc] initAsClientError:serializationError]; } else { result = !route.resultType ? [DBNilObject new] : result; successful = YES; } } responseBlock(result, routeError, networkError); cleanupBlock(); return successful; }; return storageBlock; } @end #pragma mark - Upload-style network task @implementation DBUploadTask - (DBUploadTask *)setResponseBlock:(DBUploadResponseBlockImpl)responseBlock { #pragma unused(responseBlock) @throw [NSException exceptionWithName:NSInternalInconsistencyException reason:[NSString stringWithFormat:@"You must override %@ in a subclass", NSStringFromSelector(_cmd)] userInfo:nil]; } - (DBUploadTask *)setResponseBlock:(DBUploadResponseBlockImpl)responseBlock queue:(NSOperationQueue *)queue { #pragma unused(responseBlock) #pragma unused(queue) @throw [NSException exceptionWithName:NSInternalInconsistencyException reason:[NSString stringWithFormat:@"You must override %@ in a subclass", NSStringFromSelector(_cmd)] userInfo:nil]; } - (DBUploadTask *)setProgressBlock:(DBProgressBlock)progressBlock { #pragma unused(progressBlock) @throw [NSException exceptionWithName:NSInternalInconsistencyException reason:[NSString stringWithFormat:@"You must override %@ in a subclass", NSStringFromSelector(_cmd)] userInfo:nil]; } - (DBUploadTask *)setProgressBlock:(DBProgressBlock)progressBlock queue:(NSOperationQueue *)queue { #pragma unused(progressBlock) #pragma unused(queue) @throw [NSException exceptionWithName:NSInternalInconsistencyException reason:[NSString stringWithFormat:@"You must override %@ in a subclass", NSStringFromSelector(_cmd)] userInfo:nil]; } - (DBUploadResponseBlockStorage)storageBlockWithResponseBlock:(DBUploadResponseBlockImpl)responseBlock cleanupBlock:(DBCleanupBlock)cleanupBlock { __weak DBUploadTask *weakSelf = self; DBUploadResponseBlockStorage storageBlock = ^BOOL(NSData *data, NSURLResponse *response, NSError *clientError) { DBUploadTask *strongSelf = weakSelf; if (strongSelf == nil) { // Indicates failure and no-op return NO; } NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *)response; int statusCode = (int)httpResponse.statusCode; NSDictionary *httpHeaders = httpResponse.allHeaderFields; DBRoute *route = strongSelf.route; BOOL successful = NO; id result = nil; id routeError = nil; DBRequestError *networkError = [DBTransportBaseClient dBRequestErrorWithErrorData:data clientError:clientError statusCode:statusCode httpHeaders:httpHeaders]; if (networkError) { routeError = [DBTransportBaseClient statusCodeIsRouteError:statusCode] ? [DBTransportBaseClient routeErrorWithRoute:route data:data statusCode:statusCode] : nil; [DBGlobalErrorResponseHandler executeRegisteredResponseBlocksWithRouteError:routeError networkError:networkError restartTask:strongSelf]; } else { NSError *serializationError; @try { result = [DBTransportBaseClient routeResultWithRoute:route data:data serializationError:&serializationError]; } @catch (NSException *exception) { serializationError = [[strongSelf class] dropboxBadResponseErrorWithException:exception]; } if (serializationError) { networkError = [[DBRequestError alloc] initAsClientError:serializationError]; } else { result = !route.resultType ? [DBNilObject new] : result; successful = YES; } } responseBlock(result, routeError, networkError); cleanupBlock(); return successful; }; return storageBlock; } @end #pragma mark - Download-style network task (NSURL) @implementation DBDownloadUrlTask - (DBDownloadUrlTask *)setResponseBlock:(DBDownloadUrlResponseBlockImpl)responseBlock { #pragma unused(responseBlock) @throw [NSException exceptionWithName:NSInternalInconsistencyException reason:[NSString stringWithFormat:@"You must override %@ in a subclass", NSStringFromSelector(_cmd)] userInfo:nil]; } - (DBDownloadUrlTask *)setResponseBlock:(DBDownloadUrlResponseBlockImpl)responseBlock queue:(NSOperationQueue *)queue { #pragma unused(responseBlock) #pragma unused(queue) @throw [NSException exceptionWithName:NSInternalInconsistencyException reason:[NSString stringWithFormat:@"You must override %@ in a subclass", NSStringFromSelector(_cmd)] userInfo:nil]; } - (DBDownloadUrlTask *)setProgressBlock:(DBProgressBlock)progressBlock { #pragma unused(progressBlock) @throw [NSException exceptionWithName:NSInternalInconsistencyException reason:[NSString stringWithFormat:@"You must override %@ in a subclass", NSStringFromSelector(_cmd)] userInfo:nil]; } - (DBDownloadUrlTask *)setProgressBlock:(DBProgressBlock)progressBlock queue:(NSOperationQueue *)queue { #pragma unused(progressBlock) #pragma unused(queue) @throw [NSException exceptionWithName:NSInternalInconsistencyException reason:[NSString stringWithFormat:@"You must override %@ in a subclass", NSStringFromSelector(_cmd)] userInfo:nil]; } - (DBDownloadResponseBlockStorage)storageBlockWithResponseBlock:(DBDownloadUrlResponseBlockImpl)responseBlock cleanupBlock:(DBCleanupBlock)cleanupBlock { __weak DBDownloadUrlTask *weakSelf = self; DBDownloadResponseBlockStorage storageBlock = ^BOOL(NSURL *location, NSURLResponse *response, NSError *clientError) { DBDownloadUrlTask *strongSelf = weakSelf; if (strongSelf == nil) { // Indicates failure and no-op return NO; } NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *)response; int statusCode = (int)httpResponse.statusCode; NSDictionary *httpHeaders = httpResponse.allHeaderFields; id headerString = [DBTransportBaseClient caseInsensitiveLookupWithKey:@"Dropbox-API-Result" headerFieldsDictionary:httpHeaders]; NSData *resultData = nil; if ([headerString isKindOfClass:[NSString class]]) { // If `headerString == nil` then `resultData = nil` resultData = [headerString dataUsingEncoding:NSUTF8StringEncoding]; } DBRoute *route = strongSelf.route; BOOL successful = NO; id result = nil; id routeError = nil; DBRequestError *networkError = nil; NSURL *destination = strongSelf->_destination; if (clientError || !resultData || !location) { 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 httpHeaders:httpHeaders]; routeError = [DBTransportBaseClient statusCodeIsRouteError:statusCode] ? [DBTransportBaseClient routeErrorWithRoute:route data:errorData statusCode:statusCode] : nil; [DBGlobalErrorResponseHandler executeRegisteredResponseBlocksWithRouteError:routeError networkError:networkError restartTask:strongSelf]; } else { NSFileManager *fileManager = [NSFileManager defaultManager]; NSString *destinationPath = [destination path]; NSError *fileMoveErrorOverwrite; if (strongSelf->_overwrite && [fileManager fileExistsAtPath:destinationPath]) { [fileManager removeItemAtPath:destinationPath error:&fileMoveErrorOverwrite]; } if (fileMoveErrorOverwrite) { networkError = [[DBRequestError alloc] initAsClientError:fileMoveErrorOverwrite]; } else { NSError *fileMoveErrorToDestination = nil; if (destinationPath) { [fileManager moveItemAtPath:[location path] toPath:destinationPath error:&fileMoveErrorToDestination]; } if (fileMoveErrorToDestination) { networkError = [[DBRequestError alloc] initAsClientError:fileMoveErrorToDestination]; } else { NSError *serializationError; @try { result = [DBTransportBaseClient routeResultWithRoute:route data:resultData serializationError:&serializationError]; } @catch (NSException *exception) { serializationError = [[strongSelf class] dropboxBadResponseErrorWithException:exception]; } if (serializationError) { networkError = [[DBRequestError alloc] initAsClientError:serializationError]; } else { result = !route.resultType ? [DBNilObject new] : result; successful = YES; } } } } responseBlock(result, routeError, networkError, destination ?: location); cleanupBlock(); return successful; }; return storageBlock; } @end #pragma mark - Download-style network task (NSData) @implementation DBDownloadDataTask - (DBDownloadDataTask *)setResponseBlock:(DBDownloadDataResponseBlockImpl)responseBlock { #pragma unused(responseBlock) @throw [NSException exceptionWithName:NSInternalInconsistencyException reason:[NSString stringWithFormat:@"You must override %@ in a subclass", NSStringFromSelector(_cmd)] userInfo:nil]; } - (DBDownloadDataTask *)setResponseBlock:(DBDownloadDataResponseBlockImpl)responseBlock queue:(NSOperationQueue *)queue { #pragma unused(responseBlock) #pragma unused(queue) @throw [NSException exceptionWithName:NSInternalInconsistencyException reason:[NSString stringWithFormat:@"You must override %@ in a subclass", NSStringFromSelector(_cmd)] userInfo:nil]; } - (DBDownloadDataTask *)setProgressBlock:(DBProgressBlock)progressBlock { #pragma unused(progressBlock) @throw [NSException exceptionWithName:NSInternalInconsistencyException reason:[NSString stringWithFormat:@"You must override %@ in a subclass", NSStringFromSelector(_cmd)] userInfo:nil]; } - (DBDownloadDataTask *)setProgressBlock:(DBProgressBlock)progressBlock queue:(NSOperationQueue *)queue { #pragma unused(progressBlock) #pragma unused(queue) @throw [NSException exceptionWithName:NSInternalInconsistencyException reason:[NSString stringWithFormat:@"You must override %@ in a subclass", NSStringFromSelector(_cmd)] userInfo:nil]; } - (DBDownloadResponseBlockStorage)storageBlockWithResponseBlock:(DBDownloadDataResponseBlockImpl)responseBlock cleanupBlock:(DBCleanupBlock)cleanupBlock { __weak DBDownloadDataTask *weakSelf = self; DBDownloadResponseBlockStorage storageBlock = ^BOOL(NSURL *location, NSURLResponse *response, NSError *clientError) { DBDownloadDataTask *strongSelf = weakSelf; if (strongSelf == nil) { // Indicates failure and no-op return NO; } NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *)response; int statusCode = (int)httpResponse.statusCode; NSDictionary *httpHeaders = httpResponse.allHeaderFields; id headerString = [DBTransportBaseClient caseInsensitiveLookupWithKey:@"Dropbox-API-Result" headerFieldsDictionary:httpHeaders]; NSData *resultData = nil; if ([headerString isKindOfClass:[NSString class]]) { // If `headerString == nil` then `resultData = nil` resultData = [headerString dataUsingEncoding:NSUTF8StringEncoding]; } DBRoute *route = strongSelf.route; BOOL successful = NO; id result = nil; id routeError = nil; DBRequestError *networkError = nil; NSData *downloadContent = nil; if (clientError || !resultData) { // error data is in response body (downloaded to output tmp file) NSData *errorData = location ? [NSData dataWithContentsOfFile:[location path]] : nil; networkError = [DBTransportBaseClient dBRequestErrorWithErrorData:errorData clientError:clientError statusCode:statusCode httpHeaders:httpHeaders]; routeError = [DBTransportBaseClient statusCodeIsRouteError:statusCode] ? [DBTransportBaseClient routeErrorWithRoute:route data:errorData statusCode:statusCode] : nil; [DBGlobalErrorResponseHandler executeRegisteredResponseBlocksWithRouteError:routeError networkError:networkError restartTask:strongSelf]; } else { NSError *serializationError; @try { result = [DBTransportBaseClient routeResultWithRoute:route data:resultData serializationError:&serializationError]; } @catch (NSException *exception) { serializationError = [[strongSelf class] dropboxBadResponseErrorWithException:exception]; } if (serializationError) { networkError = [[DBRequestError alloc] initAsClientError:serializationError]; } else { result = !route.resultType ? [DBNilObject new] : result; downloadContent = [NSData dataWithContentsOfFile:[location path]]; successful = YES; } } responseBlock(result, routeError, networkError, downloadContent); cleanupBlock(); return successful; }; return storageBlock; } @end ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Handwritten/Networking/DBTasksImpl.m ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// #import "DBTasksImpl.h" #import "DBDelegate.h" #import "DBHandlerTypes.h" #import "DBRequestErrors.h" #import "DBStoneBase.h" #import "DBTasks+Protected.h" #import "DBTransportBaseClient.h" #import "DBURLSessionTaskResponseBlockWrapper.h" #pragma mark - RPC-style network task @implementation DBRpcTaskImpl { DBRpcTaskImpl *_selfRetained; DBRpcResponseBlockImpl _responseBlock; } - (instancetype)initWithTask:(id)task tokenUid:(NSString *)tokenUid route:(DBRoute *)route { self = [super initWithRoute:route tokenUid:tokenUid]; if (self) { _task = task; _selfRetained = self; } return self; } - (NSURLSession *)session { return _task.session; } - (void)cancel { [_task cancel]; } - (void)suspend { [_task suspend]; } - (void)resume { [_task resume]; } - (void)start { [_task resume]; } - (void)cleanup { _selfRetained = nil; NSOperationQueue *queueToUse = _queue ?: [NSOperationQueue mainQueue]; [queueToUse addOperationWithBlock:^{ self->_responseBlock = nil; }]; } - (DBTask *)restart { DBRpcTaskImpl *sdkTask = [[DBRpcTaskImpl alloc] initWithTask:[_task duplicate] tokenUid:self.tokenUid route:self.route]; sdkTask.retryCount += 1; [sdkTask setResponseBlock:_responseBlock queue:_queue]; [sdkTask resume]; return sdkTask; } - (DBRpcTask *)setResponseBlock:(DBRpcResponseBlockImpl)responseBlock { return [self setResponseBlock:responseBlock queue:nil]; } - (DBRpcTask *)setResponseBlock:(DBRpcResponseBlockImpl)responseBlock queue:(NSOperationQueue *)queue { _responseBlock = responseBlock; __weak __typeof(self) weakSelf = self; DBRpcResponseBlockStorage storageBlock = [self storageBlockWithResponseBlock:responseBlock cleanupBlock:^{ [weakSelf cleanup]; }]; [_task setResponseBlock:[DBURLSessionTaskResponseBlockWrapper withRpcResponseBlock:storageBlock] queue:queue]; return self; } - (DBRpcTask *)setProgressBlock:(DBProgressBlock)progressBlock { return [self setProgressBlock:progressBlock queue:nil]; } - (DBRpcTask *)setProgressBlock:(DBProgressBlock)progressBlock queue:(NSOperationQueue *)queue { [_task setProgressBlock:progressBlock queue:queue]; return self; } @end #pragma mark - Upload-style network task @implementation DBUploadTaskImpl { DBUploadTaskImpl *_selfRetained; DBUploadResponseBlockImpl _responseBlock; } - (instancetype)initWithTask:(id)task tokenUid:(NSString *)tokenUid route:(DBRoute *)route { self = [super initWithRoute:route tokenUid:tokenUid]; if (self) { _uploadTask = task; _selfRetained = self; } return self; } - (NSURLSession *)session { return _uploadTask.session; } - (void)cancel { [_uploadTask cancel]; } - (void)suspend { [_uploadTask suspend]; } - (void)resume { [_uploadTask resume]; } - (void)start { [_uploadTask resume]; } - (void)cleanup { _selfRetained = nil; NSOperationQueue *queueToUse = _queue ?: [NSOperationQueue mainQueue]; [queueToUse addOperationWithBlock:^{ self->_responseBlock = nil; }]; } - (DBTask *)restart { 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; } - (DBUploadTask *)setResponseBlock:(DBUploadResponseBlockImpl)responseBlock { return [self setResponseBlock:responseBlock queue:nil]; } - (DBUploadTask *)setResponseBlock:(DBUploadResponseBlockImpl)responseBlock queue:(NSOperationQueue *)queue { _responseBlock = responseBlock; __weak __typeof(self) weakSelf = self; DBUploadResponseBlockStorage storageBlock = [self storageBlockWithResponseBlock:responseBlock cleanupBlock:^{ [weakSelf cleanup]; }]; [_uploadTask setResponseBlock:[DBURLSessionTaskResponseBlockWrapper withUploadResponseBlock:storageBlock] queue:queue]; return self; } - (DBUploadTask *)setProgressBlock:(DBProgressBlock)progressBlock { return [self setProgressBlock:progressBlock queue:nil]; } - (DBUploadTask *)setProgressBlock:(DBProgressBlock)progressBlock queue:(NSOperationQueue *)queue { [_uploadTask setProgressBlock:progressBlock queue:queue]; return self; } @end #pragma mark - Download-style network task (NSURL) @implementation DBDownloadUrlTaskImpl { DBDownloadUrlTaskImpl *_selfRetained; DBDownloadUrlResponseBlockImpl _responseBlock; id _downloadUrlTask; } - (instancetype)initWithTask:(id)task tokenUid:(NSString *)tokenUid route:(DBRoute *)route overwrite:(BOOL)overwrite destination:(NSURL *)destination { self = [super initWithRoute:route tokenUid:tokenUid]; if (self) { _downloadUrlTask = task; _overwrite = overwrite; _destination = destination; _selfRetained = self; } return self; } - (NSURLSession *)session { return _downloadUrlTask.session; } - (void)cancel { [_downloadUrlTask cancel]; } - (void)suspend { [_downloadUrlTask suspend]; } - (void)resume { [_downloadUrlTask resume]; } - (void)start { [_downloadUrlTask resume]; } - (void)cleanup { _selfRetained = nil; NSOperationQueue *queueToUse = _queue ?: [NSOperationQueue mainQueue]; [queueToUse addOperationWithBlock:^{ self->_responseBlock = nil; }]; } - (DBTask *)restart { DBDownloadUrlTaskImpl *sdkTask = [[DBDownloadUrlTaskImpl alloc] initWithTask:[_downloadUrlTask duplicate] tokenUid:self.tokenUid route:self.route overwrite:_overwrite destination:_destination]; sdkTask.retryCount += 1; [sdkTask setResponseBlock:_responseBlock queue:_queue]; [sdkTask resume]; return sdkTask; } - (DBDownloadUrlTask *)setResponseBlock:(DBDownloadUrlResponseBlockImpl)responseBlock { return [self setResponseBlock:responseBlock queue:nil]; } - (DBDownloadUrlTask *)setResponseBlock:(DBDownloadUrlResponseBlockImpl)responseBlock queue:(NSOperationQueue *)queue { _responseBlock = responseBlock; __weak __typeof(self) weakSelf = self; DBDownloadResponseBlockStorage storageBlock = [self storageBlockWithResponseBlock:responseBlock cleanupBlock:^{ [weakSelf cleanup]; }]; [_downloadUrlTask setResponseBlock:[DBURLSessionTaskResponseBlockWrapper withDownloadResponseBlock:storageBlock] queue:queue]; return self; } - (DBDownloadUrlTask *)setProgressBlock:(DBProgressBlock)progressBlock { return [self setProgressBlock:progressBlock queue:nil]; } - (DBDownloadUrlTask *)setProgressBlock:(DBProgressBlock)progressBlock queue:(NSOperationQueue *)queue { [_downloadUrlTask setProgressBlock:progressBlock queue:queue]; return self; } @end #pragma mark - Download-style network task (NSData) @implementation DBDownloadDataTaskImpl { DBDownloadDataTaskImpl *_selfRetained; DBDownloadDataResponseBlockImpl _responseBlock; id _downloadDataTask; } - (instancetype)initWithTask:(id)task tokenUid:(NSString *)tokenUid route:(DBRoute *)route { self = [super initWithRoute:route tokenUid:tokenUid]; if (self) { _downloadDataTask = task; _selfRetained = self; } return self; } - (NSURLSession *)session { return _downloadDataTask.session; } - (void)cancel { [_downloadDataTask cancel]; } - (void)suspend { [_downloadDataTask suspend]; } - (void)resume { [_downloadDataTask resume]; } - (void)start { [_downloadDataTask resume]; } - (void)cleanup { _selfRetained = nil; NSOperationQueue *queueToUse = _queue ?: [NSOperationQueue mainQueue]; [queueToUse addOperationWithBlock:^{ self->_responseBlock = nil; }]; } - (DBTask *)restart { DBDownloadDataTaskImpl *sdkTask = [[DBDownloadDataTaskImpl alloc] initWithTask:[_downloadDataTask duplicate] tokenUid:self.tokenUid route:self.route]; sdkTask.retryCount += 1; [sdkTask setResponseBlock:_responseBlock queue:_queue]; [sdkTask resume]; return sdkTask; } - (DBDownloadDataTask *)setResponseBlock:(DBDownloadDataResponseBlockImpl)responseBlock { return [self setResponseBlock:responseBlock queue:nil]; } - (DBDownloadDataTask *)setResponseBlock:(DBDownloadDataResponseBlockImpl)responseBlock queue:(NSOperationQueue *)queue { _responseBlock = responseBlock; __weak __typeof(self) weakSelf = self; DBDownloadResponseBlockStorage storageBlock = [self storageBlockWithResponseBlock:responseBlock cleanupBlock:^{ [weakSelf cleanup]; }]; [_downloadDataTask setResponseBlock:[DBURLSessionTaskResponseBlockWrapper withDownloadResponseBlock:storageBlock] queue:queue]; return self; } - (DBDownloadDataTask *)setProgressBlock:(DBProgressBlock)progressBlock { return [self setProgressBlock:progressBlock queue:nil]; } - (DBDownloadDataTask *)setProgressBlock:(DBProgressBlock)progressBlock queue:(NSOperationQueue *)queue { [_downloadDataTask setProgressBlock:progressBlock queue:queue]; return self; } @end ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Handwritten/Networking/DBTasksStorage.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// #import #import "DBTasks.h" /// /// Task storage for upload and download tasks. /// /// Offers a convenient, thread-safe storage option for upload and download tasks so that they can be cancelled later. /// @interface DBTasksStorage : NSObject /// /// Cancels all tasks stored in the object. /// - (void)cancelAllTasks; /// /// Adds the upload task in a thread-safe manner. /// /// @note If `cancelAllTasks` has already been called, the task is not only not added, but it is cancelled as well. /// /// @param task The task to add. /// - (void)addUploadTask:(DBUploadTask *)task; /// /// Removes the upload task in a thread-safe manner. /// /// @param task The task to remove. /// - (void)removeUploadTask:(DBUploadTask *)task; /// /// Adds the download to url task in a thread-safe manner. /// /// @note If `cancelAllTasks` has already been called, the task is not only not added, but it is cancelled as well. /// /// @param task The task to add. /// - (void)addDownloadUrlTask:(DBDownloadUrlTask *)task; /// /// Removes the download to url task in a thread-safe manner. /// /// @param task The task to remove. /// - (void)removeDownloadUrlTask:(DBDownloadUrlTask *)task; /// /// Adds the download to data task in a thread-safe manner. /// /// @note If `cancelAllTasks` has already been called, the task is not only not added, but it is cancelled as well. /// /// @param task The task to add. /// - (void)addDownloadDataTask:(DBDownloadDataTask *)task; /// /// Removes the download to data task in a thread-safe manner. /// /// @param task The task to remove. /// - (void)removeDownloadDataTask:(DBDownloadDataTask *)task; /// /// Determine whether there are tasks in progress. /// /// @return Whether there are tasks in progress. /// - (BOOL)tasksInProgress; @end ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Handwritten/Networking/DBTasksStorage.m ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// #import "DBTasksStorage.h" #import "DBSDKConstants.h" #import "DBTasksImpl.h" @interface DBTasksStorage () @property (nonatomic) NSMutableDictionary *uploadTasks; @property (nonatomic) NSMutableDictionary *downloadUrlTasks; @property (nonatomic) NSMutableDictionary *downloadDataTasks; @property (nonatomic) BOOL cancel; @end @implementation DBTasksStorage - (instancetype)init { self = [super init]; if (self) { _uploadTasks = [NSMutableDictionary new]; _downloadUrlTasks = [NSMutableDictionary new]; _downloadDataTasks = [NSMutableDictionary new]; } return self; } - (void)cancelAllTasks { @synchronized(self) { _cancel = YES; for (NSString *key in _uploadTasks) { DBUploadTaskImpl *task = _uploadTasks[key]; [task cancel]; } for (NSString *key in _downloadUrlTasks) { DBDownloadUrlTaskImpl *task = _downloadUrlTasks[key]; [task cancel]; } for (NSString *key in _downloadDataTasks) { DBDownloadDataTaskImpl *task = _downloadDataTasks[key]; [task cancel]; } [_uploadTasks removeAllObjects]; [_downloadUrlTasks removeAllObjects]; [_downloadDataTasks removeAllObjects]; } } - (void)addUploadTask:(DBUploadTaskImpl *)task { @synchronized(self) { if (!_cancel) { NSString *sessionId = task.session.configuration.identifier ?: kDBSDKForegroundSessionId; NSString *key = [NSString stringWithFormat:@"%@/%@", sessionId, task.taskIdentifier]; [_uploadTasks setObject:task forKey:key]; } else { [task cancel]; } } } - (void)removeUploadTask:(DBUploadTaskImpl *)task { @synchronized(self) { NSString *sessionId = task.session.configuration.identifier ?: kDBSDKForegroundSessionId; NSString *key = [NSString stringWithFormat:@"%@/%@", sessionId, task.taskIdentifier]; [_uploadTasks removeObjectForKey:key]; } } - (void)addDownloadUrlTask:(DBDownloadUrlTaskImpl *)task { @synchronized(self) { if (!_cancel) { NSString *sessionId = task.session.configuration.identifier ?: kDBSDKForegroundSessionId; NSString *key = [NSString stringWithFormat:@"%@/%@", sessionId, task.taskIdentifier]; [_downloadUrlTasks setObject:task forKey:key]; } else { [task cancel]; } } } - (void)removeDownloadUrlTask:(DBDownloadUrlTaskImpl *)task { @synchronized(self) { NSString *sessionId = task.session.configuration.identifier ?: kDBSDKForegroundSessionId; NSString *key = [NSString stringWithFormat:@"%@/%@", sessionId, task.taskIdentifier]; [_downloadUrlTasks removeObjectForKey:key]; } } - (void)addDownloadDataTask:(DBDownloadDataTaskImpl *)task { @synchronized(self) { if (!_cancel) { NSString *sessionId = task.session.configuration.identifier ?: kDBSDKForegroundSessionId; NSString *key = [NSString stringWithFormat:@"%@/%@", sessionId, task.taskIdentifier]; [_downloadDataTasks setObject:task forKey:key]; } else { [task cancel]; } } } - (void)removeDownloadDataTask:(DBDownloadDataTaskImpl *)task { @synchronized(self) { NSString *sessionId = task.session.configuration.identifier ?: kDBSDKForegroundSessionId; NSString *key = [NSString stringWithFormat:@"%@/%@", sessionId, task.taskIdentifier]; [_downloadDataTasks removeObjectForKey:key]; } } - (BOOL)tasksInProgress { @synchronized(self) { return [_uploadTasks count] > 0 || [_downloadUrlTasks count] > 0 || [_downloadDataTasks count] > 0; } } @end ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Handwritten/Networking/DBTransportBaseClient.h ================================================ /// /// 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 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. @property (nonatomic, readonly, copy) NSString *tokenUid; /// The user agent associated with all networking requests. Used for server logging. @property (nonatomic, readonly, copy) NSString *userAgent; /// 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. @property (nonatomic, readonly, copy, nullable) NSString *appKey; /// 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. @property (nonatomic, readonly, copy, nullable) NSString *appSecret; /// An additional authentication header field used when a team app with the appropriate permissions "performs" user API /// 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; /// /// 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 /// 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)initWithAccessToken:(nullable NSString *)accessToken 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Handwritten/Networking/DBTransportBaseClient.m ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// #import #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 @interface DBTransportBaseClient () @property (nonatomic, readonly, copy) DBTransportBaseHostnameConfig *hostnameConfig; @end @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]) { _accessTokenProvider = accessTokenProvider; _tokenUid = [tokenUid copy]; _appKey = transportConfig.appKey; _appSecret = transportConfig.appSecret; _hostnameConfig = transportConfig.hostnameConfig ?: [[DBTransportBaseHostnameConfig alloc] init]; NSString *defaultUserAgent = [DBTransportBaseConfig defaultUserAgent]; _userAgent = transportConfig.userAgent ? [[transportConfig.userAgent stringByAppendingString:@"/"] stringByAppendingString:defaultUserAgent] : defaultUserAgent; _asMemberId = transportConfig.asMemberId; _pathRoot = transportConfig.pathRoot; _additionalHeaders = transportConfig.additionalHeaders; } return self; } - (NSDictionary *)headersWithRouteInfo:(NSDictionary *)routeAttributes serializedArg:(NSString *)serializedArg { return [self headersWithRouteInfo:routeAttributes serializedArg:serializedArg byteOffsetStart:nil byteOffsetEnd:nil]; } - (NSDictionary *)headersWithRouteInfo:(NSDictionary *)routeAttributes serializedArg:(NSString *)serializedArg byteOffsetStart:(NSNumber *)byteOffsetStart byteOffsetEnd:(NSNumber *)byteOffsetEnd { NSString *routeStyle = routeAttributes[@"style"]; // 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 = [routeAuths containsObject:@"noauth"]; if (!noauth) { if (_asMemberId) { [headers setObject:_asMemberId forKey:@"Dropbox-Api-Select-User"]; } 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 { NSLog(@"Auth info not properly configured. Use custom `DBTransportDefaultConfig` instance to set."); } } if ([routeStyle isEqualToString:@"rpc"]) { if (serializedArg) { [headers setObject:@"application/json" forKey:@"Content-Type"]; } } else if ([routeStyle isEqualToString:@"upload"]) { [headers setObject:@"application/octet-stream" forKey:@"Content-Type"]; if (serializedArg) { [headers setObject:serializedArg forKey:@"Dropbox-API-Arg"]; } } else if ([routeStyle isEqualToString:@"download"]) { if (serializedArg) { [headers setObject:serializedArg forKey:@"Dropbox-API-Arg"]; } } if (byteOffsetStart && byteOffsetEnd) { NSString *bytesRangeSpecifier = [NSString stringWithFormat:@"bytes=%lu-%lu", [byteOffsetStart unsignedLongValue], [byteOffsetEnd unsignedLongValue]]; [headers setObject:bytesRangeSpecifier forKey:@"Range"]; } if (_additionalHeaders != nil) { [headers addEntriesFromDictionary:_additionalHeaders]; } return headers; } + (NSMutableURLRequest *)requestWithHeaders:(NSDictionary *)httpHeaders url:(NSURL *)url content:(NSData *)content stream:(NSInputStream *)stream { NSMutableURLRequest *request = [[NSMutableURLRequest alloc] initWithURL:url]; for (NSString *key in httpHeaders) { [request addValue:httpHeaders[key] forHTTPHeaderField:key]; } request.HTTPMethod = @"POST"; if (content) { request.HTTPBody = content; } if (stream) { request.HTTPBodyStream = stream; } return request; } - (NSURL *)urlWithRoute:(DBRoute *)route { NSString *routePrefix = [_hostnameConfig apiV2PrefixWithRoute:route]; return [NSURL URLWithString:[NSString stringWithFormat:@"%@/%@/%@", routePrefix, route.namespace_, route.name]]; } + (NSData *)serializeDataWithRoute:(DBRoute *)route routeArg:(id)arg { if (!arg) { return nil; } if (route != nil && route.dataStructSerialBlock) { return [[self class] jsonDataWithJsonObj:route.dataStructSerialBlock(arg)]; } NSDictionary *serializedDict = [[arg class] serialize:arg]; return [[self class] jsonDataWithJsonObj:serializedDict]; } + (NSString *)serializeStringWithRoute:(DBRoute *)route routeArg:(id)arg { if (!arg) { return nil; } NSData *jsonData = [self serializeDataWithRoute:route routeArg:arg]; if (!jsonData) { return nil; } NSString *asciiEscapedStr = [[self class] asciiEscapeWithString:[[self class] utf8StringWithData:jsonData]]; NSMutableString *filteredStr = [[NSMutableString alloc] initWithString:asciiEscapedStr]; [filteredStr replaceOccurrencesOfString:@"\\/" withString:@"/" options:NSLiteralSearch range:NSMakeRange(0, [filteredStr length])]; return filteredStr; } + (NSData *)jsonDataWithJsonObj:(id)jsonObj { if (!jsonObj) { return nil; } NSError *error; NSData *jsonData = [NSJSONSerialization dataWithJSONObject:jsonObj options:0 error:&error]; if (!jsonData) { NSLog(@"Error serializing dictionary: %@", error.localizedDescription); return nil; } else { return jsonData; } } + (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)]; if ([substring canBeConvertedToEncoding:NSASCIIStringEncoding]) { [result appendString:substring]; } else { [result appendFormat:@"\\u%04x", [string characterAtIndex:i]]; } } 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 httpHeaders:(NSDictionary *)httpHeaders { DBRequestError *dbxError; if (clientError && errorData == nil) { return [[DBRequestError alloc] initAsClientError:clientError]; } if (statusCode == 200) { return nil; } NSDictionary *deserializedData = [self deserializeHttpData:errorData]; NSString *requestId = httpHeaders[@"X-Dropbox-Request-Id"]; NSString *errorContent; if (deserializedData) { if (deserializedData[@"error_summary"]) { errorContent = deserializedData[@"error_summary"]; } else if (deserializedData[@"error"]) { errorContent = deserializedData[@"error"]; } else { errorContent = errorData ? [[NSString alloc] initWithData:errorData encoding:NSUTF8StringEncoding] : nil; } } else { errorContent = errorData ? [[NSString alloc] initWithData:errorData encoding:NSUTF8StringEncoding] : nil; } 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 statusCode:@(statusCode) errorContent:errorContent userMessage:userMessage]; } else if (statusCode == 400) { dbxError = [[DBRequestError alloc] initAsBadInputError:requestId statusCode:@(statusCode) errorContent:errorContent userMessage:userMessage]; } else if (statusCode == 401) { DBAUTHAuthError *authError = [DBAUTHAuthErrorSerializer deserialize:deserializedData[@"error"]]; dbxError = [[DBRequestError alloc] initAsAuthError:requestId statusCode:@(statusCode) errorContent:errorContent userMessage:userMessage structuredAuthError:authError]; } else if (statusCode == 403) { DBAUTHAccessError *accessError = [DBAUTHAccessErrorSerializer deserialize:deserializedData[@"error"]]; dbxError = [[DBRequestError alloc] initAsAccessError:requestId statusCode:@(statusCode) errorContent:errorContent userMessage:userMessage structuredAccessError:accessError]; } else if (statusCode == 422) { DBCOMMONPathRootError *pathRootError = [DBCOMMONPathRootErrorSerializer deserialize:deserializedData[@"error"]]; dbxError = [[DBRequestError alloc] initAsPathRootError:requestId statusCode:@(statusCode) errorContent:errorContent userMessage:userMessage structuredPathRootError:pathRootError]; } else if (statusCode == 429) { DBAUTHRateLimitError *rateLimitError = [DBAUTHRateLimitErrorSerializer deserialize:deserializedData[@"error"]]; NSString *retryAfter = httpHeaders[@"Retry-After"]; double retryAfterSeconds = retryAfter.doubleValue; dbxError = [[DBRequestError alloc] initAsRateLimitError:requestId statusCode:@(statusCode) errorContent:errorContent userMessage:userMessage structuredRateLimitError:rateLimitError backoff:@(retryAfterSeconds)]; } else if ([[self class] statusCodeIsRouteError:statusCode]) { dbxError = [[DBRequestError alloc] initAsHttpError:requestId statusCode:@(statusCode) errorContent:errorContent userMessage:userMessage]; } else { dbxError = [[DBRequestError alloc] initAsHttpError:requestId statusCode:@(statusCode) errorContent:errorContent userMessage:userMessage]; } return dbxError; } + (id)routeErrorWithRoute:(DBRoute *)route data:(NSData *)data statusCode:(int)statusCode { if (!data) { return nil; } id routeError = nil; NSDictionary *deserializedData = [self deserializeHttpData:data]; if ([[self class] statusCodeIsRouteError:statusCode]) { routeError = [route.errorType deserialize:deserializedData[@"error"]]; } return routeError; } + (NSDictionary *)deserializeHttpData:(NSData *)data { if (!data) { return nil; } NSError *error; return [NSJSONSerialization JSONObjectWithData:data options:NSJSONReadingMutableContainers error:&error]; } + (id)routeResultWithRoute:(DBRoute *)route data:(NSData *)data serializationError:(NSError **)serializationError { if (!data) { return nil; } if (!route.resultType) { return nil; } id jsonData = [NSJSONSerialization JSONObjectWithData:data options:NSJSONReadingMutableContainers error:serializationError]; if (*serializationError) { return nil; } if (route.resultType) { if (route.dataStructDeserialBlock) { return route.dataStructDeserialBlock(jsonData); } return [(Class)route.resultType deserialize:jsonData]; } return nil; } + (BOOL)statusCodeIsRouteError:(int)statusCode { return statusCode == 409; } + (nullable id)caseInsensitiveLookupWithKey:(nullable NSString *)lookupKey headerFieldsDictionary:(nullable NSDictionary *)headerFieldsDictionary { NSString *lowercaseLookupKey = lookupKey.lowercaseString; for (id key in headerFieldsDictionary) { if ([key isKindOfClass:[NSString class]]) { NSString *keyString = (NSString *)key; if ([keyString.lowercaseString isEqualToString:lowercaseLookupKey]) { return headerFieldsDictionary[key]; } } } return nil; } @end ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Handwritten/Networking/DBTransportBaseConfig.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// #import #import "DBCOMMONPathRoot.h" #import "DBTransportBaseHostnameConfig.h" NS_ASSUME_NONNULL_BEGIN /// /// Configuration class for `DBTransportBaseClient`. /// @interface DBTransportBaseConfig : NSObject /// 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. @property (nonatomic, readonly, copy, nullable) NSString *appKey; /// 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. @property (nonatomic, readonly, copy, nullable) NSString *appSecret; /// The hostname configuration used for various networking requests. @property (nonatomic, readonly, copy, nullable) DBTransportBaseHostnameConfig *hostnameConfig; /// The redirect url used for oauth flow @property (nonatomic, readonly, copy, nullable) NSString *redirectURL; /// The user agent associated with all networking requests. Used for server logging. @property (nonatomic, readonly, copy, nullable) NSString *userAgent; /// An additional authentication header field used when a team app with the appropriate permissions "performs" user API /// 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. /// /// @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 userAgent The user agent associated with all networking requests. Used for server logging. /// /// @return An initialized instance. /// - (instancetype)initWithAppKey:(nullable NSString *)appKey userAgent:(nullable NSString *)userAgent; /// /// 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. /// /// @return An initialized instance. /// - (instancetype)initWithAppKey:(nullable NSString *)appKey appSecret:(nullable NSString *)appSecret userAgent:(nullable NSString *)userAgent; /// /// 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 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. /// /// @return An initialized instance. /// - (instancetype)initWithAppKey:(nullable NSString *)appKey appSecret:(nullable NSString *)appSecret userAgent:(nullable NSString *)userAgent asMemberId:(nullable NSString *)asMemberId; /// /// Full 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. /// @param additionalHeaders Additional HTTP headers to be injected into each client request. /// /// @return An initialized instance. /// - (instancetype)initWithAppKey:(nullable NSString *)appKey appSecret:(nullable NSString *)appSecret userAgent:(nullable NSString *)userAgent asMemberId:(nullable NSString *)asMemberId additionalHeaders:(nullable NSDictionary *)additionalHeaders; /// /// Full constructor, with debug hostname override. /// /// @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 hostnameConfig A set of custom hostnames to use for networking requests. Only useful for debugging purposes. /// @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 additionalHeaders Additional HTTP headers to be injected into each client request. /// /// @return An initialized instance. /// - (instancetype)initWithAppKey:(nullable NSString *)appKey appSecret:(nullable NSString *)appSecret hostnameConfig:(nullable DBTransportBaseHostnameConfig *)hostnameConfig userAgent:(nullable NSString *)userAgent asMemberId:(nullable NSString *)asMemberId additionalHeaders:(nullable NSDictionary *)additionalHeaders; /// /// Full constructor, with debug hostname and redirectURL override. /// /// @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 hostnameConfig A set of custom hostnames to use for networking requests. Only useful for debugging purposes. /// @param redirectURL The redirect url used for oauth flow. /// @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. /// - (instancetype)initWithAppKey:(nullable NSString *)appKey appSecret:(nullable NSString *)appSecret hostnameConfig:(nullable DBTransportBaseHostnameConfig *)hostnameConfig redirectURL:(nullable NSString *)redirectURL userAgent:(nullable NSString *)userAgent asMemberId:(nullable NSString *)asMemberId pathRoot:(nullable DBCOMMONPathRoot *)pathRoot additionalHeaders:(nullable NSDictionary *)additionalHeaders; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Handwritten/Networking/DBTransportBaseConfig.m ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// #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]; } - (instancetype)initWithAppKey:(NSString *)appKey appSecret:(NSString *)appSecret userAgent:(NSString *)userAgent { 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 asMemberId:(NSString *)asMemberId { return [self initWithAppKey:appKey appSecret:appSecret userAgent:userAgent asMemberId:asMemberId additionalHeaders:nil]; } - (instancetype)initWithAppKey:(NSString *)appKey appSecret:(NSString *)appSecret userAgent:(NSString *)userAgent asMemberId:(NSString *)asMemberId additionalHeaders:(NSDictionary *)additionalHeaders { return [self initWithAppKey:appKey appSecret:appSecret hostnameConfig:nil userAgent:userAgent asMemberId:asMemberId additionalHeaders:additionalHeaders]; } - (instancetype)initWithAppKey:(NSString *)appKey appSecret:(NSString *)appSecret hostnameConfig:(DBTransportBaseHostnameConfig *)hostnameConfig userAgent:(NSString *)userAgent asMemberId:(NSString *)asMemberId additionalHeaders:(NSDictionary *)additionalHeaders { return [self initWithAppKey:appKey appSecret:appSecret hostnameConfig:hostnameConfig redirectURL:nil userAgent:userAgent asMemberId:asMemberId pathRoot:nil additionalHeaders:additionalHeaders]; } - (instancetype)initWithAppKey:(NSString *)appKey appSecret:(NSString *)appSecret hostnameConfig:(DBTransportBaseHostnameConfig *)hostnameConfig redirectURL:(NSString *)redirectURL userAgent:(NSString *)userAgent asMemberId:(NSString *)asMemberId pathRoot:(nullable DBCOMMONPathRoot *)pathRoot additionalHeaders:(NSDictionary *)additionalHeaders { if (self = [super init]) { _userAgent = userAgent; _appKey = appKey; _appSecret = appSecret; _redirectURL = redirectURL; _hostnameConfig = hostnameConfig; _asMemberId = asMemberId; _pathRoot = pathRoot; _additionalHeaders = additionalHeaders; } return self; } @end ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Handwritten/Networking/DBTransportBaseHostnameConfig.h ================================================ /// /// 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 /// @interface DBTransportBaseHostnameConfig : NSObject @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; /// /// Default constructor. /// /// @return An initialized instance of hostname configurations with default values set for all hostnames /// - (instancetype)init; /// /// 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 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 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 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 *)apiV2PrefixWithRoute:(DBRoute *)route; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Handwritten/Networking/DBTransportBaseHostnameConfig.m ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// #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 { 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 *)apiV2PrefixWithRoute:(DBRoute *)route { switch (route.host) { case DBRouteHostApi: return [NSString stringWithFormat:@"https://%@/2", _api]; 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]; case DBRouteHostUnknown: return nil; } } @end ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Handwritten/Networking/DBTransportClientProtocol.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// #import #import "DBSerializableProtocol.h" @class DBDownloadDataTask; @class DBDownloadUrlTask; @class DBRoute; @class DBRpcTask; @class DBUploadTask; @protocol DBAccessTokenProvider; NS_ASSUME_NONNULL_BEGIN @protocol DBTransportClient /// The Dropbox OAuth2 access token provider used to make requests. @property (nonatomic, nullable) id accessTokenProvider; #pragma mark - RPC-style request /// /// Request to RPC-style endpoint. /// /// @param route The static `DBRoute` instance associated with the route. Contains information like route host, response /// type, etc. /// @param arg The unserialized route argument to pass. Must conform to the `DBSerializable` protocol. /// /// @return A `DBRpcTask` where response and progress handlers can be added, and the request can be halted or cancelled. /// - (DBRpcTask *)requestRpc:(DBRoute *)route arg:(id _Nullable)arg; #pragma mark - Upload-style request (NSURL) /// /// Request to Upload-style endpoint (via `NSURL`). /// /// @param route The static `DBRoute` instance associated with the route. Contains information like route host, response /// type, etc. /// @param arg The unserialized route argument to pass. Must conform to the `DBSerializable` protocol. /// @param input The location of the file to upload. NSURLSession supports background uploads for this input type, so by /// default, all requests of this type will be made in the background. /// /// @return A `DBUploadTask` where response and progress handlers can be added, and the request can be halted or /// cancelled. /// - (DBUploadTask *)requestUpload:(DBRoute *)route arg:(id _Nullable)arg inputUrl:(NSString *)input; #pragma mark - Upload-style request (NSData) /// /// Request to Upload-style endpoint (via `NSData`). /// /// @param route The static `DBRoute` instance associated with the route. Contains information like route host, response /// type, etc. /// @param arg The unserialized route argument to pass. Must conform to the `DBSerializable` protocol. /// @param input The location of the file to upload. NSURLSession does not support background uploads for this input /// type, so by default, all requests of this type will be made in the foreground. /// /// @return A `DBUploadTask` where response and progress handlers can be added, and the request can be halted or /// cancelled. /// - (DBUploadTask *)requestUpload:(DBRoute *)route arg:(id _Nullable)arg inputData:(NSData *)input; #pragma mark - Upload-style request (NSInputStream) /// /// Request to Upload-style endpoint (via `NSInputStream`). /// /// @param route The static `DBRoute` instance associated with the route. Contains information like route host, response /// type, etc. /// @param arg The unserialized route argument to pass. Must conform to the `DBSerializable` protocol. /// @param input The location of the file to upload. `NSURLSession` does not support background uploads for this input /// type, so by default, all requests of this type will be made in the foreground. /// /// @return A `DBUploadTask` where response and progress handlers can be added, and the request can be halted or /// cancelled. /// - (DBUploadTask *)requestUpload:(DBRoute *)route arg:(id _Nullable)arg inputStream:(NSInputStream *)input; #pragma mark - Download-style request (NSURL) /// /// Request to Download-style endpoint (via `NSURL` output type). /// /// @param route The static `DBRoute` instance associated with the route. Contains information like route host, response /// type, etc. /// @param arg The unserialized route argument to pass. Must conform to the `DBSerializable` protocol. /// @param overwrite Whether the outputted file should overwrite in the event of a name collision. /// @param destination Location to which output content should be downloaded. /// /// @return A `DBDownloadUrlTask` where response and progress handlers can be added, and the request can be halted or /// cancelled. /// - (DBDownloadUrlTask *)requestDownload:(DBRoute *)route arg:(id _Nullable)arg overwrite:(BOOL)overwrite destination:(NSURL *)destination; /// /// Request to Download-style endpoint (via `NSURL` output type). /// /// @param route The static `DBRoute` instance associated with the route. Contains information like route host, response /// type, etc. /// @param arg The unserialized route argument to pass. Must conform to the `DBSerializable` protocol. /// @param overwrite Whether the outputted file should overwrite in the event of a name collision. /// @param destination Location to which output content should be downloaded. /// @param byteOffsetStart For partial file download. Download file beginning from this starting byte position. /// @param byteOffsetEnd For partial file download. Download file up until this ending byte position. /// /// @return A `DBDownloadUrlTask` where response and progress handlers can be added, and the request can be halted or /// cancelled. /// - (DBDownloadUrlTask *)requestDownload:(DBRoute *)route arg:(id _Nullable)arg overwrite:(BOOL)overwrite destination:(NSURL *)destination byteOffsetStart:(nullable NSNumber *)byteOffsetStart byteOffsetEnd:(nullable NSNumber *)byteOffsetEnd; #pragma mark - Download-style request (NSData) /// /// Request to Download-style endpoint (with `NSData` output type). /// /// @param route The static `DBRoute` instance associated with the route. Contains information like route host, response /// type, etc. /// @param arg The unserialized route argument to pass. Must conform to the `DBSerializable` protocol. Note, this return /// type is different from the return type of `requestDownload:arg`. /// /// @return A `DBDownloadDataTask` where response and progress handlers can be added, and the request can be halted or /// cancelled. Note, this return type is different from the return type of `requestDownload:arg:overwrite:destination`. /// - (DBDownloadDataTask *)requestDownload:(DBRoute *)route arg:(id _Nullable)arg; /// /// Request to Download-style endpoint (with `NSData` output type). /// /// @param route The static `DBRoute` instance associated with the route. Contains information like route host, response /// type, etc. /// @param arg The unserialized route argument to pass. Must conform to the `DBSerializable` protocol. Note, this return /// type is different from the return type of `requestDownload:arg`. /// @param byteOffsetStart For partial file download. Download file beginning from this starting byte position. /// @param byteOffsetEnd For partial file download. Download file up until this ending byte position. /// /// @return A `DBDownloadDataTask` where response and progress handlers can be added, and the request can be halted or /// cancelled. Note, this return type is different from the return type of `requestDownload:arg:overwrite:destination`. /// - (DBDownloadDataTask *)requestDownload:(DBRoute *)route arg:(id _Nullable)arg byteOffsetStart:(nullable NSNumber *)byteOffsetStart byteOffsetEnd:(nullable NSNumber *)byteOffsetEnd; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Handwritten/Networking/DBTransportDefaultClient.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// #import #import "DBCOMMONPathRoot.h" #import "DBTransportBaseClient.h" #import "DBTransportClientProtocol.h" NS_ASSUME_NONNULL_BEGIN @class DBTransportDefaultConfig; /// /// The networking client for the User and Business API. /// /// Normally, one networking client should instantiated per access token and session / background session pair. By /// default, all Upload-style and Download-style requests are made via a background session (except when uploading via /// `NSInputStream` or `NSData`, or downloading to `NSData`, in which case, it is not possible) and all RPC-style /// request are made using a foreground session. /// /// Requests are made via one of the request methods below. The request is launched, and a `DBTask` object is returned, /// from which response and progress handlers can be added directly. By default, these handlers are added / executed /// using the main thread queue and executed in a thread-safe manner (unless a custom delegate queue is supplied via the /// `DBTransportDefaultConfig` object). An internal `DBDelegate` object then retrieves the appropriate handler and /// executes it. /// /// While response handlers are not optional, they do not necessarily need to have been installed by the time the SDK /// has received its server response. If this is the case, completion data will be saved, and the handler will be /// executed with the completion data upon its installation. Downloaded content will be moved from a temporary location /// to the final destination when the response handler code is executed. /// /// Argument serialization and deserialization is performed with this class. /// @interface DBTransportDefaultClient : DBTransportBaseClient /// A serial delegate queue used for executing blocks of code that touch state shared across threads (mainly the request /// handlers storage). @property (nonatomic, readonly) NSOperationQueue *delegateQueue; /// If set to true when the `DBTransportDefaultClient` object is initialized, all network requests are made on /// foreground sessions (by default, most upload/download operations are performed with a background session). This is /// appropriate for use cases where file upload / download operations will be quick, and immediate response is /// preferable. Otherwise, for background sessions, uploads/downloads will essentially never time out, if network /// connection is lost after the request has begun. @property (nonatomic, readonly) BOOL forceForegroundSession; /// The foreground session used to make all foreground requests (RPC style requests, upload from `NSData` and /// `NSInputStream`, and download to `NSData`). @property (nonatomic, strong) NSURLSession *session; /// By default, the background session used to make all background requests (Upload and Download style requests, except /// for upload from `NSData` and `NSInputStream`, and download to `NSData`) unless `forceForegroundSession` is set to /// true, in which case, it is simply the same session as the foreground session. @property (nonatomic, strong) NSURLSession *secondarySession; /// The foreground session on which longpoll requests are made. Has a much longer timeout period than other sessions. @property (nonatomic, strong) NSURLSession *longpollSession; #pragma mark - Constructors /// /// Full constructor. /// /// @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 /// 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)initWithAccessToken:(nullable NSString *)accessToken tokenUid:(nullable NSString *)tokenUid transportConfig:(nullable DBTransportDefaultConfig *)transportConfig; /// /// Creates a transport config with the same settings as the current transport client, to be used to instantiate an /// additional network client, to perform user API actions on behalf of other team members, by a team app. /// /// @param asMemberId The Dropbox `account_id` of the team member to perform actions on behalf of. e.g. /// "dbid:12345678910..." /// /// @return A transport config with the same settings as the current transport client, except with information to /// perform actions on behalf of the team member specified by `asMemberId`. /// - (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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Handwritten/Networking/DBTransportDefaultClient.m ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// #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 /// is an instance of `DBDelegate` with the main thread queue as delegate queue. DBDelegate *_delegate; } @synthesize session = _session; @synthesize secondarySession = _secondarySession; @synthesize longpollSession = _longpollSession; #pragma mark - Constructors - (instancetype)initWithAccessToken:(NSString *)accessToken tokenUid:(NSString *)tokenUid transportConfig:(DBTransportDefaultConfig *)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]; NSURLSessionConfiguration *sessionConfig = [NSURLSessionConfiguration defaultSessionConfiguration]; sessionConfig.timeoutIntervalForRequest = 60.0; NSOperationQueue *sessionDelegateQueue = [self urlSessionDelegateQueueWithName:[NSString stringWithFormat:@"%@ NSURLSession delegate queue", NSStringFromClass(self.class)]]; _session = [NSURLSession sessionWithConfiguration:sessionConfig delegate:_delegate delegateQueue:sessionDelegateQueue]; _forceForegroundSession = transportConfig.forceForegroundSession ? YES : NO; if (!_forceForegroundSession) { NSString *backgroundId = [NSString stringWithFormat:@"%@.%@", kDBSDKBackgroundSessionId, [NSUUID UUID].UUIDString]; NSURLSessionConfiguration *backgroundSessionConfig = [NSURLSessionConfiguration backgroundSessionConfigurationWithIdentifier:backgroundId]; if (transportConfig.sharedContainerIdentifier) { backgroundSessionConfig.sharedContainerIdentifier = transportConfig.sharedContainerIdentifier; } NSOperationQueue *secondarySessionDelegateQueue = [self urlSessionDelegateQueueWithName:[NSString stringWithFormat:@"%@ Secondary NSURLSession delegate queue", NSStringFromClass(self.class)]]; _secondarySession = [NSURLSession sessionWithConfiguration:backgroundSessionConfig delegate:_delegate delegateQueue:secondarySessionDelegateQueue]; } else { _secondarySession = _session; } NSURLSessionConfiguration *longpollSessionConfig = [NSURLSessionConfiguration defaultSessionConfiguration]; longpollSessionConfig.timeoutIntervalForRequest = 480.0; NSOperationQueue *longpollSessionDelegateQueue = [self urlSessionDelegateQueueWithName:[NSString stringWithFormat:@"%@ Longpoll NSURLSession delegate queue", NSStringFromClass(self.class)]]; 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; } #pragma mark - Utility methods - (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." sessionDelegateQueue.name = queueName; sessionDelegateQueue.qualityOfService = NSQualityOfServiceUtility; return sessionDelegateQueue; } #pragma mark - RPC-style request - (DBRpcTaskImpl *)requestRpc:(DBRoute *)route arg:(id)arg { NSURLSession *sessionToUse = _session; // longpoll requests have a much longer timeout period than other requests if (route.host == DBRouteHostNotify) { sessionToUse = _longpollSession; } 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 { 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 { 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 { 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; } #pragma mark - Download-style request (NSURL) - (DBDownloadUrlTask *)requestDownload:(DBRoute *)route arg:(id)arg overwrite:(BOOL)overwrite destination:(NSURL *)destination { return [self requestDownload:route arg:arg overwrite:overwrite destination:destination byteOffsetStart:nil byteOffsetEnd:nil]; } - (DBDownloadUrlTask *)requestDownload:(DBRoute *)route arg:(id)arg overwrite:(BOOL)overwrite destination:(NSURL *)destination byteOffsetStart:(NSNumber *)byteOffsetStart byteOffsetEnd:(NSNumber *)byteOffsetEnd { 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 route:route overwrite:overwrite destination:destination]; [downloadTask resume]; return downloadTask; } #pragma mark - Download-style request (NSData) - (DBDownloadDataTask *)requestDownload:(DBRoute *)route arg:(id)arg { return [self requestDownload:route arg:arg byteOffsetStart:nil byteOffsetEnd:nil]; } - (DBDownloadDataTask *)requestDownload:(DBRoute *)route arg:(id)arg byteOffsetStart:(NSNumber *)byteOffsetStart byteOffsetEnd:(NSNumber *)byteOffsetEnd { 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; } - (DBTransportDefaultConfig *)duplicateTransportConfigWithAsMemberId:(NSString *)asMemberId { return [[DBTransportDefaultConfig alloc] initWithAppKey:self.appKey appSecret:self.appSecret userAgent:self.userAgent asMemberId:asMemberId delegateQueue:_delegateQueue 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 { @synchronized(self) { return _session; } } - (void)setSession:(NSURLSession *)session { @synchronized(self) { _session = session; } } - (NSURLSession *)secondarySession { @synchronized(self) { return _secondarySession; } } - (void)setSecondarySession:(NSURLSession *)secondarySession { @synchronized(self) { _secondarySession = secondarySession; } } - (NSURLSession *)longpollSession { @synchronized(self) { return _longpollSession; } } - (void)setLongpollSession:(NSURLSession *)longpollSession { @synchronized(self) { _longpollSession = longpollSession; } } @end ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Handwritten/Networking/DBTransportDefaultConfig.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// #import #import "DBCOMMONPathRoot.h" #import "DBTransportBaseConfig.h" NS_ASSUME_NONNULL_BEGIN /// /// Configuration class for `DBTransportDefaultClient`. /// @interface DBTransportDefaultConfig : DBTransportBaseConfig /// A serial delegate queue used for executing blocks of code that touch state shared across threads (mainly the request /// handlers storage). @property (nonatomic, readonly, nullable) NSOperationQueue *delegateQueue; /// If set to true, all network requests are made on foreground sessions (by default, most upload/download operations /// are performed with a background session). This is appropriate for use cases where file upload / download operations /// will be quick, and immediate response is preferable. Otherwise, for background sessions, uploads/downloads will /// essentially never time out, if network connection is lost after the request has begun. @property (nonatomic, readonly) BOOL forceForegroundSession; /// 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. @property (nonatomic, readonly, nullable) NSString *sharedContainerIdentifier; /// /// 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 that have "app auth" authentication type. /// /// @return An initialized instance. /// - (instancetype)initWithAppKey:(NSString *)appKey; /// /// Convenience constructor. /// /// Appropriate for apps that want to query endpoints with "app auth" authentication type. /// /// @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 that 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 that have "app auth" authentication type. /// /// @return An initialized instance. /// - (instancetype)initWithAppKey:(NSString *)appKey appSecret:(NSString *)appSecret; /// /// Convenience constructor. /// /// Appropriate for apps that want to query endpoints with "app auth" authentication type. /// /// @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 that 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 that have "app auth" authentication type. /// @param delegateQueue A serial delegate queue used for executing blocks of code that touch state shared across /// threads (mainly the request handlers storage). /// /// @return An initialized instance. /// - (instancetype)initWithAppKey:(NSString *)appKey appSecret:(NSString *)appSecret delegateQueue:(nullable NSOperationQueue *)delegateQueue; /// /// Convenience constructor. /// /// Appropriate for use cases where file upload / download operations will be quick, and immediate response is /// preferable. Otherwise, for background sessions, uploads/downloads will essentially never time out, if network /// connection is lost after the request has begun. /// /// @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 that have "app auth" authentication type. /// @param forceForegroundSession If set to true, all network requests are made on foreground sessions (by default, most /// upload/download operations are performed with a background session). /// /// @return An initialized instance. /// - (instancetype)initWithAppKey:(NSString *)appKey forceForegroundSession:(BOOL)forceForegroundSession; /// /// 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 that 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 that have "app auth" authentication type. /// @param userAgent The user agent associated with all networking requests. Used for server logging. /// @param delegateQueue A serial delegate queue used for executing blocks of code that touch state shared across /// threads (mainly the request handlers storage). /// @param forceForegroundSession If set to true, all network requests are made on foreground sessions (by default, most /// upload/download operations are performed with a background session). /// /// @return An initialized instance. /// - (instancetype)initWithAppKey:(NSString *)appKey appSecret:(nullable NSString *)appSecret userAgent:(nullable NSString *)userAgent delegateQueue:(nullable NSOperationQueue *)delegateQueue forceForegroundSession:(BOOL)forceForegroundSession; /// /// 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 that 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 that have "app auth" authentication type. /// @param userAgent The user agent associated with all networking requests. Used for server logging. /// @param delegateQueue A serial delegate queue used for executing blocks of code that touch state shared across /// threads (mainly the request handlers storage). /// @param forceForegroundSession If set to true, all network requests are made on foreground sessions (by default, most /// 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. /// /// @return An initialized instance. /// - (instancetype)initWithAppKey:(NSString *)appKey appSecret:(nullable NSString *)appSecret userAgent:(nullable NSString *)userAgent asMemberId:(nullable NSString *)asMemberId delegateQueue:(nullable NSOperationQueue *)delegateQueue forceForegroundSession:(BOOL)forceForegroundSession; /// /// 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 that 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 that have "app auth" authentication type. /// @param userAgent The user agent associated with all networking requests. Used for server logging. /// @param delegateQueue A serial delegate queue used for executing blocks of code that touch state shared across /// threads (mainly the request handlers storage). /// @param forceForegroundSession If set to true, all network requests are made on foreground sessions (by default, most /// 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 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. /// /// @return An initialized instance. /// - (instancetype)initWithAppKey:(NSString *)appKey appSecret:(nullable NSString *)appSecret userAgent:(nullable NSString *)userAgent asMemberId:(nullable NSString *)asMemberId delegateQueue:(nullable NSOperationQueue *)delegateQueue forceForegroundSession:(BOOL)forceForegroundSession sharedContainerIdentifier:(nullable NSString *)sharedContainerIdentifier; /// /// Full 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 that 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 that have "app auth" authentication type. /// @param userAgent The user agent associated with all networking requests. Used for server logging. /// @param delegateQueue A serial delegate queue used for executing blocks of code that touch state shared across /// threads (mainly the request handlers storage). /// @param forceForegroundSession If set to true, all network requests are made on foreground sessions (by default, most /// 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 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. /// /// @return An initialized instance. /// - (instancetype)initWithAppKey:(NSString *)appKey appSecret:(nullable NSString *)appSecret userAgent:(nullable NSString *)userAgent asMemberId:(nullable NSString *)asMemberId additionalHeaders:(nullable NSDictionary *)additionalHeaders delegateQueue:(nullable NSOperationQueue *)delegateQueue forceForegroundSession:(BOOL)forceForegroundSession sharedContainerIdentifier:(nullable NSString *)sharedContainerIdentifier; /// /// Full constructor, with debug hostname override. /// /// @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 that 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 that have "app auth" authentication type. /// @param hostnameConfig A custom hostname to use for networking requests. Only useful for debugging purposes. /// @param userAgent The user agent associated with all networking requests. Used for server logging. /// @param delegateQueue A serial delegate queue used for executing blocks of code that touch state shared across /// threads (mainly the request handlers storage). /// @param forceForegroundSession If set to true, all network requests are made on foreground sessions (by default, most /// 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 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. /// /// @return An initialized instance. /// - (instancetype)initWithAppKey:(NSString *)appKey appSecret:(nullable NSString *)appSecret hostnameConfig:(nullable DBTransportBaseHostnameConfig *)hostnameConfig userAgent:(nullable NSString *)userAgent asMemberId:(nullable NSString *)asMemberId additionalHeaders:(nullable NSDictionary *)additionalHeaders delegateQueue:(nullable NSOperationQueue *)delegateQueue forceForegroundSession:(BOOL)forceForegroundSession sharedContainerIdentifier:(nullable NSString *)sharedContainerIdentifier; /// /// Full constructor, with debug hostname and redirectURL override. /// /// @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 that 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 that have "app auth" authentication type. /// @param hostnameConfig A custom hostname to use for networking requests. Only useful for debugging purposes. /// @param userAgent The user agent associated with all networking requests. Used for server logging. /// @param delegateQueue A serial delegate queue used for executing blocks of code that touch state shared across /// threads (mainly the request handlers storage). /// @param forceForegroundSession If set to true, all network requests are made on foreground sessions (by default, most /// 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. /// /// @return An initialized instance. /// - (instancetype)initWithAppKey:(NSString *)appKey appSecret:(nullable NSString *)appSecret hostnameConfig:(nullable DBTransportBaseHostnameConfig *)hostnameConfig 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 sharedContainerIdentifier:(nullable NSString *)sharedContainerIdentifier; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Handwritten/Networking/DBTransportDefaultConfig.m ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// #import "DBTransportDefaultConfig.h" @implementation DBTransportDefaultConfig - (instancetype)initWithAppKey:(NSString *)appKey { return [self initWithAppKey:appKey appSecret:nil userAgent:nil delegateQueue:nil forceForegroundSession:NO]; } - (instancetype)initWithAppKey:(NSString *)appKey appSecret:(NSString *)appSecret { return [self initWithAppKey:appKey appSecret:appSecret userAgent:nil delegateQueue:nil forceForegroundSession:NO]; } - (instancetype)initWithAppKey:(NSString *)appKey appSecret:(NSString *)appSecret delegateQueue:(NSOperationQueue *)delegateQueue { return [self initWithAppKey:appKey appSecret:appSecret userAgent:nil delegateQueue:delegateQueue forceForegroundSession:NO]; } - (instancetype)initWithAppKey:(NSString *)appKey forceForegroundSession:(BOOL)forceForegroundSession { return [self initWithAppKey:appKey appSecret:nil userAgent:nil delegateQueue:nil forceForegroundSession:forceForegroundSession]; } - (instancetype)initWithAppKey:(NSString *)appKey appSecret:(NSString *)appSecret userAgent:(NSString *)userAgent delegateQueue:(NSOperationQueue *)delegateQueue forceForegroundSession:(BOOL)forceForegroundSession { return [self initWithAppKey:appKey appSecret:appSecret userAgent:userAgent asMemberId:nil delegateQueue:delegateQueue forceForegroundSession:forceForegroundSession]; } - (instancetype)initWithAppKey:(NSString *)appKey appSecret:(NSString *)appSecret userAgent:(NSString *)userAgent asMemberId:(NSString *)asMemberId delegateQueue:(NSOperationQueue *)delegateQueue forceForegroundSession:(BOOL)forceForegroundSession { return [self initWithAppKey:appKey appSecret:appSecret userAgent:userAgent asMemberId:asMemberId delegateQueue:delegateQueue forceForegroundSession:forceForegroundSession sharedContainerIdentifier:nil]; } - (instancetype)initWithAppKey:(NSString *)appKey appSecret:(NSString *)appSecret userAgent:(NSString *)userAgent asMemberId:(NSString *)asMemberId delegateQueue:(NSOperationQueue *)delegateQueue forceForegroundSession:(BOOL)forceForegroundSession sharedContainerIdentifier:(NSString *)sharedContainerIdentifier { return [self initWithAppKey:appKey appSecret:appSecret userAgent:userAgent asMemberId:asMemberId additionalHeaders:nil delegateQueue:delegateQueue forceForegroundSession:forceForegroundSession sharedContainerIdentifier:sharedContainerIdentifier]; } - (instancetype)initWithAppKey:(NSString *)appKey appSecret:(NSString *)appSecret userAgent:(NSString *)userAgent asMemberId:(NSString *)asMemberId additionalHeaders:(NSDictionary *)additionalHeaders delegateQueue:(NSOperationQueue *)delegateQueue forceForegroundSession:(BOOL)forceForegroundSession sharedContainerIdentifier:(NSString *)sharedContainerIdentifier { return [self initWithAppKey:appKey appSecret:appSecret hostnameConfig:nil userAgent:userAgent asMemberId:asMemberId additionalHeaders:additionalHeaders delegateQueue:delegateQueue forceForegroundSession:forceForegroundSession sharedContainerIdentifier:sharedContainerIdentifier]; } - (instancetype)initWithAppKey:(NSString *)appKey appSecret:(NSString *)appSecret hostnameConfig:(DBTransportBaseHostnameConfig *)hostnameConfig userAgent:(NSString *)userAgent asMemberId:(NSString *)asMemberId additionalHeaders:(NSDictionary *)additionalHeaders delegateQueue:(NSOperationQueue *)delegateQueue forceForegroundSession:(BOOL)forceForegroundSession sharedContainerIdentifier:(NSString *)sharedContainerIdentifier { return [self initWithAppKey:appKey appSecret:appSecret hostnameConfig:hostnameConfig redirectURL:nil userAgent:userAgent asMemberId:asMemberId pathRoot:nil additionalHeaders:additionalHeaders delegateQueue:delegateQueue forceForegroundSession:forceForegroundSession sharedContainerIdentifier:sharedContainerIdentifier]; } - (instancetype)initWithAppKey:(NSString *)appKey appSecret:(NSString *)appSecret hostnameConfig:(DBTransportBaseHostnameConfig *)hostnameConfig redirectURL:(NSString *)redirectURL userAgent:(NSString *)userAgent asMemberId:(NSString *)asMemberId pathRoot:(nullable DBCOMMONPathRoot *)pathRoot additionalHeaders:(NSDictionary *)additionalHeaders delegateQueue:(NSOperationQueue *)delegateQueue forceForegroundSession:(BOOL)forceForegroundSession sharedContainerIdentifier:(NSString *)sharedContainerIdentifier { if (self = [super initWithAppKey:appKey appSecret:appSecret hostnameConfig:hostnameConfig redirectURL:redirectURL userAgent:userAgent asMemberId:asMemberId pathRoot:pathRoot additionalHeaders:additionalHeaders]) { _delegateQueue = delegateQueue; _forceForegroundSession = forceForegroundSession; _sharedContainerIdentifier = sharedContainerIdentifier; } return self; } @end ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Handwritten/Networking/DBURLSessionTaskResponseBlockWrapper.m ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Handwritten/Networking/DBURLSessionTaskWithTokenRefresh.m ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Handwritten/OAuth/DBAccessToken+NSSecureCoding.m ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Handwritten/OAuth/DBAccessTokenProvider.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Handwritten/OAuth/DBAccessTokenProviderImpl.m ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Handwritten/OAuth/DBLoadingStatusDelegate.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Handwritten/OAuth/DBOAuthConstants.m ================================================ /// /// 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"; ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Handwritten/OAuth/DBOAuthManager.h ================================================ /// /// 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 #pragma mark - Access token class /// /// A Dropbox OAuth2 access token. /// /// Stores a unique identifying key for storing in `DBKeychain`. /// @interface DBAccessToken : NSObject /// The OAuth2 access token. @property (nonatomic, readonly, copy) NSString *accessToken; /// The unique identifier of the access token used for storing in `DBKeychain`. Either the `account_id` (if user app) or /// 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 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 #pragma mark - OAuth manager base /// /// Platform-neutral manager for performing OAuth linking. /// /// @note OAuth flow webviews localize to environment locale. /// /// @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. @property (nonatomic, strong) NSLocale *locale; #pragma mark - Shared instance accessors and mutators /// /// Accessor method for `DBOAuthManager` shared instance. /// /// Shared instance is used to authenticate users through OAuth2, save access tokens, and retrieve access tokens. /// /// @return The `DBOAuthManager` shared instance. /// + (nullable DBOAuthManager *)sharedOAuthManager; /// /// Mutator method for `DBOAuthManager` shared instance. /// /// Shared instance is used to authenticate users through OAuth2, save access tokens, and retrieve access tokens. /// /// @param sharedOAuthManager The updated reference to the `DBOAuthManager` shared instance. /// + (void)setSharedOAuthManager:(DBOAuthManager *)sharedOAuthManager; #pragma mark - Constructors /// /// `DBOAuthManager` convenience constructor. /// /// @param appKey The app key from the developer console that identifies this app. /// /// @return An initialized instance. /// - (instancetype)initWithAppKey:(NSString *)appKey; /// /// `DBOAuthManager` convenience constructor. /// /// @param appKey The app key from the developer console that identifies this app. /// @param host The host of the OAuth web flow. Leave nil to use default host. /// /// @return An initialized instance. /// - (instancetype)initWithAppKey:(NSString *)appKey host:(nullable NSString *)host; /// /// `DBOAuthManager` full constructor. /// /// @param appKey The app key from the developer console that identifies this app. /// @param host The host of the OAuth web flow. Leave nil to use default host. /// @param redirectURL The redirect url of the OAuth web flow. Default to "db-://2/token" /// /// @return An initialized instance. /// - (instancetype)initWithAppKey:(NSString *)appKey host:(nullable NSString *)host redirectURL:(nullable NSString *)redirectURL; #pragma mark - Auth flow methods /// /// 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. /// - (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 Whether the URL can be handled. /// - (BOOL)handleRedirectURL:(NSURL *)url completion:(DBOAuthCompletion)completion; #pragma mark - Keychain methods /// /// Saves an access token to the `DBKeychain` class. /// /// @param accessToken The access token to save. /// /// @return Whether the save operation succeeded. /// - (BOOL)storeAccessToken:(DBAccessToken *)accessToken; /// /// Utility function to return an arbitrary access token from the `DBKeychain` class, if any exist. /// /// @return the "first" access token found, if any, otherwise nil. /// - (nullable DBAccessToken *)retrieveFirstAccessToken; /// /// Retrieves the access token for a particular user from the `DBKeychain` class. /// /// @param tokenUid The uid of the access token to retrieve. /// /// @return An access token if present, otherwise nil. /// - (nullable DBAccessToken *)retrieveAccessToken:(NSString *)tokenUid; /// /// Retrieves all stored access tokens from the `DBKeychain` class. /// /// @return a dictionary mapping token uids to their access tokens. /// - (NSDictionary *)retrieveAllAccessTokens; /// /// Checks if there are any stored access tokens in the `DBKeychain` class. /// /// @return Whether there are stored access tokens. /// - (BOOL)hasStoredAccessTokens; /// /// Deletes a specific access tokens from the `DBKeychain` class. /// /// @param tokenUid The uid of the access token to delete. /// /// @return Whether the delete operation succeeded. /// - (BOOL)clearStoredAccessToken:(NSString *)tokenUid; /// /// Deletes all stored access tokens in the `DBKeychain` class. /// /// @return Whether the batch deletion operation succeeded. /// - (BOOL)clearStoredAccessTokens; /// /// When YES users will not be able to sign up for a Dropbox account via the authorization page. Instead, the /// authorization page will show a link to the Dropbox iOS app in the App Store. This is was originally intended for use /// when necessary for compliance with App Store policies. /// /// Default value is YES. /// /// NOTE: Recent App Store policy suggests that sign up is now allowed, so it should be safe to enable signup. However /// we are keeping the parameter and defaulting to YES to allow SDK users to make the appropriate decision for their /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Handwritten/OAuth/DBOAuthManager.m ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// #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 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 static DBOAuthManager *s_sharedOAuthManager; #pragma mark - Shared instance accessors and mutators + (DBOAuthManager *)sharedOAuthManager { return s_sharedOAuthManager; } + (void)setSharedOAuthManager:(DBOAuthManager *)sharedOAuthManager { s_sharedOAuthManager = sharedOAuthManager; } #pragma mark - Constructors - (instancetype)initWithAppKey:(NSString *)appKey { return [self initWithAppKey:appKey host:nil]; } - (instancetype)initWithAppKey:(NSString *)appKey host:(NSString *)host { return [self initWithAppKey:appKey host:host redirectURL:nil]; } - (instancetype)initWithAppKey:(NSString *)appKey host:(NSString *)host redirectURL:(NSString *)redirectURL { self = [super init]; if (self) { if (host == nil) { host = @"www.dropbox.com"; } _appKey = appKey; _redirectURL = [[NSURL alloc] initWithString:redirectURL ?: [NSString stringWithFormat:@"db-%@://2/token", appKey]]; _cancelURL = [NSURL URLWithString:[NSString stringWithFormat:@"db-%@://2/cancel", _appKey]]; _host = host; _urls = [NSMutableArray arrayWithObjects:_redirectURL, nil]; #if TARGET_OS_OSX _disableSignup = NO; #else _disableSignup = YES; #endif _webAuthShouldForceReauthentication = NO; } return self; } #pragma mark - Auth flow methods - (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"])) { completion([[DBOAuthResult alloc] initWithCancel]); return YES; } 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; } } - (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]; }; if ([[DBSDKReachability reachabilityForInternetConnection] currentReachabilityStatus] == DBNotReachable) { NSString *message = NSLocalizedString(@"Try again once you have an internet connection.", @"Displayed when commencing authorization flow without internet connection."); NSString *title = NSLocalizedString(@"No internet connection", @"Displayed when commencing authorization flow without internet connection."); NSDictionary *buttonHandlers = @{ @"Cancel" : ^{ cancelHandler(); }, @"Retry" : ^{ [self authorizeFromSharedApplication:sharedApplication usePkce:usePkce scopeRequest:scopeRequest]; } }; [sharedApplication presentErrorMessageWithHandlers:message title:title buttonHandlers:buttonHandlers]; return; } if (![self conformsToAppScheme]) { NSString *message = [NSString stringWithFormat:@"DropboxSDK: unable to link; app isn't registered for correct URL " @"scheme (db-%@). Add this scheme to your project Info.plist file, " @"associated with following key: \"Information Property List\" > " @"\"URL types\" > \"Item 0\" > \"URL Schemes\" > \"Item \".", _appKey]; NSString *title = @"DropboxSDK Error"; [sharedApplication presentErrorMessage:message title:title]; return; } if (usePkce) { _authSession = [[DBOAuthPKCESession alloc] initWithScopeRequest:scopeRequest]; } else { _authSession = nil; } _sharedApplication = sharedApplication; NSURL *authUrl = [self authURL]; if ([self checkAndPresentPlatformSpecificAuth:sharedApplication]) { return; } [sharedApplication presentAuthChannel:authUrl cancelHandler:cancelHandler]; } - (BOOL)conformsToAppScheme { NSString *appScheme = [NSString stringWithFormat:@"db-%@", _appKey]; NSArray *urlTypes = [[NSBundle mainBundle] objectForInfoDictionaryKey:@"CFBundleURLTypes"] ?: @[]; for (NSDictionary *urlType in urlTypes) { NSArray *schemes = [urlType objectForKey:@"CFBundleURLSchemes"]; for (NSString *scheme in schemes) { if ([scheme isEqualToString:appScheme]) { return YES; } } } return NO; } - (NSURL *)authURL { NSURLComponents *components = [[NSURLComponents alloc] init]; components.scheme = @"https"; components.host = _host; components.path = @"/oauth2/authorize"; 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]; [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 { for (NSURL *known in _urls) { if ([url.scheme isEqualToString:known.scheme] && [url.host isEqualToString:known.host] && [url.path isEqualToString:known.path]) { return YES; } } return NO; } /// 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 (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]; } completion(result); } else { // 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]) { 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: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."]); } } } } - (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 { #pragma unused(sharedApplication) 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 storeAccessToken:accessToken]; } - (DBAccessToken *)retrieveFirstAccessToken { NSDictionary *tokens = [self retrieveAllAccessTokens]; NSArray *values = [tokens allValues]; if ([values count] != 0) { return [values objectAtIndex:0]; } return nil; } - (DBAccessToken *)retrieveAccessToken:(NSString *)tokenUid { return [DBSDKKeychain retrieveTokenWithUid:tokenUid]; } - (NSDictionary *)retrieveAllAccessTokens { NSArray *userIds = [DBSDKKeychain retrieveAllTokenIds]; NSMutableDictionary *result = [[NSMutableDictionary alloc] init]; for (NSString *userId in userIds) { DBAccessToken *token = [DBSDKKeychain retrieveTokenWithUid:userId]; if (token) { result[userId] = token; } } return result; } - (BOOL)hasStoredAccessTokens { return [self retrieveAllAccessTokens].count != 0; } - (BOOL)clearStoredAccessToken:(NSString *)tokenUid { return [DBSDKKeychain deleteTokenWithUid:tokenUid]; } - (BOOL)clearStoredAccessTokens { return [DBSDKKeychain clearAllTokens]; } @end ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Handwritten/OAuth/DBOAuthPKCESession.m ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Handwritten/OAuth/DBOAuthResult.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// #import @class DBAccessToken; @class DBOAuthResult; NS_ASSUME_NONNULL_BEGIN /// /// Union result type from OAuth linking attempt. /// @interface DBOAuthResult : NSObject #pragma mark - Tag type definition /// The `DBAuthResultTag` enum type represents the possible tag states that the DBOAuthResult union can exist in. typedef NS_ENUM(NSInteger, DBOAuthResultTag) { /// The authorization succeeded. Includes a `DBAccessToken`. DBAuthSuccess, /// The authorization failed. Includes an `OAuth2Error` and a descriptive message. DBAuthError, /// The authorization was manually canceled by the user. DBAuthCancel, }; /// 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, /// The resource owner or authorization server denied the request. DBAuthAccessDenied, /// The authorization server does not support obtaining an access token using /// this method. DBAuthUnsupportedResponseType, /// The requested scope is invalid, unknown, or malformed. DBAuthInvalidScope, /// The authorization server encountered an unexpected condition that prevented it from fulfilling the request. DBAuthServerError, /// The authorization server is currently unable to handle the request due to a temporary overloading or maintenance /// 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, /// Some other error (outside of the OAuth2 specification) DBAuthUnknown, }; #pragma mark - Instance variables /// Represents the `DBOAuthResult` object's current tag state. @property (nonatomic, readonly) DBOAuthResultTag tag; /// The access token that is retrieved in the event of a successful OAuth authorization. /// @note Ensure the `isSuccess` method returns true before accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) DBAccessToken *accessToken; /// The type of OAuth error that is returned in the event of an unsuccessful OAuth authorization. /// @note Ensure the `isError` method returns true before accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) DBOAuthErrorType errorType; /// The error description string associated with the `DBAuthErrorType` that is returned in the event of an unsuccessful /// OAuth authorization. /// @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 /// /// Initializes union class with tag state of "success". /// /// @param accessToken The `DBAccessToken` (`account_id` / `team_id` and OAuth token pair) retrieved from the /// authorization flow. /// /// @return An initialized `DBOAuthResult` instance. /// - (instancetype)initWithSuccess:(DBAccessToken *)accessToken; /// /// Initializes union class with tag state of "error". /// /// @param errorType The string identifier of the OAuth error type (lookup performed in errorTypeLookup dict). /// @param errorDescription A short description of the error that occured during the authorization flow. /// /// @return An initialized `DBOAuthResult` instance. /// - (instancetype)initWithError:(NSString *)errorType errorDescription:(nullable NSString *)errorDescription; /// /// Initializes union class with tag state of "cancel". /// /// @return An initialized `DBOAuthResult` instance. /// - (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 /// /// 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 "error". /// /// @return Whether the union's current tag state has value "error". /// - (BOOL)isError; /// /// Retrieves whether the union's current tag state has value "cancel". /// /// @return Whether the union's current tag state has value "cancel". /// - (BOOL)isCancel; #pragma mark - Tag name method /// /// Retrieves string value of union's current tag state. /// /// @return A human-readable string representing the union's current tag /// state. /// - (NSString *)tagName; #pragma mark - Description method /// /// Description method. /// /// @return A human-readable representation of the current object. /// - (NSString *)description; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Handwritten/OAuth/DBOAuthResult.m ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// #import "DBOAuthResult.h" #import "DBOAuthManager.h" @implementation DBOAuthResult @synthesize accessToken = _accessToken; @synthesize errorType = _errorType; @synthesize errorDescription = _errorDescription; #pragma mark - Constructors + (DBOAuthErrorType)getErrorType:(NSString *)errorType { static NSDictionary *errorTypeLookup; static dispatch_once_t onceToken; dispatch_once(&onceToken, ^{ errorTypeLookup = @{ @"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[errorType] intValue] ?: DBAuthUnknown; } - (instancetype)initWithSuccess:(DBAccessToken *)accessToken { self = [super init]; if (self) { _tag = DBAuthSuccess; _accessToken = accessToken; } return self; } - (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 = errorType; _errorDescription = errorDescription; } return self; } - (instancetype)initWithCancel { self = [super init]; if (self) { _tag = DBAuthCancel; } return self; } + (DBOAuthResult *)unknownErrorWithErrorDescription:(NSString *)errorDescription { return [[DBOAuthResult alloc] initWithErrorType:DBAuthUnknown errorDescription:errorDescription]; } #pragma mark - Tag state methods - (BOOL)isSuccess { return _tag == DBAuthSuccess; } - (BOOL)isError { return _tag == DBAuthError; } - (BOOL)isCancel { return _tag == DBAuthCancel; } #pragma mark - Tag name method - (NSString *)tagName { switch (_tag) { case DBAuthSuccess: return @"DBAuthSuccess"; case DBAuthError: return @"DBAuthError"; case DBAuthCancel: return @"DBAuthCancel"; } @throw([NSException exceptionWithName:@"InvalidTagEnum" reason:@"Tag has an invalid value." userInfo:nil]); } #pragma mark - Instance variable accessors - (DBAccessToken *)accessToken { if (_tag != DBAuthSuccess) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required `DBAuthSuccess`, but was %@.", [self tagName]]; } return _accessToken; } - (DBOAuthErrorType)errorType { if (_tag != DBAuthError) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required `DBAuthError`, but was %@.", [self tagName]]; } return _errorType; } - (NSString *)errorDescription { if (_tag != DBAuthError) { [NSException raise:@"IllegalStateException" format:@"Invalid tag: required `DBAuthError`, but was %@.", [self tagName]]; } 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 { switch (_tag) { case DBAuthSuccess: return [NSString stringWithFormat:@"Success:[Token: %@]", _accessToken.accessToken]; case DBAuthError: return [NSString stringWithFormat:@"Error:[ErrorType: %ld ErrorDescription: %@]", (long)_errorType, _errorDescription]; case DBAuthCancel: return [NSString stringWithFormat:@"Cancel:[]"]; } @throw([NSException exceptionWithName:@"InvalidTagEnum" reason:@"Tag has an invalid value." userInfo:nil]); } @end ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Handwritten/OAuth/DBOAuthResultCompletion.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Handwritten/OAuth/DBOAuthTokenRequest.m ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Handwritten/OAuth/DBOAuthUtils.m ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Handwritten/OAuth/DBSDKKeychain.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// #import #import "DBHandlerTypes.h" @class DBAccessToken; NS_ASSUME_NONNULL_BEGIN /// /// Keychain class for storing OAuth tokens. /// @interface DBSDKKeychain : NSObject /// Stores DBAccessToken in the keychain. + (BOOL)storeAccessToken:(DBAccessToken *)accessToken; /// 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 the stored token value for a key (uid). + (BOOL)deleteTokenWithUid:(NSString *)uid; /// Deletes all key / value pairs in the keychain. + (BOOL)clearAllTokens; /// Checks if performing a v1 token migration is necessary, and if so, performs it. + (BOOL)checkAndPerformV1TokenMigration:(DBTokenMigrationResponseBlock)responseBlock queue:(nullable NSOperationQueue *)queue appKey:(NSString *)appKey appSecret:(NSString *)appSecret; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Handwritten/OAuth/DBSDKKeychain.m ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// #import #import "DBAUTHAppAuthRoutes.h" #import "DBAUTHTokenFromOAuth1Error.h" #import "DBAUTHTokenFromOAuth1Result.h" #import "DBAUTHUserAuthRoutes.h" #import "DBAccessToken+NSSecureCoding.h" #import "DBAppClient.h" #import "DBClientsManager+Protected.h" #import "DBRequestErrors.h" #import "DBSDKKeychain.h" #import "DBTransportDefaultConfig.h" static NSString *kAccessibilityMigrationOccurredKey = @"KeychainAccessibilityMigration"; static NSString *kV1TokenMigrationOccurredKeyBase = @"KeychainV1TokenMigration-%@"; static NSString *kV2KeychainServiceKeyBase = @"%@.dropbox.authv2"; static NSString *kV1ConsumerAppKeyKey = @"kMPOAuthCredentialConsumerKey"; static NSString *kV1UserCredentialsKey = @"kDBDropboxUserCredentials"; static NSString *kV1UserIdKey = @"kDBDropboxUserId"; static NSString *kV1UserAccessTokenKey = @"kMPOAuthCredentialAccessToken"; static NSString *kV1UserAccessTokenSecretKey = @"kMPOAuthCredentialAccessTokenSecret"; static NSString *kV1SyncKeychainServiceKeyBase = @"%@.dropbox-sync.auth"; static NSString *kV1SyncAccountCredentialsKey = @"accounts"; static NSString *kV1SyncUserIdKey = @"userId"; static NSString *kV1SyncUserAccessTokenKey = @"token"; static NSString *kV1SyncUserAccessTokenSecretKey = @"tokenSecret"; #if TARGET_OS_IPHONE static NSString *kV1IOSKeychainServiceKeyBase = @"%@.dropbox.auth"; static NSString *kV1IOSUnknownUserIdKey = @"unknown"; #elif !TARGET_OS_IPHONE static NSString *kV1OSXKeychainServiceKeyBase = @"%@"; static const char *kV1OSXAccountName = "Dropbox"; #endif @implementation DBSDKKeychain + (void)initialize { static dispatch_once_t once; dispatch_once(&once, ^{ [[self class] checkAccessibilityMigration]; }); } + (BOOL)storeAccessToken:(DBAccessToken *)accessToken { NSData *data = [DBAccessToken covertTokenToData:accessToken]; if (data) { return [self storeDataValueWithKey:accessToken.uid value:data]; } else { return NO; } } + (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; } } + (NSArray *)retrieveAllTokenIds { NSMutableDictionary *query = [DBSDKKeychain queryWithDict:@{(id)kSecReturnAttributes : (id)kCFBooleanTrue, (id)kSecMatchLimit : (id)kSecMatchLimitAll}]; CFDataRef dataResult = nil; OSStatus status = SecItemCopyMatching((__bridge CFDictionaryRef)query, (CFTypeRef *)&dataResult); NSMutableArray *results = [NSMutableArray new]; if (status == noErr) { NSData *data = (__bridge_transfer NSData *)dataResult; NSArray *> *dataResultDict = (NSArray *> *)data ?: @[]; for (NSDictionary *dict in dataResultDict) { [results addObject:(id)dict[(NSString *)kSecAttrAccount]]; } } return results; } + (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; } + (BOOL)storeDataValueWithKey:(NSString *)key value:(NSData *)value { NSMutableDictionary *query = [DBSDKKeychain queryWithDict:@{(id)kSecAttrAccount : key, (id)kSecValueData : value}]; SecItemDelete((__bridge CFDictionaryRef)query); return SecItemAdd((__bridge CFDictionaryRef)query, nil) == noErr; } + (NSData *)lookupTokenDataWithKey:(NSString *)key { NSMutableDictionary *query = [DBSDKKeychain queryWithDict:@{ (id)kSecAttrAccount : key, (id)kSecReturnData : (id)kCFBooleanTrue, (id)kSecMatchLimit : (id)kSecMatchLimitOne }]; CFDataRef dataResult = nil; OSStatus status = SecItemCopyMatching((__bridge CFDictionaryRef)query, (CFTypeRef *)&dataResult); if (status == noErr) { NSData *data = [[NSData alloc] initWithData:(__bridge_transfer NSData *)dataResult]; return data; } return nil; } + (NSMutableDictionary *)queryWithDict:(NSDictionary *)query { NSMutableDictionary *queryResult = [query mutableCopy]; NSString *bundleId = [NSBundle mainBundle].bundleIdentifier ?: @""; [queryResult setObject:(id)kSecClassGenericPassword forKey:(id)kSecClass]; [queryResult setObject:(id)[NSString stringWithFormat:kV2KeychainServiceKeyBase, bundleId] forKey:(id)kSecAttrService]; [queryResult setObject:(id)kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly forKey:(id)kSecAttrAccessible]; return queryResult; } + (void)checkAccessibilityMigration { NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults]; BOOL migrationOccurred = [userDefaults boolForKey:kAccessibilityMigrationOccurredKey]; if (migrationOccurred == NO) { NSMutableDictionary *query = [NSMutableDictionary new]; NSString *bundleId = [NSBundle mainBundle].bundleIdentifier ?: @""; [query setObject:(id)kSecClassGenericPassword forKey:(id)kSecClass]; [query setObject:(id)[NSString stringWithFormat:kV2KeychainServiceKeyBase, bundleId] forKey:(id)kSecAttrService]; NSDictionary *attributesToUpdate = @{(id)kSecAttrAccessible : (id)kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly}; SecItemUpdate((__bridge CFDictionaryRef)query, (__bridge CFDictionaryRef)attributesToUpdate); [userDefaults setBool:YES forKey:kAccessibilityMigrationOccurredKey]; } } + (BOOL)checkAndPerformV1TokenMigration:(DBTokenMigrationResponseBlock)responseBlock queue:(NSOperationQueue *)queue appKey:(NSString *)appKey appSecret:(NSString *)appSecret { NSOperationQueue *queueToUse = queue ?: [NSOperationQueue mainQueue]; NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults]; NSString *migrationOccurredLookupKey = [NSString stringWithFormat:kV1TokenMigrationOccurredKeyBase, appKey]; BOOL migrationOccurred = [userDefaults boolForKey:migrationOccurredLookupKey]; if (migrationOccurred == NO) { NSMutableArray *> *v1TokensData = [NSMutableArray new]; #if TARGET_OS_IPHONE NSArray *> *v1TokensDataIOSCore = [[self class] v1TokensDataIOSCore]; NSArray *> *v1TokensDataIOSSync = [[self class] v1TokensDataIOSSync]; [v1TokensData addObjectsFromArray:v1TokensDataIOSCore]; [v1TokensData addObjectsFromArray:v1TokensDataIOSSync]; #elif !TARGET_OS_IPHONE NSArray *> *v1TokensDataOSXCore = [[self class] v1TokensDataOSXCore]; NSArray *> *v1TokensDataOSXSync = [[self class] v1TokensDataOSXSync]; [v1TokensData addObjectsFromArray:v1TokensDataOSXCore]; [v1TokensData addObjectsFromArray:v1TokensDataOSXSync]; #endif if ([v1TokensData count] > 0) { [[self v1TokenConversionOperationQueue] addOperationWithBlock:^{ [[self class] convertV1TokenToV2:v1TokensData appKey:appKey appSecret:appSecret responseBlock:responseBlock queue:queueToUse]; }]; return YES; } } return NO; } #if TARGET_OS_IPHONE + (NSArray *> *)v1TokensDataIOSCore { NSMutableArray *> *v1TokensData = [NSMutableArray new]; NSMutableDictionary *query = [NSMutableDictionary new]; NSString *bundleId = [NSBundle mainBundle].bundleIdentifier ?: @""; [query setObject:(id)kSecClassGenericPassword forKey:(id)kSecClass]; [query setObject:(id)[NSString stringWithFormat:kV1IOSKeychainServiceKeyBase, bundleId] forKey:(id)kSecAttrService]; [query setObject:(id)kCFBooleanTrue forKey:(id)kSecReturnAttributes]; [query setObject:(id)kCFBooleanTrue forKey:(id)kSecReturnData]; [query setObject:(id)kSecMatchLimitAll forKey:(id)kSecMatchLimit]; CFDataRef dataResult = nil; OSStatus status = SecItemCopyMatching((__bridge CFDictionaryRef)query, (CFTypeRef *)&dataResult); if (status == noErr) { NSData *data = (__bridge NSData *)dataResult; NSArray *> *dataResultDict = (NSArray *> *)data ?: @[]; for (NSDictionary *dict in dataResultDict) { NSData *foundData = dict[(NSString *)kSecValueData]; if (foundData != nil) { NSDictionary *unarchivedFoundData = [NSKeyedUnarchiver unarchiveObjectWithData:foundData]; NSString *retrievedAppKey = unarchivedFoundData[kV1ConsumerAppKeyKey]; NSArray *> *credentialsList = unarchivedFoundData[kV1UserCredentialsKey]; for (NSDictionary *credential in credentialsList) { NSString *uid = credential[kV1UserIdKey]; NSString *accessToken = credential[kV1UserAccessTokenKey]; NSString *accessTokenSecret = credential[kV1UserAccessTokenSecretKey]; if (uid != nil && accessToken != nil && accessTokenSecret != nil && retrievedAppKey != nil) { // really old versions of the v1 SDK stored tokens without a // corresponding user id, so should be skipped if ([uid isEqualToString:kV1IOSUnknownUserIdKey] == NO) { NSArray *tokenData = @[ uid, accessToken, accessTokenSecret, retrievedAppKey ]; [v1TokensData addObject:tokenData]; } } } } } } return v1TokensData; } + (NSArray *> *)v1TokensDataIOSSync { NSMutableArray *> *v1TokensData = [NSMutableArray new]; NSMutableDictionary *query = [NSMutableDictionary new]; NSString *bundleId = [NSBundle mainBundle].bundleIdentifier ?: @""; [query setObject:(id)kSecClassGenericPassword forKey:(id)kSecClass]; [query setObject:(id)[NSString stringWithFormat:kV1SyncKeychainServiceKeyBase, bundleId] forKey:(id)kSecAttrService]; [query setObject:(id)kCFBooleanTrue forKey:(id)kSecReturnAttributes]; [query setObject:(id)kCFBooleanTrue forKey:(id)kSecReturnData]; [query setObject:(id)kSecMatchLimitAll forKey:(id)kSecMatchLimit]; CFDataRef dataResult = nil; OSStatus status = SecItemCopyMatching((__bridge CFDictionaryRef)query, (CFTypeRef *)&dataResult); if (status == noErr) { NSData *data = (__bridge NSData *)dataResult; NSArray *> *dataResultDict = (NSArray *> *)data ?: @[]; for (NSDictionary *dict in dataResultDict) { NSData *foundData = dict[(NSString *)kSecValueData]; if (foundData != nil) { NSDictionary *credentialsDictionary = [NSKeyedUnarchiver unarchiveObjectWithData:foundData][kV1SyncAccountCredentialsKey]; for (NSString *credentialKey in credentialsDictionary) { NSArray *> *credentialList = credentialsDictionary[credentialKey]; for (NSDictionary *credential in credentialList) { NSString *uid = credential[kV1SyncUserIdKey]; NSString *accessToken = credential[kV1SyncUserAccessTokenKey]; NSString *accessTokenSecret = credential[kV1SyncUserAccessTokenSecretKey]; if (uid != nil && accessToken != nil && accessTokenSecret != nil && credentialKey != nil) { NSArray *tokenData = @[ uid, accessToken, accessTokenSecret, credentialKey ]; [v1TokensData addObject:tokenData]; } } } } } } return v1TokensData; } #endif #if !TARGET_OS_IPHONE + (NSArray *> *)v1TokensDataOSXCore { NSMutableArray *> *v1TokensData = [NSMutableArray new]; NSString *keychainId = [NSString stringWithFormat:kV1OSXKeychainServiceKeyBase, [[[NSBundle mainBundle] infoDictionary] objectForKey:@"CFBundleName"]]; const char *v1ServiceName = [keychainId UTF8String]; UInt32 dataLen = 0; void *pData = nil; SecKeychainItemRef itemRef = nil; OSStatus status = SecKeychainFindGenericPassword(nil, (int32_t)strlen(v1ServiceName), v1ServiceName, (int32_t)strlen(kV1OSXAccountName), kV1OSXAccountName, &dataLen, &pData, &itemRef); if (status == noErr) { NSData *foundData = [NSData dataWithBytes:pData length:dataLen]; NSDictionary *unarchivedFoundData = [NSKeyedUnarchiver unarchiveObjectWithData:foundData]; NSString *retrievedAppKey = unarchivedFoundData[kV1ConsumerAppKeyKey]; NSArray *> *credentialsList = unarchivedFoundData[kV1UserCredentialsKey]; for (NSDictionary *credential in credentialsList) { NSString *uid = credential[kV1UserIdKey]; NSString *accessToken = credential[kV1UserAccessTokenKey]; NSString *accessTokenSecret = credential[kV1UserAccessTokenSecretKey]; if (uid != nil && accessToken != nil && accessTokenSecret != nil && retrievedAppKey != nil) { NSArray *tokenData = @[ uid, accessToken, accessTokenSecret, retrievedAppKey ]; [v1TokensData addObject:tokenData]; } } } if (pData != nil) { SecKeychainItemFreeContent(nil, pData); } return v1TokensData; } + (NSArray *> *)v1TokensDataOSXSync { NSMutableArray *> *v1TokensData = [NSMutableArray new]; NSString *keychainId = [NSString stringWithFormat:kV1SyncKeychainServiceKeyBase, [[[NSBundle mainBundle] infoDictionary] objectForKey:@"CFBundleName"]]; const char *v1ServiceName = [keychainId UTF8String]; UInt32 dataLen = 0; void *pData = nil; SecKeychainItemRef itemRef = nil; OSStatus status = SecKeychainFindGenericPassword(nil, (int32_t)strlen(v1ServiceName), v1ServiceName, (int32_t)strlen(kV1OSXAccountName), kV1OSXAccountName, &dataLen, &pData, &itemRef); if (status == noErr) { NSData *data = [NSData dataWithBytes:pData length:dataLen]; NSDictionary *credentialsDictionary = [NSKeyedUnarchiver unarchiveObjectWithData:data][kV1SyncAccountCredentialsKey]; for (NSString *credentialKey in credentialsDictionary) { NSArray *> *credentialList = credentialsDictionary[credentialKey]; for (NSDictionary *credential in credentialList) { NSString *uid = credential[kV1SyncUserIdKey]; NSString *accessToken = credential[kV1SyncUserAccessTokenKey]; NSString *accessTokenSecret = credential[kV1SyncUserAccessTokenSecretKey]; if (uid != nil && accessToken != nil && accessTokenSecret != nil && credentialKey != nil) { NSArray *tokenData = @[ uid, accessToken, accessTokenSecret, credentialKey ]; [v1TokensData addObject:tokenData]; } } } } if (pData != nil) { SecKeychainItemFreeContent(nil, pData); } return v1TokensData; } #endif + (void)convertV1TokenToV2:(NSMutableArray *> *)v1TokensData appKey:(NSString *)appKey appSecret:(NSString *)appSecret responseBlock:(DBTokenMigrationResponseBlock)responseBlock queue:(NSOperationQueue *)queue { DBAppClient *appAuthClient = [[DBAppClient alloc] initWithAppKey:appKey appSecret:appSecret]; dispatch_group_t tokenConvertGroup = dispatch_group_create(); __block BOOL shouldRetry = NO; NSLock *shouldRetryLock = [NSLock new]; __block BOOL invalidAppKeyOrSecret = NO; NSLock *invalidAppKeyOrSecretLock = [NSLock new]; NSMutableDictionary *tokenConversionResults = [NSMutableDictionary new]; NSLock *tokenConversionResultsLock = [NSLock new]; NSMutableArray *> *unsuccessfullyMigratedTokenData = [NSMutableArray new]; NSLock *unsuccessfullyMigratedTokenDataLock = [NSLock new]; for (NSArray *v1TokenData in v1TokensData) { if ([v1TokenData count] != 4) { continue; } NSString *uid = v1TokenData[0]; NSString *accessToken = v1TokenData[1]; NSString *accessTokenSecret = v1TokenData[2]; NSString *retrievedAppKey = v1TokenData[3]; if ([retrievedAppKey isEqualToString:appKey] == NO) { [invalidAppKeyOrSecretLock lock]; invalidAppKeyOrSecret = YES; [invalidAppKeyOrSecretLock unlock]; [unsuccessfullyMigratedTokenDataLock lock]; [unsuccessfullyMigratedTokenData addObject:v1TokenData]; [unsuccessfullyMigratedTokenDataLock unlock]; continue; } dispatch_group_enter(tokenConvertGroup); [[appAuthClient.authRoutes tokenFromOauth1:accessToken oauth1TokenSecret:accessTokenSecret] setResponseBlock:^(DBAUTHTokenFromOAuth1Result *result, DBAUTHTokenFromOAuth1Error *routeError, DBRequestError *error) { #pragma unused(routeError) if (result != nil) { NSString *oauth2Token = result.oauth2Token; [tokenConversionResultsLock lock]; [tokenConversionResults setObject:oauth2Token forKey:uid]; [tokenConversionResultsLock unlock]; } else { if ([error isClientError]) { NSError *clientError = error.nsError.userInfo[NSUnderlyingErrorKey]; if ([clientError.domain isEqualToString:(NSString *)kCFErrorDomainCFNetwork]) { // retry for connectivity errors [shouldRetryLock lock]; shouldRetry = YES; [shouldRetryLock unlock]; } } else if ([error isBadInputError]) { [invalidAppKeyOrSecretLock lock]; invalidAppKeyOrSecret = YES; [invalidAppKeyOrSecretLock unlock]; } [unsuccessfullyMigratedTokenDataLock lock]; [unsuccessfullyMigratedTokenData addObject:v1TokenData]; [unsuccessfullyMigratedTokenDataLock unlock]; } dispatch_group_leave(tokenConvertGroup); } queue:[self rpcTaskOperationQueue]]; } // wait for all token conversion calls to complete and then update the keychain, and call the response block dispatch_group_notify(tokenConvertGroup, dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_HIGH, 0), ^{ if (shouldRetry == NO) { for (NSString *uid in tokenConversionResults) { [self storeAccessToken:[DBAccessToken createWithLongLivedAccessToken:tokenConversionResults[uid] uid:uid]]; } NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults]; [userDefaults setBool:YES forKey:[NSString stringWithFormat:kV1TokenMigrationOccurredKeyBase, appKey]]; } [queue addOperationWithBlock:^{ responseBlock(shouldRetry, invalidAppKeyOrSecret, unsuccessfullyMigratedTokenData); }]; }); } #pragma mark - Operation Queues static NSOperationQueue *_v1TokenConversionOperationQueue = nil; + (NSOperationQueue *)v1TokenConversionOperationQueue { static dispatch_once_t tokenConversionOnceToken; dispatch_once(&tokenConversionOnceToken, ^{ _v1TokenConversionOperationQueue = [[NSOperationQueue alloc] init]; _v1TokenConversionOperationQueue.name = [NSString stringWithFormat:@"%@ %@", NSStringFromClass(self.class), NSStringFromSelector(_cmd)]; _v1TokenConversionOperationQueue.qualityOfService = NSQualityOfServiceUtility; }); return _v1TokenConversionOperationQueue; } static NSOperationQueue *_rpcTaskOperationQueue = nil; + (NSOperationQueue *)rpcTaskOperationQueue { static dispatch_once_t rpcTaskOnceToken; dispatch_once(&rpcTaskOnceToken, ^{ _rpcTaskOperationQueue = [[NSOperationQueue alloc] init]; _rpcTaskOperationQueue.name = [NSString stringWithFormat:@"%@ %@", NSStringFromClass(self.class), NSStringFromSelector(_cmd)]; _rpcTaskOperationQueue.qualityOfService = NSQualityOfServiceUtility; }); return _rpcTaskOperationQueue; } @end ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Handwritten/OAuth/DBScopeRequest.h ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Handwritten/OAuth/DBScopeRequest.m ================================================ /// /// 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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Handwritten/OAuth/DBSharedApplicationProtocol.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// #import NS_ASSUME_NONNULL_BEGIN /// /// Protocol implemented by platform-specific builds of the Obj-C SDK /// for properly rendering the OAuth linking flow. /// @protocol DBSharedApplication typedef void (^DBOAuthCancelBlock)(void); /// /// Presents a platform-specific error message, and halts the auth flow. /// /// @param message String to display which describes the error. /// @param title String to display which titles the error view. /// - (void)presentErrorMessage:(NSString *)message title:(NSString *)title; /// /// Presents a platform-specific error message, and halts the auth flow. Optional handlers may be provided for view /// display buttons (mainly useful in the mobile case). /// /// @param message String to display which describes the error. /// @param title String to display which titles the error view. /// @param buttonHandlers Map from button name to button handler. /// - (void)presentErrorMessageWithHandlers:(NSString *)message title:(NSString *)title buttonHandlers:(NSDictionary *)buttonHandlers; /// /// Presents platform-specific authorization paths. /// /// This method is called before more generic, platform-neutral auth methods. For example, in the mobile case, the Obj-C /// SDK will use a direct authorization route with the Dropbox mobile app, if it is installed on the current device. /// /// @param authURL Gateway url to commence auth flow. /// - (BOOL)presentPlatformSpecificAuth:(NSURL *)authURL; /// /// Presents platform-neutral auth flow. /// /// @param authURL Gateway url to commence auth flow. /// @param cancelHandler Handler for cancelling auth flow. Opens "cancel" url to signal cancellation. /// - (void)presentAuthChannel:(NSURL *)authURL cancelHandler:(DBOAuthCancelBlock)cancelHandler; /// /// Opens external app to handle url. /// /// This method opens whichever app is registered to handle the type of the supplied url, and then passes the supplied /// url into the newly opened app. /// /// @param url Url to open with external app. /// - (void)presentExternalApp:(NSURL *)url; /// /// Checks whether there is an external app registered to open the url type. /// /// @param url Url to check. /// /// @return Whether there is an external app registered to open the url type. /// - (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 ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Handwritten/Resources/DBChunkInputStream.m ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// Copyright (c) 2011 BJ Homer. All rights reserved. /// /// Based on example from @bjhomer https://github.com/bjhomer/HSCountingInputStream /// #import "DBChunkInputStream.h" NS_ASSUME_NONNULL_BEGIN @interface DBChunkInputStream () @property (nonatomic, readonly) NSInputStream *parentStream; @property (nonatomic) NSStreamStatus parentStreamStatus; @property (nonatomic, readonly) id streamDelegate; @property (nonatomic) CFReadStreamClientCallBack copiedCallback; @property (nonatomic) CFStreamClientContext copiedContext; @property (nonatomic) CFOptionFlags requestedEvents; @property (nonatomic, readonly) NSUInteger startBytes; @property (nonatomic, readonly) NSUInteger endBytes; @property (nonatomic, readonly) NSUInteger totalBytesToRead; @property (nonatomic) NSUInteger totalBytesRead; @end @implementation DBChunkInputStream #pragma mark Object lifecycle - (instancetype)initWithFileUrl:(NSURL *)fileUrl startBytes:(NSUInteger)startBytes endBytes:(NSUInteger)endBytes { self = [super init]; if (self) { _parentStream = [[NSInputStream alloc] initWithURL:fileUrl]; [_parentStream setDelegate:self]; NSAssert(endBytes > startBytes, @"End location (%lu) needs to be greater than start location (%lu)", (unsigned long)endBytes, (unsigned long)startBytes); _startBytes = startBytes; _endBytes = endBytes; _totalBytesToRead = endBytes - startBytes; _totalBytesRead = 0; [self setDelegate:self]; } return self; } #pragma mark NSStream subclass methods - (void)open { [_parentStream open]; [_parentStream setProperty:@(_startBytes) forKey:NSStreamFileCurrentOffsetKey]; _parentStreamStatus = NSStreamStatusOpen; } - (void)close { [_parentStream close]; _parentStreamStatus = NSStreamStatusClosed; } - (nullable id)delegate { return _streamDelegate; } - (void)setDelegate:(nullable id)aDelegate { if (!aDelegate) { _streamDelegate = self; } else { _streamDelegate = aDelegate; } } - (void)scheduleInRunLoop:(NSRunLoop *)aRunLoop forMode:(NSString *)mode { [_parentStream scheduleInRunLoop:aRunLoop forMode:mode]; } - (void)removeFromRunLoop:(NSRunLoop *)aRunLoop forMode:(NSString *)mode { [_parentStream removeFromRunLoop:aRunLoop forMode:mode]; } - (nullable id)propertyForKey:(NSString *)key { return [_parentStream propertyForKey:key]; } - (BOOL)setProperty:(nullable id)property forKey:(NSString *)key { return [_parentStream setProperty:property forKey:key]; } - (NSStreamStatus)streamStatus { return _parentStreamStatus; } - (nullable NSError *)streamError { return [_parentStream streamError]; } #pragma mark NSInputStream subclass methods - (NSInteger)read:(uint8_t *)buffer maxLength:(NSUInteger)len { NSUInteger bytesToRead = len; NSUInteger bytesRemaining = _totalBytesToRead - _totalBytesRead; if (len > bytesRemaining) { bytesToRead = bytesRemaining; } NSInteger bytesRead = [_parentStream read:buffer maxLength:bytesToRead]; _totalBytesRead += bytesRead; return bytesRead; } - (BOOL)getBuffer:(uint8_t **)buffer length:(NSUInteger *)len { #pragma unused(buffer) #pragma unused(len) return NO; } - (BOOL)hasBytesAvailable { NSUInteger bytesRemaining = _totalBytesToRead - _totalBytesRead; if (bytesRemaining == 0) { _parentStreamStatus = NSStreamStatusAtEnd; return NO; } return [_parentStream hasBytesAvailable]; } #pragma mark Undocumented CFReadStream bridged methods - (void)_scheduleInCFRunLoop:(CFRunLoopRef)aRunLoop forMode:(CFStringRef)aMode { CFReadStreamScheduleWithRunLoop((CFReadStreamRef)_parentStream, aRunLoop, aMode); } - (BOOL)_setCFClientFlags:(CFOptionFlags)inFlags callback:(CFReadStreamClientCallBack)inCallback context:(CFStreamClientContext *)inContext { if (inCallback) { _requestedEvents = inFlags; _copiedCallback = inCallback; memcpy(&_copiedContext, inContext, sizeof(CFStreamClientContext)); if (_copiedContext.info && _copiedContext.retain) { _copiedContext.retain(_copiedContext.info); } } else { _requestedEvents = kCFStreamEventNone; _copiedCallback = nil; if (_copiedContext.info && _copiedContext.release) { _copiedContext.release(_copiedContext.info); } memset(&_copiedContext, 0, sizeof(CFStreamClientContext)); } return YES; } - (void)_unscheduleFromCFRunLoop:(CFRunLoopRef)aRunLoop forMode:(CFStringRef)aMode { CFReadStreamUnscheduleFromRunLoop((CFReadStreamRef)_parentStream, aRunLoop, aMode); } #pragma mark NSStreamDelegate methods - (void)stream:(NSStream *)aStream handleEvent:(NSStreamEvent)eventCode { #pragma unused(aStream) assert(aStream == _parentStream); switch (eventCode) { case NSStreamEventOpenCompleted: if (_requestedEvents & kCFStreamEventOpenCompleted) { _copiedCallback((__bridge CFReadStreamRef)self, kCFStreamEventOpenCompleted, _copiedContext.info); } break; case NSStreamEventHasBytesAvailable: if (_requestedEvents & kCFStreamEventHasBytesAvailable) { _copiedCallback((__bridge CFReadStreamRef)self, kCFStreamEventHasBytesAvailable, _copiedContext.info); } break; case NSStreamEventErrorOccurred: if (_requestedEvents & kCFStreamEventErrorOccurred) { _copiedCallback((__bridge CFReadStreamRef)self, kCFStreamEventErrorOccurred, _copiedContext.info); } break; case NSStreamEventEndEncountered: if (_requestedEvents & kCFStreamEventEndEncountered) { _copiedCallback((__bridge CFReadStreamRef)self, kCFStreamEventEndEncountered, _copiedContext.info); } break; case NSStreamEventHasSpaceAvailable: break; default: break; } } @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Handwritten/Resources/DBCustomDatatypes.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Custom client-side datatypes /// #import #import "DBHandlerTypes.h" @class DBASYNCPollError; @class DBFILESCommitInfo; @class DBFILESUploadSessionFinishArg; @class DBFILESUploadSessionFinishBatchJobStatus; @class DBRequestError; @class DBTasksStorage; NS_ASSUME_NONNULL_BEGIN /// /// Stores data for a particular batch upload attempt. /// @interface DBBatchUploadData : NSObject /// 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. @property (nonatomic, readonly) dispatch_group_t uploadGroup; /// A client-supplied parameter that maps the file urls of the files to upload to the corresponding commit info objects. @property (nonatomic, readonly) NSDictionary *fileUrlsToCommitInfo; /// Mapping of urls for files that were unsuccessfully uploaded to any request errors that were encounted. @property (atomic, readonly) NSMutableDictionary *fileUrlsToRequestErrors; /// List of finish args (which include commit info, cursor, etc.) which the SDK maintains and passes to /// `upload_session/finish_batch`. @property (atomic, strong) NSMutableArray *finishArgs; /// The progress block that is periodically executed once a file upload is complete. @property (nonatomic, readonly) DBProgressBlock _Nullable progressBlock; /// The response block that is executed once all file uploads and the final batch commit is complete. @property (nonatomic, readonly) DBBatchUploadResponseBlock responseBlock; /// The total size of all the files to upload. Used to return progress data to the client. @property (nonatomic) NSUInteger totalUploadSize; /// The total size of all the file content upload so far. Used to return progress data to the client. @property (nonatomic) NSUInteger totalUploadedSoFar; /// The flag that determines whether upload continues or not. @property (atomic) BOOL cancel; /// The container object that stores all upload / download task objects for cancelling. @property (nonatomic, strong) DBTasksStorage *taskStorage; /// /// Full constructor. /// /// @param fileUrlsToCommitInfo A client-supplied parameter that maps the file urls of the files to upload to the /// corresponding commit info objects. /// @param progressBlock The progress block that is periodically executed once a file upload is complete. /// @param responseBlock The response block that is executed once all file uploads and the final batch commit is /// complete. /// @param queue The queue on which most response handling is performed. /// /// @return An initialized instance. /// - (instancetype)initWithFileCommitInfo:(NSDictionary *)fileUrlsToCommitInfo progressBlock:(DBProgressBlock _Nullable)progressBlock responseBlock:(DBBatchUploadResponseBlock)responseBlock queue:(NSOperationQueue *)queue; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Handwritten/Resources/DBCustomDatatypes.m ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// #import "DBCustomDatatypes.h" #import "DBTasksStorage.h" @implementation DBBatchUploadData - (instancetype)initWithFileCommitInfo:(NSDictionary *)fileUrlsToCommitInfo progressBlock:(DBProgressBlock)progressBlock responseBlock:(DBBatchUploadResponseBlock)responseBlock queue:(NSOperationQueue *)queue { self = [super init]; if (self) { // we specifiy a custom queue so that the main thread is not blocked _queue = queue; [_queue setMaxConcurrentOperationCount:1]; // create a special background queue to monitor progress and sleep until the processing is complete _pollingQueue = [NSOperationQueue new]; [_pollingQueue setMaxConcurrentOperationCount:1]; // we want to make sure all of our file data has been uploaded // before we make our final batch commit call to `/upload_session/finish_batch`, // but we also don't want to wait for each response before making a // succeeding upload call, so we used dispatch groups to wait for all upload // calls to return before making our final batch commit call _uploadGroup = dispatch_group_create(); _fileUrlsToCommitInfo = fileUrlsToCommitInfo; _fileUrlsToRequestErrors = [NSMutableDictionary new]; _finishArgs = [NSMutableArray new]; _progressBlock = progressBlock; _responseBlock = responseBlock; _cancel = NO; _taskStorage = [DBTasksStorage new]; } return self; } @end ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Handwritten/Resources/DBCustomRoutes.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// /// Custom client-side routes /// #import #import "DBFILESUserAuthRoutes.h" #import "DBHandlerTypes.h" @class DBBatchUploadTask; @class DBFILESCommitInfo; NS_ASSUME_NONNULL_BEGIN /// /// Extension of routes in the `Files` namespace. /// /// These routes serve as a convenience layer built on top of our auto-generated routes. /// @interface DBFILESUserAuthRoutes (DBCustomRoutes) /// /// Batch uploads small and large files. /// /// This is a custom route built as a convenience layer over several Dropbox endpoints. Files will not only be batch /// uploaded, but large files will also automatically be chunk-uploaded to the Dropbox server, for maximum efficiency. /// /// @note The interface of this route does not have the same structure as other routes in the SDK. Here, a special /// `DBBatchUploadTask` object is returned. Progress and response handlers are passed in directly to the route, rather /// than installed via this response object. /// /// @param fileUrlsToCommitInfo Map from the file urls of the files to upload to the corresponding commit info objects. /// @param queue The operation queue to execute progress / response handlers on. Main queue if `nil` is passed. /// @param progressBlock The progress block that is periodically executed once a file upload is complete. It's important /// to note that this progress handler will update only when a file or file chunk is successfully uploaded. It will not /// give the client any progress notifications once all of the file data is uploaded, but not yet committed. Once the /// batch commit call is made, the client will have to simply wait for the server to commit all of the uploaded data, /// until the response handler is called. /// @param responseBlock The response block that is executed once all file uploads and the final batch commit is /// complete. /// /// @returns Special `DBBatchUploadTask` that exposes cancellation method. /// - (DBBatchUploadTask *)batchUploadFiles:(NSDictionary *)fileUrlsToCommitInfo queue:(nullable NSOperationQueue *)queue progressBlock:(DBProgressBlock _Nullable)progressBlock responseBlock:(DBBatchUploadResponseBlock)responseBlock; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Handwritten/Resources/DBCustomRoutes.m ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// #import "DBCustomRoutes.h" #import "DBASYNCLaunchEmptyResult.h" #import "DBChunkInputStream.h" #import "DBCustomDatatypes.h" #import "DBCustomTasks.h" #import "DBFILESCommitInfo.h" #import "DBFILESUploadSessionCursor.h" #import "DBFILESUploadSessionFinishArg.h" #import "DBFILESUploadSessionFinishBatchJobStatus.h" #import "DBFILESUploadSessionFinishBatchLaunch.h" #import "DBFILESUploadSessionFinishBatchResult.h" #import "DBFILESUploadSessionFinishBatchResultEntry.h" #import "DBFILESUploadSessionLookupError.h" #import "DBFILESUploadSessionOffsetError.h" #import "DBFILESUploadSessionStartResult.h" #import "DBHandlerTypes.h" #import "DBRequestErrors.h" #import "DBTasksImpl.h" #import "DBTasksStorage.h" // 10 MB file chunk size static const NSUInteger fileChunkSize = 10 * 1024 * 1024; @implementation DBFILESUserAuthRoutes (DBCustomRoutes) - (DBBatchUploadTask *)batchUploadFiles:(NSDictionary *)fileUrlsToCommitInfo queue:(NSOperationQueue *)queue progressBlock:(DBProgressBlock)progressBlock responseBlock:(DBBatchUploadResponseBlock)responseBlock { DBBatchUploadData *uploadData = [[DBBatchUploadData alloc] initWithFileCommitInfo:fileUrlsToCommitInfo progressBlock:progressBlock responseBlock:responseBlock queue:queue ?: [NSOperationQueue mainQueue]]; DBBatchUploadTask *uploadTask = [[DBBatchUploadTask alloc] initWithUploadData:uploadData]; NSArray *fileUrls = [fileUrlsToCommitInfo allKeys]; NSMutableDictionary *fileUrlsToFileSize = [NSMutableDictionary new]; NSUInteger totalUploadSize = 0; // determine total upload size for progress handler for (NSURL *fileUrl in fileUrls) { NSNumber *fileSizeObj; NSError *fileSizeError; [fileUrl getResourceValue:&fileSizeObj forKey:NSURLFileSizeKey error:&fileSizeError]; if (fileSizeError) { [uploadData.queue addOperationWithBlock:^{ uploadData.responseBlock(nil, nil, nil, @{fileUrl : [[DBRequestError alloc] initAsClientError:fileSizeError]}); }]; return uploadTask; } NSUInteger fileSize = [fileSizeObj unsignedIntegerValue]; totalUploadSize += fileSize; fileUrlsToFileSize[fileUrl] = @(fileSize); } uploadData.totalUploadSize = totalUploadSize; NSOperationQueue *limitRequestsQueue = [NSOperationQueue new]; limitRequestsQueue.maxConcurrentOperationCount = 5; for (NSURL *fileUrl in fileUrls) { NSUInteger fileSize = [fileUrlsToFileSize[fileUrl] unsignedIntegerValue]; if (!uploadData.cancel) { dispatch_group_enter(uploadData.uploadGroup); // queue to `limitRequestsQueue` then back to main queue to make request [limitRequestsQueue addOperationWithBlock:^{ dispatch_semaphore_t semaphore = dispatch_semaphore_create(0); if (fileSize < fileChunkSize) { // file is small, so we won't chunk upload it. [self startUploadSmallFile:uploadData fileUrl:fileUrl fileSize:fileSize blockingSemaphore:semaphore]; } else { // file is somewhat large, so we will chunk upload it, repeatedly querying // `/upload_session/append_v2` until the file is uploaded [self startUploadLargeFile:uploadData fileUrl:fileUrl fileSize:fileSize blockingSemaphore:semaphore]; } dispatch_semaphore_wait(semaphore, DISPATCH_TIME_FOREVER); }]; } else { break; } } // small or large, we query `upload_session/finish_batch` to batch commit // uploaded files. [self batchFinishUponCompletion:uploadData]; return uploadTask; } - (void)startUploadSmallFile:(DBBatchUploadData *)uploadData fileUrl:(NSURL *)fileUrl fileSize:(NSUInteger)fileSize blockingSemaphore:(dispatch_semaphore_t)blockingSemaphore { // immediately close session after first API call // because file can be uploaded in one request __block DBUploadTask *task = [[[self uploadSessionStartStream:@(YES) sessionType:nil contentHash:nil inputStream:[NSInputStream inputStreamWithURL:fileUrl]] setResponseBlock:^(DBFILESUploadSessionStartResult *result, DBFILESUploadSessionStartError *routeError, DBRequestError *error) { if (result && !routeError) { NSString *sessionId = result.sessionId; NSNumber *offset = @(fileSize); DBFILESUploadSessionCursor *cursor = [[DBFILESUploadSessionCursor alloc] initWithSessionId:sessionId offset:offset]; DBFILESCommitInfo *commitInfo = uploadData.fileUrlsToCommitInfo[fileUrl]; DBFILESUploadSessionFinishArg *finishArg = [[DBFILESUploadSessionFinishArg alloc] initWithCursor:cursor commit:commitInfo]; // store commit info for this file [uploadData.finishArgs addObject:finishArg]; } else { uploadData.fileUrlsToRequestErrors[fileUrl] = error; } [uploadData.taskStorage removeUploadTask:task]; dispatch_semaphore_signal(blockingSemaphore); dispatch_group_leave(uploadData.uploadGroup); } queue:uploadData.queue] setProgressBlock:^(int64_t bytesWritten, int64_t totalBytesWritten, int64_t totalBytesExpectedToWrite) { #pragma unused(totalBytesWritten) #pragma unused(totalBytesExpectedToWrite) [self executeProgressHandler:uploadData amountUploaded:bytesWritten]; }]; [uploadData.taskStorage addUploadTask:task]; } - (void)startUploadLargeFile:(DBBatchUploadData *)uploadData fileUrl:(NSURL *)fileUrl fileSize:(NSUInteger)fileSize blockingSemaphore:(dispatch_semaphore_t)blockingSemaphore { NSUInteger startBytes = 0; NSUInteger endBytes = fileChunkSize; DBChunkInputStream *fileChunkInputStream = [[DBChunkInputStream alloc] initWithFileUrl:fileUrl startBytes:startBytes endBytes:endBytes]; // use seperate continue upload queue so we don't block other files from // commencing their upload NSOperationQueue *chunkUploadContinueQueue = [NSOperationQueue new]; // do not immediately close session __block DBUploadTask *task = [[[self uploadSessionStartStream:fileChunkInputStream] setResponseBlock:^(DBFILESUploadSessionStartResult *result, DBFILESUploadSessionStartError *routeError, DBRequestError *error) { if (result && !routeError) { NSString *sessionId = result.sessionId; [self appendRemainingFileChunks:uploadData fileUrl:fileUrl fileSize:fileSize sessionId:sessionId blockingSemaphore:blockingSemaphore]; DBFILESUploadSessionCursor *cursor = [[DBFILESUploadSessionCursor alloc] initWithSessionId:sessionId offset:@(fileSize)]; DBFILESCommitInfo *commitInfo = uploadData.fileUrlsToCommitInfo[fileUrl]; DBFILESUploadSessionFinishArg *finishArg = [[DBFILESUploadSessionFinishArg alloc] initWithCursor:cursor commit:commitInfo]; // Store commit info for this file [uploadData.finishArgs addObject:finishArg]; } else { uploadData.fileUrlsToRequestErrors[fileUrl] = error; dispatch_semaphore_signal(blockingSemaphore); dispatch_group_leave(uploadData.uploadGroup); } [uploadData.taskStorage removeUploadTask:task]; } queue:chunkUploadContinueQueue] setProgressBlock:^(int64_t bytesWritten, int64_t totalBytesWritten, int64_t totalBytesExpectedToWrite) { #pragma unused(totalBytesWritten) #pragma unused(totalBytesExpectedToWrite) [self executeProgressHandler:uploadData amountUploaded:bytesWritten]; }]; [uploadData.taskStorage addUploadTask:task]; } - (void)appendRemainingFileChunks:(DBBatchUploadData *)uploadData fileUrl:(NSURL *)fileUrl fileSize:(NSUInteger)fileSize sessionId:(NSString *)sessionId blockingSemaphore:(dispatch_semaphore_t)blockingSemaphore { // use seperate response queue so we don't block response thread // with dispatch_semaphore_t NSOperationQueue *chunkUploadResponseQueue = [NSOperationQueue new]; [chunkUploadResponseQueue addOperationWithBlock:^{ NSUInteger startBytes = fileChunkSize; NSUInteger endBytes = [self endBytesWithFileSize:fileSize startBytes:startBytes]; BOOL shouldClose = endBytes == fileSize; DBChunkInputStream *fileChunkInputStream = [[DBChunkInputStream alloc] initWithFileUrl:fileUrl startBytes:startBytes endBytes:endBytes]; DBFILESUploadSessionCursor *cursor = [[DBFILESUploadSessionCursor alloc] initWithSessionId:sessionId offset:@(startBytes)]; [self appendFileChunk:uploadData fileUrl:fileUrl fileSize:fileSize sessionId:sessionId chunkUploadResponseQueue:chunkUploadResponseQueue retryCount:0 fileChunkInputStream:fileChunkInputStream cursor:cursor startBytes:startBytes shouldClose:shouldClose blockingSemaphore:blockingSemaphore]; }]; } - (void)appendFileChunk:(DBBatchUploadData *)uploadData fileUrl:(NSURL *)fileUrl fileSize:(NSUInteger)fileSize sessionId:(NSString *)sessionId chunkUploadResponseQueue:(NSOperationQueue *)chunkUploadResponseQueue retryCount:(int)retryCount fileChunkInputStream:(NSInputStream *)fileChunkInputStream cursor:(DBFILESUploadSessionCursor *)cursor startBytes:(NSUInteger)startBytes shouldClose:(BOOL)shouldClose blockingSemaphore:(dispatch_semaphore_t)blockingSemaphore { // close session on final append call __block DBUploadTask *task = [[[self uploadSessionAppendV2Stream:cursor close:@(shouldClose) contentHash:nil inputStream:fileChunkInputStream] setResponseBlock:^(DBNilObject *result, DBFILESUploadSessionAppendError *routeError, DBRequestError *error) { if (!result && !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) { if (retryCount <= 3) { [self appendFileChunk:uploadData fileUrl:fileUrl fileSize:fileSize sessionId:sessionId chunkUploadResponseQueue:chunkUploadResponseQueue retryCount:retryCount + 1 fileChunkInputStream:fileChunkInputStream cursor:cursor startBytes:startBytes shouldClose:shouldClose blockingSemaphore:blockingSemaphore]; } else { uploadData.fileUrlsToRequestErrors[fileUrl] = error; dispatch_semaphore_signal(blockingSemaphore); dispatch_group_leave(uploadData.uploadGroup); } }); } else { uploadData.fileUrlsToRequestErrors[fileUrl] = error; dispatch_semaphore_signal(blockingSemaphore); dispatch_group_leave(uploadData.uploadGroup); } } else if (!result) { // if we error here, there's almost certainly a bug with the SDK uploadData.fileUrlsToRequestErrors[fileUrl] = error; dispatch_semaphore_signal(blockingSemaphore); dispatch_group_leave(uploadData.uploadGroup); } else { if (shouldClose || uploadData.cancel) { dispatch_semaphore_signal(blockingSemaphore); dispatch_group_leave(uploadData.uploadGroup); return; } NSUInteger startBytesContinue = startBytes + fileChunkSize; NSUInteger endBytesContinue = [self endBytesWithFileSize:fileSize startBytes:startBytesContinue]; BOOL shouldCloseContinue = endBytesContinue == fileSize; DBChunkInputStream *fileChunkInputStreamContinue = [[DBChunkInputStream alloc] initWithFileUrl:fileUrl startBytes:startBytesContinue endBytes:endBytesContinue]; DBFILESUploadSessionCursor *cursorContinue = [[DBFILESUploadSessionCursor alloc] initWithSessionId:sessionId offset:@(startBytesContinue)]; [self appendFileChunk:uploadData fileUrl:fileUrl fileSize:fileSize sessionId:sessionId chunkUploadResponseQueue:chunkUploadResponseQueue retryCount:retryCount fileChunkInputStream:fileChunkInputStreamContinue cursor:cursorContinue startBytes:startBytesContinue shouldClose:shouldCloseContinue blockingSemaphore:blockingSemaphore]; } [uploadData.taskStorage removeUploadTask:task]; } queue:chunkUploadResponseQueue] setProgressBlock:^(int64_t bytesWritten, int64_t totalBytesWritten, int64_t totalBytesExpectedToWrite) { #pragma unused(totalBytesWritten) #pragma unused(totalBytesExpectedToWrite) if (retryCount == 0) { [self executeProgressHandler:uploadData amountUploaded:bytesWritten]; } }]; [uploadData.taskStorage addUploadTask:task]; } - (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]; 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); }]; } - (NSUInteger)endBytesWithFileSize:(NSUInteger)fileSize startBytes:(NSUInteger)startBytes { if (startBytes + fileChunkSize < fileSize) { return startBytes + fileChunkSize; } return fileSize; } - (void)batchFinishUponCompletion:(DBBatchUploadData *)uploadData { // wait for all upload calls to complete and then batch "finish" all uploaded files // with one call to `upload_session/finish_batch` dispatch_group_notify(uploadData.uploadGroup, dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_HIGH, 0), ^{ if (uploadData.cancel) { uploadData.responseBlock(nil, nil, nil, uploadData.fileUrlsToRequestErrors); return; } NSMutableArray *sortedFinishArgs = [[uploadData.finishArgs sortedArrayUsingComparator:^NSComparisonResult(id a, id b) { DBFILESUploadSessionFinishArg *first = (DBFILESUploadSessionFinishArg *)a; DBFILESUploadSessionFinishArg *second = (DBFILESUploadSessionFinishArg *)b; return [first.commit.path compare:second.commit.path]; }] mutableCopy]; uploadData.finishArgs = sortedFinishArgs; [[self uploadSessionFinishBatchV2:sortedFinishArgs] setResponseBlock:^(DBFILESUploadSessionFinishBatchResult *_Nullable result, DBNilObject *_Nullable routeError, DBRequestError *_Nullable networkError) { if (!result || routeError) { [uploadData.queue addOperationWithBlock:^{ uploadData.responseBlock(nil, nil, networkError, uploadData.fileUrlsToRequestErrors); }]; } else { [self finishBatch:uploadData resultEntries:result.entries]; } } queue:uploadData.pollingQueue]; }); } - (void)executeProgressHandler:(DBBatchUploadData *)uploadData amountUploaded:(int64_t)amountUploaded { if (!uploadData.progressBlock) { return; } [uploadData.queue addOperationWithBlock:^{ uploadData.totalUploadedSoFar += (NSUInteger)amountUploaded; uploadData.progressBlock(amountUploaded, uploadData.totalUploadedSoFar, uploadData.totalUploadSize); }]; } - (NSFileHandle *)fileHandle:(DBBatchUploadData *)uploadData fileUrl:(NSURL *)fileUrl { NSError *fileHandleError; NSFileHandle *fileHandle = [NSFileHandle fileHandleForReadingFromURL:fileUrl error:&fileHandleError]; if (fileHandleError) { [uploadData.queue addOperationWithBlock:^{ uploadData.responseBlock(nil, nil, nil, @{fileUrl : [[DBRequestError alloc] initAsClientError:fileHandleError]}); }]; return nil; } return fileHandle; } @end ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Handwritten/Resources/DBCustomTasks.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// #import @class DBBatchUploadData; NS_ASSUME_NONNULL_BEGIN /// /// Dropbox task object for custom batch upload route. /// /// The batch upload route is a convenience layer over several of our auto-generated API endpoints. For this reason, /// there is less flexibility and granularity of control. Progress and response handlers are passed directly into this /// route (rather than installed via this task object) and only `cancel` is available. This task is also specific to /// only one endpoint, rather than an entire class (style) of endpoints. /// @interface DBBatchUploadTask : NSObject /// /// DBBatchUploadTask full constructor. /// /// @param uploadData relevant to the particular batch upload request. /// /// @returns A DBBatchUploadTask instance. /// - (instancetype)initWithUploadData:(DBBatchUploadData *)uploadData; /// /// Cancels the current request. /// - (void)cancel; /// /// Determines whether there are any upload tasks still in progress. /// /// NOTE: This will return `NO` during the final polling / commit phase of batch upload. /// /// @return Whether there are any upload tasks in progress. /// - (BOOL)uploadsInProgress; @end NS_ASSUME_NONNULL_END ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Handwritten/Resources/DBCustomTasks.m ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// #import "DBCustomTasks.h" #import "DBCustomDatatypes.h" #import "DBTasksStorage.h" @implementation DBBatchUploadTask { DBBatchUploadData *_uploadData; } - (instancetype)initWithUploadData:(DBBatchUploadData *)uploadData { self = [super init]; if (self) { _uploadData = uploadData; } return self; } - (void)cancel { _uploadData.cancel = YES; [_uploadData.taskStorage cancelAllTasks]; } - (BOOL)uploadsInProgress { return [_uploadData.taskStorage tasksInProgress]; } @end ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Handwritten/Resources/DBSDKConstants.h ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Constants for the SDK should go here. #import extern NSString *const kDBSDKVersion; extern NSString *const kDBSDKDefaultUserAgentPrefix; extern NSString *const kDBSDKForegroundSessionId; extern NSString *const kDBSDKBackgroundSessionId; extern NSString *const kDBSDKCSRFKey; ================================================ FILE: Source/ObjectiveDropboxOfficial/Shared/Handwritten/Resources/DBSDKConstants.m ================================================ /// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Constants for the SDK should go here. #import #import "DBSDKConstants.h" 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"; ================================================ FILE: TestObjectiveDropbox/IntegrationTests/TestAppType.h ================================================ // // TestAppType.h // TestObjectiveDropbox // // Created by Stephen Cobbe on 2/16/17. // Copyright © 2017 Dropbox. All rights reserved. // #import typedef NS_ENUM(NSInteger, ApiAppPermissionType) { FullDropboxScoped, FullDropboxScopedForTeamTesting, }; /// Toggle this variable depending on which set of tests you are running. static ApiAppPermissionType appPermission = (ApiAppPermissionType)FullDropboxScoped; ================================================ FILE: TestObjectiveDropbox/IntegrationTests/TestClasses.h ================================================ // // TestClasses.h // TestObjectiveDropbox_iOS // // Copyright © 2016 Dropbox. All rights reserved. // #import #import #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)(void))nextTest asMember:(BOOL)asMember; - (void)testFilesEndpoints:(void (^ _Nonnull)(void))nextTest asMember:(BOOL)asMember; @property TestData * _Nonnull testData; @property DBAUTHUserAuthRoutes * _Nullable auth; @property DBFILESUserAuthRoutes * _Nullable files; @property DBSHARINGUserAuthRoutes * _Nullable sharing; @property DBUSERSUserAuthRoutes * _Nullable users; @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)(void))nextTest; - (void)testAllTeamMemberManagementActions:(void (^ _Nonnull)(void))nextTest; - (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 @interface BatchUploadTests : NSObject - (nonnull instancetype)init:(DropboxTester * _Nonnull)tester; - (void)batchUploadFiles; @property DropboxTester * _Nonnull tester; @end @interface GlobalResponseTests : NSObject - (nonnull instancetype)init:(DropboxTester * _Nonnull)tester; - (void)runGlobalResponseTests; @property DropboxTester * _Nonnull tester; @end @interface AuthTests : NSObject - (nonnull instancetype)init:(DropboxTester * _Nonnull)tester; - (void)tokenRevoke:(void (^_Nonnull)(void))nextTest; @property DropboxTester * _Nonnull tester; @end @interface FilesTests : NSObject - (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 @interface SharingTests : NSObject - (nonnull instancetype)init:(DropboxTester * _Nonnull)tester; - (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; @property NSString * _Nullable sharedLink; @end @interface UsersTests : NSObject - (nonnull instancetype)init:(DropboxTester * _Nonnull)tester; - (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; @end @interface TeamTests : NSObject - (nonnull instancetype)init:(DropboxTeamTester * _Nonnull)tester; // TeamMemberFileAccess - (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)(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; @property NSString * _Nonnull teamMemberId2; @end @interface TestFormat : NSObject + (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; + (void)printTestBegin:(NSString * _Nonnull)title; + (void)printTestEnd; + (void)printAllTestsEnd; + (void)printSubTestBegin:(NSString * _Nonnull)title; + (void)printSubTestEnd:(NSString * _Nonnull)result; + (void)printTitle:(NSString * _Nonnull)title; + (void)printOffset:(NSString * _Nonnull)str; + (void)printSmallDivider; + (void)printLargeDivider; @end ================================================ FILE: TestObjectiveDropbox/IntegrationTests/TestClasses.m ================================================ // // TestClasses.m // TestObjectiveDropbox_iOS // // Copyright © 2016 Dropbox. All rights reserved. // #import "TestClasses.h" #import "TestData.h" 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]]; } @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 { DBUserClient *clientToUse = s_teamAdminUserClient ?: [DBClientsManager authorizedClient]; NSAssert(clientToUse, @"No authorized user client."); self = [self initWithUserClient:clientToUse testData:testData ]; return self; } // Test user app with 'Full Dropbox' permission - (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 { NSAssert([DBClientsManager authorizedTeamClient], @"No authorized team client."); self = [self initWithTeamClient:[DBClientsManager authorizedTeamClient] testData:testData]; return self; } // Test business app with 'Team member file access' permission - (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 (^)(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)(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 /** Custom Tests */ @implementation BatchUploadTests - (instancetype)init:(DropboxTester *)tester { 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); } } 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 @implementation GlobalResponseTests - (instancetype)init:(DropboxTester *)tester { 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) { #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) { #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) { #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) { #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); } 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); } 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]; } @end /** Dropbox User API Endpoint Tests */ @implementation AuthTests - (instancetype)init:(DropboxTester *)tester { self = [super init]; if (self) { _tester = tester; } return self; } - (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 { DBFILESUserAuthRoutes * _filesRoute; TestData *_testData; } - (instancetype)init:(DBFILESUserAuthRoutes *)filesRoute testData:(TestData *)testData { self = [super init]; if (self) { _filesRoute = filesRoute; _testData = testData; } return self; } - (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(); } else { [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]; }]; } - (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(); } 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)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]; } else { [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]; }]; } - (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(); } 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)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 (^)(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:(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(); } 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)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(); } 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)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(); } 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)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."); } else { 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]; }]; } - (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(); } 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)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(); } 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)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:@"%@%@", 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(); } 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]; }]; } 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)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(); } 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)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) { 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 (^)(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); 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 (^)(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) { NSAssert(NO, @"This call should have errored!"); } else { 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]; }]; } - (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); 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 (^)(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); [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]; }]; } - (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 { [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)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 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)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); } 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 @implementation SharingTests - (instancetype)init:(DropboxTester *)tester { 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); self->_sharedFolderId = result.complete.sharedFolderId; [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; nextTest(); } else { [TestFormat printOffset:@"Improperly handled share folder result"]; [TestFormat abort:error routeError:routeError]; } } else { 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]; }]; } - (void)createSharedLinkWithSettings:(void (^)(void))nextTest { [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; [[[_tester.sharing createSharedLinkWithSettings:_tester.testData.testShareFolderPath] setResponseBlock:^(DBSHARINGSharedLinkMetadata *result, DBSHARINGCreateSharedLinkWithSettingsError *routeError, DBRequestError *error) { if (result || [routeError isSharedLinkAlreadyExists]) { if ([routeError isSharedLinkAlreadyExists]) { } MyLog(@"%@\n", result); self->_sharedLink = result.url; [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)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 (^)(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(); } 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)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(); } 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)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(); } 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)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(); } 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)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]]; 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]; }]; } - (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 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."]]; } } 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)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(); } 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)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(); } 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)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(); } 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)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(); } 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)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(); } 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 @implementation UsersTests - (instancetype)init:(DropboxTester *)tester { self = [super init]; if (self) { _tester = tester; } return self; } - (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(); } 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)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 (^)(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 */ @implementation TeamTests - (instancetype)init:(DropboxTeamTester *)tester { self = [super init]; if (self) { _tester = tester; } return self; } /** Permission: TEAM member file access */ - (void)initMembersGetInfo:(void (^)(void))nextTest { [self initMembersGetInfoAndMemberId:^(NSString * _Nullable memberId) { nextTest(); }]; } - (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 (^)(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(); } 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)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(); } 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)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(); } 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)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 (^)(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]; }]; } /** 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(); } 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)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(); } 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 (^)(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 (^)(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(); } 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)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 (^)(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(); } 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)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]) { 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(); } } 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)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(); } } 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)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]; } } 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 ]] 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]) { self->_teamMemberId2 = addResult.success.profile.teamMemberId; } else if (![addResult isUserAlreadyOnTeam]) { [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]; }]; } - (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); self->_teamMemberId2 = result[0].memberInfo.profile.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)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(); } 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]; } } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { [TestFormat printSentProgress:bytesSent totalBytesSent:totalBytesSent totalBytesExpectedToSend:totalBytesExpectedToSend]; }]; } - (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(); } 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)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) { 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 (^)(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); [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)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(); } } 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 static int smallDividerSize = 150; @implementation TestFormat + (void)abort:(DBRequestError *)error routeError:(id)routeError { [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); } + (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); } + (void)printTestBegin:(NSString *)title { [self printLargeDivider]; [self printTitle:title]; [self printLargeDivider]; [self printOffset:@"Beginning....."]; } + (void)printTestEnd { [self printOffset:@"Test Group Completed"]; [self printLargeDivider]; } + (void)printAllTestsEnd { [self printLargeDivider]; [self printOffset:@"ALL TESTS COMPLETED"]; [self printLargeDivider]; } + (void)printSubTestBegin:(NSString *)title { [self printSmallDivider]; [self printTitle:title]; MyLog(@"\n"); } + (void)printSubTestEnd:(NSString *)result { MyLog(@"\n"); [self printTitle:result]; } + (void)printTitle:(NSString *)title { MyLog(@" %@\n", title); } + (void)printOffset:(NSString *)str { MyLog(@"\n"); MyLog(@" * %@ *\n", str); MyLog(@"\n"); } + (void)printSmallDivider { 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); } @end ================================================ FILE: TestObjectiveDropbox/IntegrationTests/TestData.h ================================================ // // TestData.h // TestObjectiveDropbox_iOS // // Copyright © 2016 Dropbox. All rights reserved. // #import @interface TestData : NSObject - (nonnull instancetype)init; // to avoid name collisions in the event of leftover test state from failure @property(nonatomic, copy) NSString * _Nonnull testId; @property(nonatomic, copy) NSString * _Nonnull baseFolder; @property(nonatomic, copy) NSString * _Nonnull testFolderName; @property(nonatomic, copy) NSString * _Nonnull testFolderPath; @property(nonatomic, copy) NSString * _Nonnull testShareFolderName; @property(nonatomic, copy) NSString * _Nonnull testShareFolderPath; @property(nonatomic, copy) NSString * _Nonnull testFileName; @property(nonatomic, copy) NSString * _Nonnull testFilePath; @property(nonatomic, copy) NSString * _Nonnull testData; @property(nonatomic) NSData * _Nonnull fileData; @property(nonatomic) NSFileManager * _Nonnull fileManager; @property(nonatomic, copy) NSURL * _Nonnull directoryURL; @property(nonatomic, copy) NSURL * _Nonnull destURL; @property(nonatomic, copy) NSURL * _Nonnull destURLException; // team info @property(nonatomic, copy) NSString * _Nonnull testIdTeam; @property(nonatomic, copy) NSString * _Nonnull groupName; @property(nonatomic, copy) NSString * _Nonnull groupExternalId; // user-specific information // account ID of the user you OAuth linked with in order to test @property(nonatomic, copy) NSString * _Nonnull accountId; // any additional valid Dropbox account ID @property(nonatomic, copy) NSString * _Nonnull accountId2; // any additional valid Dropbox account ID @property(nonatomic, copy) NSString * _Nonnull accountId3; // the email address of the account whose account ID is `accoundId3` @property(nonatomic, copy) NSString * _Nonnull accountId3Email; // team info // email address of the team user you OAuth link with in order to test @property(nonatomic, copy) NSString * _Nonnull teamMemberEmail; @property(nonatomic, copy) NSString * _Nonnull teamMemberNewEmail; // App key and secret @property(nonatomic, copy) NSString * _Nonnull fullDropboxAppKey; @property(nonatomic, copy) NSString * _Nonnull fullDropboxAppSecret; @end ================================================ FILE: TestObjectiveDropbox/IntegrationTests/TestData.m ================================================ // // TestData.m // TestObjectiveDropbox_iOS // // Copyright © 2016 Dropbox. All rights reserved. // #import #import "TestData.h" @implementation TestData - (instancetype)init { self = [super init]; if (self) { // generic user data _testId = [NSString stringWithFormat:@"%d", arc4random_uniform(1000)]; _baseFolder = @"/Testing/ObjectiveDropboxTests"; _testFolderName = @"testFolder"; _testFolderPath = [NSString stringWithFormat:@"%@%@%@%@%@", _baseFolder, @"/", _testFolderName, @"_", _testId]; _testShareFolderName = @"testShareFolder"; _testShareFolderPath = [NSString stringWithFormat:@"%@%@%@%@%@", _baseFolder, @"/", _testShareFolderName, @"_", _testId]; _testFileName = @"testFile"; _testFilePath = [NSString stringWithFormat:@"%@%@%@", _testFolderPath, @"/", _testFileName]; _testData = @"testing data example"; _fileData = [_testData dataUsingEncoding:NSUTF8StringEncoding allowLossyConversion:NO]; _fileManager = [NSFileManager defaultManager]; _directoryURL = [_fileManager URLsForDirectory:NSDocumentDirectory inDomains:NSUserDomainMask][0]; _destURL = [_directoryURL URLByAppendingPathComponent:_testFileName]; _destURLException = [_directoryURL URLByAppendingPathComponent:[NSString stringWithFormat:@"%@%@", _testFileName, @"_does_not_exist"]]; // generic team data _testIdTeam = [NSString stringWithFormat:@"%d", arc4random_uniform(1000)]; _groupName = [NSString stringWithFormat:@"%@%@", @"GroupName", _testIdTeam]; _groupExternalId = [NSString stringWithFormat:@"%@%@", @"group-", _testIdTeam]; // personal user data _accountId = @"dbid:"; _accountId2 = @"dbid:"; _accountId3 = @"dbid:"; _accountId3Email = @""; // personal team data _teamMemberEmail = @""; _teamMemberNewEmail = @""; // App key and secret _fullDropboxAppKey = @""; _fullDropboxAppSecret = @""; } return self; } @end ================================================ FILE: TestObjectiveDropbox/Podfile ================================================ use_frameworks! target "TestObjectiveDropbox_iOS" do platform :ios, '12.0' pod 'ObjectiveDropboxOfficial', :path => '../' target "TestObjectiveDropbox_iOSTests" do pod 'ObjectiveDropboxOfficial', :path => '../' end end target "TestObjectiveDropbox_macOS" do platform :osx, '10.13' pod 'ObjectiveDropboxOfficial', :path => '../' target "TestObjectiveDropbox_macOSTests" do pod 'ObjectiveDropboxOfficial', :path => '../' end end ================================================ FILE: TestObjectiveDropbox/TestObjectiveDropbox.xcodeproj/project.pbxproj ================================================ // !$*UTF8*$! { archiveVersion = 1; classes = { }; objectVersion = 46; 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 */; }; F236815C1DEF647900D523C5 /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = F236815B1DEF647900D523C5 /* ViewController.m */; }; F236815E1DEF647900D523C5 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = F236815D1DEF647900D523C5 /* Assets.xcassets */; }; 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 */; }; 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 */; }; F27BA8141D63BBA100FB7864 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = F27BA8131D63BBA100FB7864 /* Assets.xcassets */; }; F27BA8171D63BBA100FB7864 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = F27BA8151D63BBA100FB7864 /* LaunchScreen.storyboard */; }; 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; }; F23681541DEF647900D523C5 /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; }; F23681551DEF647900D523C5 /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = ""; }; F23681581DEF647900D523C5 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; F236815A1DEF647900D523C5 /* ViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ViewController.h; sourceTree = ""; }; F236815B1DEF647900D523C5 /* ViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ViewController.m; sourceTree = ""; }; F236815D1DEF647900D523C5 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; F23681601DEF647900D523C5 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; F23681621DEF647900D523C5 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; F23681671DEF672800D523C5 /* TestClasses.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TestClasses.h; sourceTree = ""; }; F23681681DEF672800D523C5 /* TestClasses.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = TestClasses.m; sourceTree = ""; }; F23681691DEF672800D523C5 /* TestData.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TestData.h; sourceTree = ""; }; F236816A1DEF672800D523C5 /* TestData.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = TestData.m; sourceTree = ""; }; F246F5A01D91E32800BAC19F /* TestObjectiveDropbox_iOS.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = TestObjectiveDropbox_iOS.entitlements; sourceTree = ""; }; F27BA8041D63BBA100FB7864 /* TestObjectiveDropbox_iOS.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = TestObjectiveDropbox_iOS.app; sourceTree = BUILT_PRODUCTS_DIR; }; F27BA8081D63BBA100FB7864 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; F27BA80A1D63BBA100FB7864 /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; }; F27BA80B1D63BBA100FB7864 /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = ""; }; F27BA80D1D63BBA100FB7864 /* ViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ViewController.h; sourceTree = ""; }; F27BA80E1D63BBA100FB7864 /* ViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ViewController.m; sourceTree = ""; }; F27BA8111D63BBA100FB7864 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; F27BA8131D63BBA100FB7864 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; 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; files = ( CB3E70120855B4B1ABCFF719 /* Pods_TestObjectiveDropbox_macOS.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; F27BA8011D63BBA100FB7864 /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( 1BC94474BAF7A7BB8B521568 /* Pods_TestObjectiveDropbox_iOS.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ 017405FC24A1CAB655318F53 /* Frameworks */ = { isa = PBXGroup; 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 = ( 65F9D9B80A170147CA9887A7 /* Pods-TestObjectiveDropbox_iOS.debug.xcconfig */, 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 = ""; }; F23681531DEF647900D523C5 /* TestObjectiveDropbox_macOS */ = { isa = PBXGroup; children = ( F23681541DEF647900D523C5 /* AppDelegate.h */, F23681551DEF647900D523C5 /* AppDelegate.m */, F236815A1DEF647900D523C5 /* ViewController.h */, F236815B1DEF647900D523C5 /* ViewController.m */, F236815D1DEF647900D523C5 /* Assets.xcassets */, F236815F1DEF647900D523C5 /* Main.storyboard */, F23681621DEF647900D523C5 /* Info.plist */, F23681571DEF647900D523C5 /* Supporting Files */, ); path = TestObjectiveDropbox_macOS; sourceTree = ""; }; F23681571DEF647900D523C5 /* Supporting Files */ = { isa = PBXGroup; children = ( F23681581DEF647900D523C5 /* main.m */, ); name = "Supporting Files"; sourceTree = ""; }; F23681661DEF672800D523C5 /* IntegrationTests */ = { isa = PBXGroup; children = ( F23681671DEF672800D523C5 /* TestClasses.h */, F23681681DEF672800D523C5 /* TestClasses.m */, F23681691DEF672800D523C5 /* TestData.h */, F236816A1DEF672800D523C5 /* TestData.m */, F2A2CEBC1E567499001D8449 /* TestAppType.h */, ); path = IntegrationTests; sourceTree = ""; }; F27BA7FB1D63BBA100FB7864 = { isa = PBXGroup; children = ( F23681661DEF672800D523C5 /* IntegrationTests */, F27BA8061D63BBA100FB7864 /* TestObjectiveDropbox_iOS */, F23681531DEF647900D523C5 /* TestObjectiveDropbox_macOS */, 0C8AC9FC2600436100DE08FF /* TestObjectiveDropbox_iOSTests */, 0C1FE6512603031100D879BB /* TestObjectiveDropbox_macOSTests */, F27BA8051D63BBA100FB7864 /* Products */, 92BE4CA0BA790784BB41BE84 /* Pods */, 017405FC24A1CAB655318F53 /* Frameworks */, ); sourceTree = ""; }; F27BA8051D63BBA100FB7864 /* Products */ = { isa = PBXGroup; children = ( F27BA8041D63BBA100FB7864 /* TestObjectiveDropbox_iOS.app */, F23681521DEF647900D523C5 /* TestObjectiveDropbox_macOS.app */, 0C8AC9FB2600436100DE08FF /* TestObjectiveDropbox_iOSTests.xctest */, 0C1FE6502603031100D879BB /* TestObjectiveDropbox_macOSTests.xctest */, ); name = Products; sourceTree = ""; }; F27BA8061D63BBA100FB7864 /* TestObjectiveDropbox_iOS */ = { isa = PBXGroup; children = ( F246F5A01D91E32800BAC19F /* TestObjectiveDropbox_iOS.entitlements */, F27BA80A1D63BBA100FB7864 /* AppDelegate.h */, F27BA80B1D63BBA100FB7864 /* AppDelegate.m */, F27BA80D1D63BBA100FB7864 /* ViewController.h */, F27BA80E1D63BBA100FB7864 /* ViewController.m */, F27BA8101D63BBA100FB7864 /* Main.storyboard */, F27BA8131D63BBA100FB7864 /* Assets.xcassets */, F27BA8151D63BBA100FB7864 /* LaunchScreen.storyboard */, F27BA8181D63BBA100FB7864 /* Info.plist */, F27BA8071D63BBA100FB7864 /* Supporting Files */, ); path = TestObjectiveDropbox_iOS; sourceTree = ""; }; F27BA8071D63BBA100FB7864 /* Supporting Files */ = { isa = PBXGroup; children = ( F27BA8081D63BBA100FB7864 /* main.m */, ); name = "Supporting Files"; sourceTree = ""; }; /* 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" */; buildPhases = ( A869A6A9C6E78EBA3DB6CAA1 /* [CP] Check Pods Manifest.lock */, F236814E1DEF647900D523C5 /* Sources */, F236814F1DEF647900D523C5 /* Frameworks */, F23681501DEF647900D523C5 /* Resources */, 4AC4AA10EFC0A2DD5135EAEF /* [CP] Embed Pods Frameworks */, ); buildRules = ( ); dependencies = ( ); name = TestObjectiveDropbox_macOS; productName = TestObjectiveDropbox_macOS; productReference = F23681521DEF647900D523C5 /* TestObjectiveDropbox_macOS.app */; productType = "com.apple.product-type.application"; }; F27BA8031D63BBA100FB7864 /* TestObjectiveDropbox_iOS */ = { isa = PBXNativeTarget; buildConfigurationList = F27BA81B1D63BBA100FB7864 /* Build configuration list for PBXNativeTarget "TestObjectiveDropbox_iOS" */; buildPhases = ( 56C316FB7069A8BE25E87E41 /* [CP] Check Pods Manifest.lock */, F27BA8001D63BBA100FB7864 /* Sources */, F27BA8011D63BBA100FB7864 /* Frameworks */, F27BA8021D63BBA100FB7864 /* Resources */, 7A03DFCDE9686959E9D77EEE /* [CP] Embed Pods Frameworks */, ); buildRules = ( ); dependencies = ( ); name = TestObjectiveDropbox_iOS; productName = TestObjectiveDropbox_iOS; productReference = F27BA8041D63BBA100FB7864 /* TestObjectiveDropbox_iOS.app */; productType = "com.apple.product-type.application"; }; /* End PBXNativeTarget section */ /* Begin PBXProject section */ F27BA7FC1D63BBA100FB7864 /* Project object */ = { isa = PBXProject; attributes = { 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; }; F27BA8031D63BBA100FB7864 = { CreatedOnToolsVersion = 7.3.1; DevelopmentTeam = NX6T6UBSFF; ProvisioningStyle = Automatic; SystemCapabilities = { com.apple.Keychain = { enabled = 1; }; }; }; }; }; buildConfigurationList = F27BA7FF1D63BBA100FB7864 /* Build configuration list for PBXProject "TestObjectiveDropbox" */; compatibilityVersion = "Xcode 3.2"; developmentRegion = en; hasScannedForEncodings = 0; knownRegions = ( en, Base, ); mainGroup = F27BA7FB1D63BBA100FB7864; productRefGroup = F27BA8051D63BBA100FB7864 /* Products */; projectDirPath = ""; projectRoot = ""; 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; files = ( F236815E1DEF647900D523C5 /* Assets.xcassets in Resources */, F23681611DEF647900D523C5 /* Main.storyboard in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; F27BA8021D63BBA100FB7864 /* Resources */ = { isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( F27BA8171D63BBA100FB7864 /* LaunchScreen.storyboard in Resources */, F27BA8141D63BBA100FB7864 /* Assets.xcassets in Resources */, F27BA8121D63BBA100FB7864 /* Main.storyboard in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXResourcesBuildPhase section */ /* Begin PBXShellScriptBuildPhase section */ 4AC4AA10EFC0A2DD5135EAEF /* [CP] Embed Pods Frameworks */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( ); inputPaths = ( "${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"; outputPaths = ( "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/ObjectiveDropboxOfficial.framework", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-TestObjectiveDropbox_macOS/Pods-TestObjectiveDropbox_macOS-frameworks.sh\"\n"; showEnvVarsInLog = 0; }; 56C316FB7069A8BE25E87E41 /* [CP] Check Pods Manifest.lock */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( ); inputPaths = ( "${PODS_PODFILE_DIR_PATH}/Podfile.lock", "${PODS_ROOT}/Manifest.lock", ); name = "[CP] Check Pods Manifest.lock"; outputPaths = ( "$(DERIVED_FILE_DIR)/Pods-TestObjectiveDropbox_iOS-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; }; 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 = ( "${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"; outputPaths = ( "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/ObjectiveDropboxOfficial.framework", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-TestObjectiveDropbox_iOS/Pods-TestObjectiveDropbox_iOS-frameworks.sh\"\n"; showEnvVarsInLog = 0; }; 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] 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_iOS-TestObjectiveDropbox_iOSTests/Pods-TestObjectiveDropbox_iOS-TestObjectiveDropbox_iOSTests-frameworks.sh\"\n"; showEnvVarsInLog = 0; }; 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-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; }; A869A6A9C6E78EBA3DB6CAA1 /* [CP] Check Pods Manifest.lock */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( ); inputPaths = ( "${PODS_PODFILE_DIR_PATH}/Podfile.lock", "${PODS_ROOT}/Manifest.lock", ); name = "[CP] Check Pods Manifest.lock"; outputPaths = ( "$(DERIVED_FILE_DIR)/Pods-TestObjectiveDropbox_macOS-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; }; /* 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 */, 0C40FBF1260324C100D07F24 /* TestData.m in Sources */, F236816C1DEF672800D523C5 /* TestClasses.m in Sources */, F23681561DEF647900D523C5 /* AppDelegate.m in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; F27BA8001D63BBA100FB7864 /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( F29BFD911D66290500994345 /* ViewController.m in Sources */, F27BA80C1D63BBA100FB7864 /* AppDelegate.m in Sources */, 0C40FBEC260324C000D07F24 /* TestData.m in Sources */, F236816B1DEF672800D523C5 /* TestClasses.m in Sources */, F27BA8091D63BBA100FB7864 /* main.m in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; /* 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; children = ( F23681601DEF647900D523C5 /* Base */, ); name = Main.storyboard; sourceTree = ""; }; F27BA8101D63BBA100FB7864 /* Main.storyboard */ = { isa = PBXVariantGroup; children = ( F27BA8111D63BBA100FB7864 /* Base */, ); name = Main.storyboard; sourceTree = ""; }; F27BA8151D63BBA100FB7864 /* LaunchScreen.storyboard */ = { isa = PBXVariantGroup; children = ( F27BA8161D63BBA100FB7864 /* Base */, ); name = LaunchScreen.storyboard; sourceTree = ""; }; /* 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 */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_WARN_DOCUMENTATION_COMMENTS = YES; CLANG_WARN_SUSPICIOUS_MOVES = YES; CODE_SIGN_IDENTITY = "-"; COMBINE_HIDPI_IMAGES = YES; INFOPLIST_FILE = TestObjectiveDropbox_macOS/Info.plist; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks"; MACOSX_DEPLOYMENT_TARGET = 10.13; PRODUCT_BUNDLE_IDENTIFIER = "com.dropbox.TestObjectiveDropbox-macOS-Test"; PRODUCT_NAME = "$(TARGET_NAME)"; SDKROOT = macosx; }; name = Debug; }; F23681641DEF647900D523C5 /* Release */ = { isa = XCBuildConfiguration; baseConfigurationReference = 6874E63CE61C80116147AFB0 /* Pods-TestObjectiveDropbox_macOS.release.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_WARN_DOCUMENTATION_COMMENTS = YES; CLANG_WARN_SUSPICIOUS_MOVES = YES; CODE_SIGN_IDENTITY = "-"; COMBINE_HIDPI_IMAGES = YES; INFOPLIST_FILE = TestObjectiveDropbox_macOS/Info.plist; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks"; MACOSX_DEPLOYMENT_TARGET = 10.13; PRODUCT_BUNDLE_IDENTIFIER = "com.dropbox.TestObjectiveDropbox-macOS-Test"; PRODUCT_NAME = "$(TARGET_NAME)"; SDKROOT = macosx; }; name = Release; }; F27BA8191D63BBA100FB7864 /* Debug */ = { 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; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; COPY_PHASE_STRIP = NO; DEBUG_INFORMATION_FORMAT = dwarf; ENABLE_STRICT_OBJC_MSGSEND = YES; ENABLE_TESTABILITY = YES; GCC_C_LANGUAGE_STANDARD = gnu99; GCC_DYNAMIC_NO_PIC = NO; GCC_NO_COMMON_BLOCKS = YES; GCC_OPTIMIZATION_LEVEL = 0; GCC_PREPROCESSOR_DEFINITIONS = ( "DEBUG=1", "$(inherited)", ); GCC_WARN_64_TO_32_BIT_CONVERSION = YES; GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; GCC_WARN_UNDECLARED_SELECTOR = YES; GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; IPHONEOS_DEPLOYMENT_TARGET = 11.0; MTL_ENABLE_DEBUG_INFO = YES; ONLY_ACTIVE_ARCH = YES; SDKROOT = iphoneos; TARGETED_DEVICE_FAMILY = "1,2"; }; name = Debug; }; F27BA81A1D63BBA100FB7864 /* Release */ = { 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; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; COPY_PHASE_STRIP = NO; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; ENABLE_NS_ASSERTIONS = NO; ENABLE_STRICT_OBJC_MSGSEND = YES; GCC_C_LANGUAGE_STANDARD = gnu99; GCC_NO_COMMON_BLOCKS = YES; GCC_WARN_64_TO_32_BIT_CONVERSION = YES; GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; GCC_WARN_UNDECLARED_SELECTOR = YES; GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; IPHONEOS_DEPLOYMENT_TARGET = 11.0; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = iphoneos; TARGETED_DEVICE_FAMILY = "1,2"; VALIDATE_PRODUCT = YES; }; name = Release; }; F27BA81C1D63BBA100FB7864 /* Debug */ = { isa = XCBuildConfiguration; baseConfigurationReference = 65F9D9B80A170147CA9887A7 /* Pods-TestObjectiveDropbox_iOS.debug.xcconfig */; buildSettings = { APPLICATION_EXTENSION_API_ONLY = NO; ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_WARN_DOCUMENTATION_COMMENTS = YES; CODE_SIGN_ENTITLEMENTS = TestObjectiveDropbox_iOS/TestObjectiveDropbox_iOS.entitlements; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; DEVELOPMENT_TEAM = NX6T6UBSFF; INFOPLIST_FILE = TestObjectiveDropbox_iOS/Info.plist; 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)"; }; name = Debug; }; F27BA81D1D63BBA100FB7864 /* Release */ = { isa = XCBuildConfiguration; baseConfigurationReference = E9403DCD149530530F654EE7 /* Pods-TestObjectiveDropbox_iOS.release.xcconfig */; buildSettings = { APPLICATION_EXTENSION_API_ONLY = NO; ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_WARN_DOCUMENTATION_COMMENTS = YES; CODE_SIGN_ENTITLEMENTS = TestObjectiveDropbox_iOS/TestObjectiveDropbox_iOS.entitlements; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; DEVELOPMENT_TEAM = NX6T6UBSFF; INFOPLIST_FILE = TestObjectiveDropbox_iOS/Info.plist; 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)"; }; name = Release; }; /* 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 = ( F23681631DEF647900D523C5 /* Debug */, F23681641DEF647900D523C5 /* Release */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; F27BA7FF1D63BBA100FB7864 /* Build configuration list for PBXProject "TestObjectiveDropbox" */ = { isa = XCConfigurationList; buildConfigurations = ( F27BA8191D63BBA100FB7864 /* Debug */, F27BA81A1D63BBA100FB7864 /* Release */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; F27BA81B1D63BBA100FB7864 /* Build configuration list for PBXNativeTarget "TestObjectiveDropbox_iOS" */ = { isa = XCConfigurationList; buildConfigurations = ( F27BA81C1D63BBA100FB7864 /* Debug */, F27BA81D1D63BBA100FB7864 /* Release */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; /* End XCConfigurationList section */ }; rootObject = F27BA7FC1D63BBA100FB7864 /* Project object */; } ================================================ FILE: TestObjectiveDropbox/TestObjectiveDropbox.xcodeproj/xcshareddata/xcschemes/TestObjectiveDropbox_iOS.xcscheme ================================================ ================================================ FILE: TestObjectiveDropbox/TestObjectiveDropbox.xcodeproj/xcshareddata/xcschemes/TestObjectiveDropbox_macOS.xcscheme ================================================ ================================================ FILE: TestObjectiveDropbox/TestObjectiveDropbox_iOS/AppDelegate.h ================================================ // // AppDelegate.h // TestObjectiveDropbox_iOS // // Copyright © 2016 Dropbox. All rights reserved. // #import @interface AppDelegate : UIResponder @property(strong, nonatomic) UIWindow *window; @end ================================================ FILE: TestObjectiveDropbox/TestObjectiveDropbox_iOS/AppDelegate.m ================================================ // // AppDelegate.m // TestObjectiveDropbox_iOS // // Copyright © 2016 Dropbox. All rights reserved. // #import #import "AppDelegate.h" #import "TestAppType.h" #import "TestData.h" #import "ViewController.h" @interface AppDelegate () @end @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:@"<"]) { NSLog(@"\n\n\nMust set test data (in TestData.h) before launching app.\n\n\nTerminating.....\n\n"); exit(0); } NSUserDefaults *Defaults = [NSUserDefaults standardUserDefaults]; NSString *migrationOccuredLookupKey = [NSString stringWithFormat: @"KeychainV1TokenMigration-%@", data.fullDropboxAppKey]; [Defaults setObject:@"YES" forKey:migrationOccuredLookupKey]; [DBClientsManager checkAndPerformV1TokenMigration:^(BOOL shouldRetry, BOOL invalidAppKeyOrSecret, NSArray *> *unsuccessfullyMigratedTokenData) { NSLog(@"Migration completed."); NSLog(shouldRetry ? @"ShouldRetry: Yes" : @"ShouldRetry: No"); NSLog(invalidAppKeyOrSecret ? @"InvalidAppKeyOrSecret: Yes" : @"InvalidAppKeyOrSecret: No"); } queue:nil appKey:data.fullDropboxAppKey appSecret:data.fullDropboxAppSecret]; DBTransportDefaultConfig *transportConfigFullDropbox = [[DBTransportDefaultConfig alloc] initWithAppKey:data.fullDropboxAppKey appSecret:data.fullDropboxAppSecret userAgent:nil asMemberId:nil delegateQueue:[NSOperationQueue new] forceForegroundSession:NO sharedContainerIdentifier:[NSBundle mainBundle].bundleIdentifier]; void (^networkGlobalResponseBlock)(DBRequestError *, DBTask *) = ^(DBRequestError *networkError, DBTask *restartTask) { if ([networkError isAuthError] || [networkError isBadInputError]) { NSLog(@"Unexpected error. Logging out..."); [DBClientsManager unlinkAndResetClients]; ViewController *mainController = (ViewController *)self.window.rootViewController; [mainController checkButtons]; } }; // only one response block total to handle all network errors [DBGlobalErrorResponseHandler registerNetworkErrorResponseBlock:networkGlobalResponseBlock]; switch (appPermission) { case FullDropboxScoped: [DBClientsManager setupWithTransportConfig:transportConfigFullDropbox]; break; case FullDropboxScopedForTeamTesting: [DBClientsManager setupWithTeamTransportConfig:transportConfigFullDropbox]; break; } return YES; } - (BOOL)application:(UIApplication *)app openURL:(NSURL *)url options:(NSDictionary *)options { BOOL urlHandled = NO; if ([[url absoluteString] containsString:@"openWith"]) { NSLog(@"Successfully retrieved openWith url"); NSMutableDictionary *urlData = [[NSMutableDictionary alloc] init]; NSArray *pairs = [[url absoluteString] componentsSeparatedByString:@"&"] ?: @[]; for (NSString *pair in pairs) { NSArray *kv = [pair componentsSeparatedByString:@"="]; 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 options:@{} completionHandler:nil]; }]; DBOpenWithInfo *openWithInfo = [connector openWithInfoFromURL:url]; [((ViewController *)self.window.rootViewController) setOpenWithInfoNSURL:openWithInfo]; urlHandled = YES; } else { urlHandled = [self db_handleAuthUrl:url]; } return urlHandled; } - (void)applicationWillResignActive:(UIApplication *)application { // Sent when the application is about to move from active to inactive state. This can occur for certain types of // temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and // it begins the transition to the background state. // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use // this method to pause the game. } - (void)applicationDidEnterBackground:(UIApplication *)application { // Use this method to release shared resources, save user data, invalidate timers, and store enough application state // information to restore your application to its current state in case it is terminated later. // If your application supports background execution, this method is called instead of applicationWillTerminate: when // the user quits. } - (void)applicationWillEnterForeground:(UIApplication *)application { // Called as part of the transition from the background to the inactive state; here you can undo many of the changes // made on entering the background. } - (void)applicationDidBecomeActive:(UIApplication *)application { // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was // previously in the background, optionally refresh the user interface. } - (void)applicationWillTerminate:(UIApplication *)application { // Called when the application is about to terminate. Save data if appropriate. See also // 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 ================================================ FILE: TestObjectiveDropbox/TestObjectiveDropbox_iOS/Assets.xcassets/AppIcon.appiconset/Contents.json ================================================ { "images" : [ { "idiom" : "iphone", "scale" : "2x", "size" : "20x20" }, { "idiom" : "iphone", "scale" : "3x", "size" : "20x20" }, { "idiom" : "iphone", "scale" : "2x", "size" : "29x29" }, { "idiom" : "iphone", "scale" : "3x", "size" : "29x29" }, { "idiom" : "iphone", "scale" : "2x", "size" : "40x40" }, { "idiom" : "iphone", "scale" : "3x", "size" : "40x40" }, { "idiom" : "iphone", "scale" : "2x", "size" : "60x60" }, { "idiom" : "iphone", "scale" : "3x", "size" : "60x60" }, { "idiom" : "ipad", "scale" : "1x", "size" : "20x20" }, { "idiom" : "ipad", "scale" : "2x", "size" : "20x20" }, { "idiom" : "ipad", "scale" : "1x", "size" : "29x29" }, { "idiom" : "ipad", "scale" : "2x", "size" : "29x29" }, { "idiom" : "ipad", "scale" : "1x", "size" : "40x40" }, { "idiom" : "ipad", "scale" : "2x", "size" : "40x40" }, { "idiom" : "ipad", "scale" : "1x", "size" : "76x76" }, { "idiom" : "ipad", "scale" : "2x", "size" : "76x76" }, { "idiom" : "ipad", "scale" : "2x", "size" : "83.5x83.5" }, { "idiom" : "ios-marketing", "scale" : "1x", "size" : "1024x1024" } ], "info" : { "author" : "xcode", "version" : 1 } } ================================================ FILE: TestObjectiveDropbox/TestObjectiveDropbox_iOS/Base.lproj/LaunchScreen.storyboard ================================================ ================================================ FILE: TestObjectiveDropbox/TestObjectiveDropbox_iOS/Base.lproj/Main.storyboard ================================================ ================================================ FILE: TestObjectiveDropbox/TestObjectiveDropbox_iOS/Info.plist ================================================ CFBundleDevelopmentRegion en CFBundleExecutable $(EXECUTABLE_NAME) CFBundleIdentifier $(PRODUCT_BUNDLE_IDENTIFIER) CFBundleInfoDictionaryVersion 6.0 CFBundleName $(PRODUCT_NAME) CFBundlePackageType APPL CFBundleShortVersionString 1.0 CFBundleSignature ???? CFBundleURLTypes CFBundleURLName CFBundleURLSchemes db-<APP_KEY> db-<APP_KEY> db-<APP_KEY> CFBundleVersion 1 LSApplicationQueriesSchemes dbapi-8-emm dbapi-2 LSRequiresIPhoneOS UILaunchStoryboardName LaunchScreen UIMainStoryboardFile Main UIRequiredDeviceCapabilities armv7 UISupportedInterfaceOrientations UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight UISupportedInterfaceOrientations~ipad UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight ================================================ FILE: TestObjectiveDropbox/TestObjectiveDropbox_iOS/TestObjectiveDropbox_iOS.entitlements ================================================ keychain-access-groups $(AppIdentifierPrefix)com.dropbox.TestObjectiveDropbox-iOS ================================================ FILE: TestObjectiveDropbox/TestObjectiveDropbox_iOS/ViewController.h ================================================ // // ViewController.h // TestObjectiveDropbox_iOS // // Copyright © 2016 Dropbox. All rights reserved. // #import @class DBOpenWithInfo; @interface ViewController : UIViewController - (void)checkButtons; - (void)setOpenWithInfoNSURL:(DBOpenWithInfo * _Nonnull)openWithInfoNSURL; @end ================================================ FILE: TestObjectiveDropbox/TestObjectiveDropbox_iOS/ViewController.m ================================================ // // ViewController.m // TestObjectiveDropbox_iOS // // Copyright © 2016 Dropbox. All rights reserved. // #import #import "TestAppType.h" #import "TestClasses.h" #import "TestData.h" #import "ViewController.h" /// OpenWith data static DBOpenWithInfo *s_openWithInfoNSURL = nil; @interface ViewController () @property (weak, nonatomic) IBOutlet UIButton *codeFlowlinkButton; @property (weak, nonatomic) IBOutlet UIButton *runTestsButton; @property (weak, nonatomic) IBOutlet UIButton *unlinkButton; @property (weak, nonatomic) IBOutlet UIButton *openWithButton; @property (weak, nonatomic) IBOutlet UIButton *runBatchUploadTestsButton; @property (weak, nonatomic) IBOutlet UIButton *runGlobalResponseTestsButton; @end @implementation ViewController - (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)(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]; } - (IBAction)runGlobalResponseTestsButtonPressed:(id)sender { 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 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]; } - (void)setOpenWithInfoNSURL:(DBOpenWithInfo *)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"); BOOL authorizedTeam = [DBClientsManager authorizedTeamClient].isAuthorized; NSLog(@"%s", authorizedTeam ? "team client authorized" : "team client not authorized"); } - (void)viewDidAppear:(BOOL)animated { [super viewDidAppear:animated]; [self checkButtons]; } - (void)didReceiveMemoryWarning { [super didReceiveMemoryWarning]; // Dispose of any resources that can be recreated. } - (void)checkButtons { 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; } } /** 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 setupWithAppKey]` (or `[DBClientsManager setupWithTeamAppKey]`) and supply the appropriate app key value, in AppDelegate.m. 3.) Depending on which app you are currently testing, you will need to toggle the `appPermission` variable in AppDelegate.h to the appropriate value. 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 */ @end ================================================ FILE: TestObjectiveDropbox/TestObjectiveDropbox_iOS/main.m ================================================ // // main.m // TestObjectiveDropbox_iOS // // Copyright © 2016 Dropbox. All rights reserved. // #import "AppDelegate.h" #import int main(int argc, char *argv[]) { @autoreleasepool { return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); } } ================================================ FILE: TestObjectiveDropbox/TestObjectiveDropbox_iOSTests/FileRoutesTests.m ================================================ #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 ================================================ FILE: TestObjectiveDropbox/TestObjectiveDropbox_iOSTests/Info.plist ================================================ 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 ================================================ FILE: TestObjectiveDropbox/TestObjectiveDropbox_iOSTests/TeamRoutesTests.m ================================================ #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 ================================================ FILE: TestObjectiveDropbox/TestObjectiveDropbox_iOSTests/TestAsciiEncoding.m ================================================ #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 ================================================ FILE: TestObjectiveDropbox/TestObjectiveDropbox_iOSTests/TestAuthTokenGenerator.h ================================================ @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 ================================================ FILE: TestObjectiveDropbox/TestObjectiveDropbox_iOSTests/TestAuthTokenGenerator.m ================================================ #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 ================================================ FILE: TestObjectiveDropbox/TestObjectiveDropbox_macOS/AppDelegate.h ================================================ // // AppDelegate.h // TestObjectiveDropbox_macOS // // Copyright © 2016 Dropbox. All rights reserved. // #import @interface AppDelegate : NSObject @end ================================================ FILE: TestObjectiveDropbox/TestObjectiveDropbox_macOS/AppDelegate.m ================================================ // // AppDelegate.m // TestObjectiveDropbox_macOS // // Copyright © 2016 Dropbox. All rights reserved. // #import #import "AppDelegate.h" #import "TestAppType.h" #import "TestData.h" #import "ViewController.h" @interface AppDelegate () @end static ViewController *viewController = nil; @implementation AppDelegate - (void)applicationDidFinishLaunching:(NSNotification *)aNotification { if([[NSProcessInfo processInfo] environment][@"XCTestConfigurationFilePath"] != nil) { // running unit tests return; } TestData *data = [TestData new]; if ([data.fullDropboxAppSecret containsString:@"<"]) { NSLog(@"\n\n\nMust set test data (in TestData.h) before launching app.\n\n\nTerminating.....\n\n"); exit(0); } NSUserDefaults *Defaults = [NSUserDefaults standardUserDefaults]; NSString *migrationOccuredLookupKey = [NSString stringWithFormat: @"KeychainV1TokenMigration-%@", data.fullDropboxAppKey]; [Defaults setObject:@"YES" forKey:migrationOccuredLookupKey]; [DBClientsManager checkAndPerformV1TokenMigration:^(BOOL shouldRetry, BOOL invalidAppKeyOrSecret, NSArray *> *unsuccessfullyMigratedTokenData) { NSLog(@"Migration completed."); NSLog(shouldRetry ? @"ShouldRetry: Yes" : @"ShouldRetry: No"); NSLog(invalidAppKeyOrSecret ? @"InvalidAppKeyOrSecret: Yes" : @"InvalidAppKeyOrSecret: No"); } queue:nil appKey:data.fullDropboxAppKey appSecret:data.fullDropboxAppSecret]; DBTransportDefaultConfig *transportConfigFullDropbox = [[DBTransportDefaultConfig alloc] initWithAppKey:data.fullDropboxAppKey appSecret:data.fullDropboxAppSecret]; switch (appPermission) { case FullDropboxScoped: [DBClientsManager setupWithTransportConfigDesktop:transportConfigFullDropbox]; break; case FullDropboxScopedForTeamTesting: [DBClientsManager setupWithTeamTransportConfigDesktop:transportConfigFullDropbox]; break; } viewController = (ViewController *)[[[NSApplication sharedApplication] windows] objectAtIndex:0].contentViewController; [self checkButtons]; } - (void)applicationWillFinishLaunching:(NSNotification *)notification { [[NSAppleEventManager sharedAppleEventManager] setEventHandler:self andSelector:@selector(handleAppleEvent:withReplyEvent:) forEventClass:kInternetEventClass andEventID:kAEGetURL]; } - (void)applicationWillTerminate:(NSNotification *)aNotification { // Insert code here to tear down your application } - (void)handleAppleEvent:(NSAppleEventDescriptor *)event withReplyEvent:(NSAppleEventDescriptor *)replyEvent { NSURL *url = [NSURL URLWithString:[[event paramDescriptorForKeyword:keyDirectObject] stringValue]]; 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); } } [self checkButtons]; }; switch (appPermission) { case FullDropboxScoped: { [DBClientsManager handleRedirectURL:url completion:oauthCompletion]; break; } case FullDropboxScopedForTeamTesting: { [DBClientsManager handleRedirectURLTeam:url completion:oauthCompletion]; break; } } [[NSRunningApplication currentApplication] activateWithOptions:(NSApplicationActivateAllWindows | NSApplicationActivateIgnoringOtherApps)]; } - (void)checkButtons { if (viewController) { [viewController checkButtons]; } } @end ================================================ FILE: TestObjectiveDropbox/TestObjectiveDropbox_macOS/Assets.xcassets/AppIcon.appiconset/Contents.json ================================================ { "images" : [ { "idiom" : "mac", "size" : "16x16", "scale" : "1x" }, { "idiom" : "mac", "size" : "16x16", "scale" : "2x" }, { "idiom" : "mac", "size" : "32x32", "scale" : "1x" }, { "idiom" : "mac", "size" : "32x32", "scale" : "2x" }, { "idiom" : "mac", "size" : "128x128", "scale" : "1x" }, { "idiom" : "mac", "size" : "128x128", "scale" : "2x" }, { "idiom" : "mac", "size" : "256x256", "scale" : "1x" }, { "idiom" : "mac", "size" : "256x256", "scale" : "2x" }, { "idiom" : "mac", "size" : "512x512", "scale" : "1x" }, { "idiom" : "mac", "size" : "512x512", "scale" : "2x" } ], "info" : { "version" : 1, "author" : "xcode" } } ================================================ FILE: TestObjectiveDropbox/TestObjectiveDropbox_macOS/Base.lproj/Main.storyboard ================================================ Default Left to Right Right to Left Default Left to Right Right to Left ================================================ FILE: TestObjectiveDropbox/TestObjectiveDropbox_macOS/Info.plist ================================================ CFBundleDevelopmentRegion en CFBundleExecutable $(EXECUTABLE_NAME) CFBundleIconFile CFBundleIdentifier $(PRODUCT_BUNDLE_IDENTIFIER) CFBundleInfoDictionaryVersion 6.0 CFBundleName $(PRODUCT_NAME) CFBundlePackageType APPL CFBundleShortVersionString 1.0 CFBundleURLTypes CFBundleURLName CFBundleURLSchemes db-<APP_KEY> db-<APP_KEY> db-<APP_KEY> CFBundleVersion 1 LSApplicationQueriesSchemes dbapi-8-emm dbapi-2 LSMinimumSystemVersion $(MACOSX_DEPLOYMENT_TARGET) NSHumanReadableCopyright Copyright © 2016 Dropbox. All rights reserved. NSMainStoryboardFile Main NSPrincipalClass NSApplication ================================================ FILE: TestObjectiveDropbox/TestObjectiveDropbox_macOS/ViewController.h ================================================ // // ViewController.h // TestObjectiveDropbox_macOS // // Copyright © 2016 Dropbox. All rights reserved. // #import @interface ViewController : NSViewController - (void)checkButtons; @end ================================================ FILE: TestObjectiveDropbox/TestObjectiveDropbox_macOS/ViewController.m ================================================ // // ViewController.m // TestObjectiveDropbox_macOS // // Copyright © 2016 Dropbox. All rights reserved. // #import #import "TestAppType.h" #import "TestClasses.h" #import "TestData.h" #import "ViewController.h" @interface ViewController () @property(weak) IBOutlet NSButton *tokenFlowlinkButton; @property(weak) IBOutlet NSButton *codeFlowlinkButton; @property(weak) IBOutlet NSButton *runTestsButton; @property(weak) IBOutlet NSButton *unlinkButton; @end @implementation ViewController - (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)(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]; } - (void)viewDidLoad { [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. } - (void)checkButtons { 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 supply the appropriate app key value, in AppDelegate.m. 3.) Depending on which app you are currently testing, you will need to toggle the `appPermission` variable in AppDelegate.h to the appropriate value. 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 */ @end ================================================ FILE: TestObjectiveDropbox/TestObjectiveDropbox_macOS/main.m ================================================ // // main.m // TestObjectiveDropbox_macOS // // Copyright © 2016 Dropbox. All rights reserved. // #import int main(int argc, const char *argv[]) { return NSApplicationMain(argc, argv); } ================================================ FILE: TestObjectiveDropbox/TestObjectiveDropbox_macOSTests/Info.plist ================================================ 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 ================================================ FILE: generate_base_client.py ================================================ #!/usr/bin/env python from __future__ import absolute_import, division, print_function, unicode_literals import argparse import glob import json 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. """ _cmdline_parser = argparse.ArgumentParser(description=cmdline_desc) _cmdline_parser.add_argument( '-v', '--verbose', action='store_true', help='Print debugging statements.', ) _cmdline_parser.add_argument( 'spec', nargs='*', type=str, help='Path to API specifications. Each must have a .stone extension.', ) _cmdline_parser.add_argument( '-s', '--stone', type=str, help='Path to clone of stone repository.', ) _cmdline_parser.add_argument( '-d', '--documentation', action='store_false', help='Sets whether documentation config file should be generated.', default=True, ) _cmdline_parser.add_argument( '-o', '--output-path', type=str, help='Path to generation output.', ) _cmdline_parser.add_argument( '-f', '--format-output-path', 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.""" args = _cmdline_parser.parse_args() verbose = args.verbose if args.spec: specs = args.spec else: # If no specs were specified, default to the spec submodule. specs = glob.glob('spec/*.stone') # Arbitrary sorting specs.sort() specs = [os.path.join(os.getcwd(), s) for s in specs] stone_path = os.path.abspath('stone') if args.stone: stone_path = args.stone dropbox_src_path = os.path.abspath('Source') 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 = 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 if not args.format_output_path: shutil.rmtree(dropbox_default_output_path) os.makedirs(dropbox_default_output_path) if verbose: print('Dropbox package path: %s' % dropbox_pkg_path) if verbose: print('Generating Obj-C types') 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 += ['--'] if args.documentation: types_cmd += ['-d'] if args.exclude_from_analysis: types_cmd += ['-e'] o = subprocess.check_output( (types_cmd), cwd=stone_path) if o: print('Output:', o) client_args = _get_client_args() style_to_request = _get_style_to_request() if verbose: print('Generating Obj-C user and team clients') o = subprocess.check_output( (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( (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( (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) if o: print('Output:', o) if verbose: print('Formatting source files') cmd = ['./format_files.sh', dropbox_format_output_path] o = subprocess.check_output(cmd, cwd=dropbox_format_script_path) if o: print('Output:', o) def _get_client_args(): input_doc = "The file to upload, as an {} object." dest_doc = ('The file url of the desired download output location.') overwrite_doc = ('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.') download_range_start_doc = ('For partial file download. Download file beginning from this starting byte' + ' position. Must include valid end range value.') download_range_end_doc = ('For partial file download. Download file up until this ending byte position.' + ' Must include valid start range value.') client_args = { 'upload': [ ('upload', ['Url', [('inputUrl', 'inputUrl', 'NSString *', input_doc.format('NSString *')), ], ]), ('upload', ['Data', [('inputData', 'inputData', 'NSData *', input_doc.format('NSData *')), ], ]), ('upload', ['Stream', [('inputStream', 'inputStream', 'NSInputStream *', input_doc.format('NSInputStream *')), ], ]), ], 'download': [ ('download_url', ['Url', [('overwrite', 'overwrite', 'BOOL', overwrite_doc), ('destination', 'destination', 'NSURL *', dest_doc), ], ]), ('download_url', ['Url', [('overwrite', 'overwrite', 'BOOL', overwrite_doc), ('destination', 'destination', 'NSURL *', dest_doc), ('byteOffsetStart', 'byteOffsetStart', 'NSNumber *', download_range_start_doc), ('byteOffsetEnd', 'byteOffsetEnd', 'NSNumber *', download_range_end_doc)], ]), ('download_data', ['Data', []]), ('download_data', ['Data', [('byteOffsetStart', 'byteOffsetStart', 'NSNumber *', download_range_start_doc), ('byteOffsetEnd', 'byteOffsetEnd', 'NSNumber *', download_range_end_doc)]]), ], } return json.dumps(client_args) def _get_style_to_request(): style_to_request = { 'rpc': 'DBRpcTask', 'upload': 'DBUploadTask', 'download_url': 'DBDownloadUrlTask', 'download_data': 'DBDownloadDataTask', } return json.dumps(style_to_request) if __name__ == '__main__': main() ================================================ FILE: update_repo_check.sh ================================================ #!/bin/sh # Release checklist # # 0. Check on DBApp, Chime, Paper. Run analyzer. # 1. Make sure test data is reset # 2. Run generator # 3. Check test project, run unit tests # 4. Check pod spec lint # 5. Increment version with script # 6. Update Carthage example project # 7. Push to CocoaPods # cat TestObjectiveDropbox/IntegrationTests/TestData.m # python generate_base_client.py # pod spec lint ================================================ FILE: update_version.sh ================================================ #!/bin/sh # Script for updating ObjectiveDropboxOfficial version number echo if [ "$#" -ne 1 ]; then echo "Requires 1 parameter. Usage: \`./update_version \`" exit 1 fi arg_version_regex="^[0-9]+\.[0-9]+\.[0-9]+$" version_regex="[0-9]+\.[0-9]+\.[0-9]+" podspec=./ObjectiveDropboxOfficial.podspec readme=./README.md user_agent=Source/ObjectiveDropboxOfficial/Shared/Handwritten/Resources/DBSDKConstants.m ios_version=Source/ObjectiveDropboxOfficial/Platform/ObjectiveDropboxOfficial_iOS/Info.plist mac_version=Source/ObjectiveDropboxOfficial/Platform/ObjectiveDropboxOfficial_macOS/Info.plist if ! [[ $1 =~ $arg_version_regex ]]; then echo "\"$1\" version string must have format x.x.x" exit 1 else echo "Updating SDK text to version \"$1\"" fi echo echo echo "Replacing podspec version number..." sed -i '' -E "s/s.version = '$version_regex'/s.version = '$1'/" $podspec echo '--------------------' cat $podspec | grep $1 echo '--------------------' echo echo "Replacing README version number..." sed -i '' -E "s/~> $version_regex/~> $1/" $readme echo '--------------------' cat $readme | grep $1 echo '--------------------' echo echo "Replacing User Agent version number..." sed -i '' -E "s/kDBSDKVersion = @\"$version_regex\";/kDBSDKVersion = @\"$1\";/" $user_agent echo '--------------------' cat $user_agent | grep $1 echo '--------------------' echo echo "Replacing iOS xcodeproj version number..." sed -i '' -E "s/$version_regex/$1/" $ios_version echo '--------------------' cat $ios_version | grep $1 echo '--------------------' echo echo "Replacing macOS xcodeproj version number..." sed -i '' -E "s/$version_regex/$1/" $mac_version echo '--------------------' cat $mac_version | grep $1 echo '--------------------' echo echo echo "Committing changes and tagging commit." git commit -am "$1 release." git tag "$1" echo echo "Changes ready for review and push" echo