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