//
//  WdtLocationArray.swift
//  iOS_Test_App_2
//
//  Created by Demid Merzlyakov on 03.03.2021.
//  Copyright © 2021 Dynamix Software. All rights reserved.
//

import Foundation

/// Needed for XMLCoder to decode the array with the right key name
struct WdtLocationResponse: Codable {
    public let locations: [WdtLocation]
    
    private enum CodingKeys: String, CodingKey {
        /// This is actually a key that will be used for location individual elements.
        case locations = "location"
    }
}
