mirror of
https://github.com/LukeHagar/plexswift.git
synced 2025-12-06 04:20:52 +00:00
43 lines
1.3 KiB
Swift
43 lines
1.3 KiB
Swift
// Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
|
|
|
import Foundation
|
|
|
|
extension Operations {
|
|
/// Watchlist Data
|
|
public struct GetWatchlistResponseBody {
|
|
public let identifier: String?
|
|
public let librarySectionID: String?
|
|
public let librarySectionTitle: String?
|
|
public let metadata: [Operations.Metadata]?
|
|
public let offset: Int?
|
|
public let size: Int?
|
|
public let totalSize: Int?
|
|
|
|
/// Creates an object with the specified parameters
|
|
///
|
|
///
|
|
public init(identifier: String? = nil, librarySectionID: String? = nil, librarySectionTitle: String? = nil, metadata: [Operations.Metadata]? = nil, offset: Int? = nil, size: Int? = nil, totalSize: Int? = nil) {
|
|
self.identifier = identifier
|
|
self.librarySectionID = librarySectionID
|
|
self.librarySectionTitle = librarySectionTitle
|
|
self.metadata = metadata
|
|
self.offset = offset
|
|
self.size = size
|
|
self.totalSize = totalSize
|
|
}
|
|
}
|
|
}
|
|
|
|
extension Operations.GetWatchlistResponseBody: Codable {
|
|
enum CodingKeys: String, CodingKey {
|
|
case identifier
|
|
case librarySectionID
|
|
case librarySectionTitle
|
|
case metadata = "Metadata"
|
|
case offset
|
|
case size
|
|
case totalSize
|
|
}
|
|
}
|
|
|