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