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