Implemented the ArchiveList model in the library target.
This commit is contained in:
parent
4d4ce5d647
commit
fa50c77421
15
Library/Sources/Internal/Models/ArchiveList.swift
Normal file
15
Library/Sources/Internal/Models/ArchiveList.swift
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
import Hummingbird
|
||||||
|
|
||||||
|
struct ArchiveList: ResponseCodable {
|
||||||
|
|
||||||
|
// MARK: Properties
|
||||||
|
|
||||||
|
let archives: [String]
|
||||||
|
|
||||||
|
// MARK: Initialisers
|
||||||
|
|
||||||
|
init(_ archives: [String]) {
|
||||||
|
self.archives = archives
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user