mirror of
https://github.com/LukeHagar/plexswift.git
synced 2025-12-07 12:47:45 +00:00
migrated to v15
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
// Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
||||
|
||||
import Foundation
|
||||
|
||||
extension Operations {
|
||||
/// A model object
|
||||
public struct GetUpdateStatusMediaContainer {
|
||||
public let canInstall: Bool?
|
||||
public let checkedAt: Int?
|
||||
public let downloadURL: String?
|
||||
public let release: [Operations.Release]?
|
||||
public let size: Int?
|
||||
public let status: Int?
|
||||
|
||||
/// Creates an object with the specified parameters
|
||||
///
|
||||
///
|
||||
public init(canInstall: Bool? = nil, checkedAt: Int? = nil, downloadURL: String? = nil, release: [Operations.Release]? = nil, size: Int? = nil, status: Int? = nil) {
|
||||
self.canInstall = canInstall
|
||||
self.checkedAt = checkedAt
|
||||
self.downloadURL = downloadURL
|
||||
self.release = release
|
||||
self.size = size
|
||||
self.status = status
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
extension Operations.GetUpdateStatusMediaContainer: Codable {
|
||||
enum CodingKeys: String, CodingKey {
|
||||
case canInstall
|
||||
case checkedAt
|
||||
case downloadURL
|
||||
case release = "Release"
|
||||
case size
|
||||
case status
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user