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