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