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