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