Changed the accessor of the properties of the Me and Item models to public.

This commit is contained in:
Javier Cicchelli 2022-12-11 20:31:52 +01:00
parent 71021f22ab
commit e4dc925168
2 changed files with 10 additions and 10 deletions

View File

@ -9,13 +9,13 @@
import Foundation
public struct Item {
let idParent: String?
let id: String
let name: String
let isDirectory: Bool
let lastModifiedAt: Date
let size: Int?
let contentType: String?
public let idParent: String?
public let id: String
public let name: String
public let isDirectory: Bool
public let lastModifiedAt: Date
public let size: Int?
public let contentType: String?
}
// MARK: - Decodable

View File

@ -7,9 +7,9 @@
//
public struct Me {
let firstName: String
let lastName: String
let rootItem: Item
public let firstName: String
public let lastName: String
public let rootItem: Item
}
// MARK: - Decodable