2018-05-23 20:13:09 +00:00
|
|
|
//
|
2018-09-16 19:17:54 +00:00
|
|
|
// Copyright © 2018 WireGuard LLC. All rights reserved.
|
2018-05-23 20:13:09 +00:00
|
|
|
//
|
|
|
|
|
|
|
|
import Foundation
|
|
|
|
import CoreData
|
|
|
|
|
|
|
|
extension Peer {
|
|
|
|
|
|
|
|
@nonobjc public class func fetchRequest() -> NSFetchRequest<Peer> {
|
|
|
|
return NSFetchRequest<Peer>(entityName: "Peer")
|
|
|
|
}
|
|
|
|
|
|
|
|
@NSManaged public var publicKey: String?
|
|
|
|
@NSManaged public var presharedKey: String?
|
|
|
|
@NSManaged public var allowedIPs: String?
|
|
|
|
@NSManaged public var endpoint: String?
|
2018-08-15 22:34:16 +00:00
|
|
|
@NSManaged public var persistentKeepalive: Int32
|
2018-05-26 07:17:36 +00:00
|
|
|
@NSManaged public var tunnel: Tunnel?
|
2018-05-23 20:13:09 +00:00
|
|
|
|
|
|
|
}
|