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