Skip to content
This repository was archived by the owner on Aug 27, 2023. It is now read-only.

Commit 2b4652d

Browse files
grahamburgsmaptrkstr
authored andcommitted
Make device properties public
1 parent b5dbcc1 commit 2b4652d

18 files changed

+146
-146
lines changed

Sources/Devices/Types/Airpod.swift

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
public struct Airpod: Decodable {
2-
let generation: String
3-
let aNumber: String
4-
let bootrom: String
5-
let fccID: String
6-
let internalName: String
7-
let identifier: String
8-
let model: String
2+
public let generation: String
3+
public let aNumber: String
4+
public let bootrom: String
5+
public let fccID: String
6+
public let internalName: String
7+
public let identifier: String
8+
public let model: String
99

1010
enum CodingKeys: String, CodingKey {
1111
case generation = "Generation"

Sources/Devices/Types/Airtag.swift

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
public struct Airtag: Decodable {
2-
let generation: String
3-
let aNumber: String
4-
let bootrom: String
5-
let fccID: String
6-
let internalName: String
7-
let identifier: String
8-
let packSize: String
9-
let model: String
2+
public let generation: String
3+
public let aNumber: String
4+
public let bootrom: String
5+
public let fccID: String
6+
public let internalName: String
7+
public let identifier: String
8+
public let packSize: String
9+
public let model: String
1010

1111
enum CodingKeys: String, CodingKey {
1212
case generation = "Generation"

Sources/Devices/Types/ApplePencil.swift

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
public struct ApplePencil: Decodable {
2-
let generation: String
3-
let aNumber: String
4-
let fccID: String
5-
let internalName: String
6-
let identifier: String
7-
let model: String
2+
public let generation: String
3+
public let aNumber: String
4+
public let fccID: String
5+
public let internalName: String
6+
public let identifier: String
7+
public let model: String
88

99
enum CodingKeys: String, CodingKey {
1010
case generation = "Generation"

Sources/Devices/Types/AppleTV.swift

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
public struct AppleTV: Decodable {
2-
let generation: String
3-
let aNumber: String
4-
let bootrom: String
5-
let fccID: String
6-
let internalName: String
7-
let identifier: String
8-
let color: String
9-
let storage: String
10-
let model: String
2+
public let generation: String
3+
public let aNumber: String
4+
public let bootrom: String
5+
public let fccID: String
6+
public let internalName: String
7+
public let identifier: String
8+
public let color: String
9+
public let storage: String
10+
public let model: String
1111

1212
enum CodingKeys: String, CodingKey {
1313
case generation = "Generation"

Sources/Devices/Types/AppleWatch.swift

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
public struct AppleWatch: Decodable {
2-
let generation: String
3-
let aNumber: String
4-
let bootrom: String
5-
let fccID: String
6-
let internalName: String
7-
let identifier: String
8-
let caseMaterial: String
9-
let finish: String
10-
let caseSize: String
11-
let model: String
2+
public let generation: String
3+
public let aNumber: String
4+
public let bootrom: String
5+
public let fccID: String
6+
public let internalName: String
7+
public let identifier: String
8+
public let caseMaterial: String
9+
public let finish: String
10+
public let caseSize: String
11+
public let model: String
1212

1313
enum CodingKeys: String, CodingKey {
1414
case generation = "Generation"

Sources/Devices/Types/HomePod.swift

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
public struct HomePod: Decodable {
2-
let generation: String
3-
let aNumber: String
4-
let bootrom: String
5-
let fccID: String
6-
let internalName: String
7-
let identifier: String
8-
let color: String
9-
let model: String
2+
public let generation: String
3+
public let aNumber: String
4+
public let bootrom: String
5+
public let fccID: String
6+
public let internalName: String
7+
public let identifier: String
8+
public let color: String
9+
public let model: String
1010

1111
enum CodingKeys: String, CodingKey {
1212
case generation = "Generation"

Sources/Devices/Types/MacBookAir.swift

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
public struct MacBookAir: Decodable {
2-
let generation: String
3-
let aNumber: String
4-
let fccID: String
5-
let internalName: String
6-
let identifier: String
7-
let color: String
8-
let storage: String
9-
let model: String
2+
public let generation: String
3+
public let aNumber: String
4+
public let fccID: String
5+
public let internalName: String
6+
public let identifier: String
7+
public let color: String
8+
public let storage: String
9+
public let model: String
1010

1111
enum CodingKeys: String, CodingKey {
1212
case generation = "Generation"

Sources/Devices/Types/MacBookPro.swift

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
public struct MacBookPro: Decodable {
2-
let generation: String
3-
let aNumber: String
4-
let fccID: String
5-
let internalName: String
6-
let identifier: String
7-
let color: String
8-
let storage: String
9-
let model: String
2+
public let generation: String
3+
public let aNumber: String
4+
public let fccID: String
5+
public let internalName: String
6+
public let identifier: String
7+
public let color: String
8+
public let storage: String
9+
public let model: String
1010

1111
enum CodingKeys: String, CodingKey {
1212
case generation = "Generation"

Sources/Devices/Types/MacMini.swift

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
public struct MacMini: Decodable {
2-
let generation: String
3-
let aNumber: String
4-
let fccID: String
5-
let internalName: String
6-
let identifier: String
7-
let color: String
8-
let storage: String
9-
let model: String
2+
public let generation: String
3+
public let aNumber: String
4+
public let fccID: String
5+
public let internalName: String
6+
public let identifier: String
7+
public let color: String
8+
public let storage: String
9+
public let model: String
1010

1111
enum CodingKeys: String, CodingKey {
1212
case generation = "Generation"

Sources/Devices/Types/SiriRemote.swift

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
public struct SiriRemote: Decodable {
2-
let generation: String
3-
let aNumber: String
4-
let fccID: String
5-
let internalName: String
6-
let identifier: String
7-
let model: String
2+
public let generation: String
3+
public let aNumber: String
4+
public let fccID: String
5+
public let internalName: String
6+
public let identifier: String
7+
public let model: String
88

99
enum CodingKeys: String, CodingKey {
1010
case generation = "Generation"

Sources/Devices/Types/SmartKeyboard.swift

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
public struct SmartKeyboard: Decodable {
2-
let generation: String
3-
let aNumber: String
4-
let internalName: String
5-
let identifier: String
6-
let iPadCompatibility: String
7-
let model: String
2+
public let generation: String
3+
public let aNumber: String
4+
public let internalName: String
5+
public let identifier: String
6+
public let iPadCompatibility: String
7+
public let model: String
88

99
enum CodingKeys: String, CodingKey {
1010
case generation = "Generation"

Sources/Devices/Types/iMac.swift

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
public struct iMac: Decodable {
2-
let generation: String
3-
let aNumber: String
4-
let fccID: String
5-
let internalName: String
6-
let identifier: String
7-
let color: String
8-
let storage: String
9-
let model: String
2+
public let generation: String
3+
public let aNumber: String
4+
public let fccID: String
5+
public let internalName: String
6+
public let identifier: String
7+
public let color: String
8+
public let storage: String
9+
public let model: String
1010

1111
enum CodingKeys: String, CodingKey {
1212
case generation = "Generation"

Sources/Devices/Types/iPad.swift

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
public struct iPad: Decodable {
2-
let generation: String
3-
let aNumber: String
4-
let bootrom: String
5-
let fccID: String
6-
let internalName: String
7-
let identifier: String
8-
let finish: String
9-
let storage: String
10-
let model: String
2+
public let generation: String
3+
public let aNumber: String
4+
public let bootrom: String
5+
public let fccID: String
6+
public let internalName: String
7+
public let identifier: String
8+
public let finish: String
9+
public let storage: String
10+
public let model: String
1111

1212
enum CodingKeys: String, CodingKey {
1313
case generation = "Generation"

Sources/Devices/Types/iPadAir.swift

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
public struct iPadAir: Decodable {
2-
let generation: String
3-
let aNumber: String
4-
let bootrom: String
5-
let fccID: String
6-
let internalName: String
7-
let identifier: String
8-
let finish: String
9-
let storage: String
10-
let model: String
2+
public let generation: String
3+
public let aNumber: String
4+
public let bootrom: String
5+
public let fccID: String
6+
public let internalName: String
7+
public let identifier: String
8+
public let finish: String
9+
public let storage: String
10+
public let model: String
1111

1212
enum CodingKeys: String, CodingKey {
1313
case generation = "Generation"

Sources/Devices/Types/iPadMini.swift

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
public struct iPadMini: Decodable {
2-
let generation: String
3-
let aNumber: String
4-
let bootrom: String
5-
let fccID: String
6-
let internalName: String
7-
let identifier: String
8-
let finish: String
9-
let storage: String
10-
let model: String
2+
public let generation: String
3+
public let aNumber: String
4+
public let bootrom: String
5+
public let fccID: String
6+
public let internalName: String
7+
public let identifier: String
8+
public let finish: String
9+
public let storage: String
10+
public let model: String
1111

1212
enum CodingKeys: String, CodingKey {
1313
case generation = "Generation"

Sources/Devices/Types/iPadPro.swift

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
public struct iPadPro: Decodable {
2-
let generation: String
3-
let aNumber: String
4-
let bootrom: String
5-
let fccID: String
6-
let internalName: String
7-
let identifier: String
8-
let finish: String
9-
let storage: String
10-
let model: String
2+
public let generation: String
3+
public let aNumber: String
4+
public let bootrom: String
5+
public let fccID: String
6+
public let internalName: String
7+
public let identifier: String
8+
public let finish: String
9+
public let storage: String
10+
public let model: String
1111

1212
enum CodingKeys: String, CodingKey {
1313
case generation = "Generation"

Sources/Devices/Types/iPhone.swift

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
public struct iPhone: Decodable {
2-
let generation: String
3-
let aNumber: String
4-
let bootrom: String
5-
let fccID: String
6-
let internalName: String
7-
let identifier: String
8-
let finish: String
9-
let storage: String
10-
let model: String
2+
public let generation: String
3+
public let aNumber: String
4+
public let bootrom: String
5+
public let fccID: String
6+
public let internalName: String
7+
public let identifier: String
8+
public let finish: String
9+
public let storage: String
10+
public let model: String
1111

1212
enum CodingKeys: String, CodingKey {
1313
case generation = "Generation"

Sources/Devices/Types/iPodTouch.swift

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
public struct iPodTouch: Decodable {
2-
let generation: String
3-
let aNumber: String
4-
let bootrom: String
5-
let fccID: String
6-
let internalName: String
7-
let identifier: String
8-
let color: String
9-
let storage: String
10-
let model: String
2+
public let generation: String
3+
public let aNumber: String
4+
public let bootrom: String
5+
public let fccID: String
6+
public let internalName: String
7+
public let identifier: String
8+
public let color: String
9+
public let storage: String
10+
public let model: String
1111

1212
enum CodingKeys: String, CodingKey {
1313
case generation = "Generation"

0 commit comments

Comments
 (0)