mirror of
https://github.com/LukeHagar/plexswift.git
synced 2025-12-07 12:47:45 +00:00
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.405.6
This commit is contained in:
@@ -5,20 +5,34 @@ import Foundation
|
||||
extension Operations {
|
||||
/// A model object
|
||||
public struct Producer {
|
||||
public let filter: String?
|
||||
public let id: Int?
|
||||
public let tag: String?
|
||||
public let tagKey: String?
|
||||
/// The filter string for the role.
|
||||
public let filter: String
|
||||
/// The unique role identifier.
|
||||
public let id: Int
|
||||
/// The actor's name.
|
||||
public let tag: String
|
||||
/// A key associated with the actor tag.
|
||||
public let tagKey: String
|
||||
/// The character name or role.
|
||||
public let role: String?
|
||||
/// URL for the role thumbnail image.
|
||||
public let thumb: String?
|
||||
|
||||
/// Creates an object with the specified parameters
|
||||
///
|
||||
/// - Parameter filter: The filter string for the role.
|
||||
/// - Parameter id: The unique role identifier.
|
||||
/// - Parameter tag: The actor's name.
|
||||
/// - Parameter tagKey: A key associated with the actor tag.
|
||||
/// - Parameter role: The character name or role.
|
||||
/// - Parameter thumb: URL for the role thumbnail image.
|
||||
///
|
||||
public init(filter: String? = nil, id: Int? = nil, tag: String? = nil, tagKey: String? = nil, thumb: String? = nil) {
|
||||
public init(filter: String, id: Int, tag: String, tagKey: String, role: String? = nil, thumb: String? = nil) {
|
||||
self.filter = filter
|
||||
self.id = id
|
||||
self.tag = tag
|
||||
self.tagKey = tagKey
|
||||
self.role = role
|
||||
self.thumb = thumb
|
||||
}
|
||||
}}
|
||||
@@ -29,6 +43,7 @@ extension Operations.Producer: Codable {
|
||||
case id
|
||||
case tag
|
||||
case tagKey
|
||||
case role
|
||||
case thumb
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user