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