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