mirror of
https://github.com/LukeHagar/plexswift.git
synced 2025-12-06 04:20:52 +00:00
26 lines
797 B
Swift
26 lines
797 B
Swift
// Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
|
|
|
import Foundation
|
|
|
|
extension Operations {
|
|
/// A model object
|
|
public struct GetTopWatchedContentRequest: APIValue {
|
|
/// the library type (1 - movies, 2 - shows, 3 - music)
|
|
public let type: Int
|
|
/// Adds the Guids object to the response
|
|
///
|
|
public let includeGuids: Int?
|
|
|
|
/// Creates an object with the specified parameters
|
|
///
|
|
/// - Parameter type: the library type (1 - movies, 2 - shows, 3 - music)
|
|
/// - Parameter includeGuids: Adds the Guids object to the response
|
|
///
|
|
///
|
|
public init(type: Int, includeGuids: Int? = nil) {
|
|
self.type = type
|
|
self.includeGuids = includeGuids
|
|
}
|
|
}
|
|
}
|