mirror of
https://github.com/LukeHagar/plexswift.git
synced 2025-12-06 12:47:44 +00:00
41 lines
1.3 KiB
Swift
41 lines
1.3 KiB
Swift
// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
|
|
import Foundation
|
|
|
|
extension Operations {
|
|
/// A model object
|
|
public struct Writer {
|
|
/// The filter string used to query this writer.
|
|
public let filter: String
|
|
/// Unique identifier for the writer.
|
|
public let id: Int
|
|
/// The role of Writer
|
|
public let tag: String
|
|
/// A unique key associated with the writers tag, used for internal identification.
|
|
public let tagKey: String?
|
|
|
|
/// Creates an object with the specified parameters
|
|
///
|
|
/// - Parameter filter: The filter string used to query this writer.
|
|
/// - Parameter id: Unique identifier for the writer.
|
|
/// - Parameter tag: The role of Writer
|
|
/// - Parameter tagKey: A unique key associated with the writers tag, used for internal identification.
|
|
///
|
|
public init(filter: String, id: Int, tag: String, tagKey: String? = nil) {
|
|
self.filter = filter
|
|
self.id = id
|
|
self.tag = tag
|
|
self.tagKey = tagKey
|
|
}
|
|
}}
|
|
|
|
extension Operations.Writer: Codable {
|
|
enum CodingKeys: String, CodingKey {
|
|
case filter
|
|
case id
|
|
case tag
|
|
case tagKey
|
|
}
|
|
}
|
|
|