2 // MasterSlotItemMapper.swift
5 // Created by Hori,Masaki on 2017/02/23.
6 // Copyright © 2017年 Hori,Masaki. All rights reserved.
11 final class MasterSlotItemMapper: JSONMapper {
13 typealias ObjectType = MasterSlotItem
15 let apiResponse: APIResponse
16 let configuration = MappingConfiguration(entity: MasterSlotItem.entity,
17 dataKeys: ["api_data", "api_mst_slotitem"],
18 editorStore: ServerDataStore.oneTimeEditor(),
19 ignoreKeys: ["api_version"])
21 required init(_ apiResponse: APIResponse) {
23 self.apiResponse = apiResponse