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