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