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