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