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