mirror of
https://github.com/LukeHagar/plexswift.git
synced 2025-12-06 12:47:44 +00:00
70 lines
2.5 KiB
Swift
70 lines
2.5 KiB
Swift
// Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
|
|
|
import Foundation
|
|
|
|
extension Operations {
|
|
/// A model object
|
|
public struct GetLibraryItemsMediaContainer {
|
|
public let allowSync: Bool?
|
|
public let art: String?
|
|
public let identifier: String?
|
|
public let librarySectionID: Int?
|
|
public let librarySectionTitle: String?
|
|
public let librarySectionUUID: String?
|
|
public let mediaTagPrefix: String?
|
|
public let mediaTagVersion: Int?
|
|
public let metadata: [Operations.GetLibraryItemsMetadata]?
|
|
public let mixedParents: Bool?
|
|
public let size: Int?
|
|
public let thumb: String?
|
|
public let title1: String?
|
|
public let title2: String?
|
|
public let viewGroup: String?
|
|
public let viewMode: Int?
|
|
|
|
/// Creates an object with the specified parameters
|
|
///
|
|
///
|
|
public init(allowSync: Bool? = nil, art: String? = nil, identifier: String? = nil, librarySectionID: Int? = nil, librarySectionTitle: String? = nil, librarySectionUUID: String? = nil, mediaTagPrefix: String? = nil, mediaTagVersion: Int? = nil, metadata: [Operations.GetLibraryItemsMetadata]? = nil, mixedParents: Bool? = nil, size: Int? = nil, thumb: String? = nil, title1: String? = nil, title2: String? = nil, viewGroup: String? = nil, viewMode: Int? = nil) {
|
|
self.allowSync = allowSync
|
|
self.art = art
|
|
self.identifier = identifier
|
|
self.librarySectionID = librarySectionID
|
|
self.librarySectionTitle = librarySectionTitle
|
|
self.librarySectionUUID = librarySectionUUID
|
|
self.mediaTagPrefix = mediaTagPrefix
|
|
self.mediaTagVersion = mediaTagVersion
|
|
self.metadata = metadata
|
|
self.mixedParents = mixedParents
|
|
self.size = size
|
|
self.thumb = thumb
|
|
self.title1 = title1
|
|
self.title2 = title2
|
|
self.viewGroup = viewGroup
|
|
self.viewMode = viewMode
|
|
}
|
|
}
|
|
}
|
|
|
|
extension Operations.GetLibraryItemsMediaContainer: Codable {
|
|
enum CodingKeys: String, CodingKey {
|
|
case allowSync
|
|
case art
|
|
case identifier
|
|
case librarySectionID
|
|
case librarySectionTitle
|
|
case librarySectionUUID
|
|
case mediaTagPrefix
|
|
case mediaTagVersion
|
|
case metadata = "Metadata"
|
|
case mixedParents
|
|
case size
|
|
case thumb
|
|
case title1
|
|
case title2
|
|
case viewGroup
|
|
case viewMode
|
|
}
|
|
}
|
|
|