mirror of
https://github.com/mastodon/mastodon-ios.git
synced 2024-12-14 01:26:05 +01:00
32 lines
560 B
Swift
32 lines
560 B
Swift
//
|
|
// MastodonMention.swift
|
|
// CoreDataStack
|
|
//
|
|
// Created by MainasuK on 2022-1-17.
|
|
//
|
|
|
|
import Foundation
|
|
|
|
public final class MastodonMention: NSObject, Codable {
|
|
|
|
public typealias ID = String
|
|
|
|
public let id: ID
|
|
public let username: String
|
|
public let acct: String
|
|
public let url: String
|
|
|
|
public init(
|
|
id: MastodonMention.ID,
|
|
username: String,
|
|
acct: String,
|
|
url: String
|
|
) {
|
|
self.id = id
|
|
self.username = username
|
|
self.acct = acct
|
|
self.url = url
|
|
}
|
|
|
|
}
|