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