forked from shadowfacts/Tusker
26 lines
508 B
Swift
26 lines
508 B
Swift
//
|
|
// Mention.swift
|
|
// Pachyderm
|
|
//
|
|
// Created by Shadowfacts on 9/9/18.
|
|
// Copyright © 2018 Shadowfacts. All rights reserved.
|
|
//
|
|
|
|
import Foundation
|
|
import WebURL
|
|
|
|
public class Mention: Codable {
|
|
public let url: WebURL
|
|
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
|
|
}
|
|
}
|