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