DBSHARINGListFoldersResultSerializer
Objective-C
@interface DBSHARINGListFoldersResultSerializer : NSObject
Swift
class DBSHARINGListFoldersResultSerializer : NSObject
The serialization class for the ListFoldersResult
struct.
-
Serializes
DBSHARINGListFoldersResult
instances.Declaration
Objective-C
+ (nullable NSDictionary<NSString *, id> *)serialize: (nonnull DBSHARINGListFoldersResult *)instance;
Swift
class func serialize(_ instance: DBSHARINGListFoldersResult) -> [String : Any]?
Parameters
instance
An instance of the
DBSHARINGListFoldersResult
API object.Return Value
A json-compatible dictionary representation of the
DBSHARINGListFoldersResult
API object. -
Deserializes
DBSHARINGListFoldersResult
instances.Declaration
Objective-C
+ (nonnull DBSHARINGListFoldersResult *)deserialize: (nonnull NSDictionary<NSString *, id> *)dict;
Swift
class func deserialize(_ dict: [String : Any]) -> DBSHARINGListFoldersResult
Parameters
dict
A json-compatible dictionary representation of the
DBSHARINGListFoldersResult
API object.Return Value
An instantiation of the
DBSHARINGListFoldersResult
object.