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