mirror of
https://github.com/LukeHagar/plexswift.git
synced 2025-12-06 20:57:46 +00:00
49 lines
1.7 KiB
Swift
49 lines
1.7 KiB
Swift
// Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
|
|
|
import Foundation
|
|
|
|
extension Operations {
|
|
/// A model object
|
|
public struct GetMetadataMediaContainer {
|
|
public let allowSync: Bool?
|
|
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.GetMetadataMetadata]?
|
|
public let size: Int?
|
|
|
|
/// Creates an object with the specified parameters
|
|
///
|
|
///
|
|
public init(allowSync: Bool? = nil, identifier: String? = nil, librarySectionID: Int? = nil, librarySectionTitle: String? = nil, librarySectionUUID: String? = nil, mediaTagPrefix: String? = nil, mediaTagVersion: Int? = nil, metadata: [Operations.GetMetadataMetadata]? = nil, size: Int? = nil) {
|
|
self.allowSync = allowSync
|
|
self.identifier = identifier
|
|
self.librarySectionID = librarySectionID
|
|
self.librarySectionTitle = librarySectionTitle
|
|
self.librarySectionUUID = librarySectionUUID
|
|
self.mediaTagPrefix = mediaTagPrefix
|
|
self.mediaTagVersion = mediaTagVersion
|
|
self.metadata = metadata
|
|
self.size = size
|
|
}
|
|
}
|
|
}
|
|
|
|
extension Operations.GetMetadataMediaContainer: Codable {
|
|
enum CodingKeys: String, CodingKey {
|
|
case allowSync
|
|
case identifier
|
|
case librarySectionID
|
|
case librarySectionTitle
|
|
case librarySectionUUID
|
|
case mediaTagPrefix
|
|
case mediaTagVersion
|
|
case metadata = "Metadata"
|
|
case size
|
|
}
|
|
}
|
|
|