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