mirror of
https://github.com/LukeHagar/plexswift.git
synced 2025-12-06 20:57:46 +00:00
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.406.0
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
||||
|
||||
import Foundation
|
||||
|
||||
extension Operations {
|
||||
/// A model object
|
||||
public struct GetSearchAllLibrariesRequest: APIValue {
|
||||
/// The search query term.
|
||||
public let query: String
|
||||
/// An opaque identifier unique to the client (UUID, serial number, or other unique device ID)
|
||||
public let clientID: String?
|
||||
/// Whether to include collections in the search results.
|
||||
public let includeCollections: Operations.QueryParamIncludeCollections?
|
||||
/// Whether to include external media in the search results.
|
||||
public let includeExternalMedia: Operations.QueryParamIncludeExternalMedia?
|
||||
/// Limit the number of results returned.
|
||||
public let limit: Int?
|
||||
/// A comma-separated list of search types to include. Valid values are: movies, music, otherVideos, people, tv.
|
||||
///
|
||||
public let searchTypes: [Operations.SearchTypes]?
|
||||
|
||||
/// Creates an object with the specified parameters
|
||||
///
|
||||
/// - Parameter query: The search query term.
|
||||
/// - Parameter clientID: An opaque identifier unique to the client (UUID, serial number, or other unique device ID)
|
||||
/// - Parameter includeCollections: Whether to include collections in the search results.
|
||||
/// - Parameter includeExternalMedia: Whether to include external media in the search results.
|
||||
/// - Parameter limit: Limit the number of results returned.
|
||||
/// - Parameter searchTypes: A comma-separated list of search types to include. Valid values are: movies, music, otherVideos, people, tv.
|
||||
///
|
||||
///
|
||||
public init(query: String, clientID: String? = nil, includeCollections: Operations.QueryParamIncludeCollections? = nil, includeExternalMedia: Operations.QueryParamIncludeExternalMedia? = nil, limit: Int? = nil, searchTypes: [Operations.SearchTypes]? = nil) {
|
||||
self.query = query
|
||||
self.clientID = clientID
|
||||
self.includeCollections = includeCollections
|
||||
self.includeExternalMedia = includeExternalMedia
|
||||
self.limit = limit
|
||||
self.searchTypes = searchTypes
|
||||
}
|
||||
}}
|
||||
Reference in New Issue
Block a user