SoyuzCapsule/KlipperMon/PrinterObjectsQuery.swift

26 lines
398 B
Swift
Raw Normal View History

2023-02-07 20:04:01 +00:00
//
// PrinterObjectsQuery.swift
// KlipperMon
//
// Created by maddiefuzz on 2/7/23.
//
import Foundation
struct PrinterObjectsQuery: Decodable {
let result: ResultsData
}
struct ResultsData: Decodable {
let eventtime: Double
let status: StatusData
}
struct StatusData: Decodable {
let extruder: ExtruderData
}
struct ExtruderData: Decodable {
let temperature: Double
}