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