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