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