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