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