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