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