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