Tusker/Pachyderm/Sources/Pachyderm/Model/SearchResults.swift

22 lines
433 B
Swift

//
// SearchResults.swift
// Pachyderm
//
// Created by Shadowfacts on 9/9/18.
// Copyright © 2018 Shadowfacts. All rights reserved.
//
import Foundation
public class SearchResults: Decodable {
public let accounts: [Account]
public let statuses: [Status]
public let hashtags: [Hashtag]
private enum CodingKeys: String, CodingKey {
case accounts
case statuses
case hashtags
}
}