NetNewsWire/Frameworks/Account/ReaderAPI/ReaderAPITag.swift

30 lines
473 B
Swift
Raw Normal View History

//
// ReaderAPICompatibleTag.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 ReaderAPITagContainer: Codable {
let tags: [ReaderAPITag]
2019-05-30 22:01:56 +02:00
enum CodingKeys: String, CodingKey {
case tags = "tags"
}
}
struct ReaderAPITag: Codable {
2019-05-30 22:01:56 +02:00
let tagID: String
let type: String?
enum CodingKeys: String, CodingKey {
case tagID = "id"
2019-05-30 22:01:56 +02:00
case type = "type"
}
}