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