mirror of
https://github.com/metabolist/metatext.git
synced 2024-05-31 22:58:04 +00:00
19 lines
699 B
Swift
19 lines
699 B
Swift
// Copyright © 2020 Metabolist. All rights reserved.
|
|
|
|
import Foundation
|
|
|
|
public struct Relationship: Codable, Hashable {
|
|
public let id: Account.Id
|
|
public let following: Bool
|
|
public let requested: Bool
|
|
@DecodableDefault.False public private(set) var endorsed: Bool
|
|
public let followedBy: Bool
|
|
public let muting: Bool
|
|
@DecodableDefault.False public private(set) var mutingNotifications: Bool
|
|
@DecodableDefault.False public private(set) var showingReblogs: Bool
|
|
public let blocking: Bool
|
|
public let domainBlocking: Bool
|
|
@DecodableDefault.False public private(set) var blockedBy: Bool
|
|
@DecodableDefault.EmptyString public private(set) var note: String
|
|
}
|