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