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