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