mirror of
https://github.com/LukeHagar/plexswift.git
synced 2025-12-06 20:57:46 +00:00
31 lines
1.0 KiB
Swift
31 lines
1.0 KiB
Swift
// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
|
|
import Foundation
|
|
|
|
extension Operations {
|
|
/// A model object
|
|
public struct GetThumbImageRequest: APIValue {
|
|
public let height: Int
|
|
public let minSize: Int
|
|
/// the id of the library item to return the children of.
|
|
public let ratingKey: Int
|
|
public let upscale: Int
|
|
public let width: Int
|
|
/// Plex Authentication Token
|
|
public let xPlexToken: String
|
|
|
|
/// Creates an object with the specified parameters
|
|
///
|
|
/// - Parameter ratingKey: the id of the library item to return the children of.
|
|
/// - Parameter xPlexToken: Plex Authentication Token
|
|
///
|
|
public init(height: Int, minSize: Int, ratingKey: Int, upscale: Int, width: Int, xPlexToken: String) {
|
|
self.height = height
|
|
self.minSize = minSize
|
|
self.ratingKey = ratingKey
|
|
self.upscale = upscale
|
|
self.width = width
|
|
self.xPlexToken = xPlexToken
|
|
}
|
|
}}
|