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