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