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