mirror of
https://github.com/LukeHagar/plexswift.git
synced 2025-12-06 04:20:52 +00:00
34 lines
805 B
Swift
34 lines
805 B
Swift
// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
|
|
import Foundation
|
|
|
|
extension Operations {
|
|
/// The filter query string for similar items.
|
|
public struct Genre {
|
|
public let filter: String
|
|
public let id: Int
|
|
/// The genre name of this media-item
|
|
///
|
|
public let tag: String
|
|
|
|
/// Creates an object with the specified parameters
|
|
///
|
|
/// - Parameter tag: The genre name of this media-item
|
|
///
|
|
///
|
|
public init(filter: String, id: Int, tag: String) {
|
|
self.filter = filter
|
|
self.id = id
|
|
self.tag = tag
|
|
}
|
|
}}
|
|
|
|
extension Operations.Genre: Codable {
|
|
enum CodingKeys: String, CodingKey {
|
|
case filter
|
|
case id
|
|
case tag
|
|
}
|
|
}
|
|
|