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.401.2
This commit is contained in:
@@ -5,20 +5,32 @@ import Foundation
|
||||
extension Operations {
|
||||
/// A model object
|
||||
public struct GetLibraryItemsSort {
|
||||
public let defaultDirection: String
|
||||
/// The direction of the sort. Can be either `asc` or `desc`.
|
||||
///
|
||||
public let defaultDirection: Operations.DefaultDirection
|
||||
public let key: String
|
||||
public let title: String
|
||||
public let active: Bool?
|
||||
/// The direction of the sort. Can be either `asc` or `desc`.
|
||||
///
|
||||
public let activeDirection: Operations.ActiveDirection?
|
||||
public let `default`: String?
|
||||
public let descKey: String?
|
||||
public let firstCharacterKey: String?
|
||||
|
||||
/// Creates an object with the specified parameters
|
||||
///
|
||||
/// - Parameter defaultDirection: The direction of the sort. Can be either `asc` or `desc`.
|
||||
///
|
||||
/// - Parameter activeDirection: The direction of the sort. Can be either `asc` or `desc`.
|
||||
///
|
||||
///
|
||||
public init(defaultDirection: String, key: String, title: String, `default`: String? = nil, descKey: String? = nil, firstCharacterKey: String? = nil) {
|
||||
public init(defaultDirection: Operations.DefaultDirection, key: String, title: String, active: Bool? = nil, activeDirection: Operations.ActiveDirection? = nil, `default`: String? = nil, descKey: String? = nil, firstCharacterKey: String? = nil) {
|
||||
self.defaultDirection = defaultDirection
|
||||
self.key = key
|
||||
self.title = title
|
||||
self.active = active
|
||||
self.activeDirection = activeDirection
|
||||
self.`default` = `default`
|
||||
self.descKey = descKey
|
||||
self.firstCharacterKey = firstCharacterKey
|
||||
@@ -30,6 +42,8 @@ extension Operations.GetLibraryItemsSort: Codable {
|
||||
case defaultDirection
|
||||
case key
|
||||
case title
|
||||
case active
|
||||
case activeDirection
|
||||
case `default` = "default"
|
||||
case descKey
|
||||
case firstCharacterKey
|
||||
|
||||
Reference in New Issue
Block a user