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