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