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