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