Changed the accessor of the properties of the Me and Item models to public.
This commit is contained in:
parent
71021f22ab
commit
e4dc925168
@ -9,13 +9,13 @@
|
|||||||
import Foundation
|
import Foundation
|
||||||
|
|
||||||
public struct Item {
|
public struct Item {
|
||||||
let idParent: String?
|
public let idParent: String?
|
||||||
let id: String
|
public let id: String
|
||||||
let name: String
|
public let name: String
|
||||||
let isDirectory: Bool
|
public let isDirectory: Bool
|
||||||
let lastModifiedAt: Date
|
public let lastModifiedAt: Date
|
||||||
let size: Int?
|
public let size: Int?
|
||||||
let contentType: String?
|
public let contentType: String?
|
||||||
}
|
}
|
||||||
|
|
||||||
// MARK: - Decodable
|
// MARK: - Decodable
|
||||||
|
@ -7,9 +7,9 @@
|
|||||||
//
|
//
|
||||||
|
|
||||||
public struct Me {
|
public struct Me {
|
||||||
let firstName: String
|
public let firstName: String
|
||||||
let lastName: String
|
public let lastName: String
|
||||||
let rootItem: Item
|
public let rootItem: Item
|
||||||
}
|
}
|
||||||
|
|
||||||
// MARK: - Decodable
|
// MARK: - Decodable
|
||||||
|
Loading…
x
Reference in New Issue
Block a user