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