DataMissTask: Codable {
let taskTimeEntriesReportForIia: TaskTimeEntriesReportForIia
}
struct TaskTimeEntriesReportForIia: Codable {
let user: UserGraphQL
let startDate: String
let endDate: String
let userTasks: [UserTask]
let allTaskIds: [Int]
let records: [RecordMissesTask]
}
struct UserGraphQL: Codable {
let id: Int
let timezone: String
}
struct UserTask: Codable {
let id: Int
let task: MissesTask
let completed: Bool
}
struct MissesTask: Codable {
let id: Int
let name: String
let projectName: String?
}
struct RecordMissesTask: Codable {
let weekDay: String
let nonTaskTime: Double
let totalTaskTimeSeconds: Int
let totalTimeSeconds: Int
let totalTaskTime: Double
let totalTime: Int
let taskTimes: [String: Double]?
let date: String
let sessions: [SessionMissesTask]
}
SessionMissesTask не хватает
struct SessionMissesTask: Codable { let maxEditingHour: Int let startDate: String? let timezone: String? }
Обсуждают сегодня