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