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