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