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