DBFILESPathOrLinkSerializer
Objective-C
@interface DBFILESPathOrLinkSerializer : NSObject
Swift
class DBFILESPathOrLinkSerializer : NSObject
The serialization class for the DBFILESPathOrLink union.
-
Serializes
DBFILESPathOrLinkinstances.Declaration
Objective-C
+ (nullable NSDictionary<NSString *, id> *)serialize: (nonnull DBFILESPathOrLink *)instance;Swift
class func serialize(_ instance: DBFILESPathOrLink) -> [String : Any]?Parameters
instanceAn instance of the
DBFILESPathOrLinkAPI object.Return Value
A json-compatible dictionary representation of the
DBFILESPathOrLinkAPI object. -
Deserializes
DBFILESPathOrLinkinstances.Declaration
Objective-C
+ (nonnull DBFILESPathOrLink *)deserialize: (nonnull NSDictionary<NSString *, id> *)dict;Swift
class func deserialize(_ dict: [String : Any]) -> DBFILESPathOrLinkParameters
dictA json-compatible dictionary representation of the
DBFILESPathOrLinkAPI object.Return Value
An instantiation of the
DBFILESPathOrLinkobject.
View on GitHub
DBFILESPathOrLinkSerializer Class Reference