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