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