NetNewsWire/Frameworks/Account/Feedbin/FeedbinTag.swift

44 lines
621 B
Swift
Raw Normal View History

2019-05-05 22:41:20 +02:00
//
// FeedbinTag.swift
// Account
//
// Created by Maurice Parker on 5/5/19.
// Copyright © 2019 Ranchero Software, LLC. All rights reserved.
//
import Foundation
struct FeedbinTag: Codable {
2019-05-05 22:41:20 +02:00
let tagID: Int
let name: String
enum CodingKeys: String, CodingKey {
case tagID = "id"
case name = "name"
}
}
2019-05-07 00:34:41 +02:00
struct FeedbinRenameTag: Codable {
let oldName: String
let newName: String
enum CodingKeys: String, CodingKey {
case oldName = "old_name"
case newName = "new_name"
}
}
struct FeedbinDeleteTag: Codable {
let name: String
enum CodingKeys: String, CodingKey {
case name
}
}