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