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