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