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