aboutsummaryrefslogtreecommitdiffstats
path: root/WireGuard/Models/WireGuard.xcdatamodeld/WireGuard.xcdatamodel/contents
blob: eeb1155da08b2cafb55aec3276c7310f66d82b71 (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
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<model type="com.apple.IDECoreDataModeler.DataModel" documentVersion="1.0" lastSavedToolsVersion="14315.18" systemVersion="18A391" minimumToolsVersion="Automatic" sourceLanguage="Swift" userDefinedModelVersionIdentifier="">
    <entity name="Interface" representedClassName="Interface" syncable="YES">
        <attribute name="addresses" optional="YES" attributeType="String" syncable="YES"/>
        <attribute name="dns" optional="YES" attributeType="String" syncable="YES"/>
        <attribute name="listenPort" optional="YES" attributeType="Integer 16" usesScalarValueType="YES" syncable="YES"/>
        <attribute name="mtu" optional="YES" attributeType="Integer 32" usesScalarValueType="YES" syncable="YES"/>
        <attribute name="privateKey" attributeType="String" syncable="YES"/>
        <relationship name="tunnel" maxCount="1" deletionRule="Nullify" destinationEntity="Tunnel" inverseName="interface" inverseEntity="Tunnel" syncable="YES"/>
    </entity>
    <entity name="Peer" representedClassName="Peer" syncable="YES">
        <attribute name="allowedIPs" attributeType="String" syncable="YES"/>
        <attribute name="endpoint" optional="YES" attributeType="String" syncable="YES"/>
        <attribute name="persistentKeepalive" attributeType="Integer 32" minValueString="0" maxValueString="65535" defaultValueString="0" usesScalarValueType="YES" syncable="YES"/>
        <attribute name="presharedKey" optional="YES" attributeType="String" syncable="YES"/>
        <attribute name="publicKey" attributeType="String" syncable="YES"/>
        <relationship name="tunnel" maxCount="1" deletionRule="Nullify" destinationEntity="Tunnel" inverseName="peers" inverseEntity="Tunnel" syncable="YES"/>
    </entity>
    <entity name="Tunnel" representedClassName="Tunnel" syncable="YES">
        <attribute name="title" optional="YES" attributeType="String" syncable="YES"/>
        <attribute name="tunnelIdentifier" attributeType="String" syncable="YES"/>
        <relationship name="interface" maxCount="1" deletionRule="Cascade" destinationEntity="Interface" inverseName="tunnel" inverseEntity="Interface" syncable="YES"/>
        <relationship name="peers" toMany="YES" deletionRule="Cascade" ordered="YES" destinationEntity="Peer" inverseName="tunnel" inverseEntity="Peer" syncable="YES"/>
    </entity>
    <elements>
        <element name="Interface" positionX="-54" positionY="-9" width="128" height="135"/>
        <element name="Peer" positionX="-36" positionY="9" width="128" height="135"/>
        <element name="Tunnel" positionX="160" positionY="192" width="128" height="105"/>
    </elements>
</model>