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