DBSHARINGJobErrorSerializer
Objective-C
@interface DBSHARINGJobErrorSerializer : NSObject
Swift
class DBSHARINGJobErrorSerializer : NSObject
The serialization class for the DBSHARINGJobError union.
-
Serializes
DBSHARINGJobErrorinstances.Declaration
Objective-C
+ (nullable NSDictionary<NSString *, id> *)serialize: (nonnull DBSHARINGJobError *)instance;Swift
class func serialize(_ instance: DBSHARINGJobError) -> [String : Any]?Parameters
instanceAn instance of the
DBSHARINGJobErrorAPI object.Return Value
A json-compatible dictionary representation of the
DBSHARINGJobErrorAPI object. -
Deserializes
DBSHARINGJobErrorinstances.Declaration
Objective-C
+ (nonnull DBSHARINGJobError *)deserialize: (nonnull NSDictionary<NSString *, id> *)dict;Swift
class func deserialize(_ dict: [String : Any]) -> DBSHARINGJobErrorParameters
dictA json-compatible dictionary representation of the
DBSHARINGJobErrorAPI object.Return Value
An instantiation of the
DBSHARINGJobErrorobject.
View on GitHub
DBSHARINGJobErrorSerializer Class Reference