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