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