2018-09-11 10:52:21 -04:00
|
|
|
//
|
|
|
|
// Mention.swift
|
|
|
|
// Pachyderm
|
|
|
|
//
|
|
|
|
// Created by Shadowfacts on 9/9/18.
|
|
|
|
// Copyright © 2018 Shadowfacts. All rights reserved.
|
|
|
|
//
|
|
|
|
|
|
|
|
import Foundation
|
|
|
|
|
2020-04-11 15:33:39 -04:00
|
|
|
public class Mention: Codable {
|
2018-09-11 10:52:21 -04:00
|
|
|
public let url: URL
|
|
|
|
public let username: String
|
|
|
|
public let acct: String
|
|
|
|
public let id: String
|
|
|
|
|
|
|
|
private enum CodingKeys: String, CodingKey {
|
|
|
|
case url
|
|
|
|
case username
|
|
|
|
case acct
|
|
|
|
case id
|
|
|
|
}
|
|
|
|
}
|