2018-05-23 19:49:10 +00:00
|
|
|
//
|
2018-05-26 07:17:36 +00:00
|
|
|
// Tunnel+CoreDataProperties.swift
|
2018-05-24 18:13:21 +00:00
|
|
|
// WireGuard
|
2018-05-23 19:49:10 +00:00
|
|
|
//
|
|
|
|
// Created by Jeroen Leenarts on 23-05-18.
|
2018-05-24 18:13:21 +00:00
|
|
|
// Copyright © 2018 WireGuard. All rights reserved.
|
2018-05-23 19:49:10 +00:00
|
|
|
//
|
|
|
|
//
|
|
|
|
|
|
|
|
import Foundation
|
|
|
|
import CoreData
|
|
|
|
|
2018-05-26 07:17:36 +00:00
|
|
|
extension Tunnel {
|
2018-05-23 19:49:10 +00:00
|
|
|
|
2018-05-26 07:17:36 +00:00
|
|
|
@nonobjc public class func fetchRequest() -> NSFetchRequest<Tunnel> {
|
|
|
|
return NSFetchRequest<Tunnel>(entityName: "Tunnel")
|
2018-05-23 19:49:10 +00:00
|
|
|
}
|
|
|
|
|
2018-05-23 20:13:09 +00:00
|
|
|
@NSManaged public var title: String?
|
|
|
|
@NSManaged public var peers: NSSet?
|
|
|
|
@NSManaged public var interface: Interface?
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
// MARK: Generated accessors for peers
|
2018-05-26 07:17:36 +00:00
|
|
|
extension Tunnel {
|
2018-05-23 20:13:09 +00:00
|
|
|
|
|
|
|
@objc(addPeersObject:)
|
|
|
|
@NSManaged public func addToPeers(_ value: Peer)
|
|
|
|
|
|
|
|
@objc(removePeersObject:)
|
|
|
|
@NSManaged public func removeFromPeers(_ value: Peer)
|
|
|
|
|
|
|
|
@objc(addPeers:)
|
|
|
|
@NSManaged public func addToPeers(_ values: NSSet)
|
|
|
|
|
|
|
|
@objc(removePeers:)
|
|
|
|
@NSManaged public func removeFromPeers(_ values: NSSet)
|
|
|
|
|
2018-05-23 19:49:10 +00:00
|
|
|
}
|