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