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