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