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