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
|
||||
|
||||
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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user