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