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