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