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