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