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