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