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