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