Skip to content

Commit

Permalink
Merge pull request #382 from shizam/master
Browse files Browse the repository at this point in the history
update to latest stone
  • Loading branch information
shizam authored May 16, 2024
2 parents 353be59 + b882e29 commit 1dd6694
Show file tree
Hide file tree
Showing 21 changed files with 2,016 additions and 2,016 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ @implementation DBACCOUNTPhotoSourceArgSerializer
jsonDict[@".tag"] = @"other";
}

return [jsonDict count] > 0 ? jsonDict : nil;
return jsonDict;
}

+ (DBACCOUNTPhotoSourceArg *)deserialize:(NSDictionary<NSString *, id> *)valueDict {
Expand Down Expand Up @@ -261,7 +261,7 @@ @implementation DBACCOUNTSetProfilePhotoArgSerializer

jsonDict[@"photo"] = [DBACCOUNTPhotoSourceArgSerializer serialize:valueObj.photo];

return [jsonDict count] > 0 ? jsonDict : nil;
return jsonDict;
}

+ (DBACCOUNTSetProfilePhotoArg *)deserialize:(NSDictionary<NSString *, id> *)valueDict {
Expand Down Expand Up @@ -492,7 +492,7 @@ @implementation DBACCOUNTSetProfilePhotoErrorSerializer
jsonDict[@".tag"] = @"other";
}

return [jsonDict count] > 0 ? jsonDict : nil;
return jsonDict;
}

+ (DBACCOUNTSetProfilePhotoError *)deserialize:(NSDictionary<NSString *, id> *)valueDict {
Expand Down Expand Up @@ -605,7 +605,7 @@ @implementation DBACCOUNTSetProfilePhotoResultSerializer

jsonDict[@"profile_photo_url"] = valueObj.profilePhotoUrl;

return [jsonDict count] > 0 ? jsonDict : nil;
return jsonDict;
}

+ (DBACCOUNTSetProfilePhotoResult *)deserialize:(NSDictionary<NSString *, id> *)valueDict {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ @implementation DBASYNCLaunchResultBaseSerializer
userInfo:nil]);
}

return [jsonDict count] > 0 ? jsonDict : nil;
return jsonDict;
}

+ (DBASYNCLaunchResultBase *)deserialize:(NSDictionary<NSString *, id> *)valueDict {
Expand Down Expand Up @@ -305,7 +305,7 @@ @implementation DBASYNCLaunchEmptyResultSerializer
userInfo:nil]);
}

return [jsonDict count] > 0 ? jsonDict : nil;
return jsonDict;
}

+ (DBASYNCLaunchEmptyResult *)deserialize:(NSDictionary<NSString *, id> *)valueDict {
Expand Down Expand Up @@ -414,7 +414,7 @@ @implementation DBASYNCPollArgSerializer

jsonDict[@"async_job_id"] = valueObj.asyncJobId;

return [jsonDict count] > 0 ? jsonDict : nil;
return jsonDict;
}

+ (DBASYNCPollArg *)deserialize:(NSDictionary<NSString *, id> *)valueDict {
Expand Down Expand Up @@ -542,7 +542,7 @@ @implementation DBASYNCPollResultBaseSerializer
userInfo:nil]);
}

return [jsonDict count] > 0 ? jsonDict : nil;
return jsonDict;
}

+ (DBASYNCPollResultBase *)deserialize:(NSDictionary<NSString *, id> *)valueDict {
Expand Down Expand Up @@ -699,7 +699,7 @@ @implementation DBASYNCPollEmptyResultSerializer
userInfo:nil]);
}

return [jsonDict count] > 0 ? jsonDict : nil;
return jsonDict;
}

+ (DBASYNCPollEmptyResult *)deserialize:(NSDictionary<NSString *, id> *)valueDict {
Expand Down Expand Up @@ -876,7 +876,7 @@ @implementation DBASYNCPollErrorSerializer
jsonDict[@".tag"] = @"other";
}

return [jsonDict count] > 0 ? jsonDict : nil;
return jsonDict;
}

+ (DBASYNCPollError *)deserialize:(NSDictionary<NSString *, id> *)valueDict {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ @implementation DBAUTHAccessErrorSerializer
jsonDict[@".tag"] = @"other";
}

return [jsonDict count] > 0 ? jsonDict : nil;
return jsonDict;
}

+ (DBAUTHAccessError *)deserialize:(NSDictionary<NSString *, id> *)valueDict {
Expand Down Expand Up @@ -488,7 +488,7 @@ @implementation DBAUTHAuthErrorSerializer
jsonDict[@".tag"] = @"other";
}

return [jsonDict count] > 0 ? jsonDict : nil;
return jsonDict;
}

+ (DBAUTHAuthError *)deserialize:(NSDictionary<NSString *, id> *)valueDict {
Expand Down Expand Up @@ -675,7 +675,7 @@ @implementation DBAUTHInvalidAccountTypeErrorSerializer
jsonDict[@".tag"] = @"other";
}

