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