mirror of
https://github.com/LukeHagar/plexswift.git
synced 2025-12-06 12:47:44 +00:00
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.405.6
This commit is contained in:
@@ -0,0 +1,52 @@
|
||||
// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
||||
|
||||
import Foundation
|
||||
|
||||
extension Operations {
|
||||
/// A model object
|
||||
public struct GetAllMediaLibrarySort {
|
||||
/// The direction of the sort. Can be either `asc` or `desc`.
|
||||
///
|
||||
public let defaultDirection: Operations.GetAllMediaLibraryDefaultDirection
|
||||
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.GetAllMediaLibraryActiveDirection?
|
||||
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: Operations.GetAllMediaLibraryDefaultDirection, key: String, title: String, active: Bool? = nil, activeDirection: Operations.GetAllMediaLibraryActiveDirection? = 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
|
||||
}
|
||||
}}
|
||||
|
||||
extension Operations.GetAllMediaLibrarySort: Codable {
|
||||
enum CodingKeys: String, CodingKey {
|
||||
case defaultDirection
|
||||
case key
|
||||
case title
|
||||
case active
|
||||
case activeDirection
|
||||
case `default` = "default"
|
||||
case descKey
|
||||
case firstCharacterKey
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user