DBFILESSharedLinkSerializer
Objective-C
@interface DBFILESSharedLinkSerializer : NSObject
Swift
class DBFILESSharedLinkSerializer : NSObject
The serialization class for the SharedLink struct.
-
Serializes
DBFILESSharedLinkinstances.Declaration
Objective-C
+ (nullable NSDictionary<NSString *, id> *)serialize: (nonnull DBFILESSharedLink *)instance;Swift
class func serialize(_ instance: DBFILESSharedLink) -> [String : Any]?Parameters
instanceAn instance of the
DBFILESSharedLinkAPI object.Return Value
A json-compatible dictionary representation of the
DBFILESSharedLinkAPI object. -
Deserializes
DBFILESSharedLinkinstances.Declaration
Objective-C
+ (nonnull DBFILESSharedLink *)deserialize: (nonnull NSDictionary<NSString *, id> *)dict;Swift
class func deserialize(_ dict: [String : Any]) -> DBFILESSharedLinkParameters
dictA json-compatible dictionary representation of the
DBFILESSharedLinkAPI object.Return Value
An instantiation of the
DBFILESSharedLinkobject.
View on GitHub
DBFILESSharedLinkSerializer Class Reference