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