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