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