Tusker/Pachyderm/Model/Mention.swift

25 lines
491 B
Swift

//
// Mention.swift
// Pachyderm
//
// Created by Shadowfacts on 9/9/18.
// Copyright © 2018 Shadowfacts. All rights reserved.
//
import Foundation
public class Mention: Codable {
public let url: URL
public let username: String
public let acct: String
/// The instance-local ID of the user being mentioned.
public let id: String
private enum CodingKeys: String, CodingKey {
case url
case username
case acct
case id
}
}