NetNewsWire/Frameworks/Account/ReaderAPI/ReaderAPIUnreadEntry.swift

28 lines
461 B
Swift
Raw Normal View History

//
// ReaderAPIUnreadEntry.swift
// Account
//
2019-06-19 13:56:25 +02:00
// Created by Jeremy Beker on 5/28/19.
// Copyright © 2019 Ranchero Software, LLC. All rights reserved.
//
import Foundation
struct ReaderAPIReferenceWrapper: Codable {
let itemRefs: [ReaderAPIReference]
2019-06-10 22:53:35 +02:00
enum CodingKeys: String, CodingKey {
case itemRefs = "itemRefs"
}
}
struct ReaderAPIReference: Codable {
2019-06-10 22:53:35 +02:00
let itemId: String
enum CodingKeys: String, CodingKey {
2019-06-10 22:53:35 +02:00
case itemId = "id"
}
}