diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Account/DBAccountObjects.m b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Account/DBAccountObjects.m index 66ad78b2c..0be59d7ac 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Account/DBAccountObjects.m +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Account/DBAccountObjects.m @@ -154,7 +154,7 @@ @implementation DBACCOUNTPhotoSourceArgSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBACCOUNTPhotoSourceArg *)deserialize:(NSDictionary *)valueDict { @@ -261,7 +261,7 @@ @implementation DBACCOUNTSetProfilePhotoArgSerializer jsonDict[@"photo"] = [DBACCOUNTPhotoSourceArgSerializer serialize:valueObj.photo]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBACCOUNTSetProfilePhotoArg *)deserialize:(NSDictionary *)valueDict { @@ -492,7 +492,7 @@ @implementation DBACCOUNTSetProfilePhotoErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBACCOUNTSetProfilePhotoError *)deserialize:(NSDictionary *)valueDict { @@ -605,7 +605,7 @@ @implementation DBACCOUNTSetProfilePhotoResultSerializer jsonDict[@"profile_photo_url"] = valueObj.profilePhotoUrl; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBACCOUNTSetProfilePhotoResult *)deserialize:(NSDictionary *)valueDict { diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Async/DBAsyncObjects.m b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Async/DBAsyncObjects.m index cc839f0d8..b964f93cc 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Async/DBAsyncObjects.m +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Async/DBAsyncObjects.m @@ -135,7 +135,7 @@ @implementation DBASYNCLaunchResultBaseSerializer userInfo:nil]); } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBASYNCLaunchResultBase *)deserialize:(NSDictionary *)valueDict { @@ -305,7 +305,7 @@ @implementation DBASYNCLaunchEmptyResultSerializer userInfo:nil]); } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBASYNCLaunchEmptyResult *)deserialize:(NSDictionary *)valueDict { @@ -414,7 +414,7 @@ @implementation DBASYNCPollArgSerializer jsonDict[@"async_job_id"] = valueObj.asyncJobId; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBASYNCPollArg *)deserialize:(NSDictionary *)valueDict { @@ -542,7 +542,7 @@ @implementation DBASYNCPollResultBaseSerializer userInfo:nil]); } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBASYNCPollResultBase *)deserialize:(NSDictionary *)valueDict { @@ -699,7 +699,7 @@ @implementation DBASYNCPollEmptyResultSerializer userInfo:nil]); } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBASYNCPollEmptyResult *)deserialize:(NSDictionary *)valueDict { @@ -876,7 +876,7 @@ @implementation DBASYNCPollErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBASYNCPollError *)deserialize:(NSDictionary *)valueDict { diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Auth/DBAuthObjects.m b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Auth/DBAuthObjects.m index 47ada5cee..c18f4c5c4 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Auth/DBAuthObjects.m +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Auth/DBAuthObjects.m @@ -190,7 +190,7 @@ @implementation DBAUTHAccessErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBAUTHAccessError *)deserialize:(NSDictionary *)valueDict { @@ -488,7 +488,7 @@ @implementation DBAUTHAuthErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBAUTHAuthError *)deserialize:(NSDictionary *)valueDict { @@ -675,7 +675,7 @@ @implementation DBAUTHInvalidAccountTypeErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBAUTHInvalidAccountTypeError *)deserialize:(NSDictionary *)valueDict { @@ -851,7 +851,7 @@ @implementation DBAUTHPaperAccessErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBAUTHPaperAccessError *)deserialize:(NSDictionary *)valueDict { @@ -969,7 +969,7 @@ @implementation DBAUTHRateLimitErrorSerializer jsonDict[@"reason"] = [DBAUTHRateLimitReasonSerializer serialize:valueObj.reason]; jsonDict[@"retry_after"] = valueObj.retryAfter; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBAUTHRateLimitError *)deserialize:(NSDictionary *)valueDict { @@ -1138,7 +1138,7 @@ @implementation DBAUTHRateLimitReasonSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBAUTHRateLimitReason *)deserialize:(NSDictionary *)valueDict { @@ -1253,7 +1253,7 @@ @implementation DBAUTHTokenFromOAuth1ArgSerializer jsonDict[@"oauth1_token"] = valueObj.oauth1Token; jsonDict[@"oauth1_token_secret"] = valueObj.oauth1TokenSecret; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBAUTHTokenFromOAuth1Arg *)deserialize:(NSDictionary *)valueDict { @@ -1422,7 +1422,7 @@ @implementation DBAUTHTokenFromOAuth1ErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBAUTHTokenFromOAuth1Error *)deserialize:(NSDictionary *)valueDict { @@ -1529,7 +1529,7 @@ @implementation DBAUTHTokenFromOAuth1ResultSerializer jsonDict[@"oauth2_token"] = valueObj.oauth2Token; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBAUTHTokenFromOAuth1Result *)deserialize:(NSDictionary *)valueDict { @@ -1628,7 +1628,7 @@ @implementation DBAUTHTokenScopeErrorSerializer jsonDict[@"required_scope"] = valueObj.requiredScope; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBAUTHTokenScopeError *)deserialize:(NSDictionary *)valueDict { diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Check/DBCheckObjects.m b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Check/DBCheckObjects.m index 4b8e1e95a..b5948e5b7 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Check/DBCheckObjects.m +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Check/DBCheckObjects.m @@ -97,7 +97,7 @@ @implementation DBCHECKEchoArgSerializer jsonDict[@"query"] = valueObj.query; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBCHECKEchoArg *)deserialize:(NSDictionary *)valueDict { @@ -199,7 +199,7 @@ @implementation DBCHECKEchoResultSerializer jsonDict[@"result"] = valueObj.result; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBCHECKEchoResult *)deserialize:(NSDictionary *)valueDict { diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Common/DBCommonObjects.m b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Common/DBCommonObjects.m index 5c1afa408..34475de86 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Common/DBCommonObjects.m +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Common/DBCommonObjects.m @@ -207,7 +207,7 @@ @implementation DBCOMMONPathRootSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBCOMMONPathRoot *)deserialize:(NSDictionary *)valueDict { @@ -400,7 +400,7 @@ @implementation DBCOMMONPathRootErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBCOMMONPathRootError *)deserialize:(NSDictionary *)valueDict { @@ -533,7 +533,7 @@ @implementation DBCOMMONRootInfoSerializer jsonDict[@".tag"] = @"user"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBCOMMONRootInfo *)deserialize:(NSDictionary *)valueDict { @@ -657,7 +657,7 @@ @implementation DBCOMMONTeamRootInfoSerializer jsonDict[@"home_namespace_id"] = valueObj.homeNamespaceId; jsonDict[@"home_path"] = valueObj.homePath; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBCOMMONTeamRootInfo *)deserialize:(NSDictionary *)valueDict { @@ -768,7 +768,7 @@ @implementation DBCOMMONUserRootInfoSerializer jsonDict[@"root_namespace_id"] = valueObj.rootNamespaceId; jsonDict[@"home_namespace_id"] = valueObj.homeNamespaceId; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBCOMMONUserRootInfo *)deserialize:(NSDictionary *)valueDict { diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Contacts/DBContactsObjects.m b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Contacts/DBContactsObjects.m index 2f14df8ba..115e20da5 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Contacts/DBContactsObjects.m +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Contacts/DBContactsObjects.m @@ -107,7 +107,7 @@ @implementation DBCONTACTSDeleteManualContactsArgSerializer return elem0; }]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBCONTACTSDeleteManualContactsArg *)deserialize:(NSDictionary *)valueDict { @@ -273,7 +273,7 @@ @implementation DBCONTACTSDeleteManualContactsErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBCONTACTSDeleteManualContactsError *)deserialize:(NSDictionary *)valueDict { diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/DBFilePropertiesObjects.m b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/DBFilePropertiesObjects.m index bf7fdf6db..7ba3ea6a8 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/DBFilePropertiesObjects.m +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/DBFilePropertiesObjects.m @@ -112,7 +112,7 @@ @implementation DBFILEPROPERTIESAddPropertiesArgSerializer return [DBFILEPROPERTIESPropertyGroupSerializer serialize:elem0]; }]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILEPROPERTIESAddPropertiesArg *)deserialize:(NSDictionary *)valueDict { @@ -298,7 +298,7 @@ @implementation DBFILEPROPERTIESTemplateErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILEPROPERTIESTemplateError *)deserialize:(NSDictionary *)valueDict { @@ -543,7 +543,7 @@ @implementation DBFILEPROPERTIESPropertiesErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILEPROPERTIESPropertiesError *)deserialize:(NSDictionary *)valueDict { @@ -857,7 +857,7 @@ @implementation DBFILEPROPERTIESInvalidPropertyGroupErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILEPROPERTIESInvalidPropertyGroupError *)deserialize:(NSDictionary *)valueDict { @@ -1197,7 +1197,7 @@ @implementation DBFILEPROPERTIESAddPropertiesErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILEPROPERTIESAddPropertiesError *)deserialize:(NSDictionary *)valueDict { @@ -1341,7 +1341,7 @@ @implementation DBFILEPROPERTIESPropertyGroupTemplateSerializer return [DBFILEPROPERTIESPropertyFieldTemplateSerializer serialize:elem0]; }]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILEPROPERTIESPropertyGroupTemplate *)deserialize:(NSDictionary *)valueDict { @@ -1467,7 +1467,7 @@ @implementation DBFILEPROPERTIESAddTemplateArgSerializer return [DBFILEPROPERTIESPropertyFieldTemplateSerializer serialize:elem0]; }]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILEPROPERTIESAddTemplateArg *)deserialize:(NSDictionary *)valueDict { @@ -1573,7 +1573,7 @@ @implementation DBFILEPROPERTIESAddTemplateResultSerializer jsonDict[@"template_id"] = valueObj.templateId; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILEPROPERTIESAddTemplateResult *)deserialize:(NSDictionary *)valueDict { @@ -1673,7 +1673,7 @@ @implementation DBFILEPROPERTIESGetTemplateArgSerializer jsonDict[@"template_id"] = valueObj.templateId; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILEPROPERTIESGetTemplateArg *)deserialize:(NSDictionary *)valueDict { @@ -1793,7 +1793,7 @@ @implementation DBFILEPROPERTIESGetTemplateResultSerializer return [DBFILEPROPERTIESPropertyFieldTemplateSerializer serialize:elem0]; }]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILEPROPERTIESGetTemplateResult *)deserialize:(NSDictionary *)valueDict { @@ -1909,7 +1909,7 @@ @implementation DBFILEPROPERTIESListTemplateResultSerializer return elem0; }]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILEPROPERTIESListTemplateResult *)deserialize:(NSDictionary *)valueDict { @@ -2059,7 +2059,7 @@ @implementation DBFILEPROPERTIESLogicalOperatorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILEPROPERTIESLogicalOperator *)deserialize:(NSDictionary *)valueDict { @@ -2212,7 +2212,7 @@ @implementation DBFILEPROPERTIESLookUpPropertiesErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILEPROPERTIESLookUpPropertiesError *)deserialize:(NSDictionary *)valueDict { @@ -2461,7 +2461,7 @@ @implementation DBFILEPROPERTIESLookupErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILEPROPERTIESLookupError *)deserialize:(NSDictionary *)valueDict { @@ -2742,7 +2742,7 @@ @implementation DBFILEPROPERTIESModifyTemplateErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILEPROPERTIESModifyTemplateError *)deserialize:(NSDictionary *)valueDict { @@ -2876,7 +2876,7 @@ @implementation DBFILEPROPERTIESOverwritePropertyGroupArgSerializer return [DBFILEPROPERTIESPropertyGroupSerializer serialize:elem0]; }]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILEPROPERTIESOverwritePropertyGroupArg *)deserialize:(NSDictionary *)valueDict { @@ -2999,7 +2999,7 @@ @implementation DBFILEPROPERTIESPropertiesSearchArgSerializer }]; jsonDict[@"template_filter"] = [DBFILEPROPERTIESTemplateFilterSerializer serialize:valueObj.templateFilter]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILEPROPERTIESPropertiesSearchArg *)deserialize:(NSDictionary *)valueDict { @@ -3107,7 +3107,7 @@ @implementation DBFILEPROPERTIESPropertiesSearchContinueArgSerializer jsonDict[@"cursor"] = valueObj.cursor; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILEPROPERTIESPropertiesSearchContinueArg *)deserialize:(NSDictionary *)valueDict { @@ -3255,7 +3255,7 @@ @implementation DBFILEPROPERTIESPropertiesSearchContinueErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILEPROPERTIESPropertiesSearchContinueError *)deserialize:(NSDictionary *)valueDict { @@ -3423,7 +3423,7 @@ @implementation DBFILEPROPERTIESPropertiesSearchErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILEPROPERTIESPropertiesSearchError *)deserialize:(NSDictionary *)valueDict { @@ -3561,7 +3561,7 @@ @implementation DBFILEPROPERTIESPropertiesSearchMatchSerializer return [DBFILEPROPERTIESPropertyGroupSerializer serialize:elem0]; }]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILEPROPERTIESPropertiesSearchMatch *)deserialize:(NSDictionary *)valueDict { @@ -3731,7 +3731,7 @@ @implementation DBFILEPROPERTIESPropertiesSearchModeSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILEPROPERTIESPropertiesSearchMode *)deserialize:(NSDictionary *)valueDict { @@ -3858,7 +3858,7 @@ @implementation DBFILEPROPERTIESPropertiesSearchQuerySerializer jsonDict[@"mode"] = [DBFILEPROPERTIESPropertiesSearchModeSerializer serialize:valueObj.mode]; jsonDict[@"logical_operator"] = [DBFILEPROPERTIESLogicalOperatorSerializer serialize:valueObj.logicalOperator]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILEPROPERTIESPropertiesSearchQuery *)deserialize:(NSDictionary *)valueDict { @@ -3987,7 +3987,7 @@ @implementation DBFILEPROPERTIESPropertiesSearchResultSerializer jsonDict[@"cursor"] = valueObj.cursor; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILEPROPERTIESPropertiesSearchResult *)deserialize:(NSDictionary *)valueDict { @@ -4098,7 +4098,7 @@ @implementation DBFILEPROPERTIESPropertyFieldSerializer jsonDict[@"name"] = valueObj.name; jsonDict[@"value"] = valueObj.value; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILEPROPERTIESPropertyField *)deserialize:(NSDictionary *)valueDict { @@ -4215,7 +4215,7 @@ @implementation DBFILEPROPERTIESPropertyFieldTemplateSerializer jsonDict[@"description"] = valueObj.description_; jsonDict[@"type"] = [DBFILEPROPERTIESPropertyTypeSerializer serialize:valueObj.type]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILEPROPERTIESPropertyFieldTemplate *)deserialize:(NSDictionary *)valueDict { @@ -4331,7 +4331,7 @@ @implementation DBFILEPROPERTIESPropertyGroupSerializer return [DBFILEPROPERTIESPropertyFieldSerializer serialize:elem0]; }]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILEPROPERTIESPropertyGroup *)deserialize:(NSDictionary *)valueDict { @@ -4482,7 +4482,7 @@ @implementation DBFILEPROPERTIESPropertyGroupUpdateSerializer }]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILEPROPERTIESPropertyGroupUpdate *)deserialize:(NSDictionary *)valueDict { @@ -4644,7 +4644,7 @@ @implementation DBFILEPROPERTIESPropertyTypeSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILEPROPERTIESPropertyType *)deserialize:(NSDictionary *)valueDict { @@ -4770,7 +4770,7 @@ @implementation DBFILEPROPERTIESRemovePropertiesArgSerializer return elem0; }]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILEPROPERTIESRemovePropertiesArg *)deserialize:(NSDictionary *)valueDict { @@ -5045,7 +5045,7 @@ @implementation DBFILEPROPERTIESRemovePropertiesErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILEPROPERTIESRemovePropertiesError *)deserialize:(NSDictionary *)valueDict { @@ -5163,7 +5163,7 @@ @implementation DBFILEPROPERTIESRemoveTemplateArgSerializer jsonDict[@"template_id"] = valueObj.templateId; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILEPROPERTIESRemoveTemplateArg *)deserialize:(NSDictionary *)valueDict { @@ -5326,7 +5326,7 @@ @implementation DBFILEPROPERTIESTemplateFilterBaseSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILEPROPERTIESTemplateFilterBase *)deserialize:(NSDictionary *)valueDict { @@ -5520,7 +5520,7 @@ @implementation DBFILEPROPERTIESTemplateFilterSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILEPROPERTIESTemplateFilter *)deserialize:(NSDictionary *)valueDict { @@ -5700,7 +5700,7 @@ @implementation DBFILEPROPERTIESTemplateOwnerTypeSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILEPROPERTIESTemplateOwnerType *)deserialize:(NSDictionary *)valueDict { @@ -5826,7 +5826,7 @@ @implementation DBFILEPROPERTIESUpdatePropertiesArgSerializer return [DBFILEPROPERTIESPropertyGroupUpdateSerializer serialize:elem0]; }]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILEPROPERTIESUpdatePropertiesArg *)deserialize:(NSDictionary *)valueDict { @@ -6165,7 +6165,7 @@ @implementation DBFILEPROPERTIESUpdatePropertiesErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILEPROPERTIESUpdatePropertiesError *)deserialize:(NSDictionary *)valueDict { @@ -6341,7 +6341,7 @@ @implementation DBFILEPROPERTIESUpdateTemplateArgSerializer }]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILEPROPERTIESUpdateTemplateArg *)deserialize:(NSDictionary *)valueDict { @@ -6453,7 +6453,7 @@ @implementation DBFILEPROPERTIESUpdateTemplateResultSerializer jsonDict[@"template_id"] = valueObj.templateId; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILEPROPERTIESUpdateTemplateResult *)deserialize:(NSDictionary *)valueDict { diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileRequests/DBFileRequestsObjects.m b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileRequests/DBFileRequestsObjects.m index 8f4593d3d..85e83ac3d 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileRequests/DBFileRequestsObjects.m +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileRequests/DBFileRequestsObjects.m @@ -142,7 +142,7 @@ @implementation DBFILEREQUESTSGeneralFileRequestsErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILEREQUESTSGeneralFileRequestsError *)deserialize:(NSDictionary *)valueDict { @@ -296,7 +296,7 @@ @implementation DBFILEREQUESTSCountFileRequestsErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILEREQUESTSCountFileRequestsError *)deserialize:(NSDictionary *)valueDict { @@ -401,7 +401,7 @@ @implementation DBFILEREQUESTSCountFileRequestsResultSerializer jsonDict[@"file_request_count"] = valueObj.fileRequestCount; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILEREQUESTSCountFileRequestsResult *)deserialize:(NSDictionary *)valueDict { @@ -547,7 +547,7 @@ @implementation DBFILEREQUESTSCreateFileRequestArgsSerializer jsonDict[@"description"] = valueObj.description_; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILEREQUESTSCreateFileRequestArgs *)deserialize:(NSDictionary *)valueDict { @@ -830,7 +830,7 @@ @implementation DBFILEREQUESTSFileRequestErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILEREQUESTSFileRequestError *)deserialize:(NSDictionary *)valueDict { @@ -1164,7 +1164,7 @@ @implementation DBFILEREQUESTSCreateFileRequestErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILEREQUESTSCreateFileRequestError *)deserialize:(NSDictionary *)valueDict { @@ -1461,7 +1461,7 @@ @implementation DBFILEREQUESTSDeleteAllClosedFileRequestsErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILEREQUESTSDeleteAllClosedFileRequestsError *)deserialize:(NSDictionary *)valueDict { @@ -1586,7 +1586,7 @@ @implementation DBFILEREQUESTSDeleteAllClosedFileRequestsResultSerializer return [DBFILEREQUESTSFileRequestSerializer serialize:elem0]; }]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILEREQUESTSDeleteAllClosedFileRequestsResult *)deserialize:(NSDictionary *)valueDict { @@ -1700,7 +1700,7 @@ @implementation DBFILEREQUESTSDeleteFileRequestArgsSerializer return elem0; }]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILEREQUESTSDeleteFileRequestArgs *)deserialize:(NSDictionary *)valueDict { @@ -1998,7 +1998,7 @@ @implementation DBFILEREQUESTSDeleteFileRequestErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILEREQUESTSDeleteFileRequestError *)deserialize:(NSDictionary *)valueDict { @@ -2124,7 +2124,7 @@ @implementation DBFILEREQUESTSDeleteFileRequestsResultSerializer return [DBFILEREQUESTSFileRequestSerializer serialize:elem0]; }]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILEREQUESTSDeleteFileRequestsResult *)deserialize:(NSDictionary *)valueDict { @@ -2327,7 +2327,7 @@ @implementation DBFILEREQUESTSFileRequestSerializer jsonDict[@"description"] = valueObj.description_; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILEREQUESTSFileRequest *)deserialize:(NSDictionary *)valueDict { @@ -2460,7 +2460,7 @@ @implementation DBFILEREQUESTSFileRequestDeadlineSerializer jsonDict[@"allow_late_uploads"] = [DBFILEREQUESTSGracePeriodSerializer serialize:valueObj.allowLateUploads]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILEREQUESTSFileRequestDeadline *)deserialize:(NSDictionary *)valueDict { @@ -2564,7 +2564,7 @@ @implementation DBFILEREQUESTSGetFileRequestArgsSerializer jsonDict[@"id"] = valueObj.id_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILEREQUESTSGetFileRequestArgs *)deserialize:(NSDictionary *)valueDict { @@ -2838,7 +2838,7 @@ @implementation DBFILEREQUESTSGetFileRequestErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILEREQUESTSGetFileRequestError *)deserialize:(NSDictionary *)valueDict { @@ -3087,7 +3087,7 @@ @implementation DBFILEREQUESTSGracePeriodSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILEREQUESTSGracePeriod *)deserialize:(NSDictionary *)valueDict { @@ -3203,7 +3203,7 @@ @implementation DBFILEREQUESTSListFileRequestsArgSerializer jsonDict[@"limit"] = valueObj.limit; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILEREQUESTSListFileRequestsArg *)deserialize:(NSDictionary *)valueDict { @@ -3302,7 +3302,7 @@ @implementation DBFILEREQUESTSListFileRequestsContinueArgSerializer jsonDict[@"cursor"] = valueObj.cursor; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILEREQUESTSListFileRequestsContinueArg *)deserialize:(NSDictionary *)valueDict { @@ -3472,7 +3472,7 @@ @implementation DBFILEREQUESTSListFileRequestsContinueErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILEREQUESTSListFileRequestsContinueError *)deserialize:(NSDictionary *)valueDict { @@ -3628,7 +3628,7 @@ @implementation DBFILEREQUESTSListFileRequestsErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILEREQUESTSListFileRequestsError *)deserialize:(NSDictionary *)valueDict { @@ -3740,7 +3740,7 @@ @implementation DBFILEREQUESTSListFileRequestsResultSerializer return [DBFILEREQUESTSFileRequestSerializer serialize:elem0]; }]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILEREQUESTSListFileRequestsResult *)deserialize:(NSDictionary *)valueDict { @@ -3866,7 +3866,7 @@ @implementation DBFILEREQUESTSListFileRequestsV2ResultSerializer jsonDict[@"cursor"] = valueObj.cursor; jsonDict[@"has_more"] = valueObj.hasMore; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILEREQUESTSListFileRequestsV2Result *)deserialize:(NSDictionary *)valueDict { @@ -4040,7 +4040,7 @@ @implementation DBFILEREQUESTSUpdateFileRequestArgsSerializer jsonDict[@"description"] = valueObj.description_; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILEREQUESTSUpdateFileRequestArgs *)deserialize:(NSDictionary *)valueDict { @@ -4240,7 +4240,7 @@ @implementation DBFILEREQUESTSUpdateFileRequestDeadlineSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILEREQUESTSUpdateFileRequestDeadline *)deserialize:(NSDictionary *)valueDict { @@ -4524,7 +4524,7 @@ @implementation DBFILEREQUESTSUpdateFileRequestErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILEREQUESTSUpdateFileRequestError *)deserialize:(NSDictionary *)valueDict { diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/DBFilesObjects.m b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/DBFilesObjects.m index ac779babb..b20773460 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/DBFilesObjects.m +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/DBFilesObjects.m @@ -103,7 +103,7 @@ @implementation DBFILESAddTagArgSerializer jsonDict[@"path"] = valueObj.path; jsonDict[@"tag_text"] = valueObj.tagText; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESAddTagArg *)deserialize:(NSDictionary *)valueDict { @@ -264,7 +264,7 @@ @implementation DBFILESBaseTagErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESBaseTagError *)deserialize:(NSDictionary *)valueDict { @@ -453,7 +453,7 @@ @implementation DBFILESAddTagErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESAddTagError *)deserialize:(NSDictionary *)valueDict { @@ -609,7 +609,7 @@ @implementation DBFILESGetMetadataArgSerializer [DBFILEPROPERTIESTemplateFilterBaseSerializer serialize:valueObj.includePropertyGroups]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESGetMetadataArg *)deserialize:(NSDictionary *)valueDict { @@ -793,7 +793,7 @@ @implementation DBFILESAlphaGetMetadataArgSerializer }]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESAlphaGetMetadataArg *)deserialize:(NSDictionary *)valueDict { @@ -952,7 +952,7 @@ @implementation DBFILESGetMetadataErrorSerializer userInfo:nil]); } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESGetMetadataError *)deserialize:(NSDictionary *)valueDict { @@ -1137,7 +1137,7 @@ @implementation DBFILESAlphaGetMetadataErrorSerializer userInfo:nil]); } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESAlphaGetMetadataError *)deserialize:(NSDictionary *)valueDict { @@ -1326,7 +1326,7 @@ @implementation DBFILESCommitInfoSerializer } jsonDict[@"strict_conflict"] = valueObj.strictConflict; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESCommitInfo *)deserialize:(NSDictionary *)valueDict { @@ -1454,7 +1454,7 @@ @implementation DBFILESContentSyncSettingSerializer jsonDict[@"id"] = valueObj.id_; jsonDict[@"sync_setting"] = [DBFILESSyncSettingSerializer serialize:valueObj.syncSetting]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESContentSyncSetting *)deserialize:(NSDictionary *)valueDict { @@ -1562,7 +1562,7 @@ @implementation DBFILESContentSyncSettingArgSerializer jsonDict[@"id"] = valueObj.id_; jsonDict[@"sync_setting"] = [DBFILESSyncSettingArgSerializer serialize:valueObj.syncSetting]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESContentSyncSettingArg *)deserialize:(NSDictionary *)valueDict { @@ -1674,7 +1674,7 @@ @implementation DBFILESCreateFolderArgSerializer jsonDict[@"path"] = valueObj.path; jsonDict[@"autorename"] = valueObj.autorename; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESCreateFolderArg *)deserialize:(NSDictionary *)valueDict { @@ -1804,7 +1804,7 @@ @implementation DBFILESCreateFolderBatchArgSerializer jsonDict[@"autorename"] = valueObj.autorename; jsonDict[@"force_async"] = valueObj.forceAsync; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESCreateFolderBatchArg *)deserialize:(NSDictionary *)valueDict { @@ -1956,7 +1956,7 @@ @implementation DBFILESCreateFolderBatchErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESCreateFolderBatchError *)deserialize:(NSDictionary *)valueDict { @@ -2177,7 +2177,7 @@ @implementation DBFILESCreateFolderBatchJobStatusSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESCreateFolderBatchJobStatus *)deserialize:(NSDictionary *)valueDict { @@ -2382,7 +2382,7 @@ @implementation DBFILESCreateFolderBatchLaunchSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESCreateFolderBatchLaunch *)deserialize:(NSDictionary *)valueDict { @@ -2483,7 +2483,7 @@ @implementation DBFILESFileOpsResultSerializer #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESFileOpsResult *)deserialize:(NSDictionary *)valueDict { @@ -2590,7 +2590,7 @@ @implementation DBFILESCreateFolderBatchResultSerializer return [DBFILESCreateFolderBatchResultEntrySerializer serialize:elem0]; }]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESCreateFolderBatchResult *)deserialize:(NSDictionary *)valueDict { @@ -2770,7 +2770,7 @@ @implementation DBFILESCreateFolderBatchResultEntrySerializer userInfo:nil]); } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESCreateFolderBatchResultEntry *)deserialize:(NSDictionary *)valueDict { @@ -2942,7 +2942,7 @@ @implementation DBFILESCreateFolderEntryErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESCreateFolderEntryError *)deserialize:(NSDictionary *)valueDict { @@ -3049,7 +3049,7 @@ @implementation DBFILESCreateFolderEntryResultSerializer jsonDict[@"metadata"] = [DBFILESFolderMetadataSerializer serialize:valueObj.metadata]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESCreateFolderEntryResult *)deserialize:(NSDictionary *)valueDict { @@ -3190,7 +3190,7 @@ @implementation DBFILESCreateFolderErrorSerializer userInfo:nil]); } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESCreateFolderError *)deserialize:(NSDictionary *)valueDict { @@ -3299,7 +3299,7 @@ @implementation DBFILESCreateFolderResultSerializer jsonDict[@"metadata"] = [DBFILESFolderMetadataSerializer serialize:valueObj.metadata]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESCreateFolderResult *)deserialize:(NSDictionary *)valueDict { @@ -3419,7 +3419,7 @@ @implementation DBFILESDeleteArgSerializer jsonDict[@"parent_rev"] = valueObj.parentRev; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESDeleteArg *)deserialize:(NSDictionary *)valueDict { @@ -3526,7 +3526,7 @@ @implementation DBFILESDeleteBatchArgSerializer return [DBFILESDeleteArgSerializer serialize:elem0]; }]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESDeleteBatchArg *)deserialize:(NSDictionary *)valueDict { @@ -3676,7 +3676,7 @@ @implementation DBFILESDeleteBatchErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESDeleteBatchError *)deserialize:(NSDictionary *)valueDict { @@ -3897,7 +3897,7 @@ @implementation DBFILESDeleteBatchJobStatusSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESDeleteBatchJobStatus *)deserialize:(NSDictionary *)valueDict { @@ -4102,7 +4102,7 @@ @implementation DBFILESDeleteBatchLaunchSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESDeleteBatchLaunch *)deserialize:(NSDictionary *)valueDict { @@ -4219,7 +4219,7 @@ @implementation DBFILESDeleteBatchResultSerializer return [DBFILESDeleteBatchResultEntrySerializer serialize:elem0]; }]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESDeleteBatchResult *)deserialize:(NSDictionary *)valueDict { @@ -4323,7 +4323,7 @@ @implementation DBFILESDeleteBatchResultDataSerializer jsonDict[@"metadata"] = [DBFILESMetadataSerializer serialize:valueObj.metadata]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESDeleteBatchResultData *)deserialize:(NSDictionary *)valueDict { @@ -4497,7 +4497,7 @@ @implementation DBFILESDeleteBatchResultEntrySerializer userInfo:nil]); } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESDeleteBatchResultEntry *)deserialize:(NSDictionary *)valueDict { @@ -4743,7 +4743,7 @@ @implementation DBFILESDeleteErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESDeleteError *)deserialize:(NSDictionary *)valueDict { @@ -4858,7 +4858,7 @@ @implementation DBFILESDeleteResultSerializer jsonDict[@"metadata"] = [DBFILESMetadataSerializer serialize:valueObj.metadata]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESDeleteResult *)deserialize:(NSDictionary *)valueDict { @@ -5039,7 +5039,7 @@ @implementation DBFILESMetadataSerializer jsonDict[@".tag"] = @"deleted"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESMetadata *)deserialize:(NSDictionary *)valueDict { @@ -5208,7 +5208,7 @@ @implementation DBFILESDeletedMetadataSerializer jsonDict[@"preview_url"] = valueObj.previewUrl; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESDeletedMetadata *)deserialize:(NSDictionary *)valueDict { @@ -5322,7 +5322,7 @@ @implementation DBFILESDimensionsSerializer jsonDict[@"height"] = valueObj.height; jsonDict[@"width"] = valueObj.width; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESDimensions *)deserialize:(NSDictionary *)valueDict { @@ -5444,7 +5444,7 @@ @implementation DBFILESDownloadArgSerializer jsonDict[@"rev"] = valueObj.rev; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESDownloadArg *)deserialize:(NSDictionary *)valueDict { @@ -5626,7 +5626,7 @@ @implementation DBFILESDownloadErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESDownloadError *)deserialize:(NSDictionary *)valueDict { @@ -5738,7 +5738,7 @@ @implementation DBFILESDownloadZipArgSerializer jsonDict[@"path"] = valueObj.path; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESDownloadZipArg *)deserialize:(NSDictionary *)valueDict { @@ -5940,7 +5940,7 @@ @implementation DBFILESDownloadZipErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESDownloadZipError *)deserialize:(NSDictionary *)valueDict { @@ -6051,7 +6051,7 @@ @implementation DBFILESDownloadZipResultSerializer jsonDict[@"metadata"] = [DBFILESFolderMetadataSerializer serialize:valueObj.metadata]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESDownloadZipResult *)deserialize:(NSDictionary *)valueDict { @@ -6170,7 +6170,7 @@ @implementation DBFILESExportArgSerializer jsonDict[@"export_format"] = valueObj.exportFormat; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESExportArg *)deserialize:(NSDictionary *)valueDict { @@ -6394,7 +6394,7 @@ @implementation DBFILESExportErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESExportError *)deserialize:(NSDictionary *)valueDict { @@ -6534,7 +6534,7 @@ @implementation DBFILESExportInfoSerializer }]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESExportInfo *)deserialize:(NSDictionary *)valueDict { @@ -6679,7 +6679,7 @@ @implementation DBFILESExportMetadataSerializer jsonDict[@"paper_revision"] = valueObj.paperRevision; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESExportMetadata *)deserialize:(NSDictionary *)valueDict { @@ -6791,7 +6791,7 @@ @implementation DBFILESExportResultSerializer jsonDict[@"export_metadata"] = [DBFILESExportMetadataSerializer serialize:valueObj.exportMetadata]; jsonDict[@"file_metadata"] = [DBFILESFileMetadataSerializer serialize:valueObj.fileMetadata]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESExportResult *)deserialize:(NSDictionary *)valueDict { @@ -7128,7 +7128,7 @@ @implementation DBFILESFileCategorySerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESFileCategory *)deserialize:(NSDictionary *)valueDict { @@ -7252,7 +7252,7 @@ @implementation DBFILESFileLockSerializer jsonDict[@"content"] = [DBFILESFileLockContentSerializer serialize:valueObj.content]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESFileLock *)deserialize:(NSDictionary *)valueDict { @@ -7433,7 +7433,7 @@ @implementation DBFILESFileLockContentSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESFileLockContent *)deserialize:(NSDictionary *)valueDict { @@ -7591,7 +7591,7 @@ @implementation DBFILESFileLockMetadataSerializer jsonDict[@"created"] = [DBNSDateSerializer serialize:valueObj.created dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESFileLockMetadata *)deserialize:(NSDictionary *)valueDict { @@ -7949,7 +7949,7 @@ @implementation DBFILESFileMetadataSerializer jsonDict[@"file_lock_info"] = [DBFILESFileLockMetadataSerializer serialize:valueObj.fileLockInfo]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESFileMetadata *)deserialize:(NSDictionary *)valueDict { @@ -8097,7 +8097,7 @@ @implementation DBFILESSharingInfoSerializer jsonDict[@"read_only"] = valueObj.readOnly; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESSharingInfo *)deserialize:(NSDictionary *)valueDict { @@ -8224,7 +8224,7 @@ @implementation DBFILESFileSharingInfoSerializer jsonDict[@"modified_by"] = valueObj.modifiedBy; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESFileSharingInfo *)deserialize:(NSDictionary *)valueDict { @@ -8396,7 +8396,7 @@ @implementation DBFILESFileStatusSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESFileStatus *)deserialize:(NSDictionary *)valueDict { @@ -8629,7 +8629,7 @@ @implementation DBFILESFolderMetadataSerializer }]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESFolderMetadata *)deserialize:(NSDictionary *)valueDict { @@ -8800,7 +8800,7 @@ @implementation DBFILESFolderSharingInfoSerializer jsonDict[@"traverse_only"] = valueObj.traverseOnly; jsonDict[@"no_access"] = valueObj.noAccess; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESFolderSharingInfo *)deserialize:(NSDictionary *)valueDict { @@ -8911,7 +8911,7 @@ @implementation DBFILESGetCopyReferenceArgSerializer jsonDict[@"path"] = valueObj.path; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESGetCopyReferenceArg *)deserialize:(NSDictionary *)valueDict { @@ -9071,7 +9071,7 @@ @implementation DBFILESGetCopyReferenceErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESGetCopyReferenceError *)deserialize:(NSDictionary *)valueDict { @@ -9194,7 +9194,7 @@ @implementation DBFILESGetCopyReferenceResultSerializer jsonDict[@"copy_reference"] = valueObj.dCopyReference; jsonDict[@"expires"] = [DBNSDateSerializer serialize:valueObj.expires dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESGetCopyReferenceResult *)deserialize:(NSDictionary *)valueDict { @@ -9307,7 +9307,7 @@ @implementation DBFILESGetTagsArgSerializer return elem0; }]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESGetTagsArg *)deserialize:(NSDictionary *)valueDict { @@ -9416,7 +9416,7 @@ @implementation DBFILESGetTagsResultSerializer return [DBFILESPathToTagsSerializer serialize:elem0]; }]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESGetTagsResult *)deserialize:(NSDictionary *)valueDict { @@ -9523,7 +9523,7 @@ @implementation DBFILESGetTemporaryLinkArgSerializer jsonDict[@"path"] = valueObj.path; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESGetTemporaryLinkArg *)deserialize:(NSDictionary *)valueDict { @@ -9746,7 +9746,7 @@ @implementation DBFILESGetTemporaryLinkErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESGetTemporaryLinkError *)deserialize:(NSDictionary *)valueDict { @@ -9866,7 +9866,7 @@ @implementation DBFILESGetTemporaryLinkResultSerializer jsonDict[@"metadata"] = [DBFILESFileMetadataSerializer serialize:valueObj.metadata]; jsonDict[@"link"] = valueObj.link; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESGetTemporaryLinkResult *)deserialize:(NSDictionary *)valueDict { @@ -9977,7 +9977,7 @@ @implementation DBFILESGetTemporaryUploadLinkArgSerializer jsonDict[@"commit_info"] = [DBFILESCommitInfoSerializer serialize:valueObj.commitInfo]; jsonDict[@"duration"] = valueObj.duration; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESGetTemporaryUploadLinkArg *)deserialize:(NSDictionary *)valueDict { @@ -10077,7 +10077,7 @@ @implementation DBFILESGetTemporaryUploadLinkResultSerializer jsonDict[@"link"] = valueObj.link; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESGetTemporaryUploadLinkResult *)deserialize:(NSDictionary *)valueDict { @@ -10183,7 +10183,7 @@ @implementation DBFILESGetThumbnailBatchArgSerializer return [DBFILESThumbnailArgSerializer serialize:elem0]; }]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESGetThumbnailBatchArg *)deserialize:(NSDictionary *)valueDict { @@ -10334,7 +10334,7 @@ @implementation DBFILESGetThumbnailBatchErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESGetThumbnailBatchError *)deserialize:(NSDictionary *)valueDict { @@ -10446,7 +10446,7 @@ @implementation DBFILESGetThumbnailBatchResultSerializer return [DBFILESGetThumbnailBatchResultEntrySerializer serialize:elem0]; }]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESGetThumbnailBatchResult *)deserialize:(NSDictionary *)valueDict { @@ -10557,7 +10557,7 @@ @implementation DBFILESGetThumbnailBatchResultDataSerializer jsonDict[@"metadata"] = [DBFILESFileMetadataSerializer serialize:valueObj.metadata]; jsonDict[@"thumbnail"] = valueObj.thumbnail; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESGetThumbnailBatchResultData *)deserialize:(NSDictionary *)valueDict { @@ -10753,7 +10753,7 @@ @implementation DBFILESGetThumbnailBatchResultEntrySerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESGetThumbnailBatchResultEntry *)deserialize:(NSDictionary *)valueDict { @@ -10869,7 +10869,7 @@ @implementation DBFILESGpsCoordinatesSerializer jsonDict[@"latitude"] = valueObj.latitude; jsonDict[@"longitude"] = valueObj.longitude; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESGpsCoordinates *)deserialize:(NSDictionary *)valueDict { @@ -10976,7 +10976,7 @@ @implementation DBFILESHighlightSpanSerializer jsonDict[@"highlight_str"] = valueObj.highlightStr; jsonDict[@"is_highlighted"] = valueObj.isHighlighted; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESHighlightSpan *)deserialize:(NSDictionary *)valueDict { @@ -11166,7 +11166,7 @@ @implementation DBFILESImportFormatSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESImportFormat *)deserialize:(NSDictionary *)valueDict { @@ -11376,7 +11376,7 @@ @implementation DBFILESListFolderArgSerializer } jsonDict[@"include_non_downloadable_files"] = valueObj.includeNonDownloadableFiles; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESListFolderArg *)deserialize:(NSDictionary *)valueDict { @@ -11497,7 +11497,7 @@ @implementation DBFILESListFolderContinueArgSerializer jsonDict[@"cursor"] = valueObj.cursor; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESListFolderContinueArg *)deserialize:(NSDictionary *)valueDict { @@ -11678,7 +11678,7 @@ @implementation DBFILESListFolderContinueErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESListFolderContinueError *)deserialize:(NSDictionary *)valueDict { @@ -11881,7 +11881,7 @@ @implementation DBFILESListFolderErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESListFolderError *)deserialize:(NSDictionary *)valueDict { @@ -11992,7 +11992,7 @@ @implementation DBFILESListFolderGetLatestCursorResultSerializer jsonDict[@"cursor"] = valueObj.cursor; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESListFolderGetLatestCursorResult *)deserialize:(NSDictionary *)valueDict { @@ -12101,7 +12101,7 @@ @implementation DBFILESListFolderLongpollArgSerializer jsonDict[@"cursor"] = valueObj.cursor; jsonDict[@"timeout"] = valueObj.timeout; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESListFolderLongpollArg *)deserialize:(NSDictionary *)valueDict { @@ -12249,7 +12249,7 @@ @implementation DBFILESListFolderLongpollErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESListFolderLongpollError *)deserialize:(NSDictionary *)valueDict { @@ -12370,7 +12370,7 @@ @implementation DBFILESListFolderLongpollResultSerializer jsonDict[@"backoff"] = valueObj.backoff; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESListFolderLongpollResult *)deserialize:(NSDictionary *)valueDict { @@ -12493,7 +12493,7 @@ @implementation DBFILESListFolderResultSerializer jsonDict[@"cursor"] = valueObj.cursor; jsonDict[@"has_more"] = valueObj.hasMore; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESListFolderResult *)deserialize:(NSDictionary *)valueDict { @@ -12617,7 +12617,7 @@ @implementation DBFILESListRevisionsArgSerializer jsonDict[@"mode"] = [DBFILESListRevisionsModeSerializer serialize:valueObj.mode]; jsonDict[@"limit"] = valueObj.limit; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESListRevisionsArg *)deserialize:(NSDictionary *)valueDict { @@ -12781,7 +12781,7 @@ @implementation DBFILESListRevisionsErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESListRevisionsError *)deserialize:(NSDictionary *)valueDict { @@ -12956,7 +12956,7 @@ @implementation DBFILESListRevisionsModeSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESListRevisionsMode *)deserialize:(NSDictionary *)valueDict { @@ -13096,7 +13096,7 @@ @implementation DBFILESListRevisionsResultSerializer [DBNSDateSerializer serialize:valueObj.serverDeleted dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESListRevisionsResult *)deserialize:(NSDictionary *)valueDict { @@ -13204,7 +13204,7 @@ @implementation DBFILESLockConflictErrorSerializer jsonDict[@"lock"] = [DBFILESFileLockSerializer serialize:valueObj.lock]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESLockConflictError *)deserialize:(NSDictionary *)valueDict { @@ -13306,7 +13306,7 @@ @implementation DBFILESLockFileArgSerializer jsonDict[@"path"] = valueObj.path; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESLockFileArg *)deserialize:(NSDictionary *)valueDict { @@ -13412,7 +13412,7 @@ @implementation DBFILESLockFileBatchArgSerializer return [DBFILESLockFileArgSerializer serialize:elem0]; }]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESLockFileBatchArg *)deserialize:(NSDictionary *)valueDict { @@ -13523,7 +13523,7 @@ @implementation DBFILESLockFileBatchResultSerializer return [DBFILESLockFileResultEntrySerializer serialize:elem0]; }]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESLockFileBatchResult *)deserialize:(NSDictionary *)valueDict { @@ -13846,7 +13846,7 @@ @implementation DBFILESLockFileErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESLockFileError *)deserialize:(NSDictionary *)valueDict { @@ -13976,7 +13976,7 @@ @implementation DBFILESLockFileResultSerializer jsonDict[@"metadata"] = [DBFILESMetadataSerializer serialize:valueObj.metadata]; jsonDict[@"lock"] = [DBFILESFileLockSerializer serialize:valueObj.lock]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESLockFileResult *)deserialize:(NSDictionary *)valueDict { @@ -14151,7 +14151,7 @@ @implementation DBFILESLockFileResultEntrySerializer userInfo:nil]); } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESLockFileResultEntry *)deserialize:(NSDictionary *)valueDict { @@ -14453,7 +14453,7 @@ @implementation DBFILESLookupErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESLookupError *)deserialize:(NSDictionary *)valueDict { @@ -14634,7 +14634,7 @@ @implementation DBFILESMediaInfoSerializer userInfo:nil]); } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESMediaInfo *)deserialize:(NSDictionary *)valueDict { @@ -14796,7 +14796,7 @@ @implementation DBFILESMediaMetadataSerializer jsonDict[@".tag"] = @"video"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESMediaMetadata *)deserialize:(NSDictionary *)valueDict { @@ -14964,7 +14964,7 @@ @implementation DBFILESMetadataV2Serializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESMetadataV2 *)deserialize:(NSDictionary *)valueDict { @@ -15106,7 +15106,7 @@ @implementation DBFILESMinimalFileLinkMetadataSerializer jsonDict[@"path"] = valueObj.path; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESMinimalFileLinkMetadata *)deserialize:(NSDictionary *)valueDict { @@ -15225,7 +15225,7 @@ @implementation DBFILESRelocationBatchArgBaseSerializer }]; jsonDict[@"autorename"] = valueObj.autorename; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESRelocationBatchArgBase *)deserialize:(NSDictionary *)valueDict { @@ -15353,7 +15353,7 @@ @implementation DBFILESMoveBatchArgSerializer jsonDict[@"autorename"] = valueObj.autorename; jsonDict[@"allow_ownership_transfer"] = valueObj.allowOwnershipTransfer; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESMoveBatchArg *)deserialize:(NSDictionary *)valueDict { @@ -15508,7 +15508,7 @@ @implementation DBFILESMoveIntoFamilyErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESMoveIntoFamilyError *)deserialize:(NSDictionary *)valueDict { @@ -15661,7 +15661,7 @@ @implementation DBFILESMoveIntoVaultErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESMoveIntoVaultError *)deserialize:(NSDictionary *)valueDict { @@ -15877,7 +15877,7 @@ @implementation DBFILESPaperContentErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESPaperContentError *)deserialize:(NSDictionary *)valueDict { @@ -15997,7 +15997,7 @@ @implementation DBFILESPaperCreateArgSerializer jsonDict[@"path"] = valueObj.path; jsonDict[@"import_format"] = [DBFILESImportFormatSerializer serialize:valueObj.importFormat]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESPaperCreateArg *)deserialize:(NSDictionary *)valueDict { @@ -16293,7 +16293,7 @@ @implementation DBFILESPaperCreateErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESPaperCreateError *)deserialize:(NSDictionary *)valueDict { @@ -16436,7 +16436,7 @@ @implementation DBFILESPaperCreateResultSerializer jsonDict[@"file_id"] = valueObj.fileId; jsonDict[@"paper_revision"] = valueObj.paperRevision; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESPaperCreateResult *)deserialize:(NSDictionary *)valueDict { @@ -16652,7 +16652,7 @@ @implementation DBFILESPaperDocUpdatePolicySerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESPaperDocUpdatePolicy *)deserialize:(NSDictionary *)valueDict { @@ -16803,7 +16803,7 @@ @implementation DBFILESPaperUpdateArgSerializer jsonDict[@"paper_revision"] = valueObj.paperRevision; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESPaperUpdateArg *)deserialize:(NSDictionary *)valueDict { @@ -17118,7 +17118,7 @@ @implementation DBFILESPaperUpdateErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESPaperUpdateError *)deserialize:(NSDictionary *)valueDict { @@ -17238,7 +17238,7 @@ @implementation DBFILESPaperUpdateResultSerializer jsonDict[@"paper_revision"] = valueObj.paperRevision; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESPaperUpdateResult *)deserialize:(NSDictionary *)valueDict { @@ -17430,7 +17430,7 @@ @implementation DBFILESPathOrLinkSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESPathOrLink *)deserialize:(NSDictionary *)valueDict { @@ -17554,7 +17554,7 @@ @implementation DBFILESPathToTagsSerializer return [DBFILESTagSerializer serialize:elem0]; }]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESPathToTags *)deserialize:(NSDictionary *)valueDict { @@ -17692,7 +17692,7 @@ @implementation DBFILESPhotoMetadataSerializer jsonDict[@"time_taken"] = [DBNSDateSerializer serialize:valueObj.timeTaken dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESPhotoMetadata *)deserialize:(NSDictionary *)valueDict { @@ -17819,7 +17819,7 @@ @implementation DBFILESPreviewArgSerializer jsonDict[@"rev"] = valueObj.rev; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESPreviewArg *)deserialize:(NSDictionary *)valueDict { @@ -18024,7 +18024,7 @@ @implementation DBFILESPreviewErrorSerializer userInfo:nil]); } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESPreviewError *)deserialize:(NSDictionary *)valueDict { @@ -18161,7 +18161,7 @@ @implementation DBFILESPreviewResultSerializer jsonDict[@"link_metadata"] = [DBFILESMinimalFileLinkMetadataSerializer serialize:valueObj.linkMetadata]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESPreviewResult *)deserialize:(NSDictionary *)valueDict { @@ -18277,7 +18277,7 @@ @implementation DBFILESRelocationPathSerializer jsonDict[@"from_path"] = valueObj.fromPath; jsonDict[@"to_path"] = valueObj.toPath; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESRelocationPath *)deserialize:(NSDictionary *)valueDict { @@ -18415,7 +18415,7 @@ @implementation DBFILESRelocationArgSerializer jsonDict[@"autorename"] = valueObj.autorename; jsonDict[@"allow_ownership_transfer"] = valueObj.allowOwnershipTransfer; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESRelocationArg *)deserialize:(NSDictionary *)valueDict { @@ -18553,7 +18553,7 @@ @implementation DBFILESRelocationBatchArgSerializer jsonDict[@"allow_shared_folder"] = valueObj.allowSharedFolder; jsonDict[@"allow_ownership_transfer"] = valueObj.allowOwnershipTransfer; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESRelocationBatchArg *)deserialize:(NSDictionary *)valueDict { @@ -19045,7 +19045,7 @@ @implementation DBFILESRelocationErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESRelocationError *)deserialize:(NSDictionary *)valueDict { @@ -19590,7 +19590,7 @@ @implementation DBFILESRelocationBatchErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESRelocationBatchError *)deserialize:(NSDictionary *)valueDict { @@ -19834,7 +19834,7 @@ @implementation DBFILESRelocationBatchErrorEntrySerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESRelocationBatchErrorEntry *)deserialize:(NSDictionary *)valueDict { @@ -20042,7 +20042,7 @@ @implementation DBFILESRelocationBatchJobStatusSerializer userInfo:nil]); } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESRelocationBatchJobStatus *)deserialize:(NSDictionary *)valueDict { @@ -20248,7 +20248,7 @@ @implementation DBFILESRelocationBatchLaunchSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESRelocationBatchLaunch *)deserialize:(NSDictionary *)valueDict { @@ -20365,7 +20365,7 @@ @implementation DBFILESRelocationBatchResultSerializer return [DBFILESRelocationBatchResultDataSerializer serialize:elem0]; }]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESRelocationBatchResult *)deserialize:(NSDictionary *)valueDict { @@ -20469,7 +20469,7 @@ @implementation DBFILESRelocationBatchResultDataSerializer jsonDict[@"metadata"] = [DBFILESMetadataSerializer serialize:valueObj.metadata]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESRelocationBatchResultData *)deserialize:(NSDictionary *)valueDict { @@ -20662,7 +20662,7 @@ @implementation DBFILESRelocationBatchResultEntrySerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESRelocationBatchResultEntry *)deserialize:(NSDictionary *)valueDict { @@ -20836,7 +20836,7 @@ @implementation DBFILESRelocationBatchV2JobStatusSerializer userInfo:nil]); } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESRelocationBatchV2JobStatus *)deserialize:(NSDictionary *)valueDict { @@ -21020,7 +21020,7 @@ @implementation DBFILESRelocationBatchV2LaunchSerializer userInfo:nil]); } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESRelocationBatchV2Launch *)deserialize:(NSDictionary *)valueDict { @@ -21138,7 +21138,7 @@ @implementation DBFILESRelocationBatchV2ResultSerializer return [DBFILESRelocationBatchResultEntrySerializer serialize:elem0]; }]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESRelocationBatchV2Result *)deserialize:(NSDictionary *)valueDict { @@ -21243,7 +21243,7 @@ @implementation DBFILESRelocationResultSerializer jsonDict[@"metadata"] = [DBFILESMetadataSerializer serialize:valueObj.metadata]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESRelocationResult *)deserialize:(NSDictionary *)valueDict { @@ -21351,7 +21351,7 @@ @implementation DBFILESRemoveTagArgSerializer jsonDict[@"path"] = valueObj.path; jsonDict[@"tag_text"] = valueObj.tagText; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESRemoveTagArg *)deserialize:(NSDictionary *)valueDict { @@ -21534,7 +21534,7 @@ @implementation DBFILESRemoveTagErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESRemoveTagError *)deserialize:(NSDictionary *)valueDict { @@ -21651,7 +21651,7 @@ @implementation DBFILESRestoreArgSerializer jsonDict[@"path"] = valueObj.path; jsonDict[@"rev"] = valueObj.rev; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESRestoreArg *)deserialize:(NSDictionary *)valueDict { @@ -21887,7 +21887,7 @@ @implementation DBFILESRestoreErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESRestoreError *)deserialize:(NSDictionary *)valueDict { @@ -22008,7 +22008,7 @@ @implementation DBFILESSaveCopyReferenceArgSerializer jsonDict[@"copy_reference"] = valueObj.dCopyReference; jsonDict[@"path"] = valueObj.path; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESSaveCopyReferenceArg *)deserialize:(NSDictionary *)valueDict { @@ -22253,7 +22253,7 @@ @implementation DBFILESSaveCopyReferenceErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESSaveCopyReferenceError *)deserialize:(NSDictionary *)valueDict { @@ -22368,7 +22368,7 @@ @implementation DBFILESSaveCopyReferenceResultSerializer jsonDict[@"metadata"] = [DBFILESMetadataSerializer serialize:valueObj.metadata]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESSaveCopyReferenceResult *)deserialize:(NSDictionary *)valueDict { @@ -22475,7 +22475,7 @@ @implementation DBFILESSaveUrlArgSerializer jsonDict[@"path"] = valueObj.path; jsonDict[@"url"] = valueObj.url; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESSaveUrlArg *)deserialize:(NSDictionary *)valueDict { @@ -22699,7 +22699,7 @@ @implementation DBFILESSaveUrlErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESSaveUrlError *)deserialize:(NSDictionary *)valueDict { @@ -22908,7 +22908,7 @@ @implementation DBFILESSaveUrlJobStatusSerializer userInfo:nil]); } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESSaveUrlJobStatus *)deserialize:(NSDictionary *)valueDict { @@ -23095,7 +23095,7 @@ @implementation DBFILESSaveUrlResultSerializer userInfo:nil]); } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESSaveUrlResult *)deserialize:(NSDictionary *)valueDict { @@ -23242,7 +23242,7 @@ @implementation DBFILESSearchArgSerializer jsonDict[@"max_results"] = valueObj.maxResults; jsonDict[@"mode"] = [DBFILESSearchModeSerializer serialize:valueObj.mode]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESSearchArg *)deserialize:(NSDictionary *)valueDict { @@ -23466,7 +23466,7 @@ @implementation DBFILESSearchErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESSearchError *)deserialize:(NSDictionary *)valueDict { @@ -23586,7 +23586,7 @@ @implementation DBFILESSearchMatchSerializer jsonDict[@"match_type"] = [DBFILESSearchMatchTypeSerializer serialize:valueObj.matchType]; jsonDict[@"metadata"] = [DBFILESMetadataSerializer serialize:valueObj.metadata]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESSearchMatch *)deserialize:(NSDictionary *)valueDict { @@ -23689,7 +23689,7 @@ @implementation DBFILESSearchMatchFieldOptionsSerializer jsonDict[@"include_highlights"] = valueObj.includeHighlights; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESSearchMatchFieldOptions *)deserialize:(NSDictionary *)valueDict { @@ -23859,7 +23859,7 @@ @implementation DBFILESSearchMatchTypeSerializer userInfo:nil]); } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESSearchMatchType *)deserialize:(NSDictionary *)valueDict { @@ -24080,7 +24080,7 @@ @implementation DBFILESSearchMatchTypeV2Serializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESSearchMatchTypeV2 *)deserialize:(NSDictionary *)valueDict { @@ -24231,7 +24231,7 @@ @implementation DBFILESSearchMatchV2Serializer }]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESSearchMatchV2 *)deserialize:(NSDictionary *)valueDict { @@ -24409,7 +24409,7 @@ @implementation DBFILESSearchModeSerializer userInfo:nil]); } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESSearchMode *)deserialize:(NSDictionary *)valueDict { @@ -24631,7 +24631,7 @@ @implementation DBFILESSearchOptionsSerializer jsonDict[@"account_id"] = valueObj.accountId; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESSearchOptions *)deserialize:(NSDictionary *)valueDict { @@ -24826,7 +24826,7 @@ @implementation DBFILESSearchOrderBySerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESSearchOrderBy *)deserialize:(NSDictionary *)valueDict { @@ -24954,7 +24954,7 @@ @implementation DBFILESSearchResultSerializer jsonDict[@"more"] = valueObj.more; jsonDict[@"start"] = valueObj.start; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESSearchResult *)deserialize:(NSDictionary *)valueDict { @@ -25104,7 +25104,7 @@ @implementation DBFILESSearchV2ArgSerializer jsonDict[@"include_highlights"] = valueObj.includeHighlights; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESSearchV2Arg *)deserialize:(NSDictionary *)valueDict { @@ -25213,7 +25213,7 @@ @implementation DBFILESSearchV2ContinueArgSerializer jsonDict[@"cursor"] = valueObj.cursor; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESSearchV2ContinueArg *)deserialize:(NSDictionary *)valueDict { @@ -25345,7 +25345,7 @@ @implementation DBFILESSearchV2ResultSerializer jsonDict[@"cursor"] = valueObj.cursor; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESSearchV2Result *)deserialize:(NSDictionary *)valueDict { @@ -25466,7 +25466,7 @@ @implementation DBFILESSharedLinkSerializer jsonDict[@"password"] = valueObj.password; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESSharedLink *)deserialize:(NSDictionary *)valueDict { @@ -25594,7 +25594,7 @@ @implementation DBFILESSharedLinkFileInfoSerializer jsonDict[@"password"] = valueObj.password; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESSharedLinkFileInfo *)deserialize:(NSDictionary *)valueDict { @@ -25721,7 +25721,7 @@ @implementation DBFILESSingleUserLockSerializer jsonDict[@"lock_holder_team_id"] = valueObj.lockHolderTeamId; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESSingleUserLock *)deserialize:(NSDictionary *)valueDict { @@ -25824,7 +25824,7 @@ @implementation DBFILESSymlinkInfoSerializer jsonDict[@"target"] = valueObj.target; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESSymlinkInfo *)deserialize:(NSDictionary *)valueDict { @@ -26013,7 +26013,7 @@ @implementation DBFILESSyncSettingSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESSyncSetting *)deserialize:(NSDictionary *)valueDict { @@ -26191,7 +26191,7 @@ @implementation DBFILESSyncSettingArgSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESSyncSettingArg *)deserialize:(NSDictionary *)valueDict { @@ -26401,7 +26401,7 @@ @implementation DBFILESSyncSettingsErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESSyncSettingsError *)deserialize:(NSDictionary *)valueDict { @@ -26572,7 +26572,7 @@ @implementation DBFILESTagSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESTag *)deserialize:(NSDictionary *)valueDict { @@ -26710,7 +26710,7 @@ @implementation DBFILESThumbnailArgSerializer jsonDict[@"size"] = [DBFILESThumbnailSizeSerializer serialize:valueObj.size]; jsonDict[@"mode"] = [DBFILESThumbnailModeSerializer serialize:valueObj.mode]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESThumbnailArg *)deserialize:(NSDictionary *)valueDict { @@ -26921,7 +26921,7 @@ @implementation DBFILESThumbnailErrorSerializer userInfo:nil]); } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESThumbnailError *)deserialize:(NSDictionary *)valueDict { @@ -27084,7 +27084,7 @@ @implementation DBFILESThumbnailFormatSerializer userInfo:nil]); } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESThumbnailFormat *)deserialize:(NSDictionary *)valueDict { @@ -27263,7 +27263,7 @@ @implementation DBFILESThumbnailModeSerializer userInfo:nil]); } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESThumbnailMode *)deserialize:(NSDictionary *)valueDict { @@ -27570,7 +27570,7 @@ @implementation DBFILESThumbnailSizeSerializer userInfo:nil]); } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESThumbnailSize *)deserialize:(NSDictionary *)valueDict { @@ -27721,7 +27721,7 @@ @implementation DBFILESThumbnailV2ArgSerializer jsonDict[@"size"] = [DBFILESThumbnailSizeSerializer serialize:valueObj.size]; jsonDict[@"mode"] = [DBFILESThumbnailModeSerializer serialize:valueObj.mode]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESThumbnailV2Arg *)deserialize:(NSDictionary *)valueDict { @@ -27993,7 +27993,7 @@ @implementation DBFILESThumbnailV2ErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESThumbnailV2Error *)deserialize:(NSDictionary *)valueDict { @@ -28112,7 +28112,7 @@ @implementation DBFILESUnlockFileArgSerializer jsonDict[@"path"] = valueObj.path; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESUnlockFileArg *)deserialize:(NSDictionary *)valueDict { @@ -28218,7 +28218,7 @@ @implementation DBFILESUnlockFileBatchArgSerializer return [DBFILESUnlockFileArgSerializer serialize:elem0]; }]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESUnlockFileBatchArg *)deserialize:(NSDictionary *)valueDict { @@ -28415,7 +28415,7 @@ @implementation DBFILESUploadArgSerializer jsonDict[@"content_hash"] = valueObj.contentHash; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESUploadArg *)deserialize:(NSDictionary *)valueDict { @@ -28674,7 +28674,7 @@ @implementation DBFILESUploadErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESUploadError *)deserialize:(NSDictionary *)valueDict { @@ -28815,7 +28815,7 @@ @implementation DBFILESUploadSessionAppendArgSerializer jsonDict[@"content_hash"] = valueObj.contentHash; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESUploadSessionAppendArg *)deserialize:(NSDictionary *)valueDict { @@ -29125,7 +29125,7 @@ @implementation DBFILESUploadSessionLookupErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESUploadSessionLookupError *)deserialize:(NSDictionary *)valueDict { @@ -29477,7 +29477,7 @@ @implementation DBFILESUploadSessionAppendErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESUploadSessionAppendError *)deserialize:(NSDictionary *)valueDict { @@ -29607,7 +29607,7 @@ @implementation DBFILESUploadSessionCursorSerializer jsonDict[@"session_id"] = valueObj.sessionId; jsonDict[@"offset"] = valueObj.offset; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESUploadSessionCursor *)deserialize:(NSDictionary *)valueDict { @@ -29736,7 +29736,7 @@ @implementation DBFILESUploadSessionFinishArgSerializer jsonDict[@"content_hash"] = valueObj.contentHash; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESUploadSessionFinishArg *)deserialize:(NSDictionary *)valueDict { @@ -29844,7 +29844,7 @@ @implementation DBFILESUploadSessionFinishBatchArgSerializer return [DBFILESUploadSessionFinishArgSerializer serialize:elem0]; }]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESUploadSessionFinishBatchArg *)deserialize:(NSDictionary *)valueDict { @@ -30013,7 +30013,7 @@ @implementation DBFILESUploadSessionFinishBatchJobStatusSerializer userInfo:nil]); } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESUploadSessionFinishBatchJobStatus *)deserialize:(NSDictionary *)valueDict { @@ -30220,7 +30220,7 @@ @implementation DBFILESUploadSessionFinishBatchLaunchSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESUploadSessionFinishBatchLaunch *)deserialize:(NSDictionary *)valueDict { @@ -30339,7 +30339,7 @@ @implementation DBFILESUploadSessionFinishBatchResultSerializer return [DBFILESUploadSessionFinishBatchResultEntrySerializer serialize:elem0]; }]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESUploadSessionFinishBatchResult *)deserialize:(NSDictionary *)valueDict { @@ -30520,7 +30520,7 @@ @implementation DBFILESUploadSessionFinishBatchResultEntrySerializer userInfo:nil]); } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESUploadSessionFinishBatchResultEntry *)deserialize:(NSDictionary *)valueDict { @@ -30909,7 +30909,7 @@ @implementation DBFILESUploadSessionFinishErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESUploadSessionFinishError *)deserialize:(NSDictionary *)valueDict { @@ -31037,7 +31037,7 @@ @implementation DBFILESUploadSessionOffsetErrorSerializer jsonDict[@"correct_offset"] = valueObj.correctOffset; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESUploadSessionOffsetError *)deserialize:(NSDictionary *)valueDict { @@ -31168,7 +31168,7 @@ @implementation DBFILESUploadSessionStartArgSerializer jsonDict[@"content_hash"] = valueObj.contentHash; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESUploadSessionStartArg *)deserialize:(NSDictionary *)valueDict { @@ -31287,7 +31287,7 @@ @implementation DBFILESUploadSessionStartBatchArgSerializer jsonDict[@"session_type"] = [DBFILESUploadSessionTypeSerializer serialize:valueObj.sessionType]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESUploadSessionStartBatchArg *)deserialize:(NSDictionary *)valueDict { @@ -31394,7 +31394,7 @@ @implementation DBFILESUploadSessionStartBatchResultSerializer return elem0; }]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESUploadSessionStartBatchResult *)deserialize:(NSDictionary *)valueDict { @@ -31607,7 +31607,7 @@ @implementation DBFILESUploadSessionStartErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESUploadSessionStartError *)deserialize:(NSDictionary *)valueDict { @@ -31718,7 +31718,7 @@ @implementation DBFILESUploadSessionStartResultSerializer jsonDict[@"session_id"] = valueObj.sessionId; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESUploadSessionStartResult *)deserialize:(NSDictionary *)valueDict { @@ -31886,7 +31886,7 @@ @implementation DBFILESUploadSessionTypeSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESUploadSessionType *)deserialize:(NSDictionary *)valueDict { @@ -32001,7 +32001,7 @@ @implementation DBFILESUploadWriteFailedSerializer jsonDict[@"reason"] = [DBFILESWriteErrorSerializer serialize:valueObj.reason]; jsonDict[@"upload_session_id"] = valueObj.uploadSessionId; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESUploadWriteFailed *)deserialize:(NSDictionary *)valueDict { @@ -32102,7 +32102,7 @@ @implementation DBFILESUserGeneratedTagSerializer jsonDict[@"tag_text"] = valueObj.tagText; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESUserGeneratedTag *)deserialize:(NSDictionary *)valueDict { @@ -32249,7 +32249,7 @@ @implementation DBFILESVideoMetadataSerializer jsonDict[@"duration"] = valueObj.duration; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESVideoMetadata *)deserialize:(NSDictionary *)valueDict { @@ -32448,7 +32448,7 @@ @implementation DBFILESWriteConflictErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESWriteConflictError *)deserialize:(NSDictionary *)valueDict { @@ -32782,7 +32782,7 @@ @implementation DBFILESWriteErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESWriteError *)deserialize:(NSDictionary *)valueDict { @@ -32986,7 +32986,7 @@ @implementation DBFILESWriteModeSerializer userInfo:nil]); } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBFILESWriteMode *)deserialize:(NSDictionary *)valueDict { diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Openid/DBOpenidObjects.m b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Openid/DBOpenidObjects.m index 2fd3e94da..143997d97 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Openid/DBOpenidObjects.m +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Openid/DBOpenidObjects.m @@ -142,7 +142,7 @@ @implementation DBOPENIDOpenIdErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBOPENIDOpenIdError *)deserialize:(NSDictionary *)valueDict { @@ -239,7 +239,7 @@ @implementation DBOPENIDUserInfoArgsSerializer #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBOPENIDUserInfoArgs *)deserialize:(NSDictionary *)valueDict { @@ -399,7 +399,7 @@ @implementation DBOPENIDUserInfoErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBOPENIDUserInfoError *)deserialize:(NSDictionary *)valueDict { @@ -567,7 +567,7 @@ @implementation DBOPENIDUserInfoResultSerializer jsonDict[@"iss"] = valueObj.iss; jsonDict[@"sub"] = valueObj.sub; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBOPENIDUserInfoResult *)deserialize:(NSDictionary *)valueDict { diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/DBPaperObjects.m b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/DBPaperObjects.m index acfd8414b..065013e29 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/DBPaperObjects.m +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/DBPaperObjects.m @@ -107,7 +107,7 @@ @implementation DBPAPERAddMemberSerializer jsonDict[@"member"] = [DBSHARINGMemberSelectorSerializer serialize:valueObj.member]; jsonDict[@"permission_level"] = [DBPAPERPaperDocPermissionLevelSerializer serialize:valueObj.permissionLevel]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBPAPERAddMember *)deserialize:(NSDictionary *)valueDict { @@ -210,7 +210,7 @@ @implementation DBPAPERRefPaperDocSerializer jsonDict[@"doc_id"] = valueObj.docId; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBPAPERRefPaperDoc *)deserialize:(NSDictionary *)valueDict { @@ -348,7 +348,7 @@ @implementation DBPAPERAddPaperDocUserSerializer } jsonDict[@"quiet"] = valueObj.quiet; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBPAPERAddPaperDocUser *)deserialize:(NSDictionary *)valueDict { @@ -462,7 +462,7 @@ @implementation DBPAPERAddPaperDocUserMemberResultSerializer jsonDict[@"member"] = [DBSHARINGMemberSelectorSerializer serialize:valueObj.member]; jsonDict[@"result"] = [DBPAPERAddPaperDocUserResultSerializer serialize:valueObj.result]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBPAPERAddPaperDocUserMemberResult *)deserialize:(NSDictionary *)valueDict { @@ -736,7 +736,7 @@ @implementation DBPAPERAddPaperDocUserResultSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBPAPERAddPaperDocUserResult *)deserialize:(NSDictionary *)valueDict { @@ -869,7 +869,7 @@ @implementation DBPAPERCursorSerializer jsonDict[@"expiration"] = [DBNSDateSerializer serialize:valueObj.expiration dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBPAPERCursor *)deserialize:(NSDictionary *)valueDict { @@ -1019,7 +1019,7 @@ @implementation DBPAPERPaperApiBaseErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBPAPERPaperApiBaseError *)deserialize:(NSDictionary *)valueDict { @@ -1194,7 +1194,7 @@ @implementation DBPAPERDocLookupErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBPAPERDocLookupError *)deserialize:(NSDictionary *)valueDict { @@ -1393,7 +1393,7 @@ @implementation DBPAPERDocSubscriptionLevelSerializer userInfo:nil]); } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBPAPERDocSubscriptionLevel *)deserialize:(NSDictionary *)valueDict { @@ -1574,7 +1574,7 @@ @implementation DBPAPERExportFormatSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBPAPERExportFormat *)deserialize:(NSDictionary *)valueDict { @@ -1688,7 +1688,7 @@ @implementation DBPAPERFolderSerializer jsonDict[@"id"] = valueObj.id_; jsonDict[@"name"] = valueObj.name; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBPAPERFolder *)deserialize:(NSDictionary *)valueDict { @@ -1838,7 +1838,7 @@ @implementation DBPAPERFolderSharingPolicyTypeSerializer userInfo:nil]); } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBPAPERFolderSharingPolicyType *)deserialize:(NSDictionary *)valueDict { @@ -2038,7 +2038,7 @@ @implementation DBPAPERFolderSubscriptionLevelSerializer userInfo:nil]); } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBPAPERFolderSubscriptionLevel *)deserialize:(NSDictionary *)valueDict { @@ -2182,7 +2182,7 @@ @implementation DBPAPERFoldersContainingPaperDocSerializer }]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBPAPERFoldersContainingPaperDoc *)deserialize:(NSDictionary *)valueDict { @@ -2381,7 +2381,7 @@ @implementation DBPAPERImportFormatSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBPAPERImportFormat *)deserialize:(NSDictionary *)valueDict { @@ -2501,7 +2501,7 @@ @implementation DBPAPERInviteeInfoWithPermissionLevelSerializer jsonDict[@"invitee"] = [DBSHARINGInviteeInfoSerializer serialize:valueObj.invitee]; jsonDict[@"permission_level"] = [DBPAPERPaperDocPermissionLevelSerializer serialize:valueObj.permissionLevel]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBPAPERInviteeInfoWithPermissionLevel *)deserialize:(NSDictionary *)valueDict { @@ -2663,7 +2663,7 @@ @implementation DBPAPERListDocsCursorErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBPAPERListDocsCursorError *)deserialize:(NSDictionary *)valueDict { @@ -2797,7 +2797,7 @@ @implementation DBPAPERListPaperDocsArgsSerializer jsonDict[@"sort_order"] = [DBPAPERListPaperDocsSortOrderSerializer serialize:valueObj.sortOrder]; jsonDict[@"limit"] = valueObj.limit; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBPAPERListPaperDocsArgs *)deserialize:(NSDictionary *)valueDict { @@ -2905,7 +2905,7 @@ @implementation DBPAPERListPaperDocsContinueArgsSerializer jsonDict[@"cursor"] = valueObj.cursor; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBPAPERListPaperDocsContinueArgs *)deserialize:(NSDictionary *)valueDict { @@ -3073,7 +3073,7 @@ @implementation DBPAPERListPaperDocsFilterBySerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBPAPERListPaperDocsFilterBy *)deserialize:(NSDictionary *)valueDict { @@ -3203,7 +3203,7 @@ @implementation DBPAPERListPaperDocsResponseSerializer jsonDict[@"cursor"] = [DBPAPERCursorSerializer serialize:valueObj.cursor]; jsonDict[@"has_more"] = valueObj.hasMore; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBPAPERListPaperDocsResponse *)deserialize:(NSDictionary *)valueDict { @@ -3397,7 +3397,7 @@ @implementation DBPAPERListPaperDocsSortBySerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBPAPERListPaperDocsSortBy *)deserialize:(NSDictionary *)valueDict { @@ -3575,7 +3575,7 @@ @implementation DBPAPERListPaperDocsSortOrderSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBPAPERListPaperDocsSortOrder *)deserialize:(NSDictionary *)valueDict { @@ -3786,7 +3786,7 @@ @implementation DBPAPERListUsersCursorErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBPAPERListUsersCursorError *)deserialize:(NSDictionary *)valueDict { @@ -3907,7 +3907,7 @@ @implementation DBPAPERListUsersOnFolderArgsSerializer jsonDict[@"doc_id"] = valueObj.docId; jsonDict[@"limit"] = valueObj.limit; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBPAPERListUsersOnFolderArgs *)deserialize:(NSDictionary *)valueDict { @@ -4014,7 +4014,7 @@ @implementation DBPAPERListUsersOnFolderContinueArgsSerializer jsonDict[@"doc_id"] = valueObj.docId; jsonDict[@"cursor"] = valueObj.cursor; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBPAPERListUsersOnFolderContinueArgs *)deserialize:(NSDictionary *)valueDict { @@ -4153,7 +4153,7 @@ @implementation DBPAPERListUsersOnFolderResponseSerializer jsonDict[@"cursor"] = [DBPAPERCursorSerializer serialize:valueObj.cursor]; jsonDict[@"has_more"] = valueObj.hasMore; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBPAPERListUsersOnFolderResponse *)deserialize:(NSDictionary *)valueDict { @@ -4281,7 +4281,7 @@ @implementation DBPAPERListUsersOnPaperDocArgsSerializer jsonDict[@"limit"] = valueObj.limit; jsonDict[@"filter_by"] = [DBPAPERUserOnPaperDocFilterSerializer serialize:valueObj.filterBy]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBPAPERListUsersOnPaperDocArgs *)deserialize:(NSDictionary *)valueDict { @@ -4392,7 +4392,7 @@ @implementation DBPAPERListUsersOnPaperDocContinueArgsSerializer jsonDict[@"doc_id"] = valueObj.docId; jsonDict[@"cursor"] = valueObj.cursor; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBPAPERListUsersOnPaperDocContinueArgs *)deserialize:(NSDictionary *)valueDict { @@ -4540,7 +4540,7 @@ @implementation DBPAPERListUsersOnPaperDocResponseSerializer jsonDict[@"cursor"] = [DBPAPERCursorSerializer serialize:valueObj.cursor]; jsonDict[@"has_more"] = valueObj.hasMore; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBPAPERListUsersOnPaperDocResponse *)deserialize:(NSDictionary *)valueDict { @@ -4766,7 +4766,7 @@ @implementation DBPAPERPaperApiCursorErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBPAPERPaperApiCursorError *)deserialize:(NSDictionary *)valueDict { @@ -4894,7 +4894,7 @@ @implementation DBPAPERPaperDocCreateArgsSerializer jsonDict[@"parent_folder_id"] = valueObj.parentFolderId; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBPAPERPaperDocCreateArgs *)deserialize:(NSDictionary *)valueDict { @@ -5127,7 +5127,7 @@ @implementation DBPAPERPaperDocCreateErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBPAPERPaperDocCreateError *)deserialize:(NSDictionary *)valueDict { @@ -5254,7 +5254,7 @@ @implementation DBPAPERPaperDocCreateUpdateResultSerializer jsonDict[@"revision"] = valueObj.revision; jsonDict[@"title"] = valueObj.title; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBPAPERPaperDocCreateUpdateResult *)deserialize:(NSDictionary *)valueDict { @@ -5363,7 +5363,7 @@ @implementation DBPAPERPaperDocExportSerializer jsonDict[@"doc_id"] = valueObj.docId; jsonDict[@"export_format"] = [DBPAPERExportFormatSerializer serialize:valueObj.exportFormat]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBPAPERPaperDocExport *)deserialize:(NSDictionary *)valueDict { @@ -5487,7 +5487,7 @@ @implementation DBPAPERPaperDocExportResultSerializer jsonDict[@"revision"] = valueObj.revision; jsonDict[@"mime_type"] = valueObj.mimeType; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBPAPERPaperDocExportResult *)deserialize:(NSDictionary *)valueDict { @@ -5658,7 +5658,7 @@ @implementation DBPAPERPaperDocPermissionLevelSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBPAPERPaperDocPermissionLevel *)deserialize:(NSDictionary *)valueDict { @@ -5773,7 +5773,7 @@ @implementation DBPAPERPaperDocSharingPolicySerializer jsonDict[@"doc_id"] = valueObj.docId; jsonDict[@"sharing_policy"] = [DBPAPERSharingPolicySerializer serialize:valueObj.sharingPolicy]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBPAPERPaperDocSharingPolicy *)deserialize:(NSDictionary *)valueDict { @@ -5899,7 +5899,7 @@ @implementation DBPAPERPaperDocUpdateArgsSerializer jsonDict[@"revision"] = valueObj.revision; jsonDict[@"import_format"] = [DBPAPERImportFormatSerializer serialize:valueObj.importFormat]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBPAPERPaperDocUpdateArgs *)deserialize:(NSDictionary *)valueDict { @@ -6201,7 +6201,7 @@ @implementation DBPAPERPaperDocUpdateErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBPAPERPaperDocUpdateError *)deserialize:(NSDictionary *)valueDict { @@ -6410,7 +6410,7 @@ @implementation DBPAPERPaperDocUpdatePolicySerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBPAPERPaperDocUpdatePolicy *)deserialize:(NSDictionary *)valueDict { @@ -6549,7 +6549,7 @@ @implementation DBPAPERPaperFolderCreateArgSerializer jsonDict[@"is_team_folder"] = valueObj.isTeamFolder; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBPAPERPaperFolderCreateArg *)deserialize:(NSDictionary *)valueDict { @@ -6742,7 +6742,7 @@ @implementation DBPAPERPaperFolderCreateErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBPAPERPaperFolderCreateError *)deserialize:(NSDictionary *)valueDict { @@ -6851,7 +6851,7 @@ @implementation DBPAPERPaperFolderCreateResultSerializer jsonDict[@"folder_id"] = valueObj.folderId; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBPAPERPaperFolderCreateResult *)deserialize:(NSDictionary *)valueDict { @@ -6958,7 +6958,7 @@ @implementation DBPAPERRemovePaperDocUserSerializer jsonDict[@"doc_id"] = valueObj.docId; jsonDict[@"member"] = [DBSHARINGMemberSelectorSerializer serialize:valueObj.member]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBPAPERRemovePaperDocUser *)deserialize:(NSDictionary *)valueDict { @@ -7083,7 +7083,7 @@ @implementation DBPAPERSharingPolicySerializer jsonDict[@"team_sharing_policy"] = [DBPAPERSharingTeamPolicyTypeSerializer serialize:valueObj.teamSharingPolicy]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBPAPERSharingPolicy *)deserialize:(NSDictionary *)valueDict { @@ -7261,7 +7261,7 @@ @implementation DBPAPERSharingTeamPolicyTypeSerializer userInfo:nil]); } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBPAPERSharingTeamPolicyType *)deserialize:(NSDictionary *)valueDict { @@ -7464,7 +7464,7 @@ @implementation DBPAPERSharingPublicPolicyTypeSerializer userInfo:nil]); } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBPAPERSharingPublicPolicyType *)deserialize:(NSDictionary *)valueDict { @@ -7586,7 +7586,7 @@ @implementation DBPAPERUserInfoWithPermissionLevelSerializer jsonDict[@"user"] = [DBSHARINGUserInfoSerializer serialize:valueObj.user]; jsonDict[@"permission_level"] = [DBPAPERPaperDocPermissionLevelSerializer serialize:valueObj.permissionLevel]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBPAPERUserInfoWithPermissionLevel *)deserialize:(NSDictionary *)valueDict { @@ -7756,7 +7756,7 @@ @implementation DBPAPERUserOnPaperDocFilterSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBPAPERUserOnPaperDocFilter *)deserialize:(NSDictionary *)valueDict { diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/SecondaryEmails/DBSecondaryEmailsObjects.m b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/SecondaryEmails/DBSecondaryEmailsObjects.m index 61472c7e9..a666e3b61 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/SecondaryEmails/DBSecondaryEmailsObjects.m +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/SecondaryEmails/DBSecondaryEmailsObjects.m @@ -105,7 +105,7 @@ @implementation DBSECONDARYEMAILSSecondaryEmailSerializer jsonDict[@"email"] = valueObj.email; jsonDict[@"is_verified"] = valueObj.isVerified; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSECONDARYEMAILSSecondaryEmail *)deserialize:(NSDictionary *)valueDict { diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/SeenState/DBSeenStateObjects.m b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/SeenState/DBSeenStateObjects.m index 456912d2e..0c067db5b 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/SeenState/DBSeenStateObjects.m +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/SeenState/DBSeenStateObjects.m @@ -268,7 +268,7 @@ @implementation DBSEENSTATEPlatformTypeSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSEENSTATEPlatformType *)deserialize:(NSDictionary *)valueDict { diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/DBSharingObjects.m b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/DBSharingObjects.m index a91091dd8..70c41f13c 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/DBSharingObjects.m +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/DBSharingObjects.m @@ -163,7 +163,7 @@ @implementation DBSHARINGAccessInheritanceSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGAccessInheritance *)deserialize:(NSDictionary *)valueDict { @@ -423,7 +423,7 @@ @implementation DBSHARINGAccessLevelSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGAccessLevel *)deserialize:(NSDictionary *)valueDict { @@ -607,7 +607,7 @@ @implementation DBSHARINGAclUpdatePolicySerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGAclUpdatePolicy *)deserialize:(NSDictionary *)valueDict { @@ -771,7 +771,7 @@ @implementation DBSHARINGAddFileMemberArgsSerializer jsonDict[@"access_level"] = [DBSHARINGAccessLevelSerializer serialize:valueObj.accessLevel]; jsonDict[@"add_message_as_comment"] = valueObj.addMessageAsComment; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGAddFileMemberArgs *)deserialize:(NSDictionary *)valueDict { @@ -1023,7 +1023,7 @@ @implementation DBSHARINGAddFileMemberErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGAddFileMemberError *)deserialize:(NSDictionary *)valueDict { @@ -1179,7 +1179,7 @@ @implementation DBSHARINGAddFolderMemberArgSerializer jsonDict[@"custom_message"] = valueObj.customMessage; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGAddFolderMemberArg *)deserialize:(NSDictionary *)valueDict { @@ -1638,7 +1638,7 @@ @implementation DBSHARINGAddFolderMemberErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGAddFolderMemberError *)deserialize:(NSDictionary *)valueDict { @@ -1785,7 +1785,7 @@ @implementation DBSHARINGAddMemberSerializer jsonDict[@"member"] = [DBSHARINGMemberSelectorSerializer serialize:valueObj.member]; jsonDict[@"access_level"] = [DBSHARINGAccessLevelSerializer serialize:valueObj.accessLevel]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGAddMember *)deserialize:(NSDictionary *)valueDict { @@ -2077,7 +2077,7 @@ @implementation DBSHARINGAddMemberSelectorErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGAddMemberSelectorError *)deserialize:(NSDictionary *)valueDict { @@ -2266,7 +2266,7 @@ @implementation DBSHARINGRequestedVisibilitySerializer userInfo:nil]); } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGRequestedVisibility *)deserialize:(NSDictionary *)valueDict { @@ -2551,7 +2551,7 @@ @implementation DBSHARINGResolvedVisibilitySerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGResolvedVisibility *)deserialize:(NSDictionary *)valueDict { @@ -2843,7 +2843,7 @@ @implementation DBSHARINGAlphaResolvedVisibilitySerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGAlphaResolvedVisibility *)deserialize:(NSDictionary *)valueDict { @@ -2960,7 +2960,7 @@ @implementation DBSHARINGAudienceExceptionContentInfoSerializer jsonDict[@"name"] = valueObj.name; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGAudienceExceptionContentInfo *)deserialize:(NSDictionary *)valueDict { @@ -3075,7 +3075,7 @@ @implementation DBSHARINGAudienceExceptionsSerializer return [DBSHARINGAudienceExceptionContentInfoSerializer serialize:elem0]; }]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGAudienceExceptions *)deserialize:(NSDictionary *)valueDict { @@ -3198,7 +3198,7 @@ @implementation DBSHARINGAudienceRestrictingSharedFolderSerializer jsonDict[@"name"] = valueObj.name; jsonDict[@"audience"] = [DBSHARINGLinkAudienceSerializer serialize:valueObj.audience]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGAudienceRestrictingSharedFolder *)deserialize:(NSDictionary *)valueDict { @@ -3342,7 +3342,7 @@ @implementation DBSHARINGLinkMetadataSerializer jsonDict[@".tag"] = @"collection"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGLinkMetadata *)deserialize:(NSDictionary *)valueDict { @@ -3474,7 +3474,7 @@ @implementation DBSHARINGCollectionLinkMetadataSerializer jsonDict[@"expires"] = [DBNSDateSerializer serialize:valueObj.expires dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGCollectionLinkMetadata *)deserialize:(NSDictionary *)valueDict { @@ -3602,7 +3602,7 @@ @implementation DBSHARINGCreateSharedLinkArgSerializer jsonDict[@"pending_upload"] = [DBSHARINGPendingUploadModeSerializer serialize:valueObj.pendingUpload]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGCreateSharedLinkArg *)deserialize:(NSDictionary *)valueDict { @@ -3766,7 +3766,7 @@ @implementation DBSHARINGCreateSharedLinkErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGCreateSharedLinkError *)deserialize:(NSDictionary *)valueDict { @@ -3894,7 +3894,7 @@ @implementation DBSHARINGCreateSharedLinkWithSettingsArgSerializer jsonDict[@"settings"] = [DBSHARINGSharedLinkSettingsSerializer serialize:valueObj.settings]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGCreateSharedLinkWithSettingsArg *)deserialize:(NSDictionary *)valueDict { @@ -4158,7 +4158,7 @@ @implementation DBSHARINGCreateSharedLinkWithSettingsErrorSerializer userInfo:nil]); } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGCreateSharedLinkWithSettingsError *)deserialize:(NSDictionary *)valueDict { @@ -4374,7 +4374,7 @@ @implementation DBSHARINGSharedContentLinkMetadataBaseSerializer jsonDict[@"expiry"] = [DBNSDateSerializer serialize:valueObj.expiry dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGSharedContentLinkMetadataBase *)deserialize:(NSDictionary *)valueDict { @@ -4595,7 +4595,7 @@ @implementation DBSHARINGExpectedSharedContentLinkMetadataSerializer jsonDict[@"expiry"] = [DBNSDateSerializer serialize:valueObj.expiry dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGExpectedSharedContentLinkMetadata *)deserialize:(NSDictionary *)valueDict { @@ -5000,7 +5000,7 @@ @implementation DBSHARINGFileActionSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGFileAction *)deserialize:(NSDictionary *)valueDict { @@ -5253,7 +5253,7 @@ @implementation DBSHARINGFileErrorResultSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGFileErrorResult *)deserialize:(NSDictionary *)valueDict { @@ -5480,7 +5480,7 @@ @implementation DBSHARINGSharedLinkMetadataSerializer jsonDict[@".tag"] = @"folder"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGSharedLinkMetadata *)deserialize:(NSDictionary *)valueDict { @@ -5747,7 +5747,7 @@ @implementation DBSHARINGFileLinkMetadataSerializer jsonDict[@"content_owner_team_info"] = [DBUSERSTeamSerializer serialize:valueObj.contentOwnerTeamInfo]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGFileLinkMetadata *)deserialize:(NSDictionary *)valueDict { @@ -6016,7 +6016,7 @@ @implementation DBSHARINGFileMemberActionErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGFileMemberActionError *)deserialize:(NSDictionary *)valueDict { @@ -6215,7 +6215,7 @@ @implementation DBSHARINGFileMemberActionIndividualResultSerializer userInfo:nil]); } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGFileMemberActionIndividualResult *)deserialize:(NSDictionary *)valueDict { @@ -6375,7 +6375,7 @@ @implementation DBSHARINGFileMemberActionResultSerializer }]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGFileMemberActionResult *)deserialize:(NSDictionary *)valueDict { @@ -6582,7 +6582,7 @@ @implementation DBSHARINGFileMemberRemoveActionResultSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGFileMemberRemoveActionResult *)deserialize:(NSDictionary *)valueDict { @@ -6719,7 +6719,7 @@ @implementation DBSHARINGFilePermissionSerializer jsonDict[@"reason"] = [DBSHARINGPermissionDeniedReasonSerializer serialize:valueObj.reason]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGFilePermission *)deserialize:(NSDictionary *)valueDict { @@ -7142,7 +7142,7 @@ @implementation DBSHARINGFolderActionSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGFolderAction *)deserialize:(NSDictionary *)valueDict { @@ -7371,7 +7371,7 @@ @implementation DBSHARINGFolderLinkMetadataSerializer jsonDict[@"content_owner_team_info"] = [DBUSERSTeamSerializer serialize:valueObj.contentOwnerTeamInfo]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGFolderLinkMetadata *)deserialize:(NSDictionary *)valueDict { @@ -7518,7 +7518,7 @@ @implementation DBSHARINGFolderPermissionSerializer jsonDict[@"reason"] = [DBSHARINGPermissionDeniedReasonSerializer serialize:valueObj.reason]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGFolderPermission *)deserialize:(NSDictionary *)valueDict { @@ -7680,7 +7680,7 @@ @implementation DBSHARINGFolderPolicySerializer jsonDict[@"viewer_info_policy"] = [DBSHARINGViewerInfoPolicySerializer serialize:valueObj.viewerInfoPolicy]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGFolderPolicy *)deserialize:(NSDictionary *)valueDict { @@ -7823,7 +7823,7 @@ @implementation DBSHARINGGetFileMetadataArgSerializer }]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGGetFileMetadataArg *)deserialize:(NSDictionary *)valueDict { @@ -7965,7 +7965,7 @@ @implementation DBSHARINGGetFileMetadataBatchArgSerializer }]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGGetFileMetadataBatchArg *)deserialize:(NSDictionary *)valueDict { @@ -8084,7 +8084,7 @@ @implementation DBSHARINGGetFileMetadataBatchResultSerializer jsonDict[@"file"] = valueObj.file; jsonDict[@"result"] = [DBSHARINGGetFileMetadataIndividualResultSerializer serialize:valueObj.result]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGGetFileMetadataBatchResult *)deserialize:(NSDictionary *)valueDict { @@ -8280,7 +8280,7 @@ @implementation DBSHARINGGetFileMetadataErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGGetFileMetadataError *)deserialize:(NSDictionary *)valueDict { @@ -8488,7 +8488,7 @@ @implementation DBSHARINGGetFileMetadataIndividualResultSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGGetFileMetadataIndividualResult *)deserialize:(NSDictionary *)valueDict { @@ -8623,7 +8623,7 @@ @implementation DBSHARINGGetMetadataArgsSerializer }]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGGetMetadataArgs *)deserialize:(NSDictionary *)valueDict { @@ -8818,7 +8818,7 @@ @implementation DBSHARINGSharedLinkErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGSharedLinkError *)deserialize:(NSDictionary *)valueDict { @@ -9039,7 +9039,7 @@ @implementation DBSHARINGGetSharedLinkFileErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGGetSharedLinkFileError *)deserialize:(NSDictionary *)valueDict { @@ -9180,7 +9180,7 @@ @implementation DBSHARINGGetSharedLinkMetadataArgSerializer jsonDict[@"link_password"] = valueObj.linkPassword; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGGetSharedLinkMetadataArg *)deserialize:(NSDictionary *)valueDict { @@ -9290,7 +9290,7 @@ @implementation DBSHARINGGetSharedLinksArgSerializer jsonDict[@"path"] = valueObj.path; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGGetSharedLinksArg *)deserialize:(NSDictionary *)valueDict { @@ -9455,7 +9455,7 @@ @implementation DBSHARINGGetSharedLinksErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGGetSharedLinksError *)deserialize:(NSDictionary *)valueDict { @@ -9568,7 +9568,7 @@ @implementation DBSHARINGGetSharedLinksResultSerializer return [DBSHARINGLinkMetadataSerializer serialize:elem0]; }]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGGetSharedLinksResult *)deserialize:(NSDictionary *)valueDict { @@ -9766,7 +9766,7 @@ @implementation DBSHARINGGroupInfoSerializer jsonDict[@"member_count"] = valueObj.memberCount; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGGroupInfo *)deserialize:(NSDictionary *)valueDict { @@ -9928,7 +9928,7 @@ @implementation DBSHARINGMembershipInfoSerializer } jsonDict[@"is_inherited"] = valueObj.isInherited; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGMembershipInfo *)deserialize:(NSDictionary *)valueDict { @@ -10090,7 +10090,7 @@ @implementation DBSHARINGGroupMembershipInfoSerializer } jsonDict[@"is_inherited"] = valueObj.isInherited; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGGroupMembershipInfo *)deserialize:(NSDictionary *)valueDict { @@ -10218,7 +10218,7 @@ @implementation DBSHARINGInsufficientPlanSerializer jsonDict[@"upsell_url"] = valueObj.upsellUrl; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGInsufficientPlan *)deserialize:(NSDictionary *)valueDict { @@ -10334,7 +10334,7 @@ @implementation DBSHARINGInsufficientQuotaAmountsSerializer jsonDict[@"space_shortage"] = valueObj.spaceShortage; jsonDict[@"space_left"] = valueObj.spaceLeft; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGInsufficientQuotaAmounts *)deserialize:(NSDictionary *)valueDict { @@ -10497,7 +10497,7 @@ @implementation DBSHARINGInviteeInfoSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGInviteeInfo *)deserialize:(NSDictionary *)valueDict { @@ -10669,7 +10669,7 @@ @implementation DBSHARINGInviteeMembershipInfoSerializer jsonDict[@"user"] = [DBSHARINGUserInfoSerializer serialize:valueObj.user]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGInviteeMembershipInfo *)deserialize:(NSDictionary *)valueDict { @@ -10915,7 +10915,7 @@ @implementation DBSHARINGJobErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGJobError *)deserialize:(NSDictionary *)valueDict { @@ -11116,7 +11116,7 @@ @implementation DBSHARINGJobStatusSerializer userInfo:nil]); } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGJobStatus *)deserialize:(NSDictionary *)valueDict { @@ -11296,7 +11296,7 @@ @implementation DBSHARINGLinkAccessLevelSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGLinkAccessLevel *)deserialize:(NSDictionary *)valueDict { @@ -11556,7 +11556,7 @@ @implementation DBSHARINGLinkActionSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGLinkAction *)deserialize:(NSDictionary *)valueDict { @@ -11803,7 +11803,7 @@ @implementation DBSHARINGLinkAudienceSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGLinkAudience *)deserialize:(NSDictionary *)valueDict { @@ -12070,7 +12070,7 @@ @implementation DBSHARINGVisibilityPolicyDisallowedReasonSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGVisibilityPolicyDisallowedReason *)deserialize:(NSDictionary *)valueDict { @@ -12339,7 +12339,7 @@ @implementation DBSHARINGLinkAudienceDisallowedReasonSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGLinkAudienceDisallowedReason *)deserialize:(NSDictionary *)valueDict { @@ -12482,7 +12482,7 @@ @implementation DBSHARINGLinkAudienceOptionSerializer [DBSHARINGLinkAudienceDisallowedReasonSerializer serialize:valueObj.disallowedReason]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGLinkAudienceOption *)deserialize:(NSDictionary *)valueDict { @@ -12668,7 +12668,7 @@ @implementation DBSHARINGLinkExpirySerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGLinkExpiry *)deserialize:(NSDictionary *)valueDict { @@ -12857,7 +12857,7 @@ @implementation DBSHARINGLinkPasswordSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGLinkPassword *)deserialize:(NSDictionary *)valueDict { @@ -12992,7 +12992,7 @@ @implementation DBSHARINGLinkPermissionSerializer jsonDict[@"reason"] = [DBSHARINGPermissionDeniedReasonSerializer serialize:valueObj.reason]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGLinkPermission *)deserialize:(NSDictionary *)valueDict { @@ -13339,7 +13339,7 @@ @implementation DBSHARINGLinkPermissionsSerializer jsonDict[@"can_use_extended_sharing_controls"] = valueObj.canUseExtendedSharingControls; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGLinkPermissions *)deserialize:(NSDictionary *)valueDict { @@ -13549,7 +13549,7 @@ @implementation DBSHARINGLinkSettingsSerializer jsonDict[@"password"] = [DBSHARINGLinkPasswordSerializer serialize:valueObj.password]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGLinkSettings *)deserialize:(NSDictionary *)valueDict { @@ -13698,7 +13698,7 @@ @implementation DBSHARINGListFileMembersArgSerializer jsonDict[@"include_inherited"] = valueObj.includeInherited; jsonDict[@"limit"] = valueObj.limit; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGListFileMembersArg *)deserialize:(NSDictionary *)valueDict { @@ -13831,7 +13831,7 @@ @implementation DBSHARINGListFileMembersBatchArgSerializer }]; jsonDict[@"limit"] = valueObj.limit; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGListFileMembersBatchArg *)deserialize:(NSDictionary *)valueDict { @@ -13945,7 +13945,7 @@ @implementation DBSHARINGListFileMembersBatchResultSerializer jsonDict[@"file"] = valueObj.file; jsonDict[@"result"] = [DBSHARINGListFileMembersIndividualResultSerializer serialize:valueObj.result]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGListFileMembersBatchResult *)deserialize:(NSDictionary *)valueDict { @@ -14046,7 +14046,7 @@ @implementation DBSHARINGListFileMembersContinueArgSerializer jsonDict[@"cursor"] = valueObj.cursor; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGListFileMembersContinueArg *)deserialize:(NSDictionary *)valueDict { @@ -14263,7 +14263,7 @@ @implementation DBSHARINGListFileMembersContinueErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGListFileMembersContinueError *)deserialize:(NSDictionary *)valueDict { @@ -14383,7 +14383,7 @@ @implementation DBSHARINGListFileMembersCountResultSerializer jsonDict[@"members"] = [DBSHARINGSharedFileMembersSerializer serialize:valueObj.members]; jsonDict[@"member_count"] = valueObj.memberCount; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGListFileMembersCountResult *)deserialize:(NSDictionary *)valueDict { @@ -14578,7 +14578,7 @@ @implementation DBSHARINGListFileMembersErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGListFileMembersError *)deserialize:(NSDictionary *)valueDict { @@ -14786,7 +14786,7 @@ @implementation DBSHARINGListFileMembersIndividualResultSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGListFileMembersIndividualResult *)deserialize:(NSDictionary *)valueDict { @@ -14919,7 +14919,7 @@ @implementation DBSHARINGListFilesArgSerializer }]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGListFilesArg *)deserialize:(NSDictionary *)valueDict { @@ -15024,7 +15024,7 @@ @implementation DBSHARINGListFilesContinueArgSerializer jsonDict[@"cursor"] = valueObj.cursor; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGListFilesContinueArg *)deserialize:(NSDictionary *)valueDict { @@ -15205,7 +15205,7 @@ @implementation DBSHARINGListFilesContinueErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGListFilesContinueError *)deserialize:(NSDictionary *)valueDict { @@ -15336,7 +15336,7 @@ @implementation DBSHARINGListFilesResultSerializer jsonDict[@"cursor"] = valueObj.cursor; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGListFilesResult *)deserialize:(NSDictionary *)valueDict { @@ -15463,7 +15463,7 @@ @implementation DBSHARINGListFolderMembersCursorArgSerializer } jsonDict[@"limit"] = valueObj.limit; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGListFolderMembersCursorArg *)deserialize:(NSDictionary *)valueDict { @@ -15600,7 +15600,7 @@ @implementation DBSHARINGListFolderMembersArgsSerializer } jsonDict[@"limit"] = valueObj.limit; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGListFolderMembersArgs *)deserialize:(NSDictionary *)valueDict { @@ -15706,7 +15706,7 @@ @implementation DBSHARINGListFolderMembersContinueArgSerializer jsonDict[@"cursor"] = valueObj.cursor; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGListFolderMembersContinueArg *)deserialize:(NSDictionary *)valueDict { @@ -15890,7 +15890,7 @@ @implementation DBSHARINGListFolderMembersContinueErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGListFolderMembersContinueError *)deserialize:(NSDictionary *)valueDict { @@ -16022,7 +16022,7 @@ @implementation DBSHARINGListFoldersArgsSerializer }]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGListFoldersArgs *)deserialize:(NSDictionary *)valueDict { @@ -16127,7 +16127,7 @@ @implementation DBSHARINGListFoldersContinueArgSerializer jsonDict[@"cursor"] = valueObj.cursor; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGListFoldersContinueArg *)deserialize:(NSDictionary *)valueDict { @@ -16274,7 +16274,7 @@ @implementation DBSHARINGListFoldersContinueErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGListFoldersContinueError *)deserialize:(NSDictionary *)valueDict { @@ -16402,7 +16402,7 @@ @implementation DBSHARINGListFoldersResultSerializer jsonDict[@"cursor"] = valueObj.cursor; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGListFoldersResult *)deserialize:(NSDictionary *)valueDict { @@ -16544,7 +16544,7 @@ @implementation DBSHARINGListSharedLinksArgSerializer jsonDict[@"direct_only"] = valueObj.directOnly; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGListSharedLinksArg *)deserialize:(NSDictionary *)valueDict { @@ -16727,7 +16727,7 @@ @implementation DBSHARINGListSharedLinksErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGListSharedLinksError *)deserialize:(NSDictionary *)valueDict { @@ -16867,7 +16867,7 @@ @implementation DBSHARINGListSharedLinksResultSerializer jsonDict[@"cursor"] = valueObj.cursor; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGListSharedLinksResult *)deserialize:(NSDictionary *)valueDict { @@ -17017,7 +17017,7 @@ @implementation DBSHARINGMemberAccessLevelResultSerializer }]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGMemberAccessLevelResult *)deserialize:(NSDictionary *)valueDict { @@ -17280,7 +17280,7 @@ @implementation DBSHARINGMemberActionSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGMemberAction *)deserialize:(NSDictionary *)valueDict { @@ -17422,7 +17422,7 @@ @implementation DBSHARINGMemberPermissionSerializer jsonDict[@"reason"] = [DBSHARINGPermissionDeniedReasonSerializer serialize:valueObj.reason]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGMemberPermission *)deserialize:(NSDictionary *)valueDict { @@ -17593,7 +17593,7 @@ @implementation DBSHARINGMemberPolicySerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGMemberPolicy *)deserialize:(NSDictionary *)valueDict { @@ -17792,7 +17792,7 @@ @implementation DBSHARINGMemberSelectorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGMemberSelector *)deserialize:(NSDictionary *)valueDict { @@ -17921,7 +17921,7 @@ @implementation DBSHARINGModifySharedLinkSettingsArgsSerializer jsonDict[@"settings"] = [DBSHARINGSharedLinkSettingsSerializer serialize:valueObj.settings]; jsonDict[@"remove_expiration"] = valueObj.removeExpiration; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGModifySharedLinkSettingsArgs *)deserialize:(NSDictionary *)valueDict { @@ -18173,7 +18173,7 @@ @implementation DBSHARINGModifySharedLinkSettingsErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGModifySharedLinkSettingsError *)deserialize:(NSDictionary *)valueDict { @@ -18289,7 +18289,7 @@ @implementation DBSHARINGMountFolderArgSerializer jsonDict[@"shared_folder_id"] = valueObj.sharedFolderId; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGMountFolderArg *)deserialize:(NSDictionary *)valueDict { @@ -18569,7 +18569,7 @@ @implementation DBSHARINGMountFolderErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGMountFolderError *)deserialize:(NSDictionary *)valueDict { @@ -18720,7 +18720,7 @@ @implementation DBSHARINGParentFolderAccessInfoSerializer }]; jsonDict[@"path"] = valueObj.path; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGParentFolderAccessInfo *)deserialize:(NSDictionary *)valueDict { @@ -18861,7 +18861,7 @@ @implementation DBSHARINGPathLinkMetadataSerializer jsonDict[@"expires"] = [DBNSDateSerializer serialize:valueObj.expires dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGPathLinkMetadata *)deserialize:(NSDictionary *)valueDict { @@ -19015,7 +19015,7 @@ @implementation DBSHARINGPendingUploadModeSerializer userInfo:nil]); } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGPendingUploadMode *)deserialize:(NSDictionary *)valueDict { @@ -19479,7 +19479,7 @@ @implementation DBSHARINGPermissionDeniedReasonSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGPermissionDeniedReason *)deserialize:(NSDictionary *)valueDict { @@ -19616,7 +19616,7 @@ @implementation DBSHARINGRelinquishFileMembershipArgSerializer jsonDict[@"file"] = valueObj.file; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGRelinquishFileMembershipArg *)deserialize:(NSDictionary *)valueDict { @@ -19821,7 +19821,7 @@ @implementation DBSHARINGRelinquishFileMembershipErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGRelinquishFileMembershipError *)deserialize:(NSDictionary *)valueDict { @@ -19944,7 +19944,7 @@ @implementation DBSHARINGRelinquishFolderMembershipArgSerializer jsonDict[@"shared_folder_id"] = valueObj.sharedFolderId; jsonDict[@"leave_a_copy"] = valueObj.leaveACopy; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGRelinquishFolderMembershipArg *)deserialize:(NSDictionary *)valueDict { @@ -20234,7 +20234,7 @@ @implementation DBSHARINGRelinquishFolderMembershipErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGRelinquishFolderMembershipError *)deserialize:(NSDictionary *)valueDict { @@ -20364,7 +20364,7 @@ @implementation DBSHARINGRemoveFileMemberArgSerializer jsonDict[@"file"] = valueObj.file; jsonDict[@"member"] = [DBSHARINGMemberSelectorSerializer serialize:valueObj.member]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGRemoveFileMemberArg *)deserialize:(NSDictionary *)valueDict { @@ -20594,7 +20594,7 @@ @implementation DBSHARINGRemoveFileMemberErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGRemoveFileMemberError *)deserialize:(NSDictionary *)valueDict { @@ -20726,7 +20726,7 @@ @implementation DBSHARINGRemoveFolderMemberArgSerializer jsonDict[@"member"] = [DBSHARINGMemberSelectorSerializer serialize:valueObj.member]; jsonDict[@"leave_a_copy"] = valueObj.leaveACopy; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGRemoveFolderMemberArg *)deserialize:(NSDictionary *)valueDict { @@ -21032,7 +21032,7 @@ @implementation DBSHARINGRemoveFolderMemberErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGRemoveFolderMemberError *)deserialize:(NSDictionary *)valueDict { @@ -21250,7 +21250,7 @@ @implementation DBSHARINGRemoveMemberJobStatusSerializer userInfo:nil]); } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGRemoveMemberJobStatus *)deserialize:(NSDictionary *)valueDict { @@ -21474,7 +21474,7 @@ @implementation DBSHARINGRequestedLinkAccessLevelSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGRequestedLinkAccessLevel *)deserialize:(NSDictionary *)valueDict { @@ -21585,7 +21585,7 @@ @implementation DBSHARINGRevokeSharedLinkArgSerializer jsonDict[@"url"] = valueObj.url; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGRevokeSharedLinkArg *)deserialize:(NSDictionary *)valueDict { @@ -21796,7 +21796,7 @@ @implementation DBSHARINGRevokeSharedLinkErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGRevokeSharedLinkError *)deserialize:(NSDictionary *)valueDict { @@ -21920,7 +21920,7 @@ @implementation DBSHARINGSetAccessInheritanceArgSerializer jsonDict[@"shared_folder_id"] = valueObj.sharedFolderId; jsonDict[@"access_inheritance"] = [DBSHARINGAccessInheritanceSerializer serialize:valueObj.accessInheritance]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGSetAccessInheritanceArg *)deserialize:(NSDictionary *)valueDict { @@ -22108,7 +22108,7 @@ @implementation DBSHARINGSetAccessInheritanceErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGSetAccessInheritanceError *)deserialize:(NSDictionary *)valueDict { @@ -22301,7 +22301,7 @@ @implementation DBSHARINGShareFolderArgBaseSerializer } jsonDict[@"access_inheritance"] = [DBSHARINGAccessInheritanceSerializer serialize:valueObj.accessInheritance]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGShareFolderArgBase *)deserialize:(NSDictionary *)valueDict { @@ -22545,7 +22545,7 @@ @implementation DBSHARINGShareFolderArgSerializer jsonDict[@"link_settings"] = [DBSHARINGLinkSettingsSerializer serialize:valueObj.linkSettings]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGShareFolderArg *)deserialize:(NSDictionary *)valueDict { @@ -22802,7 +22802,7 @@ @implementation DBSHARINGShareFolderErrorBaseSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGShareFolderErrorBase *)deserialize:(NSDictionary *)valueDict { @@ -23060,7 +23060,7 @@ @implementation DBSHARINGShareFolderErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGShareFolderError *)deserialize:(NSDictionary *)valueDict { @@ -23271,7 +23271,7 @@ @implementation DBSHARINGShareFolderJobStatusSerializer userInfo:nil]); } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGShareFolderJobStatus *)deserialize:(NSDictionary *)valueDict { @@ -23458,7 +23458,7 @@ @implementation DBSHARINGShareFolderLaunchSerializer userInfo:nil]); } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGShareFolderLaunch *)deserialize:(NSDictionary *)valueDict { @@ -23944,7 +23944,7 @@ @implementation DBSHARINGSharePathErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGSharePathError *)deserialize:(NSDictionary *)valueDict { @@ -24198,7 +24198,7 @@ @implementation DBSHARINGSharedContentLinkMetadataSerializer jsonDict[@"audience_exceptions"] = [DBSHARINGAudienceExceptionsSerializer serialize:valueObj.audienceExceptions]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGSharedContentLinkMetadata *)deserialize:(NSDictionary *)valueDict { @@ -24387,7 +24387,7 @@ @implementation DBSHARINGSharedFileMembersSerializer jsonDict[@"cursor"] = valueObj.cursor; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGSharedFileMembers *)deserialize:(NSDictionary *)valueDict { @@ -24699,7 +24699,7 @@ @implementation DBSHARINGSharedFileMetadataSerializer jsonDict[@"time_invited"] = [DBNSDateSerializer serialize:valueObj.timeInvited dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGSharedFileMetadata *)deserialize:(NSDictionary *)valueDict { @@ -24976,7 +24976,7 @@ @implementation DBSHARINGSharedFolderAccessErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGSharedFolderAccessError *)deserialize:(NSDictionary *)valueDict { @@ -25194,7 +25194,7 @@ @implementation DBSHARINGSharedFolderMemberErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGSharedFolderMemberError *)deserialize:(NSDictionary *)valueDict { @@ -25361,7 +25361,7 @@ @implementation DBSHARINGSharedFolderMembersSerializer jsonDict[@"cursor"] = valueObj.cursor; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGSharedFolderMembers *)deserialize:(NSDictionary *)valueDict { @@ -25595,7 +25595,7 @@ @implementation DBSHARINGSharedFolderMetadataBaseSerializer jsonDict[@"parent_folder_name"] = valueObj.parentFolderName; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGSharedFolderMetadataBase *)deserialize:(NSDictionary *)valueDict { @@ -25934,7 +25934,7 @@ @implementation DBSHARINGSharedFolderMetadataSerializer } jsonDict[@"access_inheritance"] = [DBSHARINGAccessInheritanceSerializer serialize:valueObj.accessInheritance]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGSharedFolderMetadata *)deserialize:(NSDictionary *)valueDict { @@ -26215,7 +26215,7 @@ @implementation DBSHARINGSharedLinkAccessFailureReasonSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGSharedLinkAccessFailureReason *)deserialize:(NSDictionary *)valueDict { @@ -26391,7 +26391,7 @@ @implementation DBSHARINGSharedLinkAlreadyExistsMetadataSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGSharedLinkAlreadyExistsMetadata *)deserialize:(NSDictionary *)valueDict { @@ -26587,7 +26587,7 @@ @implementation DBSHARINGSharedLinkPolicySerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGSharedLinkPolicy *)deserialize:(NSDictionary *)valueDict { @@ -26792,7 +26792,7 @@ @implementation DBSHARINGSharedLinkSettingsSerializer jsonDict[@"allow_download"] = valueObj.allowDownload; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGSharedLinkSettings *)deserialize:(NSDictionary *)valueDict { @@ -26960,7 +26960,7 @@ @implementation DBSHARINGSharedLinkSettingsErrorSerializer userInfo:nil]); } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGSharedLinkSettingsError *)deserialize:(NSDictionary *)valueDict { @@ -27200,7 +27200,7 @@ @implementation DBSHARINGSharingFileAccessErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGSharingFileAccessError *)deserialize:(NSDictionary *)valueDict { @@ -27361,7 +27361,7 @@ @implementation DBSHARINGSharingUserErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGSharingUserError *)deserialize:(NSDictionary *)valueDict { @@ -27492,7 +27492,7 @@ @implementation DBSHARINGTeamMemberInfoSerializer jsonDict[@"member_id"] = valueObj.memberId; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGTeamMemberInfo *)deserialize:(NSDictionary *)valueDict { @@ -27601,7 +27601,7 @@ @implementation DBSHARINGTransferFolderArgSerializer jsonDict[@"shared_folder_id"] = valueObj.sharedFolderId; jsonDict[@"to_dropbox_id"] = valueObj.toDropboxId; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGTransferFolderArg *)deserialize:(NSDictionary *)valueDict { @@ -27889,7 +27889,7 @@ @implementation DBSHARINGTransferFolderErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGTransferFolderError *)deserialize:(NSDictionary *)valueDict { @@ -28009,7 +28009,7 @@ @implementation DBSHARINGUnmountFolderArgSerializer jsonDict[@"shared_folder_id"] = valueObj.sharedFolderId; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGUnmountFolderArg *)deserialize:(NSDictionary *)valueDict { @@ -28212,7 +28212,7 @@ @implementation DBSHARINGUnmountFolderErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGUnmountFolderError *)deserialize:(NSDictionary *)valueDict { @@ -28326,7 +28326,7 @@ @implementation DBSHARINGUnshareFileArgSerializer jsonDict[@"file"] = valueObj.file; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGUnshareFileArg *)deserialize:(NSDictionary *)valueDict { @@ -28520,7 +28520,7 @@ @implementation DBSHARINGUnshareFileErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGUnshareFileError *)deserialize:(NSDictionary *)valueDict { @@ -28641,7 +28641,7 @@ @implementation DBSHARINGUnshareFolderArgSerializer jsonDict[@"shared_folder_id"] = valueObj.sharedFolderId; jsonDict[@"leave_a_copy"] = valueObj.leaveACopy; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGUnshareFolderArg *)deserialize:(NSDictionary *)valueDict { @@ -28866,7 +28866,7 @@ @implementation DBSHARINGUnshareFolderErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGUnshareFolderError *)deserialize:(NSDictionary *)valueDict { @@ -29000,7 +29000,7 @@ @implementation DBSHARINGUpdateFileMemberArgsSerializer jsonDict[@"member"] = [DBSHARINGMemberSelectorSerializer serialize:valueObj.member]; jsonDict[@"access_level"] = [DBSHARINGAccessLevelSerializer serialize:valueObj.accessLevel]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGUpdateFileMemberArgs *)deserialize:(NSDictionary *)valueDict { @@ -29120,7 +29120,7 @@ @implementation DBSHARINGUpdateFolderMemberArgSerializer jsonDict[@"member"] = [DBSHARINGMemberSelectorSerializer serialize:valueObj.member]; jsonDict[@"access_level"] = [DBSHARINGAccessLevelSerializer serialize:valueObj.accessLevel]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGUpdateFolderMemberArg *)deserialize:(NSDictionary *)valueDict { @@ -29398,7 +29398,7 @@ @implementation DBSHARINGUpdateFolderMemberErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGUpdateFolderMemberError *)deserialize:(NSDictionary *)valueDict { @@ -29619,7 +29619,7 @@ @implementation DBSHARINGUpdateFolderPolicyArgSerializer }]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGUpdateFolderPolicyArg *)deserialize:(NSDictionary *)valueDict { @@ -29913,7 +29913,7 @@ @implementation DBSHARINGUpdateFolderPolicyErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGUpdateFolderPolicyError *)deserialize:(NSDictionary *)valueDict { @@ -30082,7 +30082,7 @@ @implementation DBSHARINGUserMembershipInfoSerializer } jsonDict[@"is_inherited"] = valueObj.isInherited; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGUserMembershipInfo *)deserialize:(NSDictionary *)valueDict { @@ -30279,7 +30279,7 @@ @implementation DBSHARINGUserFileMembershipInfoSerializer jsonDict[@"platform_type"] = [DBSEENSTATEPlatformTypeSerializer serialize:valueObj.platformType]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGUserFileMembershipInfo *)deserialize:(NSDictionary *)valueDict { @@ -30442,7 +30442,7 @@ @implementation DBSHARINGUserInfoSerializer jsonDict[@"team_member_id"] = valueObj.teamMemberId; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGUserInfo *)deserialize:(NSDictionary *)valueDict { @@ -30618,7 +30618,7 @@ @implementation DBSHARINGViewerInfoPolicySerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGViewerInfoPolicy *)deserialize:(NSDictionary *)valueDict { @@ -30857,7 +30857,7 @@ @implementation DBSHARINGVisibilitySerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGVisibility *)deserialize:(NSDictionary *)valueDict { @@ -31009,7 +31009,7 @@ @implementation DBSHARINGVisibilityPolicySerializer [DBSHARINGVisibilityPolicyDisallowedReasonSerializer serialize:valueObj.disallowedReason]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBSHARINGVisibilityPolicy *)deserialize:(NSDictionary *)valueDict { diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/DBTeamObjects.m b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/DBTeamObjects.m index f6b83319b..bddd9fa29 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/DBTeamObjects.m +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/DBTeamObjects.m @@ -150,7 +150,7 @@ @implementation DBTEAMDeviceSessionSerializer jsonDict[@"updated"] = [DBNSDateSerializer serialize:valueObj.updated dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMDeviceSession *)deserialize:(NSDictionary *)valueDict { @@ -361,7 +361,7 @@ @implementation DBTEAMActiveWebSessionSerializer jsonDict[@"expires"] = [DBNSDateSerializer serialize:valueObj.expires dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMActiveWebSession *)deserialize:(NSDictionary *)valueDict { @@ -803,7 +803,7 @@ @implementation DBTEAMAddSecondaryEmailResultSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMAddSecondaryEmailResult *)deserialize:(NSDictionary *)valueDict { @@ -941,7 +941,7 @@ @implementation DBTEAMAddSecondaryEmailsArgSerializer return [DBTEAMUserSecondaryEmailsArgSerializer serialize:elem0]; }]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMAddSecondaryEmailsArg *)deserialize:(NSDictionary *)valueDict { @@ -1113,7 +1113,7 @@ @implementation DBTEAMAddSecondaryEmailsErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMAddSecondaryEmailsError *)deserialize:(NSDictionary *)valueDict { @@ -1227,7 +1227,7 @@ @implementation DBTEAMAddSecondaryEmailsResultSerializer return [DBTEAMUserAddResultSerializer serialize:elem0]; }]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMAddSecondaryEmailsResult *)deserialize:(NSDictionary *)valueDict { @@ -1422,7 +1422,7 @@ @implementation DBTEAMAdminTierSerializer userInfo:nil]); } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMAdminTier *)deserialize:(NSDictionary *)valueDict { @@ -1593,7 +1593,7 @@ @implementation DBTEAMApiAppSerializer jsonDict[@"linked"] = [DBNSDateSerializer serialize:valueObj.linked dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMApiApp *)deserialize:(NSDictionary *)valueDict { @@ -1704,7 +1704,7 @@ @implementation DBTEAMBaseDfbReportSerializer jsonDict[@"start_date"] = valueObj.startDate; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMBaseDfbReport *)deserialize:(NSDictionary *)valueDict { @@ -1933,7 +1933,7 @@ @implementation DBTEAMBaseTeamFolderErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMBaseTeamFolderError *)deserialize:(NSDictionary *)valueDict { @@ -2096,7 +2096,7 @@ @implementation DBTEAMCustomQuotaErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMCustomQuotaError *)deserialize:(NSDictionary *)valueDict { @@ -2295,7 +2295,7 @@ @implementation DBTEAMCustomQuotaResultSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMCustomQuotaResult *)deserialize:(NSDictionary *)valueDict { @@ -2411,7 +2411,7 @@ @implementation DBTEAMCustomQuotaUsersArgSerializer return [DBTEAMUserSelectorArgSerializer serialize:elem0]; }]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMCustomQuotaUsersArg *)deserialize:(NSDictionary *)valueDict { @@ -2535,7 +2535,7 @@ @implementation DBTEAMDateRangeSerializer jsonDict[@"end_date"] = [DBNSDateSerializer serialize:valueObj.endDate dateFormat:@"%Y-%m-%d"]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMDateRange *)deserialize:(NSDictionary *)valueDict { @@ -2664,7 +2664,7 @@ @implementation DBTEAMDateRangeErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMDateRangeError *)deserialize:(NSDictionary *)valueDict { @@ -2892,7 +2892,7 @@ @implementation DBTEAMDeleteSecondaryEmailResultSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMDeleteSecondaryEmailResult *)deserialize:(NSDictionary *)valueDict { @@ -3011,7 +3011,7 @@ @implementation DBTEAMDeleteSecondaryEmailsArgSerializer return [DBTEAMUserSecondaryEmailsArgSerializer serialize:elem0]; }]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMDeleteSecondaryEmailsArg *)deserialize:(NSDictionary *)valueDict { @@ -3121,7 +3121,7 @@ @implementation DBTEAMDeleteSecondaryEmailsResultSerializer return [DBTEAMUserDeleteResultSerializer serialize:elem0]; }]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMDeleteSecondaryEmailsResult *)deserialize:(NSDictionary *)valueDict { @@ -3331,7 +3331,7 @@ @implementation DBTEAMDesktopClientSessionSerializer jsonDict[@"updated"] = [DBNSDateSerializer serialize:valueObj.updated dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMDesktopClientSession *)deserialize:(NSDictionary *)valueDict { @@ -3542,7 +3542,7 @@ @implementation DBTEAMDesktopPlatformSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMDesktopPlatform *)deserialize:(NSDictionary *)valueDict { @@ -3658,7 +3658,7 @@ @implementation DBTEAMDeviceSessionArgSerializer jsonDict[@"session_id"] = valueObj.sessionId; jsonDict[@"team_member_id"] = valueObj.teamMemberId; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMDeviceSessionArg *)deserialize:(NSDictionary *)valueDict { @@ -3827,7 +3827,7 @@ @implementation DBTEAMDevicesActiveSerializer return elem0; }]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMDevicesActive *)deserialize:(NSDictionary *)valueDict { @@ -3962,7 +3962,7 @@ @implementation DBTEAMExcludedUsersListArgSerializer jsonDict[@"limit"] = valueObj.limit; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMExcludedUsersListArg *)deserialize:(NSDictionary *)valueDict { @@ -4061,7 +4061,7 @@ @implementation DBTEAMExcludedUsersListContinueArgSerializer jsonDict[@"cursor"] = valueObj.cursor; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMExcludedUsersListContinueArg *)deserialize:(NSDictionary *)valueDict { @@ -4209,7 +4209,7 @@ @implementation DBTEAMExcludedUsersListContinueErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMExcludedUsersListContinueError *)deserialize:(NSDictionary *)valueDict { @@ -4362,7 +4362,7 @@ @implementation DBTEAMExcludedUsersListErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMExcludedUsersListError *)deserialize:(NSDictionary *)valueDict { @@ -4499,7 +4499,7 @@ @implementation DBTEAMExcludedUsersListResultSerializer jsonDict[@"cursor"] = valueObj.cursor; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMExcludedUsersListResult *)deserialize:(NSDictionary *)valueDict { @@ -4621,7 +4621,7 @@ @implementation DBTEAMExcludedUsersUpdateArgSerializer }]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMExcludedUsersUpdateArg *)deserialize:(NSDictionary *)valueDict { @@ -4794,7 +4794,7 @@ @implementation DBTEAMExcludedUsersUpdateErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMExcludedUsersUpdateError *)deserialize:(NSDictionary *)valueDict { @@ -4902,7 +4902,7 @@ @implementation DBTEAMExcludedUsersUpdateResultSerializer jsonDict[@"status"] = [DBTEAMExcludedUsersUpdateStatusSerializer serialize:valueObj.status]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMExcludedUsersUpdateResult *)deserialize:(NSDictionary *)valueDict { @@ -5050,7 +5050,7 @@ @implementation DBTEAMExcludedUsersUpdateStatusSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMExcludedUsersUpdateStatus *)deserialize:(NSDictionary *)valueDict { @@ -5266,7 +5266,7 @@ @implementation DBTEAMFeatureSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMFeature *)deserialize:(NSDictionary *)valueDict { @@ -5541,7 +5541,7 @@ @implementation DBTEAMFeatureValueSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMFeatureValue *)deserialize:(NSDictionary *)valueDict { @@ -5667,7 +5667,7 @@ @implementation DBTEAMFeaturesGetValuesBatchArgSerializer return [DBTEAMFeatureSerializer serialize:elem0]; }]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMFeaturesGetValuesBatchArg *)deserialize:(NSDictionary *)valueDict { @@ -5817,7 +5817,7 @@ @implementation DBTEAMFeaturesGetValuesBatchErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMFeaturesGetValuesBatchError *)deserialize:(NSDictionary *)valueDict { @@ -5929,7 +5929,7 @@ @implementation DBTEAMFeaturesGetValuesBatchResultSerializer return [DBTEAMFeatureValueSerializer serialize:elem0]; }]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMFeaturesGetValuesBatchResult *)deserialize:(NSDictionary *)valueDict { @@ -6199,7 +6199,7 @@ @implementation DBTEAMGetActivityReportSerializer return elem0; }]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMGetActivityReport *)deserialize:(NSDictionary *)valueDict { @@ -6399,7 +6399,7 @@ @implementation DBTEAMGetDevicesReportSerializer jsonDict[@"active_7_day"] = [DBTEAMDevicesActiveSerializer serialize:valueObj.active7Day]; jsonDict[@"active_28_day"] = [DBTEAMDevicesActiveSerializer serialize:valueObj.active28Day]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMGetDevicesReport *)deserialize:(NSDictionary *)valueDict { @@ -6562,7 +6562,7 @@ @implementation DBTEAMGetMembershipReportSerializer return elem0; }]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMGetMembershipReport *)deserialize:(NSDictionary *)valueDict { @@ -6760,7 +6760,7 @@ @implementation DBTEAMGetStorageReportSerializer }]; }]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMGetStorageReport *)deserialize:(NSDictionary *)valueDict { @@ -6938,7 +6938,7 @@ @implementation DBTEAMGroupAccessTypeSerializer userInfo:nil]); } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMGroupAccessType *)deserialize:(NSDictionary *)valueDict { @@ -7085,7 +7085,7 @@ @implementation DBTEAMGroupCreateArgSerializer [DBTEAMCOMMONGroupManagementTypeSerializer serialize:valueObj.groupManagementType]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMGroupCreateArg *)deserialize:(NSDictionary *)valueDict { @@ -7304,7 +7304,7 @@ @implementation DBTEAMGroupCreateErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMGroupCreateError *)deserialize:(NSDictionary *)valueDict { @@ -7463,7 +7463,7 @@ @implementation DBTEAMGroupSelectorErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMGroupSelectorError *)deserialize:(NSDictionary *)valueDict { @@ -7639,7 +7639,7 @@ @implementation DBTEAMGroupSelectorWithTeamGroupErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMGroupSelectorWithTeamGroupError *)deserialize:(NSDictionary *)valueDict { @@ -7837,7 +7837,7 @@ @implementation DBTEAMGroupDeleteErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMGroupDeleteError *)deserialize:(NSDictionary *)valueDict { @@ -8032,7 +8032,7 @@ @implementation DBTEAMGroupFullInfoSerializer }]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMGroupFullInfo *)deserialize:(NSDictionary *)valueDict { @@ -8158,7 +8158,7 @@ @implementation DBTEAMGroupMemberInfoSerializer jsonDict[@"profile"] = [DBTEAMMemberProfileSerializer serialize:valueObj.profile]; jsonDict[@"access_type"] = [DBTEAMGroupAccessTypeSerializer serialize:valueObj.accessType]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMGroupMemberInfo *)deserialize:(NSDictionary *)valueDict { @@ -8267,7 +8267,7 @@ @implementation DBTEAMGroupMemberSelectorSerializer jsonDict[@"group"] = [DBTEAMGroupSelectorSerializer serialize:valueObj.group]; jsonDict[@"user"] = [DBTEAMUserSelectorArgSerializer serialize:valueObj.user]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMGroupMemberSelector *)deserialize:(NSDictionary *)valueDict { @@ -8458,7 +8458,7 @@ @implementation DBTEAMGroupMemberSelectorErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMGroupMemberSelectorError *)deserialize:(NSDictionary *)valueDict { @@ -8679,7 +8679,7 @@ @implementation DBTEAMGroupMemberSetAccessTypeErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMGroupMemberSetAccessTypeError *)deserialize:(NSDictionary *)valueDict { @@ -8793,7 +8793,7 @@ @implementation DBTEAMIncludeMembersArgSerializer jsonDict[@"return_members"] = valueObj.returnMembers; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMIncludeMembersArg *)deserialize:(NSDictionary *)valueDict { @@ -8919,7 +8919,7 @@ @implementation DBTEAMGroupMembersAddArgSerializer }]; jsonDict[@"return_members"] = valueObj.returnMembers; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMGroupMembersAddArg *)deserialize:(NSDictionary *)valueDict { @@ -9269,7 +9269,7 @@ @implementation DBTEAMGroupMembersAddErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMGroupMembersAddError *)deserialize:(NSDictionary *)valueDict { @@ -9410,7 +9410,7 @@ @implementation DBTEAMGroupMembersChangeResultSerializer jsonDict[@"group_info"] = [DBTEAMGroupFullInfoSerializer serialize:valueObj.groupInfo]; jsonDict[@"async_job_id"] = valueObj.asyncJobId; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMGroupMembersChangeResult *)deserialize:(NSDictionary *)valueDict { @@ -9537,7 +9537,7 @@ @implementation DBTEAMGroupMembersRemoveArgSerializer }]; jsonDict[@"return_members"] = valueObj.returnMembers; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMGroupMembersRemoveArg *)deserialize:(NSDictionary *)valueDict { @@ -9733,7 +9733,7 @@ @implementation DBTEAMGroupMembersSelectorErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMGroupMembersSelectorError *)deserialize:(NSDictionary *)valueDict { @@ -10027,7 +10027,7 @@ @implementation DBTEAMGroupMembersRemoveErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMGroupMembersRemoveError *)deserialize:(NSDictionary *)valueDict { @@ -10159,7 +10159,7 @@ @implementation DBTEAMGroupMembersSelectorSerializer jsonDict[@"group"] = [DBTEAMGroupSelectorSerializer serialize:valueObj.group]; jsonDict[@"users"] = [DBTEAMUsersSelectorArgSerializer serialize:valueObj.users]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMGroupMembersSelector *)deserialize:(NSDictionary *)valueDict { @@ -10290,7 +10290,7 @@ @implementation DBTEAMGroupMembersSetAccessTypeArgSerializer jsonDict[@"access_type"] = [DBTEAMGroupAccessTypeSerializer serialize:valueObj.accessType]; jsonDict[@"return_members"] = valueObj.returnMembers; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMGroupMembersSetAccessTypeArg *)deserialize:(NSDictionary *)valueDict { @@ -10468,7 +10468,7 @@ @implementation DBTEAMGroupSelectorSerializer userInfo:nil]); } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMGroupSelector *)deserialize:(NSDictionary *)valueDict { @@ -10635,7 +10635,7 @@ @implementation DBTEAMGroupUpdateArgsSerializer [DBTEAMCOMMONGroupManagementTypeSerializer serialize:valueObj.dNewGroupManagementType]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMGroupUpdateArgs *)deserialize:(NSDictionary *)valueDict { @@ -10878,7 +10878,7 @@ @implementation DBTEAMGroupUpdateErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMGroupUpdateError *)deserialize:(NSDictionary *)valueDict { @@ -11039,7 +11039,7 @@ @implementation DBTEAMGroupsGetInfoErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMGroupsGetInfoError *)deserialize:(NSDictionary *)valueDict { @@ -11218,7 +11218,7 @@ @implementation DBTEAMGroupsGetInfoItemSerializer userInfo:nil]); } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMGroupsGetInfoItem *)deserialize:(NSDictionary *)valueDict { @@ -11331,7 +11331,7 @@ @implementation DBTEAMGroupsListArgSerializer jsonDict[@"limit"] = valueObj.limit; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMGroupsListArg *)deserialize:(NSDictionary *)valueDict { @@ -11430,7 +11430,7 @@ @implementation DBTEAMGroupsListContinueArgSerializer jsonDict[@"cursor"] = valueObj.cursor; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMGroupsListContinueArg *)deserialize:(NSDictionary *)valueDict { @@ -11577,7 +11577,7 @@ @implementation DBTEAMGroupsListContinueErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMGroupsListContinueError *)deserialize:(NSDictionary *)valueDict { @@ -11705,7 +11705,7 @@ @implementation DBTEAMGroupsListResultSerializer jsonDict[@"cursor"] = valueObj.cursor; jsonDict[@"has_more"] = valueObj.hasMore; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMGroupsListResult *)deserialize:(NSDictionary *)valueDict { @@ -11821,7 +11821,7 @@ @implementation DBTEAMGroupsMembersListArgSerializer jsonDict[@"group"] = [DBTEAMGroupSelectorSerializer serialize:valueObj.group]; jsonDict[@"limit"] = valueObj.limit; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMGroupsMembersListArg *)deserialize:(NSDictionary *)valueDict { @@ -11921,7 +11921,7 @@ @implementation DBTEAMGroupsMembersListContinueArgSerializer jsonDict[@"cursor"] = valueObj.cursor; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMGroupsMembersListContinueArg *)deserialize:(NSDictionary *)valueDict { @@ -12069,7 +12069,7 @@ @implementation DBTEAMGroupsMembersListContinueErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMGroupsMembersListContinueError *)deserialize:(NSDictionary *)valueDict { @@ -12197,7 +12197,7 @@ @implementation DBTEAMGroupsMembersListResultSerializer jsonDict[@"cursor"] = valueObj.cursor; jsonDict[@"has_more"] = valueObj.hasMore; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMGroupsMembersListResult *)deserialize:(NSDictionary *)valueDict { @@ -12393,7 +12393,7 @@ @implementation DBTEAMGroupsPollErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMGroupsPollError *)deserialize:(NSDictionary *)valueDict { @@ -12581,7 +12581,7 @@ @implementation DBTEAMGroupsSelectorSerializer userInfo:nil]); } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMGroupsSelector *)deserialize:(NSDictionary *)valueDict { @@ -12757,7 +12757,7 @@ @implementation DBTEAMHasTeamFileEventsValueSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMHasTeamFileEventsValue *)deserialize:(NSDictionary *)valueDict { @@ -12924,7 +12924,7 @@ @implementation DBTEAMHasTeamSelectiveSyncValueSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMHasTeamSelectiveSyncValue *)deserialize:(NSDictionary *)valueDict { @@ -13091,7 +13091,7 @@ @implementation DBTEAMHasTeamSharedDropboxValueSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMHasTeamSharedDropboxValue *)deserialize:(NSDictionary *)valueDict { @@ -13278,7 +13278,7 @@ @implementation DBTEAMLegalHoldHeldRevisionMetadataSerializer jsonDict[@"size"] = valueObj.size; jsonDict[@"content_hash"] = valueObj.contentHash; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLegalHoldHeldRevisionMetadata *)deserialize:(NSDictionary *)valueDict { @@ -13489,7 +13489,7 @@ @implementation DBTEAMLegalHoldPolicySerializer jsonDict[@"end_date"] = [DBNSDateSerializer serialize:valueObj.endDate dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLegalHoldPolicy *)deserialize:(NSDictionary *)valueDict { @@ -13759,7 +13759,7 @@ @implementation DBTEAMLegalHoldStatusSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLegalHoldStatus *)deserialize:(NSDictionary *)valueDict { @@ -13943,7 +13943,7 @@ @implementation DBTEAMLegalHoldsErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLegalHoldsError *)deserialize:(NSDictionary *)valueDict { @@ -14051,7 +14051,7 @@ @implementation DBTEAMLegalHoldsGetPolicyArgSerializer jsonDict[@"id"] = valueObj.id_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLegalHoldsGetPolicyArg *)deserialize:(NSDictionary *)valueDict { @@ -14241,7 +14241,7 @@ @implementation DBTEAMLegalHoldsGetPolicyErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLegalHoldsGetPolicyError *)deserialize:(NSDictionary *)valueDict { @@ -14384,7 +14384,7 @@ @implementation DBTEAMLegalHoldsListHeldRevisionResultSerializer jsonDict[@"cursor"] = valueObj.cursor; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLegalHoldsListHeldRevisionResult *)deserialize:(NSDictionary *)valueDict { @@ -14491,7 +14491,7 @@ @implementation DBTEAMLegalHoldsListHeldRevisionsArgSerializer jsonDict[@"id"] = valueObj.id_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLegalHoldsListHeldRevisionsArg *)deserialize:(NSDictionary *)valueDict { @@ -14609,7 +14609,7 @@ @implementation DBTEAMLegalHoldsListHeldRevisionsContinueArgSerializer jsonDict[@"cursor"] = valueObj.cursor; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLegalHoldsListHeldRevisionsContinueArg *)deserialize:(NSDictionary *)valueDict { @@ -14800,7 +14800,7 @@ @implementation DBTEAMLegalHoldsListHeldRevisionsContinueErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLegalHoldsListHeldRevisionsContinueError *)deserialize:(NSDictionary *)valueDict { @@ -15043,7 +15043,7 @@ @implementation DBTEAMLegalHoldsListHeldRevisionsErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLegalHoldsListHeldRevisionsError *)deserialize:(NSDictionary *)valueDict { @@ -15159,7 +15159,7 @@ @implementation DBTEAMLegalHoldsListPoliciesArgSerializer jsonDict[@"include_released"] = valueObj.includeReleased; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLegalHoldsListPoliciesArg *)deserialize:(NSDictionary *)valueDict { @@ -15349,7 +15349,7 @@ @implementation DBTEAMLegalHoldsListPoliciesErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLegalHoldsListPoliciesError *)deserialize:(NSDictionary *)valueDict { @@ -15465,7 +15465,7 @@ @implementation DBTEAMLegalHoldsListPoliciesResultSerializer return [DBTEAMLegalHoldPolicySerializer serialize:elem0]; }]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLegalHoldsListPoliciesResult *)deserialize:(NSDictionary *)valueDict { @@ -15627,7 +15627,7 @@ @implementation DBTEAMLegalHoldsPolicyCreateArgSerializer jsonDict[@"end_date"] = [DBNSDateSerializer serialize:valueObj.endDate dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLegalHoldsPolicyCreateArg *)deserialize:(NSDictionary *)valueDict { @@ -15979,7 +15979,7 @@ @implementation DBTEAMLegalHoldsPolicyCreateErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLegalHoldsPolicyCreateError *)deserialize:(NSDictionary *)valueDict { @@ -16103,7 +16103,7 @@ @implementation DBTEAMLegalHoldsPolicyReleaseArgSerializer jsonDict[@"id"] = valueObj.id_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLegalHoldsPolicyReleaseArg *)deserialize:(NSDictionary *)valueDict { @@ -16335,7 +16335,7 @@ @implementation DBTEAMLegalHoldsPolicyReleaseErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLegalHoldsPolicyReleaseError *)deserialize:(NSDictionary *)valueDict { @@ -16502,7 +16502,7 @@ @implementation DBTEAMLegalHoldsPolicyUpdateArgSerializer }]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLegalHoldsPolicyUpdateArg *)deserialize:(NSDictionary *)valueDict { @@ -16846,7 +16846,7 @@ @implementation DBTEAMLegalHoldsPolicyUpdateErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLegalHoldsPolicyUpdateError *)deserialize:(NSDictionary *)valueDict { @@ -16969,7 +16969,7 @@ @implementation DBTEAMListMemberAppsArgSerializer jsonDict[@"team_member_id"] = valueObj.teamMemberId; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMListMemberAppsArg *)deserialize:(NSDictionary *)valueDict { @@ -17116,7 +17116,7 @@ @implementation DBTEAMListMemberAppsErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMListMemberAppsError *)deserialize:(NSDictionary *)valueDict { @@ -17228,7 +17228,7 @@ @implementation DBTEAMListMemberAppsResultSerializer return [DBTEAMApiAppSerializer serialize:elem0]; }]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMListMemberAppsResult *)deserialize:(NSDictionary *)valueDict { @@ -17358,7 +17358,7 @@ @implementation DBTEAMListMemberDevicesArgSerializer jsonDict[@"include_desktop_clients"] = valueObj.includeDesktopClients; jsonDict[@"include_mobile_clients"] = valueObj.includeMobileClients; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMListMemberDevicesArg *)deserialize:(NSDictionary *)valueDict { @@ -17511,7 +17511,7 @@ @implementation DBTEAMListMemberDevicesErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMListMemberDevicesError *)deserialize:(NSDictionary *)valueDict { @@ -17677,7 +17677,7 @@ @implementation DBTEAMListMemberDevicesResultSerializer }]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMListMemberDevicesResult *)deserialize:(NSDictionary *)valueDict { @@ -17807,7 +17807,7 @@ @implementation DBTEAMListMembersAppsArgSerializer jsonDict[@"cursor"] = valueObj.cursor; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMListMembersAppsArg *)deserialize:(NSDictionary *)valueDict { @@ -17954,7 +17954,7 @@ @implementation DBTEAMListMembersAppsErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMListMembersAppsError *)deserialize:(NSDictionary *)valueDict { @@ -18091,7 +18091,7 @@ @implementation DBTEAMListMembersAppsResultSerializer jsonDict[@"cursor"] = valueObj.cursor; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMListMembersAppsResult *)deserialize:(NSDictionary *)valueDict { @@ -18226,7 +18226,7 @@ @implementation DBTEAMListMembersDevicesArgSerializer jsonDict[@"include_desktop_clients"] = valueObj.includeDesktopClients; jsonDict[@"include_mobile_clients"] = valueObj.includeMobileClients; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMListMembersDevicesArg *)deserialize:(NSDictionary *)valueDict { @@ -18379,7 +18379,7 @@ @implementation DBTEAMListMembersDevicesErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMListMembersDevicesError *)deserialize:(NSDictionary *)valueDict { @@ -18516,7 +18516,7 @@ @implementation DBTEAMListMembersDevicesResultSerializer jsonDict[@"cursor"] = valueObj.cursor; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMListMembersDevicesResult *)deserialize:(NSDictionary *)valueDict { @@ -18630,7 +18630,7 @@ @implementation DBTEAMListTeamAppsArgSerializer jsonDict[@"cursor"] = valueObj.cursor; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMListTeamAppsArg *)deserialize:(NSDictionary *)valueDict { @@ -18777,7 +18777,7 @@ @implementation DBTEAMListTeamAppsErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMListTeamAppsError *)deserialize:(NSDictionary *)valueDict { @@ -18914,7 +18914,7 @@ @implementation DBTEAMListTeamAppsResultSerializer jsonDict[@"cursor"] = valueObj.cursor; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMListTeamAppsResult *)deserialize:(NSDictionary *)valueDict { @@ -19049,7 +19049,7 @@ @implementation DBTEAMListTeamDevicesArgSerializer jsonDict[@"include_desktop_clients"] = valueObj.includeDesktopClients; jsonDict[@"include_mobile_clients"] = valueObj.includeMobileClients; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMListTeamDevicesArg *)deserialize:(NSDictionary *)valueDict { @@ -19202,7 +19202,7 @@ @implementation DBTEAMListTeamDevicesErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMListTeamDevicesError *)deserialize:(NSDictionary *)valueDict { @@ -19339,7 +19339,7 @@ @implementation DBTEAMListTeamDevicesResultSerializer jsonDict[@"cursor"] = valueObj.cursor; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMListTeamDevicesResult *)deserialize:(NSDictionary *)valueDict { @@ -19453,7 +19453,7 @@ @implementation DBTEAMMemberAccessSerializer jsonDict[@"user"] = [DBTEAMUserSelectorArgSerializer serialize:valueObj.user]; jsonDict[@"access_type"] = [DBTEAMGroupAccessTypeSerializer serialize:valueObj.accessType]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMMemberAccess *)deserialize:(NSDictionary *)valueDict { @@ -19645,7 +19645,7 @@ @implementation DBTEAMMemberAddArgBaseSerializer jsonDict[@"is_directory_restricted"] = valueObj.isDirectoryRestricted; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMMemberAddArgBase *)deserialize:(NSDictionary *)valueDict { @@ -19857,7 +19857,7 @@ @implementation DBTEAMMemberAddArgSerializer } jsonDict[@"role"] = [DBTEAMAdminTierSerializer serialize:valueObj.role]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMMemberAddArg *)deserialize:(NSDictionary *)valueDict { @@ -20309,7 +20309,7 @@ @implementation DBTEAMMemberAddResultBaseSerializer userInfo:nil]); } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMMemberAddResultBase *)deserialize:(NSDictionary *)valueDict { @@ -20809,7 +20809,7 @@ @implementation DBTEAMMemberAddResultSerializer userInfo:nil]); } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMMemberAddResult *)deserialize:(NSDictionary *)valueDict { @@ -21064,7 +21064,7 @@ @implementation DBTEAMMemberAddV2ArgSerializer }]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMMemberAddV2Arg *)deserialize:(NSDictionary *)valueDict { @@ -21568,7 +21568,7 @@ @implementation DBTEAMMemberAddV2ResultSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMMemberAddV2Result *)deserialize:(NSDictionary *)valueDict { @@ -21771,7 +21771,7 @@ @implementation DBTEAMMemberDevicesSerializer }]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMMemberDevices *)deserialize:(NSDictionary *)valueDict { @@ -21907,7 +21907,7 @@ @implementation DBTEAMMemberLinkedAppsSerializer return [DBTEAMApiAppSerializer serialize:elem0]; }]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMMemberLinkedApps *)deserialize:(NSDictionary *)valueDict { @@ -22204,7 +22204,7 @@ @implementation DBTEAMMemberProfileSerializer jsonDict[@"profile_photo_url"] = valueObj.profilePhotoUrl; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMMemberProfile *)deserialize:(NSDictionary *)valueDict { @@ -22373,7 +22373,7 @@ @implementation DBTEAMUserSelectorErrorSerializer userInfo:nil]); } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMUserSelectorError *)deserialize:(NSDictionary *)valueDict { @@ -22530,7 +22530,7 @@ @implementation DBTEAMMemberSelectorErrorSerializer userInfo:nil]); } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMMemberSelectorError *)deserialize:(NSDictionary *)valueDict { @@ -22641,7 +22641,7 @@ @implementation DBTEAMMembersAddArgBaseSerializer jsonDict[@"force_async"] = valueObj.forceAsync; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMMembersAddArgBase *)deserialize:(NSDictionary *)valueDict { @@ -22757,7 +22757,7 @@ @implementation DBTEAMMembersAddArgSerializer }]; jsonDict[@"force_async"] = valueObj.forceAsync; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMMembersAddArg *)deserialize:(NSDictionary *)valueDict { @@ -22960,7 +22960,7 @@ @implementation DBTEAMMembersAddJobStatusSerializer userInfo:nil]); } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMMembersAddJobStatus *)deserialize:(NSDictionary *)valueDict { @@ -23194,7 +23194,7 @@ @implementation DBTEAMMembersAddJobStatusV2ResultSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMMembersAddJobStatusV2Result *)deserialize:(NSDictionary *)valueDict { @@ -23387,7 +23387,7 @@ @implementation DBTEAMMembersAddLaunchSerializer userInfo:nil]); } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMMembersAddLaunch *)deserialize:(NSDictionary *)valueDict { @@ -23598,7 +23598,7 @@ @implementation DBTEAMMembersAddLaunchV2ResultSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMMembersAddLaunchV2Result *)deserialize:(NSDictionary *)valueDict { @@ -23728,7 +23728,7 @@ @implementation DBTEAMMembersAddV2ArgSerializer }]; jsonDict[@"force_async"] = valueObj.forceAsync; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMMembersAddV2Arg *)deserialize:(NSDictionary *)valueDict { @@ -23833,7 +23833,7 @@ @implementation DBTEAMMembersDeactivateBaseArgSerializer jsonDict[@"user"] = [DBTEAMUserSelectorArgSerializer serialize:valueObj.user]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMMembersDeactivateBaseArg *)deserialize:(NSDictionary *)valueDict { @@ -23949,7 +23949,7 @@ @implementation DBTEAMMembersDataTransferArgSerializer jsonDict[@"transfer_dest_id"] = [DBTEAMUserSelectorArgSerializer serialize:valueObj.transferDestId]; jsonDict[@"transfer_admin_id"] = [DBTEAMUserSelectorArgSerializer serialize:valueObj.transferAdminId]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMMembersDataTransferArg *)deserialize:(NSDictionary *)valueDict { @@ -24064,7 +24064,7 @@ @implementation DBTEAMMembersDeactivateArgSerializer jsonDict[@"user"] = [DBTEAMUserSelectorArgSerializer serialize:valueObj.user]; jsonDict[@"wipe_data"] = valueObj.wipeData; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMMembersDeactivateArg *)deserialize:(NSDictionary *)valueDict { @@ -24234,7 +24234,7 @@ @implementation DBTEAMMembersDeactivateErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMMembersDeactivateError *)deserialize:(NSDictionary *)valueDict { @@ -24342,7 +24342,7 @@ @implementation DBTEAMMembersDeleteProfilePhotoArgSerializer jsonDict[@"user"] = [DBTEAMUserSelectorArgSerializer serialize:valueObj.user]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMMembersDeleteProfilePhotoArg *)deserialize:(NSDictionary *)valueDict { @@ -24533,7 +24533,7 @@ @implementation DBTEAMMembersDeleteProfilePhotoErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMMembersDeleteProfilePhotoError *)deserialize:(NSDictionary *)valueDict { @@ -24650,7 +24650,7 @@ @implementation DBTEAMMembersGetAvailableTeamMemberRolesResultSerializer return [DBTEAMTeamMemberRoleSerializer serialize:elem0]; }]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMMembersGetAvailableTeamMemberRolesResult *)deserialize:(NSDictionary *)valueDict { @@ -24760,7 +24760,7 @@ @implementation DBTEAMMembersGetInfoArgsSerializer return [DBTEAMUserSelectorArgSerializer serialize:elem0]; }]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMMembersGetInfoArgs *)deserialize:(NSDictionary *)valueDict { @@ -24890,7 +24890,7 @@ @implementation DBTEAMMembersGetInfoErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMMembersGetInfoError *)deserialize:(NSDictionary *)valueDict { @@ -25034,7 +25034,7 @@ @implementation DBTEAMMembersGetInfoItemBaseSerializer userInfo:nil]); } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMMembersGetInfoItemBase *)deserialize:(NSDictionary *)valueDict { @@ -25216,7 +25216,7 @@ @implementation DBTEAMMembersGetInfoItemSerializer userInfo:nil]); } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMMembersGetInfoItem *)deserialize:(NSDictionary *)valueDict { @@ -25420,7 +25420,7 @@ @implementation DBTEAMMembersGetInfoItemV2Serializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMMembersGetInfoItemV2 *)deserialize:(NSDictionary *)valueDict { @@ -25536,7 +25536,7 @@ @implementation DBTEAMMembersGetInfoV2ArgSerializer return [DBTEAMUserSelectorArgSerializer serialize:elem0]; }]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMMembersGetInfoV2Arg *)deserialize:(NSDictionary *)valueDict { @@ -25646,7 +25646,7 @@ @implementation DBTEAMMembersGetInfoV2ResultSerializer return [DBTEAMMembersGetInfoItemV2Serializer serialize:elem0]; }]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMMembersGetInfoV2Result *)deserialize:(NSDictionary *)valueDict { @@ -25763,7 +25763,7 @@ @implementation DBTEAMMembersInfoSerializer }]; jsonDict[@"permanently_deleted_users"] = valueObj.permanentlyDeletedUsers; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMMembersInfo *)deserialize:(NSDictionary *)valueDict { @@ -25876,7 +25876,7 @@ @implementation DBTEAMMembersListArgSerializer jsonDict[@"limit"] = valueObj.limit; jsonDict[@"include_removed"] = valueObj.includeRemoved; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMMembersListArg *)deserialize:(NSDictionary *)valueDict { @@ -25976,7 +25976,7 @@ @implementation DBTEAMMembersListContinueArgSerializer jsonDict[@"cursor"] = valueObj.cursor; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMMembersListContinueArg *)deserialize:(NSDictionary *)valueDict { @@ -26123,7 +26123,7 @@ @implementation DBTEAMMembersListContinueErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMMembersListContinueError *)deserialize:(NSDictionary *)valueDict { @@ -26255,7 +26255,7 @@ @implementation DBTEAMMembersListErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMMembersListError *)deserialize:(NSDictionary *)valueDict { @@ -26381,7 +26381,7 @@ @implementation DBTEAMMembersListResultSerializer jsonDict[@"cursor"] = valueObj.cursor; jsonDict[@"has_more"] = valueObj.hasMore; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMMembersListResult *)deserialize:(NSDictionary *)valueDict { @@ -26509,7 +26509,7 @@ @implementation DBTEAMMembersListV2ResultSerializer jsonDict[@"cursor"] = valueObj.cursor; jsonDict[@"has_more"] = valueObj.hasMore; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMMembersListV2Result *)deserialize:(NSDictionary *)valueDict { @@ -26615,7 +26615,7 @@ @implementation DBTEAMMembersRecoverArgSerializer jsonDict[@"user"] = [DBTEAMUserSelectorArgSerializer serialize:valueObj.user]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMMembersRecoverArg *)deserialize:(NSDictionary *)valueDict { @@ -26826,7 +26826,7 @@ @implementation DBTEAMMembersRecoverErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMMembersRecoverError *)deserialize:(NSDictionary *)valueDict { @@ -26989,7 +26989,7 @@ @implementation DBTEAMMembersRemoveArgSerializer jsonDict[@"keep_account"] = valueObj.keepAccount; jsonDict[@"retain_team_shares"] = valueObj.retainTeamShares; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMMembersRemoveArg *)deserialize:(NSDictionary *)valueDict { @@ -27361,7 +27361,7 @@ @implementation DBTEAMMembersTransferFilesErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMMembersTransferFilesError *)deserialize:(NSDictionary *)valueDict { @@ -27976,7 +27976,7 @@ @implementation DBTEAMMembersRemoveErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMMembersRemoveError *)deserialize:(NSDictionary *)valueDict { @@ -28193,7 +28193,7 @@ @implementation DBTEAMMembersSendWelcomeErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMMembersSendWelcomeError *)deserialize:(NSDictionary *)valueDict { @@ -28329,7 +28329,7 @@ @implementation DBTEAMMembersSetPermissions2ArgSerializer }]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMMembersSetPermissions2Arg *)deserialize:(NSDictionary *)valueDict { @@ -28566,7 +28566,7 @@ @implementation DBTEAMMembersSetPermissions2ErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMMembersSetPermissions2Error *)deserialize:(NSDictionary *)valueDict { @@ -28703,7 +28703,7 @@ @implementation DBTEAMMembersSetPermissions2ResultSerializer }]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMMembersSetPermissions2Result *)deserialize:(NSDictionary *)valueDict { @@ -28817,7 +28817,7 @@ @implementation DBTEAMMembersSetPermissionsArgSerializer jsonDict[@"user"] = [DBTEAMUserSelectorArgSerializer serialize:valueObj.user]; jsonDict[@"new_role"] = [DBTEAMAdminTierSerializer serialize:valueObj.dNewRole]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMMembersSetPermissionsArg *)deserialize:(NSDictionary *)valueDict { @@ -29050,7 +29050,7 @@ @implementation DBTEAMMembersSetPermissionsErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMMembersSetPermissionsError *)deserialize:(NSDictionary *)valueDict { @@ -29171,7 +29171,7 @@ @implementation DBTEAMMembersSetPermissionsResultSerializer jsonDict[@"team_member_id"] = valueObj.teamMemberId; jsonDict[@"role"] = [DBTEAMAdminTierSerializer serialize:valueObj.role]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMMembersSetPermissionsResult *)deserialize:(NSDictionary *)valueDict { @@ -29370,7 +29370,7 @@ @implementation DBTEAMMembersSetProfileArgSerializer jsonDict[@"new_is_directory_restricted"] = valueObj.dNewIsDirectoryRestricted; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMMembersSetProfileArg *)deserialize:(NSDictionary *)valueDict { @@ -29740,7 +29740,7 @@ @implementation DBTEAMMembersSetProfileErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMMembersSetProfileError *)deserialize:(NSDictionary *)valueDict { @@ -29874,7 +29874,7 @@ @implementation DBTEAMMembersSetProfilePhotoArgSerializer jsonDict[@"user"] = [DBTEAMUserSelectorArgSerializer serialize:valueObj.user]; jsonDict[@"photo"] = [DBACCOUNTPhotoSourceArgSerializer serialize:valueObj.photo]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMMembersSetProfilePhotoArg *)deserialize:(NSDictionary *)valueDict { @@ -30100,7 +30100,7 @@ @implementation DBTEAMMembersSetProfilePhotoErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMMembersSetProfilePhotoError *)deserialize:(NSDictionary *)valueDict { @@ -30346,7 +30346,7 @@ @implementation DBTEAMMembersSuspendErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMMembersSuspendError *)deserialize:(NSDictionary *)valueDict { @@ -30803,7 +30803,7 @@ @implementation DBTEAMMembersTransferFormerMembersFilesErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMMembersTransferFormerMembersFilesError *)deserialize:(NSDictionary *)valueDict { @@ -30937,7 +30937,7 @@ @implementation DBTEAMMembersUnsuspendArgSerializer jsonDict[@"user"] = [DBTEAMUserSelectorArgSerializer serialize:valueObj.user]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMMembersUnsuspendArg *)deserialize:(NSDictionary *)valueDict { @@ -31148,7 +31148,7 @@ @implementation DBTEAMMembersUnsuspendErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMMembersUnsuspendError *)deserialize:(NSDictionary *)valueDict { @@ -31391,7 +31391,7 @@ @implementation DBTEAMMobileClientPlatformSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMMobileClientPlatform *)deserialize:(NSDictionary *)valueDict { @@ -31623,7 +31623,7 @@ @implementation DBTEAMMobileClientSessionSerializer jsonDict[@"last_carrier"] = valueObj.lastCarrier; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMMobileClientSession *)deserialize:(NSDictionary *)valueDict { @@ -31781,7 +31781,7 @@ @implementation DBTEAMNamespaceMetadataSerializer jsonDict[@"team_member_id"] = valueObj.teamMemberId; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMNamespaceMetadata *)deserialize:(NSDictionary *)valueDict { @@ -31997,7 +31997,7 @@ @implementation DBTEAMNamespaceTypeSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMNamespaceType *)deserialize:(NSDictionary *)valueDict { @@ -32201,7 +32201,7 @@ @implementation DBTEAMRemoveCustomQuotaResultSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMRemoveCustomQuotaResult *)deserialize:(NSDictionary *)valueDict { @@ -32317,7 +32317,7 @@ @implementation DBTEAMRemovedStatusSerializer jsonDict[@"is_recoverable"] = valueObj.isRecoverable; jsonDict[@"is_disconnected"] = valueObj.isDisconnected; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMRemovedStatus *)deserialize:(NSDictionary *)valueDict { @@ -32543,7 +32543,7 @@ @implementation DBTEAMResendSecondaryEmailResultSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMResendSecondaryEmailResult *)deserialize:(NSDictionary *)valueDict { @@ -32662,7 +32662,7 @@ @implementation DBTEAMResendVerificationEmailArgSerializer return [DBTEAMUserSecondaryEmailsArgSerializer serialize:elem0]; }]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMResendVerificationEmailArg *)deserialize:(NSDictionary *)valueDict { @@ -32772,7 +32772,7 @@ @implementation DBTEAMResendVerificationEmailResultSerializer return [DBTEAMUserResendResultSerializer serialize:elem0]; }]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMResendVerificationEmailResult *)deserialize:(NSDictionary *)valueDict { @@ -32893,7 +32893,7 @@ @implementation DBTEAMRevokeDesktopClientArgSerializer jsonDict[@"team_member_id"] = valueObj.teamMemberId; jsonDict[@"delete_on_unlink"] = valueObj.deleteOnUnlink; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMRevokeDesktopClientArg *)deserialize:(NSDictionary *)valueDict { @@ -33103,7 +33103,7 @@ @implementation DBTEAMRevokeDeviceSessionArgSerializer userInfo:nil]); } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMRevokeDeviceSessionArg *)deserialize:(NSDictionary *)valueDict { @@ -33223,7 +33223,7 @@ @implementation DBTEAMRevokeDeviceSessionBatchArgSerializer return [DBTEAMRevokeDeviceSessionArgSerializer serialize:elem0]; }]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMRevokeDeviceSessionBatchArg *)deserialize:(NSDictionary *)valueDict { @@ -33353,7 +33353,7 @@ @implementation DBTEAMRevokeDeviceSessionBatchErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMRevokeDeviceSessionBatchError *)deserialize:(NSDictionary *)valueDict { @@ -33465,7 +33465,7 @@ @implementation DBTEAMRevokeDeviceSessionBatchResultSerializer return [DBTEAMRevokeDeviceSessionStatusSerializer serialize:elem0]; }]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMRevokeDeviceSessionBatchResult *)deserialize:(NSDictionary *)valueDict { @@ -33637,7 +33637,7 @@ @implementation DBTEAMRevokeDeviceSessionErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMRevokeDeviceSessionError *)deserialize:(NSDictionary *)valueDict { @@ -33761,7 +33761,7 @@ @implementation DBTEAMRevokeDeviceSessionStatusSerializer jsonDict[@"error_type"] = [DBTEAMRevokeDeviceSessionErrorSerializer serialize:valueObj.errorType]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMRevokeDeviceSessionStatus *)deserialize:(NSDictionary *)valueDict { @@ -33881,7 +33881,7 @@ @implementation DBTEAMRevokeLinkedApiAppArgSerializer jsonDict[@"team_member_id"] = valueObj.teamMemberId; jsonDict[@"keep_app_folder"] = valueObj.keepAppFolder; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMRevokeLinkedApiAppArg *)deserialize:(NSDictionary *)valueDict { @@ -33990,7 +33990,7 @@ @implementation DBTEAMRevokeLinkedApiAppBatchArgSerializer return [DBTEAMRevokeLinkedApiAppArgSerializer serialize:elem0]; }]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMRevokeLinkedApiAppBatchArg *)deserialize:(NSDictionary *)valueDict { @@ -34120,7 +34120,7 @@ @implementation DBTEAMRevokeLinkedAppBatchErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMRevokeLinkedAppBatchError *)deserialize:(NSDictionary *)valueDict { @@ -34231,7 +34231,7 @@ @implementation DBTEAMRevokeLinkedAppBatchResultSerializer return [DBTEAMRevokeLinkedAppStatusSerializer serialize:elem0]; }]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMRevokeLinkedAppBatchResult *)deserialize:(NSDictionary *)valueDict { @@ -34424,7 +34424,7 @@ @implementation DBTEAMRevokeLinkedAppErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMRevokeLinkedAppError *)deserialize:(NSDictionary *)valueDict { @@ -34550,7 +34550,7 @@ @implementation DBTEAMRevokeLinkedAppStatusSerializer jsonDict[@"error_type"] = [DBTEAMRevokeLinkedAppErrorSerializer serialize:valueObj.errorType]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMRevokeLinkedAppStatus *)deserialize:(NSDictionary *)valueDict { @@ -34658,7 +34658,7 @@ @implementation DBTEAMSetCustomQuotaArgSerializer return [DBTEAMUserCustomQuotaArgSerializer serialize:elem0]; }]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMSetCustomQuotaArg *)deserialize:(NSDictionary *)valueDict { @@ -34831,7 +34831,7 @@ @implementation DBTEAMSetCustomQuotaErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMSetCustomQuotaError *)deserialize:(NSDictionary *)valueDict { @@ -34973,7 +34973,7 @@ @implementation DBTEAMSharingAllowlistAddArgsSerializer }]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMSharingAllowlistAddArgs *)deserialize:(NSDictionary *)valueDict { @@ -35259,7 +35259,7 @@ @implementation DBTEAMSharingAllowlistAddErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMSharingAllowlistAddError *)deserialize:(NSDictionary *)valueDict { @@ -35368,7 +35368,7 @@ @implementation DBTEAMSharingAllowlistAddResponseSerializer #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMSharingAllowlistAddResponse *)deserialize:(NSDictionary *)valueDict { @@ -35470,7 +35470,7 @@ @implementation DBTEAMSharingAllowlistListArgSerializer jsonDict[@"limit"] = valueObj.limit; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMSharingAllowlistListArg *)deserialize:(NSDictionary *)valueDict { @@ -35570,7 +35570,7 @@ @implementation DBTEAMSharingAllowlistListContinueArgSerializer jsonDict[@"cursor"] = valueObj.cursor; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMSharingAllowlistListContinueArg *)deserialize:(NSDictionary *)valueDict { @@ -35718,7 +35718,7 @@ @implementation DBTEAMSharingAllowlistListContinueErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMSharingAllowlistListContinueError *)deserialize:(NSDictionary *)valueDict { @@ -35815,7 +35815,7 @@ @implementation DBTEAMSharingAllowlistListErrorSerializer #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMSharingAllowlistListError *)deserialize:(NSDictionary *)valueDict { @@ -35952,7 +35952,7 @@ @implementation DBTEAMSharingAllowlistListResponseSerializer jsonDict[@"cursor"] = valueObj.cursor; jsonDict[@"has_more"] = valueObj.hasMore; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMSharingAllowlistListResponse *)deserialize:(NSDictionary *)valueDict { @@ -36096,7 +36096,7 @@ @implementation DBTEAMSharingAllowlistRemoveArgsSerializer }]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMSharingAllowlistRemoveArgs *)deserialize:(NSDictionary *)valueDict { @@ -36361,7 +36361,7 @@ @implementation DBTEAMSharingAllowlistRemoveErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMSharingAllowlistRemoveError *)deserialize:(NSDictionary *)valueDict { @@ -36469,7 +36469,7 @@ @implementation DBTEAMSharingAllowlistRemoveResponseSerializer #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMSharingAllowlistRemoveResponse *)deserialize:(NSDictionary *)valueDict { @@ -36575,7 +36575,7 @@ @implementation DBTEAMStorageBucketSerializer jsonDict[@"bucket"] = valueObj.bucket; jsonDict[@"users"] = valueObj.users; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMStorageBucket *)deserialize:(NSDictionary *)valueDict { @@ -36744,7 +36744,7 @@ @implementation DBTEAMTeamFolderAccessErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMTeamFolderAccessError *)deserialize:(NSDictionary *)valueDict { @@ -36982,7 +36982,7 @@ @implementation DBTEAMTeamFolderActivateErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMTeamFolderActivateError *)deserialize:(NSDictionary *)valueDict { @@ -37098,7 +37098,7 @@ @implementation DBTEAMTeamFolderIdArgSerializer jsonDict[@"team_folder_id"] = valueObj.teamFolderId; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMTeamFolderIdArg *)deserialize:(NSDictionary *)valueDict { @@ -37208,7 +37208,7 @@ @implementation DBTEAMTeamFolderArchiveArgSerializer jsonDict[@"team_folder_id"] = valueObj.teamFolderId; jsonDict[@"force_async_off"] = valueObj.forceAsyncOff; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMTeamFolderArchiveArg *)deserialize:(NSDictionary *)valueDict { @@ -37439,7 +37439,7 @@ @implementation DBTEAMTeamFolderArchiveErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMTeamFolderArchiveError *)deserialize:(NSDictionary *)valueDict { @@ -37651,7 +37651,7 @@ @implementation DBTEAMTeamFolderArchiveJobStatusSerializer userInfo:nil]); } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMTeamFolderArchiveJobStatus *)deserialize:(NSDictionary *)valueDict { @@ -37838,7 +37838,7 @@ @implementation DBTEAMTeamFolderArchiveLaunchSerializer userInfo:nil]); } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMTeamFolderArchiveLaunch *)deserialize:(NSDictionary *)valueDict { @@ -37965,7 +37965,7 @@ @implementation DBTEAMTeamFolderCreateArgSerializer jsonDict[@"sync_setting"] = [DBFILESSyncSettingArgSerializer serialize:valueObj.syncSetting]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMTeamFolderCreateArg *)deserialize:(NSDictionary *)valueDict { @@ -38192,7 +38192,7 @@ @implementation DBTEAMTeamFolderCreateErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMTeamFolderCreateError *)deserialize:(NSDictionary *)valueDict { @@ -38380,7 +38380,7 @@ @implementation DBTEAMTeamFolderGetInfoItemSerializer userInfo:nil]); } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMTeamFolderGetInfoItem *)deserialize:(NSDictionary *)valueDict { @@ -38501,7 +38501,7 @@ @implementation DBTEAMTeamFolderIdListArgSerializer return elem0; }]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMTeamFolderIdListArg *)deserialize:(NSDictionary *)valueDict { @@ -38693,7 +38693,7 @@ @implementation DBTEAMTeamFolderInvalidStatusErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMTeamFolderInvalidStatusError *)deserialize:(NSDictionary *)valueDict { @@ -38805,7 +38805,7 @@ @implementation DBTEAMTeamFolderListArgSerializer jsonDict[@"limit"] = valueObj.limit; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMTeamFolderListArg *)deserialize:(NSDictionary *)valueDict { @@ -38904,7 +38904,7 @@ @implementation DBTEAMTeamFolderListContinueArgSerializer jsonDict[@"cursor"] = valueObj.cursor; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMTeamFolderListContinueArg *)deserialize:(NSDictionary *)valueDict { @@ -39051,7 +39051,7 @@ @implementation DBTEAMTeamFolderListContinueErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMTeamFolderListContinueError *)deserialize:(NSDictionary *)valueDict { @@ -39157,7 +39157,7 @@ @implementation DBTEAMTeamFolderListErrorSerializer jsonDict[@"access_error"] = [DBTEAMTeamFolderAccessErrorSerializer serialize:valueObj.accessError]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMTeamFolderListError *)deserialize:(NSDictionary *)valueDict { @@ -39280,7 +39280,7 @@ @implementation DBTEAMTeamFolderListResultSerializer jsonDict[@"cursor"] = valueObj.cursor; jsonDict[@"has_more"] = valueObj.hasMore; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMTeamFolderListResult *)deserialize:(NSDictionary *)valueDict { @@ -39436,7 +39436,7 @@ @implementation DBTEAMTeamFolderMetadataSerializer return [DBFILESContentSyncSettingSerializer serialize:elem0]; }]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMTeamFolderMetadata *)deserialize:(NSDictionary *)valueDict { @@ -39684,7 +39684,7 @@ @implementation DBTEAMTeamFolderPermanentlyDeleteErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMTeamFolderPermanentlyDeleteError *)deserialize:(NSDictionary *)valueDict { @@ -39807,7 +39807,7 @@ @implementation DBTEAMTeamFolderRenameArgSerializer jsonDict[@"team_folder_id"] = valueObj.teamFolderId; jsonDict[@"name"] = valueObj.name; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMTeamFolderRenameArg *)deserialize:(NSDictionary *)valueDict { @@ -40101,7 +40101,7 @@ @implementation DBTEAMTeamFolderRenameErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMTeamFolderRenameError *)deserialize:(NSDictionary *)valueDict { @@ -40312,7 +40312,7 @@ @implementation DBTEAMTeamFolderStatusSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMTeamFolderStatus *)deserialize:(NSDictionary *)valueDict { @@ -40470,7 +40470,7 @@ @implementation DBTEAMTeamFolderTeamSharedDropboxErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMTeamFolderTeamSharedDropboxError *)deserialize:(NSDictionary *)valueDict { @@ -40617,7 +40617,7 @@ @implementation DBTEAMTeamFolderUpdateSyncSettingsArgSerializer }]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMTeamFolderUpdateSyncSettingsArg *)deserialize:(NSDictionary *)valueDict { @@ -40897,7 +40897,7 @@ @implementation DBTEAMTeamFolderUpdateSyncSettingsErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMTeamFolderUpdateSyncSettingsError *)deserialize:(NSDictionary *)valueDict { @@ -41069,7 +41069,7 @@ @implementation DBTEAMTeamGetInfoResultSerializer jsonDict[@"policies"] = [DBTEAMPOLICIESTeamMemberPoliciesSerializer serialize:valueObj.policies]; jsonDict[@"num_used_licenses"] = valueObj.numUsedLicenses; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMTeamGetInfoResult *)deserialize:(NSDictionary *)valueDict { @@ -41188,7 +41188,7 @@ @implementation DBTEAMTeamMemberInfoSerializer jsonDict[@"profile"] = [DBTEAMTeamMemberProfileSerializer serialize:valueObj.profile]; jsonDict[@"role"] = [DBTEAMAdminTierSerializer serialize:valueObj.role]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMTeamMemberInfo *)deserialize:(NSDictionary *)valueDict { @@ -41313,7 +41313,7 @@ @implementation DBTEAMTeamMemberInfoV2Serializer }]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMTeamMemberInfoV2 *)deserialize:(NSDictionary *)valueDict { @@ -41419,7 +41419,7 @@ @implementation DBTEAMTeamMemberInfoV2ResultSerializer jsonDict[@"member_info"] = [DBTEAMTeamMemberInfoV2Serializer serialize:valueObj.memberInfo]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMTeamMemberInfoV2Result *)deserialize:(NSDictionary *)valueDict { @@ -41739,7 +41739,7 @@ @implementation DBTEAMTeamMemberProfileSerializer jsonDict[@"profile_photo_url"] = valueObj.profilePhotoUrl; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMTeamMemberProfile *)deserialize:(NSDictionary *)valueDict { @@ -41902,7 +41902,7 @@ @implementation DBTEAMTeamMemberRoleSerializer jsonDict[@"name"] = valueObj.name; jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMTeamMemberRole *)deserialize:(NSDictionary *)valueDict { @@ -42108,7 +42108,7 @@ @implementation DBTEAMTeamMemberStatusSerializer userInfo:nil]); } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMTeamMemberStatus *)deserialize:(NSDictionary *)valueDict { @@ -42271,7 +42271,7 @@ @implementation DBTEAMTeamMembershipTypeSerializer userInfo:nil]); } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMTeamMembershipType *)deserialize:(NSDictionary *)valueDict { @@ -42382,7 +42382,7 @@ @implementation DBTEAMTeamNamespacesListArgSerializer jsonDict[@"limit"] = valueObj.limit; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMTeamNamespacesListArg *)deserialize:(NSDictionary *)valueDict { @@ -42481,7 +42481,7 @@ @implementation DBTEAMTeamNamespacesListContinueArgSerializer jsonDict[@"cursor"] = valueObj.cursor; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMTeamNamespacesListContinueArg *)deserialize:(NSDictionary *)valueDict { @@ -42628,7 +42628,7 @@ @implementation DBTEAMTeamNamespacesListErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMTeamNamespacesListError *)deserialize:(NSDictionary *)valueDict { @@ -42804,7 +42804,7 @@ @implementation DBTEAMTeamNamespacesListContinueErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMTeamNamespacesListContinueError *)deserialize:(NSDictionary *)valueDict { @@ -42934,7 +42934,7 @@ @implementation DBTEAMTeamNamespacesListResultSerializer jsonDict[@"cursor"] = valueObj.cursor; jsonDict[@"has_more"] = valueObj.hasMore; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMTeamNamespacesListResult *)deserialize:(NSDictionary *)valueDict { @@ -43129,7 +43129,7 @@ @implementation DBTEAMTeamReportFailureReasonSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMTeamReportFailureReason *)deserialize:(NSDictionary *)valueDict { @@ -43308,7 +43308,7 @@ @implementation DBTEAMTokenGetAuthenticatedAdminErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMTokenGetAuthenticatedAdminError *)deserialize:(NSDictionary *)valueDict { @@ -43417,7 +43417,7 @@ @implementation DBTEAMTokenGetAuthenticatedAdminResultSerializer jsonDict[@"admin_profile"] = [DBTEAMTeamMemberProfileSerializer serialize:valueObj.adminProfile]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMTokenGetAuthenticatedAdminResult *)deserialize:(NSDictionary *)valueDict { @@ -43597,7 +43597,7 @@ @implementation DBTEAMUploadApiRateLimitValueSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMUploadApiRateLimitValue *)deserialize:(NSDictionary *)valueDict { @@ -43863,7 +43863,7 @@ @implementation DBTEAMUserAddResultSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMUserAddResult *)deserialize:(NSDictionary *)valueDict { @@ -43987,7 +43987,7 @@ @implementation DBTEAMUserCustomQuotaArgSerializer jsonDict[@"user"] = [DBTEAMUserSelectorArgSerializer serialize:valueObj.user]; jsonDict[@"quota_gb"] = valueObj.quotaGb; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMUserCustomQuotaArg *)deserialize:(NSDictionary *)valueDict { @@ -44105,7 +44105,7 @@ @implementation DBTEAMUserCustomQuotaResultSerializer jsonDict[@"quota_gb"] = valueObj.quotaGb; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMUserCustomQuotaResult *)deserialize:(NSDictionary *)valueDict { @@ -44221,7 +44221,7 @@ @implementation DBTEAMUserDeleteEmailsResultSerializer return [DBTEAMDeleteSecondaryEmailResultSerializer serialize:elem0]; }]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMUserDeleteEmailsResult *)deserialize:(NSDictionary *)valueDict { @@ -44419,7 +44419,7 @@ @implementation DBTEAMUserDeleteResultSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMUserDeleteResult *)deserialize:(NSDictionary *)valueDict { @@ -44544,7 +44544,7 @@ @implementation DBTEAMUserResendEmailsResultSerializer return [DBTEAMResendSecondaryEmailResultSerializer serialize:elem0]; }]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMUserResendEmailsResult *)deserialize:(NSDictionary *)valueDict { @@ -44742,7 +44742,7 @@ @implementation DBTEAMUserResendResultSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMUserResendResult *)deserialize:(NSDictionary *)valueDict { @@ -44872,7 +44872,7 @@ @implementation DBTEAMUserSecondaryEmailsArgSerializer return elem0; }]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMUserSecondaryEmailsArg *)deserialize:(NSDictionary *)valueDict { @@ -44990,7 +44990,7 @@ @implementation DBTEAMUserSecondaryEmailsResultSerializer return [DBTEAMAddSecondaryEmailResultSerializer serialize:elem0]; }]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMUserSecondaryEmailsResult *)deserialize:(NSDictionary *)valueDict { @@ -45199,7 +45199,7 @@ @implementation DBTEAMUserSelectorArgSerializer userInfo:nil]); } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMUserSelectorArg *)deserialize:(NSDictionary *)valueDict { @@ -45426,7 +45426,7 @@ @implementation DBTEAMUsersSelectorArgSerializer userInfo:nil]); } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMUsersSelectorArg *)deserialize:(NSDictionary *)valueDict { diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamCommon/DBTeamCommonObjects.m b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamCommon/DBTeamCommonObjects.m index 76d05395b..ad94fe0ed 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamCommon/DBTeamCommonObjects.m +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamCommon/DBTeamCommonObjects.m @@ -184,7 +184,7 @@ @implementation DBTEAMCOMMONGroupManagementTypeSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMCOMMONGroupManagementType *)deserialize:(NSDictionary *)valueDict { @@ -347,7 +347,7 @@ @implementation DBTEAMCOMMONGroupSummarySerializer jsonDict[@"member_count"] = valueObj.memberCount; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMCOMMONGroupSummary *)deserialize:(NSDictionary *)valueDict { @@ -524,7 +524,7 @@ @implementation DBTEAMCOMMONGroupTypeSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMCOMMONGroupType *)deserialize:(NSDictionary *)valueDict { @@ -721,7 +721,7 @@ @implementation DBTEAMCOMMONMemberSpaceLimitTypeSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMCOMMONMemberSpaceLimitType *)deserialize:(NSDictionary *)valueDict { @@ -851,7 +851,7 @@ @implementation DBTEAMCOMMONTimeRangeSerializer jsonDict[@"end_time"] = [DBNSDateSerializer serialize:valueObj.endTime dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMCOMMONTimeRange *)deserialize:(NSDictionary *)valueDict { diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/DBTeamLogObjects.m b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/DBTeamLogObjects.m index a016f928f..4f38be3bd 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/DBTeamLogObjects.m +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/DBTeamLogObjects.m @@ -319,7 +319,7 @@ @implementation DBTEAMLOGAccessMethodLogInfoSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGAccessMethodLogInfo *)deserialize:(NSDictionary *)valueDict { @@ -509,7 +509,7 @@ @implementation DBTEAMLOGAccountCaptureAvailabilitySerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGAccountCaptureAvailability *)deserialize:(NSDictionary *)valueDict { @@ -635,7 +635,7 @@ @implementation DBTEAMLOGAccountCaptureChangeAvailabilityDetailsSerializer jsonDict[@"previous_value"] = [DBTEAMLOGAccountCaptureAvailabilitySerializer serialize:valueObj.previousValue]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGAccountCaptureChangeAvailabilityDetails *)deserialize:(NSDictionary *)valueDict { @@ -741,7 +741,7 @@ @implementation DBTEAMLOGAccountCaptureChangeAvailabilityTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGAccountCaptureChangeAvailabilityType *)deserialize:(NSDictionary *)valueDict { @@ -859,7 +859,7 @@ @implementation DBTEAMLOGAccountCaptureChangePolicyDetailsSerializer jsonDict[@"previous_value"] = [DBTEAMLOGAccountCapturePolicySerializer serialize:valueObj.previousValue]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGAccountCaptureChangePolicyDetails *)deserialize:(NSDictionary *)valueDict { @@ -963,7 +963,7 @@ @implementation DBTEAMLOGAccountCaptureChangePolicyTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGAccountCaptureChangePolicyType *)deserialize:(NSDictionary *)valueDict { @@ -1063,7 +1063,7 @@ @implementation DBTEAMLOGAccountCaptureMigrateAccountDetailsSerializer jsonDict[@"domain_name"] = valueObj.domainName; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGAccountCaptureMigrateAccountDetails *)deserialize:(NSDictionary *)valueDict { @@ -1163,7 +1163,7 @@ @implementation DBTEAMLOGAccountCaptureMigrateAccountTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGAccountCaptureMigrateAccountType *)deserialize:(NSDictionary *)valueDict { @@ -1282,7 +1282,7 @@ @implementation DBTEAMLOGAccountCaptureNotificationEmailsSentDetailsSerializer [DBTEAMLOGAccountCaptureNotificationTypeSerializer serialize:valueObj.notificationType]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGAccountCaptureNotificationEmailsSentDetails *)deserialize:(NSDictionary *)valueDict { @@ -1387,7 +1387,7 @@ @implementation DBTEAMLOGAccountCaptureNotificationEmailsSentTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGAccountCaptureNotificationEmailsSentType *)deserialize:(NSDictionary *)valueDict { @@ -1556,7 +1556,7 @@ @implementation DBTEAMLOGAccountCaptureNotificationTypeSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGAccountCaptureNotificationType *)deserialize:(NSDictionary *)valueDict { @@ -1774,7 +1774,7 @@ @implementation DBTEAMLOGAccountCapturePolicySerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGAccountCapturePolicy *)deserialize:(NSDictionary *)valueDict { @@ -1886,7 +1886,7 @@ @implementation DBTEAMLOGAccountCaptureRelinquishAccountDetailsSerializer jsonDict[@"domain_name"] = valueObj.domainName; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGAccountCaptureRelinquishAccountDetails *)deserialize:(NSDictionary *)valueDict { @@ -1986,7 +1986,7 @@ @implementation DBTEAMLOGAccountCaptureRelinquishAccountTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGAccountCaptureRelinquishAccountType *)deserialize:(NSDictionary *)valueDict { @@ -2094,7 +2094,7 @@ @implementation DBTEAMLOGAccountLockOrUnlockedDetailsSerializer jsonDict[@"previous_value"] = [DBTEAMLOGAccountStateSerializer serialize:valueObj.previousValue]; jsonDict[@"new_value"] = [DBTEAMLOGAccountStateSerializer serialize:valueObj.dNewValue]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGAccountLockOrUnlockedDetails *)deserialize:(NSDictionary *)valueDict { @@ -2194,7 +2194,7 @@ @implementation DBTEAMLOGAccountLockOrUnlockedTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGAccountLockOrUnlockedType *)deserialize:(NSDictionary *)valueDict { @@ -2362,7 +2362,7 @@ @implementation DBTEAMLOGAccountStateSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGAccountState *)deserialize:(NSDictionary *)valueDict { @@ -2597,7 +2597,7 @@ @implementation DBTEAMLOGActionDetailsSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGActionDetails *)deserialize:(NSDictionary *)valueDict { @@ -2911,7 +2911,7 @@ @implementation DBTEAMLOGActorLogInfoSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGActorLogInfo *)deserialize:(NSDictionary *)valueDict { @@ -3204,7 +3204,7 @@ @implementation DBTEAMLOGAdminAlertCategoryEnumSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGAdminAlertCategoryEnum *)deserialize:(NSDictionary *)valueDict { @@ -3453,7 +3453,7 @@ @implementation DBTEAMLOGAdminAlertGeneralStateEnumSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGAdminAlertGeneralStateEnum *)deserialize:(NSDictionary *)valueDict { @@ -3698,7 +3698,7 @@ @implementation DBTEAMLOGAdminAlertSeverityEnumSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGAdminAlertSeverityEnum *)deserialize:(NSDictionary *)valueDict { @@ -3878,7 +3878,7 @@ @implementation DBTEAMLOGAdminAlertingAlertConfigurationSerializer jsonDict[@"excluded_file_extensions"] = valueObj.excludedFileExtensions; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGAdminAlertingAlertConfiguration *)deserialize:(NSDictionary *)valueDict { @@ -4148,7 +4148,7 @@ @implementation DBTEAMLOGAdminAlertingAlertSensitivitySerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGAdminAlertingAlertSensitivity *)deserialize:(NSDictionary *)valueDict { @@ -4307,7 +4307,7 @@ @implementation DBTEAMLOGAdminAlertingAlertStateChangedDetailsSerializer jsonDict[@"previous_value"] = [DBTEAMLOGAdminAlertGeneralStateEnumSerializer serialize:valueObj.previousValue]; jsonDict[@"new_value"] = [DBTEAMLOGAdminAlertGeneralStateEnumSerializer serialize:valueObj.dNewValue]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGAdminAlertingAlertStateChangedDetails *)deserialize:(NSDictionary *)valueDict { @@ -4421,7 +4421,7 @@ @implementation DBTEAMLOGAdminAlertingAlertStateChangedTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGAdminAlertingAlertStateChangedType *)deserialize:(NSDictionary *)valueDict { @@ -4590,7 +4590,7 @@ @implementation DBTEAMLOGAdminAlertingAlertStatePolicySerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGAdminAlertingAlertStatePolicy *)deserialize:(NSDictionary *)valueDict { @@ -4717,7 +4717,7 @@ @implementation DBTEAMLOGAdminAlertingChangedAlertConfigDetailsSerializer jsonDict[@"new_alert_config"] = [DBTEAMLOGAdminAlertingAlertConfigurationSerializer serialize:valueObj.dNewAlertConfig]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGAdminAlertingChangedAlertConfigDetails *)deserialize:(NSDictionary *)valueDict { @@ -4823,7 +4823,7 @@ @implementation DBTEAMLOGAdminAlertingChangedAlertConfigTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGAdminAlertingChangedAlertConfigType *)deserialize:(NSDictionary *)valueDict { @@ -4949,7 +4949,7 @@ @implementation DBTEAMLOGAdminAlertingTriggeredAlertDetailsSerializer jsonDict[@"alert_category"] = [DBTEAMLOGAdminAlertCategoryEnumSerializer serialize:valueObj.alertCategory]; jsonDict[@"alert_instance_id"] = valueObj.alertInstanceId; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGAdminAlertingTriggeredAlertDetails *)deserialize:(NSDictionary *)valueDict { @@ -5057,7 +5057,7 @@ @implementation DBTEAMLOGAdminAlertingTriggeredAlertTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGAdminAlertingTriggeredAlertType *)deserialize:(NSDictionary *)valueDict { @@ -5225,7 +5225,7 @@ @implementation DBTEAMLOGAdminConsoleAppPermissionSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGAdminConsoleAppPermission *)deserialize:(NSDictionary *)valueDict { @@ -5422,7 +5422,7 @@ @implementation DBTEAMLOGAdminConsoleAppPolicySerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGAdminConsoleAppPolicy *)deserialize:(NSDictionary *)valueDict { @@ -5541,7 +5541,7 @@ @implementation DBTEAMLOGAdminEmailRemindersChangedDetailsSerializer jsonDict[@"new_value"] = [DBTEAMLOGAdminEmailRemindersPolicySerializer serialize:valueObj.dNewValue]; jsonDict[@"previous_value"] = [DBTEAMLOGAdminEmailRemindersPolicySerializer serialize:valueObj.previousValue]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGAdminEmailRemindersChangedDetails *)deserialize:(NSDictionary *)valueDict { @@ -5644,7 +5644,7 @@ @implementation DBTEAMLOGAdminEmailRemindersChangedTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGAdminEmailRemindersChangedType *)deserialize:(NSDictionary *)valueDict { @@ -5833,7 +5833,7 @@ @implementation DBTEAMLOGAdminEmailRemindersPolicySerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGAdminEmailRemindersPolicy *)deserialize:(NSDictionary *)valueDict { @@ -6179,7 +6179,7 @@ @implementation DBTEAMLOGAdminRoleSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGAdminRole *)deserialize:(NSDictionary *)valueDict { @@ -6413,7 +6413,7 @@ @implementation DBTEAMLOGAlertRecipientsSettingTypeSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGAlertRecipientsSettingType *)deserialize:(NSDictionary *)valueDict { @@ -6516,7 +6516,7 @@ @implementation DBTEAMLOGAllowDownloadDisabledDetailsSerializer #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGAllowDownloadDisabledDetails *)deserialize:(NSDictionary *)valueDict { @@ -6615,7 +6615,7 @@ @implementation DBTEAMLOGAllowDownloadDisabledTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGAllowDownloadDisabledType *)deserialize:(NSDictionary *)valueDict { @@ -6706,7 +6706,7 @@ @implementation DBTEAMLOGAllowDownloadEnabledDetailsSerializer #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGAllowDownloadEnabledDetails *)deserialize:(NSDictionary *)valueDict { @@ -6805,7 +6805,7 @@ @implementation DBTEAMLOGAllowDownloadEnabledTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGAllowDownloadEnabledType *)deserialize:(NSDictionary *)valueDict { @@ -6904,7 +6904,7 @@ @implementation DBTEAMLOGApiSessionLogInfoSerializer jsonDict[@"request_id"] = valueObj.requestId; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGApiSessionLogInfo *)deserialize:(NSDictionary *)valueDict { @@ -7005,7 +7005,7 @@ @implementation DBTEAMLOGAppBlockedByPermissionsDetailsSerializer jsonDict[@"app_info"] = [DBTEAMLOGAppLogInfoSerializer serialize:valueObj.appInfo]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGAppBlockedByPermissionsDetails *)deserialize:(NSDictionary *)valueDict { @@ -7104,7 +7104,7 @@ @implementation DBTEAMLOGAppBlockedByPermissionsTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGAppBlockedByPermissionsType *)deserialize:(NSDictionary *)valueDict { @@ -7204,7 +7204,7 @@ @implementation DBTEAMLOGAppLinkTeamDetailsSerializer jsonDict[@"app_info"] = [DBTEAMLOGAppLogInfoSerializer serialize:valueObj.appInfo]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGAppLinkTeamDetails *)deserialize:(NSDictionary *)valueDict { @@ -7303,7 +7303,7 @@ @implementation DBTEAMLOGAppLinkTeamTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGAppLinkTeamType *)deserialize:(NSDictionary *)valueDict { @@ -7403,7 +7403,7 @@ @implementation DBTEAMLOGAppLinkUserDetailsSerializer jsonDict[@"app_info"] = [DBTEAMLOGAppLogInfoSerializer serialize:valueObj.appInfo]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGAppLinkUserDetails *)deserialize:(NSDictionary *)valueDict { @@ -7502,7 +7502,7 @@ @implementation DBTEAMLOGAppLinkUserTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGAppLinkUserType *)deserialize:(NSDictionary *)valueDict { @@ -7648,7 +7648,7 @@ @implementation DBTEAMLOGAppLogInfoSerializer jsonDict[@".tag"] = @"teamLinkedApp"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGAppLogInfo *)deserialize:(NSDictionary *)valueDict { @@ -7799,7 +7799,7 @@ @implementation DBTEAMLOGAppPermissionsChangedDetailsSerializer jsonDict[@"permission"] = [DBTEAMLOGAdminConsoleAppPermissionSerializer serialize:valueObj.permission]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGAppPermissionsChangedDetails *)deserialize:(NSDictionary *)valueDict { @@ -7908,7 +7908,7 @@ @implementation DBTEAMLOGAppPermissionsChangedTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGAppPermissionsChangedType *)deserialize:(NSDictionary *)valueDict { @@ -8008,7 +8008,7 @@ @implementation DBTEAMLOGAppUnlinkTeamDetailsSerializer jsonDict[@"app_info"] = [DBTEAMLOGAppLogInfoSerializer serialize:valueObj.appInfo]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGAppUnlinkTeamDetails *)deserialize:(NSDictionary *)valueDict { @@ -8107,7 +8107,7 @@ @implementation DBTEAMLOGAppUnlinkTeamTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGAppUnlinkTeamType *)deserialize:(NSDictionary *)valueDict { @@ -8207,7 +8207,7 @@ @implementation DBTEAMLOGAppUnlinkUserDetailsSerializer jsonDict[@"app_info"] = [DBTEAMLOGAppLogInfoSerializer serialize:valueObj.appInfo]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGAppUnlinkUserDetails *)deserialize:(NSDictionary *)valueDict { @@ -8306,7 +8306,7 @@ @implementation DBTEAMLOGAppUnlinkUserTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGAppUnlinkUserType *)deserialize:(NSDictionary *)valueDict { @@ -8397,7 +8397,7 @@ @implementation DBTEAMLOGApplyNamingConventionDetailsSerializer #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGApplyNamingConventionDetails *)deserialize:(NSDictionary *)valueDict { @@ -8496,7 +8496,7 @@ @implementation DBTEAMLOGApplyNamingConventionTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGApplyNamingConventionType *)deserialize:(NSDictionary *)valueDict { @@ -8789,7 +8789,7 @@ @implementation DBTEAMLOGAssetLogInfoSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGAssetLogInfo *)deserialize:(NSDictionary *)valueDict { @@ -8901,7 +8901,7 @@ @implementation DBTEAMLOGBackupAdminInvitationSentDetailsSerializer #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGBackupAdminInvitationSentDetails *)deserialize:(NSDictionary *)valueDict { @@ -9001,7 +9001,7 @@ @implementation DBTEAMLOGBackupAdminInvitationSentTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGBackupAdminInvitationSentType *)deserialize:(NSDictionary *)valueDict { @@ -9093,7 +9093,7 @@ @implementation DBTEAMLOGBackupInvitationOpenedDetailsSerializer #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGBackupInvitationOpenedDetails *)deserialize:(NSDictionary *)valueDict { @@ -9192,7 +9192,7 @@ @implementation DBTEAMLOGBackupInvitationOpenedTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGBackupInvitationOpenedType *)deserialize:(NSDictionary *)valueDict { @@ -9360,7 +9360,7 @@ @implementation DBTEAMLOGBackupStatusSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGBackupStatus *)deserialize:(NSDictionary *)valueDict { @@ -9483,7 +9483,7 @@ @implementation DBTEAMLOGBinderAddPageDetailsSerializer jsonDict[@"doc_title"] = valueObj.docTitle; jsonDict[@"binder_item_name"] = valueObj.binderItemName; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGBinderAddPageDetails *)deserialize:(NSDictionary *)valueDict { @@ -9586,7 +9586,7 @@ @implementation DBTEAMLOGBinderAddPageTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGBinderAddPageType *)deserialize:(NSDictionary *)valueDict { @@ -9701,7 +9701,7 @@ @implementation DBTEAMLOGBinderAddSectionDetailsSerializer jsonDict[@"doc_title"] = valueObj.docTitle; jsonDict[@"binder_item_name"] = valueObj.binderItemName; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGBinderAddSectionDetails *)deserialize:(NSDictionary *)valueDict { @@ -9804,7 +9804,7 @@ @implementation DBTEAMLOGBinderAddSectionTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGBinderAddSectionType *)deserialize:(NSDictionary *)valueDict { @@ -9919,7 +9919,7 @@ @implementation DBTEAMLOGBinderRemovePageDetailsSerializer jsonDict[@"doc_title"] = valueObj.docTitle; jsonDict[@"binder_item_name"] = valueObj.binderItemName; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGBinderRemovePageDetails *)deserialize:(NSDictionary *)valueDict { @@ -10022,7 +10022,7 @@ @implementation DBTEAMLOGBinderRemovePageTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGBinderRemovePageType *)deserialize:(NSDictionary *)valueDict { @@ -10137,7 +10137,7 @@ @implementation DBTEAMLOGBinderRemoveSectionDetailsSerializer jsonDict[@"doc_title"] = valueObj.docTitle; jsonDict[@"binder_item_name"] = valueObj.binderItemName; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGBinderRemoveSectionDetails *)deserialize:(NSDictionary *)valueDict { @@ -10240,7 +10240,7 @@ @implementation DBTEAMLOGBinderRemoveSectionTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGBinderRemoveSectionType *)deserialize:(NSDictionary *)valueDict { @@ -10374,7 +10374,7 @@ @implementation DBTEAMLOGBinderRenamePageDetailsSerializer jsonDict[@"previous_binder_item_name"] = valueObj.previousBinderItemName; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGBinderRenamePageDetails *)deserialize:(NSDictionary *)valueDict { @@ -10479,7 +10479,7 @@ @implementation DBTEAMLOGBinderRenamePageTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGBinderRenamePageType *)deserialize:(NSDictionary *)valueDict { @@ -10613,7 +10613,7 @@ @implementation DBTEAMLOGBinderRenameSectionDetailsSerializer jsonDict[@"previous_binder_item_name"] = valueObj.previousBinderItemName; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGBinderRenameSectionDetails *)deserialize:(NSDictionary *)valueDict { @@ -10718,7 +10718,7 @@ @implementation DBTEAMLOGBinderRenameSectionTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGBinderRenameSectionType *)deserialize:(NSDictionary *)valueDict { @@ -10833,7 +10833,7 @@ @implementation DBTEAMLOGBinderReorderPageDetailsSerializer jsonDict[@"doc_title"] = valueObj.docTitle; jsonDict[@"binder_item_name"] = valueObj.binderItemName; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGBinderReorderPageDetails *)deserialize:(NSDictionary *)valueDict { @@ -10936,7 +10936,7 @@ @implementation DBTEAMLOGBinderReorderPageTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGBinderReorderPageType *)deserialize:(NSDictionary *)valueDict { @@ -11051,7 +11051,7 @@ @implementation DBTEAMLOGBinderReorderSectionDetailsSerializer jsonDict[@"doc_title"] = valueObj.docTitle; jsonDict[@"binder_item_name"] = valueObj.binderItemName; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGBinderReorderSectionDetails *)deserialize:(NSDictionary *)valueDict { @@ -11154,7 +11154,7 @@ @implementation DBTEAMLOGBinderReorderSectionTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGBinderReorderSectionType *)deserialize:(NSDictionary *)valueDict { @@ -11322,7 +11322,7 @@ @implementation DBTEAMLOGCameraUploadsPolicySerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGCameraUploadsPolicy *)deserialize:(NSDictionary *)valueDict { @@ -11439,7 +11439,7 @@ @implementation DBTEAMLOGCameraUploadsPolicyChangedDetailsSerializer jsonDict[@"new_value"] = [DBTEAMLOGCameraUploadsPolicySerializer serialize:valueObj.dNewValue]; jsonDict[@"previous_value"] = [DBTEAMLOGCameraUploadsPolicySerializer serialize:valueObj.previousValue]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGCameraUploadsPolicyChangedDetails *)deserialize:(NSDictionary *)valueDict { @@ -11542,7 +11542,7 @@ @implementation DBTEAMLOGCameraUploadsPolicyChangedTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGCameraUploadsPolicyChangedType *)deserialize:(NSDictionary *)valueDict { @@ -11731,7 +11731,7 @@ @implementation DBTEAMLOGCaptureTranscriptPolicySerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGCaptureTranscriptPolicy *)deserialize:(NSDictionary *)valueDict { @@ -11850,7 +11850,7 @@ @implementation DBTEAMLOGCaptureTranscriptPolicyChangedDetailsSerializer jsonDict[@"new_value"] = [DBTEAMLOGCaptureTranscriptPolicySerializer serialize:valueObj.dNewValue]; jsonDict[@"previous_value"] = [DBTEAMLOGCaptureTranscriptPolicySerializer serialize:valueObj.previousValue]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGCaptureTranscriptPolicyChangedDetails *)deserialize:(NSDictionary *)valueDict { @@ -11954,7 +11954,7 @@ @implementation DBTEAMLOGCaptureTranscriptPolicyChangedTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGCaptureTranscriptPolicyChangedType *)deserialize:(NSDictionary *)valueDict { @@ -12121,7 +12121,7 @@ @implementation DBTEAMLOGCertificateSerializer jsonDict[@"common_name"] = valueObj.commonName; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGCertificate *)deserialize:(NSDictionary *)valueDict { @@ -12301,7 +12301,7 @@ @implementation DBTEAMLOGChangeLinkExpirationPolicySerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGChangeLinkExpirationPolicy *)deserialize:(NSDictionary *)valueDict { @@ -12426,7 +12426,7 @@ @implementation DBTEAMLOGChangedEnterpriseAdminRoleDetailsSerializer jsonDict[@"new_value"] = [DBTEAMLOGFedAdminRoleSerializer serialize:valueObj.dNewValue]; jsonDict[@"team_name"] = valueObj.teamName; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGChangedEnterpriseAdminRoleDetails *)deserialize:(NSDictionary *)valueDict { @@ -12530,7 +12530,7 @@ @implementation DBTEAMLOGChangedEnterpriseAdminRoleTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGChangedEnterpriseAdminRoleType *)deserialize:(NSDictionary *)valueDict { @@ -12658,7 +12658,7 @@ @implementation DBTEAMLOGChangedEnterpriseConnectedTeamStatusDetailsSerializer jsonDict[@"previous_value"] = [DBTEAMLOGTrustedTeamsRequestStateSerializer serialize:valueObj.previousValue]; jsonDict[@"new_value"] = [DBTEAMLOGTrustedTeamsRequestStateSerializer serialize:valueObj.dNewValue]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGChangedEnterpriseConnectedTeamStatusDetails *)deserialize:(NSDictionary *)valueDict { @@ -12767,7 +12767,7 @@ @implementation DBTEAMLOGChangedEnterpriseConnectedTeamStatusTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGChangedEnterpriseConnectedTeamStatusType *)deserialize:(NSDictionary *)valueDict { @@ -12885,7 +12885,7 @@ @implementation DBTEAMLOGClassificationChangePolicyDetailsSerializer jsonDict[@"new_value"] = [DBTEAMLOGClassificationPolicyEnumWrapperSerializer serialize:valueObj.dNewValue]; jsonDict[@"classification_type"] = [DBTEAMLOGClassificationTypeSerializer serialize:valueObj.classificationType]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGClassificationChangePolicyDetails *)deserialize:(NSDictionary *)valueDict { @@ -12992,7 +12992,7 @@ @implementation DBTEAMLOGClassificationChangePolicyTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGClassificationChangePolicyType *)deserialize:(NSDictionary *)valueDict { @@ -13084,7 +13084,7 @@ @implementation DBTEAMLOGClassificationCreateReportDetailsSerializer #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGClassificationCreateReportDetails *)deserialize:(NSDictionary *)valueDict { @@ -13185,7 +13185,7 @@ @implementation DBTEAMLOGClassificationCreateReportFailDetailsSerializer jsonDict[@"failure_reason"] = [DBTEAMTeamReportFailureReasonSerializer serialize:valueObj.failureReason]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGClassificationCreateReportFailDetails *)deserialize:(NSDictionary *)valueDict { @@ -13286,7 +13286,7 @@ @implementation DBTEAMLOGClassificationCreateReportFailTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGClassificationCreateReportFailType *)deserialize:(NSDictionary *)valueDict { @@ -13386,7 +13386,7 @@ @implementation DBTEAMLOGClassificationCreateReportTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGClassificationCreateReportType *)deserialize:(NSDictionary *)valueDict { @@ -13597,7 +13597,7 @@ @implementation DBTEAMLOGClassificationPolicyEnumWrapperSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGClassificationPolicyEnumWrapper *)deserialize:(NSDictionary *)valueDict { @@ -13777,7 +13777,7 @@ @implementation DBTEAMLOGClassificationTypeSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGClassificationType *)deserialize:(NSDictionary *)valueDict { @@ -13884,7 +13884,7 @@ @implementation DBTEAMLOGCollectionShareDetailsSerializer jsonDict[@"album_name"] = valueObj.albumName; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGCollectionShareDetails *)deserialize:(NSDictionary *)valueDict { @@ -13983,7 +13983,7 @@ @implementation DBTEAMLOGCollectionShareTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGCollectionShareType *)deserialize:(NSDictionary *)valueDict { @@ -14172,7 +14172,7 @@ @implementation DBTEAMLOGComputerBackupPolicySerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGComputerBackupPolicy *)deserialize:(NSDictionary *)valueDict { @@ -14291,7 +14291,7 @@ @implementation DBTEAMLOGComputerBackupPolicyChangedDetailsSerializer jsonDict[@"new_value"] = [DBTEAMLOGComputerBackupPolicySerializer serialize:valueObj.dNewValue]; jsonDict[@"previous_value"] = [DBTEAMLOGComputerBackupPolicySerializer serialize:valueObj.previousValue]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGComputerBackupPolicyChangedDetails *)deserialize:(NSDictionary *)valueDict { @@ -14394,7 +14394,7 @@ @implementation DBTEAMLOGComputerBackupPolicyChangedTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGComputerBackupPolicyChangedType *)deserialize:(NSDictionary *)valueDict { @@ -14493,7 +14493,7 @@ @implementation DBTEAMLOGConnectedTeamNameSerializer jsonDict[@"team"] = valueObj.team; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGConnectedTeamName *)deserialize:(NSDictionary *)valueDict { @@ -14600,7 +14600,7 @@ @implementation DBTEAMLOGContentAdministrationPolicyChangedDetailsSerializer jsonDict[@"new_value"] = valueObj.dNewValue; jsonDict[@"previous_value"] = valueObj.previousValue; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGContentAdministrationPolicyChangedDetails *)deserialize:(NSDictionary *)valueDict { @@ -14702,7 +14702,7 @@ @implementation DBTEAMLOGContentAdministrationPolicyChangedTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGContentAdministrationPolicyChangedType *)deserialize:(NSDictionary *)valueDict { @@ -14870,7 +14870,7 @@ @implementation DBTEAMLOGContentPermanentDeletePolicySerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGContentPermanentDeletePolicy *)deserialize:(NSDictionary *)valueDict { @@ -15181,7 +15181,7 @@ @implementation DBTEAMLOGContextLogInfoSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGContextLogInfo *)deserialize:(NSDictionary *)valueDict { @@ -15293,7 +15293,7 @@ @implementation DBTEAMLOGCreateFolderDetailsSerializer #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGCreateFolderDetails *)deserialize:(NSDictionary *)valueDict { @@ -15392,7 +15392,7 @@ @implementation DBTEAMLOGCreateFolderTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGCreateFolderType *)deserialize:(NSDictionary *)valueDict { @@ -15498,7 +15498,7 @@ @implementation DBTEAMLOGCreateTeamInviteLinkDetailsSerializer jsonDict[@"link_url"] = valueObj.linkUrl; jsonDict[@"expiry_date"] = valueObj.expiryDate; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGCreateTeamInviteLinkDetails *)deserialize:(NSDictionary *)valueDict { @@ -15598,7 +15598,7 @@ @implementation DBTEAMLOGCreateTeamInviteLinkTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGCreateTeamInviteLinkType *)deserialize:(NSDictionary *)valueDict { @@ -15707,7 +15707,7 @@ @implementation DBTEAMLOGDataPlacementRestrictionChangePolicyDetailsSerializer jsonDict[@"previous_value"] = [DBTEAMLOGPlacementRestrictionSerializer serialize:valueObj.previousValue]; jsonDict[@"new_value"] = [DBTEAMLOGPlacementRestrictionSerializer serialize:valueObj.dNewValue]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGDataPlacementRestrictionChangePolicyDetails *)deserialize:(NSDictionary *)valueDict { @@ -15811,7 +15811,7 @@ @implementation DBTEAMLOGDataPlacementRestrictionChangePolicyTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGDataPlacementRestrictionChangePolicyType *)deserialize:(NSDictionary *)valueDict { @@ -15913,7 +15913,7 @@ @implementation DBTEAMLOGDataPlacementRestrictionSatisfyPolicyDetailsSerializer jsonDict[@"placement_restriction"] = [DBTEAMLOGPlacementRestrictionSerializer serialize:valueObj.placementRestriction]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGDataPlacementRestrictionSatisfyPolicyDetails *)deserialize:(NSDictionary *)valueDict { @@ -16015,7 +16015,7 @@ @implementation DBTEAMLOGDataPlacementRestrictionSatisfyPolicyTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGDataPlacementRestrictionSatisfyPolicyType *)deserialize:(NSDictionary *)valueDict { @@ -16107,7 +16107,7 @@ @implementation DBTEAMLOGDataResidencyMigrationRequestSuccessfulDetailsSerialize #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGDataResidencyMigrationRequestSuccessfulDetails *)deserialize:(NSDictionary *)valueDict { @@ -16207,7 +16207,7 @@ @implementation DBTEAMLOGDataResidencyMigrationRequestSuccessfulTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGDataResidencyMigrationRequestSuccessfulType *)deserialize:(NSDictionary *)valueDict { @@ -16299,7 +16299,7 @@ @implementation DBTEAMLOGDataResidencyMigrationRequestUnsuccessfulDetailsSeriali #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGDataResidencyMigrationRequestUnsuccessfulDetails *)deserialize:(NSDictionary *)valueDict { @@ -16399,7 +16399,7 @@ @implementation DBTEAMLOGDataResidencyMigrationRequestUnsuccessfulTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGDataResidencyMigrationRequestUnsuccessfulType *)deserialize:(NSDictionary *)valueDict { @@ -16694,7 +16694,7 @@ @implementation DBTEAMLOGDefaultLinkExpirationDaysPolicySerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGDefaultLinkExpirationDaysPolicy *)deserialize:(NSDictionary *)valueDict { @@ -16813,7 +16813,7 @@ @implementation DBTEAMLOGDeleteTeamInviteLinkDetailsSerializer jsonDict[@"link_url"] = valueObj.linkUrl; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGDeleteTeamInviteLinkDetails *)deserialize:(NSDictionary *)valueDict { @@ -16912,7 +16912,7 @@ @implementation DBTEAMLOGDeleteTeamInviteLinkTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGDeleteTeamInviteLinkType *)deserialize:(NSDictionary *)valueDict { @@ -17078,7 +17078,7 @@ @implementation DBTEAMLOGDeviceSessionLogInfoSerializer jsonDict[@".tag"] = @"legacyDeviceSession"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGDeviceSessionLogInfo *)deserialize:(NSDictionary *)valueDict { @@ -17300,7 +17300,7 @@ @implementation DBTEAMLOGDesktopDeviceSessionLogInfoSerializer jsonDict[@"client_version"] = valueObj.clientVersion; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGDesktopDeviceSessionLogInfo *)deserialize:(NSDictionary *)valueDict { @@ -17456,7 +17456,7 @@ @implementation DBTEAMLOGSessionLogInfoSerializer jsonDict[@".tag"] = @"mobile"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSessionLogInfo *)deserialize:(NSDictionary *)valueDict { @@ -17574,7 +17574,7 @@ @implementation DBTEAMLOGDesktopSessionLogInfoSerializer jsonDict[@"session_id"] = valueObj.sessionId; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGDesktopSessionLogInfo *)deserialize:(NSDictionary *)valueDict { @@ -17666,7 +17666,7 @@ @implementation DBTEAMLOGDeviceApprovalsAddExceptionDetailsSerializer #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGDeviceApprovalsAddExceptionDetails *)deserialize:(NSDictionary *)valueDict { @@ -17766,7 +17766,7 @@ @implementation DBTEAMLOGDeviceApprovalsAddExceptionTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGDeviceApprovalsAddExceptionType *)deserialize:(NSDictionary *)valueDict { @@ -17889,7 +17889,7 @@ @implementation DBTEAMLOGDeviceApprovalsChangeDesktopPolicyDetailsSerializer jsonDict[@"previous_value"] = [DBTEAMLOGDeviceApprovalsPolicySerializer serialize:valueObj.previousValue]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGDeviceApprovalsChangeDesktopPolicyDetails *)deserialize:(NSDictionary *)valueDict { @@ -17994,7 +17994,7 @@ @implementation DBTEAMLOGDeviceApprovalsChangeDesktopPolicyTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGDeviceApprovalsChangeDesktopPolicyType *)deserialize:(NSDictionary *)valueDict { @@ -18117,7 +18117,7 @@ @implementation DBTEAMLOGDeviceApprovalsChangeMobilePolicyDetailsSerializer jsonDict[@"previous_value"] = [DBTEAMLOGDeviceApprovalsPolicySerializer serialize:valueObj.previousValue]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGDeviceApprovalsChangeMobilePolicyDetails *)deserialize:(NSDictionary *)valueDict { @@ -18222,7 +18222,7 @@ @implementation DBTEAMLOGDeviceApprovalsChangeMobilePolicyTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGDeviceApprovalsChangeMobilePolicyType *)deserialize:(NSDictionary *)valueDict { @@ -18345,7 +18345,7 @@ @implementation DBTEAMLOGDeviceApprovalsChangeOverageActionDetailsSerializer jsonDict[@"previous_value"] = [DBTEAMPOLICIESRolloutMethodSerializer serialize:valueObj.previousValue]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGDeviceApprovalsChangeOverageActionDetails *)deserialize:(NSDictionary *)valueDict { @@ -18450,7 +18450,7 @@ @implementation DBTEAMLOGDeviceApprovalsChangeOverageActionTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGDeviceApprovalsChangeOverageActionType *)deserialize:(NSDictionary *)valueDict { @@ -18573,7 +18573,7 @@ @implementation DBTEAMLOGDeviceApprovalsChangeUnlinkActionDetailsSerializer jsonDict[@"previous_value"] = [DBTEAMLOGDeviceUnlinkPolicySerializer serialize:valueObj.previousValue]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGDeviceApprovalsChangeUnlinkActionDetails *)deserialize:(NSDictionary *)valueDict { @@ -18678,7 +18678,7 @@ @implementation DBTEAMLOGDeviceApprovalsChangeUnlinkActionTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGDeviceApprovalsChangeUnlinkActionType *)deserialize:(NSDictionary *)valueDict { @@ -18846,7 +18846,7 @@ @implementation DBTEAMLOGDeviceApprovalsPolicySerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGDeviceApprovalsPolicy *)deserialize:(NSDictionary *)valueDict { @@ -18946,7 +18946,7 @@ @implementation DBTEAMLOGDeviceApprovalsRemoveExceptionDetailsSerializer #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGDeviceApprovalsRemoveExceptionDetails *)deserialize:(NSDictionary *)valueDict { @@ -19046,7 +19046,7 @@ @implementation DBTEAMLOGDeviceApprovalsRemoveExceptionTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGDeviceApprovalsRemoveExceptionType *)deserialize:(NSDictionary *)valueDict { @@ -19146,7 +19146,7 @@ @implementation DBTEAMLOGDeviceChangeIpDesktopDetailsSerializer jsonDict[@"device_session_info"] = [DBTEAMLOGDeviceSessionLogInfoSerializer serialize:valueObj.deviceSessionInfo]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGDeviceChangeIpDesktopDetails *)deserialize:(NSDictionary *)valueDict { @@ -19246,7 +19246,7 @@ @implementation DBTEAMLOGDeviceChangeIpDesktopTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGDeviceChangeIpDesktopType *)deserialize:(NSDictionary *)valueDict { @@ -19355,7 +19355,7 @@ @implementation DBTEAMLOGDeviceChangeIpMobileDetailsSerializer jsonDict[@"device_session_info"] = [DBTEAMLOGDeviceSessionLogInfoSerializer serialize:valueObj.deviceSessionInfo]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGDeviceChangeIpMobileDetails *)deserialize:(NSDictionary *)valueDict { @@ -19457,7 +19457,7 @@ @implementation DBTEAMLOGDeviceChangeIpMobileTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGDeviceChangeIpMobileType *)deserialize:(NSDictionary *)valueDict { @@ -19556,7 +19556,7 @@ @implementation DBTEAMLOGDeviceChangeIpWebDetailsSerializer jsonDict[@"user_agent"] = valueObj.userAgent; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGDeviceChangeIpWebDetails *)deserialize:(NSDictionary *)valueDict { @@ -19655,7 +19655,7 @@ @implementation DBTEAMLOGDeviceChangeIpWebTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGDeviceChangeIpWebType *)deserialize:(NSDictionary *)valueDict { @@ -19786,7 +19786,7 @@ @implementation DBTEAMLOGDeviceDeleteOnUnlinkFailDetailsSerializer jsonDict[@"display_name"] = valueObj.displayName; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGDeviceDeleteOnUnlinkFailDetails *)deserialize:(NSDictionary *)valueDict { @@ -19890,7 +19890,7 @@ @implementation DBTEAMLOGDeviceDeleteOnUnlinkFailTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGDeviceDeleteOnUnlinkFailType *)deserialize:(NSDictionary *)valueDict { @@ -20012,7 +20012,7 @@ @implementation DBTEAMLOGDeviceDeleteOnUnlinkSuccessDetailsSerializer jsonDict[@"display_name"] = valueObj.displayName; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGDeviceDeleteOnUnlinkSuccessDetails *)deserialize:(NSDictionary *)valueDict { @@ -20114,7 +20114,7 @@ @implementation DBTEAMLOGDeviceDeleteOnUnlinkSuccessTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGDeviceDeleteOnUnlinkSuccessType *)deserialize:(NSDictionary *)valueDict { @@ -20230,7 +20230,7 @@ @implementation DBTEAMLOGDeviceLinkFailDetailsSerializer jsonDict[@"ip_address"] = valueObj.ipAddress; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGDeviceLinkFailDetails *)deserialize:(NSDictionary *)valueDict { @@ -20330,7 +20330,7 @@ @implementation DBTEAMLOGDeviceLinkFailTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGDeviceLinkFailType *)deserialize:(NSDictionary *)valueDict { @@ -20439,7 +20439,7 @@ @implementation DBTEAMLOGDeviceLinkSuccessDetailsSerializer jsonDict[@"device_session_info"] = [DBTEAMLOGDeviceSessionLogInfoSerializer serialize:valueObj.deviceSessionInfo]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGDeviceLinkSuccessDetails *)deserialize:(NSDictionary *)valueDict { @@ -20541,7 +20541,7 @@ @implementation DBTEAMLOGDeviceLinkSuccessTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGDeviceLinkSuccessType *)deserialize:(NSDictionary *)valueDict { @@ -20633,7 +20633,7 @@ @implementation DBTEAMLOGDeviceManagementDisabledDetailsSerializer #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGDeviceManagementDisabledDetails *)deserialize:(NSDictionary *)valueDict { @@ -20732,7 +20732,7 @@ @implementation DBTEAMLOGDeviceManagementDisabledTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGDeviceManagementDisabledType *)deserialize:(NSDictionary *)valueDict { @@ -20824,7 +20824,7 @@ @implementation DBTEAMLOGDeviceManagementEnabledDetailsSerializer #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGDeviceManagementEnabledDetails *)deserialize:(NSDictionary *)valueDict { @@ -20923,7 +20923,7 @@ @implementation DBTEAMLOGDeviceManagementEnabledTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGDeviceManagementEnabledType *)deserialize:(NSDictionary *)valueDict { @@ -21042,7 +21042,7 @@ @implementation DBTEAMLOGDeviceSyncBackupStatusChangedDetailsSerializer jsonDict[@"previous_value"] = [DBTEAMLOGBackupStatusSerializer serialize:valueObj.previousValue]; jsonDict[@"new_value"] = [DBTEAMLOGBackupStatusSerializer serialize:valueObj.dNewValue]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGDeviceSyncBackupStatusChangedDetails *)deserialize:(NSDictionary *)valueDict { @@ -21148,7 +21148,7 @@ @implementation DBTEAMLOGDeviceSyncBackupStatusChangedTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGDeviceSyncBackupStatusChangedType *)deserialize:(NSDictionary *)valueDict { @@ -21316,7 +21316,7 @@ @implementation DBTEAMLOGDeviceTypeSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGDeviceType *)deserialize:(NSDictionary *)valueDict { @@ -21454,7 +21454,7 @@ @implementation DBTEAMLOGDeviceUnlinkDetailsSerializer jsonDict[@"display_name"] = valueObj.displayName; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGDeviceUnlinkDetails *)deserialize:(NSDictionary *)valueDict { @@ -21627,7 +21627,7 @@ @implementation DBTEAMLOGDeviceUnlinkPolicySerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGDeviceUnlinkPolicy *)deserialize:(NSDictionary *)valueDict { @@ -21734,7 +21734,7 @@ @implementation DBTEAMLOGDeviceUnlinkTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGDeviceUnlinkType *)deserialize:(NSDictionary *)valueDict { @@ -21826,7 +21826,7 @@ @implementation DBTEAMLOGDirectoryRestrictionsAddMembersDetailsSerializer #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGDirectoryRestrictionsAddMembersDetails *)deserialize:(NSDictionary *)valueDict { @@ -21926,7 +21926,7 @@ @implementation DBTEAMLOGDirectoryRestrictionsAddMembersTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGDirectoryRestrictionsAddMembersType *)deserialize:(NSDictionary *)valueDict { @@ -22018,7 +22018,7 @@ @implementation DBTEAMLOGDirectoryRestrictionsRemoveMembersDetailsSerializer #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGDirectoryRestrictionsRemoveMembersDetails *)deserialize:(NSDictionary *)valueDict { @@ -22118,7 +22118,7 @@ @implementation DBTEAMLOGDirectoryRestrictionsRemoveMembersTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGDirectoryRestrictionsRemoveMembersType *)deserialize:(NSDictionary *)valueDict { @@ -22209,7 +22209,7 @@ @implementation DBTEAMLOGDisabledDomainInvitesDetailsSerializer #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGDisabledDomainInvitesDetails *)deserialize:(NSDictionary *)valueDict { @@ -22308,7 +22308,7 @@ @implementation DBTEAMLOGDisabledDomainInvitesTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGDisabledDomainInvitesType *)deserialize:(NSDictionary *)valueDict { @@ -22476,7 +22476,7 @@ @implementation DBTEAMLOGDispositionActionTypeSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGDispositionActionType *)deserialize:(NSDictionary *)valueDict { @@ -22576,7 +22576,7 @@ @implementation DBTEAMLOGDomainInvitesApproveRequestToJoinTeamDetailsSerializer #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGDomainInvitesApproveRequestToJoinTeamDetails *)deserialize:(NSDictionary *)valueDict { @@ -22676,7 +22676,7 @@ @implementation DBTEAMLOGDomainInvitesApproveRequestToJoinTeamTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGDomainInvitesApproveRequestToJoinTeamType *)deserialize:(NSDictionary *)valueDict { @@ -22768,7 +22768,7 @@ @implementation DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamDetailsSerializer #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamDetails *)deserialize:(NSDictionary *)valueDict { @@ -22868,7 +22868,7 @@ @implementation DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamType *)deserialize:(NSDictionary *)valueDict { @@ -22975,7 +22975,7 @@ @implementation DBTEAMLOGDomainInvitesEmailExistingUsersDetailsSerializer jsonDict[@"domain_name"] = valueObj.domainName; jsonDict[@"num_recipients"] = valueObj.numRecipients; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGDomainInvitesEmailExistingUsersDetails *)deserialize:(NSDictionary *)valueDict { @@ -23077,7 +23077,7 @@ @implementation DBTEAMLOGDomainInvitesEmailExistingUsersTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGDomainInvitesEmailExistingUsersType *)deserialize:(NSDictionary *)valueDict { @@ -23169,7 +23169,7 @@ @implementation DBTEAMLOGDomainInvitesRequestToJoinTeamDetailsSerializer #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGDomainInvitesRequestToJoinTeamDetails *)deserialize:(NSDictionary *)valueDict { @@ -23269,7 +23269,7 @@ @implementation DBTEAMLOGDomainInvitesRequestToJoinTeamTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGDomainInvitesRequestToJoinTeamType *)deserialize:(NSDictionary *)valueDict { @@ -23361,7 +23361,7 @@ @implementation DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoDetailsSerializer #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoDetails *)deserialize:(NSDictionary *)valueDict { @@ -23461,7 +23461,7 @@ @implementation DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoType *)deserialize:(NSDictionary *)valueDict { @@ -23553,7 +23553,7 @@ @implementation DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesDetailsSerializer #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesDetails *)deserialize:(NSDictionary *)valueDict { @@ -23653,7 +23653,7 @@ @implementation DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesType *)deserialize:(NSDictionary *)valueDict { @@ -23769,7 +23769,7 @@ @implementation DBTEAMLOGDomainVerificationAddDomainFailDetailsSerializer jsonDict[@"verification_method"] = valueObj.verificationMethod; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGDomainVerificationAddDomainFailDetails *)deserialize:(NSDictionary *)valueDict { @@ -23871,7 +23871,7 @@ @implementation DBTEAMLOGDomainVerificationAddDomainFailTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGDomainVerificationAddDomainFailType *)deserialize:(NSDictionary *)valueDict { @@ -23994,7 +23994,7 @@ @implementation DBTEAMLOGDomainVerificationAddDomainSuccessDetailsSerializer jsonDict[@"verification_method"] = valueObj.verificationMethod; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGDomainVerificationAddDomainSuccessDetails *)deserialize:(NSDictionary *)valueDict { @@ -24099,7 +24099,7 @@ @implementation DBTEAMLOGDomainVerificationAddDomainSuccessTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGDomainVerificationAddDomainSuccessType *)deserialize:(NSDictionary *)valueDict { @@ -24205,7 +24205,7 @@ @implementation DBTEAMLOGDomainVerificationRemoveDomainDetailsSerializer return elem0; }]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGDomainVerificationRemoveDomainDetails *)deserialize:(NSDictionary *)valueDict { @@ -24308,7 +24308,7 @@ @implementation DBTEAMLOGDomainVerificationRemoveDomainTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGDomainVerificationRemoveDomainType *)deserialize:(NSDictionary *)valueDict { @@ -24476,7 +24476,7 @@ @implementation DBTEAMLOGDownloadPolicyTypeSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGDownloadPolicyType *)deserialize:(NSDictionary *)valueDict { @@ -24584,7 +24584,7 @@ @implementation DBTEAMLOGDropboxPasswordsExportedDetailsSerializer jsonDict[@"platform"] = valueObj.platform; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGDropboxPasswordsExportedDetails *)deserialize:(NSDictionary *)valueDict { @@ -24683,7 +24683,7 @@ @implementation DBTEAMLOGDropboxPasswordsExportedTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGDropboxPasswordsExportedType *)deserialize:(NSDictionary *)valueDict { @@ -24790,7 +24790,7 @@ @implementation DBTEAMLOGDropboxPasswordsNewDeviceEnrolledDetailsSerializer jsonDict[@"is_first_device"] = valueObj.isFirstDevice; jsonDict[@"platform"] = valueObj.platform; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGDropboxPasswordsNewDeviceEnrolledDetails *)deserialize:(NSDictionary *)valueDict { @@ -24892,7 +24892,7 @@ @implementation DBTEAMLOGDropboxPasswordsNewDeviceEnrolledTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGDropboxPasswordsNewDeviceEnrolledType *)deserialize:(NSDictionary *)valueDict { @@ -25081,7 +25081,7 @@ @implementation DBTEAMLOGDropboxPasswordsPolicySerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGDropboxPasswordsPolicy *)deserialize:(NSDictionary *)valueDict { @@ -25200,7 +25200,7 @@ @implementation DBTEAMLOGDropboxPasswordsPolicyChangedDetailsSerializer jsonDict[@"new_value"] = [DBTEAMLOGDropboxPasswordsPolicySerializer serialize:valueObj.dNewValue]; jsonDict[@"previous_value"] = [DBTEAMLOGDropboxPasswordsPolicySerializer serialize:valueObj.previousValue]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGDropboxPasswordsPolicyChangedDetails *)deserialize:(NSDictionary *)valueDict { @@ -25304,7 +25304,7 @@ @implementation DBTEAMLOGDropboxPasswordsPolicyChangedTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGDropboxPasswordsPolicyChangedType *)deserialize:(NSDictionary *)valueDict { @@ -25411,7 +25411,7 @@ @implementation DBTEAMLOGDurationLogInfoSerializer jsonDict[@"unit"] = [DBTEAMLOGTimeUnitSerializer serialize:valueObj.unit]; jsonDict[@"amount"] = valueObj.amount; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGDurationLogInfo *)deserialize:(NSDictionary *)valueDict { @@ -25580,7 +25580,7 @@ @implementation DBTEAMLOGEmailIngestPolicySerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGEmailIngestPolicy *)deserialize:(NSDictionary *)valueDict { @@ -25697,7 +25697,7 @@ @implementation DBTEAMLOGEmailIngestPolicyChangedDetailsSerializer jsonDict[@"new_value"] = [DBTEAMLOGEmailIngestPolicySerializer serialize:valueObj.dNewValue]; jsonDict[@"previous_value"] = [DBTEAMLOGEmailIngestPolicySerializer serialize:valueObj.previousValue]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGEmailIngestPolicyChangedDetails *)deserialize:(NSDictionary *)valueDict { @@ -25798,7 +25798,7 @@ @implementation DBTEAMLOGEmailIngestPolicyChangedTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGEmailIngestPolicyChangedType *)deserialize:(NSDictionary *)valueDict { @@ -25956,7 +25956,7 @@ @implementation DBTEAMLOGEmailIngestReceiveFileDetailsSerializer jsonDict[@"from_email"] = valueObj.fromEmail; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGEmailIngestReceiveFileDetails *)deserialize:(NSDictionary *)valueDict { @@ -26066,7 +26066,7 @@ @implementation DBTEAMLOGEmailIngestReceiveFileTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGEmailIngestReceiveFileType *)deserialize:(NSDictionary *)valueDict { @@ -26157,7 +26157,7 @@ @implementation DBTEAMLOGEmmAddExceptionDetailsSerializer #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGEmmAddExceptionDetails *)deserialize:(NSDictionary *)valueDict { @@ -26256,7 +26256,7 @@ @implementation DBTEAMLOGEmmAddExceptionTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGEmmAddExceptionType *)deserialize:(NSDictionary *)valueDict { @@ -26373,7 +26373,7 @@ @implementation DBTEAMLOGEmmChangePolicyDetailsSerializer jsonDict[@"previous_value"] = [DBTEAMPOLICIESEmmStateSerializer serialize:valueObj.previousValue]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGEmmChangePolicyDetails *)deserialize:(NSDictionary *)valueDict { @@ -26474,7 +26474,7 @@ @implementation DBTEAMLOGEmmChangePolicyTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGEmmChangePolicyType *)deserialize:(NSDictionary *)valueDict { @@ -26566,7 +26566,7 @@ @implementation DBTEAMLOGEmmCreateExceptionsReportDetailsSerializer #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGEmmCreateExceptionsReportDetails *)deserialize:(NSDictionary *)valueDict { @@ -26666,7 +26666,7 @@ @implementation DBTEAMLOGEmmCreateExceptionsReportTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGEmmCreateExceptionsReportType *)deserialize:(NSDictionary *)valueDict { @@ -26757,7 +26757,7 @@ @implementation DBTEAMLOGEmmCreateUsageReportDetailsSerializer #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGEmmCreateUsageReportDetails *)deserialize:(NSDictionary *)valueDict { @@ -26856,7 +26856,7 @@ @implementation DBTEAMLOGEmmCreateUsageReportTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGEmmCreateUsageReportType *)deserialize:(NSDictionary *)valueDict { @@ -26956,7 +26956,7 @@ @implementation DBTEAMLOGEmmErrorDetailsSerializer jsonDict[@"error_details"] = [DBTEAMLOGFailureDetailsLogInfoSerializer serialize:valueObj.errorDetails]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGEmmErrorDetails *)deserialize:(NSDictionary *)valueDict { @@ -27056,7 +27056,7 @@ @implementation DBTEAMLOGEmmErrorTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGEmmErrorType *)deserialize:(NSDictionary *)valueDict { @@ -27147,7 +27147,7 @@ @implementation DBTEAMLOGEmmRefreshAuthTokenDetailsSerializer #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGEmmRefreshAuthTokenDetails *)deserialize:(NSDictionary *)valueDict { @@ -27246,7 +27246,7 @@ @implementation DBTEAMLOGEmmRefreshAuthTokenTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGEmmRefreshAuthTokenType *)deserialize:(NSDictionary *)valueDict { @@ -27337,7 +27337,7 @@ @implementation DBTEAMLOGEmmRemoveExceptionDetailsSerializer #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGEmmRemoveExceptionDetails *)deserialize:(NSDictionary *)valueDict { @@ -27436,7 +27436,7 @@ @implementation DBTEAMLOGEmmRemoveExceptionTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGEmmRemoveExceptionType *)deserialize:(NSDictionary *)valueDict { @@ -27527,7 +27527,7 @@ @implementation DBTEAMLOGEnabledDomainInvitesDetailsSerializer #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGEnabledDomainInvitesDetails *)deserialize:(NSDictionary *)valueDict { @@ -27626,7 +27626,7 @@ @implementation DBTEAMLOGEnabledDomainInvitesTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGEnabledDomainInvitesType *)deserialize:(NSDictionary *)valueDict { @@ -27728,7 +27728,7 @@ @implementation DBTEAMLOGEndedEnterpriseAdminSessionDeprecatedDetailsSerializer jsonDict[@"federation_extra_details"] = [DBTEAMLOGFedExtraDetailsSerializer serialize:valueObj.federationExtraDetails]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGEndedEnterpriseAdminSessionDeprecatedDetails *)deserialize:(NSDictionary *)valueDict { @@ -27830,7 +27830,7 @@ @implementation DBTEAMLOGEndedEnterpriseAdminSessionDeprecatedTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGEndedEnterpriseAdminSessionDeprecatedType *)deserialize:(NSDictionary *)valueDict { @@ -27922,7 +27922,7 @@ @implementation DBTEAMLOGEndedEnterpriseAdminSessionDetailsSerializer #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGEndedEnterpriseAdminSessionDetails *)deserialize:(NSDictionary *)valueDict { @@ -28022,7 +28022,7 @@ @implementation DBTEAMLOGEndedEnterpriseAdminSessionTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGEndedEnterpriseAdminSessionType *)deserialize:(NSDictionary *)valueDict { @@ -28190,7 +28190,7 @@ @implementation DBTEAMLOGEnforceLinkPasswordPolicySerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGEnforceLinkPasswordPolicy *)deserialize:(NSDictionary *)valueDict { @@ -28323,7 +28323,7 @@ @implementation DBTEAMLOGEnterpriseSettingsLockingDetailsSerializer jsonDict[@"previous_settings_page_locking_state"] = valueObj.previousSettingsPageLockingState; jsonDict[@"new_settings_page_locking_state"] = valueObj.dNewSettingsPageLockingState; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGEnterpriseSettingsLockingDetails *)deserialize:(NSDictionary *)valueDict { @@ -28429,7 +28429,7 @@ @implementation DBTEAMLOGEnterpriseSettingsLockingTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGEnterpriseSettingsLockingType *)deserialize:(NSDictionary *)valueDict { @@ -29038,7 +29038,7 @@ @implementation DBTEAMLOGEventCategorySerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGEventCategory *)deserialize:(NSDictionary *)valueDict { @@ -47294,7 +47294,7 @@ @implementation DBTEAMLOGEventDetailsSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGEventDetails *)deserialize:(NSDictionary *)valueDict { @@ -67045,7 +67045,7 @@ @implementation DBTEAMLOGEventTypeSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGEventType *)deserialize:(NSDictionary *)valueDict { @@ -79688,7 +79688,7 @@ @implementation DBTEAMLOGEventTypeArgSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGEventTypeArg *)deserialize:(NSDictionary *)valueDict { @@ -80789,7 +80789,7 @@ @implementation DBTEAMLOGExportMembersReportDetailsSerializer #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGExportMembersReportDetails *)deserialize:(NSDictionary *)valueDict { @@ -80890,7 +80890,7 @@ @implementation DBTEAMLOGExportMembersReportFailDetailsSerializer jsonDict[@"failure_reason"] = [DBTEAMTeamReportFailureReasonSerializer serialize:valueObj.failureReason]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGExportMembersReportFailDetails *)deserialize:(NSDictionary *)valueDict { @@ -80990,7 +80990,7 @@ @implementation DBTEAMLOGExportMembersReportFailTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGExportMembersReportFailType *)deserialize:(NSDictionary *)valueDict { @@ -81089,7 +81089,7 @@ @implementation DBTEAMLOGExportMembersReportTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGExportMembersReportType *)deserialize:(NSDictionary *)valueDict { @@ -81207,7 +81207,7 @@ @implementation DBTEAMLOGExtendedVersionHistoryChangePolicyDetailsSerializer jsonDict[@"previous_value"] = [DBTEAMLOGExtendedVersionHistoryPolicySerializer serialize:valueObj.previousValue]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGExtendedVersionHistoryChangePolicyDetails *)deserialize:(NSDictionary *)valueDict { @@ -81313,7 +81313,7 @@ @implementation DBTEAMLOGExtendedVersionHistoryChangePolicyTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGExtendedVersionHistoryChangePolicyType *)deserialize:(NSDictionary *)valueDict { @@ -81523,7 +81523,7 @@ @implementation DBTEAMLOGExtendedVersionHistoryPolicySerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGExtendedVersionHistoryPolicy *)deserialize:(NSDictionary *)valueDict { @@ -81704,7 +81704,7 @@ @implementation DBTEAMLOGExternalDriveBackupEligibilityStatusSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGExternalDriveBackupEligibilityStatus *)deserialize:(NSDictionary *)valueDict { @@ -81834,7 +81834,7 @@ @implementation DBTEAMLOGExternalDriveBackupEligibilityStatusCheckedDetailsSeria jsonDict[@"status"] = [DBTEAMLOGExternalDriveBackupEligibilityStatusSerializer serialize:valueObj.status]; jsonDict[@"number_of_external_drive_backup"] = valueObj.numberOfExternalDriveBackup; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGExternalDriveBackupEligibilityStatusCheckedDetails *)deserialize:(NSDictionary *)valueDict { @@ -81941,7 +81941,7 @@ @implementation DBTEAMLOGExternalDriveBackupEligibilityStatusCheckedTypeSerializ jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGExternalDriveBackupEligibilityStatusCheckedType *)deserialize:(NSDictionary *)valueDict { @@ -82130,7 +82130,7 @@ @implementation DBTEAMLOGExternalDriveBackupPolicySerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGExternalDriveBackupPolicy *)deserialize:(NSDictionary *)valueDict { @@ -82249,7 +82249,7 @@ @implementation DBTEAMLOGExternalDriveBackupPolicyChangedDetailsSerializer jsonDict[@"new_value"] = [DBTEAMLOGExternalDriveBackupPolicySerializer serialize:valueObj.dNewValue]; jsonDict[@"previous_value"] = [DBTEAMLOGExternalDriveBackupPolicySerializer serialize:valueObj.previousValue]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGExternalDriveBackupPolicyChangedDetails *)deserialize:(NSDictionary *)valueDict { @@ -82353,7 +82353,7 @@ @implementation DBTEAMLOGExternalDriveBackupPolicyChangedTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGExternalDriveBackupPolicyChangedType *)deserialize:(NSDictionary *)valueDict { @@ -82605,7 +82605,7 @@ @implementation DBTEAMLOGExternalDriveBackupStatusSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGExternalDriveBackupStatus *)deserialize:(NSDictionary *)valueDict { @@ -82740,7 +82740,7 @@ @implementation DBTEAMLOGExternalDriveBackupStatusChangedDetailsSerializer jsonDict[@"previous_value"] = [DBTEAMLOGExternalDriveBackupStatusSerializer serialize:valueObj.previousValue]; jsonDict[@"new_value"] = [DBTEAMLOGExternalDriveBackupStatusSerializer serialize:valueObj.dNewValue]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGExternalDriveBackupStatusChangedDetails *)deserialize:(NSDictionary *)valueDict { @@ -82848,7 +82848,7 @@ @implementation DBTEAMLOGExternalDriveBackupStatusChangedTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGExternalDriveBackupStatusChangedType *)deserialize:(NSDictionary *)valueDict { @@ -82940,7 +82940,7 @@ @implementation DBTEAMLOGExternalSharingCreateReportDetailsSerializer #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGExternalSharingCreateReportDetails *)deserialize:(NSDictionary *)valueDict { @@ -83040,7 +83040,7 @@ @implementation DBTEAMLOGExternalSharingCreateReportTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGExternalSharingCreateReportType *)deserialize:(NSDictionary *)valueDict { @@ -83141,7 +83141,7 @@ @implementation DBTEAMLOGExternalSharingReportFailedDetailsSerializer jsonDict[@"failure_reason"] = [DBTEAMTeamReportFailureReasonSerializer serialize:valueObj.failureReason]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGExternalSharingReportFailedDetails *)deserialize:(NSDictionary *)valueDict { @@ -83242,7 +83242,7 @@ @implementation DBTEAMLOGExternalSharingReportFailedTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGExternalSharingReportFailedType *)deserialize:(NSDictionary *)valueDict { @@ -83350,7 +83350,7 @@ @implementation DBTEAMLOGExternalUserLogInfoSerializer jsonDict[@"user_identifier"] = valueObj.userIdentifier; jsonDict[@"identifier_type"] = [DBTEAMLOGIdentifierTypeSerializer serialize:valueObj.identifierType]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGExternalUserLogInfo *)deserialize:(NSDictionary *)valueDict { @@ -83473,7 +83473,7 @@ @implementation DBTEAMLOGFailureDetailsLogInfoSerializer jsonDict[@"technical_error_message"] = valueObj.technicalErrorMessage; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGFailureDetailsLogInfo *)deserialize:(NSDictionary *)valueDict { @@ -83643,7 +83643,7 @@ @implementation DBTEAMLOGFedAdminRoleSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGFedAdminRole *)deserialize:(NSDictionary *)valueDict { @@ -83844,7 +83844,7 @@ @implementation DBTEAMLOGFedExtraDetailsSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGFedExtraDetails *)deserialize:(NSDictionary *)valueDict { @@ -84106,7 +84106,7 @@ @implementation DBTEAMLOGFedHandshakeActionSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGFedHandshakeAction *)deserialize:(NSDictionary *)valueDict { @@ -84356,7 +84356,7 @@ @implementation DBTEAMLOGFederationStatusChangeAdditionalInfoSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGFederationStatusChangeAdditionalInfo *)deserialize:(NSDictionary *)valueDict { @@ -84478,7 +84478,7 @@ @implementation DBTEAMLOGFileAddCommentDetailsSerializer jsonDict[@"comment_text"] = valueObj.commentText; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGFileAddCommentDetails *)deserialize:(NSDictionary *)valueDict { @@ -84577,7 +84577,7 @@ @implementation DBTEAMLOGFileAddCommentTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGFileAddCommentType *)deserialize:(NSDictionary *)valueDict { @@ -84668,7 +84668,7 @@ @implementation DBTEAMLOGFileAddDetailsSerializer #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGFileAddDetails *)deserialize:(NSDictionary *)valueDict { @@ -84759,7 +84759,7 @@ @implementation DBTEAMLOGFileAddFromAutomationDetailsSerializer #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGFileAddFromAutomationDetails *)deserialize:(NSDictionary *)valueDict { @@ -84858,7 +84858,7 @@ @implementation DBTEAMLOGFileAddFromAutomationTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGFileAddFromAutomationType *)deserialize:(NSDictionary *)valueDict { @@ -84957,7 +84957,7 @@ @implementation DBTEAMLOGFileAddTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGFileAddType *)deserialize:(NSDictionary *)valueDict { @@ -85075,7 +85075,7 @@ @implementation DBTEAMLOGFileChangeCommentSubscriptionDetailsSerializer jsonDict[@"previous_value"] = [DBTEAMLOGFileCommentNotificationPolicySerializer serialize:valueObj.previousValue]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGFileChangeCommentSubscriptionDetails *)deserialize:(NSDictionary *)valueDict { @@ -85181,7 +85181,7 @@ @implementation DBTEAMLOGFileChangeCommentSubscriptionTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGFileChangeCommentSubscriptionType *)deserialize:(NSDictionary *)valueDict { @@ -85350,7 +85350,7 @@ @implementation DBTEAMLOGFileCommentNotificationPolicySerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGFileCommentNotificationPolicy *)deserialize:(NSDictionary *)valueDict { @@ -85476,7 +85476,7 @@ @implementation DBTEAMLOGFileCommentsChangePolicyDetailsSerializer jsonDict[@"previous_value"] = [DBTEAMLOGFileCommentsPolicySerializer serialize:valueObj.previousValue]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGFileCommentsChangePolicyDetails *)deserialize:(NSDictionary *)valueDict { @@ -85578,7 +85578,7 @@ @implementation DBTEAMLOGFileCommentsChangePolicyTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGFileCommentsChangePolicyType *)deserialize:(NSDictionary *)valueDict { @@ -85746,7 +85746,7 @@ @implementation DBTEAMLOGFileCommentsPolicySerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGFileCommentsPolicy *)deserialize:(NSDictionary *)valueDict { @@ -85862,7 +85862,7 @@ @implementation DBTEAMLOGFileCopyDetailsSerializer return [DBTEAMLOGRelocateAssetReferencesLogInfoSerializer serialize:elem0]; }]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGFileCopyDetails *)deserialize:(NSDictionary *)valueDict { @@ -85965,7 +85965,7 @@ @implementation DBTEAMLOGFileCopyTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGFileCopyType *)deserialize:(NSDictionary *)valueDict { @@ -86073,7 +86073,7 @@ @implementation DBTEAMLOGFileDeleteCommentDetailsSerializer jsonDict[@"comment_text"] = valueObj.commentText; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGFileDeleteCommentDetails *)deserialize:(NSDictionary *)valueDict { @@ -86172,7 +86172,7 @@ @implementation DBTEAMLOGFileDeleteCommentTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGFileDeleteCommentType *)deserialize:(NSDictionary *)valueDict { @@ -86263,7 +86263,7 @@ @implementation DBTEAMLOGFileDeleteDetailsSerializer #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGFileDeleteDetails *)deserialize:(NSDictionary *)valueDict { @@ -86362,7 +86362,7 @@ @implementation DBTEAMLOGFileDeleteTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGFileDeleteType *)deserialize:(NSDictionary *)valueDict { @@ -86453,7 +86453,7 @@ @implementation DBTEAMLOGFileDownloadDetailsSerializer #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGFileDownloadDetails *)deserialize:(NSDictionary *)valueDict { @@ -86552,7 +86552,7 @@ @implementation DBTEAMLOGFileDownloadTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGFileDownloadType *)deserialize:(NSDictionary *)valueDict { @@ -86667,7 +86667,7 @@ @implementation DBTEAMLOGFileEditCommentDetailsSerializer jsonDict[@"comment_text"] = valueObj.commentText; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGFileEditCommentDetails *)deserialize:(NSDictionary *)valueDict { @@ -86768,7 +86768,7 @@ @implementation DBTEAMLOGFileEditCommentTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGFileEditCommentType *)deserialize:(NSDictionary *)valueDict { @@ -86859,7 +86859,7 @@ @implementation DBTEAMLOGFileEditDetailsSerializer #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGFileEditDetails *)deserialize:(NSDictionary *)valueDict { @@ -86958,7 +86958,7 @@ @implementation DBTEAMLOGFileEditTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGFileEditType *)deserialize:(NSDictionary *)valueDict { @@ -87049,7 +87049,7 @@ @implementation DBTEAMLOGFileGetCopyReferenceDetailsSerializer #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGFileGetCopyReferenceDetails *)deserialize:(NSDictionary *)valueDict { @@ -87148,7 +87148,7 @@ @implementation DBTEAMLOGFileGetCopyReferenceTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGFileGetCopyReferenceType *)deserialize:(NSDictionary *)valueDict { @@ -87256,7 +87256,7 @@ @implementation DBTEAMLOGFileLikeCommentDetailsSerializer jsonDict[@"comment_text"] = valueObj.commentText; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGFileLikeCommentDetails *)deserialize:(NSDictionary *)valueDict { @@ -87355,7 +87355,7 @@ @implementation DBTEAMLOGFileLikeCommentTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGFileLikeCommentType *)deserialize:(NSDictionary *)valueDict { @@ -87463,7 +87463,7 @@ @implementation DBTEAMLOGFileLockingLockStatusChangedDetailsSerializer jsonDict[@"previous_value"] = [DBTEAMLOGLockStatusSerializer serialize:valueObj.previousValue]; jsonDict[@"new_value"] = [DBTEAMLOGLockStatusSerializer serialize:valueObj.dNewValue]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGFileLockingLockStatusChangedDetails *)deserialize:(NSDictionary *)valueDict { @@ -87564,7 +87564,7 @@ @implementation DBTEAMLOGFileLockingLockStatusChangedTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGFileLockingLockStatusChangedType *)deserialize:(NSDictionary *)valueDict { @@ -87673,7 +87673,7 @@ @implementation DBTEAMLOGFileLockingPolicyChangedDetailsSerializer jsonDict[@"new_value"] = [DBTEAMPOLICIESFileLockingPolicyStateSerializer serialize:valueObj.dNewValue]; jsonDict[@"previous_value"] = [DBTEAMPOLICIESFileLockingPolicyStateSerializer serialize:valueObj.previousValue]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGFileLockingPolicyChangedDetails *)deserialize:(NSDictionary *)valueDict { @@ -87775,7 +87775,7 @@ @implementation DBTEAMLOGFileLockingPolicyChangedTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGFileLockingPolicyChangedType *)deserialize:(NSDictionary *)valueDict { @@ -87918,7 +87918,7 @@ @implementation DBTEAMLOGFileOrFolderLogInfoSerializer jsonDict[@"file_size"] = valueObj.fileSize; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGFileOrFolderLogInfo *)deserialize:(NSDictionary *)valueDict { @@ -88062,7 +88062,7 @@ @implementation DBTEAMLOGFileLogInfoSerializer jsonDict[@"file_size"] = valueObj.fileSize; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGFileLogInfo *)deserialize:(NSDictionary *)valueDict { @@ -88173,7 +88173,7 @@ @implementation DBTEAMLOGFileMoveDetailsSerializer return [DBTEAMLOGRelocateAssetReferencesLogInfoSerializer serialize:elem0]; }]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGFileMoveDetails *)deserialize:(NSDictionary *)valueDict { @@ -88276,7 +88276,7 @@ @implementation DBTEAMLOGFileMoveTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGFileMoveType *)deserialize:(NSDictionary *)valueDict { @@ -88367,7 +88367,7 @@ @implementation DBTEAMLOGFilePermanentlyDeleteDetailsSerializer #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGFilePermanentlyDeleteDetails *)deserialize:(NSDictionary *)valueDict { @@ -88466,7 +88466,7 @@ @implementation DBTEAMLOGFilePermanentlyDeleteTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGFilePermanentlyDeleteType *)deserialize:(NSDictionary *)valueDict { @@ -88557,7 +88557,7 @@ @implementation DBTEAMLOGFilePreviewDetailsSerializer #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGFilePreviewDetails *)deserialize:(NSDictionary *)valueDict { @@ -88656,7 +88656,7 @@ @implementation DBTEAMLOGFilePreviewTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGFilePreviewType *)deserialize:(NSDictionary *)valueDict { @@ -88766,7 +88766,7 @@ @implementation DBTEAMLOGFileProviderMigrationPolicyChangedDetailsSerializer jsonDict[@"previous_value"] = [DBTEAMPOLICIESFileProviderMigrationPolicyStateSerializer serialize:valueObj.previousValue]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGFileProviderMigrationPolicyChangedDetails *)deserialize:(NSDictionary *)valueDict { @@ -88870,7 +88870,7 @@ @implementation DBTEAMLOGFileProviderMigrationPolicyChangedTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGFileProviderMigrationPolicyChangedType *)deserialize:(NSDictionary *)valueDict { @@ -88978,7 +88978,7 @@ @implementation DBTEAMLOGFileRenameDetailsSerializer return [DBTEAMLOGRelocateAssetReferencesLogInfoSerializer serialize:elem0]; }]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGFileRenameDetails *)deserialize:(NSDictionary *)valueDict { @@ -89081,7 +89081,7 @@ @implementation DBTEAMLOGFileRenameTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGFileRenameType *)deserialize:(NSDictionary *)valueDict { @@ -89213,7 +89213,7 @@ @implementation DBTEAMLOGFileRequestChangeDetailsSerializer jsonDict[@"previous_details"] = [DBTEAMLOGFileRequestDetailsSerializer serialize:valueObj.previousDetails]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGFileRequestChangeDetails *)deserialize:(NSDictionary *)valueDict { @@ -89320,7 +89320,7 @@ @implementation DBTEAMLOGFileRequestChangeTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGFileRequestChangeType *)deserialize:(NSDictionary *)valueDict { @@ -89444,7 +89444,7 @@ @implementation DBTEAMLOGFileRequestCloseDetailsSerializer jsonDict[@"previous_details"] = [DBTEAMLOGFileRequestDetailsSerializer serialize:valueObj.previousDetails]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGFileRequestCloseDetails *)deserialize:(NSDictionary *)valueDict { @@ -89547,7 +89547,7 @@ @implementation DBTEAMLOGFileRequestCloseTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGFileRequestCloseType *)deserialize:(NSDictionary *)valueDict { @@ -89671,7 +89671,7 @@ @implementation DBTEAMLOGFileRequestCreateDetailsSerializer jsonDict[@"request_details"] = [DBTEAMLOGFileRequestDetailsSerializer serialize:valueObj.requestDetails]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGFileRequestCreateDetails *)deserialize:(NSDictionary *)valueDict { @@ -89773,7 +89773,7 @@ @implementation DBTEAMLOGFileRequestCreateTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGFileRequestCreateType *)deserialize:(NSDictionary *)valueDict { @@ -89893,7 +89893,7 @@ @implementation DBTEAMLOGFileRequestDeadlineSerializer jsonDict[@"allow_late_uploads"] = valueObj.allowLateUploads; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGFileRequestDeadline *)deserialize:(NSDictionary *)valueDict { @@ -90020,7 +90020,7 @@ @implementation DBTEAMLOGFileRequestDeleteDetailsSerializer jsonDict[@"previous_details"] = [DBTEAMLOGFileRequestDetailsSerializer serialize:valueObj.previousDetails]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGFileRequestDeleteDetails *)deserialize:(NSDictionary *)valueDict { @@ -90124,7 +90124,7 @@ @implementation DBTEAMLOGFileRequestDeleteTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGFileRequestDeleteType *)deserialize:(NSDictionary *)valueDict { @@ -90240,7 +90240,7 @@ @implementation DBTEAMLOGFileRequestDetailsSerializer jsonDict[@"deadline"] = [DBTEAMLOGFileRequestDeadlineSerializer serialize:valueObj.deadline]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGFileRequestDetails *)deserialize:(NSDictionary *)valueDict { @@ -90413,7 +90413,7 @@ @implementation DBTEAMLOGFileRequestReceiveFileDetailsSerializer jsonDict[@"submitter_email"] = valueObj.submitterEmail; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGFileRequestReceiveFileDetails *)deserialize:(NSDictionary *)valueDict { @@ -90526,7 +90526,7 @@ @implementation DBTEAMLOGFileRequestReceiveFileTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGFileRequestReceiveFileType *)deserialize:(NSDictionary *)valueDict { @@ -90644,7 +90644,7 @@ @implementation DBTEAMLOGFileRequestsChangePolicyDetailsSerializer jsonDict[@"previous_value"] = [DBTEAMLOGFileRequestsPolicySerializer serialize:valueObj.previousValue]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGFileRequestsChangePolicyDetails *)deserialize:(NSDictionary *)valueDict { @@ -90746,7 +90746,7 @@ @implementation DBTEAMLOGFileRequestsChangePolicyTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGFileRequestsChangePolicyType *)deserialize:(NSDictionary *)valueDict { @@ -90838,7 +90838,7 @@ @implementation DBTEAMLOGFileRequestsEmailsEnabledDetailsSerializer #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGFileRequestsEmailsEnabledDetails *)deserialize:(NSDictionary *)valueDict { @@ -90938,7 +90938,7 @@ @implementation DBTEAMLOGFileRequestsEmailsEnabledTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGFileRequestsEmailsEnabledType *)deserialize:(NSDictionary *)valueDict { @@ -91030,7 +91030,7 @@ @implementation DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyDetailsSerializer #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyDetails *)deserialize:(NSDictionary *)valueDict { @@ -91130,7 +91130,7 @@ @implementation DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyType *)deserialize:(NSDictionary *)valueDict { @@ -91298,7 +91298,7 @@ @implementation DBTEAMLOGFileRequestsPolicySerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGFileRequestsPolicy *)deserialize:(NSDictionary *)valueDict { @@ -91414,7 +91414,7 @@ @implementation DBTEAMLOGFileResolveCommentDetailsSerializer jsonDict[@"comment_text"] = valueObj.commentText; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGFileResolveCommentDetails *)deserialize:(NSDictionary *)valueDict { @@ -91513,7 +91513,7 @@ @implementation DBTEAMLOGFileResolveCommentTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGFileResolveCommentType *)deserialize:(NSDictionary *)valueDict { @@ -91604,7 +91604,7 @@ @implementation DBTEAMLOGFileRestoreDetailsSerializer #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGFileRestoreDetails *)deserialize:(NSDictionary *)valueDict { @@ -91703,7 +91703,7 @@ @implementation DBTEAMLOGFileRestoreTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGFileRestoreType *)deserialize:(NSDictionary *)valueDict { @@ -91794,7 +91794,7 @@ @implementation DBTEAMLOGFileRevertDetailsSerializer #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGFileRevertDetails *)deserialize:(NSDictionary *)valueDict { @@ -91893,7 +91893,7 @@ @implementation DBTEAMLOGFileRevertTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGFileRevertType *)deserialize:(NSDictionary *)valueDict { @@ -91984,7 +91984,7 @@ @implementation DBTEAMLOGFileRollbackChangesDetailsSerializer #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGFileRollbackChangesDetails *)deserialize:(NSDictionary *)valueDict { @@ -92083,7 +92083,7 @@ @implementation DBTEAMLOGFileRollbackChangesTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGFileRollbackChangesType *)deserialize:(NSDictionary *)valueDict { @@ -92191,7 +92191,7 @@ @implementation DBTEAMLOGFileSaveCopyReferenceDetailsSerializer return [DBTEAMLOGRelocateAssetReferencesLogInfoSerializer serialize:elem0]; }]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGFileSaveCopyReferenceDetails *)deserialize:(NSDictionary *)valueDict { @@ -92294,7 +92294,7 @@ @implementation DBTEAMLOGFileSaveCopyReferenceTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGFileSaveCopyReferenceType *)deserialize:(NSDictionary *)valueDict { @@ -92393,7 +92393,7 @@ @implementation DBTEAMLOGFileTransfersFileAddDetailsSerializer jsonDict[@"file_transfer_id"] = valueObj.fileTransferId; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGFileTransfersFileAddDetails *)deserialize:(NSDictionary *)valueDict { @@ -92492,7 +92492,7 @@ @implementation DBTEAMLOGFileTransfersFileAddTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGFileTransfersFileAddType *)deserialize:(NSDictionary *)valueDict { @@ -92660,7 +92660,7 @@ @implementation DBTEAMLOGFileTransfersPolicySerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGFileTransfersPolicy *)deserialize:(NSDictionary *)valueDict { @@ -92777,7 +92777,7 @@ @implementation DBTEAMLOGFileTransfersPolicyChangedDetailsSerializer jsonDict[@"new_value"] = [DBTEAMLOGFileTransfersPolicySerializer serialize:valueObj.dNewValue]; jsonDict[@"previous_value"] = [DBTEAMLOGFileTransfersPolicySerializer serialize:valueObj.previousValue]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGFileTransfersPolicyChangedDetails *)deserialize:(NSDictionary *)valueDict { @@ -92880,7 +92880,7 @@ @implementation DBTEAMLOGFileTransfersPolicyChangedTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGFileTransfersPolicyChangedType *)deserialize:(NSDictionary *)valueDict { @@ -92980,7 +92980,7 @@ @implementation DBTEAMLOGFileTransfersTransferDeleteDetailsSerializer jsonDict[@"file_transfer_id"] = valueObj.fileTransferId; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGFileTransfersTransferDeleteDetails *)deserialize:(NSDictionary *)valueDict { @@ -93080,7 +93080,7 @@ @implementation DBTEAMLOGFileTransfersTransferDeleteTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGFileTransfersTransferDeleteType *)deserialize:(NSDictionary *)valueDict { @@ -93180,7 +93180,7 @@ @implementation DBTEAMLOGFileTransfersTransferDownloadDetailsSerializer jsonDict[@"file_transfer_id"] = valueObj.fileTransferId; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGFileTransfersTransferDownloadDetails *)deserialize:(NSDictionary *)valueDict { @@ -93280,7 +93280,7 @@ @implementation DBTEAMLOGFileTransfersTransferDownloadTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGFileTransfersTransferDownloadType *)deserialize:(NSDictionary *)valueDict { @@ -93380,7 +93380,7 @@ @implementation DBTEAMLOGFileTransfersTransferSendDetailsSerializer jsonDict[@"file_transfer_id"] = valueObj.fileTransferId; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGFileTransfersTransferSendDetails *)deserialize:(NSDictionary *)valueDict { @@ -93480,7 +93480,7 @@ @implementation DBTEAMLOGFileTransfersTransferSendTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGFileTransfersTransferSendType *)deserialize:(NSDictionary *)valueDict { @@ -93580,7 +93580,7 @@ @implementation DBTEAMLOGFileTransfersTransferViewDetailsSerializer jsonDict[@"file_transfer_id"] = valueObj.fileTransferId; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGFileTransfersTransferViewDetails *)deserialize:(NSDictionary *)valueDict { @@ -93680,7 +93680,7 @@ @implementation DBTEAMLOGFileTransfersTransferViewTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGFileTransfersTransferViewType *)deserialize:(NSDictionary *)valueDict { @@ -93788,7 +93788,7 @@ @implementation DBTEAMLOGFileUnlikeCommentDetailsSerializer jsonDict[@"comment_text"] = valueObj.commentText; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGFileUnlikeCommentDetails *)deserialize:(NSDictionary *)valueDict { @@ -93887,7 +93887,7 @@ @implementation DBTEAMLOGFileUnlikeCommentTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGFileUnlikeCommentType *)deserialize:(NSDictionary *)valueDict { @@ -93995,7 +93995,7 @@ @implementation DBTEAMLOGFileUnresolveCommentDetailsSerializer jsonDict[@"comment_text"] = valueObj.commentText; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGFileUnresolveCommentDetails *)deserialize:(NSDictionary *)valueDict { @@ -94094,7 +94094,7 @@ @implementation DBTEAMLOGFileUnresolveCommentTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGFileUnresolveCommentType *)deserialize:(NSDictionary *)valueDict { @@ -94262,7 +94262,7 @@ @implementation DBTEAMLOGFolderLinkRestrictionPolicySerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGFolderLinkRestrictionPolicy *)deserialize:(NSDictionary *)valueDict { @@ -94379,7 +94379,7 @@ @implementation DBTEAMLOGFolderLinkRestrictionPolicyChangedDetailsSerializer jsonDict[@"new_value"] = [DBTEAMLOGFolderLinkRestrictionPolicySerializer serialize:valueObj.dNewValue]; jsonDict[@"previous_value"] = [DBTEAMLOGFolderLinkRestrictionPolicySerializer serialize:valueObj.previousValue]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGFolderLinkRestrictionPolicyChangedDetails *)deserialize:(NSDictionary *)valueDict { @@ -94483,7 +94483,7 @@ @implementation DBTEAMLOGFolderLinkRestrictionPolicyChangedTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGFolderLinkRestrictionPolicyChangedType *)deserialize:(NSDictionary *)valueDict { @@ -94636,7 +94636,7 @@ @implementation DBTEAMLOGFolderLogInfoSerializer jsonDict[@"file_count"] = valueObj.fileCount; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGFolderLogInfo *)deserialize:(NSDictionary *)valueDict { @@ -94745,7 +94745,7 @@ @implementation DBTEAMLOGFolderOverviewDescriptionChangedDetailsSerializer jsonDict[@"folder_overview_location_asset"] = valueObj.folderOverviewLocationAsset; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGFolderOverviewDescriptionChangedDetails *)deserialize:(NSDictionary *)valueDict { @@ -94846,7 +94846,7 @@ @implementation DBTEAMLOGFolderOverviewDescriptionChangedTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGFolderOverviewDescriptionChangedType *)deserialize:(NSDictionary *)valueDict { @@ -94960,7 +94960,7 @@ @implementation DBTEAMLOGFolderOverviewItemPinnedDetailsSerializer return elem0; }]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGFolderOverviewItemPinnedDetails *)deserialize:(NSDictionary *)valueDict { @@ -95065,7 +95065,7 @@ @implementation DBTEAMLOGFolderOverviewItemPinnedTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGFolderOverviewItemPinnedType *)deserialize:(NSDictionary *)valueDict { @@ -95179,7 +95179,7 @@ @implementation DBTEAMLOGFolderOverviewItemUnpinnedDetailsSerializer return elem0; }]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGFolderOverviewItemUnpinnedDetails *)deserialize:(NSDictionary *)valueDict { @@ -95285,7 +95285,7 @@ @implementation DBTEAMLOGFolderOverviewItemUnpinnedTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGFolderOverviewItemUnpinnedType *)deserialize:(NSDictionary *)valueDict { @@ -95427,7 +95427,7 @@ @implementation DBTEAMLOGGeoLocationLogInfoSerializer jsonDict[@"country"] = valueObj.country; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGGeoLocationLogInfo *)deserialize:(NSDictionary *)valueDict { @@ -95589,7 +95589,7 @@ @implementation DBTEAMLOGGetTeamEventsArgSerializer jsonDict[@"event_type"] = [DBTEAMLOGEventTypeArgSerializer serialize:valueObj.eventType]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGGetTeamEventsArg *)deserialize:(NSDictionary *)valueDict { @@ -95699,7 +95699,7 @@ @implementation DBTEAMLOGGetTeamEventsContinueArgSerializer jsonDict[@"cursor"] = valueObj.cursor; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGGetTeamEventsContinueArg *)deserialize:(NSDictionary *)valueDict { @@ -95879,7 +95879,7 @@ @implementation DBTEAMLOGGetTeamEventsContinueErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGGetTeamEventsContinueError *)deserialize:(NSDictionary *)valueDict { @@ -96077,7 +96077,7 @@ @implementation DBTEAMLOGGetTeamEventsErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGGetTeamEventsError *)deserialize:(NSDictionary *)valueDict { @@ -96209,7 +96209,7 @@ @implementation DBTEAMLOGGetTeamEventsResultSerializer jsonDict[@"cursor"] = valueObj.cursor; jsonDict[@"has_more"] = valueObj.hasMore; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGGetTeamEventsResult *)deserialize:(NSDictionary *)valueDict { @@ -96332,7 +96332,7 @@ @implementation DBTEAMLOGGoogleSsoChangePolicyDetailsSerializer jsonDict[@"previous_value"] = [DBTEAMLOGGoogleSsoPolicySerializer serialize:valueObj.previousValue]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGGoogleSsoChangePolicyDetails *)deserialize:(NSDictionary *)valueDict { @@ -96434,7 +96434,7 @@ @implementation DBTEAMLOGGoogleSsoChangePolicyTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGGoogleSsoChangePolicyType *)deserialize:(NSDictionary *)valueDict { @@ -96602,7 +96602,7 @@ @implementation DBTEAMLOGGoogleSsoPolicySerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGGoogleSsoPolicy *)deserialize:(NSDictionary *)valueDict { @@ -96759,7 +96759,7 @@ @implementation DBTEAMLOGGovernancePolicyAddFolderFailedDetailsSerializer jsonDict[@"reason"] = valueObj.reason; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGGovernancePolicyAddFolderFailedDetails *)deserialize:(NSDictionary *)valueDict { @@ -96868,7 +96868,7 @@ @implementation DBTEAMLOGGovernancePolicyAddFolderFailedTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGGovernancePolicyAddFolderFailedType *)deserialize:(NSDictionary *)valueDict { @@ -97014,7 +97014,7 @@ @implementation DBTEAMLOGGovernancePolicyAddFoldersDetailsSerializer }]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGGovernancePolicyAddFoldersDetails *)deserialize:(NSDictionary *)valueDict { @@ -97125,7 +97125,7 @@ @implementation DBTEAMLOGGovernancePolicyAddFoldersTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGGovernancePolicyAddFoldersType *)deserialize:(NSDictionary *)valueDict { @@ -97262,7 +97262,7 @@ @implementation DBTEAMLOGGovernancePolicyContentDisposedDetailsSerializer jsonDict[@"policy_type"] = [DBTEAMLOGPolicyTypeSerializer serialize:valueObj.policyType]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGGovernancePolicyContentDisposedDetails *)deserialize:(NSDictionary *)valueDict { @@ -97370,7 +97370,7 @@ @implementation DBTEAMLOGGovernancePolicyContentDisposedTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGGovernancePolicyContentDisposedType *)deserialize:(NSDictionary *)valueDict { @@ -97527,7 +97527,7 @@ @implementation DBTEAMLOGGovernancePolicyCreateDetailsSerializer }]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGGovernancePolicyCreateDetails *)deserialize:(NSDictionary *)valueDict { @@ -97639,7 +97639,7 @@ @implementation DBTEAMLOGGovernancePolicyCreateTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGGovernancePolicyCreateType *)deserialize:(NSDictionary *)valueDict { @@ -97765,7 +97765,7 @@ @implementation DBTEAMLOGGovernancePolicyDeleteDetailsSerializer jsonDict[@"policy_type"] = [DBTEAMLOGPolicyTypeSerializer serialize:valueObj.policyType]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGGovernancePolicyDeleteDetails *)deserialize:(NSDictionary *)valueDict { @@ -97869,7 +97869,7 @@ @implementation DBTEAMLOGGovernancePolicyDeleteTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGGovernancePolicyDeleteType *)deserialize:(NSDictionary *)valueDict { @@ -98028,7 +98028,7 @@ @implementation DBTEAMLOGGovernancePolicyEditDetailsDetailsSerializer jsonDict[@"policy_type"] = [DBTEAMLOGPolicyTypeSerializer serialize:valueObj.policyType]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGGovernancePolicyEditDetailsDetails *)deserialize:(NSDictionary *)valueDict { @@ -98139,7 +98139,7 @@ @implementation DBTEAMLOGGovernancePolicyEditDetailsTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGGovernancePolicyEditDetailsType *)deserialize:(NSDictionary *)valueDict { @@ -98289,7 +98289,7 @@ @implementation DBTEAMLOGGovernancePolicyEditDurationDetailsSerializer jsonDict[@"policy_type"] = [DBTEAMLOGPolicyTypeSerializer serialize:valueObj.policyType]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGGovernancePolicyEditDurationDetails *)deserialize:(NSDictionary *)valueDict { @@ -98399,7 +98399,7 @@ @implementation DBTEAMLOGGovernancePolicyEditDurationTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGGovernancePolicyEditDurationType *)deserialize:(NSDictionary *)valueDict { @@ -98535,7 +98535,7 @@ @implementation DBTEAMLOGGovernancePolicyExportCreatedDetailsSerializer jsonDict[@"policy_type"] = [DBTEAMLOGPolicyTypeSerializer serialize:valueObj.policyType]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGGovernancePolicyExportCreatedDetails *)deserialize:(NSDictionary *)valueDict { @@ -98642,7 +98642,7 @@ @implementation DBTEAMLOGGovernancePolicyExportCreatedTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGGovernancePolicyExportCreatedType *)deserialize:(NSDictionary *)valueDict { @@ -98778,7 +98778,7 @@ @implementation DBTEAMLOGGovernancePolicyExportRemovedDetailsSerializer jsonDict[@"policy_type"] = [DBTEAMLOGPolicyTypeSerializer serialize:valueObj.policyType]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGGovernancePolicyExportRemovedDetails *)deserialize:(NSDictionary *)valueDict { @@ -98885,7 +98885,7 @@ @implementation DBTEAMLOGGovernancePolicyExportRemovedTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGGovernancePolicyExportRemovedType *)deserialize:(NSDictionary *)valueDict { @@ -99044,7 +99044,7 @@ @implementation DBTEAMLOGGovernancePolicyRemoveFoldersDetailsSerializer jsonDict[@"reason"] = valueObj.reason; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGGovernancePolicyRemoveFoldersDetails *)deserialize:(NSDictionary *)valueDict { @@ -99157,7 +99157,7 @@ @implementation DBTEAMLOGGovernancePolicyRemoveFoldersTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGGovernancePolicyRemoveFoldersType *)deserialize:(NSDictionary *)valueDict { @@ -99283,7 +99283,7 @@ @implementation DBTEAMLOGGovernancePolicyReportCreatedDetailsSerializer jsonDict[@"policy_type"] = [DBTEAMLOGPolicyTypeSerializer serialize:valueObj.policyType]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGGovernancePolicyReportCreatedDetails *)deserialize:(NSDictionary *)valueDict { @@ -99388,7 +99388,7 @@ @implementation DBTEAMLOGGovernancePolicyReportCreatedTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGGovernancePolicyReportCreatedType *)deserialize:(NSDictionary *)valueDict { @@ -99537,7 +99537,7 @@ @implementation DBTEAMLOGGovernancePolicyZipPartDownloadedDetailsSerializer jsonDict[@"part"] = valueObj.part; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGGovernancePolicyZipPartDownloadedDetails *)deserialize:(NSDictionary *)valueDict { @@ -99646,7 +99646,7 @@ @implementation DBTEAMLOGGovernancePolicyZipPartDownloadedTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGGovernancePolicyZipPartDownloadedType *)deserialize:(NSDictionary *)valueDict { @@ -99745,7 +99745,7 @@ @implementation DBTEAMLOGGroupAddExternalIdDetailsSerializer jsonDict[@"new_value"] = valueObj.dNewValue; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGGroupAddExternalIdDetails *)deserialize:(NSDictionary *)valueDict { @@ -99844,7 +99844,7 @@ @implementation DBTEAMLOGGroupAddExternalIdTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGGroupAddExternalIdType *)deserialize:(NSDictionary *)valueDict { @@ -99943,7 +99943,7 @@ @implementation DBTEAMLOGGroupAddMemberDetailsSerializer jsonDict[@"is_group_owner"] = valueObj.isGroupOwner; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGGroupAddMemberDetails *)deserialize:(NSDictionary *)valueDict { @@ -100042,7 +100042,7 @@ @implementation DBTEAMLOGGroupAddMemberTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGGroupAddMemberType *)deserialize:(NSDictionary *)valueDict { @@ -100148,7 +100148,7 @@ @implementation DBTEAMLOGGroupChangeExternalIdDetailsSerializer jsonDict[@"new_value"] = valueObj.dNewValue; jsonDict[@"previous_value"] = valueObj.previousValue; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGGroupChangeExternalIdDetails *)deserialize:(NSDictionary *)valueDict { @@ -100248,7 +100248,7 @@ @implementation DBTEAMLOGGroupChangeExternalIdTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGGroupChangeExternalIdType *)deserialize:(NSDictionary *)valueDict { @@ -100366,7 +100366,7 @@ @implementation DBTEAMLOGGroupChangeManagementTypeDetailsSerializer jsonDict[@"previous_value"] = [DBTEAMCOMMONGroupManagementTypeSerializer serialize:valueObj.previousValue]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGGroupChangeManagementTypeDetails *)deserialize:(NSDictionary *)valueDict { @@ -100471,7 +100471,7 @@ @implementation DBTEAMLOGGroupChangeManagementTypeTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGGroupChangeManagementTypeType *)deserialize:(NSDictionary *)valueDict { @@ -100570,7 +100570,7 @@ @implementation DBTEAMLOGGroupChangeMemberRoleDetailsSerializer jsonDict[@"is_group_owner"] = valueObj.isGroupOwner; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGGroupChangeMemberRoleDetails *)deserialize:(NSDictionary *)valueDict { @@ -100669,7 +100669,7 @@ @implementation DBTEAMLOGGroupChangeMemberRoleTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGGroupChangeMemberRoleType *)deserialize:(NSDictionary *)valueDict { @@ -100791,7 +100791,7 @@ @implementation DBTEAMLOGGroupCreateDetailsSerializer jsonDict[@"join_policy"] = [DBTEAMLOGGroupJoinPolicySerializer serialize:valueObj.joinPolicy]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGGroupCreateDetails *)deserialize:(NSDictionary *)valueDict { @@ -100892,7 +100892,7 @@ @implementation DBTEAMLOGGroupCreateTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGGroupCreateType *)deserialize:(NSDictionary *)valueDict { @@ -101000,7 +101000,7 @@ @implementation DBTEAMLOGGroupDeleteDetailsSerializer jsonDict[@"is_company_managed"] = valueObj.isCompanyManaged; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGGroupDeleteDetails *)deserialize:(NSDictionary *)valueDict { @@ -101099,7 +101099,7 @@ @implementation DBTEAMLOGGroupDeleteTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGGroupDeleteType *)deserialize:(NSDictionary *)valueDict { @@ -101191,7 +101191,7 @@ @implementation DBTEAMLOGGroupDescriptionUpdatedDetailsSerializer #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGGroupDescriptionUpdatedDetails *)deserialize:(NSDictionary *)valueDict { @@ -101290,7 +101290,7 @@ @implementation DBTEAMLOGGroupDescriptionUpdatedTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGGroupDescriptionUpdatedType *)deserialize:(NSDictionary *)valueDict { @@ -101458,7 +101458,7 @@ @implementation DBTEAMLOGGroupJoinPolicySerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGGroupJoinPolicy *)deserialize:(NSDictionary *)valueDict { @@ -101589,7 +101589,7 @@ @implementation DBTEAMLOGGroupJoinPolicyUpdatedDetailsSerializer jsonDict[@"join_policy"] = [DBTEAMLOGGroupJoinPolicySerializer serialize:valueObj.joinPolicy]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGGroupJoinPolicyUpdatedDetails *)deserialize:(NSDictionary *)valueDict { @@ -101691,7 +101691,7 @@ @implementation DBTEAMLOGGroupJoinPolicyUpdatedTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGGroupJoinPolicyUpdatedType *)deserialize:(NSDictionary *)valueDict { @@ -101820,7 +101820,7 @@ @implementation DBTEAMLOGGroupLogInfoSerializer jsonDict[@"external_id"] = valueObj.externalId; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGGroupLogInfo *)deserialize:(NSDictionary *)valueDict { @@ -101913,7 +101913,7 @@ @implementation DBTEAMLOGGroupMovedDetailsSerializer #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGGroupMovedDetails *)deserialize:(NSDictionary *)valueDict { @@ -102012,7 +102012,7 @@ @implementation DBTEAMLOGGroupMovedTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGGroupMovedType *)deserialize:(NSDictionary *)valueDict { @@ -102111,7 +102111,7 @@ @implementation DBTEAMLOGGroupRemoveExternalIdDetailsSerializer jsonDict[@"previous_value"] = valueObj.previousValue; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGGroupRemoveExternalIdDetails *)deserialize:(NSDictionary *)valueDict { @@ -102210,7 +102210,7 @@ @implementation DBTEAMLOGGroupRemoveExternalIdTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGGroupRemoveExternalIdType *)deserialize:(NSDictionary *)valueDict { @@ -102301,7 +102301,7 @@ @implementation DBTEAMLOGGroupRemoveMemberDetailsSerializer #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGGroupRemoveMemberDetails *)deserialize:(NSDictionary *)valueDict { @@ -102400,7 +102400,7 @@ @implementation DBTEAMLOGGroupRemoveMemberTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGGroupRemoveMemberType *)deserialize:(NSDictionary *)valueDict { @@ -102506,7 +102506,7 @@ @implementation DBTEAMLOGGroupRenameDetailsSerializer jsonDict[@"previous_value"] = valueObj.previousValue; jsonDict[@"new_value"] = valueObj.dNewValue; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGGroupRenameDetails *)deserialize:(NSDictionary *)valueDict { @@ -102606,7 +102606,7 @@ @implementation DBTEAMLOGGroupRenameTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGGroupRenameType *)deserialize:(NSDictionary *)valueDict { @@ -102724,7 +102724,7 @@ @implementation DBTEAMLOGGroupUserManagementChangePolicyDetailsSerializer jsonDict[@"previous_value"] = [DBTEAMPOLICIESGroupCreationSerializer serialize:valueObj.previousValue]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGGroupUserManagementChangePolicyDetails *)deserialize:(NSDictionary *)valueDict { @@ -102828,7 +102828,7 @@ @implementation DBTEAMLOGGroupUserManagementChangePolicyTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGGroupUserManagementChangePolicyType *)deserialize:(NSDictionary *)valueDict { @@ -102992,7 +102992,7 @@ @implementation DBTEAMLOGGuestAdminChangeStatusDetailsSerializer jsonDict[@"host_team_name"] = valueObj.hostTeamName; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGGuestAdminChangeStatusDetails *)deserialize:(NSDictionary *)valueDict { @@ -103104,7 +103104,7 @@ @implementation DBTEAMLOGGuestAdminChangeStatusTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGGuestAdminChangeStatusType *)deserialize:(NSDictionary *)valueDict { @@ -103225,7 +103225,7 @@ @implementation DBTEAMLOGGuestAdminSignedInViaTrustedTeamsDetailsSerializer jsonDict[@"trusted_team_name"] = valueObj.trustedTeamName; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGGuestAdminSignedInViaTrustedTeamsDetails *)deserialize:(NSDictionary *)valueDict { @@ -103327,7 +103327,7 @@ @implementation DBTEAMLOGGuestAdminSignedInViaTrustedTeamsTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGGuestAdminSignedInViaTrustedTeamsType *)deserialize:(NSDictionary *)valueDict { @@ -103448,7 +103448,7 @@ @implementation DBTEAMLOGGuestAdminSignedOutViaTrustedTeamsDetailsSerializer jsonDict[@"trusted_team_name"] = valueObj.trustedTeamName; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGGuestAdminSignedOutViaTrustedTeamsDetails *)deserialize:(NSDictionary *)valueDict { @@ -103550,7 +103550,7 @@ @implementation DBTEAMLOGGuestAdminSignedOutViaTrustedTeamsTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGGuestAdminSignedOutViaTrustedTeamsType *)deserialize:(NSDictionary *)valueDict { @@ -103718,7 +103718,7 @@ @implementation DBTEAMLOGIdentifierTypeSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGIdentifierType *)deserialize:(NSDictionary *)valueDict { @@ -103825,7 +103825,7 @@ @implementation DBTEAMLOGIntegrationConnectedDetailsSerializer jsonDict[@"integration_name"] = valueObj.integrationName; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGIntegrationConnectedDetails *)deserialize:(NSDictionary *)valueDict { @@ -103924,7 +103924,7 @@ @implementation DBTEAMLOGIntegrationConnectedTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGIntegrationConnectedType *)deserialize:(NSDictionary *)valueDict { @@ -104024,7 +104024,7 @@ @implementation DBTEAMLOGIntegrationDisconnectedDetailsSerializer jsonDict[@"integration_name"] = valueObj.integrationName; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGIntegrationDisconnectedDetails *)deserialize:(NSDictionary *)valueDict { @@ -104123,7 +104123,7 @@ @implementation DBTEAMLOGIntegrationDisconnectedTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGIntegrationDisconnectedType *)deserialize:(NSDictionary *)valueDict { @@ -104291,7 +104291,7 @@ @implementation DBTEAMLOGIntegrationPolicySerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGIntegrationPolicy *)deserialize:(NSDictionary *)valueDict { @@ -104416,7 +104416,7 @@ @implementation DBTEAMLOGIntegrationPolicyChangedDetailsSerializer jsonDict[@"new_value"] = [DBTEAMLOGIntegrationPolicySerializer serialize:valueObj.dNewValue]; jsonDict[@"previous_value"] = [DBTEAMLOGIntegrationPolicySerializer serialize:valueObj.previousValue]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGIntegrationPolicyChangedDetails *)deserialize:(NSDictionary *)valueDict { @@ -104520,7 +104520,7 @@ @implementation DBTEAMLOGIntegrationPolicyChangedTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGIntegrationPolicyChangedType *)deserialize:(NSDictionary *)valueDict { @@ -104688,7 +104688,7 @@ @implementation DBTEAMLOGInviteAcceptanceEmailPolicySerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGInviteAcceptanceEmailPolicy *)deserialize:(NSDictionary *)valueDict { @@ -104805,7 +104805,7 @@ @implementation DBTEAMLOGInviteAcceptanceEmailPolicyChangedDetailsSerializer jsonDict[@"new_value"] = [DBTEAMLOGInviteAcceptanceEmailPolicySerializer serialize:valueObj.dNewValue]; jsonDict[@"previous_value"] = [DBTEAMLOGInviteAcceptanceEmailPolicySerializer serialize:valueObj.previousValue]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGInviteAcceptanceEmailPolicyChangedDetails *)deserialize:(NSDictionary *)valueDict { @@ -104909,7 +104909,7 @@ @implementation DBTEAMLOGInviteAcceptanceEmailPolicyChangedTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGInviteAcceptanceEmailPolicyChangedType *)deserialize:(NSDictionary *)valueDict { @@ -105119,7 +105119,7 @@ @implementation DBTEAMLOGInviteMethodSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGInviteMethod *)deserialize:(NSDictionary *)valueDict { @@ -105359,7 +105359,7 @@ @implementation DBTEAMLOGJoinTeamDetailsSerializer jsonDict[@"has_linked_shared_folders"] = valueObj.hasLinkedSharedFolders; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGJoinTeamDetails *)deserialize:(NSDictionary *)valueDict { @@ -105576,7 +105576,7 @@ @implementation DBTEAMLOGLabelTypeSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGLabelType *)deserialize:(NSDictionary *)valueDict { @@ -105847,7 +105847,7 @@ @implementation DBTEAMLOGLegacyDeviceSessionLogInfoSerializer jsonDict[@"legacy_uniq_id"] = valueObj.legacyUniqId; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGLegacyDeviceSessionLogInfo *)deserialize:(NSDictionary *)valueDict { @@ -106007,7 +106007,7 @@ @implementation DBTEAMLOGLegalHoldsActivateAHoldDetailsSerializer jsonDict[@"end_date"] = [DBNSDateSerializer serialize:valueObj.endDate dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGLegalHoldsActivateAHoldDetails *)deserialize:(NSDictionary *)valueDict { @@ -106114,7 +106114,7 @@ @implementation DBTEAMLOGLegalHoldsActivateAHoldTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGLegalHoldsActivateAHoldType *)deserialize:(NSDictionary *)valueDict { @@ -106220,7 +106220,7 @@ @implementation DBTEAMLOGLegalHoldsAddMembersDetailsSerializer jsonDict[@"legal_hold_id"] = valueObj.legalHoldId; jsonDict[@"name"] = valueObj.name; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGLegalHoldsAddMembersDetails *)deserialize:(NSDictionary *)valueDict { @@ -106320,7 +106320,7 @@ @implementation DBTEAMLOGLegalHoldsAddMembersTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGLegalHoldsAddMembersType *)deserialize:(NSDictionary *)valueDict { @@ -106444,7 +106444,7 @@ @implementation DBTEAMLOGLegalHoldsChangeHoldDetailsDetailsSerializer jsonDict[@"previous_value"] = valueObj.previousValue; jsonDict[@"new_value"] = valueObj.dNewValue; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGLegalHoldsChangeHoldDetailsDetails *)deserialize:(NSDictionary *)valueDict { @@ -106550,7 +106550,7 @@ @implementation DBTEAMLOGLegalHoldsChangeHoldDetailsTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGLegalHoldsChangeHoldDetailsType *)deserialize:(NSDictionary *)valueDict { @@ -106666,7 +106666,7 @@ @implementation DBTEAMLOGLegalHoldsChangeHoldNameDetailsSerializer jsonDict[@"previous_value"] = valueObj.previousValue; jsonDict[@"new_value"] = valueObj.dNewValue; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGLegalHoldsChangeHoldNameDetails *)deserialize:(NSDictionary *)valueDict { @@ -106769,7 +106769,7 @@ @implementation DBTEAMLOGLegalHoldsChangeHoldNameTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGLegalHoldsChangeHoldNameType *)deserialize:(NSDictionary *)valueDict { @@ -106891,7 +106891,7 @@ @implementation DBTEAMLOGLegalHoldsExportAHoldDetailsSerializer jsonDict[@"export_name"] = valueObj.exportName; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGLegalHoldsExportAHoldDetails *)deserialize:(NSDictionary *)valueDict { @@ -106993,7 +106993,7 @@ @implementation DBTEAMLOGLegalHoldsExportAHoldTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGLegalHoldsExportAHoldType *)deserialize:(NSDictionary *)valueDict { @@ -107107,7 +107107,7 @@ @implementation DBTEAMLOGLegalHoldsExportCancelledDetailsSerializer jsonDict[@"name"] = valueObj.name; jsonDict[@"export_name"] = valueObj.exportName; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGLegalHoldsExportCancelledDetails *)deserialize:(NSDictionary *)valueDict { @@ -107211,7 +107211,7 @@ @implementation DBTEAMLOGLegalHoldsExportCancelledTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGLegalHoldsExportCancelledType *)deserialize:(NSDictionary *)valueDict { @@ -107357,7 +107357,7 @@ @implementation DBTEAMLOGLegalHoldsExportDownloadedDetailsSerializer jsonDict[@"file_name"] = valueObj.fileName; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGLegalHoldsExportDownloadedDetails *)deserialize:(NSDictionary *)valueDict { @@ -107465,7 +107465,7 @@ @implementation DBTEAMLOGLegalHoldsExportDownloadedTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGLegalHoldsExportDownloadedType *)deserialize:(NSDictionary *)valueDict { @@ -107579,7 +107579,7 @@ @implementation DBTEAMLOGLegalHoldsExportRemovedDetailsSerializer jsonDict[@"name"] = valueObj.name; jsonDict[@"export_name"] = valueObj.exportName; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGLegalHoldsExportRemovedDetails *)deserialize:(NSDictionary *)valueDict { @@ -107681,7 +107681,7 @@ @implementation DBTEAMLOGLegalHoldsExportRemovedTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGLegalHoldsExportRemovedType *)deserialize:(NSDictionary *)valueDict { @@ -107788,7 +107788,7 @@ @implementation DBTEAMLOGLegalHoldsReleaseAHoldDetailsSerializer jsonDict[@"legal_hold_id"] = valueObj.legalHoldId; jsonDict[@"name"] = valueObj.name; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGLegalHoldsReleaseAHoldDetails *)deserialize:(NSDictionary *)valueDict { @@ -107888,7 +107888,7 @@ @implementation DBTEAMLOGLegalHoldsReleaseAHoldTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGLegalHoldsReleaseAHoldType *)deserialize:(NSDictionary *)valueDict { @@ -107995,7 +107995,7 @@ @implementation DBTEAMLOGLegalHoldsRemoveMembersDetailsSerializer jsonDict[@"legal_hold_id"] = valueObj.legalHoldId; jsonDict[@"name"] = valueObj.name; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGLegalHoldsRemoveMembersDetails *)deserialize:(NSDictionary *)valueDict { @@ -108095,7 +108095,7 @@ @implementation DBTEAMLOGLegalHoldsRemoveMembersTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGLegalHoldsRemoveMembersType *)deserialize:(NSDictionary *)valueDict { @@ -108201,7 +108201,7 @@ @implementation DBTEAMLOGLegalHoldsReportAHoldDetailsSerializer jsonDict[@"legal_hold_id"] = valueObj.legalHoldId; jsonDict[@"name"] = valueObj.name; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGLegalHoldsReportAHoldDetails *)deserialize:(NSDictionary *)valueDict { @@ -108301,7 +108301,7 @@ @implementation DBTEAMLOGLegalHoldsReportAHoldTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGLegalHoldsReportAHoldType *)deserialize:(NSDictionary *)valueDict { @@ -108568,7 +108568,7 @@ @implementation DBTEAMLOGLinkedDeviceLogInfoSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGLinkedDeviceLogInfo *)deserialize:(NSDictionary *)valueDict { @@ -108756,7 +108756,7 @@ @implementation DBTEAMLOGLockStatusSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGLockStatus *)deserialize:(NSDictionary *)valueDict { @@ -108891,7 +108891,7 @@ @implementation DBTEAMLOGLoginFailDetailsSerializer jsonDict[@"is_emm_managed"] = valueObj.isEmmManaged; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGLoginFailDetails *)deserialize:(NSDictionary *)valueDict { @@ -108995,7 +108995,7 @@ @implementation DBTEAMLOGLoginFailTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGLoginFailType *)deserialize:(NSDictionary *)valueDict { @@ -109310,7 +109310,7 @@ @implementation DBTEAMLOGLoginMethodSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGLoginMethod *)deserialize:(NSDictionary *)valueDict { @@ -109448,7 +109448,7 @@ @implementation DBTEAMLOGLoginSuccessDetailsSerializer jsonDict[@"is_emm_managed"] = valueObj.isEmmManaged; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGLoginSuccessDetails *)deserialize:(NSDictionary *)valueDict { @@ -109548,7 +109548,7 @@ @implementation DBTEAMLOGLoginSuccessTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGLoginSuccessType *)deserialize:(NSDictionary *)valueDict { @@ -109656,7 +109656,7 @@ @implementation DBTEAMLOGLogoutDetailsSerializer jsonDict[@"login_id"] = valueObj.loginId; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGLogoutDetails *)deserialize:(NSDictionary *)valueDict { @@ -109755,7 +109755,7 @@ @implementation DBTEAMLOGLogoutTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGLogoutType *)deserialize:(NSDictionary *)valueDict { @@ -109854,7 +109854,7 @@ @implementation DBTEAMLOGMemberAddExternalIdDetailsSerializer jsonDict[@"new_value"] = valueObj.dNewValue; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGMemberAddExternalIdDetails *)deserialize:(NSDictionary *)valueDict { @@ -109953,7 +109953,7 @@ @implementation DBTEAMLOGMemberAddExternalIdTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGMemberAddExternalIdType *)deserialize:(NSDictionary *)valueDict { @@ -110053,7 +110053,7 @@ @implementation DBTEAMLOGMemberAddNameDetailsSerializer jsonDict[@"new_value"] = [DBTEAMLOGUserNameLogInfoSerializer serialize:valueObj.dNewValue]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGMemberAddNameDetails *)deserialize:(NSDictionary *)valueDict { @@ -110152,7 +110152,7 @@ @implementation DBTEAMLOGMemberAddNameTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGMemberAddNameType *)deserialize:(NSDictionary *)valueDict { @@ -110273,7 +110273,7 @@ @implementation DBTEAMLOGMemberChangeAdminRoleDetailsSerializer jsonDict[@"previous_value"] = [DBTEAMLOGAdminRoleSerializer serialize:valueObj.previousValue]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGMemberChangeAdminRoleDetails *)deserialize:(NSDictionary *)valueDict { @@ -110375,7 +110375,7 @@ @implementation DBTEAMLOGMemberChangeAdminRoleTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGMemberChangeAdminRoleType *)deserialize:(NSDictionary *)valueDict { @@ -110492,7 +110492,7 @@ @implementation DBTEAMLOGMemberChangeEmailDetailsSerializer jsonDict[@"previous_value"] = valueObj.previousValue; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGMemberChangeEmailDetails *)deserialize:(NSDictionary *)valueDict { @@ -110592,7 +110592,7 @@ @implementation DBTEAMLOGMemberChangeEmailTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGMemberChangeEmailType *)deserialize:(NSDictionary *)valueDict { @@ -110700,7 +110700,7 @@ @implementation DBTEAMLOGMemberChangeExternalIdDetailsSerializer jsonDict[@"new_value"] = valueObj.dNewValue; jsonDict[@"previous_value"] = valueObj.previousValue; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGMemberChangeExternalIdDetails *)deserialize:(NSDictionary *)valueDict { @@ -110800,7 +110800,7 @@ @implementation DBTEAMLOGMemberChangeExternalIdTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGMemberChangeExternalIdType *)deserialize:(NSDictionary *)valueDict { @@ -110909,7 +110909,7 @@ @implementation DBTEAMLOGMemberChangeMembershipTypeDetailsSerializer jsonDict[@"prev_value"] = [DBTEAMLOGTeamMembershipTypeSerializer serialize:valueObj.prevValue]; jsonDict[@"new_value"] = [DBTEAMLOGTeamMembershipTypeSerializer serialize:valueObj.dNewValue]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGMemberChangeMembershipTypeDetails *)deserialize:(NSDictionary *)valueDict { @@ -111010,7 +111010,7 @@ @implementation DBTEAMLOGMemberChangeMembershipTypeTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGMemberChangeMembershipTypeType *)deserialize:(NSDictionary *)valueDict { @@ -111127,7 +111127,7 @@ @implementation DBTEAMLOGMemberChangeNameDetailsSerializer jsonDict[@"previous_value"] = [DBTEAMLOGUserNameLogInfoSerializer serialize:valueObj.previousValue]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGMemberChangeNameDetails *)deserialize:(NSDictionary *)valueDict { @@ -111229,7 +111229,7 @@ @implementation DBTEAMLOGMemberChangeNameTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGMemberChangeNameType *)deserialize:(NSDictionary *)valueDict { @@ -111338,7 +111338,7 @@ @implementation DBTEAMLOGMemberChangeResellerRoleDetailsSerializer jsonDict[@"new_value"] = [DBTEAMLOGResellerRoleSerializer serialize:valueObj.dNewValue]; jsonDict[@"previous_value"] = [DBTEAMLOGResellerRoleSerializer serialize:valueObj.previousValue]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGMemberChangeResellerRoleDetails *)deserialize:(NSDictionary *)valueDict { @@ -111438,7 +111438,7 @@ @implementation DBTEAMLOGMemberChangeResellerRoleTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGMemberChangeResellerRoleType *)deserialize:(NSDictionary *)valueDict { @@ -111595,7 +111595,7 @@ @implementation DBTEAMLOGMemberChangeStatusDetailsSerializer jsonDict[@"previous_team"] = valueObj.previousTeam; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGMemberChangeStatusDetails *)deserialize:(NSDictionary *)valueDict { @@ -111704,7 +111704,7 @@ @implementation DBTEAMLOGMemberChangeStatusTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGMemberChangeStatusType *)deserialize:(NSDictionary *)valueDict { @@ -111796,7 +111796,7 @@ @implementation DBTEAMLOGMemberDeleteManualContactsDetailsSerializer #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGMemberDeleteManualContactsDetails *)deserialize:(NSDictionary *)valueDict { @@ -111896,7 +111896,7 @@ @implementation DBTEAMLOGMemberDeleteManualContactsTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGMemberDeleteManualContactsType *)deserialize:(NSDictionary *)valueDict { @@ -111988,7 +111988,7 @@ @implementation DBTEAMLOGMemberDeleteProfilePhotoDetailsSerializer #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGMemberDeleteProfilePhotoDetails *)deserialize:(NSDictionary *)valueDict { @@ -112087,7 +112087,7 @@ @implementation DBTEAMLOGMemberDeleteProfilePhotoTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGMemberDeleteProfilePhotoType *)deserialize:(NSDictionary *)valueDict { @@ -112179,7 +112179,7 @@ @implementation DBTEAMLOGMemberPermanentlyDeleteAccountContentsDetailsSerializer #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGMemberPermanentlyDeleteAccountContentsDetails *)deserialize:(NSDictionary *)valueDict { @@ -112279,7 +112279,7 @@ @implementation DBTEAMLOGMemberPermanentlyDeleteAccountContentsTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGMemberPermanentlyDeleteAccountContentsType *)deserialize:(NSDictionary *)valueDict { @@ -112489,7 +112489,7 @@ @implementation DBTEAMLOGMemberRemoveActionTypeSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGMemberRemoveActionType *)deserialize:(NSDictionary *)valueDict { @@ -112602,7 +112602,7 @@ @implementation DBTEAMLOGMemberRemoveExternalIdDetailsSerializer jsonDict[@"previous_value"] = valueObj.previousValue; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGMemberRemoveExternalIdDetails *)deserialize:(NSDictionary *)valueDict { @@ -112701,7 +112701,7 @@ @implementation DBTEAMLOGMemberRemoveExternalIdTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGMemberRemoveExternalIdType *)deserialize:(NSDictionary *)valueDict { @@ -112819,7 +112819,7 @@ @implementation DBTEAMLOGMemberRequestsChangePolicyDetailsSerializer jsonDict[@"previous_value"] = [DBTEAMLOGMemberRequestsPolicySerializer serialize:valueObj.previousValue]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGMemberRequestsChangePolicyDetails *)deserialize:(NSDictionary *)valueDict { @@ -112923,7 +112923,7 @@ @implementation DBTEAMLOGMemberRequestsChangePolicyTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGMemberRequestsChangePolicyType *)deserialize:(NSDictionary *)valueDict { @@ -113112,7 +113112,7 @@ @implementation DBTEAMLOGMemberRequestsPolicySerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGMemberRequestsPolicy *)deserialize:(NSDictionary *)valueDict { @@ -113311,7 +113311,7 @@ @implementation DBTEAMLOGMemberSendInvitePolicySerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGMemberSendInvitePolicy *)deserialize:(NSDictionary *)valueDict { @@ -113430,7 +113430,7 @@ @implementation DBTEAMLOGMemberSendInvitePolicyChangedDetailsSerializer jsonDict[@"new_value"] = [DBTEAMLOGMemberSendInvitePolicySerializer serialize:valueObj.dNewValue]; jsonDict[@"previous_value"] = [DBTEAMLOGMemberSendInvitePolicySerializer serialize:valueObj.previousValue]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGMemberSendInvitePolicyChangedDetails *)deserialize:(NSDictionary *)valueDict { @@ -113534,7 +113534,7 @@ @implementation DBTEAMLOGMemberSendInvitePolicyChangedTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGMemberSendInvitePolicyChangedType *)deserialize:(NSDictionary *)valueDict { @@ -113625,7 +113625,7 @@ @implementation DBTEAMLOGMemberSetProfilePhotoDetailsSerializer #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGMemberSetProfilePhotoDetails *)deserialize:(NSDictionary *)valueDict { @@ -113724,7 +113724,7 @@ @implementation DBTEAMLOGMemberSetProfilePhotoTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGMemberSetProfilePhotoType *)deserialize:(NSDictionary *)valueDict { @@ -113824,7 +113824,7 @@ @implementation DBTEAMLOGMemberSpaceLimitsAddCustomQuotaDetailsSerializer jsonDict[@"new_value"] = valueObj.dNewValue; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGMemberSpaceLimitsAddCustomQuotaDetails *)deserialize:(NSDictionary *)valueDict { @@ -113924,7 +113924,7 @@ @implementation DBTEAMLOGMemberSpaceLimitsAddCustomQuotaTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGMemberSpaceLimitsAddCustomQuotaType *)deserialize:(NSDictionary *)valueDict { @@ -114016,7 +114016,7 @@ @implementation DBTEAMLOGMemberSpaceLimitsAddExceptionDetailsSerializer #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGMemberSpaceLimitsAddExceptionDetails *)deserialize:(NSDictionary *)valueDict { @@ -114116,7 +114116,7 @@ @implementation DBTEAMLOGMemberSpaceLimitsAddExceptionTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGMemberSpaceLimitsAddExceptionType *)deserialize:(NSDictionary *)valueDict { @@ -114225,7 +114225,7 @@ @implementation DBTEAMLOGMemberSpaceLimitsChangeCapsTypePolicyDetailsSerializer jsonDict[@"previous_value"] = [DBTEAMLOGSpaceCapsTypeSerializer serialize:valueObj.previousValue]; jsonDict[@"new_value"] = [DBTEAMLOGSpaceCapsTypeSerializer serialize:valueObj.dNewValue]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGMemberSpaceLimitsChangeCapsTypePolicyDetails *)deserialize:(NSDictionary *)valueDict { @@ -114327,7 +114327,7 @@ @implementation DBTEAMLOGMemberSpaceLimitsChangeCapsTypePolicyTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGMemberSpaceLimitsChangeCapsTypePolicyType *)deserialize:(NSDictionary *)valueDict { @@ -114434,7 +114434,7 @@ @implementation DBTEAMLOGMemberSpaceLimitsChangeCustomQuotaDetailsSerializer jsonDict[@"previous_value"] = valueObj.previousValue; jsonDict[@"new_value"] = valueObj.dNewValue; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGMemberSpaceLimitsChangeCustomQuotaDetails *)deserialize:(NSDictionary *)valueDict { @@ -114536,7 +114536,7 @@ @implementation DBTEAMLOGMemberSpaceLimitsChangeCustomQuotaTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGMemberSpaceLimitsChangeCustomQuotaType *)deserialize:(NSDictionary *)valueDict { @@ -114657,7 +114657,7 @@ @implementation DBTEAMLOGMemberSpaceLimitsChangePolicyDetailsSerializer jsonDict[@"new_value"] = valueObj.dNewValue; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGMemberSpaceLimitsChangePolicyDetails *)deserialize:(NSDictionary *)valueDict { @@ -114759,7 +114759,7 @@ @implementation DBTEAMLOGMemberSpaceLimitsChangePolicyTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGMemberSpaceLimitsChangePolicyType *)deserialize:(NSDictionary *)valueDict { @@ -114868,7 +114868,7 @@ @implementation DBTEAMLOGMemberSpaceLimitsChangeStatusDetailsSerializer jsonDict[@"previous_value"] = [DBTEAMLOGSpaceLimitsStatusSerializer serialize:valueObj.previousValue]; jsonDict[@"new_value"] = [DBTEAMLOGSpaceLimitsStatusSerializer serialize:valueObj.dNewValue]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGMemberSpaceLimitsChangeStatusDetails *)deserialize:(NSDictionary *)valueDict { @@ -114971,7 +114971,7 @@ @implementation DBTEAMLOGMemberSpaceLimitsChangeStatusTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGMemberSpaceLimitsChangeStatusType *)deserialize:(NSDictionary *)valueDict { @@ -115063,7 +115063,7 @@ @implementation DBTEAMLOGMemberSpaceLimitsRemoveCustomQuotaDetailsSerializer #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGMemberSpaceLimitsRemoveCustomQuotaDetails *)deserialize:(NSDictionary *)valueDict { @@ -115163,7 +115163,7 @@ @implementation DBTEAMLOGMemberSpaceLimitsRemoveCustomQuotaTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGMemberSpaceLimitsRemoveCustomQuotaType *)deserialize:(NSDictionary *)valueDict { @@ -115255,7 +115255,7 @@ @implementation DBTEAMLOGMemberSpaceLimitsRemoveExceptionDetailsSerializer #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGMemberSpaceLimitsRemoveExceptionDetails *)deserialize:(NSDictionary *)valueDict { @@ -115355,7 +115355,7 @@ @implementation DBTEAMLOGMemberSpaceLimitsRemoveExceptionTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGMemberSpaceLimitsRemoveExceptionType *)deserialize:(NSDictionary *)valueDict { @@ -115607,7 +115607,7 @@ @implementation DBTEAMLOGMemberStatusSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGMemberStatus *)deserialize:(NSDictionary *)valueDict { @@ -115732,7 +115732,7 @@ @implementation DBTEAMLOGMemberSuggestDetailsSerializer return elem0; }]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGMemberSuggestDetails *)deserialize:(NSDictionary *)valueDict { @@ -115834,7 +115834,7 @@ @implementation DBTEAMLOGMemberSuggestTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGMemberSuggestType *)deserialize:(NSDictionary *)valueDict { @@ -115952,7 +115952,7 @@ @implementation DBTEAMLOGMemberSuggestionsChangePolicyDetailsSerializer jsonDict[@"previous_value"] = [DBTEAMLOGMemberSuggestionsPolicySerializer serialize:valueObj.previousValue]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGMemberSuggestionsChangePolicyDetails *)deserialize:(NSDictionary *)valueDict { @@ -116058,7 +116058,7 @@ @implementation DBTEAMLOGMemberSuggestionsChangePolicyTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGMemberSuggestionsChangePolicyType *)deserialize:(NSDictionary *)valueDict { @@ -116226,7 +116226,7 @@ @implementation DBTEAMLOGMemberSuggestionsPolicySerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGMemberSuggestionsPolicy *)deserialize:(NSDictionary *)valueDict { @@ -116326,7 +116326,7 @@ @implementation DBTEAMLOGMemberTransferAccountContentsDetailsSerializer #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGMemberTransferAccountContentsDetails *)deserialize:(NSDictionary *)valueDict { @@ -116426,7 +116426,7 @@ @implementation DBTEAMLOGMemberTransferAccountContentsTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGMemberTransferAccountContentsType *)deserialize:(NSDictionary *)valueDict { @@ -116533,7 +116533,7 @@ @implementation DBTEAMLOGMemberTransferredInternalFieldsSerializer jsonDict[@"source_team_id"] = valueObj.sourceTeamId; jsonDict[@"target_team_id"] = valueObj.targetTeamId; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGMemberTransferredInternalFields *)deserialize:(NSDictionary *)valueDict { @@ -116652,7 +116652,7 @@ @implementation DBTEAMLOGMicrosoftOfficeAddinChangePolicyDetailsSerializer jsonDict[@"previous_value"] = [DBTEAMLOGMicrosoftOfficeAddinPolicySerializer serialize:valueObj.previousValue]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGMicrosoftOfficeAddinChangePolicyDetails *)deserialize:(NSDictionary *)valueDict { @@ -116758,7 +116758,7 @@ @implementation DBTEAMLOGMicrosoftOfficeAddinChangePolicyTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGMicrosoftOfficeAddinChangePolicyType *)deserialize:(NSDictionary *)valueDict { @@ -116926,7 +116926,7 @@ @implementation DBTEAMLOGMicrosoftOfficeAddinPolicySerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGMicrosoftOfficeAddinPolicy *)deserialize:(NSDictionary *)valueDict { @@ -117042,7 +117042,7 @@ @implementation DBTEAMLOGMissingDetailsSerializer jsonDict[@"source_event_fields"] = valueObj.sourceEventFields; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGMissingDetails *)deserialize:(NSDictionary *)valueDict { @@ -117252,7 +117252,7 @@ @implementation DBTEAMLOGMobileDeviceSessionLogInfoSerializer jsonDict[@"last_carrier"] = valueObj.lastCarrier; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGMobileDeviceSessionLogInfo *)deserialize:(NSDictionary *)valueDict { @@ -117382,7 +117382,7 @@ @implementation DBTEAMLOGMobileSessionLogInfoSerializer jsonDict[@"session_id"] = valueObj.sessionId; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGMobileSessionLogInfo *)deserialize:(NSDictionary *)valueDict { @@ -117516,7 +117516,7 @@ @implementation DBTEAMLOGNamespaceRelativePathLogInfoSerializer jsonDict[@"is_shared_namespace"] = valueObj.isSharedNamespace; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGNamespaceRelativePathLogInfo *)deserialize:(NSDictionary *)valueDict { @@ -117638,7 +117638,7 @@ @implementation DBTEAMLOGNetworkControlChangePolicyDetailsSerializer jsonDict[@"previous_value"] = [DBTEAMLOGNetworkControlPolicySerializer serialize:valueObj.previousValue]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGNetworkControlChangePolicyDetails *)deserialize:(NSDictionary *)valueDict { @@ -117742,7 +117742,7 @@ @implementation DBTEAMLOGNetworkControlChangePolicyTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGNetworkControlChangePolicyType *)deserialize:(NSDictionary *)valueDict { @@ -117910,7 +117910,7 @@ @implementation DBTEAMLOGNetworkControlPolicySerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGNetworkControlPolicy *)deserialize:(NSDictionary *)valueDict { @@ -118025,7 +118025,7 @@ @implementation DBTEAMLOGNoExpirationLinkGenCreateReportDetailsSerializer jsonDict[@"start_date"] = [DBNSDateSerializer serialize:valueObj.startDate dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; jsonDict[@"end_date"] = [DBNSDateSerializer serialize:valueObj.endDate dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGNoExpirationLinkGenCreateReportDetails *)deserialize:(NSDictionary *)valueDict { @@ -118126,7 +118126,7 @@ @implementation DBTEAMLOGNoExpirationLinkGenCreateReportTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGNoExpirationLinkGenCreateReportType *)deserialize:(NSDictionary *)valueDict { @@ -118227,7 +118227,7 @@ @implementation DBTEAMLOGNoExpirationLinkGenReportFailedDetailsSerializer jsonDict[@"failure_reason"] = [DBTEAMTeamReportFailureReasonSerializer serialize:valueObj.failureReason]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGNoExpirationLinkGenReportFailedDetails *)deserialize:(NSDictionary *)valueDict { @@ -118328,7 +118328,7 @@ @implementation DBTEAMLOGNoExpirationLinkGenReportFailedTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGNoExpirationLinkGenReportFailedType *)deserialize:(NSDictionary *)valueDict { @@ -118435,7 +118435,7 @@ @implementation DBTEAMLOGNoPasswordLinkGenCreateReportDetailsSerializer jsonDict[@"start_date"] = [DBNSDateSerializer serialize:valueObj.startDate dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; jsonDict[@"end_date"] = [DBNSDateSerializer serialize:valueObj.endDate dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGNoPasswordLinkGenCreateReportDetails *)deserialize:(NSDictionary *)valueDict { @@ -118536,7 +118536,7 @@ @implementation DBTEAMLOGNoPasswordLinkGenCreateReportTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGNoPasswordLinkGenCreateReportType *)deserialize:(NSDictionary *)valueDict { @@ -118637,7 +118637,7 @@ @implementation DBTEAMLOGNoPasswordLinkGenReportFailedDetailsSerializer jsonDict[@"failure_reason"] = [DBTEAMTeamReportFailureReasonSerializer serialize:valueObj.failureReason]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGNoPasswordLinkGenReportFailedDetails *)deserialize:(NSDictionary *)valueDict { @@ -118738,7 +118738,7 @@ @implementation DBTEAMLOGNoPasswordLinkGenReportFailedTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGNoPasswordLinkGenReportFailedType *)deserialize:(NSDictionary *)valueDict { @@ -118845,7 +118845,7 @@ @implementation DBTEAMLOGNoPasswordLinkViewCreateReportDetailsSerializer jsonDict[@"start_date"] = [DBNSDateSerializer serialize:valueObj.startDate dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; jsonDict[@"end_date"] = [DBNSDateSerializer serialize:valueObj.endDate dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGNoPasswordLinkViewCreateReportDetails *)deserialize:(NSDictionary *)valueDict { @@ -118946,7 +118946,7 @@ @implementation DBTEAMLOGNoPasswordLinkViewCreateReportTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGNoPasswordLinkViewCreateReportType *)deserialize:(NSDictionary *)valueDict { @@ -119047,7 +119047,7 @@ @implementation DBTEAMLOGNoPasswordLinkViewReportFailedDetailsSerializer jsonDict[@"failure_reason"] = [DBTEAMTeamReportFailureReasonSerializer serialize:valueObj.failureReason]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGNoPasswordLinkViewReportFailedDetails *)deserialize:(NSDictionary *)valueDict { @@ -119148,7 +119148,7 @@ @implementation DBTEAMLOGNoPasswordLinkViewReportFailedTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGNoPasswordLinkViewReportFailedType *)deserialize:(NSDictionary *)valueDict { @@ -119309,7 +119309,7 @@ @implementation DBTEAMLOGUserLogInfoSerializer jsonDict[@".tag"] = @"nonTeamMember"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGUserLogInfo *)deserialize:(NSDictionary *)valueDict { @@ -119454,7 +119454,7 @@ @implementation DBTEAMLOGNonTeamMemberLogInfoSerializer jsonDict[@"email"] = valueObj.email; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGNonTeamMemberLogInfo *)deserialize:(NSDictionary *)valueDict { @@ -119555,7 +119555,7 @@ @implementation DBTEAMLOGNonTrustedTeamDetailsSerializer jsonDict[@"team"] = valueObj.team; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGNonTrustedTeamDetails *)deserialize:(NSDictionary *)valueDict { @@ -119646,7 +119646,7 @@ @implementation DBTEAMLOGNoteAclInviteOnlyDetailsSerializer #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGNoteAclInviteOnlyDetails *)deserialize:(NSDictionary *)valueDict { @@ -119745,7 +119745,7 @@ @implementation DBTEAMLOGNoteAclInviteOnlyTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGNoteAclInviteOnlyType *)deserialize:(NSDictionary *)valueDict { @@ -119836,7 +119836,7 @@ @implementation DBTEAMLOGNoteAclLinkDetailsSerializer #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGNoteAclLinkDetails *)deserialize:(NSDictionary *)valueDict { @@ -119935,7 +119935,7 @@ @implementation DBTEAMLOGNoteAclLinkTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGNoteAclLinkType *)deserialize:(NSDictionary *)valueDict { @@ -120026,7 +120026,7 @@ @implementation DBTEAMLOGNoteAclTeamLinkDetailsSerializer #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGNoteAclTeamLinkDetails *)deserialize:(NSDictionary *)valueDict { @@ -120125,7 +120125,7 @@ @implementation DBTEAMLOGNoteAclTeamLinkTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGNoteAclTeamLinkType *)deserialize:(NSDictionary *)valueDict { @@ -120216,7 +120216,7 @@ @implementation DBTEAMLOGNoteShareReceiveDetailsSerializer #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGNoteShareReceiveDetails *)deserialize:(NSDictionary *)valueDict { @@ -120315,7 +120315,7 @@ @implementation DBTEAMLOGNoteShareReceiveTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGNoteShareReceiveType *)deserialize:(NSDictionary *)valueDict { @@ -120406,7 +120406,7 @@ @implementation DBTEAMLOGNoteSharedDetailsSerializer #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGNoteSharedDetails *)deserialize:(NSDictionary *)valueDict { @@ -120505,7 +120505,7 @@ @implementation DBTEAMLOGNoteSharedTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGNoteSharedType *)deserialize:(NSDictionary *)valueDict { @@ -120605,7 +120605,7 @@ @implementation DBTEAMLOGObjectLabelAddedDetailsSerializer jsonDict[@"label_type"] = [DBTEAMLOGLabelTypeSerializer serialize:valueObj.labelType]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGObjectLabelAddedDetails *)deserialize:(NSDictionary *)valueDict { @@ -120704,7 +120704,7 @@ @implementation DBTEAMLOGObjectLabelAddedTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGObjectLabelAddedType *)deserialize:(NSDictionary *)valueDict { @@ -120804,7 +120804,7 @@ @implementation DBTEAMLOGObjectLabelRemovedDetailsSerializer jsonDict[@"label_type"] = [DBTEAMLOGLabelTypeSerializer serialize:valueObj.labelType]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGObjectLabelRemovedDetails *)deserialize:(NSDictionary *)valueDict { @@ -120903,7 +120903,7 @@ @implementation DBTEAMLOGObjectLabelRemovedTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGObjectLabelRemovedType *)deserialize:(NSDictionary *)valueDict { @@ -121004,7 +121004,7 @@ @implementation DBTEAMLOGObjectLabelUpdatedValueDetailsSerializer jsonDict[@"label_type"] = [DBTEAMLOGLabelTypeSerializer serialize:valueObj.labelType]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGObjectLabelUpdatedValueDetails *)deserialize:(NSDictionary *)valueDict { @@ -121103,7 +121103,7 @@ @implementation DBTEAMLOGObjectLabelUpdatedValueTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGObjectLabelUpdatedValueType *)deserialize:(NSDictionary *)valueDict { @@ -121194,7 +121194,7 @@ @implementation DBTEAMLOGOpenNoteSharedDetailsSerializer #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGOpenNoteSharedDetails *)deserialize:(NSDictionary *)valueDict { @@ -121293,7 +121293,7 @@ @implementation DBTEAMLOGOpenNoteSharedTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGOpenNoteSharedType *)deserialize:(NSDictionary *)valueDict { @@ -121392,7 +121392,7 @@ @implementation DBTEAMLOGOrganizationDetailsSerializer jsonDict[@"organization"] = valueObj.organization; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGOrganizationDetails *)deserialize:(NSDictionary *)valueDict { @@ -121491,7 +121491,7 @@ @implementation DBTEAMLOGOrganizationNameSerializer jsonDict[@"organization"] = valueObj.organization; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGOrganizationName *)deserialize:(NSDictionary *)valueDict { @@ -121583,7 +121583,7 @@ @implementation DBTEAMLOGOrganizeFolderWithTidyDetailsSerializer #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGOrganizeFolderWithTidyDetails *)deserialize:(NSDictionary *)valueDict { @@ -121682,7 +121682,7 @@ @implementation DBTEAMLOGOrganizeFolderWithTidyTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGOrganizeFolderWithTidyType *)deserialize:(NSDictionary *)valueDict { @@ -121800,7 +121800,7 @@ @implementation DBTEAMLOGOriginLogInfoSerializer jsonDict[@"geo_location"] = [DBTEAMLOGGeoLocationLogInfoSerializer serialize:valueObj.geoLocation]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGOriginLogInfo *)deserialize:(NSDictionary *)valueDict { @@ -121910,7 +121910,7 @@ @implementation DBTEAMLOGOutdatedLinkViewCreateReportDetailsSerializer jsonDict[@"start_date"] = [DBNSDateSerializer serialize:valueObj.startDate dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; jsonDict[@"end_date"] = [DBNSDateSerializer serialize:valueObj.endDate dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGOutdatedLinkViewCreateReportDetails *)deserialize:(NSDictionary *)valueDict { @@ -122011,7 +122011,7 @@ @implementation DBTEAMLOGOutdatedLinkViewCreateReportTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGOutdatedLinkViewCreateReportType *)deserialize:(NSDictionary *)valueDict { @@ -122112,7 +122112,7 @@ @implementation DBTEAMLOGOutdatedLinkViewReportFailedDetailsSerializer jsonDict[@"failure_reason"] = [DBTEAMTeamReportFailureReasonSerializer serialize:valueObj.failureReason]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGOutdatedLinkViewReportFailedDetails *)deserialize:(NSDictionary *)valueDict { @@ -122213,7 +122213,7 @@ @implementation DBTEAMLOGOutdatedLinkViewReportFailedTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGOutdatedLinkViewReportFailedType *)deserialize:(NSDictionary *)valueDict { @@ -122402,7 +122402,7 @@ @implementation DBTEAMLOGPaperAccessTypeSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPaperAccessType *)deserialize:(NSDictionary *)valueDict { @@ -122503,7 +122503,7 @@ @implementation DBTEAMLOGPaperAdminExportStartDetailsSerializer #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPaperAdminExportStartDetails *)deserialize:(NSDictionary *)valueDict { @@ -122602,7 +122602,7 @@ @implementation DBTEAMLOGPaperAdminExportStartTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPaperAdminExportStartType *)deserialize:(NSDictionary *)valueDict { @@ -122720,7 +122720,7 @@ @implementation DBTEAMLOGPaperChangeDeploymentPolicyDetailsSerializer jsonDict[@"previous_value"] = [DBTEAMPOLICIESPaperDeploymentPolicySerializer serialize:valueObj.previousValue]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPaperChangeDeploymentPolicyDetails *)deserialize:(NSDictionary *)valueDict { @@ -122825,7 +122825,7 @@ @implementation DBTEAMLOGPaperChangeDeploymentPolicyTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPaperChangeDeploymentPolicyType *)deserialize:(NSDictionary *)valueDict { @@ -122926,7 +122926,7 @@ @implementation DBTEAMLOGPaperChangeMemberLinkPolicyDetailsSerializer jsonDict[@"new_value"] = [DBTEAMLOGPaperMemberPolicySerializer serialize:valueObj.dNewValue]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPaperChangeMemberLinkPolicyDetails *)deserialize:(NSDictionary *)valueDict { @@ -123026,7 +123026,7 @@ @implementation DBTEAMLOGPaperChangeMemberLinkPolicyTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPaperChangeMemberLinkPolicyType *)deserialize:(NSDictionary *)valueDict { @@ -123144,7 +123144,7 @@ @implementation DBTEAMLOGPaperChangeMemberPolicyDetailsSerializer jsonDict[@"previous_value"] = [DBTEAMLOGPaperMemberPolicySerializer serialize:valueObj.previousValue]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPaperChangeMemberPolicyDetails *)deserialize:(NSDictionary *)valueDict { @@ -123246,7 +123246,7 @@ @implementation DBTEAMLOGPaperChangeMemberPolicyTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPaperChangeMemberPolicyType *)deserialize:(NSDictionary *)valueDict { @@ -123363,7 +123363,7 @@ @implementation DBTEAMLOGPaperChangePolicyDetailsSerializer jsonDict[@"previous_value"] = [DBTEAMPOLICIESPaperEnabledPolicySerializer serialize:valueObj.previousValue]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPaperChangePolicyDetails *)deserialize:(NSDictionary *)valueDict { @@ -123467,7 +123467,7 @@ @implementation DBTEAMLOGPaperChangePolicyTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPaperChangePolicyType *)deserialize:(NSDictionary *)valueDict { @@ -123566,7 +123566,7 @@ @implementation DBTEAMLOGPaperContentAddMemberDetailsSerializer jsonDict[@"event_uuid"] = valueObj.eventUuid; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPaperContentAddMemberDetails *)deserialize:(NSDictionary *)valueDict { @@ -123665,7 +123665,7 @@ @implementation DBTEAMLOGPaperContentAddMemberTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPaperContentAddMemberType *)deserialize:(NSDictionary *)valueDict { @@ -123781,7 +123781,7 @@ @implementation DBTEAMLOGPaperContentAddToFolderDetailsSerializer jsonDict[@"target_asset_index"] = valueObj.targetAssetIndex; jsonDict[@"parent_asset_index"] = valueObj.parentAssetIndex; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPaperContentAddToFolderDetails *)deserialize:(NSDictionary *)valueDict { @@ -123884,7 +123884,7 @@ @implementation DBTEAMLOGPaperContentAddToFolderTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPaperContentAddToFolderType *)deserialize:(NSDictionary *)valueDict { @@ -123983,7 +123983,7 @@ @implementation DBTEAMLOGPaperContentArchiveDetailsSerializer jsonDict[@"event_uuid"] = valueObj.eventUuid; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPaperContentArchiveDetails *)deserialize:(NSDictionary *)valueDict { @@ -124082,7 +124082,7 @@ @implementation DBTEAMLOGPaperContentArchiveTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPaperContentArchiveType *)deserialize:(NSDictionary *)valueDict { @@ -124181,7 +124181,7 @@ @implementation DBTEAMLOGPaperContentCreateDetailsSerializer jsonDict[@"event_uuid"] = valueObj.eventUuid; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPaperContentCreateDetails *)deserialize:(NSDictionary *)valueDict { @@ -124280,7 +124280,7 @@ @implementation DBTEAMLOGPaperContentCreateTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPaperContentCreateType *)deserialize:(NSDictionary *)valueDict { @@ -124380,7 +124380,7 @@ @implementation DBTEAMLOGPaperContentPermanentlyDeleteDetailsSerializer jsonDict[@"event_uuid"] = valueObj.eventUuid; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPaperContentPermanentlyDeleteDetails *)deserialize:(NSDictionary *)valueDict { @@ -124480,7 +124480,7 @@ @implementation DBTEAMLOGPaperContentPermanentlyDeleteTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPaperContentPermanentlyDeleteType *)deserialize:(NSDictionary *)valueDict { @@ -124610,7 +124610,7 @@ @implementation DBTEAMLOGPaperContentRemoveFromFolderDetailsSerializer jsonDict[@"parent_asset_index"] = valueObj.parentAssetIndex; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPaperContentRemoveFromFolderDetails *)deserialize:(NSDictionary *)valueDict { @@ -124714,7 +124714,7 @@ @implementation DBTEAMLOGPaperContentRemoveFromFolderTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPaperContentRemoveFromFolderType *)deserialize:(NSDictionary *)valueDict { @@ -124814,7 +124814,7 @@ @implementation DBTEAMLOGPaperContentRemoveMemberDetailsSerializer jsonDict[@"event_uuid"] = valueObj.eventUuid; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPaperContentRemoveMemberDetails *)deserialize:(NSDictionary *)valueDict { @@ -124913,7 +124913,7 @@ @implementation DBTEAMLOGPaperContentRemoveMemberTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPaperContentRemoveMemberType *)deserialize:(NSDictionary *)valueDict { @@ -125012,7 +125012,7 @@ @implementation DBTEAMLOGPaperContentRenameDetailsSerializer jsonDict[@"event_uuid"] = valueObj.eventUuid; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPaperContentRenameDetails *)deserialize:(NSDictionary *)valueDict { @@ -125111,7 +125111,7 @@ @implementation DBTEAMLOGPaperContentRenameTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPaperContentRenameType *)deserialize:(NSDictionary *)valueDict { @@ -125210,7 +125210,7 @@ @implementation DBTEAMLOGPaperContentRestoreDetailsSerializer jsonDict[@"event_uuid"] = valueObj.eventUuid; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPaperContentRestoreDetails *)deserialize:(NSDictionary *)valueDict { @@ -125309,7 +125309,7 @@ @implementation DBTEAMLOGPaperContentRestoreTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPaperContentRestoreType *)deserialize:(NSDictionary *)valueDict { @@ -125477,7 +125477,7 @@ @implementation DBTEAMLOGPaperDefaultFolderPolicySerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPaperDefaultFolderPolicy *)deserialize:(NSDictionary *)valueDict { @@ -125594,7 +125594,7 @@ @implementation DBTEAMLOGPaperDefaultFolderPolicyChangedDetailsSerializer jsonDict[@"new_value"] = [DBTEAMLOGPaperDefaultFolderPolicySerializer serialize:valueObj.dNewValue]; jsonDict[@"previous_value"] = [DBTEAMLOGPaperDefaultFolderPolicySerializer serialize:valueObj.previousValue]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPaperDefaultFolderPolicyChangedDetails *)deserialize:(NSDictionary *)valueDict { @@ -125698,7 +125698,7 @@ @implementation DBTEAMLOGPaperDefaultFolderPolicyChangedTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPaperDefaultFolderPolicyChangedType *)deserialize:(NSDictionary *)valueDict { @@ -125866,7 +125866,7 @@ @implementation DBTEAMLOGPaperDesktopPolicySerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPaperDesktopPolicy *)deserialize:(NSDictionary *)valueDict { @@ -125983,7 +125983,7 @@ @implementation DBTEAMLOGPaperDesktopPolicyChangedDetailsSerializer jsonDict[@"new_value"] = [DBTEAMLOGPaperDesktopPolicySerializer serialize:valueObj.dNewValue]; jsonDict[@"previous_value"] = [DBTEAMLOGPaperDesktopPolicySerializer serialize:valueObj.previousValue]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPaperDesktopPolicyChangedDetails *)deserialize:(NSDictionary *)valueDict { @@ -126085,7 +126085,7 @@ @implementation DBTEAMLOGPaperDesktopPolicyChangedTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPaperDesktopPolicyChangedType *)deserialize:(NSDictionary *)valueDict { @@ -126200,7 +126200,7 @@ @implementation DBTEAMLOGPaperDocAddCommentDetailsSerializer jsonDict[@"comment_text"] = valueObj.commentText; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPaperDocAddCommentDetails *)deserialize:(NSDictionary *)valueDict { @@ -126300,7 +126300,7 @@ @implementation DBTEAMLOGPaperDocAddCommentTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPaperDocAddCommentType *)deserialize:(NSDictionary *)valueDict { @@ -126408,7 +126408,7 @@ @implementation DBTEAMLOGPaperDocChangeMemberRoleDetailsSerializer jsonDict[@"event_uuid"] = valueObj.eventUuid; jsonDict[@"access_type"] = [DBTEAMLOGPaperAccessTypeSerializer serialize:valueObj.accessType]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPaperDocChangeMemberRoleDetails *)deserialize:(NSDictionary *)valueDict { @@ -126508,7 +126508,7 @@ @implementation DBTEAMLOGPaperDocChangeMemberRoleTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPaperDocChangeMemberRoleType *)deserialize:(NSDictionary *)valueDict { @@ -126638,7 +126638,7 @@ @implementation DBTEAMLOGPaperDocChangeSharingPolicyDetailsSerializer jsonDict[@"team_sharing_policy"] = valueObj.teamSharingPolicy; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPaperDocChangeSharingPolicyDetails *)deserialize:(NSDictionary *)valueDict { @@ -126742,7 +126742,7 @@ @implementation DBTEAMLOGPaperDocChangeSharingPolicyTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPaperDocChangeSharingPolicyType *)deserialize:(NSDictionary *)valueDict { @@ -126867,7 +126867,7 @@ @implementation DBTEAMLOGPaperDocChangeSubscriptionDetailsSerializer jsonDict[@"previous_subscription_level"] = valueObj.previousSubscriptionLevel; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPaperDocChangeSubscriptionDetails *)deserialize:(NSDictionary *)valueDict { @@ -126971,7 +126971,7 @@ @implementation DBTEAMLOGPaperDocChangeSubscriptionTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPaperDocChangeSubscriptionType *)deserialize:(NSDictionary *)valueDict { @@ -127086,7 +127086,7 @@ @implementation DBTEAMLOGPaperDocDeleteCommentDetailsSerializer jsonDict[@"comment_text"] = valueObj.commentText; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPaperDocDeleteCommentDetails *)deserialize:(NSDictionary *)valueDict { @@ -127186,7 +127186,7 @@ @implementation DBTEAMLOGPaperDocDeleteCommentTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPaperDocDeleteCommentType *)deserialize:(NSDictionary *)valueDict { @@ -127285,7 +127285,7 @@ @implementation DBTEAMLOGPaperDocDeletedDetailsSerializer jsonDict[@"event_uuid"] = valueObj.eventUuid; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPaperDocDeletedDetails *)deserialize:(NSDictionary *)valueDict { @@ -127384,7 +127384,7 @@ @implementation DBTEAMLOGPaperDocDeletedTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPaperDocDeletedType *)deserialize:(NSDictionary *)valueDict { @@ -127492,7 +127492,7 @@ @implementation DBTEAMLOGPaperDocDownloadDetailsSerializer jsonDict[@"event_uuid"] = valueObj.eventUuid; jsonDict[@"export_file_format"] = [DBTEAMLOGPaperDownloadFormatSerializer serialize:valueObj.exportFileFormat]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPaperDocDownloadDetails *)deserialize:(NSDictionary *)valueDict { @@ -127593,7 +127593,7 @@ @implementation DBTEAMLOGPaperDocDownloadTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPaperDocDownloadType *)deserialize:(NSDictionary *)valueDict { @@ -127708,7 +127708,7 @@ @implementation DBTEAMLOGPaperDocEditCommentDetailsSerializer jsonDict[@"comment_text"] = valueObj.commentText; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPaperDocEditCommentDetails *)deserialize:(NSDictionary *)valueDict { @@ -127808,7 +127808,7 @@ @implementation DBTEAMLOGPaperDocEditCommentTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPaperDocEditCommentType *)deserialize:(NSDictionary *)valueDict { @@ -127907,7 +127907,7 @@ @implementation DBTEAMLOGPaperDocEditDetailsSerializer jsonDict[@"event_uuid"] = valueObj.eventUuid; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPaperDocEditDetails *)deserialize:(NSDictionary *)valueDict { @@ -128006,7 +128006,7 @@ @implementation DBTEAMLOGPaperDocEditTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPaperDocEditType *)deserialize:(NSDictionary *)valueDict { @@ -128105,7 +128105,7 @@ @implementation DBTEAMLOGPaperDocFollowedDetailsSerializer jsonDict[@"event_uuid"] = valueObj.eventUuid; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPaperDocFollowedDetails *)deserialize:(NSDictionary *)valueDict { @@ -128204,7 +128204,7 @@ @implementation DBTEAMLOGPaperDocFollowedTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPaperDocFollowedType *)deserialize:(NSDictionary *)valueDict { @@ -128303,7 +128303,7 @@ @implementation DBTEAMLOGPaperDocMentionDetailsSerializer jsonDict[@"event_uuid"] = valueObj.eventUuid; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPaperDocMentionDetails *)deserialize:(NSDictionary *)valueDict { @@ -128402,7 +128402,7 @@ @implementation DBTEAMLOGPaperDocMentionTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPaperDocMentionType *)deserialize:(NSDictionary *)valueDict { @@ -128530,7 +128530,7 @@ @implementation DBTEAMLOGPaperDocOwnershipChangedDetailsSerializer jsonDict[@"old_owner_user_id"] = valueObj.oldOwnerUserId; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPaperDocOwnershipChangedDetails *)deserialize:(NSDictionary *)valueDict { @@ -128633,7 +128633,7 @@ @implementation DBTEAMLOGPaperDocOwnershipChangedTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPaperDocOwnershipChangedType *)deserialize:(NSDictionary *)valueDict { @@ -128732,7 +128732,7 @@ @implementation DBTEAMLOGPaperDocRequestAccessDetailsSerializer jsonDict[@"event_uuid"] = valueObj.eventUuid; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPaperDocRequestAccessDetails *)deserialize:(NSDictionary *)valueDict { @@ -128831,7 +128831,7 @@ @implementation DBTEAMLOGPaperDocRequestAccessTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPaperDocRequestAccessType *)deserialize:(NSDictionary *)valueDict { @@ -128947,7 +128947,7 @@ @implementation DBTEAMLOGPaperDocResolveCommentDetailsSerializer jsonDict[@"comment_text"] = valueObj.commentText; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPaperDocResolveCommentDetails *)deserialize:(NSDictionary *)valueDict { @@ -129047,7 +129047,7 @@ @implementation DBTEAMLOGPaperDocResolveCommentTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPaperDocResolveCommentType *)deserialize:(NSDictionary *)valueDict { @@ -129146,7 +129146,7 @@ @implementation DBTEAMLOGPaperDocRevertDetailsSerializer jsonDict[@"event_uuid"] = valueObj.eventUuid; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPaperDocRevertDetails *)deserialize:(NSDictionary *)valueDict { @@ -129245,7 +129245,7 @@ @implementation DBTEAMLOGPaperDocRevertTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPaperDocRevertType *)deserialize:(NSDictionary *)valueDict { @@ -129344,7 +129344,7 @@ @implementation DBTEAMLOGPaperDocSlackShareDetailsSerializer jsonDict[@"event_uuid"] = valueObj.eventUuid; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPaperDocSlackShareDetails *)deserialize:(NSDictionary *)valueDict { @@ -129443,7 +129443,7 @@ @implementation DBTEAMLOGPaperDocSlackShareTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPaperDocSlackShareType *)deserialize:(NSDictionary *)valueDict { @@ -129542,7 +129542,7 @@ @implementation DBTEAMLOGPaperDocTeamInviteDetailsSerializer jsonDict[@"event_uuid"] = valueObj.eventUuid; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPaperDocTeamInviteDetails *)deserialize:(NSDictionary *)valueDict { @@ -129641,7 +129641,7 @@ @implementation DBTEAMLOGPaperDocTeamInviteTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPaperDocTeamInviteType *)deserialize:(NSDictionary *)valueDict { @@ -129740,7 +129740,7 @@ @implementation DBTEAMLOGPaperDocTrashedDetailsSerializer jsonDict[@"event_uuid"] = valueObj.eventUuid; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPaperDocTrashedDetails *)deserialize:(NSDictionary *)valueDict { @@ -129839,7 +129839,7 @@ @implementation DBTEAMLOGPaperDocTrashedTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPaperDocTrashedType *)deserialize:(NSDictionary *)valueDict { @@ -129955,7 +129955,7 @@ @implementation DBTEAMLOGPaperDocUnresolveCommentDetailsSerializer jsonDict[@"comment_text"] = valueObj.commentText; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPaperDocUnresolveCommentDetails *)deserialize:(NSDictionary *)valueDict { @@ -130055,7 +130055,7 @@ @implementation DBTEAMLOGPaperDocUnresolveCommentTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPaperDocUnresolveCommentType *)deserialize:(NSDictionary *)valueDict { @@ -130154,7 +130154,7 @@ @implementation DBTEAMLOGPaperDocUntrashedDetailsSerializer jsonDict[@"event_uuid"] = valueObj.eventUuid; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPaperDocUntrashedDetails *)deserialize:(NSDictionary *)valueDict { @@ -130253,7 +130253,7 @@ @implementation DBTEAMLOGPaperDocUntrashedTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPaperDocUntrashedType *)deserialize:(NSDictionary *)valueDict { @@ -130352,7 +130352,7 @@ @implementation DBTEAMLOGPaperDocViewDetailsSerializer jsonDict[@"event_uuid"] = valueObj.eventUuid; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPaperDocViewDetails *)deserialize:(NSDictionary *)valueDict { @@ -130451,7 +130451,7 @@ @implementation DBTEAMLOGPaperDocViewTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPaperDocViewType *)deserialize:(NSDictionary *)valueDict { @@ -130557,7 +130557,7 @@ @implementation DBTEAMLOGPaperDocumentLogInfoSerializer jsonDict[@"doc_id"] = valueObj.docId; jsonDict[@"doc_title"] = valueObj.docTitle; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPaperDocumentLogInfo *)deserialize:(NSDictionary *)valueDict { @@ -130768,7 +130768,7 @@ @implementation DBTEAMLOGPaperDownloadFormatSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPaperDownloadFormat *)deserialize:(NSDictionary *)valueDict { @@ -130872,7 +130872,7 @@ @implementation DBTEAMLOGPaperEnabledUsersGroupAdditionDetailsSerializer #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPaperEnabledUsersGroupAdditionDetails *)deserialize:(NSDictionary *)valueDict { @@ -130972,7 +130972,7 @@ @implementation DBTEAMLOGPaperEnabledUsersGroupAdditionTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPaperEnabledUsersGroupAdditionType *)deserialize:(NSDictionary *)valueDict { @@ -131064,7 +131064,7 @@ @implementation DBTEAMLOGPaperEnabledUsersGroupRemovalDetailsSerializer #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPaperEnabledUsersGroupRemovalDetails *)deserialize:(NSDictionary *)valueDict { @@ -131164,7 +131164,7 @@ @implementation DBTEAMLOGPaperEnabledUsersGroupRemovalTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPaperEnabledUsersGroupRemovalType *)deserialize:(NSDictionary *)valueDict { @@ -131264,7 +131264,7 @@ @implementation DBTEAMLOGPaperExternalViewAllowDetailsSerializer jsonDict[@"event_uuid"] = valueObj.eventUuid; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPaperExternalViewAllowDetails *)deserialize:(NSDictionary *)valueDict { @@ -131363,7 +131363,7 @@ @implementation DBTEAMLOGPaperExternalViewAllowTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPaperExternalViewAllowType *)deserialize:(NSDictionary *)valueDict { @@ -131463,7 +131463,7 @@ @implementation DBTEAMLOGPaperExternalViewDefaultTeamDetailsSerializer jsonDict[@"event_uuid"] = valueObj.eventUuid; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPaperExternalViewDefaultTeamDetails *)deserialize:(NSDictionary *)valueDict { @@ -131563,7 +131563,7 @@ @implementation DBTEAMLOGPaperExternalViewDefaultTeamTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPaperExternalViewDefaultTeamType *)deserialize:(NSDictionary *)valueDict { @@ -131663,7 +131663,7 @@ @implementation DBTEAMLOGPaperExternalViewForbidDetailsSerializer jsonDict[@"event_uuid"] = valueObj.eventUuid; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPaperExternalViewForbidDetails *)deserialize:(NSDictionary *)valueDict { @@ -131762,7 +131762,7 @@ @implementation DBTEAMLOGPaperExternalViewForbidTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPaperExternalViewForbidType *)deserialize:(NSDictionary *)valueDict { @@ -131887,7 +131887,7 @@ @implementation DBTEAMLOGPaperFolderChangeSubscriptionDetailsSerializer jsonDict[@"previous_subscription_level"] = valueObj.previousSubscriptionLevel; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPaperFolderChangeSubscriptionDetails *)deserialize:(NSDictionary *)valueDict { @@ -131991,7 +131991,7 @@ @implementation DBTEAMLOGPaperFolderChangeSubscriptionTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPaperFolderChangeSubscriptionType *)deserialize:(NSDictionary *)valueDict { @@ -132090,7 +132090,7 @@ @implementation DBTEAMLOGPaperFolderDeletedDetailsSerializer jsonDict[@"event_uuid"] = valueObj.eventUuid; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPaperFolderDeletedDetails *)deserialize:(NSDictionary *)valueDict { @@ -132189,7 +132189,7 @@ @implementation DBTEAMLOGPaperFolderDeletedTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPaperFolderDeletedType *)deserialize:(NSDictionary *)valueDict { @@ -132288,7 +132288,7 @@ @implementation DBTEAMLOGPaperFolderFollowedDetailsSerializer jsonDict[@"event_uuid"] = valueObj.eventUuid; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPaperFolderFollowedDetails *)deserialize:(NSDictionary *)valueDict { @@ -132387,7 +132387,7 @@ @implementation DBTEAMLOGPaperFolderFollowedTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPaperFolderFollowedType *)deserialize:(NSDictionary *)valueDict { @@ -132493,7 +132493,7 @@ @implementation DBTEAMLOGPaperFolderLogInfoSerializer jsonDict[@"folder_id"] = valueObj.folderId; jsonDict[@"folder_name"] = valueObj.folderName; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPaperFolderLogInfo *)deserialize:(NSDictionary *)valueDict { @@ -132593,7 +132593,7 @@ @implementation DBTEAMLOGPaperFolderTeamInviteDetailsSerializer jsonDict[@"event_uuid"] = valueObj.eventUuid; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPaperFolderTeamInviteDetails *)deserialize:(NSDictionary *)valueDict { @@ -132692,7 +132692,7 @@ @implementation DBTEAMLOGPaperFolderTeamInviteTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPaperFolderTeamInviteType *)deserialize:(NSDictionary *)valueDict { @@ -132881,7 +132881,7 @@ @implementation DBTEAMLOGPaperMemberPolicySerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPaperMemberPolicy *)deserialize:(NSDictionary *)valueDict { @@ -133007,7 +133007,7 @@ @implementation DBTEAMLOGPaperPublishedLinkChangePermissionDetailsSerializer jsonDict[@"new_permission_level"] = valueObj.dNewPermissionLevel; jsonDict[@"previous_permission_level"] = valueObj.previousPermissionLevel; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPaperPublishedLinkChangePermissionDetails *)deserialize:(NSDictionary *)valueDict { @@ -133111,7 +133111,7 @@ @implementation DBTEAMLOGPaperPublishedLinkChangePermissionTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPaperPublishedLinkChangePermissionType *)deserialize:(NSDictionary *)valueDict { @@ -133211,7 +133211,7 @@ @implementation DBTEAMLOGPaperPublishedLinkCreateDetailsSerializer jsonDict[@"event_uuid"] = valueObj.eventUuid; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPaperPublishedLinkCreateDetails *)deserialize:(NSDictionary *)valueDict { @@ -133310,7 +133310,7 @@ @implementation DBTEAMLOGPaperPublishedLinkCreateTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPaperPublishedLinkCreateType *)deserialize:(NSDictionary *)valueDict { @@ -133410,7 +133410,7 @@ @implementation DBTEAMLOGPaperPublishedLinkDisabledDetailsSerializer jsonDict[@"event_uuid"] = valueObj.eventUuid; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPaperPublishedLinkDisabledDetails *)deserialize:(NSDictionary *)valueDict { @@ -133510,7 +133510,7 @@ @implementation DBTEAMLOGPaperPublishedLinkDisabledTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPaperPublishedLinkDisabledType *)deserialize:(NSDictionary *)valueDict { @@ -133610,7 +133610,7 @@ @implementation DBTEAMLOGPaperPublishedLinkViewDetailsSerializer jsonDict[@"event_uuid"] = valueObj.eventUuid; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPaperPublishedLinkViewDetails *)deserialize:(NSDictionary *)valueDict { @@ -133709,7 +133709,7 @@ @implementation DBTEAMLOGPaperPublishedLinkViewTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPaperPublishedLinkViewType *)deserialize:(NSDictionary *)valueDict { @@ -133902,7 +133902,7 @@ @implementation DBTEAMLOGParticipantLogInfoSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGParticipantLogInfo *)deserialize:(NSDictionary *)valueDict { @@ -134101,7 +134101,7 @@ @implementation DBTEAMLOGPassPolicySerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPassPolicy *)deserialize:(NSDictionary *)valueDict { @@ -134202,7 +134202,7 @@ @implementation DBTEAMLOGPasswordChangeDetailsSerializer #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPasswordChangeDetails *)deserialize:(NSDictionary *)valueDict { @@ -134301,7 +134301,7 @@ @implementation DBTEAMLOGPasswordChangeTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPasswordChangeType *)deserialize:(NSDictionary *)valueDict { @@ -134392,7 +134392,7 @@ @implementation DBTEAMLOGPasswordResetAllDetailsSerializer #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPasswordResetAllDetails *)deserialize:(NSDictionary *)valueDict { @@ -134491,7 +134491,7 @@ @implementation DBTEAMLOGPasswordResetAllTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPasswordResetAllType *)deserialize:(NSDictionary *)valueDict { @@ -134582,7 +134582,7 @@ @implementation DBTEAMLOGPasswordResetDetailsSerializer #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPasswordResetDetails *)deserialize:(NSDictionary *)valueDict { @@ -134681,7 +134681,7 @@ @implementation DBTEAMLOGPasswordResetTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPasswordResetType *)deserialize:(NSDictionary *)valueDict { @@ -134790,7 +134790,7 @@ @implementation DBTEAMLOGPasswordStrengthRequirementsChangePolicyDetailsSerializ jsonDict[@"previous_value"] = [DBTEAMPOLICIESPasswordStrengthPolicySerializer serialize:valueObj.previousValue]; jsonDict[@"new_value"] = [DBTEAMPOLICIESPasswordStrengthPolicySerializer serialize:valueObj.dNewValue]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPasswordStrengthRequirementsChangePolicyDetails *)deserialize:(NSDictionary *)valueDict { @@ -134894,7 +134894,7 @@ @implementation DBTEAMLOGPasswordStrengthRequirementsChangePolicyTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPasswordStrengthRequirementsChangePolicyType *)deserialize:(NSDictionary *)valueDict { @@ -135012,7 +135012,7 @@ @implementation DBTEAMLOGPathLogInfoSerializer jsonDict[@"contextual"] = valueObj.contextual; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPathLogInfo *)deserialize:(NSDictionary *)valueDict { @@ -135115,7 +135115,7 @@ @implementation DBTEAMLOGPendingSecondaryEmailAddedDetailsSerializer jsonDict[@"secondary_email"] = valueObj.secondaryEmail; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPendingSecondaryEmailAddedDetails *)deserialize:(NSDictionary *)valueDict { @@ -135215,7 +135215,7 @@ @implementation DBTEAMLOGPendingSecondaryEmailAddedTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPendingSecondaryEmailAddedType *)deserialize:(NSDictionary *)valueDict { @@ -135333,7 +135333,7 @@ @implementation DBTEAMLOGPermanentDeleteChangePolicyDetailsSerializer jsonDict[@"previous_value"] = [DBTEAMLOGContentPermanentDeletePolicySerializer serialize:valueObj.previousValue]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPermanentDeleteChangePolicyDetails *)deserialize:(NSDictionary *)valueDict { @@ -135438,7 +135438,7 @@ @implementation DBTEAMLOGPermanentDeleteChangePolicyTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPermanentDeleteChangePolicyType *)deserialize:(NSDictionary *)valueDict { @@ -135690,7 +135690,7 @@ @implementation DBTEAMLOGPlacementRestrictionSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPlacementRestriction *)deserialize:(NSDictionary *)valueDict { @@ -135874,7 +135874,7 @@ @implementation DBTEAMLOGPolicyTypeSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPolicyType *)deserialize:(NSDictionary *)valueDict { @@ -135989,7 +135989,7 @@ @implementation DBTEAMLOGPrimaryTeamRequestAcceptedDetailsSerializer jsonDict[@"secondary_team"] = valueObj.secondaryTeam; jsonDict[@"sent_by"] = valueObj.sentBy; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPrimaryTeamRequestAcceptedDetails *)deserialize:(NSDictionary *)valueDict { @@ -136097,7 +136097,7 @@ @implementation DBTEAMLOGPrimaryTeamRequestCanceledDetailsSerializer jsonDict[@"secondary_team"] = valueObj.secondaryTeam; jsonDict[@"sent_by"] = valueObj.sentBy; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPrimaryTeamRequestCanceledDetails *)deserialize:(NSDictionary *)valueDict { @@ -136205,7 +136205,7 @@ @implementation DBTEAMLOGPrimaryTeamRequestExpiredDetailsSerializer jsonDict[@"secondary_team"] = valueObj.secondaryTeam; jsonDict[@"sent_by"] = valueObj.sentBy; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPrimaryTeamRequestExpiredDetails *)deserialize:(NSDictionary *)valueDict { @@ -136313,7 +136313,7 @@ @implementation DBTEAMLOGPrimaryTeamRequestReminderDetailsSerializer jsonDict[@"secondary_team"] = valueObj.secondaryTeam; jsonDict[@"sent_to"] = valueObj.sentTo; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGPrimaryTeamRequestReminderDetails *)deserialize:(NSDictionary *)valueDict { @@ -136566,7 +136566,7 @@ @implementation DBTEAMLOGQuickActionTypeSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGQuickActionType *)deserialize:(NSDictionary *)valueDict { @@ -136674,7 +136674,7 @@ @implementation DBTEAMLOGRansomwareAlertCreateReportDetailsSerializer #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGRansomwareAlertCreateReportDetails *)deserialize:(NSDictionary *)valueDict { @@ -136775,7 +136775,7 @@ @implementation DBTEAMLOGRansomwareAlertCreateReportFailedDetailsSerializer jsonDict[@"failure_reason"] = [DBTEAMTeamReportFailureReasonSerializer serialize:valueObj.failureReason]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGRansomwareAlertCreateReportFailedDetails *)deserialize:(NSDictionary *)valueDict { @@ -136876,7 +136876,7 @@ @implementation DBTEAMLOGRansomwareAlertCreateReportFailedTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGRansomwareAlertCreateReportFailedType *)deserialize:(NSDictionary *)valueDict { @@ -136976,7 +136976,7 @@ @implementation DBTEAMLOGRansomwareAlertCreateReportTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGRansomwareAlertCreateReportType *)deserialize:(NSDictionary *)valueDict { @@ -137092,7 +137092,7 @@ @implementation DBTEAMLOGRansomwareRestoreProcessCompletedDetailsSerializer jsonDict[@"restored_files_count"] = valueObj.restoredFilesCount; jsonDict[@"restored_files_failed_count"] = valueObj.restoredFilesFailedCount; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGRansomwareRestoreProcessCompletedDetails *)deserialize:(NSDictionary *)valueDict { @@ -137196,7 +137196,7 @@ @implementation DBTEAMLOGRansomwareRestoreProcessCompletedTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGRansomwareRestoreProcessCompletedType *)deserialize:(NSDictionary *)valueDict { @@ -137296,7 +137296,7 @@ @implementation DBTEAMLOGRansomwareRestoreProcessStartedDetailsSerializer jsonDict[@"extension"] = valueObj.extension; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGRansomwareRestoreProcessStartedDetails *)deserialize:(NSDictionary *)valueDict { @@ -137396,7 +137396,7 @@ @implementation DBTEAMLOGRansomwareRestoreProcessStartedTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGRansomwareRestoreProcessStartedType *)deserialize:(NSDictionary *)valueDict { @@ -137550,7 +137550,7 @@ @implementation DBTEAMLOGRecipientsConfigurationSerializer }]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGRecipientsConfiguration *)deserialize:(NSDictionary *)valueDict { @@ -137672,7 +137672,7 @@ @implementation DBTEAMLOGRelocateAssetReferencesLogInfoSerializer jsonDict[@"src_asset_index"] = valueObj.srcAssetIndex; jsonDict[@"dest_asset_index"] = valueObj.destAssetIndex; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGRelocateAssetReferencesLogInfo *)deserialize:(NSDictionary *)valueDict { @@ -137765,7 +137765,7 @@ @implementation DBTEAMLOGReplayFileDeleteDetailsSerializer #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGReplayFileDeleteDetails *)deserialize:(NSDictionary *)valueDict { @@ -137864,7 +137864,7 @@ @implementation DBTEAMLOGReplayFileDeleteTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGReplayFileDeleteType *)deserialize:(NSDictionary *)valueDict { @@ -137956,7 +137956,7 @@ @implementation DBTEAMLOGReplayFileSharedLinkCreatedDetailsSerializer #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGReplayFileSharedLinkCreatedDetails *)deserialize:(NSDictionary *)valueDict { @@ -138056,7 +138056,7 @@ @implementation DBTEAMLOGReplayFileSharedLinkCreatedTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGReplayFileSharedLinkCreatedType *)deserialize:(NSDictionary *)valueDict { @@ -138148,7 +138148,7 @@ @implementation DBTEAMLOGReplayFileSharedLinkModifiedDetailsSerializer #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGReplayFileSharedLinkModifiedDetails *)deserialize:(NSDictionary *)valueDict { @@ -138248,7 +138248,7 @@ @implementation DBTEAMLOGReplayFileSharedLinkModifiedTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGReplayFileSharedLinkModifiedType *)deserialize:(NSDictionary *)valueDict { @@ -138339,7 +138339,7 @@ @implementation DBTEAMLOGReplayProjectTeamAddDetailsSerializer #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGReplayProjectTeamAddDetails *)deserialize:(NSDictionary *)valueDict { @@ -138438,7 +138438,7 @@ @implementation DBTEAMLOGReplayProjectTeamAddTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGReplayProjectTeamAddType *)deserialize:(NSDictionary *)valueDict { @@ -138530,7 +138530,7 @@ @implementation DBTEAMLOGReplayProjectTeamDeleteDetailsSerializer #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGReplayProjectTeamDeleteDetails *)deserialize:(NSDictionary *)valueDict { @@ -138629,7 +138629,7 @@ @implementation DBTEAMLOGReplayProjectTeamDeleteTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGReplayProjectTeamDeleteType *)deserialize:(NSDictionary *)valueDict { @@ -138736,7 +138736,7 @@ @implementation DBTEAMLOGResellerLogInfoSerializer jsonDict[@"reseller_name"] = valueObj.resellerName; jsonDict[@"reseller_email"] = valueObj.resellerEmail; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGResellerLogInfo *)deserialize:(NSDictionary *)valueDict { @@ -138905,7 +138905,7 @@ @implementation DBTEAMLOGResellerRoleSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGResellerRole *)deserialize:(NSDictionary *)valueDict { @@ -139022,7 +139022,7 @@ @implementation DBTEAMLOGResellerSupportChangePolicyDetailsSerializer jsonDict[@"new_value"] = [DBTEAMLOGResellerSupportPolicySerializer serialize:valueObj.dNewValue]; jsonDict[@"previous_value"] = [DBTEAMLOGResellerSupportPolicySerializer serialize:valueObj.previousValue]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGResellerSupportChangePolicyDetails *)deserialize:(NSDictionary *)valueDict { @@ -139125,7 +139125,7 @@ @implementation DBTEAMLOGResellerSupportChangePolicyTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGResellerSupportChangePolicyType *)deserialize:(NSDictionary *)valueDict { @@ -139293,7 +139293,7 @@ @implementation DBTEAMLOGResellerSupportPolicySerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGResellerSupportPolicy *)deserialize:(NSDictionary *)valueDict { @@ -139393,7 +139393,7 @@ @implementation DBTEAMLOGResellerSupportSessionEndDetailsSerializer #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGResellerSupportSessionEndDetails *)deserialize:(NSDictionary *)valueDict { @@ -139493,7 +139493,7 @@ @implementation DBTEAMLOGResellerSupportSessionEndTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGResellerSupportSessionEndType *)deserialize:(NSDictionary *)valueDict { @@ -139585,7 +139585,7 @@ @implementation DBTEAMLOGResellerSupportSessionStartDetailsSerializer #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGResellerSupportSessionStartDetails *)deserialize:(NSDictionary *)valueDict { @@ -139685,7 +139685,7 @@ @implementation DBTEAMLOGResellerSupportSessionStartTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGResellerSupportSessionStartType *)deserialize:(NSDictionary *)valueDict { @@ -139785,7 +139785,7 @@ @implementation DBTEAMLOGRewindFolderDetailsSerializer jsonDict[@"rewind_folder_target_ts_ms"] = [DBNSDateSerializer serialize:valueObj.rewindFolderTargetTsMs dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGRewindFolderDetails *)deserialize:(NSDictionary *)valueDict { @@ -139885,7 +139885,7 @@ @implementation DBTEAMLOGRewindFolderTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGRewindFolderType *)deserialize:(NSDictionary *)valueDict { @@ -140053,7 +140053,7 @@ @implementation DBTEAMLOGRewindPolicySerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGRewindPolicy *)deserialize:(NSDictionary *)valueDict { @@ -140169,7 +140169,7 @@ @implementation DBTEAMLOGRewindPolicyChangedDetailsSerializer jsonDict[@"new_value"] = [DBTEAMLOGRewindPolicySerializer serialize:valueObj.dNewValue]; jsonDict[@"previous_value"] = [DBTEAMLOGRewindPolicySerializer serialize:valueObj.previousValue]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGRewindPolicyChangedDetails *)deserialize:(NSDictionary *)valueDict { @@ -140269,7 +140269,7 @@ @implementation DBTEAMLOGRewindPolicyChangedTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGRewindPolicyChangedType *)deserialize:(NSDictionary *)valueDict { @@ -140369,7 +140369,7 @@ @implementation DBTEAMLOGSecondaryEmailDeletedDetailsSerializer jsonDict[@"secondary_email"] = valueObj.secondaryEmail; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSecondaryEmailDeletedDetails *)deserialize:(NSDictionary *)valueDict { @@ -140468,7 +140468,7 @@ @implementation DBTEAMLOGSecondaryEmailDeletedTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSecondaryEmailDeletedType *)deserialize:(NSDictionary *)valueDict { @@ -140569,7 +140569,7 @@ @implementation DBTEAMLOGSecondaryEmailVerifiedDetailsSerializer jsonDict[@"secondary_email"] = valueObj.secondaryEmail; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSecondaryEmailVerifiedDetails *)deserialize:(NSDictionary *)valueDict { @@ -140668,7 +140668,7 @@ @implementation DBTEAMLOGSecondaryEmailVerifiedTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSecondaryEmailVerifiedType *)deserialize:(NSDictionary *)valueDict { @@ -140836,7 +140836,7 @@ @implementation DBTEAMLOGSecondaryMailsPolicySerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSecondaryMailsPolicy *)deserialize:(NSDictionary *)valueDict { @@ -140953,7 +140953,7 @@ @implementation DBTEAMLOGSecondaryMailsPolicyChangedDetailsSerializer jsonDict[@"previous_value"] = [DBTEAMLOGSecondaryMailsPolicySerializer serialize:valueObj.previousValue]; jsonDict[@"new_value"] = [DBTEAMLOGSecondaryMailsPolicySerializer serialize:valueObj.dNewValue]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSecondaryMailsPolicyChangedDetails *)deserialize:(NSDictionary *)valueDict { @@ -141056,7 +141056,7 @@ @implementation DBTEAMLOGSecondaryMailsPolicyChangedTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSecondaryMailsPolicyChangedType *)deserialize:(NSDictionary *)valueDict { @@ -141163,7 +141163,7 @@ @implementation DBTEAMLOGSecondaryTeamRequestAcceptedDetailsSerializer jsonDict[@"primary_team"] = valueObj.primaryTeam; jsonDict[@"sent_by"] = valueObj.sentBy; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSecondaryTeamRequestAcceptedDetails *)deserialize:(NSDictionary *)valueDict { @@ -141271,7 +141271,7 @@ @implementation DBTEAMLOGSecondaryTeamRequestCanceledDetailsSerializer jsonDict[@"sent_to"] = valueObj.sentTo; jsonDict[@"sent_by"] = valueObj.sentBy; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSecondaryTeamRequestCanceledDetails *)deserialize:(NSDictionary *)valueDict { @@ -141372,7 +141372,7 @@ @implementation DBTEAMLOGSecondaryTeamRequestExpiredDetailsSerializer jsonDict[@"sent_to"] = valueObj.sentTo; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSecondaryTeamRequestExpiredDetails *)deserialize:(NSDictionary *)valueDict { @@ -141472,7 +141472,7 @@ @implementation DBTEAMLOGSecondaryTeamRequestReminderDetailsSerializer jsonDict[@"sent_to"] = valueObj.sentTo; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSecondaryTeamRequestReminderDetails *)deserialize:(NSDictionary *)valueDict { @@ -141640,7 +141640,7 @@ @implementation DBTEAMLOGSendForSignaturePolicySerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSendForSignaturePolicy *)deserialize:(NSDictionary *)valueDict { @@ -141757,7 +141757,7 @@ @implementation DBTEAMLOGSendForSignaturePolicyChangedDetailsSerializer jsonDict[@"new_value"] = [DBTEAMLOGSendForSignaturePolicySerializer serialize:valueObj.dNewValue]; jsonDict[@"previous_value"] = [DBTEAMLOGSendForSignaturePolicySerializer serialize:valueObj.previousValue]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSendForSignaturePolicyChangedDetails *)deserialize:(NSDictionary *)valueDict { @@ -141861,7 +141861,7 @@ @implementation DBTEAMLOGSendForSignaturePolicyChangedTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSendForSignaturePolicyChangedType *)deserialize:(NSDictionary *)valueDict { @@ -141998,7 +141998,7 @@ @implementation DBTEAMLOGSfAddGroupDetailsSerializer jsonDict[@"sharing_permission"] = valueObj.sharingPermission; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSfAddGroupDetails *)deserialize:(NSDictionary *)valueDict { @@ -142103,7 +142103,7 @@ @implementation DBTEAMLOGSfAddGroupTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSfAddGroupType *)deserialize:(NSDictionary *)valueDict { @@ -142229,7 +142229,7 @@ @implementation DBTEAMLOGSfAllowNonMembersToViewSharedLinksDetailsSerializer jsonDict[@"shared_folder_type"] = valueObj.sharedFolderType; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSfAllowNonMembersToViewSharedLinksDetails *)deserialize:(NSDictionary *)valueDict { @@ -142333,7 +142333,7 @@ @implementation DBTEAMLOGSfAllowNonMembersToViewSharedLinksTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSfAllowNonMembersToViewSharedLinksType *)deserialize:(NSDictionary *)valueDict { @@ -142474,7 +142474,7 @@ @implementation DBTEAMLOGSfExternalInviteWarnDetailsSerializer jsonDict[@"previous_sharing_permission"] = valueObj.previousSharingPermission; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSfExternalInviteWarnDetails *)deserialize:(NSDictionary *)valueDict { @@ -142579,7 +142579,7 @@ @implementation DBTEAMLOGSfExternalInviteWarnTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSfExternalInviteWarnType *)deserialize:(NSDictionary *)valueDict { @@ -142720,7 +142720,7 @@ @implementation DBTEAMLOGSfFbInviteChangeRoleDetailsSerializer jsonDict[@"new_sharing_permission"] = valueObj.dNewSharingPermission; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSfFbInviteChangeRoleDetails *)deserialize:(NSDictionary *)valueDict { @@ -142825,7 +142825,7 @@ @implementation DBTEAMLOGSfFbInviteChangeRoleTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSfFbInviteChangeRoleType *)deserialize:(NSDictionary *)valueDict { @@ -142950,7 +142950,7 @@ @implementation DBTEAMLOGSfFbInviteDetailsSerializer jsonDict[@"sharing_permission"] = valueObj.sharingPermission; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSfFbInviteDetails *)deserialize:(NSDictionary *)valueDict { @@ -143053,7 +143053,7 @@ @implementation DBTEAMLOGSfFbInviteTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSfFbInviteType *)deserialize:(NSDictionary *)valueDict { @@ -143160,7 +143160,7 @@ @implementation DBTEAMLOGSfFbUninviteDetailsSerializer jsonDict[@"target_asset_index"] = valueObj.targetAssetIndex; jsonDict[@"original_folder_name"] = valueObj.originalFolderName; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSfFbUninviteDetails *)deserialize:(NSDictionary *)valueDict { @@ -143261,7 +143261,7 @@ @implementation DBTEAMLOGSfFbUninviteTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSfFbUninviteType *)deserialize:(NSDictionary *)valueDict { @@ -143360,7 +143360,7 @@ @implementation DBTEAMLOGSfInviteGroupDetailsSerializer jsonDict[@"target_asset_index"] = valueObj.targetAssetIndex; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSfInviteGroupDetails *)deserialize:(NSDictionary *)valueDict { @@ -143459,7 +143459,7 @@ @implementation DBTEAMLOGSfInviteGroupTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSfInviteGroupType *)deserialize:(NSDictionary *)valueDict { @@ -143566,7 +143566,7 @@ @implementation DBTEAMLOGSfTeamGrantAccessDetailsSerializer jsonDict[@"target_asset_index"] = valueObj.targetAssetIndex; jsonDict[@"original_folder_name"] = valueObj.originalFolderName; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSfTeamGrantAccessDetails *)deserialize:(NSDictionary *)valueDict { @@ -143667,7 +143667,7 @@ @implementation DBTEAMLOGSfTeamGrantAccessTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSfTeamGrantAccessType *)deserialize:(NSDictionary *)valueDict { @@ -143809,7 +143809,7 @@ @implementation DBTEAMLOGSfTeamInviteChangeRoleDetailsSerializer jsonDict[@"previous_sharing_permission"] = valueObj.previousSharingPermission; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSfTeamInviteChangeRoleDetails *)deserialize:(NSDictionary *)valueDict { @@ -143914,7 +143914,7 @@ @implementation DBTEAMLOGSfTeamInviteChangeRoleTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSfTeamInviteChangeRoleType *)deserialize:(NSDictionary *)valueDict { @@ -144039,7 +144039,7 @@ @implementation DBTEAMLOGSfTeamInviteDetailsSerializer jsonDict[@"sharing_permission"] = valueObj.sharingPermission; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSfTeamInviteDetails *)deserialize:(NSDictionary *)valueDict { @@ -144142,7 +144142,7 @@ @implementation DBTEAMLOGSfTeamInviteTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSfTeamInviteType *)deserialize:(NSDictionary *)valueDict { @@ -144249,7 +144249,7 @@ @implementation DBTEAMLOGSfTeamJoinDetailsSerializer jsonDict[@"target_asset_index"] = valueObj.targetAssetIndex; jsonDict[@"original_folder_name"] = valueObj.originalFolderName; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSfTeamJoinDetails *)deserialize:(NSDictionary *)valueDict { @@ -144392,7 +144392,7 @@ @implementation DBTEAMLOGSfTeamJoinFromOobLinkDetailsSerializer jsonDict[@"sharing_permission"] = valueObj.sharingPermission; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSfTeamJoinFromOobLinkDetails *)deserialize:(NSDictionary *)valueDict { @@ -144497,7 +144497,7 @@ @implementation DBTEAMLOGSfTeamJoinFromOobLinkTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSfTeamJoinFromOobLinkType *)deserialize:(NSDictionary *)valueDict { @@ -144596,7 +144596,7 @@ @implementation DBTEAMLOGSfTeamJoinTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSfTeamJoinType *)deserialize:(NSDictionary *)valueDict { @@ -144703,7 +144703,7 @@ @implementation DBTEAMLOGSfTeamUninviteDetailsSerializer jsonDict[@"target_asset_index"] = valueObj.targetAssetIndex; jsonDict[@"original_folder_name"] = valueObj.originalFolderName; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSfTeamUninviteDetails *)deserialize:(NSDictionary *)valueDict { @@ -144804,7 +144804,7 @@ @implementation DBTEAMLOGSfTeamUninviteTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSfTeamUninviteType *)deserialize:(NSDictionary *)valueDict { @@ -144924,7 +144924,7 @@ @implementation DBTEAMLOGSharedContentAddInviteesDetailsSerializer return elem0; }]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSharedContentAddInviteesDetails *)deserialize:(NSDictionary *)valueDict { @@ -145029,7 +145029,7 @@ @implementation DBTEAMLOGSharedContentAddInviteesTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSharedContentAddInviteesType *)deserialize:(NSDictionary *)valueDict { @@ -145138,7 +145138,7 @@ @implementation DBTEAMLOGSharedContentAddLinkExpiryDetailsSerializer jsonDict[@"new_value"] = [DBNSDateSerializer serialize:valueObj.dNewValue dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSharedContentAddLinkExpiryDetails *)deserialize:(NSDictionary *)valueDict { @@ -145240,7 +145240,7 @@ @implementation DBTEAMLOGSharedContentAddLinkExpiryTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSharedContentAddLinkExpiryType *)deserialize:(NSDictionary *)valueDict { @@ -145332,7 +145332,7 @@ @implementation DBTEAMLOGSharedContentAddLinkPasswordDetailsSerializer #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSharedContentAddLinkPasswordDetails *)deserialize:(NSDictionary *)valueDict { @@ -145432,7 +145432,7 @@ @implementation DBTEAMLOGSharedContentAddLinkPasswordTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSharedContentAddLinkPasswordType *)deserialize:(NSDictionary *)valueDict { @@ -145534,7 +145534,7 @@ @implementation DBTEAMLOGSharedContentAddMemberDetailsSerializer jsonDict[@"shared_content_access_level"] = [DBSHARINGAccessLevelSerializer serialize:valueObj.sharedContentAccessLevel]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSharedContentAddMemberDetails *)deserialize:(NSDictionary *)valueDict { @@ -145634,7 +145634,7 @@ @implementation DBTEAMLOGSharedContentAddMemberTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSharedContentAddMemberType *)deserialize:(NSDictionary *)valueDict { @@ -145752,7 +145752,7 @@ @implementation DBTEAMLOGSharedContentChangeDownloadsPolicyDetailsSerializer jsonDict[@"previous_value"] = [DBTEAMLOGDownloadPolicyTypeSerializer serialize:valueObj.previousValue]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSharedContentChangeDownloadsPolicyDetails *)deserialize:(NSDictionary *)valueDict { @@ -145856,7 +145856,7 @@ @implementation DBTEAMLOGSharedContentChangeDownloadsPolicyTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSharedContentChangeDownloadsPolicyType *)deserialize:(NSDictionary *)valueDict { @@ -145982,7 +145982,7 @@ @implementation DBTEAMLOGSharedContentChangeInviteeRoleDetailsSerializer jsonDict[@"previous_access_level"] = [DBSHARINGAccessLevelSerializer serialize:valueObj.previousAccessLevel]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSharedContentChangeInviteeRoleDetails *)deserialize:(NSDictionary *)valueDict { @@ -146089,7 +146089,7 @@ @implementation DBTEAMLOGSharedContentChangeInviteeRoleTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSharedContentChangeInviteeRoleType *)deserialize:(NSDictionary *)valueDict { @@ -146207,7 +146207,7 @@ @implementation DBTEAMLOGSharedContentChangeLinkAudienceDetailsSerializer jsonDict[@"previous_value"] = [DBSHARINGLinkAudienceSerializer serialize:valueObj.previousValue]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSharedContentChangeLinkAudienceDetails *)deserialize:(NSDictionary *)valueDict { @@ -146310,7 +146310,7 @@ @implementation DBTEAMLOGSharedContentChangeLinkAudienceTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSharedContentChangeLinkAudienceType *)deserialize:(NSDictionary *)valueDict { @@ -146432,7 +146432,7 @@ @implementation DBTEAMLOGSharedContentChangeLinkExpiryDetailsSerializer [DBNSDateSerializer serialize:valueObj.previousValue dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSharedContentChangeLinkExpiryDetails *)deserialize:(NSDictionary *)valueDict { @@ -146538,7 +146538,7 @@ @implementation DBTEAMLOGSharedContentChangeLinkExpiryTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSharedContentChangeLinkExpiryType *)deserialize:(NSDictionary *)valueDict { @@ -146630,7 +146630,7 @@ @implementation DBTEAMLOGSharedContentChangeLinkPasswordDetailsSerializer #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSharedContentChangeLinkPasswordDetails *)deserialize:(NSDictionary *)valueDict { @@ -146730,7 +146730,7 @@ @implementation DBTEAMLOGSharedContentChangeLinkPasswordTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSharedContentChangeLinkPasswordType *)deserialize:(NSDictionary *)valueDict { @@ -146848,7 +146848,7 @@ @implementation DBTEAMLOGSharedContentChangeMemberRoleDetailsSerializer jsonDict[@"previous_access_level"] = [DBSHARINGAccessLevelSerializer serialize:valueObj.previousAccessLevel]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSharedContentChangeMemberRoleDetails *)deserialize:(NSDictionary *)valueDict { @@ -146953,7 +146953,7 @@ @implementation DBTEAMLOGSharedContentChangeMemberRoleTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSharedContentChangeMemberRoleType *)deserialize:(NSDictionary *)valueDict { @@ -147071,7 +147071,7 @@ @implementation DBTEAMLOGSharedContentChangeViewerInfoPolicyDetailsSerializer jsonDict[@"previous_value"] = [DBSHARINGViewerInfoPolicySerializer serialize:valueObj.previousValue]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSharedContentChangeViewerInfoPolicyDetails *)deserialize:(NSDictionary *)valueDict { @@ -147175,7 +147175,7 @@ @implementation DBTEAMLOGSharedContentChangeViewerInfoPolicyTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSharedContentChangeViewerInfoPolicyType *)deserialize:(NSDictionary *)valueDict { @@ -147284,7 +147284,7 @@ @implementation DBTEAMLOGSharedContentClaimInvitationDetailsSerializer jsonDict[@"shared_content_link"] = valueObj.sharedContentLink; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSharedContentClaimInvitationDetails *)deserialize:(NSDictionary *)valueDict { @@ -147384,7 +147384,7 @@ @implementation DBTEAMLOGSharedContentClaimInvitationTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSharedContentClaimInvitationType *)deserialize:(NSDictionary *)valueDict { @@ -147524,7 +147524,7 @@ @implementation DBTEAMLOGSharedContentCopyDetailsSerializer jsonDict[@"shared_content_owner"] = [DBTEAMLOGUserLogInfoSerializer serialize:valueObj.sharedContentOwner]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSharedContentCopyDetails *)deserialize:(NSDictionary *)valueDict { @@ -147633,7 +147633,7 @@ @implementation DBTEAMLOGSharedContentCopyTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSharedContentCopyType *)deserialize:(NSDictionary *)valueDict { @@ -147763,7 +147763,7 @@ @implementation DBTEAMLOGSharedContentDownloadDetailsSerializer jsonDict[@"shared_content_owner"] = [DBTEAMLOGUserLogInfoSerializer serialize:valueObj.sharedContentOwner]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSharedContentDownloadDetails *)deserialize:(NSDictionary *)valueDict { @@ -147870,7 +147870,7 @@ @implementation DBTEAMLOGSharedContentDownloadTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSharedContentDownloadType *)deserialize:(NSDictionary *)valueDict { @@ -147962,7 +147962,7 @@ @implementation DBTEAMLOGSharedContentRelinquishMembershipDetailsSerializer #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSharedContentRelinquishMembershipDetails *)deserialize:(NSDictionary *)valueDict { @@ -148062,7 +148062,7 @@ @implementation DBTEAMLOGSharedContentRelinquishMembershipTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSharedContentRelinquishMembershipType *)deserialize:(NSDictionary *)valueDict { @@ -148172,7 +148172,7 @@ @implementation DBTEAMLOGSharedContentRemoveInviteesDetailsSerializer return elem0; }]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSharedContentRemoveInviteesDetails *)deserialize:(NSDictionary *)valueDict { @@ -148275,7 +148275,7 @@ @implementation DBTEAMLOGSharedContentRemoveInviteesTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSharedContentRemoveInviteesType *)deserialize:(NSDictionary *)valueDict { @@ -148385,7 +148385,7 @@ @implementation DBTEAMLOGSharedContentRemoveLinkExpiryDetailsSerializer [DBNSDateSerializer serialize:valueObj.previousValue dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSharedContentRemoveLinkExpiryDetails *)deserialize:(NSDictionary *)valueDict { @@ -148487,7 +148487,7 @@ @implementation DBTEAMLOGSharedContentRemoveLinkExpiryTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSharedContentRemoveLinkExpiryType *)deserialize:(NSDictionary *)valueDict { @@ -148579,7 +148579,7 @@ @implementation DBTEAMLOGSharedContentRemoveLinkPasswordDetailsSerializer #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSharedContentRemoveLinkPasswordDetails *)deserialize:(NSDictionary *)valueDict { @@ -148679,7 +148679,7 @@ @implementation DBTEAMLOGSharedContentRemoveLinkPasswordTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSharedContentRemoveLinkPasswordType *)deserialize:(NSDictionary *)valueDict { @@ -148790,7 +148790,7 @@ @implementation DBTEAMLOGSharedContentRemoveMemberDetailsSerializer [DBSHARINGAccessLevelSerializer serialize:valueObj.sharedContentAccessLevel]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSharedContentRemoveMemberDetails *)deserialize:(NSDictionary *)valueDict { @@ -148893,7 +148893,7 @@ @implementation DBTEAMLOGSharedContentRemoveMemberTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSharedContentRemoveMemberType *)deserialize:(NSDictionary *)valueDict { @@ -149002,7 +149002,7 @@ @implementation DBTEAMLOGSharedContentRequestAccessDetailsSerializer jsonDict[@"shared_content_link"] = valueObj.sharedContentLink; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSharedContentRequestAccessDetails *)deserialize:(NSDictionary *)valueDict { @@ -149102,7 +149102,7 @@ @implementation DBTEAMLOGSharedContentRequestAccessTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSharedContentRequestAccessType *)deserialize:(NSDictionary *)valueDict { @@ -149222,7 +149222,7 @@ @implementation DBTEAMLOGSharedContentRestoreInviteesDetailsSerializer return elem0; }]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSharedContentRestoreInviteesDetails *)deserialize:(NSDictionary *)valueDict { @@ -149328,7 +149328,7 @@ @implementation DBTEAMLOGSharedContentRestoreInviteesTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSharedContentRestoreInviteesType *)deserialize:(NSDictionary *)valueDict { @@ -149430,7 +149430,7 @@ @implementation DBTEAMLOGSharedContentRestoreMemberDetailsSerializer jsonDict[@"shared_content_access_level"] = [DBSHARINGAccessLevelSerializer serialize:valueObj.sharedContentAccessLevel]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSharedContentRestoreMemberDetails *)deserialize:(NSDictionary *)valueDict { @@ -149531,7 +149531,7 @@ @implementation DBTEAMLOGSharedContentRestoreMemberTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSharedContentRestoreMemberType *)deserialize:(NSDictionary *)valueDict { @@ -149622,7 +149622,7 @@ @implementation DBTEAMLOGSharedContentUnshareDetailsSerializer #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSharedContentUnshareDetails *)deserialize:(NSDictionary *)valueDict { @@ -149721,7 +149721,7 @@ @implementation DBTEAMLOGSharedContentUnshareTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSharedContentUnshareType *)deserialize:(NSDictionary *)valueDict { @@ -149851,7 +149851,7 @@ @implementation DBTEAMLOGSharedContentViewDetailsSerializer jsonDict[@"shared_content_owner"] = [DBTEAMLOGUserLogInfoSerializer serialize:valueObj.sharedContentOwner]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSharedContentViewDetails *)deserialize:(NSDictionary *)valueDict { @@ -149958,7 +149958,7 @@ @implementation DBTEAMLOGSharedContentViewTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSharedContentViewType *)deserialize:(NSDictionary *)valueDict { @@ -150076,7 +150076,7 @@ @implementation DBTEAMLOGSharedFolderChangeLinkPolicyDetailsSerializer jsonDict[@"previous_value"] = [DBSHARINGSharedLinkPolicySerializer serialize:valueObj.previousValue]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSharedFolderChangeLinkPolicyDetails *)deserialize:(NSDictionary *)valueDict { @@ -150179,7 +150179,7 @@ @implementation DBTEAMLOGSharedFolderChangeLinkPolicyTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSharedFolderChangeLinkPolicyType *)deserialize:(NSDictionary *)valueDict { @@ -150298,7 +150298,7 @@ @implementation DBTEAMLOGSharedFolderChangeMembersInheritancePolicyDetailsSerial [DBTEAMLOGSharedFolderMembersInheritancePolicySerializer serialize:valueObj.previousValue]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSharedFolderChangeMembersInheritancePolicyDetails *)deserialize:(NSDictionary *)valueDict { @@ -150404,7 +150404,7 @@ @implementation DBTEAMLOGSharedFolderChangeMembersInheritancePolicyTypeSerialize jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSharedFolderChangeMembersInheritancePolicyType *)deserialize:(NSDictionary *)valueDict { @@ -150522,7 +150522,7 @@ @implementation DBTEAMLOGSharedFolderChangeMembersManagementPolicyDetailsSeriali jsonDict[@"previous_value"] = [DBSHARINGAclUpdatePolicySerializer serialize:valueObj.previousValue]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSharedFolderChangeMembersManagementPolicyDetails *)deserialize:(NSDictionary *)valueDict { @@ -150626,7 +150626,7 @@ @implementation DBTEAMLOGSharedFolderChangeMembersManagementPolicyTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSharedFolderChangeMembersManagementPolicyType *)deserialize:(NSDictionary *)valueDict { @@ -150744,7 +150744,7 @@ @implementation DBTEAMLOGSharedFolderChangeMembersPolicyDetailsSerializer jsonDict[@"previous_value"] = [DBSHARINGMemberPolicySerializer serialize:valueObj.previousValue]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSharedFolderChangeMembersPolicyDetails *)deserialize:(NSDictionary *)valueDict { @@ -150847,7 +150847,7 @@ @implementation DBTEAMLOGSharedFolderChangeMembersPolicyTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSharedFolderChangeMembersPolicyType *)deserialize:(NSDictionary *)valueDict { @@ -150955,7 +150955,7 @@ @implementation DBTEAMLOGSharedFolderCreateDetailsSerializer jsonDict[@"target_ns_id"] = valueObj.targetNsId; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSharedFolderCreateDetails *)deserialize:(NSDictionary *)valueDict { @@ -151054,7 +151054,7 @@ @implementation DBTEAMLOGSharedFolderCreateTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSharedFolderCreateType *)deserialize:(NSDictionary *)valueDict { @@ -151146,7 +151146,7 @@ @implementation DBTEAMLOGSharedFolderDeclineInvitationDetailsSerializer #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSharedFolderDeclineInvitationDetails *)deserialize:(NSDictionary *)valueDict { @@ -151246,7 +151246,7 @@ @implementation DBTEAMLOGSharedFolderDeclineInvitationTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSharedFolderDeclineInvitationType *)deserialize:(NSDictionary *)valueDict { @@ -151415,7 +151415,7 @@ @implementation DBTEAMLOGSharedFolderMembersInheritancePolicySerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSharedFolderMembersInheritancePolicy *)deserialize:(NSDictionary *)valueDict { @@ -151514,7 +151514,7 @@ @implementation DBTEAMLOGSharedFolderMountDetailsSerializer #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSharedFolderMountDetails *)deserialize:(NSDictionary *)valueDict { @@ -151613,7 +151613,7 @@ @implementation DBTEAMLOGSharedFolderMountTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSharedFolderMountType *)deserialize:(NSDictionary *)valueDict { @@ -151760,7 +151760,7 @@ @implementation DBTEAMLOGSharedFolderNestDetailsSerializer jsonDict[@"new_ns_path"] = valueObj.dNewNsPath; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSharedFolderNestDetails *)deserialize:(NSDictionary *)valueDict { @@ -151865,7 +151865,7 @@ @implementation DBTEAMLOGSharedFolderNestTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSharedFolderNestType *)deserialize:(NSDictionary *)valueDict { @@ -151984,7 +151984,7 @@ @implementation DBTEAMLOGSharedFolderTransferOwnershipDetailsSerializer jsonDict[@"previous_owner_email"] = valueObj.previousOwnerEmail; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSharedFolderTransferOwnershipDetails *)deserialize:(NSDictionary *)valueDict { @@ -152086,7 +152086,7 @@ @implementation DBTEAMLOGSharedFolderTransferOwnershipTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSharedFolderTransferOwnershipType *)deserialize:(NSDictionary *)valueDict { @@ -152177,7 +152177,7 @@ @implementation DBTEAMLOGSharedFolderUnmountDetailsSerializer #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSharedFolderUnmountDetails *)deserialize:(NSDictionary *)valueDict { @@ -152276,7 +152276,7 @@ @implementation DBTEAMLOGSharedFolderUnmountTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSharedFolderUnmountType *)deserialize:(NSDictionary *)valueDict { @@ -152465,7 +152465,7 @@ @implementation DBTEAMLOGSharedLinkAccessLevelSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSharedLinkAccessLevel *)deserialize:(NSDictionary *)valueDict { @@ -152574,7 +152574,7 @@ @implementation DBTEAMLOGSharedLinkAddExpiryDetailsSerializer jsonDict[@"new_value"] = [DBNSDateSerializer serialize:valueObj.dNewValue dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSharedLinkAddExpiryDetails *)deserialize:(NSDictionary *)valueDict { @@ -152673,7 +152673,7 @@ @implementation DBTEAMLOGSharedLinkAddExpiryTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSharedLinkAddExpiryType *)deserialize:(NSDictionary *)valueDict { @@ -152795,7 +152795,7 @@ @implementation DBTEAMLOGSharedLinkChangeExpiryDetailsSerializer [DBNSDateSerializer serialize:valueObj.previousValue dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSharedLinkChangeExpiryDetails *)deserialize:(NSDictionary *)valueDict { @@ -152899,7 +152899,7 @@ @implementation DBTEAMLOGSharedLinkChangeExpiryTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSharedLinkChangeExpiryType *)deserialize:(NSDictionary *)valueDict { @@ -153017,7 +153017,7 @@ @implementation DBTEAMLOGSharedLinkChangeVisibilityDetailsSerializer jsonDict[@"previous_value"] = [DBTEAMLOGSharedLinkVisibilitySerializer serialize:valueObj.previousValue]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSharedLinkChangeVisibilityDetails *)deserialize:(NSDictionary *)valueDict { @@ -153121,7 +153121,7 @@ @implementation DBTEAMLOGSharedLinkChangeVisibilityTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSharedLinkChangeVisibilityType *)deserialize:(NSDictionary *)valueDict { @@ -153230,7 +153230,7 @@ @implementation DBTEAMLOGSharedLinkCopyDetailsSerializer jsonDict[@"shared_link_owner"] = [DBTEAMLOGUserLogInfoSerializer serialize:valueObj.sharedLinkOwner]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSharedLinkCopyDetails *)deserialize:(NSDictionary *)valueDict { @@ -153331,7 +153331,7 @@ @implementation DBTEAMLOGSharedLinkCopyTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSharedLinkCopyType *)deserialize:(NSDictionary *)valueDict { @@ -153441,7 +153441,7 @@ @implementation DBTEAMLOGSharedLinkCreateDetailsSerializer [DBTEAMLOGSharedLinkAccessLevelSerializer serialize:valueObj.sharedLinkAccessLevel]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSharedLinkCreateDetails *)deserialize:(NSDictionary *)valueDict { @@ -153543,7 +153543,7 @@ @implementation DBTEAMLOGSharedLinkCreateTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSharedLinkCreateType *)deserialize:(NSDictionary *)valueDict { @@ -153652,7 +153652,7 @@ @implementation DBTEAMLOGSharedLinkDisableDetailsSerializer jsonDict[@"shared_link_owner"] = [DBTEAMLOGUserLogInfoSerializer serialize:valueObj.sharedLinkOwner]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSharedLinkDisableDetails *)deserialize:(NSDictionary *)valueDict { @@ -153753,7 +153753,7 @@ @implementation DBTEAMLOGSharedLinkDisableTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSharedLinkDisableType *)deserialize:(NSDictionary *)valueDict { @@ -153862,7 +153862,7 @@ @implementation DBTEAMLOGSharedLinkDownloadDetailsSerializer jsonDict[@"shared_link_owner"] = [DBTEAMLOGUserLogInfoSerializer serialize:valueObj.sharedLinkOwner]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSharedLinkDownloadDetails *)deserialize:(NSDictionary *)valueDict { @@ -153963,7 +153963,7 @@ @implementation DBTEAMLOGSharedLinkDownloadTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSharedLinkDownloadType *)deserialize:(NSDictionary *)valueDict { @@ -154073,7 +154073,7 @@ @implementation DBTEAMLOGSharedLinkRemoveExpiryDetailsSerializer [DBNSDateSerializer serialize:valueObj.previousValue dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSharedLinkRemoveExpiryDetails *)deserialize:(NSDictionary *)valueDict { @@ -154174,7 +154174,7 @@ @implementation DBTEAMLOGSharedLinkRemoveExpiryTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSharedLinkRemoveExpiryType *)deserialize:(NSDictionary *)valueDict { @@ -154306,7 +154306,7 @@ @implementation DBTEAMLOGSharedLinkSettingsAddExpirationDetailsSerializer jsonDict[@"new_value"] = [DBNSDateSerializer serialize:valueObj.dNewValue dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSharedLinkSettingsAddExpirationDetails *)deserialize:(NSDictionary *)valueDict { @@ -154414,7 +154414,7 @@ @implementation DBTEAMLOGSharedLinkSettingsAddExpirationTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSharedLinkSettingsAddExpirationType *)deserialize:(NSDictionary *)valueDict { @@ -154533,7 +154533,7 @@ @implementation DBTEAMLOGSharedLinkSettingsAddPasswordDetailsSerializer jsonDict[@"shared_content_link"] = valueObj.sharedContentLink; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSharedLinkSettingsAddPasswordDetails *)deserialize:(NSDictionary *)valueDict { @@ -154637,7 +154637,7 @@ @implementation DBTEAMLOGSharedLinkSettingsAddPasswordTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSharedLinkSettingsAddPasswordType *)deserialize:(NSDictionary *)valueDict { @@ -154757,7 +154757,7 @@ @implementation DBTEAMLOGSharedLinkSettingsAllowDownloadDisabledDetailsSerialize jsonDict[@"shared_content_link"] = valueObj.sharedContentLink; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSharedLinkSettingsAllowDownloadDisabledDetails *)deserialize:(NSDictionary *)valueDict { @@ -154861,7 +154861,7 @@ @implementation DBTEAMLOGSharedLinkSettingsAllowDownloadDisabledTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSharedLinkSettingsAllowDownloadDisabledType *)deserialize:(NSDictionary *)valueDict { @@ -154981,7 +154981,7 @@ @implementation DBTEAMLOGSharedLinkSettingsAllowDownloadEnabledDetailsSerializer jsonDict[@"shared_content_link"] = valueObj.sharedContentLink; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSharedLinkSettingsAllowDownloadEnabledDetails *)deserialize:(NSDictionary *)valueDict { @@ -155085,7 +155085,7 @@ @implementation DBTEAMLOGSharedLinkSettingsAllowDownloadEnabledTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSharedLinkSettingsAllowDownloadEnabledType *)deserialize:(NSDictionary *)valueDict { @@ -155230,7 +155230,7 @@ @implementation DBTEAMLOGSharedLinkSettingsChangeAudienceDetailsSerializer jsonDict[@"previous_value"] = [DBSHARINGLinkAudienceSerializer serialize:valueObj.previousValue]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSharedLinkSettingsChangeAudienceDetails *)deserialize:(NSDictionary *)valueDict { @@ -155339,7 +155339,7 @@ @implementation DBTEAMLOGSharedLinkSettingsChangeAudienceTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSharedLinkSettingsChangeAudienceType *)deserialize:(NSDictionary *)valueDict { @@ -155488,7 +155488,7 @@ @implementation DBTEAMLOGSharedLinkSettingsChangeExpirationDetailsSerializer [DBNSDateSerializer serialize:valueObj.previousValue dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSharedLinkSettingsChangeExpirationDetails *)deserialize:(NSDictionary *)valueDict { @@ -155600,7 +155600,7 @@ @implementation DBTEAMLOGSharedLinkSettingsChangeExpirationTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSharedLinkSettingsChangeExpirationType *)deserialize:(NSDictionary *)valueDict { @@ -155719,7 +155719,7 @@ @implementation DBTEAMLOGSharedLinkSettingsChangePasswordDetailsSerializer jsonDict[@"shared_content_link"] = valueObj.sharedContentLink; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSharedLinkSettingsChangePasswordDetails *)deserialize:(NSDictionary *)valueDict { @@ -155823,7 +155823,7 @@ @implementation DBTEAMLOGSharedLinkSettingsChangePasswordTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSharedLinkSettingsChangePasswordType *)deserialize:(NSDictionary *)valueDict { @@ -155956,7 +155956,7 @@ @implementation DBTEAMLOGSharedLinkSettingsRemoveExpirationDetailsSerializer [DBNSDateSerializer serialize:valueObj.previousValue dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSharedLinkSettingsRemoveExpirationDetails *)deserialize:(NSDictionary *)valueDict { @@ -156064,7 +156064,7 @@ @implementation DBTEAMLOGSharedLinkSettingsRemoveExpirationTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSharedLinkSettingsRemoveExpirationType *)deserialize:(NSDictionary *)valueDict { @@ -156183,7 +156183,7 @@ @implementation DBTEAMLOGSharedLinkSettingsRemovePasswordDetailsSerializer jsonDict[@"shared_content_link"] = valueObj.sharedContentLink; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSharedLinkSettingsRemovePasswordDetails *)deserialize:(NSDictionary *)valueDict { @@ -156287,7 +156287,7 @@ @implementation DBTEAMLOGSharedLinkSettingsRemovePasswordTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSharedLinkSettingsRemovePasswordType *)deserialize:(NSDictionary *)valueDict { @@ -156417,7 +156417,7 @@ @implementation DBTEAMLOGSharedLinkShareDetailsSerializer }]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSharedLinkShareDetails *)deserialize:(NSDictionary *)valueDict { @@ -156525,7 +156525,7 @@ @implementation DBTEAMLOGSharedLinkShareTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSharedLinkShareType *)deserialize:(NSDictionary *)valueDict { @@ -156634,7 +156634,7 @@ @implementation DBTEAMLOGSharedLinkViewDetailsSerializer jsonDict[@"shared_link_owner"] = [DBTEAMLOGUserLogInfoSerializer serialize:valueObj.sharedLinkOwner]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSharedLinkViewDetails *)deserialize:(NSDictionary *)valueDict { @@ -156735,7 +156735,7 @@ @implementation DBTEAMLOGSharedLinkViewTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSharedLinkViewType *)deserialize:(NSDictionary *)valueDict { @@ -156945,7 +156945,7 @@ @implementation DBTEAMLOGSharedLinkVisibilitySerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSharedLinkVisibility *)deserialize:(NSDictionary *)valueDict { @@ -157048,7 +157048,7 @@ @implementation DBTEAMLOGSharedNoteOpenedDetailsSerializer #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSharedNoteOpenedDetails *)deserialize:(NSDictionary *)valueDict { @@ -157147,7 +157147,7 @@ @implementation DBTEAMLOGSharedNoteOpenedTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSharedNoteOpenedType *)deserialize:(NSDictionary *)valueDict { @@ -157265,7 +157265,7 @@ @implementation DBTEAMLOGSharingChangeFolderJoinPolicyDetailsSerializer jsonDict[@"previous_value"] = [DBTEAMLOGSharingFolderJoinPolicySerializer serialize:valueObj.previousValue]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSharingChangeFolderJoinPolicyDetails *)deserialize:(NSDictionary *)valueDict { @@ -157371,7 +157371,7 @@ @implementation DBTEAMLOGSharingChangeFolderJoinPolicyTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSharingChangeFolderJoinPolicyType *)deserialize:(NSDictionary *)valueDict { @@ -157490,7 +157490,7 @@ @implementation DBTEAMLOGSharingChangeLinkAllowChangeExpirationPolicyDetailsSeri jsonDict[@"previous_value"] = [DBTEAMLOGEnforceLinkPasswordPolicySerializer serialize:valueObj.previousValue]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSharingChangeLinkAllowChangeExpirationPolicyDetails *)deserialize: @@ -157597,7 +157597,7 @@ @implementation DBTEAMLOGSharingChangeLinkAllowChangeExpirationPolicyTypeSeriali jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSharingChangeLinkAllowChangeExpirationPolicyType *)deserialize:(NSDictionary *)valueDict { @@ -157715,7 +157715,7 @@ @implementation DBTEAMLOGSharingChangeLinkDefaultExpirationPolicyDetailsSerializ jsonDict[@"previous_value"] = [DBTEAMLOGDefaultLinkExpirationDaysPolicySerializer serialize:valueObj.previousValue]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSharingChangeLinkDefaultExpirationPolicyDetails *)deserialize:(NSDictionary *)valueDict { @@ -157821,7 +157821,7 @@ @implementation DBTEAMLOGSharingChangeLinkDefaultExpirationPolicyTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSharingChangeLinkDefaultExpirationPolicyType *)deserialize:(NSDictionary *)valueDict { @@ -157939,7 +157939,7 @@ @implementation DBTEAMLOGSharingChangeLinkEnforcePasswordPolicyDetailsSerializer jsonDict[@"previous_value"] = [DBTEAMLOGChangeLinkExpirationPolicySerializer serialize:valueObj.previousValue]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSharingChangeLinkEnforcePasswordPolicyDetails *)deserialize:(NSDictionary *)valueDict { @@ -158045,7 +158045,7 @@ @implementation DBTEAMLOGSharingChangeLinkEnforcePasswordPolicyTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSharingChangeLinkEnforcePasswordPolicyType *)deserialize:(NSDictionary *)valueDict { @@ -158163,7 +158163,7 @@ @implementation DBTEAMLOGSharingChangeLinkPolicyDetailsSerializer jsonDict[@"previous_value"] = [DBTEAMLOGSharingLinkPolicySerializer serialize:valueObj.previousValue]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSharingChangeLinkPolicyDetails *)deserialize:(NSDictionary *)valueDict { @@ -158265,7 +158265,7 @@ @implementation DBTEAMLOGSharingChangeLinkPolicyTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSharingChangeLinkPolicyType *)deserialize:(NSDictionary *)valueDict { @@ -158383,7 +158383,7 @@ @implementation DBTEAMLOGSharingChangeMemberPolicyDetailsSerializer jsonDict[@"previous_value"] = [DBTEAMLOGSharingMemberPolicySerializer serialize:valueObj.previousValue]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSharingChangeMemberPolicyDetails *)deserialize:(NSDictionary *)valueDict { @@ -158487,7 +158487,7 @@ @implementation DBTEAMLOGSharingChangeMemberPolicyTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSharingChangeMemberPolicyType *)deserialize:(NSDictionary *)valueDict { @@ -158655,7 +158655,7 @@ @implementation DBTEAMLOGSharingFolderJoinPolicySerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSharingFolderJoinPolicy *)deserialize:(NSDictionary *)valueDict { @@ -158873,7 +158873,7 @@ @implementation DBTEAMLOGSharingLinkPolicySerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSharingLinkPolicy *)deserialize:(NSDictionary *)valueDict { @@ -159074,7 +159074,7 @@ @implementation DBTEAMLOGSharingMemberPolicySerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSharingMemberPolicy *)deserialize:(NSDictionary *)valueDict { @@ -159194,7 +159194,7 @@ @implementation DBTEAMLOGShmodelDisableDownloadsDetailsSerializer jsonDict[@"shared_link_owner"] = [DBTEAMLOGUserLogInfoSerializer serialize:valueObj.sharedLinkOwner]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGShmodelDisableDownloadsDetails *)deserialize:(NSDictionary *)valueDict { @@ -159295,7 +159295,7 @@ @implementation DBTEAMLOGShmodelDisableDownloadsTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGShmodelDisableDownloadsType *)deserialize:(NSDictionary *)valueDict { @@ -159405,7 +159405,7 @@ @implementation DBTEAMLOGShmodelEnableDownloadsDetailsSerializer jsonDict[@"shared_link_owner"] = [DBTEAMLOGUserLogInfoSerializer serialize:valueObj.sharedLinkOwner]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGShmodelEnableDownloadsDetails *)deserialize:(NSDictionary *)valueDict { @@ -159506,7 +159506,7 @@ @implementation DBTEAMLOGShmodelEnableDownloadsTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGShmodelEnableDownloadsType *)deserialize:(NSDictionary *)valueDict { @@ -159597,7 +159597,7 @@ @implementation DBTEAMLOGShmodelGroupShareDetailsSerializer #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGShmodelGroupShareDetails *)deserialize:(NSDictionary *)valueDict { @@ -159696,7 +159696,7 @@ @implementation DBTEAMLOGShmodelGroupShareTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGShmodelGroupShareType *)deserialize:(NSDictionary *)valueDict { @@ -159795,7 +159795,7 @@ @implementation DBTEAMLOGShowcaseAccessGrantedDetailsSerializer jsonDict[@"event_uuid"] = valueObj.eventUuid; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGShowcaseAccessGrantedDetails *)deserialize:(NSDictionary *)valueDict { @@ -159894,7 +159894,7 @@ @implementation DBTEAMLOGShowcaseAccessGrantedTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGShowcaseAccessGrantedType *)deserialize:(NSDictionary *)valueDict { @@ -159993,7 +159993,7 @@ @implementation DBTEAMLOGShowcaseAddMemberDetailsSerializer jsonDict[@"event_uuid"] = valueObj.eventUuid; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGShowcaseAddMemberDetails *)deserialize:(NSDictionary *)valueDict { @@ -160092,7 +160092,7 @@ @implementation DBTEAMLOGShowcaseAddMemberTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGShowcaseAddMemberType *)deserialize:(NSDictionary *)valueDict { @@ -160191,7 +160191,7 @@ @implementation DBTEAMLOGShowcaseArchivedDetailsSerializer jsonDict[@"event_uuid"] = valueObj.eventUuid; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGShowcaseArchivedDetails *)deserialize:(NSDictionary *)valueDict { @@ -160290,7 +160290,7 @@ @implementation DBTEAMLOGShowcaseArchivedTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGShowcaseArchivedType *)deserialize:(NSDictionary *)valueDict { @@ -160399,7 +160399,7 @@ @implementation DBTEAMLOGShowcaseChangeDownloadPolicyDetailsSerializer jsonDict[@"new_value"] = [DBTEAMLOGShowcaseDownloadPolicySerializer serialize:valueObj.dNewValue]; jsonDict[@"previous_value"] = [DBTEAMLOGShowcaseDownloadPolicySerializer serialize:valueObj.previousValue]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGShowcaseChangeDownloadPolicyDetails *)deserialize:(NSDictionary *)valueDict { @@ -160502,7 +160502,7 @@ @implementation DBTEAMLOGShowcaseChangeDownloadPolicyTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGShowcaseChangeDownloadPolicyType *)deserialize:(NSDictionary *)valueDict { @@ -160611,7 +160611,7 @@ @implementation DBTEAMLOGShowcaseChangeEnabledPolicyDetailsSerializer jsonDict[@"new_value"] = [DBTEAMLOGShowcaseEnabledPolicySerializer serialize:valueObj.dNewValue]; jsonDict[@"previous_value"] = [DBTEAMLOGShowcaseEnabledPolicySerializer serialize:valueObj.previousValue]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGShowcaseChangeEnabledPolicyDetails *)deserialize:(NSDictionary *)valueDict { @@ -160714,7 +160714,7 @@ @implementation DBTEAMLOGShowcaseChangeEnabledPolicyTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGShowcaseChangeEnabledPolicyType *)deserialize:(NSDictionary *)valueDict { @@ -160823,7 +160823,7 @@ @implementation DBTEAMLOGShowcaseChangeExternalSharingPolicyDetailsSerializer jsonDict[@"new_value"] = [DBTEAMLOGShowcaseExternalSharingPolicySerializer serialize:valueObj.dNewValue]; jsonDict[@"previous_value"] = [DBTEAMLOGShowcaseExternalSharingPolicySerializer serialize:valueObj.previousValue]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGShowcaseChangeExternalSharingPolicyDetails *)deserialize:(NSDictionary *)valueDict { @@ -160927,7 +160927,7 @@ @implementation DBTEAMLOGShowcaseChangeExternalSharingPolicyTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGShowcaseChangeExternalSharingPolicyType *)deserialize:(NSDictionary *)valueDict { @@ -161026,7 +161026,7 @@ @implementation DBTEAMLOGShowcaseCreatedDetailsSerializer jsonDict[@"event_uuid"] = valueObj.eventUuid; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGShowcaseCreatedDetails *)deserialize:(NSDictionary *)valueDict { @@ -161125,7 +161125,7 @@ @implementation DBTEAMLOGShowcaseCreatedTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGShowcaseCreatedType *)deserialize:(NSDictionary *)valueDict { @@ -161240,7 +161240,7 @@ @implementation DBTEAMLOGShowcaseDeleteCommentDetailsSerializer jsonDict[@"comment_text"] = valueObj.commentText; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGShowcaseDeleteCommentDetails *)deserialize:(NSDictionary *)valueDict { @@ -161340,7 +161340,7 @@ @implementation DBTEAMLOGShowcaseDeleteCommentTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGShowcaseDeleteCommentType *)deserialize:(NSDictionary *)valueDict { @@ -161446,7 +161446,7 @@ @implementation DBTEAMLOGShowcaseDocumentLogInfoSerializer jsonDict[@"showcase_id"] = valueObj.showcaseId; jsonDict[@"showcase_title"] = valueObj.showcaseTitle; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGShowcaseDocumentLogInfo *)deserialize:(NSDictionary *)valueDict { @@ -161615,7 +161615,7 @@ @implementation DBTEAMLOGShowcaseDownloadPolicySerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGShowcaseDownloadPolicy *)deserialize:(NSDictionary *)valueDict { @@ -161738,7 +161738,7 @@ @implementation DBTEAMLOGShowcaseEditCommentDetailsSerializer jsonDict[@"comment_text"] = valueObj.commentText; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGShowcaseEditCommentDetails *)deserialize:(NSDictionary *)valueDict { @@ -161838,7 +161838,7 @@ @implementation DBTEAMLOGShowcaseEditCommentTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGShowcaseEditCommentType *)deserialize:(NSDictionary *)valueDict { @@ -161937,7 +161937,7 @@ @implementation DBTEAMLOGShowcaseEditedDetailsSerializer jsonDict[@"event_uuid"] = valueObj.eventUuid; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGShowcaseEditedDetails *)deserialize:(NSDictionary *)valueDict { @@ -162036,7 +162036,7 @@ @implementation DBTEAMLOGShowcaseEditedTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGShowcaseEditedType *)deserialize:(NSDictionary *)valueDict { @@ -162204,7 +162204,7 @@ @implementation DBTEAMLOGShowcaseEnabledPolicySerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGShowcaseEnabledPolicy *)deserialize:(NSDictionary *)valueDict { @@ -162381,7 +162381,7 @@ @implementation DBTEAMLOGShowcaseExternalSharingPolicySerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGShowcaseExternalSharingPolicy *)deserialize:(NSDictionary *)valueDict { @@ -162488,7 +162488,7 @@ @implementation DBTEAMLOGShowcaseFileAddedDetailsSerializer jsonDict[@"event_uuid"] = valueObj.eventUuid; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGShowcaseFileAddedDetails *)deserialize:(NSDictionary *)valueDict { @@ -162587,7 +162587,7 @@ @implementation DBTEAMLOGShowcaseFileAddedTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGShowcaseFileAddedType *)deserialize:(NSDictionary *)valueDict { @@ -162693,7 +162693,7 @@ @implementation DBTEAMLOGShowcaseFileDownloadDetailsSerializer jsonDict[@"event_uuid"] = valueObj.eventUuid; jsonDict[@"download_type"] = valueObj.downloadType; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGShowcaseFileDownloadDetails *)deserialize:(NSDictionary *)valueDict { @@ -162793,7 +162793,7 @@ @implementation DBTEAMLOGShowcaseFileDownloadTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGShowcaseFileDownloadType *)deserialize:(NSDictionary *)valueDict { @@ -162892,7 +162892,7 @@ @implementation DBTEAMLOGShowcaseFileRemovedDetailsSerializer jsonDict[@"event_uuid"] = valueObj.eventUuid; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGShowcaseFileRemovedDetails *)deserialize:(NSDictionary *)valueDict { @@ -162991,7 +162991,7 @@ @implementation DBTEAMLOGShowcaseFileRemovedTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGShowcaseFileRemovedType *)deserialize:(NSDictionary *)valueDict { @@ -163090,7 +163090,7 @@ @implementation DBTEAMLOGShowcaseFileViewDetailsSerializer jsonDict[@"event_uuid"] = valueObj.eventUuid; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGShowcaseFileViewDetails *)deserialize:(NSDictionary *)valueDict { @@ -163189,7 +163189,7 @@ @implementation DBTEAMLOGShowcaseFileViewTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGShowcaseFileViewType *)deserialize:(NSDictionary *)valueDict { @@ -163289,7 +163289,7 @@ @implementation DBTEAMLOGShowcasePermanentlyDeletedDetailsSerializer jsonDict[@"event_uuid"] = valueObj.eventUuid; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGShowcasePermanentlyDeletedDetails *)deserialize:(NSDictionary *)valueDict { @@ -163389,7 +163389,7 @@ @implementation DBTEAMLOGShowcasePermanentlyDeletedTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGShowcasePermanentlyDeletedType *)deserialize:(NSDictionary *)valueDict { @@ -163504,7 +163504,7 @@ @implementation DBTEAMLOGShowcasePostCommentDetailsSerializer jsonDict[@"comment_text"] = valueObj.commentText; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGShowcasePostCommentDetails *)deserialize:(NSDictionary *)valueDict { @@ -163604,7 +163604,7 @@ @implementation DBTEAMLOGShowcasePostCommentTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGShowcasePostCommentType *)deserialize:(NSDictionary *)valueDict { @@ -163703,7 +163703,7 @@ @implementation DBTEAMLOGShowcaseRemoveMemberDetailsSerializer jsonDict[@"event_uuid"] = valueObj.eventUuid; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGShowcaseRemoveMemberDetails *)deserialize:(NSDictionary *)valueDict { @@ -163802,7 +163802,7 @@ @implementation DBTEAMLOGShowcaseRemoveMemberTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGShowcaseRemoveMemberType *)deserialize:(NSDictionary *)valueDict { @@ -163901,7 +163901,7 @@ @implementation DBTEAMLOGShowcaseRenamedDetailsSerializer jsonDict[@"event_uuid"] = valueObj.eventUuid; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGShowcaseRenamedDetails *)deserialize:(NSDictionary *)valueDict { @@ -164000,7 +164000,7 @@ @implementation DBTEAMLOGShowcaseRenamedTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGShowcaseRenamedType *)deserialize:(NSDictionary *)valueDict { @@ -164099,7 +164099,7 @@ @implementation DBTEAMLOGShowcaseRequestAccessDetailsSerializer jsonDict[@"event_uuid"] = valueObj.eventUuid; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGShowcaseRequestAccessDetails *)deserialize:(NSDictionary *)valueDict { @@ -164198,7 +164198,7 @@ @implementation DBTEAMLOGShowcaseRequestAccessTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGShowcaseRequestAccessType *)deserialize:(NSDictionary *)valueDict { @@ -164314,7 +164314,7 @@ @implementation DBTEAMLOGShowcaseResolveCommentDetailsSerializer jsonDict[@"comment_text"] = valueObj.commentText; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGShowcaseResolveCommentDetails *)deserialize:(NSDictionary *)valueDict { @@ -164414,7 +164414,7 @@ @implementation DBTEAMLOGShowcaseResolveCommentTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGShowcaseResolveCommentType *)deserialize:(NSDictionary *)valueDict { @@ -164513,7 +164513,7 @@ @implementation DBTEAMLOGShowcaseRestoredDetailsSerializer jsonDict[@"event_uuid"] = valueObj.eventUuid; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGShowcaseRestoredDetails *)deserialize:(NSDictionary *)valueDict { @@ -164612,7 +164612,7 @@ @implementation DBTEAMLOGShowcaseRestoredTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGShowcaseRestoredType *)deserialize:(NSDictionary *)valueDict { @@ -164712,7 +164712,7 @@ @implementation DBTEAMLOGShowcaseTrashedDeprecatedDetailsSerializer jsonDict[@"event_uuid"] = valueObj.eventUuid; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGShowcaseTrashedDeprecatedDetails *)deserialize:(NSDictionary *)valueDict { @@ -164812,7 +164812,7 @@ @implementation DBTEAMLOGShowcaseTrashedDeprecatedTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGShowcaseTrashedDeprecatedType *)deserialize:(NSDictionary *)valueDict { @@ -164911,7 +164911,7 @@ @implementation DBTEAMLOGShowcaseTrashedDetailsSerializer jsonDict[@"event_uuid"] = valueObj.eventUuid; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGShowcaseTrashedDetails *)deserialize:(NSDictionary *)valueDict { @@ -165010,7 +165010,7 @@ @implementation DBTEAMLOGShowcaseTrashedTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGShowcaseTrashedType *)deserialize:(NSDictionary *)valueDict { @@ -165126,7 +165126,7 @@ @implementation DBTEAMLOGShowcaseUnresolveCommentDetailsSerializer jsonDict[@"comment_text"] = valueObj.commentText; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGShowcaseUnresolveCommentDetails *)deserialize:(NSDictionary *)valueDict { @@ -165226,7 +165226,7 @@ @implementation DBTEAMLOGShowcaseUnresolveCommentTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGShowcaseUnresolveCommentType *)deserialize:(NSDictionary *)valueDict { @@ -165326,7 +165326,7 @@ @implementation DBTEAMLOGShowcaseUntrashedDeprecatedDetailsSerializer jsonDict[@"event_uuid"] = valueObj.eventUuid; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGShowcaseUntrashedDeprecatedDetails *)deserialize:(NSDictionary *)valueDict { @@ -165426,7 +165426,7 @@ @implementation DBTEAMLOGShowcaseUntrashedDeprecatedTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGShowcaseUntrashedDeprecatedType *)deserialize:(NSDictionary *)valueDict { @@ -165525,7 +165525,7 @@ @implementation DBTEAMLOGShowcaseUntrashedDetailsSerializer jsonDict[@"event_uuid"] = valueObj.eventUuid; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGShowcaseUntrashedDetails *)deserialize:(NSDictionary *)valueDict { @@ -165624,7 +165624,7 @@ @implementation DBTEAMLOGShowcaseUntrashedTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGShowcaseUntrashedType *)deserialize:(NSDictionary *)valueDict { @@ -165723,7 +165723,7 @@ @implementation DBTEAMLOGShowcaseViewDetailsSerializer jsonDict[@"event_uuid"] = valueObj.eventUuid; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGShowcaseViewDetails *)deserialize:(NSDictionary *)valueDict { @@ -165822,7 +165822,7 @@ @implementation DBTEAMLOGShowcaseViewTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGShowcaseViewType *)deserialize:(NSDictionary *)valueDict { @@ -165913,7 +165913,7 @@ @implementation DBTEAMLOGSignInAsSessionEndDetailsSerializer #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSignInAsSessionEndDetails *)deserialize:(NSDictionary *)valueDict { @@ -166012,7 +166012,7 @@ @implementation DBTEAMLOGSignInAsSessionEndTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSignInAsSessionEndType *)deserialize:(NSDictionary *)valueDict { @@ -166103,7 +166103,7 @@ @implementation DBTEAMLOGSignInAsSessionStartDetailsSerializer #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSignInAsSessionStartDetails *)deserialize:(NSDictionary *)valueDict { @@ -166202,7 +166202,7 @@ @implementation DBTEAMLOGSignInAsSessionStartTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSignInAsSessionStartType *)deserialize:(NSDictionary *)valueDict { @@ -166324,7 +166324,7 @@ @implementation DBTEAMLOGSmartSyncChangePolicyDetailsSerializer jsonDict[@"previous_value"] = [DBTEAMPOLICIESSmartSyncPolicySerializer serialize:valueObj.previousValue]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSmartSyncChangePolicyDetails *)deserialize:(NSDictionary *)valueDict { @@ -166427,7 +166427,7 @@ @implementation DBTEAMLOGSmartSyncChangePolicyTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSmartSyncChangePolicyType *)deserialize:(NSDictionary *)valueDict { @@ -166519,7 +166519,7 @@ @implementation DBTEAMLOGSmartSyncCreateAdminPrivilegeReportDetailsSerializer #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSmartSyncCreateAdminPrivilegeReportDetails *)deserialize:(NSDictionary *)valueDict { @@ -166619,7 +166619,7 @@ @implementation DBTEAMLOGSmartSyncCreateAdminPrivilegeReportTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSmartSyncCreateAdminPrivilegeReportType *)deserialize:(NSDictionary *)valueDict { @@ -166727,7 +166727,7 @@ @implementation DBTEAMLOGSmartSyncNotOptOutDetailsSerializer jsonDict[@"previous_value"] = [DBTEAMLOGSmartSyncOptOutPolicySerializer serialize:valueObj.previousValue]; jsonDict[@"new_value"] = [DBTEAMLOGSmartSyncOptOutPolicySerializer serialize:valueObj.dNewValue]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSmartSyncNotOptOutDetails *)deserialize:(NSDictionary *)valueDict { @@ -166829,7 +166829,7 @@ @implementation DBTEAMLOGSmartSyncNotOptOutTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSmartSyncNotOptOutType *)deserialize:(NSDictionary *)valueDict { @@ -166937,7 +166937,7 @@ @implementation DBTEAMLOGSmartSyncOptOutDetailsSerializer jsonDict[@"previous_value"] = [DBTEAMLOGSmartSyncOptOutPolicySerializer serialize:valueObj.previousValue]; jsonDict[@"new_value"] = [DBTEAMLOGSmartSyncOptOutPolicySerializer serialize:valueObj.dNewValue]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSmartSyncOptOutDetails *)deserialize:(NSDictionary *)valueDict { @@ -167108,7 +167108,7 @@ @implementation DBTEAMLOGSmartSyncOptOutPolicySerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSmartSyncOptOutPolicy *)deserialize:(NSDictionary *)valueDict { @@ -167215,7 +167215,7 @@ @implementation DBTEAMLOGSmartSyncOptOutTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSmartSyncOptOutType *)deserialize:(NSDictionary *)valueDict { @@ -167324,7 +167324,7 @@ @implementation DBTEAMLOGSmarterSmartSyncPolicyChangedDetailsSerializer jsonDict[@"previous_value"] = [DBTEAMPOLICIESSmarterSmartSyncPolicyStateSerializer serialize:valueObj.previousValue]; jsonDict[@"new_value"] = [DBTEAMPOLICIESSmarterSmartSyncPolicyStateSerializer serialize:valueObj.dNewValue]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSmarterSmartSyncPolicyChangedDetails *)deserialize:(NSDictionary *)valueDict { @@ -167428,7 +167428,7 @@ @implementation DBTEAMLOGSmarterSmartSyncPolicyChangedTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSmarterSmartSyncPolicyChangedType *)deserialize:(NSDictionary *)valueDict { @@ -167617,7 +167617,7 @@ @implementation DBTEAMLOGSpaceCapsTypeSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSpaceCapsType *)deserialize:(NSDictionary *)valueDict { @@ -167816,7 +167816,7 @@ @implementation DBTEAMLOGSpaceLimitsStatusSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSpaceLimitsStatus *)deserialize:(NSDictionary *)valueDict { @@ -167926,7 +167926,7 @@ @implementation DBTEAMLOGSsoAddCertDetailsSerializer jsonDict[@"certificate_details"] = [DBTEAMLOGCertificateSerializer serialize:valueObj.certificateDetails]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSsoAddCertDetails *)deserialize:(NSDictionary *)valueDict { @@ -168026,7 +168026,7 @@ @implementation DBTEAMLOGSsoAddCertTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSsoAddCertType *)deserialize:(NSDictionary *)valueDict { @@ -168125,7 +168125,7 @@ @implementation DBTEAMLOGSsoAddLoginUrlDetailsSerializer jsonDict[@"new_value"] = valueObj.dNewValue; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSsoAddLoginUrlDetails *)deserialize:(NSDictionary *)valueDict { @@ -168224,7 +168224,7 @@ @implementation DBTEAMLOGSsoAddLoginUrlTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSsoAddLoginUrlType *)deserialize:(NSDictionary *)valueDict { @@ -168332,7 +168332,7 @@ @implementation DBTEAMLOGSsoAddLogoutUrlDetailsSerializer jsonDict[@"new_value"] = valueObj.dNewValue; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSsoAddLogoutUrlDetails *)deserialize:(NSDictionary *)valueDict { @@ -168431,7 +168431,7 @@ @implementation DBTEAMLOGSsoAddLogoutUrlTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSsoAddLogoutUrlType *)deserialize:(NSDictionary *)valueDict { @@ -168549,7 +168549,7 @@ @implementation DBTEAMLOGSsoChangeCertDetailsSerializer [DBTEAMLOGCertificateSerializer serialize:valueObj.previousCertificateDetails]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSsoChangeCertDetails *)deserialize:(NSDictionary *)valueDict { @@ -168654,7 +168654,7 @@ @implementation DBTEAMLOGSsoChangeCertTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSsoChangeCertType *)deserialize:(NSDictionary *)valueDict { @@ -168760,7 +168760,7 @@ @implementation DBTEAMLOGSsoChangeLoginUrlDetailsSerializer jsonDict[@"previous_value"] = valueObj.previousValue; jsonDict[@"new_value"] = valueObj.dNewValue; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSsoChangeLoginUrlDetails *)deserialize:(NSDictionary *)valueDict { @@ -168860,7 +168860,7 @@ @implementation DBTEAMLOGSsoChangeLoginUrlTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSsoChangeLoginUrlType *)deserialize:(NSDictionary *)valueDict { @@ -168980,7 +168980,7 @@ @implementation DBTEAMLOGSsoChangeLogoutUrlDetailsSerializer jsonDict[@"new_value"] = valueObj.dNewValue; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSsoChangeLogoutUrlDetails *)deserialize:(NSDictionary *)valueDict { @@ -169080,7 +169080,7 @@ @implementation DBTEAMLOGSsoChangeLogoutUrlTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSsoChangeLogoutUrlType *)deserialize:(NSDictionary *)valueDict { @@ -169197,7 +169197,7 @@ @implementation DBTEAMLOGSsoChangePolicyDetailsSerializer jsonDict[@"previous_value"] = [DBTEAMPOLICIESSsoPolicySerializer serialize:valueObj.previousValue]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSsoChangePolicyDetails *)deserialize:(NSDictionary *)valueDict { @@ -169298,7 +169298,7 @@ @implementation DBTEAMLOGSsoChangePolicyTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSsoChangePolicyType *)deserialize:(NSDictionary *)valueDict { @@ -169405,7 +169405,7 @@ @implementation DBTEAMLOGSsoChangeSamlIdentityModeDetailsSerializer jsonDict[@"previous_value"] = valueObj.previousValue; jsonDict[@"new_value"] = valueObj.dNewValue; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSsoChangeSamlIdentityModeDetails *)deserialize:(NSDictionary *)valueDict { @@ -169506,7 +169506,7 @@ @implementation DBTEAMLOGSsoChangeSamlIdentityModeTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSsoChangeSamlIdentityModeType *)deserialize:(NSDictionary *)valueDict { @@ -169606,7 +169606,7 @@ @implementation DBTEAMLOGSsoErrorDetailsSerializer jsonDict[@"error_details"] = [DBTEAMLOGFailureDetailsLogInfoSerializer serialize:valueObj.errorDetails]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSsoErrorDetails *)deserialize:(NSDictionary *)valueDict { @@ -169706,7 +169706,7 @@ @implementation DBTEAMLOGSsoErrorTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSsoErrorType *)deserialize:(NSDictionary *)valueDict { @@ -169797,7 +169797,7 @@ @implementation DBTEAMLOGSsoRemoveCertDetailsSerializer #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSsoRemoveCertDetails *)deserialize:(NSDictionary *)valueDict { @@ -169896,7 +169896,7 @@ @implementation DBTEAMLOGSsoRemoveCertTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSsoRemoveCertType *)deserialize:(NSDictionary *)valueDict { @@ -169995,7 +169995,7 @@ @implementation DBTEAMLOGSsoRemoveLoginUrlDetailsSerializer jsonDict[@"previous_value"] = valueObj.previousValue; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSsoRemoveLoginUrlDetails *)deserialize:(NSDictionary *)valueDict { @@ -170094,7 +170094,7 @@ @implementation DBTEAMLOGSsoRemoveLoginUrlTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSsoRemoveLoginUrlType *)deserialize:(NSDictionary *)valueDict { @@ -170193,7 +170193,7 @@ @implementation DBTEAMLOGSsoRemoveLogoutUrlDetailsSerializer jsonDict[@"previous_value"] = valueObj.previousValue; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSsoRemoveLogoutUrlDetails *)deserialize:(NSDictionary *)valueDict { @@ -170292,7 +170292,7 @@ @implementation DBTEAMLOGSsoRemoveLogoutUrlTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGSsoRemoveLogoutUrlType *)deserialize:(NSDictionary *)valueDict { @@ -170394,7 +170394,7 @@ @implementation DBTEAMLOGStartedEnterpriseAdminSessionDetailsSerializer jsonDict[@"federation_extra_details"] = [DBTEAMLOGFedExtraDetailsSerializer serialize:valueObj.federationExtraDetails]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGStartedEnterpriseAdminSessionDetails *)deserialize:(NSDictionary *)valueDict { @@ -170495,7 +170495,7 @@ @implementation DBTEAMLOGStartedEnterpriseAdminSessionTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGStartedEnterpriseAdminSessionType *)deserialize:(NSDictionary *)valueDict { @@ -170602,7 +170602,7 @@ @implementation DBTEAMLOGTeamActivityCreateReportDetailsSerializer jsonDict[@"start_date"] = [DBNSDateSerializer serialize:valueObj.startDate dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; jsonDict[@"end_date"] = [DBNSDateSerializer serialize:valueObj.endDate dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTeamActivityCreateReportDetails *)deserialize:(NSDictionary *)valueDict { @@ -170704,7 +170704,7 @@ @implementation DBTEAMLOGTeamActivityCreateReportFailDetailsSerializer jsonDict[@"failure_reason"] = [DBTEAMTeamReportFailureReasonSerializer serialize:valueObj.failureReason]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTeamActivityCreateReportFailDetails *)deserialize:(NSDictionary *)valueDict { @@ -170805,7 +170805,7 @@ @implementation DBTEAMLOGTeamActivityCreateReportFailTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTeamActivityCreateReportFailType *)deserialize:(NSDictionary *)valueDict { @@ -170904,7 +170904,7 @@ @implementation DBTEAMLOGTeamActivityCreateReportTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTeamActivityCreateReportType *)deserialize:(NSDictionary *)valueDict { @@ -171072,7 +171072,7 @@ @implementation DBTEAMLOGTeamBrandingPolicySerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTeamBrandingPolicy *)deserialize:(NSDictionary *)valueDict { @@ -171189,7 +171189,7 @@ @implementation DBTEAMLOGTeamBrandingPolicyChangedDetailsSerializer jsonDict[@"new_value"] = [DBTEAMLOGTeamBrandingPolicySerializer serialize:valueObj.dNewValue]; jsonDict[@"previous_value"] = [DBTEAMLOGTeamBrandingPolicySerializer serialize:valueObj.previousValue]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTeamBrandingPolicyChangedDetails *)deserialize:(NSDictionary *)valueDict { @@ -171291,7 +171291,7 @@ @implementation DBTEAMLOGTeamBrandingPolicyChangedTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTeamBrandingPolicyChangedType *)deserialize:(NSDictionary *)valueDict { @@ -171390,7 +171390,7 @@ @implementation DBTEAMLOGTeamDetailsSerializer jsonDict[@"team"] = valueObj.team; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTeamDetails *)deserialize:(NSDictionary *)valueDict { @@ -171482,7 +171482,7 @@ @implementation DBTEAMLOGTeamEncryptionKeyCancelKeyDeletionDetailsSerializer #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTeamEncryptionKeyCancelKeyDeletionDetails *)deserialize:(NSDictionary *)valueDict { @@ -171582,7 +171582,7 @@ @implementation DBTEAMLOGTeamEncryptionKeyCancelKeyDeletionTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTeamEncryptionKeyCancelKeyDeletionType *)deserialize:(NSDictionary *)valueDict { @@ -171674,7 +171674,7 @@ @implementation DBTEAMLOGTeamEncryptionKeyCreateKeyDetailsSerializer #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTeamEncryptionKeyCreateKeyDetails *)deserialize:(NSDictionary *)valueDict { @@ -171774,7 +171774,7 @@ @implementation DBTEAMLOGTeamEncryptionKeyCreateKeyTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTeamEncryptionKeyCreateKeyType *)deserialize:(NSDictionary *)valueDict { @@ -171866,7 +171866,7 @@ @implementation DBTEAMLOGTeamEncryptionKeyDeleteKeyDetailsSerializer #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTeamEncryptionKeyDeleteKeyDetails *)deserialize:(NSDictionary *)valueDict { @@ -171966,7 +171966,7 @@ @implementation DBTEAMLOGTeamEncryptionKeyDeleteKeyTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTeamEncryptionKeyDeleteKeyType *)deserialize:(NSDictionary *)valueDict { @@ -172058,7 +172058,7 @@ @implementation DBTEAMLOGTeamEncryptionKeyDisableKeyDetailsSerializer #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTeamEncryptionKeyDisableKeyDetails *)deserialize:(NSDictionary *)valueDict { @@ -172158,7 +172158,7 @@ @implementation DBTEAMLOGTeamEncryptionKeyDisableKeyTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTeamEncryptionKeyDisableKeyType *)deserialize:(NSDictionary *)valueDict { @@ -172250,7 +172250,7 @@ @implementation DBTEAMLOGTeamEncryptionKeyEnableKeyDetailsSerializer #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTeamEncryptionKeyEnableKeyDetails *)deserialize:(NSDictionary *)valueDict { @@ -172350,7 +172350,7 @@ @implementation DBTEAMLOGTeamEncryptionKeyEnableKeyTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTeamEncryptionKeyEnableKeyType *)deserialize:(NSDictionary *)valueDict { @@ -172442,7 +172442,7 @@ @implementation DBTEAMLOGTeamEncryptionKeyRotateKeyDetailsSerializer #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTeamEncryptionKeyRotateKeyDetails *)deserialize:(NSDictionary *)valueDict { @@ -172542,7 +172542,7 @@ @implementation DBTEAMLOGTeamEncryptionKeyRotateKeyTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTeamEncryptionKeyRotateKeyType *)deserialize:(NSDictionary *)valueDict { @@ -172634,7 +172634,7 @@ @implementation DBTEAMLOGTeamEncryptionKeyScheduleKeyDeletionDetailsSerializer #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTeamEncryptionKeyScheduleKeyDeletionDetails *)deserialize:(NSDictionary *)valueDict { @@ -172734,7 +172734,7 @@ @implementation DBTEAMLOGTeamEncryptionKeyScheduleKeyDeletionTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTeamEncryptionKeyScheduleKeyDeletionType *)deserialize:(NSDictionary *)valueDict { @@ -172973,7 +172973,7 @@ @implementation DBTEAMLOGTeamEventSerializer }]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTeamEvent *)deserialize:(NSDictionary *)valueDict { @@ -173173,7 +173173,7 @@ @implementation DBTEAMLOGTeamExtensionsPolicySerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTeamExtensionsPolicy *)deserialize:(NSDictionary *)valueDict { @@ -173290,7 +173290,7 @@ @implementation DBTEAMLOGTeamExtensionsPolicyChangedDetailsSerializer jsonDict[@"new_value"] = [DBTEAMLOGTeamExtensionsPolicySerializer serialize:valueObj.dNewValue]; jsonDict[@"previous_value"] = [DBTEAMLOGTeamExtensionsPolicySerializer serialize:valueObj.previousValue]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTeamExtensionsPolicyChangedDetails *)deserialize:(NSDictionary *)valueDict { @@ -173393,7 +173393,7 @@ @implementation DBTEAMLOGTeamExtensionsPolicyChangedTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTeamExtensionsPolicyChangedType *)deserialize:(NSDictionary *)valueDict { @@ -173511,7 +173511,7 @@ @implementation DBTEAMLOGTeamFolderChangeStatusDetailsSerializer jsonDict[@"previous_value"] = [DBTEAMTeamFolderStatusSerializer serialize:valueObj.previousValue]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTeamFolderChangeStatusDetails *)deserialize:(NSDictionary *)valueDict { @@ -173612,7 +173612,7 @@ @implementation DBTEAMLOGTeamFolderChangeStatusTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTeamFolderChangeStatusType *)deserialize:(NSDictionary *)valueDict { @@ -173703,7 +173703,7 @@ @implementation DBTEAMLOGTeamFolderCreateDetailsSerializer #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTeamFolderCreateDetails *)deserialize:(NSDictionary *)valueDict { @@ -173802,7 +173802,7 @@ @implementation DBTEAMLOGTeamFolderCreateTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTeamFolderCreateType *)deserialize:(NSDictionary *)valueDict { @@ -173901,7 +173901,7 @@ @implementation DBTEAMLOGTeamFolderDowngradeDetailsSerializer jsonDict[@"target_asset_index"] = valueObj.targetAssetIndex; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTeamFolderDowngradeDetails *)deserialize:(NSDictionary *)valueDict { @@ -174000,7 +174000,7 @@ @implementation DBTEAMLOGTeamFolderDowngradeTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTeamFolderDowngradeType *)deserialize:(NSDictionary *)valueDict { @@ -174092,7 +174092,7 @@ @implementation DBTEAMLOGTeamFolderPermanentlyDeleteDetailsSerializer #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTeamFolderPermanentlyDeleteDetails *)deserialize:(NSDictionary *)valueDict { @@ -174192,7 +174192,7 @@ @implementation DBTEAMLOGTeamFolderPermanentlyDeleteTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTeamFolderPermanentlyDeleteType *)deserialize:(NSDictionary *)valueDict { @@ -174298,7 +174298,7 @@ @implementation DBTEAMLOGTeamFolderRenameDetailsSerializer jsonDict[@"previous_folder_name"] = valueObj.previousFolderName; jsonDict[@"new_folder_name"] = valueObj.dNewFolderName; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTeamFolderRenameDetails *)deserialize:(NSDictionary *)valueDict { @@ -174399,7 +174399,7 @@ @implementation DBTEAMLOGTeamFolderRenameTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTeamFolderRenameType *)deserialize:(NSDictionary *)valueDict { @@ -174516,7 +174516,7 @@ @implementation DBTEAMLOGTeamInviteDetailsSerializer jsonDict[@"additional_license_purchase"] = valueObj.additionalLicensePurchase; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTeamInviteDetails *)deserialize:(NSDictionary *)valueDict { @@ -174637,7 +174637,7 @@ @implementation DBTEAMLOGTeamLinkedAppLogInfoSerializer jsonDict[@"display_name"] = valueObj.displayName; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTeamLinkedAppLogInfo *)deserialize:(NSDictionary *)valueDict { @@ -174737,7 +174737,7 @@ @implementation DBTEAMLOGTeamLogInfoSerializer jsonDict[@"display_name"] = valueObj.displayName; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTeamLogInfo *)deserialize:(NSDictionary *)valueDict { @@ -174914,7 +174914,7 @@ @implementation DBTEAMLOGTeamMemberLogInfoSerializer jsonDict[@"team"] = [DBTEAMLOGTeamLogInfoSerializer serialize:valueObj.team]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTeamMemberLogInfo *)deserialize:(NSDictionary *)valueDict { @@ -175114,7 +175114,7 @@ @implementation DBTEAMLOGTeamMembershipTypeSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTeamMembershipType *)deserialize:(NSDictionary *)valueDict { @@ -175223,7 +175223,7 @@ @implementation DBTEAMLOGTeamMergeFromDetailsSerializer jsonDict[@"team_name"] = valueObj.teamName; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTeamMergeFromDetails *)deserialize:(NSDictionary *)valueDict { @@ -175322,7 +175322,7 @@ @implementation DBTEAMLOGTeamMergeFromTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTeamMergeFromType *)deserialize:(NSDictionary *)valueDict { @@ -175424,7 +175424,7 @@ @implementation DBTEAMLOGTeamMergeRequestAcceptedDetailsSerializer jsonDict[@"request_accepted_details"] = [DBTEAMLOGTeamMergeRequestAcceptedExtraDetailsSerializer serialize:valueObj.requestAcceptedDetails]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTeamMergeRequestAcceptedDetails *)deserialize:(NSDictionary *)valueDict { @@ -175623,7 +175623,7 @@ @implementation DBTEAMLOGTeamMergeRequestAcceptedExtraDetailsSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTeamMergeRequestAcceptedExtraDetails *)deserialize:(NSDictionary *)valueDict { @@ -175742,7 +175742,7 @@ @implementation DBTEAMLOGTeamMergeRequestAcceptedShownToPrimaryTeamDetailsSerial jsonDict[@"secondary_team"] = valueObj.secondaryTeam; jsonDict[@"sent_by"] = valueObj.sentBy; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTeamMergeRequestAcceptedShownToPrimaryTeamDetails *)deserialize:(NSDictionary *)valueDict { @@ -175844,7 +175844,7 @@ @implementation DBTEAMLOGTeamMergeRequestAcceptedShownToPrimaryTeamTypeSerialize jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTeamMergeRequestAcceptedShownToPrimaryTeamType *)deserialize:(NSDictionary *)valueDict { @@ -175952,7 +175952,7 @@ @implementation DBTEAMLOGTeamMergeRequestAcceptedShownToSecondaryTeamDetailsSeri jsonDict[@"primary_team"] = valueObj.primaryTeam; jsonDict[@"sent_by"] = valueObj.sentBy; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTeamMergeRequestAcceptedShownToSecondaryTeamDetails *)deserialize: @@ -176055,7 +176055,7 @@ @implementation DBTEAMLOGTeamMergeRequestAcceptedShownToSecondaryTeamTypeSeriali jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTeamMergeRequestAcceptedShownToSecondaryTeamType *)deserialize:(NSDictionary *)valueDict { @@ -176154,7 +176154,7 @@ @implementation DBTEAMLOGTeamMergeRequestAcceptedTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTeamMergeRequestAcceptedType *)deserialize:(NSDictionary *)valueDict { @@ -176263,7 +176263,7 @@ @implementation DBTEAMLOGTeamMergeRequestAutoCanceledDetailsSerializer jsonDict[@"details"] = valueObj.details; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTeamMergeRequestAutoCanceledDetails *)deserialize:(NSDictionary *)valueDict { @@ -176363,7 +176363,7 @@ @implementation DBTEAMLOGTeamMergeRequestAutoCanceledTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTeamMergeRequestAutoCanceledType *)deserialize:(NSDictionary *)valueDict { @@ -176465,7 +176465,7 @@ @implementation DBTEAMLOGTeamMergeRequestCanceledDetailsSerializer jsonDict[@"request_canceled_details"] = [DBTEAMLOGTeamMergeRequestCanceledExtraDetailsSerializer serialize:valueObj.requestCanceledDetails]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTeamMergeRequestCanceledDetails *)deserialize:(NSDictionary *)valueDict { @@ -176664,7 +176664,7 @@ @implementation DBTEAMLOGTeamMergeRequestCanceledExtraDetailsSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTeamMergeRequestCanceledExtraDetails *)deserialize:(NSDictionary *)valueDict { @@ -176783,7 +176783,7 @@ @implementation DBTEAMLOGTeamMergeRequestCanceledShownToPrimaryTeamDetailsSerial jsonDict[@"secondary_team"] = valueObj.secondaryTeam; jsonDict[@"sent_by"] = valueObj.sentBy; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTeamMergeRequestCanceledShownToPrimaryTeamDetails *)deserialize:(NSDictionary *)valueDict { @@ -176885,7 +176885,7 @@ @implementation DBTEAMLOGTeamMergeRequestCanceledShownToPrimaryTeamTypeSerialize jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTeamMergeRequestCanceledShownToPrimaryTeamType *)deserialize:(NSDictionary *)valueDict { @@ -176993,7 +176993,7 @@ @implementation DBTEAMLOGTeamMergeRequestCanceledShownToSecondaryTeamDetailsSeri jsonDict[@"sent_to"] = valueObj.sentTo; jsonDict[@"sent_by"] = valueObj.sentBy; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTeamMergeRequestCanceledShownToSecondaryTeamDetails *)deserialize: @@ -177095,7 +177095,7 @@ @implementation DBTEAMLOGTeamMergeRequestCanceledShownToSecondaryTeamTypeSeriali jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTeamMergeRequestCanceledShownToSecondaryTeamType *)deserialize:(NSDictionary *)valueDict { @@ -177194,7 +177194,7 @@ @implementation DBTEAMLOGTeamMergeRequestCanceledTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTeamMergeRequestCanceledType *)deserialize:(NSDictionary *)valueDict { @@ -177296,7 +177296,7 @@ @implementation DBTEAMLOGTeamMergeRequestExpiredDetailsSerializer jsonDict[@"request_expired_details"] = [DBTEAMLOGTeamMergeRequestExpiredExtraDetailsSerializer serialize:valueObj.requestExpiredDetails]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTeamMergeRequestExpiredDetails *)deserialize:(NSDictionary *)valueDict { @@ -177495,7 +177495,7 @@ @implementation DBTEAMLOGTeamMergeRequestExpiredExtraDetailsSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTeamMergeRequestExpiredExtraDetails *)deserialize:(NSDictionary *)valueDict { @@ -177614,7 +177614,7 @@ @implementation DBTEAMLOGTeamMergeRequestExpiredShownToPrimaryTeamDetailsSeriali jsonDict[@"secondary_team"] = valueObj.secondaryTeam; jsonDict[@"sent_by"] = valueObj.sentBy; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTeamMergeRequestExpiredShownToPrimaryTeamDetails *)deserialize:(NSDictionary *)valueDict { @@ -177716,7 +177716,7 @@ @implementation DBTEAMLOGTeamMergeRequestExpiredShownToPrimaryTeamTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTeamMergeRequestExpiredShownToPrimaryTeamType *)deserialize:(NSDictionary *)valueDict { @@ -177816,7 +177816,7 @@ @implementation DBTEAMLOGTeamMergeRequestExpiredShownToSecondaryTeamDetailsSeria jsonDict[@"sent_to"] = valueObj.sentTo; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTeamMergeRequestExpiredShownToSecondaryTeamDetails *)deserialize:(NSDictionary *)valueDict { @@ -177916,7 +177916,7 @@ @implementation DBTEAMLOGTeamMergeRequestExpiredShownToSecondaryTeamTypeSerializ jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTeamMergeRequestExpiredShownToSecondaryTeamType *)deserialize:(NSDictionary *)valueDict { @@ -178015,7 +178015,7 @@ @implementation DBTEAMLOGTeamMergeRequestExpiredTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTeamMergeRequestExpiredType *)deserialize:(NSDictionary *)valueDict { @@ -178122,7 +178122,7 @@ @implementation DBTEAMLOGTeamMergeRequestRejectedShownToPrimaryTeamDetailsSerial jsonDict[@"secondary_team"] = valueObj.secondaryTeam; jsonDict[@"sent_by"] = valueObj.sentBy; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTeamMergeRequestRejectedShownToPrimaryTeamDetails *)deserialize:(NSDictionary *)valueDict { @@ -178224,7 +178224,7 @@ @implementation DBTEAMLOGTeamMergeRequestRejectedShownToPrimaryTeamTypeSerialize jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTeamMergeRequestRejectedShownToPrimaryTeamType *)deserialize:(NSDictionary *)valueDict { @@ -178325,7 +178325,7 @@ @implementation DBTEAMLOGTeamMergeRequestRejectedShownToSecondaryTeamDetailsSeri jsonDict[@"sent_by"] = valueObj.sentBy; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTeamMergeRequestRejectedShownToSecondaryTeamDetails *)deserialize: @@ -178426,7 +178426,7 @@ @implementation DBTEAMLOGTeamMergeRequestRejectedShownToSecondaryTeamTypeSeriali jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTeamMergeRequestRejectedShownToSecondaryTeamType *)deserialize:(NSDictionary *)valueDict { @@ -178528,7 +178528,7 @@ @implementation DBTEAMLOGTeamMergeRequestReminderDetailsSerializer jsonDict[@"request_reminder_details"] = [DBTEAMLOGTeamMergeRequestReminderExtraDetailsSerializer serialize:valueObj.requestReminderDetails]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTeamMergeRequestReminderDetails *)deserialize:(NSDictionary *)valueDict { @@ -178727,7 +178727,7 @@ @implementation DBTEAMLOGTeamMergeRequestReminderExtraDetailsSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTeamMergeRequestReminderExtraDetails *)deserialize:(NSDictionary *)valueDict { @@ -178846,7 +178846,7 @@ @implementation DBTEAMLOGTeamMergeRequestReminderShownToPrimaryTeamDetailsSerial jsonDict[@"secondary_team"] = valueObj.secondaryTeam; jsonDict[@"sent_to"] = valueObj.sentTo; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTeamMergeRequestReminderShownToPrimaryTeamDetails *)deserialize:(NSDictionary *)valueDict { @@ -178948,7 +178948,7 @@ @implementation DBTEAMLOGTeamMergeRequestReminderShownToPrimaryTeamTypeSerialize jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTeamMergeRequestReminderShownToPrimaryTeamType *)deserialize:(NSDictionary *)valueDict { @@ -179049,7 +179049,7 @@ @implementation DBTEAMLOGTeamMergeRequestReminderShownToSecondaryTeamDetailsSeri jsonDict[@"sent_to"] = valueObj.sentTo; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTeamMergeRequestReminderShownToSecondaryTeamDetails *)deserialize: @@ -179150,7 +179150,7 @@ @implementation DBTEAMLOGTeamMergeRequestReminderShownToSecondaryTeamTypeSeriali jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTeamMergeRequestReminderShownToSecondaryTeamType *)deserialize:(NSDictionary *)valueDict { @@ -179249,7 +179249,7 @@ @implementation DBTEAMLOGTeamMergeRequestReminderTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTeamMergeRequestReminderType *)deserialize:(NSDictionary *)valueDict { @@ -179349,7 +179349,7 @@ @implementation DBTEAMLOGTeamMergeRequestRevokedDetailsSerializer jsonDict[@"team"] = valueObj.team; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTeamMergeRequestRevokedDetails *)deserialize:(NSDictionary *)valueDict { @@ -179448,7 +179448,7 @@ @implementation DBTEAMLOGTeamMergeRequestRevokedTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTeamMergeRequestRevokedType *)deserialize:(NSDictionary *)valueDict { @@ -179555,7 +179555,7 @@ @implementation DBTEAMLOGTeamMergeRequestSentShownToPrimaryTeamDetailsSerializer jsonDict[@"secondary_team"] = valueObj.secondaryTeam; jsonDict[@"sent_to"] = valueObj.sentTo; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTeamMergeRequestSentShownToPrimaryTeamDetails *)deserialize:(NSDictionary *)valueDict { @@ -179657,7 +179657,7 @@ @implementation DBTEAMLOGTeamMergeRequestSentShownToPrimaryTeamTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTeamMergeRequestSentShownToPrimaryTeamType *)deserialize:(NSDictionary *)valueDict { @@ -179757,7 +179757,7 @@ @implementation DBTEAMLOGTeamMergeRequestSentShownToSecondaryTeamDetailsSerializ jsonDict[@"sent_to"] = valueObj.sentTo; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTeamMergeRequestSentShownToSecondaryTeamDetails *)deserialize:(NSDictionary *)valueDict { @@ -179857,7 +179857,7 @@ @implementation DBTEAMLOGTeamMergeRequestSentShownToSecondaryTeamTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTeamMergeRequestSentShownToSecondaryTeamType *)deserialize:(NSDictionary *)valueDict { @@ -179956,7 +179956,7 @@ @implementation DBTEAMLOGTeamMergeToDetailsSerializer jsonDict[@"team_name"] = valueObj.teamName; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTeamMergeToDetails *)deserialize:(NSDictionary *)valueDict { @@ -180055,7 +180055,7 @@ @implementation DBTEAMLOGTeamMergeToTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTeamMergeToType *)deserialize:(NSDictionary *)valueDict { @@ -180161,7 +180161,7 @@ @implementation DBTEAMLOGTeamNameSerializer jsonDict[@"team_display_name"] = valueObj.teamDisplayName; jsonDict[@"team_legal_name"] = valueObj.teamLegalName; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTeamName *)deserialize:(NSDictionary *)valueDict { @@ -180254,7 +180254,7 @@ @implementation DBTEAMLOGTeamProfileAddBackgroundDetailsSerializer #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTeamProfileAddBackgroundDetails *)deserialize:(NSDictionary *)valueDict { @@ -180353,7 +180353,7 @@ @implementation DBTEAMLOGTeamProfileAddBackgroundTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTeamProfileAddBackgroundType *)deserialize:(NSDictionary *)valueDict { @@ -180444,7 +180444,7 @@ @implementation DBTEAMLOGTeamProfileAddLogoDetailsSerializer #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTeamProfileAddLogoDetails *)deserialize:(NSDictionary *)valueDict { @@ -180543,7 +180543,7 @@ @implementation DBTEAMLOGTeamProfileAddLogoTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTeamProfileAddLogoType *)deserialize:(NSDictionary *)valueDict { @@ -180635,7 +180635,7 @@ @implementation DBTEAMLOGTeamProfileChangeBackgroundDetailsSerializer #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTeamProfileChangeBackgroundDetails *)deserialize:(NSDictionary *)valueDict { @@ -180735,7 +180735,7 @@ @implementation DBTEAMLOGTeamProfileChangeBackgroundTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTeamProfileChangeBackgroundType *)deserialize:(NSDictionary *)valueDict { @@ -180843,7 +180843,7 @@ @implementation DBTEAMLOGTeamProfileChangeDefaultLanguageDetailsSerializer jsonDict[@"new_value"] = valueObj.dNewValue; jsonDict[@"previous_value"] = valueObj.previousValue; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTeamProfileChangeDefaultLanguageDetails *)deserialize:(NSDictionary *)valueDict { @@ -180945,7 +180945,7 @@ @implementation DBTEAMLOGTeamProfileChangeDefaultLanguageTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTeamProfileChangeDefaultLanguageType *)deserialize:(NSDictionary *)valueDict { @@ -181036,7 +181036,7 @@ @implementation DBTEAMLOGTeamProfileChangeLogoDetailsSerializer #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTeamProfileChangeLogoDetails *)deserialize:(NSDictionary *)valueDict { @@ -181135,7 +181135,7 @@ @implementation DBTEAMLOGTeamProfileChangeLogoTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTeamProfileChangeLogoType *)deserialize:(NSDictionary *)valueDict { @@ -181251,7 +181251,7 @@ @implementation DBTEAMLOGTeamProfileChangeNameDetailsSerializer jsonDict[@"previous_value"] = [DBTEAMLOGTeamNameSerializer serialize:valueObj.previousValue]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTeamProfileChangeNameDetails *)deserialize:(NSDictionary *)valueDict { @@ -181352,7 +181352,7 @@ @implementation DBTEAMLOGTeamProfileChangeNameTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTeamProfileChangeNameType *)deserialize:(NSDictionary *)valueDict { @@ -181444,7 +181444,7 @@ @implementation DBTEAMLOGTeamProfileRemoveBackgroundDetailsSerializer #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTeamProfileRemoveBackgroundDetails *)deserialize:(NSDictionary *)valueDict { @@ -181544,7 +181544,7 @@ @implementation DBTEAMLOGTeamProfileRemoveBackgroundTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTeamProfileRemoveBackgroundType *)deserialize:(NSDictionary *)valueDict { @@ -181635,7 +181635,7 @@ @implementation DBTEAMLOGTeamProfileRemoveLogoDetailsSerializer #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTeamProfileRemoveLogoDetails *)deserialize:(NSDictionary *)valueDict { @@ -181734,7 +181734,7 @@ @implementation DBTEAMLOGTeamProfileRemoveLogoTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTeamProfileRemoveLogoType *)deserialize:(NSDictionary *)valueDict { @@ -181902,7 +181902,7 @@ @implementation DBTEAMLOGTeamSelectiveSyncPolicySerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTeamSelectiveSyncPolicy *)deserialize:(NSDictionary *)valueDict { @@ -182019,7 +182019,7 @@ @implementation DBTEAMLOGTeamSelectiveSyncPolicyChangedDetailsSerializer jsonDict[@"new_value"] = [DBTEAMLOGTeamSelectiveSyncPolicySerializer serialize:valueObj.dNewValue]; jsonDict[@"previous_value"] = [DBTEAMLOGTeamSelectiveSyncPolicySerializer serialize:valueObj.previousValue]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTeamSelectiveSyncPolicyChangedDetails *)deserialize:(NSDictionary *)valueDict { @@ -182123,7 +182123,7 @@ @implementation DBTEAMLOGTeamSelectiveSyncPolicyChangedTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTeamSelectiveSyncPolicyChangedType *)deserialize:(NSDictionary *)valueDict { @@ -182231,7 +182231,7 @@ @implementation DBTEAMLOGTeamSelectiveSyncSettingsChangedDetailsSerializer jsonDict[@"previous_value"] = [DBFILESSyncSettingSerializer serialize:valueObj.previousValue]; jsonDict[@"new_value"] = [DBFILESSyncSettingSerializer serialize:valueObj.dNewValue]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTeamSelectiveSyncSettingsChangedDetails *)deserialize:(NSDictionary *)valueDict { @@ -182333,7 +182333,7 @@ @implementation DBTEAMLOGTeamSelectiveSyncSettingsChangedTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTeamSelectiveSyncSettingsChangedType *)deserialize:(NSDictionary *)valueDict { @@ -182453,7 +182453,7 @@ @implementation DBTEAMLOGTeamSharingWhitelistSubjectsChangedDetailsSerializer return elem0; }]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTeamSharingWhitelistSubjectsChangedDetails *)deserialize:(NSDictionary *)valueDict { @@ -182563,7 +182563,7 @@ @implementation DBTEAMLOGTeamSharingWhitelistSubjectsChangedTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTeamSharingWhitelistSubjectsChangedType *)deserialize:(NSDictionary *)valueDict { @@ -182654,7 +182654,7 @@ @implementation DBTEAMLOGTfaAddBackupPhoneDetailsSerializer #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTfaAddBackupPhoneDetails *)deserialize:(NSDictionary *)valueDict { @@ -182753,7 +182753,7 @@ @implementation DBTEAMLOGTfaAddBackupPhoneTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTfaAddBackupPhoneType *)deserialize:(NSDictionary *)valueDict { @@ -182844,7 +182844,7 @@ @implementation DBTEAMLOGTfaAddExceptionDetailsSerializer #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTfaAddExceptionDetails *)deserialize:(NSDictionary *)valueDict { @@ -182943,7 +182943,7 @@ @implementation DBTEAMLOGTfaAddExceptionTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTfaAddExceptionType *)deserialize:(NSDictionary *)valueDict { @@ -183034,7 +183034,7 @@ @implementation DBTEAMLOGTfaAddSecurityKeyDetailsSerializer #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTfaAddSecurityKeyDetails *)deserialize:(NSDictionary *)valueDict { @@ -183133,7 +183133,7 @@ @implementation DBTEAMLOGTfaAddSecurityKeyTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTfaAddSecurityKeyType *)deserialize:(NSDictionary *)valueDict { @@ -183224,7 +183224,7 @@ @implementation DBTEAMLOGTfaChangeBackupPhoneDetailsSerializer #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTfaChangeBackupPhoneDetails *)deserialize:(NSDictionary *)valueDict { @@ -183323,7 +183323,7 @@ @implementation DBTEAMLOGTfaChangeBackupPhoneTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTfaChangeBackupPhoneType *)deserialize:(NSDictionary *)valueDict { @@ -183440,7 +183440,7 @@ @implementation DBTEAMLOGTfaChangePolicyDetailsSerializer jsonDict[@"previous_value"] = [DBTEAMPOLICIESTwoStepVerificationPolicySerializer serialize:valueObj.previousValue]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTfaChangePolicyDetails *)deserialize:(NSDictionary *)valueDict { @@ -183544,7 +183544,7 @@ @implementation DBTEAMLOGTfaChangePolicyTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTfaChangePolicyType *)deserialize:(NSDictionary *)valueDict { @@ -183674,7 +183674,7 @@ @implementation DBTEAMLOGTfaChangeStatusDetailsSerializer jsonDict[@"used_rescue_code"] = valueObj.usedRescueCode; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTfaChangeStatusDetails *)deserialize:(NSDictionary *)valueDict { @@ -183779,7 +183779,7 @@ @implementation DBTEAMLOGTfaChangeStatusTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTfaChangeStatusType *)deserialize:(NSDictionary *)valueDict { @@ -183989,7 +183989,7 @@ @implementation DBTEAMLOGTfaConfigurationSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTfaConfiguration *)deserialize:(NSDictionary *)valueDict { @@ -184092,7 +184092,7 @@ @implementation DBTEAMLOGTfaRemoveBackupPhoneDetailsSerializer #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTfaRemoveBackupPhoneDetails *)deserialize:(NSDictionary *)valueDict { @@ -184191,7 +184191,7 @@ @implementation DBTEAMLOGTfaRemoveBackupPhoneTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTfaRemoveBackupPhoneType *)deserialize:(NSDictionary *)valueDict { @@ -184282,7 +184282,7 @@ @implementation DBTEAMLOGTfaRemoveExceptionDetailsSerializer #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTfaRemoveExceptionDetails *)deserialize:(NSDictionary *)valueDict { @@ -184381,7 +184381,7 @@ @implementation DBTEAMLOGTfaRemoveExceptionTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTfaRemoveExceptionType *)deserialize:(NSDictionary *)valueDict { @@ -184472,7 +184472,7 @@ @implementation DBTEAMLOGTfaRemoveSecurityKeyDetailsSerializer #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTfaRemoveSecurityKeyDetails *)deserialize:(NSDictionary *)valueDict { @@ -184571,7 +184571,7 @@ @implementation DBTEAMLOGTfaRemoveSecurityKeyTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTfaRemoveSecurityKeyType *)deserialize:(NSDictionary *)valueDict { @@ -184662,7 +184662,7 @@ @implementation DBTEAMLOGTfaResetDetailsSerializer #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTfaResetDetails *)deserialize:(NSDictionary *)valueDict { @@ -184761,7 +184761,7 @@ @implementation DBTEAMLOGTfaResetTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTfaResetType *)deserialize:(NSDictionary *)valueDict { @@ -185055,7 +185055,7 @@ @implementation DBTEAMLOGTimeUnitSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTimeUnit *)deserialize:(NSDictionary *)valueDict { @@ -185235,7 +185235,7 @@ @implementation DBTEAMLOGTrustedNonTeamMemberLogInfoSerializer jsonDict[@"team"] = [DBTEAMLOGTeamLogInfoSerializer serialize:valueObj.team]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTrustedNonTeamMemberLogInfo *)deserialize:(NSDictionary *)valueDict { @@ -185413,7 +185413,7 @@ @implementation DBTEAMLOGTrustedNonTeamMemberTypeSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTrustedNonTeamMemberType *)deserialize:(NSDictionary *)valueDict { @@ -185652,7 +185652,7 @@ @implementation DBTEAMLOGTrustedTeamsRequestActionSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTrustedTeamsRequestAction *)deserialize:(NSDictionary *)valueDict { @@ -185855,7 +185855,7 @@ @implementation DBTEAMLOGTrustedTeamsRequestStateSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTrustedTeamsRequestState *)deserialize:(NSDictionary *)valueDict { @@ -185983,7 +185983,7 @@ @implementation DBTEAMLOGTwoAccountChangePolicyDetailsSerializer jsonDict[@"previous_value"] = [DBTEAMLOGTwoAccountPolicySerializer serialize:valueObj.previousValue]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTwoAccountChangePolicyDetails *)deserialize:(NSDictionary *)valueDict { @@ -186085,7 +186085,7 @@ @implementation DBTEAMLOGTwoAccountChangePolicyTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTwoAccountChangePolicyType *)deserialize:(NSDictionary *)valueDict { @@ -186253,7 +186253,7 @@ @implementation DBTEAMLOGTwoAccountPolicySerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGTwoAccountPolicy *)deserialize:(NSDictionary *)valueDict { @@ -186352,7 +186352,7 @@ @implementation DBTEAMLOGUndoNamingConventionDetailsSerializer #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGUndoNamingConventionDetails *)deserialize:(NSDictionary *)valueDict { @@ -186451,7 +186451,7 @@ @implementation DBTEAMLOGUndoNamingConventionTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGUndoNamingConventionType *)deserialize:(NSDictionary *)valueDict { @@ -186543,7 +186543,7 @@ @implementation DBTEAMLOGUndoOrganizeFolderWithTidyDetailsSerializer #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGUndoOrganizeFolderWithTidyDetails *)deserialize:(NSDictionary *)valueDict { @@ -186643,7 +186643,7 @@ @implementation DBTEAMLOGUndoOrganizeFolderWithTidyTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGUndoOrganizeFolderWithTidyType *)deserialize:(NSDictionary *)valueDict { @@ -186762,7 +186762,7 @@ @implementation DBTEAMLOGUserLinkedAppLogInfoSerializer jsonDict[@"display_name"] = valueObj.displayName; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGUserLinkedAppLogInfo *)deserialize:(NSDictionary *)valueDict { @@ -186885,7 +186885,7 @@ @implementation DBTEAMLOGUserNameLogInfoSerializer jsonDict[@"locale"] = valueObj.locale; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGUserNameLogInfo *)deserialize:(NSDictionary *)valueDict { @@ -187006,7 +187006,7 @@ @implementation DBTEAMLOGUserOrTeamLinkedAppLogInfoSerializer jsonDict[@"display_name"] = valueObj.displayName; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGUserOrTeamLinkedAppLogInfo *)deserialize:(NSDictionary *)valueDict { @@ -187112,7 +187112,7 @@ @implementation DBTEAMLOGUserTagsAddedDetailsSerializer return elem0; }]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGUserTagsAddedDetails *)deserialize:(NSDictionary *)valueDict { @@ -187214,7 +187214,7 @@ @implementation DBTEAMLOGUserTagsAddedTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGUserTagsAddedType *)deserialize:(NSDictionary *)valueDict { @@ -187319,7 +187319,7 @@ @implementation DBTEAMLOGUserTagsRemovedDetailsSerializer return elem0; }]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGUserTagsRemovedDetails *)deserialize:(NSDictionary *)valueDict { @@ -187421,7 +187421,7 @@ @implementation DBTEAMLOGUserTagsRemovedTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGUserTagsRemovedType *)deserialize:(NSDictionary *)valueDict { @@ -187529,7 +187529,7 @@ @implementation DBTEAMLOGViewerInfoPolicyChangedDetailsSerializer jsonDict[@"previous_value"] = [DBTEAMLOGPassPolicySerializer serialize:valueObj.previousValue]; jsonDict[@"new_value"] = [DBTEAMLOGPassPolicySerializer serialize:valueObj.dNewValue]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGViewerInfoPolicyChangedDetails *)deserialize:(NSDictionary *)valueDict { @@ -187629,7 +187629,7 @@ @implementation DBTEAMLOGViewerInfoPolicyChangedTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGViewerInfoPolicyChangedType *)deserialize:(NSDictionary *)valueDict { @@ -187797,7 +187797,7 @@ @implementation DBTEAMLOGWatermarkingPolicySerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGWatermarkingPolicy *)deserialize:(NSDictionary *)valueDict { @@ -187914,7 +187914,7 @@ @implementation DBTEAMLOGWatermarkingPolicyChangedDetailsSerializer jsonDict[@"new_value"] = [DBTEAMLOGWatermarkingPolicySerializer serialize:valueObj.dNewValue]; jsonDict[@"previous_value"] = [DBTEAMLOGWatermarkingPolicySerializer serialize:valueObj.previousValue]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGWatermarkingPolicyChangedDetails *)deserialize:(NSDictionary *)valueDict { @@ -188016,7 +188016,7 @@ @implementation DBTEAMLOGWatermarkingPolicyChangedTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGWatermarkingPolicyChangedType *)deserialize:(NSDictionary *)valueDict { @@ -188186,7 +188186,7 @@ @implementation DBTEAMLOGWebDeviceSessionLogInfoSerializer jsonDict[@"session_info"] = [DBTEAMLOGWebSessionLogInfoSerializer serialize:valueObj.sessionInfo]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGWebDeviceSessionLogInfo *)deserialize:(NSDictionary *)valueDict { @@ -188311,7 +188311,7 @@ @implementation DBTEAMLOGWebSessionLogInfoSerializer jsonDict[@"session_id"] = valueObj.sessionId; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGWebSessionLogInfo *)deserialize:(NSDictionary *)valueDict { @@ -188418,7 +188418,7 @@ @implementation DBTEAMLOGWebSessionsChangeActiveSessionLimitDetailsSerializer jsonDict[@"previous_value"] = valueObj.previousValue; jsonDict[@"new_value"] = valueObj.dNewValue; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGWebSessionsChangeActiveSessionLimitDetails *)deserialize:(NSDictionary *)valueDict { @@ -188520,7 +188520,7 @@ @implementation DBTEAMLOGWebSessionsChangeActiveSessionLimitTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGWebSessionsChangeActiveSessionLimitType *)deserialize:(NSDictionary *)valueDict { @@ -188643,7 +188643,7 @@ @implementation DBTEAMLOGWebSessionsChangeFixedLengthPolicyDetailsSerializer jsonDict[@"previous_value"] = [DBTEAMLOGWebSessionsFixedLengthPolicySerializer serialize:valueObj.previousValue]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGWebSessionsChangeFixedLengthPolicyDetails *)deserialize:(NSDictionary *)valueDict { @@ -188750,7 +188750,7 @@ @implementation DBTEAMLOGWebSessionsChangeFixedLengthPolicyTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGWebSessionsChangeFixedLengthPolicyType *)deserialize:(NSDictionary *)valueDict { @@ -188873,7 +188873,7 @@ @implementation DBTEAMLOGWebSessionsChangeIdleLengthPolicyDetailsSerializer jsonDict[@"previous_value"] = [DBTEAMLOGWebSessionsIdleLengthPolicySerializer serialize:valueObj.previousValue]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGWebSessionsChangeIdleLengthPolicyDetails *)deserialize:(NSDictionary *)valueDict { @@ -188980,7 +188980,7 @@ @implementation DBTEAMLOGWebSessionsChangeIdleLengthPolicyTypeSerializer jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGWebSessionsChangeIdleLengthPolicyType *)deserialize:(NSDictionary *)valueDict { @@ -189162,7 +189162,7 @@ @implementation DBTEAMLOGWebSessionsFixedLengthPolicySerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGWebSessionsFixedLengthPolicy *)deserialize:(NSDictionary *)valueDict { @@ -189353,7 +189353,7 @@ @implementation DBTEAMLOGWebSessionsIdleLengthPolicySerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMLOGWebSessionsIdleLengthPolicy *)deserialize:(NSDictionary *)valueDict { diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/DBTeamPoliciesObjects.m b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/DBTeamPoliciesObjects.m index 41a954824..65e119fda 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/DBTeamPoliciesObjects.m +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/DBTeamPoliciesObjects.m @@ -163,7 +163,7 @@ @implementation DBTEAMPOLICIESCameraUploadsPolicyStateSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMPOLICIESCameraUploadsPolicyState *)deserialize:(NSDictionary *)valueDict { @@ -360,7 +360,7 @@ @implementation DBTEAMPOLICIESComputerBackupPolicyStateSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMPOLICIESComputerBackupPolicyState *)deserialize:(NSDictionary *)valueDict { @@ -559,7 +559,7 @@ @implementation DBTEAMPOLICIESEmmStateSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMPOLICIESEmmState *)deserialize:(NSDictionary *)valueDict { @@ -759,7 +759,7 @@ @implementation DBTEAMPOLICIESExternalDriveBackupPolicyStateSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMPOLICIESExternalDriveBackupPolicyState *)deserialize:(NSDictionary *)valueDict { @@ -937,7 +937,7 @@ @implementation DBTEAMPOLICIESFileLockingPolicyStateSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMPOLICIESFileLockingPolicyState *)deserialize:(NSDictionary *)valueDict { @@ -1135,7 +1135,7 @@ @implementation DBTEAMPOLICIESFileProviderMigrationPolicyStateSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMPOLICIESFileProviderMigrationPolicyState *)deserialize:(NSDictionary *)valueDict { @@ -1294,7 +1294,7 @@ @implementation DBTEAMPOLICIESGroupCreationSerializer userInfo:nil]); } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMPOLICIESGroupCreation *)deserialize:(NSDictionary *)valueDict { @@ -1471,7 +1471,7 @@ @implementation DBTEAMPOLICIESOfficeAddInPolicySerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMPOLICIESOfficeAddInPolicy *)deserialize:(NSDictionary *)valueDict { @@ -1647,7 +1647,7 @@ @implementation DBTEAMPOLICIESPaperDefaultFolderPolicySerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMPOLICIESPaperDefaultFolderPolicy *)deserialize:(NSDictionary *)valueDict { @@ -1823,7 +1823,7 @@ @implementation DBTEAMPOLICIESPaperDeploymentPolicySerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMPOLICIESPaperDeploymentPolicy *)deserialize:(NSDictionary *)valueDict { @@ -1999,7 +1999,7 @@ @implementation DBTEAMPOLICIESPaperDesktopPolicySerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMPOLICIESPaperDesktopPolicy *)deserialize:(NSDictionary *)valueDict { @@ -2196,7 +2196,7 @@ @implementation DBTEAMPOLICIESPaperEnabledPolicySerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMPOLICIESPaperEnabledPolicy *)deserialize:(NSDictionary *)valueDict { @@ -2374,7 +2374,7 @@ @implementation DBTEAMPOLICIESPasswordControlModeSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMPOLICIESPasswordControlMode *)deserialize:(NSDictionary *)valueDict { @@ -2571,7 +2571,7 @@ @implementation DBTEAMPOLICIESPasswordStrengthPolicySerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMPOLICIESPasswordStrengthPolicy *)deserialize:(NSDictionary *)valueDict { @@ -2751,7 +2751,7 @@ @implementation DBTEAMPOLICIESRolloutMethodSerializer userInfo:nil]); } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMPOLICIESRolloutMethod *)deserialize:(NSDictionary *)valueDict { @@ -2931,7 +2931,7 @@ @implementation DBTEAMPOLICIESSharedFolderBlanketLinkRestrictionPolicySerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMPOLICIESSharedFolderBlanketLinkRestrictionPolicy *)deserialize:(NSDictionary *)valueDict { @@ -3107,7 +3107,7 @@ @implementation DBTEAMPOLICIESSharedFolderJoinPolicySerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMPOLICIESSharedFolderJoinPolicy *)deserialize:(NSDictionary *)valueDict { @@ -3283,7 +3283,7 @@ @implementation DBTEAMPOLICIESSharedFolderMemberPolicySerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMPOLICIESSharedFolderMemberPolicy *)deserialize:(NSDictionary *)valueDict { @@ -3501,7 +3501,7 @@ @implementation DBTEAMPOLICIESSharedLinkCreatePolicySerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMPOLICIESSharedLinkCreatePolicy *)deserialize:(NSDictionary *)valueDict { @@ -3681,7 +3681,7 @@ @implementation DBTEAMPOLICIESShowcaseDownloadPolicySerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMPOLICIESShowcaseDownloadPolicy *)deserialize:(NSDictionary *)valueDict { @@ -3857,7 +3857,7 @@ @implementation DBTEAMPOLICIESShowcaseEnabledPolicySerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMPOLICIESShowcaseEnabledPolicy *)deserialize:(NSDictionary *)valueDict { @@ -4034,7 +4034,7 @@ @implementation DBTEAMPOLICIESShowcaseExternalSharingPolicySerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMPOLICIESShowcaseExternalSharingPolicy *)deserialize:(NSDictionary *)valueDict { @@ -4210,7 +4210,7 @@ @implementation DBTEAMPOLICIESSmartSyncPolicySerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMPOLICIESSmartSyncPolicy *)deserialize:(NSDictionary *)valueDict { @@ -4386,7 +4386,7 @@ @implementation DBTEAMPOLICIESSmarterSmartSyncPolicyStateSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMPOLICIESSmarterSmartSyncPolicyState *)deserialize:(NSDictionary *)valueDict { @@ -4583,7 +4583,7 @@ @implementation DBTEAMPOLICIESSsoPolicySerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMPOLICIESSsoPolicy *)deserialize:(NSDictionary *)valueDict { @@ -4761,7 +4761,7 @@ @implementation DBTEAMPOLICIESSuggestMembersPolicySerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMPOLICIESSuggestMembersPolicy *)deserialize:(NSDictionary *)valueDict { @@ -4897,7 +4897,7 @@ @implementation DBTEAMPOLICIESTeamMemberPoliciesSerializer jsonDict[@"suggest_members_policy"] = [DBTEAMPOLICIESSuggestMembersPolicySerializer serialize:valueObj.suggestMembersPolicy]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMPOLICIESTeamMemberPolicies *)deserialize:(NSDictionary *)valueDict { @@ -5047,7 +5047,7 @@ @implementation DBTEAMPOLICIESTeamSharingPoliciesSerializer jsonDict[@"shared_folder_link_restriction_policy"] = [DBTEAMPOLICIESSharedFolderBlanketLinkRestrictionPolicySerializer serialize:valueObj.sharedFolderLinkRestrictionPolicy]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMPOLICIESTeamSharingPolicies *)deserialize:(NSDictionary *)valueDict { @@ -5229,7 +5229,7 @@ @implementation DBTEAMPOLICIESTwoStepVerificationPolicySerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMPOLICIESTwoStepVerificationPolicy *)deserialize:(NSDictionary *)valueDict { @@ -5426,7 +5426,7 @@ @implementation DBTEAMPOLICIESTwoStepVerificationStateSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBTEAMPOLICIESTwoStepVerificationState *)deserialize:(NSDictionary *)valueDict { diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Users/DBUsersObjects.m b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Users/DBUsersObjects.m index 0a1f81be7..d62741081 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Users/DBUsersObjects.m +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Users/DBUsersObjects.m @@ -153,7 +153,7 @@ @implementation DBUSERSAccountSerializer jsonDict[@"profile_photo_url"] = valueObj.profilePhotoUrl; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBUSERSAccount *)deserialize:(NSDictionary *)valueDict { @@ -345,7 +345,7 @@ @implementation DBUSERSBasicAccountSerializer jsonDict[@"team_member_id"] = valueObj.teamMemberId; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBUSERSBasicAccount *)deserialize:(NSDictionary *)valueDict { @@ -518,7 +518,7 @@ @implementation DBUSERSFileLockingValueSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBUSERSFileLockingValue *)deserialize:(NSDictionary *)valueDict { @@ -779,7 +779,7 @@ @implementation DBUSERSFullAccountSerializer jsonDict[@"team_member_id"] = valueObj.teamMemberId; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBUSERSFullAccount *)deserialize:(NSDictionary *)valueDict { @@ -911,7 +911,7 @@ @implementation DBUSERSTeamSerializer jsonDict[@"id"] = valueObj.id_; jsonDict[@"name"] = valueObj.name; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBUSERSTeam *)deserialize:(NSDictionary *)valueDict { @@ -1036,7 +1036,7 @@ @implementation DBUSERSFullTeamSerializer jsonDict[@"sharing_policies"] = [DBTEAMPOLICIESTeamSharingPoliciesSerializer serialize:valueObj.sharingPolicies]; jsonDict[@"office_addin_policy"] = [DBTEAMPOLICIESOfficeAddInPolicySerializer serialize:valueObj.officeAddinPolicy]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBUSERSFullTeam *)deserialize:(NSDictionary *)valueDict { @@ -1143,7 +1143,7 @@ @implementation DBUSERSGetAccountArgSerializer jsonDict[@"account_id"] = valueObj.accountId; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBUSERSGetAccountArg *)deserialize:(NSDictionary *)valueDict { @@ -1252,7 +1252,7 @@ @implementation DBUSERSGetAccountBatchArgSerializer return elem0; }]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBUSERSGetAccountBatchArg *)deserialize:(NSDictionary *)valueDict { @@ -1414,7 +1414,7 @@ @implementation DBUSERSGetAccountBatchErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBUSERSGetAccountBatchError *)deserialize:(NSDictionary *)valueDict { @@ -1568,7 +1568,7 @@ @implementation DBUSERSGetAccountErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBUSERSGetAccountError *)deserialize:(NSDictionary *)valueDict { @@ -1673,7 +1673,7 @@ @implementation DBUSERSIndividualSpaceAllocationSerializer jsonDict[@"allocated"] = valueObj.allocated; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBUSERSIndividualSpaceAllocation *)deserialize:(NSDictionary *)valueDict { @@ -1804,7 +1804,7 @@ @implementation DBUSERSNameSerializer jsonDict[@"display_name"] = valueObj.displayName; jsonDict[@"abbreviated_name"] = valueObj.abbreviatedName; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBUSERSName *)deserialize:(NSDictionary *)valueDict { @@ -1971,7 +1971,7 @@ @implementation DBUSERSPaperAsFilesValueSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBUSERSPaperAsFilesValue *)deserialize:(NSDictionary *)valueDict { @@ -2171,7 +2171,7 @@ @implementation DBUSERSSpaceAllocationSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBUSERSSpaceAllocation *)deserialize:(NSDictionary *)valueDict { @@ -2288,7 +2288,7 @@ @implementation DBUSERSSpaceUsageSerializer jsonDict[@"used"] = valueObj.used; jsonDict[@"allocation"] = [DBUSERSSpaceAllocationSerializer serialize:valueObj.allocation]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBUSERSSpaceUsage *)deserialize:(NSDictionary *)valueDict { @@ -2422,7 +2422,7 @@ @implementation DBUSERSTeamSpaceAllocationSerializer [DBTEAMCOMMONMemberSpaceLimitTypeSerializer serialize:valueObj.userWithinTeamSpaceLimitType]; jsonDict[@"user_within_team_space_used_cached"] = valueObj.userWithinTeamSpaceUsedCached; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBUSERSTeamSpaceAllocation *)deserialize:(NSDictionary *)valueDict { @@ -2599,7 +2599,7 @@ @implementation DBUSERSUserFeatureSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBUSERSUserFeature *)deserialize:(NSDictionary *)valueDict { @@ -2800,7 +2800,7 @@ @implementation DBUSERSUserFeatureValueSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBUSERSUserFeatureValue *)deserialize:(NSDictionary *)valueDict { @@ -2917,7 +2917,7 @@ @implementation DBUSERSUserFeaturesGetValuesBatchArgSerializer return [DBUSERSUserFeatureSerializer serialize:elem0]; }]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBUSERSUserFeaturesGetValuesBatchArg *)deserialize:(NSDictionary *)valueDict { @@ -3069,7 +3069,7 @@ @implementation DBUSERSUserFeaturesGetValuesBatchErrorSerializer jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBUSERSUserFeaturesGetValuesBatchError *)deserialize:(NSDictionary *)valueDict { @@ -3182,7 +3182,7 @@ @implementation DBUSERSUserFeaturesGetValuesBatchResultSerializer return [DBUSERSUserFeatureValueSerializer serialize:elem0]; }]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBUSERSUserFeaturesGetValuesBatchResult *)deserialize:(NSDictionary *)valueDict { diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/UsersCommon/DBUsersCommonObjects.m b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/UsersCommon/DBUsersCommonObjects.m index 6ce5d5f76..6a7509c80 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/UsersCommon/DBUsersCommonObjects.m +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/UsersCommon/DBUsersCommonObjects.m @@ -165,7 +165,7 @@ @implementation DBUSERSCOMMONAccountTypeSerializer userInfo:nil]); } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } + (DBUSERSCOMMONAccountType *)deserialize:(NSDictionary *)valueDict { diff --git a/stone b/stone index e242f7f1b..934e989b8 160000 --- a/stone +++ b/stone @@ -1 +1 @@ -Subproject commit e242f7f1b103ec0cae29dfd148b8f223bb4ed94d +Subproject commit 934e989b8ae6737109e7ce06dd0ca9ad8f48b0f7