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