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