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