mirror of
https://github.com/LukeHagar/plexswift.git
synced 2025-12-06 12:47:44 +00:00
39 lines
1.1 KiB
Swift
39 lines
1.1 KiB
Swift
// Code generated by Speakeasy (https://speakeasy.com). 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
|
|
}
|
|
}
|
|
|