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