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