2023-03-04 14:08:39 +01:00
|
|
|
//
|
|
|
|
// https://mczachurski.dev
|
|
|
|
// Copyright © 2023 Marcin Czachurski and the repository contributors.
|
2023-03-28 10:35:38 +02:00
|
|
|
// Licensed under the Apache License 2.0.
|
2023-03-04 14:08:39 +01:00
|
|
|
//
|
|
|
|
|
|
|
|
import Foundation
|
|
|
|
|
|
|
|
/// Information about trending hashtag.
|
|
|
|
public struct TagTrend: Codable {
|
|
|
|
|
|
|
|
/// Id number of tag.
|
|
|
|
public let id: Int
|
|
|
|
|
|
|
|
/// The value of the hashtag.
|
|
|
|
public let name: String
|
|
|
|
|
|
|
|
/// The value of the hashtag after the # sign.
|
|
|
|
public let hashtag: String
|
|
|
|
|
|
|
|
/// A link to the hashtag on the instance.
|
2023-03-07 16:45:44 +01:00
|
|
|
public let url: String?
|
2023-03-04 14:08:39 +01:00
|
|
|
|
|
|
|
/// Total uses of hashtag.
|
|
|
|
public let total: Int
|
|
|
|
}
|