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