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