mirror of
https://github.com/LukeHagar/plexswift.git
synced 2025-12-07 12:47:45 +00:00
24 lines
721 B
Swift
24 lines
721 B
Swift
// Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
|
|
|
import Foundation
|
|
|
|
extension Operations {
|
|
/// A model object
|
|
public struct SearchLibraryRequest: APIValue {
|
|
/// the Id of the library to query
|
|
public let sectionId: Int
|
|
/// Plex content type to search for
|
|
public let type: Operations.TypeModel
|
|
|
|
/// Creates an object with the specified parameters
|
|
///
|
|
/// - Parameter sectionId: the Id of the library to query
|
|
/// - Parameter type: Plex content type to search for
|
|
///
|
|
public init(sectionId: Int, type: Operations.TypeModel) {
|
|
self.sectionId = sectionId
|
|
self.type = type
|
|
}
|
|
}
|
|
}
|