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