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