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