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