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