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