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