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