2018-05-23 20:13:09 +00:00
|
|
|
//
|
|
|
|
// Interface+CoreDataProperties.swift
|
2018-05-24 18:13:21 +00:00
|
|
|
// WireGuard
|
2018-05-23 20:13:09 +00:00
|
|
|
//
|
2018-05-24 04:21:46 +00:00
|
|
|
// Created by Jeroen Leenarts on 24-05-18.
|
2018-05-24 18:13:21 +00:00
|
|
|
// Copyright © 2018 WireGuard. All rights reserved.
|
2018-05-23 20:13:09 +00:00
|
|
|
//
|
|
|
|
//
|
|
|
|
|
|
|
|
import Foundation
|
|
|
|
import CoreData
|
|
|
|
|
|
|
|
extension Interface {
|
|
|
|
|
|
|
|
@nonobjc public class func fetchRequest() -> NSFetchRequest<Interface> {
|
|
|
|
return NSFetchRequest<Interface>(entityName: "Interface")
|
|
|
|
}
|
|
|
|
|
|
|
|
@NSManaged public var fwMark: Int32
|
2018-05-24 04:21:46 +00:00
|
|
|
@NSManaged public var listenPort: Int16
|
|
|
|
@NSManaged public var privateKey: String?
|
|
|
|
@NSManaged public var mtu: Int32
|
|
|
|
@NSManaged public var dns: String?
|
|
|
|
@NSManaged public var table: String?
|
2018-05-26 07:17:36 +00:00
|
|
|
@NSManaged public var tunnel: Tunnel?
|
2018-05-29 20:21:44 +00:00
|
|
|
@NSManaged public var publicKey: String?
|
2018-05-24 04:21:46 +00:00
|
|
|
@NSManaged public var adresses: NSSet?
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
// MARK: Generated accessors for adresses
|
|
|
|
extension Interface {
|
|
|
|
|
|
|
|
@objc(addAdressesObject:)
|
|
|
|
@NSManaged public func addToAdresses(_ value: Address)
|
|
|
|
|
|
|
|
@objc(removeAdressesObject:)
|
|
|
|
@NSManaged public func removeFromAdresses(_ value: Address)
|
|
|
|
|
|
|
|
@objc(addAdresses:)
|
|
|
|
@NSManaged public func addToAdresses(_ values: NSSet)
|
|
|
|
|
|
|
|
@objc(removeAdresses:)
|
|
|
|
@NSManaged public func removeFromAdresses(_ values: NSSet)
|
2018-05-23 20:13:09 +00:00
|
|
|
|
|
|
|
}
|