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