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