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