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