2 // MasterSTypeMapper.swift
5 // Created by Hori,Masaki on 2017/02/22.
6 // Copyright © 2017年 Hori,Masaki. All rights reserved.
11 class MasterSTypeMapper: JSONMapper {
12 typealias ObjectType = MasterSType
14 let apiResponse: APIResponse
15 let configuration = MappingConfiguration(entity: MasterSType.entity,
16 dataKeys: ["api_data", "api_mst_stype"],
17 editorStore: ServerDataStore.oneTimeEditor(),
18 ignoreKeys: ["api_equip_type"])
20 required init(_ apiResponse: APIResponse) {
21 self.apiResponse = apiResponse