return [jsonDict count] > 0 ? jsonDict : nil;
return jsonDict;
}

+ (DBAUTHInvalidAccountTypeError *)deserialize:(NSDictionary<NSString *, id> *)valueDict {
Expand Down Expand Up @@ -851,7 +851,7 @@ @implementation DBAUTHPaperAccessErrorSerializer
jsonDict[@".tag"] = @"other";
}

return [jsonDict count] > 0 ? jsonDict : nil;
return jsonDict;
}

+ (DBAUTHPaperAccessError *)deserialize:(NSDictionary<NSString *, id> *)valueDict {
Expand Down Expand Up @@ -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<NSString *, id> *)valueDict {
Expand Down Expand Up @@ -1138,7 +1138,7 @@ @implementation DBAUTHRateLimitReasonSerializer
jsonDict[@".tag"] = @"other";
}

return [jsonDict count] > 0 ? jsonDict : nil;
return jsonDict;
}

+ (DBAUTHRateLimitReason *)deserialize:(NSDictionary<NSString *, id> *)valueDict {
Expand Down Expand Up @@ -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<NSString *, id> *)valueDict {
Expand Down Expand Up @@ -1422,7 +1422,7 @@ @implementation DBAUTHTokenFromOAuth1ErrorSerializer
jsonDict[@".tag"] = @"other";
}

return [jsonDict count] > 0 ? jsonDict : nil;
return jsonDict;
}

+ (DBAUTHTokenFromOAuth1Error *)deserialize:(NSDictionary<NSString *, id> *)valueDict {
Expand Down Expand Up @@ -1529,7 +1529,7 @@ @implementation DBAUTHTokenFromOAuth1ResultSerializer

jsonDict[@"oauth2_token"] = valueObj.oauth2Token;

return [jsonDict count] > 0 ? jsonDict : nil;
return jsonDict;
}

+ (DBAUTHTokenFromOAuth1Result *)deserialize:(NSDictionary<NSString *, id> *)valueDict {
Expand Down Expand Up @@ -1628,7 +1628,7 @@ @implementation DBAUTHTokenScopeErrorSerializer

jsonDict[@"required_scope"] = valueObj.requiredScope;

return [jsonDict count] > 0 ? jsonDict : nil;
return jsonDict;
}

+ (DBAUTHTokenScopeError *)deserialize:(NSDictionary<NSString *, id> *)valueDict {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ @implementation DBCHECKEchoArgSerializer

jsonDict[@"query"] = valueObj.query;

return [jsonDict count] > 0 ? jsonDict : nil;
return jsonDict;
}

+ (DBCHECKEchoArg *)deserialize:(NSDictionary<NSString *, id> *)valueDict {
Expand Down Expand Up @@ -199,7 +199,7 @@ @implementation DBCHECKEchoResultSerializer

jsonDict[@"result"] = valueObj.result;

return [jsonDict count] > 0 ? jsonDict : nil;
return jsonDict;
}

+ (DBCHECKEchoResult *)deserialize:(NSDictionary<NSString *, id> *)valueDict {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ @implementation DBCOMMONPathRootSerializer
jsonDict[@".tag"] = @"other";
}

return [jsonDict count] > 0 ? jsonDict : nil;
return jsonDict;
}

+ (DBCOMMONPathRoot *)deserialize:(NSDictionary<NSString *, id> *)valueDict {
Expand Down Expand Up @@ -400,7 +400,7 @@ @implementation DBCOMMONPathRootErrorSerializer
jsonDict[@".tag"] = @"other";
}

return [jsonDict count] > 0 ? jsonDict : nil;
return jsonDict;
}

+ (DBCOMMONPathRootError *)deserialize:(NSDictionary<NSString *, id> *)valueDict {
Expand Down Expand Up @@ -533,7 +533,7 @@ @implementation DBCOMMONRootInfoSerializer
jsonDict[@".tag"] = @"user";
}

return [jsonDict count] > 0 ? jsonDict : nil;
return jsonDict;
}

+ (DBCOMMONRootInfo *)deserialize:(NSDictionary<NSString *, id> *)valueDict {
Expand Down Expand Up @@ -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<NSString *, id> *)valueDict {
Expand Down Expand Up @@ -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<NSString *, id> *)valueDict {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ @implementation DBCONTACTSDeleteManualContactsArgSerializer
return elem0;
}];

return [jsonDict count] > 0 ? jsonDict : nil;
return jsonDict;
}

+ (DBCONTACTSDeleteManualContactsArg *)deserialize:(NSDictionary<NSString *, id> *)valueDict {
Expand Down Expand Up @@ -273,7 +273,7 @@ @implementation DBCONTACTSDeleteManualContactsErrorSerializer
jsonDict[@".tag"] = @"other";
}

return [jsonDict count] > 0 ? jsonDict : nil;
return jsonDict;
}

+ (DBCONTACTSDeleteManualContactsError *)deserialize:(NSDictionary<NSString *, id> *)valueDict {
Expand Down
Loading

0 comments on commit 1dd6694

Please sign in to comment.