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