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