mirror of
https://github.com/LukeHagar/plexswift.git
synced 2025-12-06 12:47:44 +00:00
37 lines
1.3 KiB
Swift
37 lines
1.3 KiB
Swift
// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
|
|
import Foundation
|
|
|
|
extension Operations {
|
|
/// A model object
|
|
public struct GetTopWatchedContentRequest: APIValue {
|
|
/// The type of media to retrieve or filter by.
|
|
/// 1 = movie
|
|
/// 2 = show
|
|
/// 3 = season
|
|
/// 4 = episode
|
|
/// E.g. A movie library will not return anything with type 3 as there are no seasons for movie libraries
|
|
///
|
|
public let type: Operations.GetTopWatchedContentQueryParamType
|
|
/// Adds the Guids object to the response
|
|
///
|
|
public let includeGuids: Int?
|
|
|
|
/// Creates an object with the specified parameters
|
|
///
|
|
/// - Parameter type: The type of media to retrieve or filter by.
|
|
/// 1 = movie
|
|
/// 2 = show
|
|
/// 3 = season
|
|
/// 4 = episode
|
|
/// E.g. A movie library will not return anything with type 3 as there are no seasons for movie libraries
|
|
///
|
|
/// - Parameter includeGuids: Adds the Guids object to the response
|
|
///
|
|
///
|
|
public init(type: Operations.GetTopWatchedContentQueryParamType, includeGuids: Int? = nil) {
|
|
self.type = type
|
|
self.includeGuids = includeGuids
|
|
}
|
|
}}
|