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