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