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