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 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

View File

@ -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