Alert

public struct Alert : Codable, Hashable
  • Declaration

    Swift

    public enum Severity : String, Codable
  • Declaration

    Swift

    public struct Action : Hashable
    extension TKAPI.Alert.Action: Codable
  • Declaration

    Swift

    public let title: String
  • Declaration

    Swift

    public let text: String?
  • url

    Declaration

    Swift

    public let url: URL?
  • Declaration

    Swift

    public let fromDate: Date?
  • Declaration

    Swift

    public let toDate: Date?
  • Declaration

    Swift

    public let lastUpdated: Date?
  • Declaration

    Swift

    public let remoteIcon: URL?
  • Declaration

    Swift

    public let severity: Severity
  • Declaration

    Swift

    public let hashCode: Int

Codable

  • Declaration

    Swift

    public init(from decoder: Decoder) throws