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