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