forked from shadowfacts/Tusker
26 lines
476 B
Swift
26 lines
476 B
Swift
|
//
|
||
|
// Mention.swift
|
||
|
// Pachyderm
|
||
|
//
|
||
|
// Created by Shadowfacts on 9/9/18.
|
||
|
// Copyright © 2018 Shadowfacts. All rights reserved.
|
||
|
//
|
||
|
|
||
|
import Foundation
|
||
|
|
||
|
public class Mention: Decodable, ClientModel {
|
||
|
var client: Client!
|
||
|
|
||
|
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
|
||
|
}
|
||
|
}
|