aboutsummaryrefslogtreecommitdiffstats
path: root/Wireguard/Models/Profile+CoreDataProperties.swift
blob: 91ed2b4faa543eb94b6465c8b805f8bb6b859da2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
//
//  Profile+CoreDataProperties.swift
//  Wireguard
//
//  Created by Jeroen Leenarts on 23-05-18.
//  Copyright © 2018 Wireguard. All rights reserved.
//
//

import Foundation
import CoreData

extension Profile {

    @nonobjc public class func fetchRequest() -> NSFetchRequest<Profile> {
        return NSFetchRequest<Profile>(entityName: "Profile")
    }

    @NSManaged public var title: String?
    @NSManaged public var peers: NSSet?
    @NSManaged public var interface: Interface?

}

// MARK: Generated accessors for peers
extension Profile {

    @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)

}