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