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