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