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