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