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