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