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