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