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