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