Files
plexswift/Sources/Plexswift/models/operations/GetTopWatchedContentRequest.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
}
}
}