mirror of
https://github.com/LukeHagar/plexswift.git
synced 2025-12-07 20:57:47 +00:00
ci: regenerated with OpenAPI Doc 0.0.3, Speakeasy CLI 1.152.1
This commit is contained in:
39
Sources/Plexswift/models/operations/Sort.swift
Normal file
39
Sources/Plexswift/models/operations/Sort.swift
Normal file
@@ -0,0 +1,39 @@
|
||||
// Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
||||
|
||||
import Foundation
|
||||
|
||||
extension Operations {
|
||||
/// A model object
|
||||
public struct Sort {
|
||||
public let `default`: String?
|
||||
public let defaultDirection: String?
|
||||
public let descKey: String?
|
||||
public let firstCharacterKey: String?
|
||||
public let key: String?
|
||||
public let title: String?
|
||||
|
||||
/// Creates an object with the specified parameters
|
||||
///
|
||||
///
|
||||
public init(`default`: String? = nil, defaultDirection: String? = nil, descKey: String? = nil, firstCharacterKey: String? = nil, key: String? = nil, title: String? = nil) {
|
||||
self.`default` = `default`
|
||||
self.defaultDirection = defaultDirection
|
||||
self.descKey = descKey
|
||||
self.firstCharacterKey = firstCharacterKey
|
||||
self.key = key
|
||||
self.title = title
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
extension Operations.Sort: Codable {
|
||||
enum CodingKeys: String, CodingKey {
|
||||
case `default` = "default"
|
||||
case defaultDirection
|
||||
case descKey
|
||||
case firstCharacterKey
|
||||
case key
|
||||
case title
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user