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