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