NetNewsWire/Frameworks/Account/GoogleReaderCompatible/GoogleReaderCompatibleTag.s...

44 lines
681 B
Swift
Raw Normal View History

//
// GoogleReaderCompatibleTag.swift
// Account
//
// Created by Maurice Parker on 5/5/19.
// Copyright © 2019 Ranchero Software, LLC. All rights reserved.
//
import Foundation
struct GoogleReaderCompatibleTag: Codable {
let tagID: Int
let name: String
enum CodingKeys: String, CodingKey {
case tagID = "id"
case name = "name"
}
}
struct GoogleReaderCompatibleRenameTag: Codable {
let oldName: String
let newName: String
enum CodingKeys: String, CodingKey {
case oldName = "old_name"
case newName = "new_name"
}
}
struct GoogleReaderCompatibleDeleteTag: Codable {
let name: String
enum CodingKeys: String, CodingKey {
case name
}
}