summaryrefslogtreecommitdiffhomepage
path: root/ios/MullvadSettings/CustomList.swift
blob: 8f4e69803a022d3b4151b18ee53683b9aafe91c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
//
//  CustomList.swift
//  MullvadVPN
//
//  Created by Mojgan on 2024-01-25.
//  Copyright © 2025 Mullvad VPN AB. All rights reserved.
//

import Foundation
import MullvadTypes

public struct CustomList: Codable, Equatable {
    public let id: UUID
    public var name: String
    public var locations: [RelayLocation]

    public init(id: UUID = UUID(), name: String, locations: [RelayLocation]) {
        self.id = id
        self.name = name
        self.locations = locations
    }
}