NetNewsWire/Frameworks/Account/ReaderAPI/ReaderAPITag.swift

30 lines
473 B
Swift

//
// ReaderAPICompatibleTag.swift
// Account
//
// Created by Jeremy Beker on 5/28/19.
// Copyright © 2019 Ranchero Software, LLC. All rights reserved.
//
import Foundation
struct ReaderAPITagContainer: Codable {
let tags: [ReaderAPITag]
enum CodingKeys: String, CodingKey {
case tags = "tags"
}
}
struct ReaderAPITag: Codable {
let tagID: String
let type: String?
enum CodingKeys: String, CodingKey {
case tagID = "id"
case type = "type"
}
}