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