mirror of
https://github.com/LukeHagar/plexswift.git
synced 2025-12-06 12:47:44 +00:00
35 lines
1.5 KiB
Swift
35 lines
1.5 KiB
Swift
// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
|
|
import Foundation
|
|
|
|
extension Operations {
|
|
/// A model object
|
|
public struct GetRecentlyAddedRequest: APIValue {
|
|
/// The number of items to return. If not specified, all items will be returned.
|
|
/// If the number of items exceeds the limit, the response will be paginated.
|
|
/// By default this is 50
|
|
///
|
|
public let xPlexContainerSize: Int?
|
|
/// The index of the first item to return. If not specified, the first item will be returned.
|
|
/// If the number of items exceeds the limit, the response will be paginated.
|
|
/// By default this is 0
|
|
///
|
|
public let xPlexContainerStart: Int?
|
|
|
|
/// Creates an object with the specified parameters
|
|
///
|
|
/// - Parameter xPlexContainerSize: The number of items to return. If not specified, all items will be returned.
|
|
/// If the number of items exceeds the limit, the response will be paginated.
|
|
/// By default this is 50
|
|
///
|
|
/// - Parameter xPlexContainerStart: The index of the first item to return. If not specified, the first item will be returned.
|
|
/// If the number of items exceeds the limit, the response will be paginated.
|
|
/// By default this is 0
|
|
///
|
|
///
|
|
public init(xPlexContainerSize: Int? = nil, xPlexContainerStart: Int? = nil) {
|
|
self.xPlexContainerSize = xPlexContainerSize
|
|
self.xPlexContainerStart = xPlexContainerStart
|
|
}
|
|
}}
|