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