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